x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function jsmn_parse_string _jsmn_parse_string: ## @jsmn_parse_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movslq (%rdi), %r14 leaq 1(%r14), %rbx movl %ebx, (%rdi) cmpq %rdx, %rbx setae %al movzbl 1(%rsi,%r14), %r11d testb %r11b, %r11b sete %r9b testb %r9b, %al je LBB0_4 LBB0_1: movl %r14d, (%rdi) movq _JSMN_ERROR_PART@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %eax LBB0_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: leaq LJTI0_0(%rip), %rax movabsq $270582939711, %r9 ## imm = 0x3F0000003F movl %ebx, %r10d jmp LBB0_7 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_7 Depth=1 movzbl %r11b, %r11d movl %r10d, %r12d cmpl $34, %r11d je LBB0_44 LBB0_6: ## in Loop: Header=BB0_7 Depth=1 movslq %r12d, %r11 leaq 1(%r11), %r10 movl %r10d, (%rdi) cmpq %rdx, %r10 setae %r15b movzbl 1(%rsi,%r11), %r11d testb %r11b, %r11b sete %r12b andb %r15b, %r12b cmpb $1, %r12b je LBB0_1 LBB0_7: ## =>This Inner Loop Header: Depth=1 cmpb $92, %r11b jne LBB0_5 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movslq %r10d, %r12 incq %r12 cmpq %rdx, %r12 jae LBB0_35 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movl %r12d, (%rdi) movzbl (%rsi,%r12), %r11d addl $-34, %r11d cmpl $83, %r11d ja LBB0_43 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 movslq (%rax,%r11,4), %r11 addq %rax, %r11 jmpq *%r11 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 leal 2(%r10), %r12d movl %r12d, (%rdi) movslq %r12d, %r11 movq %r11, %r15 cmpq %r11, %rdx cmovaq %rdx, %r15 jbe LBB0_39 ## %bb.12: ## in Loop: Header=BB0_7 Depth=1 movzbl (%rsi,%r11), %r13d testb %r13b, %r13b je LBB0_40 ## %bb.13: ## in Loop: Header=BB0_7 Depth=1 leal -48(%r13), %r12d cmpb $10, %r12b jb LBB0_16 ## %bb.14: ## in Loop: Header=BB0_7 Depth=1 movzbl %r13b, %r12d addl $-65, %r12d cmpl $37, %r12d ja LBB0_43 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 btq %r12, %r9 jae LBB0_43 LBB0_16: ## in Loop: Header=BB0_7 Depth=1 leaq 1(%r11), %r12 movl %r12d, (%rdi) cmpq %rdx, %r12 jae LBB0_39 ## %bb.17: ## in Loop: Header=BB0_7 Depth=1 movzbl (%rsi,%r12), %r13d testb %r13b, %r13b je LBB0_40 ## %bb.18: ## in Loop: Header=BB0_7 Depth=1 leal -48(%r13), %r12d cmpb $10, %r12b jb LBB0_21 ## %bb.19: ## in Loop: Header=BB0_7 Depth=1 movzbl %r13b, %r12d addl $-65, %r12d cmpl $37, %r12d ja LBB0_43 ## %bb.20: ## in Loop: Header=BB0_7 Depth=1 btq %r12, %r9 jae LBB0_43 LBB0_21: ## in Loop: Header=BB0_7 Depth=1 leaq 2(%r11), %r12 movl %r12d, (%rdi) cmpq %rdx, %r12 jae LBB0_39 ## %bb.22: ## in Loop: Header=BB0_7 Depth=1 movzbl (%rsi,%r12), %r13d testb %r13b, %r13b je LBB0_40 ## %bb.23: ## in Loop: Header=BB0_7 Depth=1 leal -48(%r13), %r12d cmpb $10, %r12b jb LBB0_26 ## %bb.24: ## in Loop: Header=BB0_7 Depth=1 movzbl %r13b, %r12d addl $-65, %r12d cmpl $37, %r12d ja LBB0_43 ## %bb.25: ## in Loop: Header=BB0_7 Depth=1 btq %r12, %r9 jae LBB0_43 LBB0_26: ## in Loop: Header=BB0_7 Depth=1 leaq 3(%r11), %r12 movl %r12d, (%rdi) cmpq %rdx, %r12 jae LBB0_39 ## %bb.27: ## in Loop: Header=BB0_7 Depth=1 movzbl (%rsi,%r12), %r13d testb %r13b, %r13b je LBB0_40 ## %bb.28: ## in Loop: Header=BB0_7 Depth=1 leal -48(%r13), %r12d cmpb $10, %r12b jb LBB0_31 ## %bb.29: ## in Loop: Header=BB0_7 Depth=1 movzbl %r13b, %r12d addl $-65, %r12d cmpl $37, %r12d ja LBB0_43 ## %bb.30: ## in Loop: Header=BB0_7 Depth=1 btq %r12, %r9 jae LBB0_43 LBB0_31: ## in Loop: Header=BB0_7 Depth=1 addq $4, %r11 movl %r11d, (%rdi) movl %r15d, %r12d cmpq %rdx, %r11 jae LBB0_40 ## %bb.32: ## in Loop: Header=BB0_7 Depth=1 movzbl (%rsi,%r11), %r15d movl %r11d, %r12d testb %r15b, %r15b je LBB0_40 ## %bb.33: ## in Loop: Header=BB0_7 Depth=1 addl $7, %r10d leal -48(%r15), %r11d cmpb $10, %r11b jae LBB0_41 ## %bb.34: ## in Loop: Header=BB0_7 Depth=1 movl %r10d, %r12d jmp LBB0_40 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_7 Depth=1 movl %r10d, %r12d jmp LBB0_6 LBB0_39: ## in Loop: Header=BB0_7 Depth=1 movl %r15d, %r12d LBB0_40: ## in Loop: Header=BB0_7 Depth=1 decl %r12d movl %r12d, (%rdi) jmp LBB0_6 LBB0_41: ## in Loop: Header=BB0_7 Depth=1 movzbl %r15b, %r11d addl $-65, %r11d cmpl $37, %r11d ja LBB0_43 ## %bb.42: ## in Loop: Header=BB0_7 Depth=1 btq %r11, %r9 movl %r10d, %r12d jb LBB0_40 LBB0_43: movl %r14d, (%rdi) movq _JSMN_ERROR_INVAL@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_44: xorl %eax, %eax testq %rcx, %rcx je LBB0_3 ## %bb.45: movq %rdi, %r15 movq %rcx, %rsi movq %r8, %rdx callq _jsmn_alloc_token testq %rax, %rax je LBB0_47 ## %bb.46: movq _JSMN_STRING@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl (%r15), %ecx movq %rax, %rdi movl %ebx, %edx callq _jsmn_fill_token xorl %eax, %eax jmp LBB0_3 LBB0_47: movl %r14d, (%r15) movq _JSMN_ERROR_NOMEM@GOTPCREL(%rip), %rax jmp LBB0_2 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_43, LBB0_43-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 LJTI0_0: .long L0_0_set_6 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_6 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_6 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_6 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_6 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_6 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_43 .long L0_0_set_6 .long L0_0_set_43 .long L0_0_set_6 .long L0_0_set_11 .end_data_region ## -- End function .comm _JSMN_ERROR_NOMEM,4,2 ## @JSMN_ERROR_NOMEM .comm _JSMN_STRING,4,2 ## @JSMN_STRING .comm _JSMN_ERROR_INVAL,4,2 ## @JSMN_ERROR_INVAL .comm _JSMN_ERROR_PART,4,2 ## @JSMN_ERROR_PART .no_dead_strip _jsmn_parse_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function jsmn_parse_string _jsmn_parse_string: ; @jsmn_parse_string .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldrsw x20, [x0] add x19, x20, #1 str w19, [x0] ldrb w13, [x1, x19] cmp x19, x2 ccmp w13, #0, #0, hs b.eq LBB0_41 ; %bb.1: mov w8, #1 ; =0x1 mov x9, #8193 ; =0x2001 movk x9, #1024, lsl #48 mov w10, #4113 ; =0x1011 movk w10, #5, lsl #16 mov x11, x19 LBB0_2: ; =>This Inner Loop Header: Depth=1 cmp w13, #92 b.eq LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x12, x11 cmp w13, #34 b.ne LBB0_29 b LBB0_44 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 mov x12, x11 sxtw x12, w12 add x12, x12, #1 cmp x12, x2 b.hs LBB0_25 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 str w12, [x0] ldrb w13, [x1, x12] sub w14, w13, #98 cmp w14, #19 b.hi LBB0_26 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 lsl w15, w8, w14 tst w15, w10 b.ne LBB0_29 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 cmp w14, #19 b.ne LBB0_26 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 add w14, w11, #2 str w14, [x0] sxtw x13, w14 cmp x2, x13 csel x12, x2, x13, hi cmp x13, x2 b.hs LBB0_24 ; %bb.9: ; in Loop: Header=BB0_2 Depth=1 ldrb w15, [x1, x13] tst w15, #0xff b.eq LBB0_27 ; %bb.10: ; in Loop: Header=BB0_2 Depth=1 sub w14, w15, #48 and w14, w14, #0xff cmp w14, #10 b.lo LBB0_13 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 and w14, w15, #0xff sub w14, w14, #65 cmp w14, #37 b.hi LBB0_40 ; %bb.12: ; in Loop: Header=BB0_2 Depth=1 lsl x14, x8, x14 tst x14, #0x3f0000003f b.eq LBB0_40 LBB0_13: ; in Loop: Header=BB0_2 Depth=1 add x14, x13, #1 str w14, [x0] cmp x14, x12 b.eq LBB0_24 ; %bb.14: ; in Loop: Header=BB0_2 Depth=1 ldrb w15, [x1, x14] tst w15, #0xff b.eq LBB0_28 ; %bb.15: ; in Loop: Header=BB0_2 Depth=1 sub w14, w15, #48 and w14, w14, #0xff cmp w14, #10 b.lo LBB0_18 ; %bb.16: ; in Loop: Header=BB0_2 Depth=1 and w14, w15, #0xff sub w14, w14, #65 cmp w14, #37 b.hi LBB0_40 ; %bb.17: ; in Loop: Header=BB0_2 Depth=1 lsl x14, x8, x14 tst x14, #0x3f0000003f b.eq LBB0_40 LBB0_18: ; in Loop: Header=BB0_2 Depth=1 add x14, x13, #2 str w14, [x0] cmp x14, x12 b.eq LBB0_24 ; %bb.19: ; in Loop: Header=BB0_2 Depth=1 ldrb w15, [x1, x14] ; kill: def $w14 killed $w14 killed $x14 def $x14 tst w15, #0xff b.eq LBB0_28 ; %bb.20: ; in Loop: Header=BB0_2 Depth=1 sub w14, w15, #48 and w14, w14, #0xff cmp w14, #10 b.lo LBB0_23 ; %bb.21: ; in Loop: Header=BB0_2 Depth=1 and w14, w15, #0xff sub w14, w14, #65 cmp w14, #37 b.hi LBB0_40 ; %bb.22: ; in Loop: Header=BB0_2 Depth=1 lsl x14, x8, x14 tst x14, #0x3f0000003f b.eq LBB0_40 LBB0_23: ; in Loop: Header=BB0_2 Depth=1 add x14, x13, #3 str w14, [x0] cmp x14, x12 b.ne LBB0_31 LBB0_24: ; in Loop: Header=BB0_2 Depth=1 mov x14, x12 b LBB0_28 LBB0_25: ; in Loop: Header=BB0_2 Depth=1 mov x12, x11 b LBB0_29 LBB0_26: ; in Loop: Header=BB0_2 Depth=1 sub w11, w13, #34 cmp w11, #58 lsl x11, x8, x11 and x11, x11, x9 ccmp x11, #0, #4, ls b.ne LBB0_29 b LBB0_40 LBB0_27: ; in Loop: Header=BB0_2 Depth=1 ; kill: def $w14 killed $w14 killed $x14 def $x14 LBB0_28: ; in Loop: Header=BB0_2 Depth=1 sub w12, w14, #1 str w12, [x0] LBB0_29: ; in Loop: Header=BB0_2 Depth=1 ; kill: def $w12 killed $w12 killed $x12 def $x12 sxtw x11, w12 add x11, x11, #1 str w11, [x0] ldrb w13, [x1, x11] cmp x11, x2 b.lo LBB0_2 ; %bb.30: ; in Loop: Header=BB0_2 Depth=1 cbnz w13, LBB0_2 b LBB0_41 LBB0_31: ; in Loop: Header=BB0_2 Depth=1 ldrb w15, [x1, x14] ; kill: def $w14 killed $w14 killed $x14 def $x14 tst w15, #0xff b.eq LBB0_28 ; %bb.32: ; in Loop: Header=BB0_2 Depth=1 sub w14, w15, #48 and w14, w14, #0xff cmp w14, #10 b.lo LBB0_35 ; %bb.33: ; in Loop: Header=BB0_2 Depth=1 and w14, w15, #0xff sub w14, w14, #65 cmp w14, #37 b.hi LBB0_40 ; %bb.34: ; in Loop: Header=BB0_2 Depth=1 lsl x14, x8, x14 tst x14, #0x3f0000003f b.eq LBB0_40 LBB0_35: ; in Loop: Header=BB0_2 Depth=1 add x13, x13, #4 str w13, [x0] mov x14, x12 cmp x13, x12 b.eq LBB0_28 ; %bb.36: ; in Loop: Header=BB0_2 Depth=1 ldrb w12, [x1, x13] mov x14, x13 tst w12, #0xff b.eq LBB0_28 ; %bb.37: ; in Loop: Header=BB0_2 Depth=1 add w14, w11, #7 sub w11, w12, #48 and w11, w11, #0xff cmp w11, #10 b.lo LBB0_28 ; %bb.38: ; in Loop: Header=BB0_2 Depth=1 and w11, w12, #0xff sub w11, w11, #65 cmp w11, #37 b.hi LBB0_40 ; %bb.39: ; in Loop: Header=BB0_2 Depth=1 lsl x11, x8, x11 tst x11, #0x3f0000003f b.ne LBB0_28 LBB0_40: str w20, [x0] Lloh0: adrp x8, _JSMN_ERROR_INVAL@GOTPAGE Lloh1: ldr x8, [x8, _JSMN_ERROR_INVAL@GOTPAGEOFF] b LBB0_42 LBB0_41: str w20, [x0] Lloh2: adrp x8, _JSMN_ERROR_PART@GOTPAGE Lloh3: ldr x8, [x8, _JSMN_ERROR_PART@GOTPAGEOFF] LBB0_42: ldr w0, [x8] LBB0_43: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_44: cbz x3, LBB0_47 ; %bb.45: mov x21, x0 mov x1, x3 mov x2, x4 bl _jsmn_alloc_token cbz x0, LBB0_48 ; %bb.46: Lloh4: adrp x8, _JSMN_STRING@GOTPAGE Lloh5: ldr x8, [x8, _JSMN_STRING@GOTPAGEOFF] Lloh6: ldr w1, [x8] ldr w3, [x21] mov x2, x19 bl _jsmn_fill_token LBB0_47: mov w0, #0 ; =0x0 b LBB0_43 LBB0_48: str w20, [x21] Lloh7: adrp x8, _JSMN_ERROR_NOMEM@GOTPAGE Lloh8: ldr x8, [x8, _JSMN_ERROR_NOMEM@GOTPAGEOFF] b LBB0_42 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _JSMN_ERROR_NOMEM,4,2 ; @JSMN_ERROR_NOMEM .comm _JSMN_STRING,4,2 ; @JSMN_STRING .comm _JSMN_ERROR_INVAL,4,2 ; @JSMN_ERROR_INVAL .comm _JSMN_ERROR_PART,4,2 ; @JSMN_ERROR_PART .no_dead_strip _jsmn_parse_string .subsections_via_symbols
assembly_file_88354.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function aacs_strerr _aacs_strerr: ## @aacs_strerr .cfi_startproc ## %bb.0: addl $-128, %edi cmpl $7, %edi ja LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edi, %rax leaq l_reltable.aacs_strerr(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax popq %rbp retq LBB0_1: leaq L_.str.8(%rip), %rax retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "opening or reading of AACS files failed" L_.str.1: ## @.str.1 .asciz "missing config file" L_.str.2: ## @.str.2 .asciz "no matching processing key" L_.str.3: ## @.str.3 .asciz "no valid certificate" L_.str.4: ## @.str.4 .asciz "certificate has been revoked" L_.str.5: ## @.str.5 .asciz "MMC open failed (maybe no MMC drive?)" L_.str.6: ## @.str.6 .asciz "MMC failed" L_.str.7: ## @.str.7 .asciz "no matching device key" L_.str.8: ## @.str.8 .asciz "unknown error" .no_dead_strip _aacs_strerr .section __TEXT,__const .p2align 2 ## @reltable.aacs_strerr l_reltable.aacs_strerr: .long L_.str.2-l_reltable.aacs_strerr .long L_.str.7-l_reltable.aacs_strerr .long L_.str.1-l_reltable.aacs_strerr .long L_.str.3-l_reltable.aacs_strerr .long L_.str.5-l_reltable.aacs_strerr .long L_.str.6-l_reltable.aacs_strerr .long L_.str-l_reltable.aacs_strerr .long L_.str.4-l_reltable.aacs_strerr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function aacs_strerr _aacs_strerr: ; @aacs_strerr .cfi_startproc ; %bb.0: sub w8, w0, #128 cmp w8, #7 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x9, l_switch.table.aacs_strerr@PAGE Lloh1: add x9, x9, l_switch.table.aacs_strerr@PAGEOFF ldr x0, [x9, w8, sxtw #3] ret LBB0_2: Lloh2: adrp x0, l_.str.8@PAGE Lloh3: add x0, x0, l_.str.8@PAGEOFF ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "opening or reading of AACS files failed" l_.str.1: ; @.str.1 .asciz "missing config file" l_.str.2: ; @.str.2 .asciz "no matching processing key" l_.str.3: ; @.str.3 .asciz "no valid certificate" l_.str.4: ; @.str.4 .asciz "certificate has been revoked" l_.str.5: ; @.str.5 .asciz "MMC open failed (maybe no MMC drive?)" l_.str.6: ; @.str.6 .asciz "MMC failed" l_.str.7: ; @.str.7 .asciz "no matching device key" l_.str.8: ; @.str.8 .asciz "unknown error" .no_dead_strip _aacs_strerr .section __DATA,__const .p2align 3 ; @switch.table.aacs_strerr l_switch.table.aacs_strerr: .quad l_.str.2 .quad l_.str.7 .quad l_.str.1 .quad l_.str.3 .quad l_.str.5 .quad l_.str.6 .quad l_.str .quad l_.str.4 .subsections_via_symbols
AnghaBench/mpv/stream/extr_stream_bluray.c_aacs_strerr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vb2_dvb_register_frontend _vb2_dvb_register_frontend: ## @vb2_dvb_register_frontend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r12 movq (%rsi), %rsi callq _dvb_register_frontend testl %eax, %eax js LBB0_1 ## %bb.2: movq _DMX_TS_FILTERING@GOTPCREL(%rip), %rax movq _DMX_SECTION_FILTERING@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq _DMX_MEMORY_BASED_FILTERING@GOTPCREL(%rip), %rax orl (%rax), %ecx leaq 8(%rbx), %r14 movl %ecx, 16(%rbx) movq %rbx, 56(%rbx) movabsq $1099511628032, %rax ## imm = 0x10000000100 movq %rax, 8(%rbx) movq _vb2_dvb_start_feed@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 52(%rbx) movq _vb2_dvb_stop_feed@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 48(%rbx) movq %r14, %rdi callq _dvb_dmx_init testl %eax, %eax js LBB0_3 ## %bb.4: leaq 16(%rbx), %r13 leaq 64(%rbx), %rdi movl $256, 64(%rbx) ## imm = 0x100 movq %r13, 80(%rbx) movq $0, 72(%rbx) movq %rdi, -48(%rbp) ## 8-byte Spill movq %r12, %rsi callq _dvb_dmxdev_init testl %eax, %eax js LBB0_5 ## %bb.6: movq _DMX_FRONTEND_0@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 88(%rbx), %rsi movl %eax, 88(%rbx) movq %r13, %rdi movq %rsi, -56(%rbp) ## 8-byte Spill callq *24(%rbx) testl %eax, %eax js LBB0_7 ## %bb.8: movq _DMX_MEMORY_FE@GOTPCREL(%rip), %rax movl (%rax), %eax leaq 92(%rbx), %rsi movl %eax, 92(%rbx) movq %r13, %rdi movq %rsi, -64(%rbp) ## 8-byte Spill callq *24(%rbx) testl %eax, %eax js LBB0_9 ## %bb.10: movq %r13, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq *32(%rbx) testl %eax, %eax js LBB0_11 ## %bb.12: leaq 100(%rbx), %rsi movq %r12, %rdi movq %r13, %rdx callq _dvb_net_init xorl %r15d, %r15d testl %eax, %eax jns LBB0_20 ## %bb.13: movl %eax, %r12d movl 96(%rbx), %esi leaq L_.str.6(%rip), %rdi movl %eax, %edx callq _pr_warn movl %r12d, %r15d jmp LBB0_14 LBB0_1: movl %eax, %r15d movl 96(%rbx), %esi leaq L_.str(%rip), %rdi movl %eax, %edx callq _pr_warn jmp LBB0_19 LBB0_3: movl %eax, %r15d movl 96(%rbx), %esi leaq L_.str.1(%rip), %rdi movl %eax, %edx callq _pr_warn jmp LBB0_18 LBB0_5: movl %eax, %r15d movl 96(%rbx), %esi leaq L_.str.2(%rip), %rdi movl %eax, %edx callq _pr_warn jmp LBB0_17 LBB0_7: movl %eax, %r15d movl 96(%rbx), %esi leaq L_.str.3(%rip), %rdi movl %eax, %edx callq _pr_warn movq -48(%rbp), %r12 ## 8-byte Reload jmp LBB0_16 LBB0_9: movl %eax, %r15d movl 96(%rbx), %esi leaq L_.str.4(%rip), %rdi movl %eax, %edx callq _pr_warn jmp LBB0_15 LBB0_11: movl %eax, %r15d movl 96(%rbx), %esi leaq L_.str.5(%rip), %rdi movl %eax, %edx callq _pr_warn LBB0_14: movq %r13, %rdi movq -64(%rbp), %rsi ## 8-byte Reload callq *40(%rbx) LBB0_15: movq -48(%rbp), %r12 ## 8-byte Reload movq %r13, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq *40(%rbx) LBB0_16: movq %r12, %rdi callq _dvb_dmxdev_release LBB0_17: movq %r14, %rdi callq _dvb_dmx_release LBB0_18: movq (%rbx), %rdi callq _dvb_unregister_frontend LBB0_19: movq (%rbx), %rdi callq _dvb_frontend_detach movq $0, (%rbx) LBB0_20: movl %r15d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: dvb_register_frontend failed (errno = %d)\n" .comm _DMX_TS_FILTERING,4,2 ## @DMX_TS_FILTERING .comm _DMX_SECTION_FILTERING,4,2 ## @DMX_SECTION_FILTERING .comm _DMX_MEMORY_BASED_FILTERING,4,2 ## @DMX_MEMORY_BASED_FILTERING .comm _vb2_dvb_start_feed,4,2 ## @vb2_dvb_start_feed .comm _vb2_dvb_stop_feed,4,2 ## @vb2_dvb_stop_feed L_.str.1: ## @.str.1 .asciz "%s: dvb_dmx_init failed (errno = %d)\n" L_.str.2: ## @.str.2 .asciz "%s: dvb_dmxdev_init failed (errno = %d)\n" .comm _DMX_FRONTEND_0,4,2 ## @DMX_FRONTEND_0 L_.str.3: ## @.str.3 .asciz "%s: add_frontend failed (DMX_FRONTEND_0, errno = %d)\n" .comm _DMX_MEMORY_FE,4,2 ## @DMX_MEMORY_FE L_.str.4: ## @.str.4 .asciz "%s: add_frontend failed (DMX_MEMORY_FE, errno = %d)\n" L_.str.5: ## @.str.5 .asciz "%s: connect_frontend failed (errno = %d)\n" L_.str.6: ## @.str.6 .asciz "%s: dvb_net_init failed (errno = %d)\n" .no_dead_strip _vb2_dvb_register_frontend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vb2_dvb_register_frontend _vb2_dvb_register_frontend: ; @vb2_dvb_register_frontend .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x24, x0 ldr x1, [x1] bl _dvb_register_frontend tbnz w0, #31, LBB0_8 ; %bb.1: Lloh0: adrp x8, _DMX_TS_FILTERING@GOTPAGE Lloh1: ldr x8, [x8, _DMX_TS_FILTERING@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _DMX_SECTION_FILTERING@GOTPAGE Lloh4: ldr x9, [x9, _DMX_SECTION_FILTERING@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, _DMX_MEMORY_BASED_FILTERING@GOTPAGE Lloh7: ldr x9, [x9, _DMX_MEMORY_BASED_FILTERING@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w8, w8, w9 movi.2s v0, #1, lsl #8 mov x20, x19 str d0, [x20, #8]! mov x23, x19 str w8, [x23, #16]! str x19, [x19, #56] Lloh9: adrp x8, _vb2_dvb_start_feed@GOTPAGE Lloh10: ldr x8, [x8, _vb2_dvb_start_feed@GOTPAGEOFF] Lloh11: ldr w8, [x8] Lloh12: adrp x9, _vb2_dvb_stop_feed@GOTPAGE Lloh13: ldr x9, [x9, _vb2_dvb_stop_feed@GOTPAGEOFF] Lloh14: ldr w9, [x9] stp w9, w8, [x19, #48] mov x0, x20 bl _dvb_dmx_init tbnz w0, #31, LBB0_9 ; %bb.2: mov w8, #256 mov x22, x19 str w8, [x22, #64]! stp xzr, x23, [x22, #8] mov x0, x22 mov x1, x24 bl _dvb_dmxdev_init tbnz w0, #31, LBB0_10 ; %bb.3: Lloh15: adrp x8, _DMX_FRONTEND_0@GOTPAGE Lloh16: ldr x8, [x8, _DMX_FRONTEND_0@GOTPAGEOFF] Lloh17: ldr w8, [x8] mov x25, x19 str w8, [x25, #88]! ldur x8, [x25, #-64] mov x0, x23 mov x1, x25 blr x8 tbnz w0, #31, LBB0_11 ; %bb.4: Lloh18: adrp x8, _DMX_MEMORY_FE@GOTPAGE Lloh19: ldr x8, [x8, _DMX_MEMORY_FE@GOTPAGEOFF] Lloh20: ldr w8, [x8] mov x26, x19 str w8, [x26, #92]! ldur x8, [x26, #-68] mov x0, x23 mov x1, x26 blr x8 tbnz w0, #31, LBB0_12 ; %bb.5: ldr x8, [x19, #32] mov x0, x23 mov x1, x25 blr x8 tbnz w0, #31, LBB0_13 ; %bb.6: add x1, x19, #100 mov x0, x24 mov x2, x23 bl _dvb_net_init tbnz w0, #31, LBB0_14 ; %bb.7: mov w21, #0 b LBB0_21 LBB0_8: mov x21, x0 ldr w1, [x19, #96] Lloh21: adrp x0, l_.str@PAGE Lloh22: add x0, x0, l_.str@PAGEOFF mov x2, x21 bl _pr_warn b LBB0_20 LBB0_9: mov x21, x0 ldr w1, [x19, #96] Lloh23: adrp x0, l_.str.1@PAGE Lloh24: add x0, x0, l_.str.1@PAGEOFF mov x2, x21 bl _pr_warn b LBB0_19 LBB0_10: mov x21, x0 ldr w1, [x19, #96] Lloh25: adrp x0, l_.str.2@PAGE Lloh26: add x0, x0, l_.str.2@PAGEOFF mov x2, x21 bl _pr_warn b LBB0_18 LBB0_11: mov x21, x0 ldr w1, [x19, #96] Lloh27: adrp x0, l_.str.3@PAGE Lloh28: add x0, x0, l_.str.3@PAGEOFF mov x2, x21 bl _pr_warn b LBB0_17 LBB0_12: mov x21, x0 ldr w1, [x19, #96] Lloh29: adrp x0, l_.str.4@PAGE Lloh30: add x0, x0, l_.str.4@PAGEOFF mov x2, x21 bl _pr_warn b LBB0_16 LBB0_13: mov x21, x0 ldr w1, [x19, #96] Lloh31: adrp x0, l_.str.5@PAGE Lloh32: add x0, x0, l_.str.5@PAGEOFF b LBB0_15 LBB0_14: mov x21, x0 ldr w1, [x19, #96] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF LBB0_15: mov x2, x21 bl _pr_warn ldr x8, [x19, #40] mov x0, x23 mov x1, x26 blr x8 LBB0_16: ldr x8, [x19, #40] mov x0, x23 mov x1, x25 blr x8 LBB0_17: mov x0, x22 bl _dvb_dmxdev_release LBB0_18: mov x0, x20 bl _dvb_dmx_release LBB0_19: ldr x0, [x19] bl _dvb_unregister_frontend LBB0_20: ldr x0, [x19] bl _dvb_frontend_detach str xzr, [x19] LBB0_21: mov x0, x21 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: dvb_register_frontend failed (errno = %d)\n" .comm _DMX_TS_FILTERING,4,2 ; @DMX_TS_FILTERING .comm _DMX_SECTION_FILTERING,4,2 ; @DMX_SECTION_FILTERING .comm _DMX_MEMORY_BASED_FILTERING,4,2 ; @DMX_MEMORY_BASED_FILTERING .comm _vb2_dvb_start_feed,4,2 ; @vb2_dvb_start_feed .comm _vb2_dvb_stop_feed,4,2 ; @vb2_dvb_stop_feed l_.str.1: ; @.str.1 .asciz "%s: dvb_dmx_init failed (errno = %d)\n" l_.str.2: ; @.str.2 .asciz "%s: dvb_dmxdev_init failed (errno = %d)\n" .comm _DMX_FRONTEND_0,4,2 ; @DMX_FRONTEND_0 l_.str.3: ; @.str.3 .asciz "%s: add_frontend failed (DMX_FRONTEND_0, errno = %d)\n" .comm _DMX_MEMORY_FE,4,2 ; @DMX_MEMORY_FE l_.str.4: ; @.str.4 .asciz "%s: add_frontend failed (DMX_MEMORY_FE, errno = %d)\n" l_.str.5: ; @.str.5 .asciz "%s: connect_frontend failed (errno = %d)\n" l_.str.6: ; @.str.6 .asciz "%s: dvb_net_init failed (errno = %d)\n" .no_dead_strip _vb2_dvb_register_frontend .subsections_via_symbols
AnghaBench/linux/drivers/media/common/videobuf2/extr_videobuf2-dvb.c_vb2_dvb_register_frontend.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hal_btcoex_LpsNotify ## -- Begin function hal_btcoex_LpsNotify .p2align 4, 0x90 _hal_btcoex_LpsNotify: ## @hal_btcoex_LpsNotify .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _GLBtCoexist@GOTPCREL(%rip), %rdi popq %rbp jmp _EXhalbtcoutsrc_LpsNotify ## TAILCALL .cfi_endproc ## -- End function .comm _GLBtCoexist,4,2 ## @GLBtCoexist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hal_btcoex_LpsNotify ; -- Begin function hal_btcoex_LpsNotify .p2align 2 _hal_btcoex_LpsNotify: ; @hal_btcoex_LpsNotify .cfi_startproc ; %bb.0: Lloh0: adrp x0, _GLBtCoexist@GOTPAGE Lloh1: ldr x0, [x0, _GLBtCoexist@GOTPAGEOFF] b _EXhalbtcoutsrc_LpsNotify .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _GLBtCoexist,4,2 ; @GLBtCoexist .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_btcoex.c_hal_btcoex_LpsNotify.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zend_jit_gdb_init _zend_jit_gdb_init: ## @zend_jit_gdb_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .comm _ZEND_JIT_DEBUG_GDB,4,2 ## @ZEND_JIT_DEBUG_GDB .comm _accel_directives,4,2 ## @accel_directives .no_dead_strip _zend_jit_gdb_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zend_jit_gdb_init _zend_jit_gdb_init: ; @zend_jit_gdb_init .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _ZEND_JIT_DEBUG_GDB,4,2 ; @ZEND_JIT_DEBUG_GDB .comm _accel_directives,4,2 ; @accel_directives .no_dead_strip _zend_jit_gdb_init .subsections_via_symbols
AnghaBench/php-src/ext/opcache/jit/extr_zend_jit_gdb.c_zend_jit_gdb_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uvcg_uncompressed_bma_controls_store _uvcg_uncompressed_bma_controls_store: ## @uvcg_uncompressed_bma_controls_store .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, %r14 movq %rsi, %rbx callq _to_uvcg_uncompressed movq %rax, %rdi movq %rbx, %rsi movq %r14, %rdx popq %rbx popq %r14 popq %rbp jmp _uvcg_format_bma_controls_store ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _uvcg_uncompressed_bma_controls_store .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uvcg_uncompressed_bma_controls_store _uvcg_uncompressed_bma_controls_store: ; @uvcg_uncompressed_bma_controls_store .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x1 bl _to_uvcg_uncompressed mov x1, x20 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _uvcg_format_bma_controls_store .cfi_endproc ; -- End function .no_dead_strip _uvcg_uncompressed_bma_controls_store .subsections_via_symbols
AnghaBench/linux/drivers/usb/gadget/function/extr_uvc_configfs.c_uvcg_uncompressed_bma_controls_store.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/198581403.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ZSTDMT_expandJobsTable _ZSTDMT_expandJobsTable: ## @ZSTDMT_expandJobsTable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %eax addl $2, %eax movl %eax, -12(%rbp) movl (%rdi), %esi incl %esi cmpl %esi, %eax jle LBB0_7 ## %bb.1: movq %rdi, %rbx movq 8(%rdi), %rdi movl 16(%rbx), %edx callq _ZSTDMT_freeJobsTable movl $0, (%rbx) movl 16(%rbx), %esi leaq -12(%rbp), %rdi callq _ZSTDMT_createJobsTable movq %rax, 8(%rbx) testq %rax, %rax je LBB0_2 ## %bb.3: movl -12(%rbp), %eax testl %eax, %eax je LBB0_4 ## %bb.5: leal -1(%rax), %ecx xorl %edi, %edi testl %ecx, %eax sete %dil jmp LBB0_6 LBB0_2: movq _memory_allocation@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ERROR jmp LBB0_8 LBB0_4: xorl %edi, %edi LBB0_6: callq _assert movl -12(%rbp), %eax decl %eax movl %eax, (%rbx) LBB0_7: xorl %eax, %eax LBB0_8: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _memory_allocation,4,2 ## @memory_allocation .no_dead_strip _ZSTDMT_expandJobsTable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ZSTDMT_expandJobsTable _ZSTDMT_expandJobsTable: ; @ZSTDMT_expandJobsTable .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 add w8, w1, #2 str w8, [sp, #12] ldr w9, [x0] add w1, w9, #1 cmp w8, w1 b.le LBB0_3 ; %bb.1: mov x19, x0 ldr x0, [x0, #8] ldr w2, [x19, #16] bl _ZSTDMT_freeJobsTable str wzr, [x19] ldr w1, [x19, #16] add x0, sp, #12 bl _ZSTDMT_createJobsTable str x0, [x19, #8] cbz x0, LBB0_4 ; %bb.2: ldr w8, [sp, #12] sub w9, w8, #1 tst w8, w9 cset w9, eq cmp w8, #0 csel w0, wzr, w9, eq bl _assert mov x0, #0 ldr w8, [sp, #12] sub w8, w8, #1 str w8, [x19] b LBB0_5 LBB0_3: mov x0, #0 b LBB0_5 LBB0_4: Lloh0: adrp x8, _memory_allocation@GOTPAGE Lloh1: ldr x8, [x8, _memory_allocation@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _ERROR LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _memory_allocation,4,2 ; @memory_allocation .no_dead_strip _ZSTDMT_expandJobsTable .subsections_via_symbols
AnghaBench/borg/src/borg/algorithms/zstd/lib/compress/extr_zstdmt_compress.c_ZSTDMT_expandJobsTable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ip_vs_app_get _ip_vs_app_get: ## @ip_vs_app_get .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _try_module_get ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _ip_vs_app_get .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ip_vs_app_get _ip_vs_app_get: ; @ip_vs_app_get .cfi_startproc ; %bb.0: ldr w0, [x0] b _try_module_get .cfi_endproc ; -- End function .no_dead_strip _ip_vs_app_get .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/netfilter/ipvs/extr_ip_vs_app.c_ip_vs_app_get.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rbx leaq -16(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -16(%rbp), %eax movl -12(%rbp), %esi cmpl %esi, %eax cmovll %eax, %esi leaq L_.str.3(%rip), %rbx movq %rbx, %rdi xorl %eax, %eax callq _printf movl -16(%rbp), %eax movl -12(%rbp), %esi cmpl %esi, %eax cmovgl %eax, %esi movq %rbx, %rdi xorl %eax, %eax callq _printf movl -12(%rbp), %esi imull -16(%rbp), %esi movq %rbx, %rdi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _minimum ## -- Begin function minimum .p2align 4, 0x90 _minimum: ## @minimum .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %eax cmpl %esi, %edi cmovll %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _maximum ## -- Begin function maximum .p2align 4, 0x90 _maximum: ## @maximum .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %esi, %eax cmpl %esi, %edi cmovgl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _multiply ## -- Begin function multiply .p2align 4, 0x90 _multiply: ## @multiply .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax imull %esi, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter a value for no 1 : " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Enter a value for no 2 : " L_.str.3: ## @.str.3 .asciz "%d " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldp w9, w8, [sp, #8] cmp w8, w9 csel w8, w8, w9, lt str x8, [sp] Lloh6: adrp x19, l_.str.3@PAGE Lloh7: add x19, x19, l_.str.3@PAGEOFF mov x0, x19 bl _printf ldp w9, w8, [sp, #8] cmp w8, w9 csel w8, w8, w9, gt str x8, [sp] mov x0, x19 bl _printf ldp w9, w8, [sp, #8] mul w8, w9, w8 str x8, [sp] mov x0, x19 bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _minimum ; -- Begin function minimum .p2align 2 _minimum: ; @minimum .cfi_startproc ; %bb.0: cmp w0, w1 csel w0, w0, w1, lt ret .cfi_endproc ; -- End function .globl _maximum ; -- Begin function maximum .p2align 2 _maximum: ; @maximum .cfi_startproc ; %bb.0: cmp w0, w1 csel w0, w0, w1, gt ret .cfi_endproc ; -- End function .globl _multiply ; -- Begin function multiply .p2align 2 _multiply: ; @multiply .cfi_startproc ; %bb.0: mul w0, w1, w0 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter a value for no 1 : " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Enter a value for no 2 : " l_.str.3: ; @.str.3 .asciz "%d " .subsections_via_symbols
the_stack_data/179831288.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function opt_loop _opt_loop: ## @opt_loop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r12 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl $1, (%rbx) movq %rbx, %rdi movq %r15, %rsi callq _find_levels movl (%r15), %esi movq %rbx, %rdi callq _find_dom movl (%r15), %esi movq %rbx, %rdi callq _find_closure movl (%r15), %esi movq %rbx, %rdi callq _find_ud movl (%r15), %esi movq %rbx, %rdi callq _find_edom movq %r12, %rdi movq %rbx, %rsi movq %r15, %rdx movl %r14d, %ecx callq _opt_blks cmpl $0, (%rbx) je LBB0_1 ## %bb.2: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _pcap_optimizer_debug,4,2 ## @pcap_optimizer_debug .comm _pcap_print_dot_graph,8,3 ## @pcap_print_dot_graph .no_dead_strip _opt_loop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function opt_loop _opt_loop: ; @opt_loop .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov w23, #1 LBB0_1: ; =>This Inner Loop Header: Depth=1 str w23, [x21] mov x0, x21 mov x1, x20 bl _find_levels ldr w1, [x20] mov x0, x21 bl _find_dom ldr w1, [x20] mov x0, x21 bl _find_closure ldr w1, [x20] mov x0, x21 bl _find_ud ldr w1, [x20] mov x0, x21 bl _find_edom mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _opt_blks ldr w8, [x21] cbz w8, LBB0_1 ; %bb.2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _pcap_optimizer_debug,4,2 ; @pcap_optimizer_debug .comm _pcap_print_dot_graph,8,3 ; @pcap_print_dot_graph .no_dead_strip _opt_loop .subsections_via_symbols
AnghaBench/freebsd/contrib/libpcap/extr_optimize.c_opt_loop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function qrbdv LCPI0_0: .quad 0x7fffffffffffffff ## double NaN .quad 0x7fffffffffffffff ## double NaN LCPI0_3: .quad 0x8000000000000000 ## double -0 .quad 0x8000000000000000 ## double -0 .section __TEXT,__literal8,8byte_literals .p2align 3 LCPI0_1: .quad 0x3cd203af9ee75616 ## double 1.0000000000000001E-15 LCPI0_2: .quad 0x3ff0000000000000 ## double 1 .section __TEXT,__text,regular,pure_instructions .globl _qrbdv .p2align 4, 0x90 _qrbdv: ## @qrbdv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -88(%rbp) ## 8-byte Spill xorl %eax, %eax cmpl $2, %r9d jl LBB0_50 ## %bb.1: movl %r9d, %r14d movsd (%rdi), %xmm13 ## xmm13 = mem[0],zero andpd LCPI0_0(%rip), %xmm13 movl %r9d, %r10d leaq -1(%r10), %r9 cmpl $2, %r14d jne LBB0_3 ## %bb.2: movl $1, %edx jmp LBB0_5 LBB0_3: movq %r9, %rax andq $-2, %rax negq %rax movl $1, %edx movapd LCPI0_0(%rip), %xmm0 ## xmm0 = [NaN,NaN] movapd %xmm13, %xmm1 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movsd (%rdi,%rdx,8), %xmm2 ## xmm2 = mem[0],zero movsd 8(%rdi,%rdx,8), %xmm3 ## xmm3 = mem[0],zero andpd %xmm0, %xmm2 movsd -8(%rsi,%rdx,8), %xmm4 ## xmm4 = mem[0],zero movsd (%rsi,%rdx,8), %xmm13 ## xmm13 = mem[0],zero andpd %xmm0, %xmm4 addsd %xmm2, %xmm4 maxsd %xmm1, %xmm4 andpd %xmm0, %xmm3 andpd %xmm0, %xmm13 addsd %xmm3, %xmm13 maxsd %xmm4, %xmm13 leaq (%rax,%rdx), %rbx addq $2, %rbx addq $2, %rdx movapd %xmm13, %xmm1 cmpq $1, %rbx jne LBB0_4 LBB0_5: testb $1, %r9b je LBB0_7 ## %bb.6: movsd (%rdi,%rdx,8), %xmm0 ## xmm0 = mem[0],zero movapd LCPI0_0(%rip), %xmm1 ## xmm1 = [NaN,NaN] andpd %xmm1, %xmm0 movsd -8(%rsi,%rdx,8), %xmm2 ## xmm2 = mem[0],zero andpd %xmm1, %xmm2 addsd %xmm0, %xmm2 maxsd %xmm13, %xmm2 movapd %xmm2, %xmm13 LBB0_7: mulsd LCPI0_1(%rip), %xmm13 imull $100, %r14d, %eax movl %eax, -132(%rbp) ## 4-byte Spill movslq %ecx, %r15 movq -88(%rbp), %rax ## 8-byte Reload addq $-8, %rax movq %rax, -152(%rbp) ## 8-byte Spill leal -1(%r15), %eax movl %eax, -72(%rbp) ## 4-byte Spill movl %r15d, %eax andl $-2, %eax movl %eax, -68(%rbp) ## 4-byte Spill movl %r14d, %eax andl $-2, %eax movl %eax, -140(%rbp) ## 4-byte Spill movq %r15, %r9 shlq $4, %r9 shlq $3, %r15 movq %r10, %r11 shlq $4, %r11 xorl %eax, %eax movapd LCPI0_0(%rip), %xmm11 ## xmm11 = [NaN,NaN] movapd LCPI0_3(%rip), %xmm12 ## xmm12 = [-0.0E+0,-0.0E+0] xorpd %xmm8, %xmm8 movl %r14d, %edx movq %rsi, -128(%rbp) ## 8-byte Spill movq %rdi, -120(%rbp) ## 8-byte Spill movq %r8, -80(%rbp) ## 8-byte Spill movl %r14d, -48(%rbp) ## 4-byte Spill movl %ecx, -44(%rbp) ## 4-byte Spill .p2align 4, 0x90 LBB0_8: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 ## Child Loop BB0_15 Depth 2 ## Child Loop BB0_18 Depth 3 ## Child Loop BB0_30 Depth 2 ## Child Loop BB0_36 Depth 3 ## Child Loop BB0_42 Depth 3 movl %eax, -136(%rbp) ## 4-byte Spill movq %rdx, -64(%rbp) ## 8-byte Spill leal -1(%rdx), %r8d movslq %r8d, %rax leaq (,%rax,8), %r12 movq -152(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,8), %rbx leaq (%r15,%rax,8), %rdx movq %r8, -56(%rbp) ## 8-byte Spill movq %r8, %rcx .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_8 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rcx, %r13 testl %r13d, %r13d jle LBB0_21 ## %bb.10: ## in Loop: Header=BB0_9 Depth=2 movsd -8(%rsi,%r13,8), %xmm0 ## xmm0 = mem[0],zero andpd %xmm11, %xmm0 ucomisd %xmm0, %xmm13 ja LBB0_22 ## %bb.11: ## in Loop: Header=BB0_9 Depth=2 movq %r12, %rax movq %rbx, %r8 movq %rdx, %r14 leaq -1(%r13), %rcx movsd (%rdi,%rcx,8), %xmm0 ## xmm0 = mem[0],zero andpd %xmm11, %xmm0 addq $-8, %r12 addq $-8, %rbx addq $-8, %rdx ucomisd %xmm0, %xmm13 jbe LBB0_9 ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 movq -64(%rbp), %rdx ## 8-byte Reload cmpl %r13d, %edx jle LBB0_48 ## %bb.13: ## in Loop: Header=BB0_8 Depth=1 movslq %r13d, %r12 movq -152(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%r12,8), %rcx movq %rcx, -104(%rbp) ## 8-byte Spill movq %r12, %rcx negq %rcx movq %rcx, -96(%rbp) ## 8-byte Spill movslq %edx, %rcx movq %rcx, -112(%rbp) ## 8-byte Spill movsd LCPI0_2(%rip), %xmm2 ## xmm2 = mem[0],zero jmp LBB0_15 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_15 Depth=2 incq %r12 addq $8, %rax addq $8, %r14 cmpq -112(%rbp), %r12 ## 8-byte Folded Reload je LBB0_49 LBB0_15: ## Parent Loop BB0_8 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_18 Depth 3 movl $4294967295, %ecx ## imm = 0xFFFFFFFF addl %r12d, %ecx movsd (%rsi,%rcx,8), %xmm0 ## xmm0 = mem[0],zero movapd %xmm2, %xmm1 mulsd %xmm0, %xmm1 movsd (%rdi,%r12,8), %xmm3 ## xmm3 = mem[0],zero unpckhpd %xmm2, %xmm2 ## xmm2 = xmm2[1,1] mulsd %xmm0, %xmm2 movsd %xmm2, (%rsi,%rcx,8) movapd %xmm1, %xmm0 xorpd %xmm12, %xmm1 unpcklpd %xmm3, %xmm1 ## xmm1 = xmm1[0],xmm3[0] mulsd %xmm3, %xmm3 mulsd %xmm0, %xmm0 addsd %xmm3, %xmm0 sqrtsd %xmm0, %xmm0 movsd %xmm0, (%rdi,%r12,8) movddup %xmm0, %xmm0 ## xmm0 = xmm0[0,0] movapd %xmm1, %xmm2 divpd %xmm0, %xmm2 cmpl $0, -44(%rbp) ## 4-byte Folded Reload jle LBB0_14 ## %bb.16: ## in Loop: Header=BB0_15 Depth=2 movq %r13, %rdx movapd %xmm2, %xmm1 xorpd %xmm12, %xmm1 movapd %xmm2, %xmm3 unpckhpd %xmm2, %xmm3 ## xmm3 = xmm3[1],xmm2[1] movq -104(%rbp), %rbx ## 8-byte Reload cmpl $0, -72(%rbp) ## 4-byte Folded Reload je LBB0_19 ## %bb.17: ## in Loop: Header=BB0_15 Depth=2 movl -68(%rbp), %ecx ## 4-byte Reload movq %r8, %rbx movq -88(%rbp), %r13 ## 8-byte Reload .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_8 Depth=1 ## Parent Loop BB0_15 Depth=2 ## => This Inner Loop Header: Depth=3 movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero movsd (%r13,%rax), %xmm4 ## xmm4 = mem[0],zero movapd %xmm2, %xmm5 mulsd %xmm4, %xmm5 movapd %xmm3, %xmm6 mulsd %xmm0, %xmm6 addsd %xmm5, %xmm6 mulsd %xmm1, %xmm0 mulsd %xmm3, %xmm4 addsd %xmm0, %xmm4 movsd %xmm4, (%r13,%rax) movsd %xmm6, (%rbx) movsd (%rbx,%r15), %xmm0 ## xmm0 = mem[0],zero movsd (%r13,%r14), %xmm4 ## xmm4 = mem[0],zero movapd %xmm2, %xmm5 mulsd %xmm4, %xmm5 movapd %xmm3, %xmm6 mulsd %xmm0, %xmm6 addsd %xmm5, %xmm6 mulsd %xmm1, %xmm0 mulsd %xmm3, %xmm4 addsd %xmm0, %xmm4 movsd %xmm4, (%r13,%r14) movsd %xmm6, (%rbx,%r15) addq %r9, %r13 addq %r9, %rbx addl $-2, %ecx jne LBB0_18 LBB0_19: ## in Loop: Header=BB0_15 Depth=2 testb $1, -44(%rbp) ## 1-byte Folded Reload movq -128(%rbp), %rsi ## 8-byte Reload movq -120(%rbp), %rdi ## 8-byte Reload movq %rdx, %r13 je LBB0_14 ## %bb.20: ## in Loop: Header=BB0_15 Depth=2 movq -96(%rbp), %rcx ## 8-byte Reload leaq (%rbx,%rcx,8), %rcx movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero movsd 8(%rcx,%r12,8), %xmm4 ## xmm4 = mem[0],zero movapd %xmm2, %xmm5 mulsd %xmm4, %xmm5 movapd %xmm3, %xmm6 mulsd %xmm0, %xmm6 addsd %xmm5, %xmm6 mulsd %xmm0, %xmm1 mulsd %xmm4, %xmm3 addsd %xmm1, %xmm3 movsd %xmm3, 8(%rcx,%r12,8) movsd %xmm6, (%rbx) jmp LBB0_14 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_8 Depth=1 xorl %r13d, %r13d LBB0_22: ## in Loop: Header=BB0_8 Depth=1 movl -48(%rbp), %r14d ## 4-byte Reload movq -80(%rbp), %r8 ## 8-byte Reload movl -44(%rbp), %ecx ## 4-byte Reload movq -64(%rbp), %rdx ## 8-byte Reload LBB0_23: ## in Loop: Header=BB0_8 Depth=1 movq -56(%rbp), %rbx ## 8-byte Reload LBB0_24: ## in Loop: Header=BB0_8 Depth=1 movl %r13d, %eax movsd (%rdi,%rax,8), %xmm6 ## xmm6 = mem[0],zero movsd (%rdi,%rbx,8), %xmm4 ## xmm4 = mem[0],zero addl $-2, %edx movq %rdx, -96(%rbp) ## 8-byte Spill movsd (%rsi,%rdx,8), %xmm0 ## xmm0 = mem[0],zero movapd %xmm6, %xmm2 addsd %xmm4, %xmm2 movapd %xmm6, %xmm1 subsd %xmm4, %xmm1 mulsd %xmm2, %xmm1 mulsd %xmm0, %xmm0 subsd %xmm0, %xmm1 movsd (%rsi,%rax,8), %xmm0 ## xmm0 = mem[0],zero mulsd %xmm6, %xmm0 movapd %xmm0, %xmm2 addsd %xmm0, %xmm2 mulsd %xmm2, %xmm2 movapd %xmm1, %xmm3 mulsd %xmm1, %xmm3 addsd %xmm2, %xmm3 xorps %xmm2, %xmm2 sqrtsd %xmm3, %xmm2 ucomisd %xmm8, %xmm2 movq %r13, -104(%rbp) ## 8-byte Spill jne LBB0_25 jnp LBB0_46 LBB0_25: ## in Loop: Header=BB0_8 Depth=1 addsd %xmm2, %xmm1 movapd %xmm2, %xmm3 addsd %xmm2, %xmm3 divsd %xmm3, %xmm1 sqrtsd %xmm1, %xmm7 ucomisd %xmm8, %xmm7 movsd LCPI0_2(%rip), %xmm1 ## xmm1 = mem[0],zero jne LBB0_26 jnp LBB0_27 LBB0_26: ## in Loop: Header=BB0_8 Depth=1 mulsd %xmm7, %xmm2 divsd %xmm2, %xmm0 movapd %xmm0, %xmm1 LBB0_27: ## in Loop: Header=BB0_8 Depth=1 cmpl %ebx, %r13d jge LBB0_46 ## %bb.28: ## in Loop: Header=BB0_8 Depth=1 movslq %r13d, %rdi movslq %ebx, %rax movq %rax, -112(%rbp) ## 8-byte Spill unpcklpd %xmm1, %xmm7 ## xmm7 = xmm7[0],xmm1[0] leaq (%r8,%rdi,8), %rbx movq -88(%rbp), %rax ## 8-byte Reload leaq (%rax,%rdi,8), %r12 movq %rdi, %r13 jmp LBB0_30 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_30 Depth=2 mulsd %xmm10, %xmm6 mulsd %xmm14, %xmm9 subsd %xmm6, %xmm9 movapd %xmm7, %xmm6 mulsd %xmm1, %xmm6 mulsd %xmm3, %xmm1 movapd %xmm7, %xmm4 mulsd %xmm9, %xmm4 addsd %xmm1, %xmm4 mulsd %xmm3, %xmm9 subsd %xmm9, %xmm6 addq $8, %rbx addq $8, %r12 cmpq -112(%rbp), %r13 ## 8-byte Folded Reload je LBB0_46 LBB0_30: ## Parent Loop BB0_8 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_36 Depth 3 ## Child Loop BB0_42 Depth 3 movq %r13, %rdx movq -128(%rbp), %rsi ## 8-byte Reload movsd (%rsi,%r13,8), %xmm14 ## xmm14 = mem[0],zero cmpq %rdi, %r13 jle LBB0_32 ## %bb.31: ## in Loop: Header=BB0_30 Depth=2 movapd %xmm7, %xmm0 unpckhpd %xmm7, %xmm0 ## xmm0 = xmm0[1],xmm7[1] mulsd %xmm14, %xmm0 mulsd %xmm7, %xmm14 movapd %xmm4, %xmm1 unpcklpd %xmm0, %xmm4 ## xmm4 = xmm4[0],xmm0[0] mulsd %xmm0, %xmm0 mulsd %xmm1, %xmm1 addsd %xmm0, %xmm1 xorps %xmm0, %xmm0 sqrtsd %xmm1, %xmm0 movl $4294967295, %eax ## imm = 0xFFFFFFFF addl %edx, %eax movsd %xmm0, (%rsi,%rax,8) movddup %xmm0, %xmm0 ## xmm0 = xmm0[0,0] divpd %xmm0, %xmm4 movapd %xmm4, %xmm9 jmp LBB0_33 .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_30 Depth=2 movapd %xmm7, %xmm9 LBB0_33: ## in Loop: Header=BB0_30 Depth=2 movapd %xmm9, %xmm10 unpckhpd %xmm9, %xmm10 ## xmm10 = xmm10[1],xmm9[1] movapd %xmm10, %xmm0 xorpd %xmm12, %xmm0 movddup %xmm9, %xmm1 ## xmm1 = xmm9[0,0] cmpl $1, %r14d jne LBB0_35 ## %bb.34: ## in Loop: Header=BB0_30 Depth=2 leaq (%r8,%rdx,8), %rax jmp LBB0_37 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_30 Depth=2 movapd %xmm9, %xmm2 blendpd $1, %xmm0, %xmm2 ## xmm2 = xmm0[0],xmm2[1] movl -140(%rbp), %esi ## 4-byte Reload movq %rbx, %rax .p2align 4, 0x90 LBB0_36: ## Parent Loop BB0_8 Depth=1 ## Parent Loop BB0_30 Depth=2 ## => This Inner Loop Header: Depth=3 movupd (%rax), %xmm3 movapd %xmm2, %xmm5 mulpd %xmm3, %xmm5 shufpd $1, %xmm5, %xmm5 ## xmm5 = xmm5[1,0] mulpd %xmm1, %xmm3 addpd %xmm5, %xmm3 movupd %xmm3, (%rax) movupd (%rax,%r10,8), %xmm3 movapd %xmm2, %xmm5 mulpd %xmm3, %xmm5 shufpd $1, %xmm5, %xmm5 ## xmm5 = xmm5[1,0] mulpd %xmm1, %xmm3 addpd %xmm5, %xmm3 movupd %xmm3, (%rax,%r10,8) addq %r11, %rax addl $-2, %esi jne LBB0_36 LBB0_37: ## in Loop: Header=BB0_30 Depth=2 testb $1, %r14b je LBB0_39 ## %bb.38: ## in Loop: Header=BB0_30 Depth=2 movupd (%rax), %xmm2 movapd %xmm9, %xmm3 shufpd $1, %xmm0, %xmm3 ## xmm3 = xmm3[1],xmm0[0] mulpd %xmm2, %xmm1 shufpd $1, %xmm2, %xmm2 ## xmm2 = xmm2[1,0] mulpd %xmm3, %xmm2 addpd %xmm1, %xmm2 movupd %xmm2, (%rax) LBB0_39: ## in Loop: Header=BB0_30 Depth=2 movapd %xmm14, %xmm0 mulsd %xmm10, %xmm0 movapd %xmm9, %xmm7 mulsd %xmm6, %xmm7 addsd %xmm0, %xmm7 leaq 1(%rdx), %r13 movl %r13d, %eax movq -120(%rbp), %rsi ## 8-byte Reload movsd (%rsi,%rax,8), %xmm0 ## xmm0 = mem[0],zero mulsd %xmm10, %xmm0 movapd %xmm7, %xmm1 unpcklpd %xmm0, %xmm7 ## xmm7 = xmm7[0],xmm0[0] mulsd %xmm0, %xmm0 mulsd %xmm1, %xmm1 addsd %xmm0, %xmm1 xorps %xmm0, %xmm0 sqrtsd %xmm1, %xmm0 movsd %xmm0, (%rsi,%rdx,8) movsd (%rsi,%rax,8), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm9, %xmm1 movddup %xmm0, %xmm0 ## xmm0 = xmm0[0,0] divpd %xmm0, %xmm7 movapd %xmm7, %xmm3 unpckhpd %xmm7, %xmm3 ## xmm3 = xmm3[1],xmm7[1] testl %ecx, %ecx jle LBB0_29 ## %bb.40: ## in Loop: Header=BB0_30 Depth=2 movapd %xmm3, %xmm15 xorpd %xmm12, %xmm15 movddup %xmm7, %xmm0 ## xmm0 = xmm7[0,0] cmpl $0, -72(%rbp) ## 4-byte Folded Reload je LBB0_44 ## %bb.41: ## in Loop: Header=BB0_30 Depth=2 movapd %xmm7, %xmm5 blendpd $1, %xmm15, %xmm5 ## xmm5 = xmm15[0],xmm5[1] movl -68(%rbp), %eax ## 4-byte Reload movq %r12, %rdx .p2align 4, 0x90 LBB0_42: ## Parent Loop BB0_8 Depth=1 ## Parent Loop BB0_30 Depth=2 ## => This Inner Loop Header: Depth=3 movupd (%rdx), %xmm4 movapd %xmm5, %xmm2 mulpd %xmm4, %xmm2 shufpd $1, %xmm2, %xmm2 ## xmm2 = xmm2[1,0] mulpd %xmm0, %xmm4 addpd %xmm2, %xmm4 movupd %xmm4, (%rdx) movupd (%rdx,%r15), %xmm2 movapd %xmm5, %xmm4 mulpd %xmm2, %xmm4 shufpd $1, %xmm4, %xmm4 ## xmm4 = xmm4[1,0] mulpd %xmm0, %xmm2 addpd %xmm4, %xmm2 movupd %xmm2, (%rdx,%r15) addq %r9, %rdx addl $-2, %eax jne LBB0_42 ## %bb.43: ## in Loop: Header=BB0_30 Depth=2 testb $1, %cl je LBB0_29 jmp LBB0_45 .p2align 4, 0x90 LBB0_44: ## in Loop: Header=BB0_30 Depth=2 movq -88(%rbp), %rax ## 8-byte Reload leaq (%rax,%rdx,8), %rdx testb $1, %cl je LBB0_29 LBB0_45: ## in Loop: Header=BB0_30 Depth=2 movupd (%rdx), %xmm2 movapd %xmm7, %xmm8 shufpd $1, %xmm15, %xmm8 ## xmm8 = xmm8[1],xmm15[0] mulpd %xmm2, %xmm0 shufpd $1, %xmm2, %xmm2 ## xmm2 = xmm2[1,0] mulpd %xmm8, %xmm2 addpd %xmm0, %xmm2 movupd %xmm2, (%rdx) jmp LBB0_29 .p2align 4, 0x90 LBB0_46: ## in Loop: Header=BB0_8 Depth=1 movq -128(%rbp), %rsi ## 8-byte Reload movq -96(%rbp), %rax ## 8-byte Reload movsd %xmm4, (%rsi,%rax,8) andpd %xmm11, %xmm4 ucomisd %xmm4, %xmm13 movq -64(%rbp), %rdx ## 8-byte Reload movq -56(%rbp), %rax ## 8-byte Reload cmoval %eax, %edx movq -120(%rbp), %rdi ## 8-byte Reload movsd %xmm6, (%rdi,%rax,8) movq -104(%rbp), %rbx ## 8-byte Reload incl %ebx xorl %eax, %eax cmpl %ebx, %edx sete %al subl %eax, %edx movl -136(%rbp), %eax ## 4-byte Reload incl %eax cmpl $2, %edx jl LBB0_50 ## %bb.47: ## in Loop: Header=BB0_8 Depth=1 cmpl -132(%rbp), %eax ## 4-byte Folded Reload xorpd %xmm8, %xmm8 jl LBB0_8 jmp LBB0_50 LBB0_48: ## in Loop: Header=BB0_8 Depth=1 movl -48(%rbp), %r14d ## 4-byte Reload movq -80(%rbp), %r8 ## 8-byte Reload movl -44(%rbp), %ecx ## 4-byte Reload jmp LBB0_23 LBB0_49: ## in Loop: Header=BB0_8 Depth=1 movl -48(%rbp), %r14d ## 4-byte Reload movq -80(%rbp), %r8 ## 8-byte Reload movl -44(%rbp), %ecx ## 4-byte Reload movq -56(%rbp), %rbx ## 8-byte Reload movq -64(%rbp), %rdx ## 8-byte Reload jmp LBB0_24 LBB0_50: popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qrbdv ; -- Begin function qrbdv .p2align 2 _qrbdv: ; @qrbdv .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill .cfi_offset w19, -8 .cfi_offset w20, -16 .cfi_offset w21, -24 .cfi_offset w22, -32 .cfi_offset w23, -40 .cfi_offset w24, -48 ; kill: def $w3 killed $w3 def $x3 cmp w5, #2 b.lt LBB0_30 ; %bb.1: mov x8, x0 ldr d0, [x8], #8 fabs d0, d0 mov w13, w5 sub x9, x13, #1 mov x10, x1 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr d1, [x8], #8 ldr d2, [x10], #8 fabs d1, d1 fabs d2, d2 fadd d1, d1, d2 fcmp d1, d0 fcsel d0, d1, d0, gt subs x9, x9, #1 b.ne LBB0_2 ; %bb.3: mov w8, #0 mov x9, #22038 movk x9, #40679, lsl #16 movk x9, #943, lsl #32 movk x9, #15570, lsl #48 fmov d1, x9 fmul d0, d0, d1 mov w9, #100 mul w9, w5, w9 sbfiz x10, x3, #3, #32 sub x11, x2, #8 add x12, x4, #8 lsl x13, x13, #3 add x14, x2, #8 mov x15, x5 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 str d3, [x1, x4, lsl #3] str d2, [x0, x16, lsl #3] fabs d1, d3 fcmp d1, d0 csel w15, w16, w15, mi add w16, w17, #1 cmp w15, w16 cset w16, eq sub w15, w15, w16 add w8, w8, #1 cmp w15, #2 ccmp w8, w9, #0, ge b.ge LBB0_31 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_12 Depth 2 ; Child Loop BB0_14 Depth 3 ; Child Loop BB0_22 Depth 2 ; Child Loop BB0_26 Depth 3 ; Child Loop BB0_29 Depth 3 sub w16, w15, #1 mov x17, x16 sbfiz x17, x17, #3, #32 add x19, x2, x17 add x20, x11, x17 mov x7, x16 LBB0_6: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 mov x17, x7 cmp w17, #1 b.lt LBB0_15 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 sub x7, x17, #1 ldr d1, [x1, x7, lsl #3] fabs d1, d1 fcmp d1, d0 b.mi LBB0_16 ; %bb.8: ; in Loop: Header=BB0_6 Depth=2 mov x4, x19 mov x6, x20 ldr d1, [x0, x7, lsl #3] fabs d1, d1 sub x19, x19, #8 sub x20, x20, #8 fcmp d1, d0 b.pl LBB0_6 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 cmp w15, w17 b.le LBB0_16 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 sxtw x7, w17 sxtw x19, w15 movi d2, #0000000000000000 fmov d1, #1.00000000 b LBB0_12 LBB0_11: ; in Loop: Header=BB0_12 Depth=2 add x7, x7, #1 add x4, x4, #8 cmp x7, x19 b.eq LBB0_16 LBB0_12: ; Parent Loop BB0_5 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_14 Depth 3 sub w20, w7, #1 lsl x20, x20, #3 ldr d3, [x1, x20] fmul d4, d1, d3 lsl x21, x7, #3 ldr d5, [x0, x21] fmul d2, d2, d3 str d2, [x1, x20] fmul d2, d5, d5 fmadd d2, d4, d4, d2 fsqrt d2, d2 str d2, [x0, x21] fnmul d1, d1, d3 fdiv d1, d1, d2 fdiv d2, d5, d2 cmp w3, #1 b.lt LBB0_11 ; %bb.13: ; in Loop: Header=BB0_12 Depth=2 fneg d3, d1 mov x20, x3 mov x21, x6 mov x22, x4 LBB0_14: ; Parent Loop BB0_5 Depth=1 ; Parent Loop BB0_12 Depth=2 ; => This Inner Loop Header: Depth=3 ldr d4, [x21] ldr d5, [x22] fmul d6, d1, d5 fmadd d6, d2, d4, d6 fmul d4, d4, d3 fmadd d4, d2, d5, d4 str d4, [x22] str d6, [x21] add x22, x22, x10 add x21, x21, x10 subs w20, w20, #1 b.ne LBB0_14 b LBB0_11 LBB0_15: ; in Loop: Header=BB0_5 Depth=1 mov w17, #0 LBB0_16: ; in Loop: Header=BB0_5 Depth=1 mov w4, w17 lsl x6, x4, #3 ldr d2, [x0, x6] ldr d3, [x0, x16, lsl #3] sub w4, w15, #2 ldr d1, [x1, w4, uxtw #3] fadd d4, d2, d3 fsub d5, d2, d3 fneg d6, d1 fmul d1, d1, d6 fmadd d4, d4, d5, d1 ldr d1, [x1, x6] fmul d1, d2, d1 fadd d5, d1, d1 fmul d5, d5, d5 fmadd d5, d4, d4, d5 fsqrt d5, d5 fcmp d5, #0.0 b.eq LBB0_4 ; %bb.17: ; in Loop: Header=BB0_5 Depth=1 fadd d4, d4, d5 fadd d6, d5, d5 fdiv d4, d4, d6 fsqrt d4, d4 fcmp d4, #0.0 b.eq LBB0_19 ; %bb.18: ; in Loop: Header=BB0_5 Depth=1 fmul d5, d5, d4 fdiv d1, d1, d5 cmp w17, w16 b.ge LBB0_4 b LBB0_20 LBB0_19: ; in Loop: Header=BB0_5 Depth=1 fmov d1, #1.00000000 cmp w17, w16 b.ge LBB0_4 LBB0_20: ; in Loop: Header=BB0_5 Depth=1 mov x19, x17 sxtw x6, w19 sxtw x7, w16 sbfiz x20, x19, #3, #32 add x19, x12, x20 add x20, x14, x20 mov x21, x6 b LBB0_22 LBB0_21: ; in Loop: Header=BB0_22 Depth=2 fmul d6, d3, d6 fmul d3, d6, d1 fmadd d3, d4, d2, d3 fmul d2, d2, d5 fmadd d2, d4, d6, d2 add x19, x19, #8 add x20, x20, #8 mov x21, x22 cmp x22, x7 b.eq LBB0_4 LBB0_22: ; Parent Loop BB0_5 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_26 Depth 3 ; Child Loop BB0_29 Depth 3 ldr d5, [x1, x21, lsl #3] cmp x21, x6 b.le LBB0_24 ; %bb.23: ; in Loop: Header=BB0_22 Depth=2 fmul d1, d1, d5 fmul d5, d4, d5 fmul d4, d1, d1 fmadd d4, d3, d3, d4 fsqrt d4, d4 sub w22, w21, #1 str d4, [x1, w22, uxtw #3] fdiv d3, d3, d4 fdiv d1, d1, d4 b LBB0_25 LBB0_24: ; in Loop: Header=BB0_22 Depth=2 fmov d3, d4 LBB0_25: ; in Loop: Header=BB0_22 Depth=2 fmul d4, d5, d1 fmadd d4, d3, d2, d4 fneg d6, d1 fmul d2, d2, d6 fmadd d2, d3, d5, d2 mov x22, x5 mov x23, x19 LBB0_26: ; Parent Loop BB0_5 Depth=1 ; Parent Loop BB0_22 Depth=2 ; => This Inner Loop Header: Depth=3 ldp d5, d7, [x23, #-8] fmul d16, d1, d7 fmadd d16, d3, d5, d16 fmul d5, d5, d6 fmadd d5, d3, d7, d5 stp d16, d5, [x23, #-8] add x23, x23, x13 subs w22, w22, #1 b.ne LBB0_26 ; %bb.27: ; in Loop: Header=BB0_22 Depth=2 add x22, x21, #1 and x23, x22, #0xffffffff lsl x23, x23, #3 ldr d5, [x0, x23] fmul d1, d1, d5 fmul d5, d1, d1 fmadd d5, d4, d4, d5 fsqrt d5, d5 str d5, [x0, x21, lsl #3] ldr d6, [x0, x23] fdiv d4, d4, d5 fdiv d1, d1, d5 fneg d5, d1 cmp w3, #1 b.lt LBB0_21 ; %bb.28: ; in Loop: Header=BB0_22 Depth=2 mov x21, x3 mov x23, x20 LBB0_29: ; Parent Loop BB0_5 Depth=1 ; Parent Loop BB0_22 Depth=2 ; => This Inner Loop Header: Depth=3 ldp d7, d16, [x23, #-8] fmul d17, d1, d16 fmadd d17, d4, d7, d17 fmul d7, d7, d5 fmadd d7, d4, d16, d7 stp d17, d7, [x23, #-8] add x23, x23, x10 subs w21, w21, #1 b.ne LBB0_29 b LBB0_21 LBB0_30: mov w8, #0 LBB0_31: mov x0, x8 ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/43886697.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function write_string _write_string: ## @write_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _length_of_string movl %eax, %edi callq _write_32bit_value movq %rbx, %rdi callq _strlen movq %rbx, %rdi movl %eax, %esi callq _write_bytes movq %rbx, %rdi callq _strlen ## kill: def $eax killed $eax def $rax leal 3(%rax), %esi testl %eax, %eax cmovnsl %eax, %esi andl $-4, %esi subl %eax, %esi addl $4, %esi leaq l_.str(%rip), %rdi addq $8, %rsp popq %rbx popq %rbp jmp _write_bytes ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__const l_.str: ## @.str .space 5 .no_dead_strip _write_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function write_string _write_string: ; @write_string .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _length_of_string bl _write_32bit_value mov x0, x19 bl _strlen mov x1, x0 mov x0, x19 bl _write_bytes mov x0, x19 bl _strlen negs w8, w0 and w8, w8, #0x3 and w9, w0, #0x3 csneg w8, w9, w8, mi mov w9, #4 ; =0x4 sub w1, w9, w8 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _write_bytes .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__const l_.str: ; @.str .space 5 .no_dead_strip _write_string .subsections_via_symbols
assembly_file_181575.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function op_or _op_or: ## @op_or .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax orl %esi, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _op_or .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function op_or _op_or: ; @op_or .cfi_startproc ; %bb.0: orr w0, w1, w0 ret .cfi_endproc ; -- End function .no_dead_strip _op_or .subsections_via_symbols
AnghaBench/openwrt/package/network/utils/maccalc/src/extr_main.c_op_or.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function afs_deliver_cb_init_call_back_state _afs_deliver_cb_init_call_back_state: ## @afs_deliver_cb_init_call_back_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx leaq L_.str(%rip), %rdi callq __enter movq %rbx, %rdi xorl %esi, %esi callq _afs_extract_discard movq %rbx, %rdi xorl %esi, %esi callq _afs_extract_data testl %eax, %eax js LBB0_1 ## %bb.2: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _afs_find_cm_server_by_peer ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 .no_dead_strip _afs_deliver_cb_init_call_back_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function afs_deliver_cb_init_call_back_state _afs_deliver_cb_init_call_back_state: ; @afs_deliver_cb_init_call_back_state .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl __enter mov x0, x19 mov w1, #0 bl _afs_extract_discard mov x0, x19 mov w1, #0 bl _afs_extract_data tbnz w0, #31, LBB0_2 ; %bb.1: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _afs_find_cm_server_by_peer LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 .no_dead_strip _afs_deliver_cb_init_call_back_state .subsections_via_symbols
AnghaBench/linux/fs/afs/extr_cmservice.c_afs_deliver_cb_init_call_back_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/32625.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function sim800_handle_exit_data_mode _sim800_handle_exit_data_mode: ## @sim800_handle_exit_data_mode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx movq _ESP_FAIL@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _MODEM_RESULT_CODE_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _strstr movq _MODEM_STATE_SUCCESS@GOTPCREL(%rip), %r12 testq %rax, %rax jne LBB0_4 ## %bb.1: movq _MODEM_RESULT_CODE_NO_CARRIER@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _strstr testq %rax, %rax jne LBB0_4 ## %bb.2: movq _MODEM_RESULT_CODE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _strstr testq %rax, %rax je LBB0_5 ## %bb.3: movq _MODEM_STATE_FAIL@GOTPCREL(%rip), %r12 LBB0_4: movl (%r12), %esi movq %rbx, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _esp_modem_process_command_done ## TAILCALL LBB0_5: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ESP_FAIL,4,2 ## @ESP_FAIL .comm _MODEM_RESULT_CODE_SUCCESS,4,2 ## @MODEM_RESULT_CODE_SUCCESS .comm _MODEM_STATE_SUCCESS,4,2 ## @MODEM_STATE_SUCCESS .comm _MODEM_RESULT_CODE_NO_CARRIER,4,2 ## @MODEM_RESULT_CODE_NO_CARRIER .comm _MODEM_RESULT_CODE_ERROR,4,2 ## @MODEM_RESULT_CODE_ERROR .comm _MODEM_STATE_FAIL,4,2 ## @MODEM_STATE_FAIL .no_dead_strip _sim800_handle_exit_data_mode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function sim800_handle_exit_data_mode _sim800_handle_exit_data_mode: ; @sim800_handle_exit_data_mode .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x19, x0 Lloh0: adrp x8, _ESP_FAIL@GOTPAGE Lloh1: ldr x8, [x8, _ESP_FAIL@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x8, _MODEM_RESULT_CODE_SUCCESS@GOTPAGE Lloh4: ldr x8, [x8, _MODEM_RESULT_CODE_SUCCESS@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x21 bl _strstr cbnz x0, LBB0_2 ; %bb.1: Lloh6: adrp x8, _MODEM_RESULT_CODE_NO_CARRIER@GOTPAGE Lloh7: ldr x8, [x8, _MODEM_RESULT_CODE_NO_CARRIER@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x21 bl _strstr cbz x0, LBB0_4 LBB0_2: Lloh9: adrp x8, _MODEM_STATE_SUCCESS@GOTPAGE Lloh10: ldr x8, [x8, _MODEM_STATE_SUCCESS@GOTPAGEOFF] LBB0_3: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _esp_modem_process_command_done LBB0_4: Lloh11: adrp x8, _MODEM_RESULT_CODE_ERROR@GOTPAGE Lloh12: ldr x8, [x8, _MODEM_RESULT_CODE_ERROR@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov x0, x21 bl _strstr cbz x0, LBB0_6 ; %bb.5: Lloh14: adrp x8, _MODEM_STATE_FAIL@GOTPAGE Lloh15: ldr x8, [x8, _MODEM_STATE_FAIL@GOTPAGEOFF] b LBB0_3 LBB0_6: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _ESP_FAIL,4,2 ; @ESP_FAIL .comm _MODEM_RESULT_CODE_SUCCESS,4,2 ; @MODEM_RESULT_CODE_SUCCESS .comm _MODEM_STATE_SUCCESS,4,2 ; @MODEM_STATE_SUCCESS .comm _MODEM_RESULT_CODE_NO_CARRIER,4,2 ; @MODEM_RESULT_CODE_NO_CARRIER .comm _MODEM_RESULT_CODE_ERROR,4,2 ; @MODEM_RESULT_CODE_ERROR .comm _MODEM_STATE_FAIL,4,2 ; @MODEM_STATE_FAIL .no_dead_strip _sim800_handle_exit_data_mode .subsections_via_symbols
assembly_file_66971.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function addarg _addarg: ## @addarg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movl (%rdi), %esi cmpl 4(%rdi), %esi jne LBB0_3 ## %bb.1: leal (%rsi,%rsi), %eax movl %eax, 4(%rbx) movq 8(%rbx), %rdi shll $4, %esi ## kill: def $esi killed $esi killed $rsi callq _realloc movq %rax, 8(%rbx) testq %rax, %rax je LBB0_2 LBB0_3: testq %r14, %r14 je LBB0_4 LBB0_5: movq %r14, %rdi callq _strdup movq 8(%rbx), %rcx movslq (%rbx), %rdx leal 1(%rdx), %esi movl %esi, (%rbx) movq %rax, (%rcx,%rdx,8) testq %rax, %rax jne LBB0_6 ## %bb.7: movq _EX_TEMPFAIL@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi popq %rbx popq %r14 popq %rbp jmp _err ## TAILCALL LBB0_2: movq _EX_TEMPFAIL@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _err testq %r14, %r14 jne LBB0_5 LBB0_4: movq 8(%rbx), %rax movslq (%rbx), %rcx leal -1(%rcx), %edx movl %edx, (%rbx) movq $0, (%rax,%rcx,8) LBB0_6: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EX_TEMPFAIL,4,2 ## @EX_TEMPFAIL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "realloc" L_.str.1: ## @.str.1 .asciz "strdup" .no_dead_strip _addarg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function addarg _addarg: ; @addarg .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 ldp w8, w9, [x0] cmp w8, w9 b.ne LBB0_2 ; %bb.1: lsl w9, w8, #1 str w9, [x19, #4] ldr x0, [x19, #8] lsl w1, w8, #4 bl _realloc str x0, [x19, #8] cbz x0, LBB0_5 LBB0_2: cbz x20, LBB0_6 LBB0_3: mov x0, x20 bl _strdup ldr x8, [x19, #8] ldrsw x9, [x19] add w10, w9, #1 str w10, [x19] str x0, [x8, x9, lsl #3] cbnz x0, LBB0_7 ; %bb.4: Lloh0: adrp x8, _EX_TEMPFAIL@GOTPAGE Lloh1: ldr x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _err LBB0_5: Lloh5: adrp x8, _EX_TEMPFAIL@GOTPAGE Lloh6: ldr x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF] Lloh7: ldr w0, [x8] Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF bl _err cbnz x20, LBB0_3 LBB0_6: ldr x8, [x19, #8] ldrsw x9, [x19] sub w10, w9, #1 str w10, [x19] str xzr, [x8, x9, lsl #3] LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _EX_TEMPFAIL,4,2 ; @EX_TEMPFAIL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "realloc" l_.str.1: ; @.str.1 .asciz "strdup" .no_dead_strip _addarg .subsections_via_symbols
assembly_file_68552.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _v_searchf ## -- Begin function v_searchf .p2align 4, 0x90 _v_searchf: ## @v_searchf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _FORWARD@GOTPCREL(%rip), %rax movl (%rax), %edx popq %rbp jmp _v_exaddr ## TAILCALL .cfi_endproc ## -- End function .comm _FORWARD,4,2 ## @FORWARD .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _v_searchf ; -- Begin function v_searchf .p2align 2 _v_searchf: ; @v_searchf .cfi_startproc ; %bb.0: Lloh0: adrp x8, _FORWARD@GOTPAGE Lloh1: ldr x8, [x8, _FORWARD@GOTPAGEOFF] Lloh2: ldr w2, [x8] b _v_exaddr .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _FORWARD,4,2 ; @FORWARD .subsections_via_symbols
AnghaBench/freebsd/contrib/nvi/vi/extr_v_search.c_v_searchf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fib ## -- Begin function fib .p2align 4, 0x90 _fib: ## @fib .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %ebx xorl %r14d, %r14d cmpl $2, %edi jb LBB0_3 ## %bb.1: xorl %r14d, %r14d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal -1(%rbx), %edi callq _fib addl $-2, %ebx addl %eax, %r14d cmpl $1, %ebx ja LBB0_2 LBB0_3: addl %ebx, %r14d movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf leaq L_str.4(%rip), %rdi callq _puts cmpl $0, -20(%rbp) js LBB1_3 ## %bb.1: movl $-1, %ebx leaq L_.str.3(%rip), %r14 .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 incl %ebx movl %ebx, %edi callq _fib movq %r14, %rdi movl %eax, %esi xorl %eax, %eax callq _printf cmpl -20(%rbp), %ebx jl LBB1_2 LBB1_3: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d" L_.str.3: ## @.str.3 .asciz "%d\t" L_str: ## @str .asciz "Enter the limit:" L_str.4: ## @str.4 .asciz "The series is:" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fib ; -- Begin function fib .p2align 2 _fib: ; @fib .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 cmp w0, #2 b.hs LBB0_2 ; %bb.1: mov w20, #0 b LBB0_4 LBB0_2: mov w20, #0 LBB0_3: ; =>This Inner Loop Header: Depth=1 sub w0, w19, #1 bl _fib sub w19, w19, #2 add w20, w0, w20 cmp w19, #1 b.hi LBB0_3 LBB0_4: add w0, w19, w20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts add x8, sp, #12 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf Lloh4: adrp x0, l_str.4@PAGE Lloh5: add x0, x0, l_str.4@PAGEOFF bl _puts ldr w8, [sp, #12] tbnz w8, #31, LBB1_3 ; %bb.1: mov w19, #-1 Lloh6: adrp x20, l_.str.3@PAGE Lloh7: add x20, x20, l_.str.3@PAGEOFF LBB1_2: ; =>This Inner Loop Header: Depth=1 add w19, w19, #1 mov x0, x19 bl _fib ; kill: def $w0 killed $w0 def $x0 str x0, [sp] mov x0, x20 bl _printf ldr w8, [sp, #12] cmp w19, w8 b.lt LBB1_2 LBB1_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d" l_.str.3: ; @.str.3 .asciz "%d\t" l_str: ; @str .asciz "Enter the limit:" l_str.4: ; @str.4 .asciz "The series is:" .subsections_via_symbols
the_stack_data/62162.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function w83627ehf_device_remove_files _w83627ehf_device_remove_files: ## @w83627ehf_device_remove_files .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _dev_get_drvdata movq %rax, %r13 movq _sda_sf3_arrays@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _ARRAY_SIZE testl %eax, %eax js LBB0_3 ## %bb.1: movq $-1, %r15 movl $8, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r14), %rdi callq _ARRAY_SIZE cltq incq %r15 addq $16, %r12 cmpq %rax, %r15 jl LBB0_2 LBB0_3: movq _sda_sf3_max_step_arrays@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_6 ## %bb.4: movl $8, %r15d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file incq %r12 movq (%r14), %rdi callq _ARRAY_SIZE cltq addq $16, %r15 cmpq %rax, %r12 jl LBB0_5 LBB0_6: movq _sda_sf3_arrays_fan3@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_9 ## %bb.7: movl $8, %r15d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file incq %r12 movq (%r14), %rdi callq _ARRAY_SIZE cltq addq $16, %r15 cmpq %rax, %r12 jl LBB0_8 LBB0_9: movq _sda_sf3_arrays_fan4@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _ARRAY_SIZE testl %eax, %eax jle LBB0_12 ## %bb.10: movl $8, %r15d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file incq %r12 movq (%r14), %rdi callq _ARRAY_SIZE cltq addq $16, %r15 cmpq %rax, %r12 jl LBB0_11 LBB0_12: movq %r13, %r14 movl 8(%r13), %eax testl %eax, %eax jle LBB0_18 ## %bb.13: xorl %r15d, %r15d movq _sda_in_max@GOTPCREL(%rip), %r13 xorl %r12d, %r12d jmp LBB0_14 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_14 Depth=1 movq _sda_in_input@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_in_alarm@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_in_min@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r13), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movl 8(%r14), %eax LBB0_17: ## in Loop: Header=BB0_14 Depth=1 incq %r12 movslq %eax, %rcx addq $4, %r15 cmpq %rcx, %r12 jge LBB0_18 LBB0_14: ## =>This Inner Loop Header: Depth=1 cmpq $6, %r12 jne LBB0_16 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 cmpq $0, 32(%r14) jne LBB0_17 jmp LBB0_16 LBB0_18: movq _sda_fan_input@GOTPCREL(%rip), %r12 movq (%r12), %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_fan_alarm@GOTPCREL(%rip), %r15 movq (%r15), %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_fan_div@GOTPCREL(%rip), %r13 movq (%r13), %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_fan_min@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %rbx, %rdi callq _device_remove_file movq (%r12), %rsi addq $4, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r15), %rsi addq $4, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r13), %rsi addq $4, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_fan_min@GOTPCREL(%rip), %r15 movq (%r15), %rsi addq $4, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r12), %rsi addq $8, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_fan_alarm@GOTPCREL(%rip), %r12 movq (%r12), %rsi addq $8, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r13), %rsi addq $8, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r15), %rsi addq $8, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_fan_input@GOTPCREL(%rip), %rax movq (%rax), %rsi addq $12, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r12), %rsi addq $12, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r13), %rsi addq $12, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r15), %rsi addq $12, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_fan_input@GOTPCREL(%rip), %rax movq (%rax), %rsi addq $16, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r12), %rsi addq $16, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r13), %rsi addq $16, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r15), %rsi addq $16, %rsi movq %rbx, %rdi callq _device_remove_file cmpl $0, 12(%r14) movq %r14, %r12 jle LBB0_21 ## %bb.19: xorl %r15d, %r15d movq _sda_tolerance@GOTPCREL(%rip), %r13 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_20: ## =>This Inner Loop Header: Depth=1 movq _sda_pwm@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_pwm_mode@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_pwm_enable@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_target_temp@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r13), %rsi addq %r15, %rsi movq %rbx, %rdi callq _device_remove_file incq %r14 movslq 12(%r12), %rax addq $4, %r15 cmpq %rax, %r14 jl LBB0_20 LBB0_21: movq _NUM_REG_TEMP@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_28 ## %bb.22: movq %r12, %r14 xorl %r12d, %r12d movq _sda_temp_label@GOTPCREL(%rip), %r13 xorl %r15d, %r15d jmp LBB0_23 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_23 Depth=1 cmpq $0, 24(%r14) je LBB0_25 LBB0_27: ## in Loop: Header=BB0_23 Depth=1 incq %r15 movq _NUM_REG_TEMP@GOTPCREL(%rip), %rax movslq (%rax), %rax addq $4, %r12 cmpq %rax, %r15 jge LBB0_28 LBB0_23: ## =>This Inner Loop Header: Depth=1 movq _sda_temp_input@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file movq (%r13), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file cmpq $2, %r15 je LBB0_24 LBB0_25: ## in Loop: Header=BB0_23 Depth=1 movq _sda_temp_max@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_temp_max_hyst@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file cmpq $2, %r15 ja LBB0_27 ## %bb.26: ## in Loop: Header=BB0_23 Depth=1 movq _sda_temp_alarm@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_temp_type@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file movq _sda_temp_offset@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r12, %rsi movq %rbx, %rdi callq _device_remove_file jmp LBB0_27 LBB0_28: movq _sda_caseopen@GOTPCREL(%rip), %r14 movq (%r14), %rsi movq %rbx, %rdi callq _device_remove_file movq (%r14), %rsi addq $4, %rsi movq %rbx, %rdi callq _device_remove_file movq _dev_attr_name@GOTPCREL(%rip), %rsi movq %rbx, %rdi callq _device_remove_file movq _dev_attr_cpu0_vid@GOTPCREL(%rip), %rsi movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _device_remove_file ## TAILCALL .cfi_endproc ## -- End function .comm _sda_sf3_arrays,8,3 ## @sda_sf3_arrays .comm _sda_sf3_max_step_arrays,8,3 ## @sda_sf3_max_step_arrays .comm _sda_sf3_arrays_fan3,8,3 ## @sda_sf3_arrays_fan3 .comm _sda_sf3_arrays_fan4,8,3 ## @sda_sf3_arrays_fan4 .comm _sda_in_input,8,3 ## @sda_in_input .comm _sda_in_alarm,8,3 ## @sda_in_alarm .comm _sda_in_min,8,3 ## @sda_in_min .comm _sda_in_max,8,3 ## @sda_in_max .comm _sda_fan_input,8,3 ## @sda_fan_input .comm _sda_fan_alarm,8,3 ## @sda_fan_alarm .comm _sda_fan_div,8,3 ## @sda_fan_div .comm _sda_fan_min,8,3 ## @sda_fan_min .comm _sda_pwm,8,3 ## @sda_pwm .comm _sda_pwm_mode,8,3 ## @sda_pwm_mode .comm _sda_pwm_enable,8,3 ## @sda_pwm_enable .comm _sda_target_temp,8,3 ## @sda_target_temp .comm _sda_tolerance,8,3 ## @sda_tolerance .comm _NUM_REG_TEMP,4,2 ## @NUM_REG_TEMP .comm _sda_temp_input,8,3 ## @sda_temp_input .comm _sda_temp_label,8,3 ## @sda_temp_label .comm _sda_temp_max,8,3 ## @sda_temp_max .comm _sda_temp_max_hyst,8,3 ## @sda_temp_max_hyst .comm _sda_temp_alarm,8,3 ## @sda_temp_alarm .comm _sda_temp_type,8,3 ## @sda_temp_type .comm _sda_temp_offset,8,3 ## @sda_temp_offset .comm _sda_caseopen,8,3 ## @sda_caseopen .comm _dev_attr_name,4,2 ## @dev_attr_name .comm _dev_attr_cpu0_vid,4,2 ## @dev_attr_cpu0_vid .no_dead_strip _w83627ehf_device_remove_files .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function w83627ehf_device_remove_files _w83627ehf_device_remove_files: ; @w83627ehf_device_remove_files .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 bl _dev_get_drvdata mov x20, x0 Lloh0: adrp x21, _sda_sf3_arrays@GOTPAGE Lloh1: ldr x21, [x21, _sda_sf3_arrays@GOTPAGEOFF] ldr x0, [x21] bl _ARRAY_SIZE tbnz w0, #31, LBB0_3 ; %bb.1: mov x22, #-1 ; =0xffffffffffffffff mov w23, #8 ; =0x8 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] add x1, x8, x23 mov x0, x19 bl _device_remove_file ldr x0, [x21] bl _ARRAY_SIZE add x22, x22, #1 add x23, x23, #16 cmp x22, w0, sxtw b.lt LBB0_2 LBB0_3: Lloh2: adrp x21, _sda_sf3_max_step_arrays@GOTPAGE Lloh3: ldr x21, [x21, _sda_sf3_max_step_arrays@GOTPAGEOFF] ldr x0, [x21] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_6 ; %bb.4: mov x22, #0 ; =0x0 mov w23, #8 ; =0x8 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] add x1, x8, x23 mov x0, x19 bl _device_remove_file add x22, x22, #1 ldr x0, [x21] bl _ARRAY_SIZE add x23, x23, #16 cmp x22, w0, sxtw b.lt LBB0_5 LBB0_6: Lloh4: adrp x21, _sda_sf3_arrays_fan3@GOTPAGE Lloh5: ldr x21, [x21, _sda_sf3_arrays_fan3@GOTPAGEOFF] ldr x0, [x21] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_9 ; %bb.7: mov x22, #0 ; =0x0 mov w23, #8 ; =0x8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] add x1, x8, x23 mov x0, x19 bl _device_remove_file add x22, x22, #1 ldr x0, [x21] bl _ARRAY_SIZE add x23, x23, #16 cmp x22, w0, sxtw b.lt LBB0_8 LBB0_9: Lloh6: adrp x21, _sda_sf3_arrays_fan4@GOTPAGE Lloh7: ldr x21, [x21, _sda_sf3_arrays_fan4@GOTPAGEOFF] ldr x0, [x21] bl _ARRAY_SIZE cmp w0, #1 b.lt LBB0_12 ; %bb.10: mov x22, #0 ; =0x0 mov w23, #8 ; =0x8 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] add x1, x8, x23 mov x0, x19 bl _device_remove_file add x22, x22, #1 ldr x0, [x21] bl _ARRAY_SIZE add x23, x23, #16 cmp x22, w0, sxtw b.lt LBB0_11 LBB0_12: ldr w8, [x20, #8] cmp w8, #1 b.lt LBB0_18 ; %bb.13: mov x21, #0 ; =0x0 mov x22, #0 ; =0x0 Lloh8: adrp x23, _sda_in_input@GOTPAGE Lloh9: ldr x23, [x23, _sda_in_input@GOTPAGEOFF] Lloh10: adrp x24, _sda_in_alarm@GOTPAGE Lloh11: ldr x24, [x24, _sda_in_alarm@GOTPAGEOFF] Lloh12: adrp x25, _sda_in_min@GOTPAGE Lloh13: ldr x25, [x25, _sda_in_min@GOTPAGEOFF] Lloh14: adrp x26, _sda_in_max@GOTPAGE Lloh15: ldr x26, [x26, _sda_in_max@GOTPAGEOFF] b LBB0_16 LBB0_14: ; in Loop: Header=BB0_16 Depth=1 ldr x8, [x23] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr x8, [x24] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr x8, [x25] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr x8, [x26] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr w8, [x20, #8] LBB0_15: ; in Loop: Header=BB0_16 Depth=1 add x22, x22, #1 add x21, x21, #4 cmp x22, w8, sxtw b.ge LBB0_18 LBB0_16: ; =>This Inner Loop Header: Depth=1 cmp x22, #6 b.ne LBB0_14 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 ldr x9, [x20, #32] cbnz x9, LBB0_15 b LBB0_14 LBB0_18: Lloh16: adrp x21, _sda_fan_input@GOTPAGE Lloh17: ldr x21, [x21, _sda_fan_input@GOTPAGEOFF] ldr x1, [x21] mov x0, x19 bl _device_remove_file Lloh18: adrp x22, _sda_fan_alarm@GOTPAGE Lloh19: ldr x22, [x22, _sda_fan_alarm@GOTPAGEOFF] ldr x1, [x22] mov x0, x19 bl _device_remove_file Lloh20: adrp x23, _sda_fan_div@GOTPAGE Lloh21: ldr x23, [x23, _sda_fan_div@GOTPAGEOFF] ldr x1, [x23] mov x0, x19 bl _device_remove_file Lloh22: adrp x24, _sda_fan_min@GOTPAGE Lloh23: ldr x24, [x24, _sda_fan_min@GOTPAGEOFF] ldr x1, [x24] mov x0, x19 bl _device_remove_file ldr x8, [x21] add x1, x8, #4 mov x0, x19 bl _device_remove_file ldr x8, [x22] add x1, x8, #4 mov x0, x19 bl _device_remove_file ldr x8, [x23] add x1, x8, #4 mov x0, x19 bl _device_remove_file ldr x8, [x24] add x1, x8, #4 mov x0, x19 bl _device_remove_file ldr x8, [x21] add x1, x8, #8 mov x0, x19 bl _device_remove_file ldr x8, [x22] add x1, x8, #8 mov x0, x19 bl _device_remove_file ldr x8, [x23] add x1, x8, #8 mov x0, x19 bl _device_remove_file ldr x8, [x24] add x1, x8, #8 mov x0, x19 bl _device_remove_file ldr x8, [x21] add x1, x8, #12 mov x0, x19 bl _device_remove_file ldr x8, [x22] add x1, x8, #12 mov x0, x19 bl _device_remove_file ldr x8, [x23] add x1, x8, #12 mov x0, x19 bl _device_remove_file ldr x8, [x24] add x1, x8, #12 mov x0, x19 bl _device_remove_file ldr x8, [x21] add x1, x8, #16 mov x0, x19 bl _device_remove_file ldr x8, [x22] add x1, x8, #16 mov x0, x19 bl _device_remove_file ldr x8, [x23] add x1, x8, #16 mov x0, x19 bl _device_remove_file ldr x8, [x24] add x1, x8, #16 mov x0, x19 bl _device_remove_file ldr w8, [x20, #12] cmp w8, #1 b.lt LBB0_21 ; %bb.19: mov x21, #0 ; =0x0 mov x22, #0 ; =0x0 Lloh24: adrp x23, _sda_pwm@GOTPAGE Lloh25: ldr x23, [x23, _sda_pwm@GOTPAGEOFF] Lloh26: adrp x24, _sda_pwm_mode@GOTPAGE Lloh27: ldr x24, [x24, _sda_pwm_mode@GOTPAGEOFF] Lloh28: adrp x25, _sda_pwm_enable@GOTPAGE Lloh29: ldr x25, [x25, _sda_pwm_enable@GOTPAGEOFF] Lloh30: adrp x26, _sda_target_temp@GOTPAGE Lloh31: ldr x26, [x26, _sda_target_temp@GOTPAGEOFF] Lloh32: adrp x27, _sda_tolerance@GOTPAGE Lloh33: ldr x27, [x27, _sda_tolerance@GOTPAGEOFF] LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr x8, [x23] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr x8, [x24] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr x8, [x25] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr x8, [x26] add x1, x8, x21 mov x0, x19 bl _device_remove_file ldr x8, [x27] add x1, x8, x21 mov x0, x19 bl _device_remove_file add x22, x22, #1 ldrsw x8, [x20, #12] add x21, x21, #4 cmp x22, x8 b.lt LBB0_20 LBB0_21: Lloh34: adrp x21, _NUM_REG_TEMP@GOTPAGE Lloh35: ldr x21, [x21, _NUM_REG_TEMP@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_28 ; %bb.22: mov x22, #0 ; =0x0 mov x23, #0 ; =0x0 Lloh36: adrp x24, _sda_temp_input@GOTPAGE Lloh37: ldr x24, [x24, _sda_temp_input@GOTPAGEOFF] Lloh38: adrp x25, _sda_temp_label@GOTPAGE Lloh39: ldr x25, [x25, _sda_temp_label@GOTPAGEOFF] Lloh40: adrp x26, _sda_temp_max@GOTPAGE Lloh41: ldr x26, [x26, _sda_temp_max@GOTPAGEOFF] Lloh42: adrp x27, _sda_temp_max_hyst@GOTPAGE Lloh43: ldr x27, [x27, _sda_temp_max_hyst@GOTPAGEOFF] Lloh44: adrp x28, _sda_temp_offset@GOTPAGE Lloh45: ldr x28, [x28, _sda_temp_offset@GOTPAGEOFF] b LBB0_25 LBB0_23: ; in Loop: Header=BB0_25 Depth=1 ldr x8, [x20, #24] cbz x8, LBB0_26 LBB0_24: ; in Loop: Header=BB0_25 Depth=1 add x23, x23, #1 ldrsw x8, [x21] add x22, x22, #4 cmp x23, x8 b.ge LBB0_28 LBB0_25: ; =>This Inner Loop Header: Depth=1 ldr x8, [x24] add x1, x8, x22 mov x0, x19 bl _device_remove_file ldr x8, [x25] add x1, x8, x22 mov x0, x19 bl _device_remove_file cmp x23, #2 b.eq LBB0_23 LBB0_26: ; in Loop: Header=BB0_25 Depth=1 ldr x8, [x26] add x1, x8, x22 mov x0, x19 bl _device_remove_file ldr x8, [x27] add x1, x8, x22 mov x0, x19 bl _device_remove_file cmp x23, #2 b.hi LBB0_24 ; %bb.27: ; in Loop: Header=BB0_25 Depth=1 Lloh46: adrp x8, _sda_temp_alarm@GOTPAGE Lloh47: ldr x8, [x8, _sda_temp_alarm@GOTPAGEOFF] Lloh48: ldr x8, [x8] add x1, x8, x22 mov x0, x19 bl _device_remove_file Lloh49: adrp x8, _sda_temp_type@GOTPAGE Lloh50: ldr x8, [x8, _sda_temp_type@GOTPAGEOFF] Lloh51: ldr x8, [x8] add x1, x8, x22 mov x0, x19 bl _device_remove_file ldr x8, [x28] add x1, x8, x22 mov x0, x19 bl _device_remove_file b LBB0_24 LBB0_28: Lloh52: adrp x20, _sda_caseopen@GOTPAGE Lloh53: ldr x20, [x20, _sda_caseopen@GOTPAGEOFF] ldr x1, [x20] mov x0, x19 bl _device_remove_file ldr x8, [x20] add x1, x8, #4 mov x0, x19 bl _device_remove_file Lloh54: adrp x1, _dev_attr_name@GOTPAGE Lloh55: ldr x1, [x1, _dev_attr_name@GOTPAGEOFF] mov x0, x19 bl _device_remove_file Lloh56: adrp x1, _dev_attr_cpu0_vid@GOTPAGE Lloh57: ldr x1, [x1, _dev_attr_cpu0_vid@GOTPAGEOFF] mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _device_remove_file .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGot Lloh44, Lloh45 .loh AdrpLdrGot Lloh42, Lloh43 .loh AdrpLdrGot Lloh40, Lloh41 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGot Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGot Lloh56, Lloh57 .loh AdrpLdrGot Lloh54, Lloh55 .loh AdrpLdrGot Lloh52, Lloh53 .cfi_endproc ; -- End function .comm _sda_sf3_arrays,8,3 ; @sda_sf3_arrays .comm _sda_sf3_max_step_arrays,8,3 ; @sda_sf3_max_step_arrays .comm _sda_sf3_arrays_fan3,8,3 ; @sda_sf3_arrays_fan3 .comm _sda_sf3_arrays_fan4,8,3 ; @sda_sf3_arrays_fan4 .comm _sda_in_input,8,3 ; @sda_in_input .comm _sda_in_alarm,8,3 ; @sda_in_alarm .comm _sda_in_min,8,3 ; @sda_in_min .comm _sda_in_max,8,3 ; @sda_in_max .comm _sda_fan_input,8,3 ; @sda_fan_input .comm _sda_fan_alarm,8,3 ; @sda_fan_alarm .comm _sda_fan_div,8,3 ; @sda_fan_div .comm _sda_fan_min,8,3 ; @sda_fan_min .comm _sda_pwm,8,3 ; @sda_pwm .comm _sda_pwm_mode,8,3 ; @sda_pwm_mode .comm _sda_pwm_enable,8,3 ; @sda_pwm_enable .comm _sda_target_temp,8,3 ; @sda_target_temp .comm _sda_tolerance,8,3 ; @sda_tolerance .comm _NUM_REG_TEMP,4,2 ; @NUM_REG_TEMP .comm _sda_temp_input,8,3 ; @sda_temp_input .comm _sda_temp_label,8,3 ; @sda_temp_label .comm _sda_temp_max,8,3 ; @sda_temp_max .comm _sda_temp_max_hyst,8,3 ; @sda_temp_max_hyst .comm _sda_temp_alarm,8,3 ; @sda_temp_alarm .comm _sda_temp_type,8,3 ; @sda_temp_type .comm _sda_temp_offset,8,3 ; @sda_temp_offset .comm _sda_caseopen,8,3 ; @sda_caseopen .comm _dev_attr_name,4,2 ; @dev_attr_name .comm _dev_attr_cpu0_vid,4,2 ; @dev_attr_cpu0_vid .no_dead_strip _w83627ehf_device_remove_files .subsections_via_symbols
assembly_file_26379.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ide_cd_do_request _ide_cd_do_request: ## @ide_cd_do_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rcx movq %rsi, %rbx movq %rdi, %r14 movq _IDE_DBG_RQ@GOTPCREL(%rip), %r15 movl (%r15), %edi movq 8(%rsi), %rax movl (%rax), %edx leaq L_.str(%rip), %rsi callq _ide_debug_log movl (%r15), %eax testl %eax, (%r14) je LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _blk_dump_rq_flags LBB0_2: movq %rbx, %rdi callq _req_op ## kill: def $eax killed $eax def $rax leal -128(%rax), %ecx cmpl $2, %ecx jb LBB0_7 ## %bb.3: addl $-130, %eax cmpl $2, %eax jae LBB0_4 ## %bb.10: movq %rbx, %rdi callq _ide_req movl (%rax), %eax leal -132(%rax), %ecx cmpl $2, %ecx jae LBB0_11 LBB0_7: cmpl $0, (%rbx) jne LBB0_9 ## %bb.8: movq _ATAPI_WAIT_PC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) LBB0_9: movq %r14, %rdi movq %rbx, %rsi callq _cdrom_do_block_pc LBB0_14: movq %r14, %rdi movq %rbx, %rsi callq _ide_prep_sense leaq -40(%rbp), %rdi xorl %esi, %esi movl $16, %edx callq _memset movq %rbx, %rdi callq _rq_data_dir testq %rax, %rax je LBB0_16 ## %bb.15: movq _IDE_TFLAG_WRITE@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, -32(%rbp) LBB0_16: movq %rbx, -40(%rbp) movq %rbx, %rdi callq _blk_rq_is_passthrough testl %eax, %eax je LBB0_18 ## %bb.17: movq %rbx, %rdi callq _blk_rq_bytes testq %rax, %rax je LBB0_19 LBB0_18: movq %rbx, %rdi callq _blk_rq_bytes leaq -40(%rbp), %rbx movq %rbx, %rdi movq %rax, %rsi callq _ide_init_sg_cmd movq %r14, %rdi movq %rbx, %rsi callq _ide_map_sg LBB0_19: leaq -40(%rbp), %rsi movq %r14, %rdi callq _ide_issue_pc jmp LBB0_22 LBB0_11: cmpl $134, %eax jne LBB0_13 ## %bb.12: xorl %r15d, %r15d jmp LBB0_5 LBB0_4: movq %r14, %rdi movq %rbx, %rsi callq _cdrom_start_rw movq _ide_stopped@GOTPCREL(%rip), %rcx movb $1, %r15b cmpl (%rcx), %eax jne LBB0_14 LBB0_5: movq %rbx, %rdi callq _blk_rq_sectors testb %r15b, %r15b je LBB0_6 ## %bb.20: movq _BLK_STS_IOERR@GOTPCREL(%rip), %rcx jmp LBB0_21 LBB0_13: xorl %eax, %eax callq _BUG jmp LBB0_14 LBB0_6: movq _BLK_STS_OK@GOTPCREL(%rip), %rcx LBB0_21: movl %eax, %edi shll $9, %edi testl %eax, %eax movl (%rcx), %esi movl $512, %edx ## imm = 0x200 cmovnel %edi, %edx movq %r14, %rdi callq _ide_complete_rq movq _ide_stopped@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_22: addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IDE_DBG_RQ,4,2 ## @IDE_DBG_RQ .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cmd: 0x%x, block: %llu" L_.str.1: ## @.str.1 .asciz "ide_cd_do_request" .comm _ide_stopped,4,2 ## @ide_stopped .comm _ATAPI_WAIT_PC,4,2 ## @ATAPI_WAIT_PC .comm _IDE_TFLAG_WRITE,4,2 ## @IDE_TFLAG_WRITE .comm _BLK_STS_OK,4,2 ## @BLK_STS_OK .comm _BLK_STS_IOERR,4,2 ## @BLK_STS_IOERR .no_dead_strip _ide_cd_do_request .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ide_cd_do_request _ide_cd_do_request: ; @ide_cd_do_request .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x3, x2 mov x20, x1 mov x19, x0 Lloh0: adrp x21, _IDE_DBG_RQ@GOTPAGE Lloh1: ldr x21, [x21, _IDE_DBG_RQ@GOTPAGEOFF] ldr w0, [x21] ldr x8, [x1, #8] ldr w2, [x8] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _ide_debug_log ldr w8, [x19] ldr w9, [x21] tst w9, w8 b.eq LBB0_2 ; %bb.1: Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _blk_dump_rq_flags LBB0_2: mov x0, x20 bl _req_op sub w8, w0, #128 cmp w8, #2 b.lo LBB0_5 ; %bb.3: sub w8, w0, #130 cmp w8, #2 b.hs LBB0_14 ; %bb.4: mov x0, x20 bl _ide_req ldr w8, [x0] sub w9, w8, #132 cmp w9, #2 b.hs LBB0_16 LBB0_5: ldr w8, [x20] cbnz w8, LBB0_7 ; %bb.6: Lloh6: adrp x8, _ATAPI_WAIT_PC@GOTPAGE Lloh7: ldr x8, [x8, _ATAPI_WAIT_PC@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x20] LBB0_7: mov x0, x19 mov x1, x20 bl _cdrom_do_block_pc LBB0_8: mov x0, x19 mov x1, x20 bl _ide_prep_sense mov x0, sp mov w1, #0 mov w2, #16 bl _memset mov x0, x20 bl _rq_data_dir cbz x0, LBB0_10 ; %bb.9: Lloh9: adrp x8, _IDE_TFLAG_WRITE@GOTPAGE Lloh10: ldr x8, [x8, _IDE_TFLAG_WRITE@GOTPAGEOFF] Lloh11: ldr w8, [x8] ldr w9, [sp, #8] orr w8, w9, w8 str w8, [sp, #8] LBB0_10: str x20, [sp] mov x0, x20 bl _blk_rq_is_passthrough cbz w0, LBB0_12 ; %bb.11: mov x0, x20 bl _blk_rq_bytes cbz x0, LBB0_13 LBB0_12: mov x0, x20 bl _blk_rq_bytes mov x1, x0 mov x0, sp bl _ide_init_sg_cmd mov x1, sp mov x0, x19 bl _ide_map_sg LBB0_13: mov x1, sp mov x0, x19 bl _ide_issue_pc b LBB0_19 LBB0_14: mov x0, x19 mov x1, x20 bl _cdrom_start_rw Lloh12: adrp x8, _ide_stopped@GOTPAGE Lloh13: ldr x8, [x8, _ide_stopped@GOTPAGEOFF] Lloh14: ldr w8, [x8] cmp w0, w8 b.ne LBB0_8 ; %bb.15: mov w21, #1 b LBB0_18 LBB0_16: cmp w8, #134 b.ne LBB0_20 ; %bb.17: mov w21, #0 LBB0_18: mov x0, x20 bl _blk_rq_sectors Lloh15: adrp x8, _BLK_STS_OK@GOTPAGE Lloh16: ldr x8, [x8, _BLK_STS_OK@GOTPAGEOFF] Lloh17: adrp x9, _BLK_STS_IOERR@GOTPAGE Lloh18: ldr x9, [x9, _BLK_STS_IOERR@GOTPAGEOFF] cmp w21, #0 csel x8, x9, x8, ne ldr w1, [x8] lsl w8, w0, #9 mov w9, #512 cmp w0, #0 csel w2, w9, w8, eq mov x0, x19 bl _ide_complete_rq Lloh19: adrp x8, _ide_stopped@GOTPAGE Lloh20: ldr x8, [x8, _ide_stopped@GOTPAGEOFF] Lloh21: ldr w0, [x8] LBB0_19: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_20: bl _BUG b LBB0_8 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _IDE_DBG_RQ,4,2 ; @IDE_DBG_RQ .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cmd: 0x%x, block: %llu" l_.str.1: ; @.str.1 .asciz "ide_cd_do_request" .comm _ide_stopped,4,2 ; @ide_stopped .comm _ATAPI_WAIT_PC,4,2 ; @ATAPI_WAIT_PC .comm _IDE_TFLAG_WRITE,4,2 ; @IDE_TFLAG_WRITE .comm _BLK_STS_OK,4,2 ; @BLK_STS_OK .comm _BLK_STS_IOERR,4,2 ; @BLK_STS_IOERR .no_dead_strip _ide_cd_do_request .subsections_via_symbols
AnghaBench/linux/drivers/ide/extr_ide-cd.c_ide_cd_do_request.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function cpcht_probe _cpcht_probe: ## @cpcht_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx callq _ofw_bus_get_type movq %rax, %r15 movl %ebx, %edi callq _ofw_bus_get_compat movq %r15, %rcx orq %rax, %rcx je LBB0_1 ## %bb.2: movq %rax, %r14 leaq L_.str(%rip), %rsi movq %r15, %rdi callq _strcmp testq %rax, %rax jne LBB0_1 ## %bb.3: leaq L_.str.1(%rip), %rsi movq %r14, %rdi callq _strcmp testq %rax, %rax je LBB0_4 LBB0_1: movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: leaq L_.str.2(%rip), %rsi movl %ebx, %edi callq _device_set_desc xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .comm _ENXIO,4,2 ## @ENXIO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ht" L_.str.1: ## @.str.1 .asciz "u3-ht" L_.str.2: ## @.str.2 .asciz "IBM CPC9X5 HyperTransport Tunnel" .no_dead_strip _cpcht_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cpcht_probe _cpcht_probe: ; @cpcht_probe .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 bl _ofw_bus_get_type mov x21, x0 mov x0, x19 bl _ofw_bus_get_compat orr x8, x21, x0 cbz x8, LBB0_3 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _strcmp cbnz x0, LBB0_3 ; %bb.2: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _strcmp cbz x0, LBB0_5 LBB0_3: Lloh4: adrp x8, _ENXIO@GOTPAGE Lloh5: ldr x8, [x8, _ENXIO@GOTPAGEOFF] Lloh6: ldr w0, [x8] LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _device_set_desc mov w0, #0 ; =0x0 b LBB0_4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _ENXIO,4,2 ; @ENXIO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ht" l_.str.1: ; @.str.1 .asciz "u3-ht" l_.str.2: ; @.str.2 .asciz "IBM CPC9X5 HyperTransport Tunnel" .no_dead_strip _cpcht_probe .subsections_via_symbols
assembly_file_9047.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _test9 ## -- Begin function test9 .p2align 4, 0x90 _test9: ## @test9 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _pairs@GOTPCREL(%rip), %r14 movq (%r14), %rax movq 24(%rax), %rdi testq %rdi, %rdi je LBB0_9 ## %bb.1: xorl %r15d, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 incq %r15 movq %r15, %rax shlq $5, %rax movq 24(%rcx,%rax), %rdi testq %rdi, %rdi je LBB0_9 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 callq _simple_hash movq (%r14), %rcx movq 24(%rcx), %rsi testq %rsi, %rsi je LBB0_8 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rbx movl $32, %r12d movq %r15, %r13 shlq $5, %r13 movq %rcx, %rax jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=2 leaq (%rcx,%r12), %rax movq 24(%rcx,%r12), %rsi addq $32, %r12 testq %rsi, %rsi je LBB0_8 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq (%rax), %rbx jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 movq 24(%rcx,%r13), %rdi callq _strcmp movq (%r14), %rcx testl %eax, %eax jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=2 movl 8(%rcx,%r13), %edi callq _str2ull movq (%r14), %rcx movq -16(%rcx,%r12), %rdx movl %eax, (%rdx) jmp LBB0_7 LBB0_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _pairs,8,3 ## @pairs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _test9 ; -- Begin function test9 .p2align 2 _test9: ; @test9 .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x20, _pairs@GOTPAGE Lloh1: ldr x20, [x20, _pairs@GOTPAGEOFF] ldr x8, [x20] ldr x0, [x8, #24] cbz x0, LBB0_9 ; %bb.1: mov x21, #0 ; =0x0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 add x8, x8, x21, lsl #5 ldr x0, [x8, #24] cbz x0, LBB0_9 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 bl _simple_hash ldr x8, [x20] ldr x1, [x8, #24] cbz x1, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x19, x0 mov x22, #0 ; =0x0 mov x9, x8 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=2 add x10, x8, x22 add x9, x10, #32 ldr x1, [x10, #56] add x22, x22, #32 cbz x1, LBB0_2 LBB0_6: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x9, [x9] cmp x19, x9 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 add x8, x8, x21, lsl #5 ldr x0, [x8, #24] bl _strcmp ldr x8, [x20] cbnz w0, LBB0_5 ; %bb.8: ; in Loop: Header=BB0_6 Depth=2 add x8, x8, x21, lsl #5 ldr w0, [x8, #8] bl _str2ull ldr x8, [x20] add x9, x8, x22 ldr x9, [x9, #16] str w0, [x9] b LBB0_5 LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _pairs,8,3 ; @pairs .subsections_via_symbols
assembly_file_156286.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test ## -- Begin function test .p2align 4, 0x90 _test: ## @test .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $56, %rsp .cfi_offset %rbx, -24 movq %rdi, %r9 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) leaq L_.str(%rip), %r8 leaq -64(%rbp), %rbx movl $1024, %esi ## imm = 0x400 movl $40, %ecx movq %rbx, %rdi xorl %edx, %edx xorl %eax, %eax callq ___snprintf_chk leaq L_.str.1(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB0_2 ## %bb.1: addq $56, %rsp popq %rbx popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $56, %rsp .cfi_offset %rbx, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -16(%rbp) cmpl $2, %edi jl LBB1_2 ## %bb.1: movq 8(%rsi), %r9 leaq L_.str(%rip), %r8 leaq -64(%rbp), %rbx movl $1024, %esi ## imm = 0x400 movl $40, %ecx movq %rbx, %rdi xorl %edx, %edx xorl %eax, %eax callq ___snprintf_chk leaq L_.str.1(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf LBB1_2: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB1_4 ## %bb.3: xorl %eax, %eax addq $56, %rsp popq %rbx popq %rbp retq LBB1_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "<%s>" L_.str.1: ## @.str.1 .asciz "result: %s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test ; -- Begin function test .p2align 2 _test: ; @test .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] str x0, [sp] Lloh3: adrp x4, l_.str@PAGE Lloh4: add x4, x4, l_.str@PAGEOFF add x19, sp, #16 add x0, sp, #16 mov w1, #1024 mov w2, #0 mov w3, #40 bl ___snprintf_chk str x19, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _printf ldur x8, [x29, #-24] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh10: adrp x8, ___stack_chk_guard@GOTPAGE Lloh11: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh12: ldr x8, [x8] stur x8, [x29, #-24] cmp w0, #2 b.lt LBB1_2 ; %bb.1: ldr x8, [x1, #8] str x8, [sp] Lloh13: adrp x4, l_.str@PAGE Lloh14: add x4, x4, l_.str@PAGEOFF add x19, sp, #16 add x0, sp, #16 mov w1, #1024 mov w2, #0 mov w3, #40 bl ___snprintf_chk str x19, [sp] Lloh15: adrp x0, l_.str.1@PAGE Lloh16: add x0, x0, l_.str.1@PAGEOFF bl _printf LBB1_2: ldur x8, [x29, #-24] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB1_4 ; %bb.3: mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload add sp, sp, #96 ret LBB1_4: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "<%s>" l_.str.1: ; @.str.1 .asciz "result: %s\n" .subsections_via_symbols
the_stack_data/92327803.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function niu_enable_tx_bmac _niu_enable_tx_bmac: ## @niu_enable_tx_bmac .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq _BTXMAC_CONFIG@GOTPCREL(%rip), %r14 movl (%r14), %edi callq _nr64_mac movq _BTXMAC_CONFIG_ENABLE@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %esi, %ecx orl %eax, %ecx notl %esi andl %eax, %esi testl %ebx, %ebx cmovnel %ecx, %esi movl (%r14), %edi popq %rbx popq %r14 popq %rbp jmp _nw64_mac ## TAILCALL .cfi_endproc ## -- End function .comm _BTXMAC_CONFIG,4,2 ## @BTXMAC_CONFIG .comm _BTXMAC_CONFIG_ENABLE,4,2 ## @BTXMAC_CONFIG_ENABLE .no_dead_strip _niu_enable_tx_bmac .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function niu_enable_tx_bmac _niu_enable_tx_bmac: ; @niu_enable_tx_bmac .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 Lloh0: adrp x20, _BTXMAC_CONFIG@GOTPAGE Lloh1: ldr x20, [x20, _BTXMAC_CONFIG@GOTPAGEOFF] ldr w0, [x20] bl _nr64_mac Lloh2: adrp x8, _BTXMAC_CONFIG_ENABLE@GOTPAGE Lloh3: ldr x8, [x8, _BTXMAC_CONFIG_ENABLE@GOTPAGEOFF] Lloh4: ldr w8, [x8] orr w9, w8, w0 bic w8, w0, w8 cmp w19, #0 csel w1, w8, w9, eq ldr w0, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _nw64_mac .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _BTXMAC_CONFIG,4,2 ; @BTXMAC_CONFIG .comm _BTXMAC_CONFIG_ENABLE,4,2 ; @BTXMAC_CONFIG_ENABLE .no_dead_strip _niu_enable_tx_bmac .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/sun/extr_niu.c_niu_enable_tx_bmac.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xdr_gss_buffer_desc ## -- Begin function xdr_gss_buffer_desc .p2align 4, 0x90 _xdr_gss_buffer_desc: ## @xdr_gss_buffer_desc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $24, %rsp .cfi_offset %rbx, -24 movq %rsi, %rbx movl 8(%rsi), %eax movl %eax, -12(%rbp) movq (%rsi), %rax movq %rax, -24(%rbp) leaq -24(%rbp), %rsi leaq -12(%rbp), %rdx movl $-1, %ecx callq _xdr_bytes testl %eax, %eax je LBB0_1 ## %bb.2: movl -12(%rbp), %eax movl %eax, 8(%rbx) movq -24(%rbp), %rax movq %rax, (%rbx) movq _TRUE@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _FALSE@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _xdr_gss_buffer_desc ; -- Begin function xdr_gss_buffer_desc .p2align 2 _xdr_gss_buffer_desc: ; @xdr_gss_buffer_desc .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr w8, [x1, #8] str w8, [sp, #4] ldr x8, [x1] str x8, [sp, #8] add x1, sp, #8 add x2, sp, #4 mov w3, #-1 bl _xdr_bytes cbz w0, LBB0_2 ; %bb.1: ldr w8, [sp, #4] str w8, [x19, #8] ldr x8, [sp, #8] str x8, [x19] Lloh0: adrp x8, _TRUE@GOTPAGE Lloh1: ldr x8, [x8, _TRUE@GOTPAGEOFF] b LBB0_3 LBB0_2: Lloh2: adrp x8, _FALSE@GOTPAGE Lloh3: ldr x8, [x8, _FALSE@GOTPAGEOFF] LBB0_3: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .subsections_via_symbols
AnghaBench/freebsd/sys/kgssapi/extr_gssd_prot.c_xdr_gss_buffer_desc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -84(%rbp), %rsi xorl %eax, %eax callq _scanf movl -84(%rbp), %esi leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf cmpl $0, -84(%rbp) jle LBB0_10 ## %bb.1: leaq -80(%rbp), %r12 leaq L_.str.3(%rip), %r14 leaq L_.str.1(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movq %r15, %rdi movq %r12, %rsi xorl %eax, %eax callq _scanf incq %rbx movslq -84(%rbp), %rax addq $4, %r12 cmpq %rax, %rbx jl LBB0_2 ## %bb.3: movl %eax, %r9d cmpl $2, %r9d jl LBB0_7 ## %bb.4: leal -1(%r9), %r8d leaq -80(%rbp), %rdx xorl %r10d, %r10d movq %r9, %rsi jmp LBB0_5 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_5 Depth=1 addq $4, %rdx decq %rsi cmpq %r8, %r10 je LBB0_7 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_13 Depth 2 movq %r10, %rdi incq %r10 cmpq %r9, %r10 jae LBB0_6 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 movl $1, %ecx jmp LBB0_13 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_13 Depth=2 incq %rcx cmpq %rcx, %rsi je LBB0_6 LBB0_13: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rdx,%rcx,4), %eax movl -80(%rbp,%rdi,4), %ebx cmpl %ebx, %eax jge LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=2 movl %eax, -80(%rbp,%rdi,4) movl %ebx, (%rdx,%rcx,4) jmp LBB0_15 LBB0_7: testl %r9d, %r9d jle LBB0_10 ## %bb.8: leaq L_.str.4(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movl -80(%rbp,%rbx,4), %esi movq %r14, %rdi xorl %eax, %eax callq _printf incq %rbx movslq -84(%rbp), %rax cmpq %rax, %rbx jl LBB0_9 LBB0_10: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_16 ## %bb.11: xorl %eax, %eax addq $64, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter array size : " L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "Enter %d elements :\n" L_.str.3: ## @.str.3 .asciz "A[%d] : " L_.str.4: ## @.str.4 .asciz "%d " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #12 str x8, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr w8, [sp, #12] str x8, [sp] Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf ldr w8, [sp, #12] cmp w8, #1 b.lt LBB0_14 ; %bb.1: mov x21, #0 add x22, sp, #16 Lloh9: adrp x19, l_.str.3@PAGE Lloh10: add x19, x19, l_.str.3@PAGEOFF Lloh11: adrp x20, l_.str.1@PAGE Lloh12: add x20, x20, l_.str.1@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 str x21, [sp] mov x0, x19 bl _printf str x22, [sp] mov x0, x20 bl _scanf add x21, x21, #1 ldrsw x8, [sp, #12] add x22, x22, #4 cmp x21, x8 b.lt LBB0_2 ; %bb.3: and x8, x8, #0xffffffff cmp w8, #1 b.le LBB0_11 ; %bb.4: mov x13, #0 sub w9, w8, #1 add x10, sp, #16 add x11, x10, #4 mov w12, #1 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x12, x12, #1 add x11, x11, #4 mov x13, x14 cmp x14, x9 b.eq LBB0_11 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 add x14, x13, #1 cmp x14, x8 b.hs LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 mov x15, x8 mov x16, x11 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 add x16, x16, #4 sub x15, x15, #1 cmp x12, x15 b.eq LBB0_5 LBB0_9: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w17, [x16] ldr w0, [x10, x13, lsl #2] cmp w17, w0 b.ge LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 str w17, [x10, x13, lsl #2] str w0, [x16] b LBB0_8 LBB0_11: cmp w8, #1 b.lt LBB0_14 ; %bb.12: mov x20, #0 add x21, sp, #16 Lloh13: adrp x19, l_.str.4@PAGE Lloh14: add x19, x19, l_.str.4@PAGEOFF LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr w8, [x21, x20, lsl #2] str x8, [sp] mov x0, x19 bl _printf add x20, x20, #1 ldrsw x8, [sp, #12] cmp x20, x8 b.lt LBB0_13 LBB0_14: ldur x8, [x29, #-40] Lloh15: adrp x9, ___stack_chk_guard@GOTPAGE Lloh16: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh17: ldr x9, [x9] cmp x9, x8 b.ne LBB0_16 ; %bb.15: mov w0, #0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_16: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter array size : " l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "Enter %d elements :\n" l_.str.3: ; @.str.3 .asciz "A[%d] : " l_.str.4: ; @.str.4 .asciz "%d " .subsections_via_symbols
the_stack_data/896307.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fwphy_rddata _fwphy_rddata: ## @fwphy_rddata .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r13 andl $15, %esi movl %esi, -44(%rbp) ## 4-byte Spill movq _PHYDEV_RDCMD@GOTPCREL(%rip), %r14 movq _OHCI_PHYACCESS@GOTPCREL(%rip), %r15 xorl %eax, %eax jmp LBB0_1 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload leal 1(%rax), %r8d cmpl $99, %eax jge LBB0_17 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movl $100, %edi movl %r8d, %ebx callq _DELAY movl %ebx, %eax LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_2 Depth 2 movq %rax, -56(%rbp) ## 8-byte Spill movq _FWOHCI_INTSTATCLR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _OHCI_INT_REG_FAIL@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r13, %rdi callq _OWRITE movq _PHYDEV_REGADDR@GOTPCREL(%rip), %rax movb (%rax), %cl movl -44(%rbp), %edx ## 4-byte Reload shll %cl, %edx orl (%r14), %edx movl (%r15), %esi movq %r13, %rdi callq _OWRITE xorl %r12d, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=2 movl $100, %edi callq _DELAY incl %r12d cmpl $100, %r12d je LBB0_5 LBB0_2: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r15), %esi movq %r13, %rdi callq _OREAD movl %eax, %ebx testl %eax, (%r14) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=2 movq _PHYDEV_RDDONE@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_4 jmp LBB0_9 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq _firewire_debug@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movl (%r13), %edi leaq L_.str(%rip), %rsi xorl %eax, %eax callq _device_printf LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload leal 1(%rax), %r8d movl $100, %r12d cmpl $98, %eax movl %r8d, %eax movq %rax, -56(%rbp) ## 8-byte Spill jle LBB0_8 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movq _FWOHCI_INTSTAT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi callq _OREAD movq _OHCI_INT_REG_FAIL@GOTPCREL(%rip), %rcx testl %eax, (%rcx) jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_1 Depth=1 movq _PHYDEV_REGADDR@GOTPCREL(%rip), %rax movb (%rax), %cl movl %ebx, %eax sarl %cl, %eax andl $15, %eax cmpl -44(%rbp), %eax ## 4-byte Folded Reload je LBB0_14 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movq _firewire_debug@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_1 Depth=1 movl (%r13), %edi leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _device_printf jmp LBB0_13 LBB0_14: movq _firewire_debug@GOTPCREL(%rip), %rax cmpq $0, (%rax) jne LBB0_15 ## %bb.16: movq -56(%rbp), %rax ## 8-byte Reload movl %eax, %r8d cmpl $100, %eax jl LBB0_18 jmp LBB0_17 LBB0_15: movq -56(%rbp), %rax ## 8-byte Reload movl %eax, %r8d LBB0_17: movl (%r13), %edi leaq L_.str.2(%rip), %rsi movl -44(%rbp), %edx ## 4-byte Reload movl %r12d, %ecx xorl %eax, %eax callq _device_printf LBB0_18: movq _PHYDEV_RDDATA@GOTPCREL(%rip), %rax movb (%rax), %cl sarl %cl, %ebx movzbl %bl, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FWOHCI_INTSTATCLR,4,2 ## @FWOHCI_INTSTATCLR .comm _OHCI_INT_REG_FAIL,4,2 ## @OHCI_INT_REG_FAIL .comm _PHYDEV_RDCMD,4,2 ## @PHYDEV_RDCMD .comm _PHYDEV_REGADDR,4,2 ## @PHYDEV_REGADDR .comm _OHCI_PHYACCESS,4,2 ## @OHCI_PHYACCESS .comm _PHYDEV_RDDONE,4,2 ## @PHYDEV_RDDONE .comm _firewire_debug,8,3 ## @firewire_debug .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "phy read failed(1).\n" .comm _FWOHCI_INTSTAT,4,2 ## @FWOHCI_INTSTAT L_.str.1: ## @.str.1 .asciz "phy read failed(2).\n" L_.str.2: ## @.str.2 .asciz "fwphy_rddata: 0x%x loop=%d, retry=%d\n" .comm _PHYDEV_RDDATA,4,2 ## @PHYDEV_RDDATA .comm _MAX_RETRY,4,2 ## @MAX_RETRY .no_dead_strip _fwphy_rddata .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fwphy_rddata _fwphy_rddata: ; @fwphy_rddata .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 mov w20, #0 and w23, w1, #0xf Lloh0: adrp x25, _OHCI_INT_REG_FAIL@GOTPAGE Lloh1: ldr x25, [x25, _OHCI_INT_REG_FAIL@GOTPAGEOFF] Lloh2: adrp x26, _PHYDEV_RDCMD@GOTPAGE Lloh3: ldr x26, [x26, _PHYDEV_RDCMD@GOTPAGEOFF] Lloh4: adrp x28, _OHCI_PHYACCESS@GOTPAGE Lloh5: ldr x28, [x28, _OHCI_PHYACCESS@GOTPAGEOFF] Lloh6: adrp x21, _PHYDEV_RDDONE@GOTPAGE Lloh7: ldr x21, [x21, _PHYDEV_RDDONE@GOTPAGEOFF] b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 add w8, w27, #1 cmp w27, #99 mov x27, x8 b.ge LBB0_19 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov w0, #100 bl _DELAY mov x20, x27 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 Lloh8: adrp x8, _FWOHCI_INTSTATCLR@GOTPAGE Lloh9: ldr x8, [x8, _FWOHCI_INTSTATCLR@GOTPAGEOFF] Lloh10: ldr w1, [x8] ldr w2, [x25] mov x0, x19 bl _OWRITE ldr w8, [x26] Lloh11: adrp x9, _PHYDEV_REGADDR@GOTPAGE Lloh12: ldr x9, [x9, _PHYDEV_REGADDR@GOTPAGEOFF] Lloh13: ldr w9, [x9] lsl w9, w23, w9 orr w2, w9, w8 ldr w1, [x28] mov x0, x19 bl _OWRITE mov w24, #0 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=2 mov w0, #100 bl _DELAY add w24, w24, #1 cmp w24, #100 b.eq LBB0_8 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w1, [x28] mov x0, x19 bl _OREAD mov x22, x0 ldr w8, [x26] tst w8, w0 b.ne LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 ldr w8, [x21] tst w8, w22 b.eq LBB0_4 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 mov x27, x20 b LBB0_12 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 Lloh14: adrp x8, _firewire_debug@GOTPAGE Lloh15: ldr x8, [x8, _firewire_debug@GOTPAGEOFF] Lloh16: ldr x8, [x8] cbz x8, LBB0_10 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x19] Lloh17: adrp x1, l_.str@PAGE Lloh18: add x1, x1, l_.str@PAGEOFF bl _device_printf LBB0_10: ; in Loop: Header=BB0_3 Depth=1 add w27, w20, #1 cmp w20, #98 b.le LBB0_2 ; %bb.11: ; in Loop: Header=BB0_3 Depth=1 mov w24, #100 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 Lloh19: adrp x8, _FWOHCI_INTSTAT@GOTPAGE Lloh20: ldr x8, [x8, _FWOHCI_INTSTAT@GOTPAGEOFF] Lloh21: ldr w1, [x8] mov x0, x19 bl _OREAD ldr w8, [x25] tst w8, w0 b.ne LBB0_14 ; %bb.13: ; in Loop: Header=BB0_3 Depth=1 Lloh22: adrp x8, _PHYDEV_REGADDR@GOTPAGE Lloh23: ldr x8, [x8, _PHYDEV_REGADDR@GOTPAGEOFF] Lloh24: ldr w8, [x8] asr w8, w22, w8 and w8, w8, #0xf cmp w8, w23 b.eq LBB0_16 LBB0_14: ; in Loop: Header=BB0_3 Depth=1 Lloh25: adrp x8, _firewire_debug@GOTPAGE Lloh26: ldr x8, [x8, _firewire_debug@GOTPAGEOFF] Lloh27: ldr x8, [x8] cbz x8, LBB0_1 ; %bb.15: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x19] Lloh28: adrp x1, l_.str.1@PAGE Lloh29: add x1, x1, l_.str.1@PAGEOFF bl _device_printf b LBB0_1 LBB0_16: Lloh30: adrp x8, _firewire_debug@GOTPAGE Lloh31: ldr x8, [x8, _firewire_debug@GOTPAGEOFF] Lloh32: ldr x8, [x8] cbnz x8, LBB0_18 ; %bb.17: mov x8, x27 cmp w27, #100 b.lt LBB0_20 b LBB0_19 LBB0_18: mov x8, x27 LBB0_19: ldr w0, [x19] stp x24, x8, [sp, #8] str x23, [sp] Lloh33: adrp x1, l_.str.2@PAGE Lloh34: add x1, x1, l_.str.2@PAGEOFF bl _device_printf LBB0_20: Lloh35: adrp x8, _PHYDEV_RDDATA@GOTPAGE Lloh36: ldr x8, [x8, _PHYDEV_RDDATA@GOTPAGEOFF] Lloh37: ldr w8, [x8] asr w8, w22, w8 and w0, w8, #0xff ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .cfi_endproc ; -- End function .comm _FWOHCI_INTSTATCLR,4,2 ; @FWOHCI_INTSTATCLR .comm _OHCI_INT_REG_FAIL,4,2 ; @OHCI_INT_REG_FAIL .comm _PHYDEV_RDCMD,4,2 ; @PHYDEV_RDCMD .comm _PHYDEV_REGADDR,4,2 ; @PHYDEV_REGADDR .comm _OHCI_PHYACCESS,4,2 ; @OHCI_PHYACCESS .comm _PHYDEV_RDDONE,4,2 ; @PHYDEV_RDDONE .comm _firewire_debug,8,3 ; @firewire_debug .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "phy read failed(1).\n" .comm _FWOHCI_INTSTAT,4,2 ; @FWOHCI_INTSTAT l_.str.1: ; @.str.1 .asciz "phy read failed(2).\n" l_.str.2: ; @.str.2 .asciz "fwphy_rddata: 0x%x loop=%d, retry=%d\n" .comm _PHYDEV_RDDATA,4,2 ; @PHYDEV_RDDATA .comm _MAX_RETRY,4,2 ; @MAX_RETRY .no_dead_strip _fwphy_rddata .subsections_via_symbols
AnghaBench/freebsd/stand/i386/libfirewire/extr_fwohci.c_fwphy_rddata.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bnx2x_get_eeprom_len _bnx2x_get_eeprom_len: ## @bnx2x_get_eeprom_len .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _netdev_priv movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _bnx2x_get_eeprom_len .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bnx2x_get_eeprom_len _bnx2x_get_eeprom_len: ; @bnx2x_get_eeprom_len .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _netdev_priv ldr w0, [x0] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _bnx2x_get_eeprom_len .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_ethtool.c_bnx2x_get_eeprom_len.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _pikachu ## @pikachu .p2align 4 _pikachu: .ascii "aa\0001\037\000\337\311\317\320\036@>@2\f\000\000aa\0001\337\300\337\311\017P>@2\f" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __DATA,__data .globl _pikachu ; @pikachu _pikachu: .ascii "aa\0001\037\000\337\311\317\320\036@>@2\f\000\000aa\0001\337\300\337\311\017P>@2\f" .subsections_via_symbols
the_stack_data/151260.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function robustFchown _robustFchown: ## @robustFchown .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _robustFchown .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function robustFchown _robustFchown: ; @robustFchown .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _robustFchown .subsections_via_symbols
AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_robustFchown.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TestOwnership ## -- Begin function TestOwnership .p2align 4, 0x90 _TestOwnership: ## @TestOwnership .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %edi, %edi callq _OpenClipboard leaq L_.str(%rip), %r12 movl %eax, %edi movq %r12, %rsi callq _ok xorl %eax, %eax callq _EmptyClipboard leaq L_.str.1(%rip), %r14 movl %eax, %edi movq %r14, %rsi callq _ok xorl %eax, %eax callq _CloseClipboard leaq L_.str.2(%rip), %r15 movl %eax, %edi movq %r15, %rsi callq _ok xorl %eax, %eax callq _GetClipboardOwner xorl %edi, %edi testq %rax, %rax sete %dil leaq L_.str.3(%rip), %r13 movq %r13, %rsi callq _ok movq _WS_OVERLAPPEDWINDOW@GOTPCREL(%rip), %rax movl (%rax), %edx xorps %xmm0, %xmm0 movups %xmm0, 8(%rsp) movq $0, 32(%rsp) movl $0, 24(%rsp) movl $300, (%rsp) ## imm = 0x12C leaq l_.str.4(%rip), %rdi movq %rdi, %rsi movl $20, %ecx movl $20, %r8d movl $300, %r9d ## imm = 0x12C callq _CreateWindowW movq %rax, %rbx xorl %edi, %edi testq %rax, %rax setne %dil leaq L_.str.5(%rip), %rsi callq _ok movq %rbx, %rdi callq _OpenClipboard movl %eax, %edi movq %r12, %rsi callq _ok xorl %eax, %eax callq _GetClipboardOwner xorl %edi, %edi testq %rax, %rax sete %dil movq %r13, %rsi callq _ok xorl %eax, %eax callq _EmptyClipboard movl %eax, %edi movq %r14, %rsi callq _ok xorl %eax, %eax callq _CloseClipboard movl %eax, %edi movq %r15, %rsi callq _ok xorl %eax, %eax callq _GetClipboardOwner xorl %edi, %edi cmpq %rbx, %rax sete %dil leaq L_.str.6(%rip), %rsi callq _ok movq %rbx, %rdi addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _DestroyWindow ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "OpenClipboard failed\n" L_.str.1: ## @.str.1 .asciz "EmptyClipboard failed\n" L_.str.2: ## @.str.2 .asciz "CloseClipboard failed\n" L_.str.3: ## @.str.3 .asciz "Expected NULL owner\n" .section __TEXT,__const .p2align 2 ## @.str.4 l_.str.4: .long 115 ## 0x73 .long 116 ## 0x74 .long 97 ## 0x61 .long 116 ## 0x74 .long 105 ## 0x69 .long 99 ## 0x63 .long 0 ## 0x0 .comm _WS_OVERLAPPEDWINDOW,4,2 ## @WS_OVERLAPPEDWINDOW .section __TEXT,__cstring,cstring_literals L_.str.5: ## @.str.5 .asciz "CreateWindowW failed\n" L_.str.6: ## @.str.6 .asciz "Expected hWnd owner\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _TestOwnership ; -- Begin function TestOwnership .p2align 2 _TestOwnership: ; @TestOwnership .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x0, #0 bl _OpenClipboard Lloh0: adrp x21, l_.str@PAGE Lloh1: add x21, x21, l_.str@PAGEOFF mov x1, x21 bl _ok bl _EmptyClipboard Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x1, x19 bl _ok bl _CloseClipboard Lloh4: adrp x20, l_.str.2@PAGE Lloh5: add x20, x20, l_.str.2@PAGEOFF mov x1, x20 bl _ok bl _GetClipboardOwner cmp x0, #0 cset w0, eq Lloh6: adrp x23, l_.str.3@PAGE Lloh7: add x23, x23, l_.str.3@PAGEOFF mov x1, x23 bl _ok Lloh8: adrp x8, _WS_OVERLAPPEDWINDOW@GOTPAGE Lloh9: ldr x8, [x8, _WS_OVERLAPPEDWINDOW@GOTPAGEOFF] Lloh10: ldr w2, [x8] str xzr, [sp, #16] str wzr, [sp, #8] str xzr, [sp] Lloh11: adrp x0, l_.str.4@PAGE Lloh12: add x0, x0, l_.str.4@PAGEOFF mov x1, x0 mov w3, #20 mov w4, #20 mov w5, #300 mov w6, #300 mov x7, #0 bl _CreateWindowW mov x22, x0 cmp x0, #0 cset w0, ne Lloh13: adrp x1, l_.str.5@PAGE Lloh14: add x1, x1, l_.str.5@PAGEOFF bl _ok mov x0, x22 bl _OpenClipboard mov x1, x21 bl _ok bl _GetClipboardOwner cmp x0, #0 cset w0, eq mov x1, x23 bl _ok bl _EmptyClipboard mov x1, x19 bl _ok bl _CloseClipboard mov x1, x20 bl _ok bl _GetClipboardOwner cmp x0, x22 cset w0, eq Lloh15: adrp x1, l_.str.6@PAGE Lloh16: add x1, x1, l_.str.6@PAGEOFF bl _ok mov x0, x22 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 b _DestroyWindow .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "OpenClipboard failed\n" l_.str.1: ; @.str.1 .asciz "EmptyClipboard failed\n" l_.str.2: ; @.str.2 .asciz "CloseClipboard failed\n" l_.str.3: ; @.str.3 .asciz "Expected NULL owner\n" .section __TEXT,__const .p2align 2 ; @.str.4 l_.str.4: .long 115 ; 0x73 .long 116 ; 0x74 .long 97 ; 0x61 .long 116 ; 0x74 .long 105 ; 0x69 .long 99 ; 0x63 .long 0 ; 0x0 .comm _WS_OVERLAPPEDWINDOW,4,2 ; @WS_OVERLAPPEDWINDOW .section __TEXT,__cstring,cstring_literals l_.str.5: ; @.str.5 .asciz "CreateWindowW failed\n" l_.str.6: ; @.str.6 .asciz "Expected hWnd owner\n" .subsections_via_symbols
AnghaBench/reactos/modules/rostests/apitests/user32/extr_EmptyClipboard.c_TestOwnership.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformJoystickPresent ## -- Begin function _glfwPlatformJoystickPresent .p2align 4, 0x90 __glfwPlatformJoystickPresent: ## @_glfwPlatformJoystickPresent .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq -4(%rbp), %rsi callq __glfw_joyGetPos movq _JOYERR_NOERROR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_1 ## %bb.2: movq _GL_TRUE@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _GL_FALSE@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _JOYERR_NOERROR,8,3 ## @JOYERR_NOERROR .comm _GL_FALSE,4,2 ## @GL_FALSE .comm _GL_TRUE,4,2 ## @GL_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformJoystickPresent ; -- Begin function _glfwPlatformJoystickPresent .p2align 2 __glfwPlatformJoystickPresent: ; @_glfwPlatformJoystickPresent .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 sub x1, x29, #4 bl __glfw_joyGetPos Lloh0: adrp x8, _JOYERR_NOERROR@GOTPAGE Lloh1: ldr x8, [x8, _JOYERR_NOERROR@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _GL_TRUE@GOTPAGE Lloh4: ldr x9, [x9, _GL_TRUE@GOTPAGEOFF] Lloh5: adrp x10, _GL_FALSE@GOTPAGE Lloh6: ldr x10, [x10, _GL_FALSE@GOTPAGEOFF] cmp x0, x8 csel x8, x9, x10, eq ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _JOYERR_NOERROR,8,3 ; @JOYERR_NOERROR .comm _GL_FALSE,4,2 ; @GL_FALSE .comm _GL_TRUE,4,2 ; @GL_TRUE .subsections_via_symbols
AnghaBench/Craft/deps/glfw/src/extr_winmm_joystick.c__glfwPlatformJoystickPresent.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ib_uverbs_dealloc_xrcd ## -- Begin function ib_uverbs_dealloc_xrcd .p2align 4, 0x90 _ib_uverbs_dealloc_xrcd: ## @ib_uverbs_dealloc_xrcd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq 8(%rsi), %r15 testq %r15, %r15 je LBB0_3 ## %bb.1: movq %rdi, %r14 movq %rbx, %rdi callq _atomic_dec_and_test testl %eax, %eax je LBB0_4 ## %bb.2: movq %rbx, %rdi callq _ib_dealloc_xrcd movq %r14, %rdi movq %r15, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _xrcd_table_delete ## TAILCALL LBB0_3: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _ib_dealloc_xrcd ## TAILCALL LBB0_4: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ib_uverbs_dealloc_xrcd ; -- Begin function ib_uverbs_dealloc_xrcd .p2align 2 _ib_uverbs_dealloc_xrcd: ; @ib_uverbs_dealloc_xrcd .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 ldr x19, [x1, #8] cbz x19, LBB0_3 ; %bb.1: mov x20, x0 mov x0, x21 bl _atomic_dec_and_test cbz w0, LBB0_4 ; %bb.2: mov x0, x21 bl _ib_dealloc_xrcd mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _xrcd_table_delete LBB0_3: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _ib_dealloc_xrcd LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/core/extr_uverbs_cmd.c_ib_uverbs_dealloc_xrcd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gss_krb5_import_cred ## -- Begin function gss_krb5_import_cred .p2align 4, 0x90 _gss_krb5_import_cred: ## @gss_krb5_import_cred .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %rbx movl %ecx, %r15d movl %edx, %r12d movl %esi, %r14d movq %rdi, %r13 movq _GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r8) leaq -44(%rbp), %rdi callq _krb5_init_context testq %rax, %rax je LBB0_2 ## %bb.1: movq %rax, (%r13) movq _GSS_S_FAILURE@GOTPCREL(%rip), %rax movq (%rax), %rbx jmp LBB0_24 LBB0_2: movq %rbx, -80(%rbp) ## 8-byte Spill movl %r15d, -68(%rbp) ## 4-byte Spill xorl %eax, %eax callq _krb5_storage_emem testq %rax, %rax je LBB0_20 ## %bb.3: movq %rax, %r15 movq %r13, -64(%rbp) ## 8-byte Spill testl %r14d, %r14d je LBB0_6 ## %bb.4: movl -44(%rbp), %edi leaq -56(%rbp), %rdx movl %r14d, %esi callq _krb5_cc_get_full_name movq %rax, %rbx testq %rax, %rax movq %r15, %r14 movl -68(%rbp), %r15d ## 4-byte Reload movq -80(%rbp), %r13 ## 8-byte Reload jne LBB0_8 ## %bb.5: movq -56(%rbp), %rsi movq %r14, %rdi callq _krb5_store_string movq %rax, %rbx movq -56(%rbp), %rdi callq _free testq %rbx, %rbx jne LBB0_8 jmp LBB0_10 LBB0_20: movq _ENOMEM@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%r13) movq _GSS_S_FAILURE@GOTPCREL(%rip), %rax movq (%rax), %rbx jmp LBB0_23 LBB0_6: leaq L_.str(%rip), %rsi movq %r15, %r14 movq %r15, %rdi callq _krb5_store_string movq %rax, %rbx movl -68(%rbp), %r15d ## 4-byte Reload movq -80(%rbp), %r13 ## 8-byte Reload testq %rbx, %rbx jne LBB0_8 LBB0_10: testl %r12d, %r12d je LBB0_13 ## %bb.11: movl -44(%rbp), %edi leaq -56(%rbp), %rdx movl %r12d, %esi callq _krb5_unparse_name movq %rax, %rbx testq %rax, %rax jne LBB0_8 ## %bb.12: movq -56(%rbp), %rsi movq %r14, %rdi callq _krb5_store_string movq %rax, %rbx movq -56(%rbp), %rdi callq _free testq %rbx, %rbx jne LBB0_8 jmp LBB0_14 LBB0_13: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _krb5_store_string LBB0_14: testl %r15d, %r15d je LBB0_17 ## %bb.15: movl -44(%rbp), %edi leaq -56(%rbp), %rdx movl %r15d, %esi callq _krb5_kt_get_full_name movq %rax, %rbx testq %rax, %rax jne LBB0_8 ## %bb.16: movq -56(%rbp), %rsi movq %r14, %rdi callq _krb5_store_string movq %rax, %rbx movq -56(%rbp), %rdi callq _free testq %rbx, %rbx je LBB0_18 LBB0_8: movq -64(%rbp), %rax ## 8-byte Reload movq %rbx, (%rax) LBB0_9: movq _GSS_S_FAILURE@GOTPCREL(%rip), %rax movq (%rax), %rbx LBB0_22: movq %r14, %rdi callq _krb5_storage_free LBB0_23: movl -44(%rbp), %edi callq _krb5_free_context LBB0_24: movq %rbx, %rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_17: leaq L_.str(%rip), %rsi movq %r14, %rdi callq _krb5_store_string LBB0_18: leaq -88(%rbp), %rsi movq %r14, %rdi callq _krb5_storage_to_data testq %rax, %rax je LBB0_21 ## %bb.19: movq -64(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) jmp LBB0_9 LBB0_21: movq -88(%rbp), %rax movq %rax, -96(%rbp) movq _GSS_KRB5_IMPORT_CRED_X@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -96(%rbp), %rcx movq -64(%rbp), %rdi ## 8-byte Reload movq %r13, %rsi callq _gss_set_cred_option movq %rax, %rbx leaq -88(%rbp), %rdi callq _krb5_data_free jmp LBB0_22 .cfi_endproc ## -- End function .comm _GSS_C_NO_CREDENTIAL,4,2 ## @GSS_C_NO_CREDENTIAL .comm _GSS_S_FAILURE,8,3 ## @GSS_S_FAILURE .comm _ENOMEM,8,3 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 .comm _GSS_KRB5_IMPORT_CRED_X,4,2 ## @GSS_KRB5_IMPORT_CRED_X .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gss_krb5_import_cred ; -- Begin function gss_krb5_import_cred .p2align 2 _gss_krb5_import_cred: ; @gss_krb5_import_cred .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x4 mov x22, x3 mov x23, x2 mov x24, x1 mov x20, x0 Lloh0: adrp x8, _GSS_C_NO_CREDENTIAL@GOTPAGE Lloh1: ldr x8, [x8, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x4] add x0, sp, #20 bl _krb5_init_context cbz x0, LBB0_2 ; %bb.1: str x0, [x20] Lloh3: adrp x8, _GSS_S_FAILURE@GOTPAGE Lloh4: ldr x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF] Lloh5: ldr x20, [x8] b LBB0_16 LBB0_2: bl _krb5_storage_emem cbz x0, LBB0_10 ; %bb.3: mov x19, x0 cbz w24, LBB0_11 ; %bb.4: ldr w0, [sp, #20] mov x2, sp mov x1, x24 bl _krb5_cc_get_full_name mov x24, x0 cbnz x0, LBB0_12 ; %bb.5: ldr x1, [sp] mov x0, x19 bl _krb5_store_string mov x24, x0 ldr x0, [sp] bl _free cbnz x24, LBB0_12 LBB0_6: cbz w23, LBB0_17 ; %bb.7: ldr w0, [sp, #20] mov x2, sp mov x1, x23 bl _krb5_unparse_name mov x23, x0 cbnz x0, LBB0_9 ; %bb.8: ldr x1, [sp] mov x0, x19 bl _krb5_store_string mov x23, x0 ldr x0, [sp] bl _free cbz x23, LBB0_18 LBB0_9: str x23, [x20] b LBB0_13 LBB0_10: Lloh6: adrp x8, _ENOMEM@GOTPAGE Lloh7: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh8: ldr x8, [x8] str x8, [x20] Lloh9: adrp x8, _GSS_S_FAILURE@GOTPAGE Lloh10: ldr x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF] Lloh11: ldr x20, [x8] b LBB0_15 LBB0_11: Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _krb5_store_string mov x24, x0 cbz x24, LBB0_6 LBB0_12: str x24, [x20] LBB0_13: Lloh14: adrp x8, _GSS_S_FAILURE@GOTPAGE Lloh15: ldr x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF] Lloh16: ldr x20, [x8] LBB0_14: mov x0, x19 bl _krb5_storage_free LBB0_15: ldr w0, [sp, #20] bl _krb5_free_context LBB0_16: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_17: Lloh17: adrp x1, l_.str@PAGE Lloh18: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _krb5_store_string LBB0_18: cbz w22, LBB0_22 ; %bb.19: ldr w0, [sp, #20] mov x2, sp mov x1, x22 bl _krb5_kt_get_full_name mov x22, x0 cbnz x0, LBB0_21 ; %bb.20: ldr x1, [sp] mov x0, x19 bl _krb5_store_string mov x22, x0 ldr x0, [sp] bl _free cbz x22, LBB0_23 LBB0_21: str x22, [x20] b LBB0_13 LBB0_22: Lloh19: adrp x1, l_.str@PAGE Lloh20: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _krb5_store_string LBB0_23: add x1, sp, #8 mov x0, x19 bl _krb5_storage_to_data cbz x0, LBB0_25 ; %bb.24: str x0, [x20] b LBB0_13 LBB0_25: ldr d0, [sp, #8] str d0, [sp, #24] Lloh21: adrp x8, _GSS_KRB5_IMPORT_CRED_X@GOTPAGE Lloh22: ldr x8, [x8, _GSS_KRB5_IMPORT_CRED_X@GOTPAGEOFF] Lloh23: ldr w2, [x8] add x3, sp, #24 mov x0, x20 mov x1, x21 bl _gss_set_cred_option mov x20, x0 add x0, sp, #8 bl _krb5_data_free b LBB0_14 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .comm _GSS_C_NO_CREDENTIAL,4,2 ; @GSS_C_NO_CREDENTIAL .comm _GSS_S_FAILURE,8,3 ; @GSS_S_FAILURE .comm _ENOMEM,8,3 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 .comm _GSS_KRB5_IMPORT_CRED_X,4,2 ; @GSS_KRB5_IMPORT_CRED_X .subsections_via_symbols
AnghaBench/freebsd/kerberos5/lib/libgssapi_krb5/extr_gss_krb5.c_gss_krb5_import_cred.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_.str(%rip), %rdi movq _s@GOTPCREL(%rip), %r14 movq %r14, %rsi xorl %eax, %eax callq _scanf .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq _q(%rip), %rax cmpb $0, (%rax) je LBB0_3 ## %bb.1: ## in Loop: Header=BB0_2 Depth=1 leaq 1(%rax), %rcx movq %rcx, _q(%rip) movzbl (%rax), %ecx leal (%rcx,%rcx,2), %ecx addb $112, %cl movb %cl, 1(%rax) jmp LBB0_2 LBB0_3: leaq -1(%rax), %rcx movq _p@GOTPCREL(%rip), %rbx movq %rcx, (%rbx) addb $8, -1(%rax) movq (%rbx), %rax cmpq _s@GOTPCREL(%rip), %rax jbe LBB0_4 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movsbl (%rax), %ecx imull $103, %ecx, %ecx movzwl %cx, %edx shrl $10, %ecx shrl $15, %edx addb %cl, %dl addb %dl, -1(%rax) movq (%rbx), %rax leaq -1(%rax), %rcx movq %rcx, (%rbx) movsbl (%rax), %ecx imull $103, %ecx, %edx movzwl %dx, %esi shrl $10, %edx shrl $15, %esi addb %dl, %sil movzbl %sil, %edx addl %edx, %edx leal (%rdx,%rdx,4), %edx subb %dl, %cl movb %cl, (%rax) movq (%rbx), %rax cmpq %r14, %rax ja LBB0_8 LBB0_4: cmpq _q(%rip), %rax jae LBB0_7 ## %bb.5: leaq L_.str.1(%rip), %r14 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movsbl (%rax), %esi movq %r14, %rdi xorl %eax, %eax callq _printf movq (%rbx), %rax incq %rax movq %rax, (%rbx) cmpq _q(%rip), %rax jb LBB0_6 LBB0_7: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _s,999,4 ## @s .section __DATA,__data .globl _q ## @q .p2align 3 _q: .quad _s .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .comm _p,8,3 ## @p L_.str.1: ## @.str.1 .asciz "%i" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x19, _s@GOTPAGE Lloh1: ldr x19, [x19, _s@GOTPAGEOFF] str x19, [sp] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _scanf adrp x20, _q@PAGE LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, _q@PAGEOFF] ldrb w9, [x8] cbz w9, LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 add x9, x8, #1 str x9, [x20, _q@PAGEOFF] ldrb w9, [x8] add w9, w9, w9, lsl #1 add w9, w9, #112 strb w9, [x8, #1] b LBB0_1 LBB0_3: sub x9, x8, #1 Lloh4: adrp x21, _p@GOTPAGE Lloh5: ldr x21, [x21, _p@GOTPAGEOFF] str x9, [x21] ldurb w9, [x8, #-1] add w9, w9, #8 sturb w9, [x8, #-1] ldr x8, [x21] cmp x8, x19 b.ls LBB0_6 ; %bb.4: mov w9, #103 mov w10, #10 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldrsb w11, [x8] mul w11, w11, w9 ubfx w12, w11, #15, #1 add w11, w12, w11, lsr #10 ldurb w12, [x8, #-1] add w11, w12, w11 sturb w11, [x8, #-1] ldr x8, [x21] sub x11, x8, #1 str x11, [x21] ldrsb w11, [x8] mul w12, w11, w9 ubfx w13, w12, #15, #1 add w12, w13, w12, lsr #10 msub w11, w12, w10, w11 strb w11, [x8] ldr x8, [x21] cmp x8, x19 b.hi LBB0_5 LBB0_6: ldr x9, [x20, _q@PAGEOFF] cmp x8, x9 b.hs LBB0_9 ; %bb.7: Lloh6: adrp x19, l_.str.1@PAGE Lloh7: add x19, x19, l_.str.1@PAGEOFF LBB0_8: ; =>This Inner Loop Header: Depth=1 ldrsb x8, [x8] str x8, [sp] mov x0, x19 bl _printf ldr x8, [x21] add x8, x8, #1 str x8, [x21] ldr x9, [x20, _q@PAGEOFF] cmp x8, x9 b.lo LBB0_8 LBB0_9: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _s,999,0 ; @s .section __DATA,__data .globl _q ; @q .p2align 3 _q: .quad _s .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" .comm _p,8,3 ; @p l_.str.1: ; @.str.1 .asciz "%i" .subsections_via_symbols
the_stack_data/206394227.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CQfull ## -- Begin function CQfull .p2align 4, 0x90 _CQfull: ## @CQfull .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsbl _f(%rip), %eax movsbl _r(%rip), %ecx movl %ecx, %edx incl %edx cmpl %eax, %edx sete %dl xorb $4, %cl orb %al, %cl sete %al orb %dl, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _CQempty ## -- Begin function CQempty .p2align 4, 0x90 _CQempty: ## @CQempty .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax cmpb $-1, _f(%rip) sete %al popq %rbp retq .cfi_endproc ## -- End function .globl _CQinsert ## -- Begin function CQinsert .p2align 4, 0x90 _CQinsert: ## @CQinsert .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsbl _f(%rip), %ecx movsbl _r(%rip), %edx movl %edx, %eax incl %eax xorb $4, %dl orb %cl, %dl sete %dl cmpl %ecx, %eax je LBB2_5 ## %bb.1: testb %dl, %dl jne LBB2_5 ## %bb.2: cmpb $-1, %cl jne LBB2_4 ## %bb.3: movb $0, _f(%rip) LBB2_4: imull $26215, %eax, %ecx ## imm = 0x6667 movl %ecx, %edx shrl $31, %edx sarl $17, %ecx addl %edx, %ecx leal (%rcx,%rcx,4), %ecx subl %ecx, %eax movb %al, _r(%rip) movswq %ax, %rax movq _CQ@GOTPCREL(%rip), %rcx movb %dil, (%rcx,%rax) popq %rbp retq LBB2_5: leaq L_.str(%rip), %rdi xorl %eax, %eax popq %rbp jmp _printf ## TAILCALL .cfi_endproc ## -- End function .globl _CQdelete ## -- Begin function CQdelete .p2align 4, 0x90 _CQdelete: ## @CQdelete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movsbl _f(%rip), %eax cmpw $-1, %ax je LBB3_1 ## %bb.2: cmpb _r(%rip), %al jne LBB3_4 ## %bb.3: movb $-1, _f(%rip) movb $-1, _r(%rip) ## implicit-def: $al jmp LBB3_5 LBB3_1: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf movb $-1, %al jmp LBB3_5 LBB3_4: movswl %ax, %ecx movswq %ax, %rax movq _CQ@GOTPCREL(%rip), %rdx movb (%rdx,%rax), %al incl %ecx imull $26215, %ecx, %edx ## imm = 0x6667 movl %edx, %esi shrl $31, %esi shrl $17, %edx addl %esi, %edx leal (%rdx,%rdx,4), %edx subl %edx, %ecx movb %cl, _f(%rip) LBB3_5: movsbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _display ## -- Begin function display .p2align 4, 0x90 _display: ## @display .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movsbl _f(%rip), %esi cmpl $-1, %esi je LBB4_1 ## %bb.2: leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movsbl _f(%rip), %eax cmpb _r(%rip), %al je LBB4_5 ## %bb.3: movq _CQ@GOTPCREL(%rip), %r14 leaq L_.str.4(%rip), %r15 .p2align 4, 0x90 LBB4_4: ## =>This Inner Loop Header: Depth=1 movslq %eax, %rbx movsbl (%r14,%rbx), %esi movq %r15, %rdi xorl %eax, %eax callq _printf movl %ebx, %eax incl %eax cltq imulq $1717986919, %rax, %rax ## imm = 0x66666667 movq %rax, %rcx shrq $63, %rcx sarq $33, %rax addl %ecx, %eax leal (%rax,%rax,4), %eax negl %eax addl %ebx, %eax incl %eax movsbl _r(%rip), %ecx cmpl %ecx, %eax jne LBB4_4 LBB4_5: cltq movq _CQ@GOTPCREL(%rip), %rcx movsbl (%rcx,%rax), %edi callq _putchar movsbl _r(%rip), %esi leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB4_6 LBB4_1: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf LBB4_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str.7(%rip), %r14 leaq L_.str.8(%rip), %r15 leaq -48(%rbp), %rbx leaq LJTI5_0(%rip), %r12 leaq L_str(%rip), %r13 jmp LBB5_1 .p2align 4, 0x90 LBB5_15: ## in Loop: Header=BB5_1 Depth=1 movq %r13, %rdi callq _puts callq _display LBB5_1: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi xorl %eax, %eax callq _printf movq %r15, %rdi movq %rbx, %rsi xorl %eax, %eax callq _scanf movl -48(%rbp), %eax decl %eax cmpl $3, %eax ja LBB5_1 ## %bb.2: ## in Loop: Header=BB5_1 Depth=1 movslq (%r12,%rax,4), %rax addq %r12, %rax jmpq *%rax LBB5_3: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.10(%rip), %rdi leaq -41(%rbp), %rsi xorl %eax, %eax callq _scanf movsbl _f(%rip), %ecx movsbl _r(%rip), %edx movl %edx, %eax incl %eax xorb $4, %dl orb %cl, %dl sete %dl cmpl %ecx, %eax je LBB5_5 ## %bb.4: ## in Loop: Header=BB5_1 Depth=1 testb %dl, %dl jne LBB5_5 ## %bb.6: ## in Loop: Header=BB5_1 Depth=1 cmpb $-1, %cl jne LBB5_8 ## %bb.7: ## in Loop: Header=BB5_1 Depth=1 movb $0, _f(%rip) LBB5_8: ## in Loop: Header=BB5_1 Depth=1 movzbl -41(%rbp), %ecx imull $26215, %eax, %edx ## imm = 0x6667 movl %edx, %esi shrl $31, %esi sarl $17, %edx addl %esi, %edx leal (%rdx,%rdx,4), %edx subl %edx, %eax movb %al, _r(%rip) movswq %ax, %rax movq _CQ@GOTPCREL(%rip), %rdx movb %cl, (%rdx,%rax) jmp LBB5_1 .p2align 4, 0x90 LBB5_9: ## in Loop: Header=BB5_1 Depth=1 movsbl _f(%rip), %eax cmpw $-1, %ax je LBB5_10 ## %bb.11: ## in Loop: Header=BB5_1 Depth=1 cmpb _r(%rip), %al jne LBB5_13 ## %bb.12: ## in Loop: Header=BB5_1 Depth=1 movb $-1, _f(%rip) movb $-1, _r(%rip) ## implicit-def: $al jmp LBB5_14 LBB5_5: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB5_1 LBB5_10: ## in Loop: Header=BB5_1 Depth=1 leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf movb $-1, -41(%rbp) jmp LBB5_1 LBB5_13: ## in Loop: Header=BB5_1 Depth=1 movswl %ax, %ecx movswq %ax, %rax movq _CQ@GOTPCREL(%rip), %rdx movzbl (%rdx,%rax), %eax incl %ecx imull $26215, %ecx, %edx ## imm = 0x6667 movl %edx, %esi shrl $31, %esi shrl $17, %edx addl %esi, %edx leal (%rdx,%rdx,4), %edx subl %edx, %ecx movb %cl, _f(%rip) movb %al, -41(%rbp) cmpb $-1, %al je LBB5_1 LBB5_14: ## in Loop: Header=BB5_1 Depth=1 movsbl %al, %esi leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB5_1 LBB5_16: xorl %edi, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L5_0_set_3, LBB5_3-LJTI5_0 .set L5_0_set_9, LBB5_9-LJTI5_0 .set L5_0_set_15, LBB5_15-LJTI5_0 .set L5_0_set_16, LBB5_16-LJTI5_0 LJTI5_0: .long L5_0_set_3 .long L5_0_set_9 .long L5_0_set_15 .long L5_0_set_16 .end_data_region ## -- End function .section __DATA,__data .globl _f ## @f _f: .byte 255 ## 0xff .globl _r ## @r _r: .byte 255 ## 0xff .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nOverflow" .comm _CQ,5,0 ## @CQ L_.str.1: ## @.str.1 .asciz "\nUnderflow" L_.str.2: ## @.str.2 .asciz "\nEmpty Queue" L_.str.3: ## @.str.3 .asciz "front[%d] --> " L_.str.4: ## @.str.4 .asciz "%c - " L_.str.6: ## @.str.6 .asciz " <-- [%d]Rear" L_.str.7: ## @.str.7 .asciz "\n1.Insert\n2.Delete\n3.Display\n4.Exit\nEnter your choice : " L_.str.8: ## @.str.8 .asciz "%d" L_.str.9: ## @.str.9 .asciz "\nEnter the element to be inserted : " L_.str.10: ## @.str.10 .asciz "%s" L_.str.11: ## @.str.11 .asciz "\nDeleted element is %c" L_str: ## @str .asciz "\nThe circular queue is " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CQfull ; -- Begin function CQfull .p2align 2 _CQfull: ; @CQfull .cfi_startproc ; %bb.0: adrp x8, _f@PAGE ldrsb w8, [x8, _f@PAGEOFF] cmp w8, #0 adrp x9, _r@PAGE ldrsb w9, [x9, _r@PAGEOFF] add w10, w9, #1 ccmp w9, #4, #0, eq ccmp w10, w8, #4, ne cset w0, eq ret .cfi_endproc ; -- End function .globl _CQempty ; -- Begin function CQempty .p2align 2 _CQempty: ; @CQempty .cfi_startproc ; %bb.0: adrp x8, _f@PAGE ldrb w8, [x8, _f@PAGEOFF] cmp w8, #255 cset w0, eq ret .cfi_endproc ; -- End function .globl _CQinsert ; -- Begin function CQinsert .p2align 2 _CQinsert: ; @CQinsert .cfi_startproc ; %bb.0: adrp x10, _f@PAGE ldrsb w11, [x10, _f@PAGEOFF] cmp w11, #0 adrp x8, _r@PAGE ldrsb w12, [x8, _r@PAGEOFF] add w9, w12, #1 ccmp w12, #4, #0, eq cset w12, eq cmp w9, w11 ccmp w12, #0, #0, ne b.eq LBB2_2 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF b _printf LBB2_2: and w11, w11, #0xff cmp w11, #255 b.ne LBB2_4 ; %bb.3: strb wzr, [x10, _f@PAGEOFF] LBB2_4: mov w10, #26215 mul w10, w9, w10 asr w11, w10, #17 add w10, w11, w10, lsr #31 add w10, w10, w10, lsl #2 sub w9, w9, w10 strb w9, [x8, _r@PAGEOFF] Lloh2: adrp x8, _CQ@GOTPAGE Lloh3: ldr x8, [x8, _CQ@GOTPAGEOFF] strb w0, [x8, w9, sxtw] ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _CQdelete ; -- Begin function CQdelete .p2align 2 _CQdelete: ; @CQdelete .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _f@PAGE ldrsb w10, [x8, _f@PAGEOFF] cmn w10, #1 b.eq LBB3_3 ; %bb.1: adrp x9, _r@PAGE ldrb w11, [x9, _r@PAGEOFF] cmp w11, w10, uxtb b.ne LBB3_4 ; %bb.2: mov w10, #255 strb w10, [x8, _f@PAGEOFF] strb w10, [x9, _r@PAGEOFF] ; implicit-def: $w9 b LBB3_5 LBB3_3: Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w9, #255 b LBB3_5 LBB3_4: Lloh6: adrp x9, _CQ@GOTPAGE Lloh7: ldr x9, [x9, _CQ@GOTPAGEOFF] ldrb w9, [x9, w10, sxtw] add w10, w10, #1 mov w11, #26215 mul w11, w10, w11 lsr w12, w11, #17 add w11, w12, w11, lsr #31 add w11, w11, w11, lsl #2 sub w10, w10, w11 strb w10, [x8, _f@PAGEOFF] LBB3_5: sxtb w0, w9 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _display ; -- Begin function display .p2align 2 _display: ; @display .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 adrp x19, _f@PAGE ldrsb w8, [x19, _f@PAGEOFF] cmn w8, #1 b.eq LBB4_5 ; %bb.1: str x8, [sp] Lloh8: adrp x0, l_.str.3@PAGE Lloh9: add x0, x0, l_.str.3@PAGEOFF bl _printf ldrsb w22, [x19, _f@PAGEOFF] adrp x20, _r@PAGE ldrb w8, [x20, _r@PAGEOFF] cmp w8, w22, uxtb Lloh10: adrp x21, _CQ@GOTPAGE Lloh11: ldr x21, [x21, _CQ@GOTPAGEOFF] b.eq LBB4_4 ; %bb.2: Lloh12: adrp x19, l_.str.4@PAGE Lloh13: add x19, x19, l_.str.4@PAGEOFF mov w23, #26215 movk w23, #26214, lsl #16 LBB4_3: ; =>This Inner Loop Header: Depth=1 ldrsb x8, [x21, w22, sxtw] str x8, [sp] mov x0, x19 bl _printf add w8, w22, #1 smull x9, w8, w23 lsr x10, x9, #63 asr x9, x9, #33 add w9, w9, w10 add w9, w9, w9, lsl #2 ldrsb w10, [x20, _r@PAGEOFF] sub w22, w8, w9 cmp w22, w10 b.ne LBB4_3 LBB4_4: ldrsb w0, [x21, w22, sxtw] bl _putchar ldrsb x8, [x20, _r@PAGEOFF] str x8, [sp] Lloh14: adrp x0, l_.str.6@PAGE Lloh15: add x0, x0, l_.str.6@PAGEOFF b LBB4_6 LBB4_5: Lloh16: adrp x0, l_.str.2@PAGE Lloh17: add x0, x0, l_.str.2@PAGEOFF LBB4_6: bl _printf ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh18: adrp x19, l_.str.7@PAGE Lloh19: add x19, x19, l_.str.7@PAGEOFF Lloh20: adrp x20, l_.str.8@PAGE Lloh21: add x20, x20, l_.str.8@PAGEOFF Lloh22: adrp x27, lJTI5_0@PAGE Lloh23: add x27, x27, lJTI5_0@PAGEOFF Lloh24: adrp x21, l_.str.9@PAGE Lloh25: add x21, x21, l_.str.9@PAGEOFF add x28, sp, #12 Lloh26: adrp x22, l_.str.10@PAGE Lloh27: add x22, x22, l_.str.10@PAGEOFF adrp x23, _f@PAGE adrp x25, _r@PAGE mov w24, #255 Lloh28: adrp x26, l_str@PAGE Lloh29: add x26, x26, l_str@PAGEOFF b LBB5_2 LBB5_1: ; in Loop: Header=BB5_2 Depth=1 mov x0, x26 bl _puts bl _display LBB5_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _printf str x28, [sp] mov x0, x20 bl _scanf ldr w8, [sp, #12] sub w8, w8, #1 cmp w8, #3 b.hi LBB5_2 ; %bb.3: ; in Loop: Header=BB5_2 Depth=1 adr x9, LBB5_1 ldrb w10, [x27, x8] add x9, x9, x10, lsl #2 br x9 LBB5_4: ; in Loop: Header=BB5_2 Depth=1 mov x0, x21 bl _printf add x8, sp, #11 str x8, [sp] mov x0, x22 bl _scanf ldrsb w9, [x23, _f@PAGEOFF] cmp w9, #0 ldrsb w10, [x25, _r@PAGEOFF] add w8, w10, #1 ccmp w10, #4, #0, eq cset w10, eq cmp w8, w9 b.eq LBB5_12 ; %bb.5: ; in Loop: Header=BB5_2 Depth=1 cbnz w10, LBB5_12 ; %bb.6: ; in Loop: Header=BB5_2 Depth=1 and w9, w9, #0xff cmp w9, #255 b.ne LBB5_8 ; %bb.7: ; in Loop: Header=BB5_2 Depth=1 strb wzr, [x23, _f@PAGEOFF] LBB5_8: ; in Loop: Header=BB5_2 Depth=1 ldrb w9, [sp, #11] mov w10, #26215 mul w10, w8, w10 asr w11, w10, #17 add w10, w11, w10, lsr #31 add w10, w10, w10, lsl #2 sub w8, w8, w10 strb w8, [x25, _r@PAGEOFF] Lloh30: adrp x10, _CQ@GOTPAGE Lloh31: ldr x10, [x10, _CQ@GOTPAGEOFF] strb w9, [x10, w8, sxtw] b LBB5_2 LBB5_9: ; in Loop: Header=BB5_2 Depth=1 ldrsb w9, [x23, _f@PAGEOFF] cmn w9, #1 b.eq LBB5_13 ; %bb.10: ; in Loop: Header=BB5_2 Depth=1 ldrb w8, [x25, _r@PAGEOFF] cmp w8, w9, uxtb b.ne LBB5_14 ; %bb.11: ; in Loop: Header=BB5_2 Depth=1 strb w24, [x23, _f@PAGEOFF] strb w24, [x25, _r@PAGEOFF] ; implicit-def: $w8 b LBB5_15 LBB5_12: ; in Loop: Header=BB5_2 Depth=1 Lloh32: adrp x0, l_.str@PAGE Lloh33: add x0, x0, l_.str@PAGEOFF bl _printf b LBB5_2 LBB5_13: ; in Loop: Header=BB5_2 Depth=1 Lloh34: adrp x0, l_.str.1@PAGE Lloh35: add x0, x0, l_.str.1@PAGEOFF bl _printf strb w24, [sp, #11] b LBB5_2 LBB5_14: ; in Loop: Header=BB5_2 Depth=1 Lloh36: adrp x8, _CQ@GOTPAGE Lloh37: ldr x8, [x8, _CQ@GOTPAGEOFF] ldrb w8, [x8, w9, sxtw] add w9, w9, #1 mov w10, #26215 mul w10, w9, w10 lsr w11, w10, #17 add w10, w11, w10, lsr #31 add w10, w10, w10, lsl #2 sub w9, w9, w10 strb w9, [x23, _f@PAGEOFF] strb w8, [sp, #11] cmp w8, #255 b.eq LBB5_2 LBB5_15: ; in Loop: Header=BB5_2 Depth=1 sxtb x8, w8 str x8, [sp] Lloh38: adrp x0, l_.str.11@PAGE Lloh39: add x0, x0, l_.str.11@PAGEOFF bl _printf b LBB5_2 LBB5_16: mov w0, #0 bl _exit .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpLdrGot Lloh36, Lloh37 .loh AdrpAdd Lloh38, Lloh39 .cfi_endproc .section __TEXT,__const lJTI5_0: .byte (LBB5_4-LBB5_1)>>2 .byte (LBB5_9-LBB5_1)>>2 .byte (LBB5_1-LBB5_1)>>2 .byte (LBB5_16-LBB5_1)>>2 ; -- End function .section __DATA,__data .globl _f ; @f _f: .byte 255 ; 0xff .globl _r ; @r _r: .byte 255 ; 0xff .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nOverflow" .comm _CQ,5,0 ; @CQ l_.str.1: ; @.str.1 .asciz "\nUnderflow" l_.str.2: ; @.str.2 .asciz "\nEmpty Queue" l_.str.3: ; @.str.3 .asciz "front[%d] --> " l_.str.4: ; @.str.4 .asciz "%c - " l_.str.6: ; @.str.6 .asciz " <-- [%d]Rear" l_.str.7: ; @.str.7 .asciz "\n1.Insert\n2.Delete\n3.Display\n4.Exit\nEnter your choice : " l_.str.8: ; @.str.8 .asciz "%d" l_.str.9: ; @.str.9 .asciz "\nEnter the element to be inserted : " l_.str.10: ; @.str.10 .asciz "%s" l_.str.11: ; @.str.11 .asciz "\nDeleted element is %c" l_str: ; @str .asciz "\nThe circular queue is " .subsections_via_symbols
the_stack_data/29392.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _xx__test_chacha20 movl %eax, %ecx movl $1, %eax testl %ecx, %ecx je LBB0_1 ## %bb.2: popq %rbp retq LBB0_1: callq _xx__test_hchacha20 movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx setne %al addl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _xx__test_chacha20 cbz w0, LBB0_2 ; %bb.1: mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: bl _xx__test_hchacha20 cmp w0, #0 cset w8, ne lsl w0, w8, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/358064.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function he_stat__add_stat _he_stat__add_stat: ## @he_stat__add_stat .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 48(%rsi), %rax addq %rax, 48(%rdi) movdqu 32(%rsi), %xmm0 movdqu (%rdi), %xmm1 movdqu 16(%rdi), %xmm2 movdqu 32(%rdi), %xmm3 paddq %xmm0, %xmm3 movdqu %xmm3, 32(%rdi) movdqu 16(%rsi), %xmm0 paddq %xmm2, %xmm0 movdqu %xmm0, 16(%rdi) movdqu (%rsi), %xmm0 paddq %xmm1, %xmm0 movdqu %xmm0, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _he_stat__add_stat .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function he_stat__add_stat _he_stat__add_stat: ; @he_stat__add_stat .cfi_startproc ; %bb.0: ldr x8, [x1, #48] ldr x9, [x0, #48] add x8, x9, x8 str x8, [x0, #48] ldr q0, [x1, #32] ldr q1, [x0, #32] add.2d v0, v1, v0 str q0, [x0, #32] ldr q0, [x1, #16] ldp q2, q1, [x0] add.2d v0, v1, v0 str q0, [x0, #16] ldr q0, [x1] add.2d v0, v2, v0 str q0, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _he_stat__add_stat .subsections_via_symbols
AnghaBench/linux/tools/perf/util/extr_hist.c_he_stat__add_stat.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function macro_params_free _macro_params_free: ## @macro_params_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 cmpq $0, (%rdi) je LBB0_1 ## %bb.2: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rdi addq %rbx, %rdi callq _macro_param_free incq %rbx movq (%r14), %rdi cmpq %rdi, %rbx jb LBB0_3 jmp LBB0_4 LBB0_1: xorl %edi, %edi LBB0_4: movq 8(%r14), %rsi popq %rbx popq %r14 popq %rbp jmp _da_free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _macro_params_free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function macro_params_free _macro_params_free: ; @macro_params_free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0] cbz x8, LBB0_3 ; %bb.1: mov x20, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x0, x20, x8 bl _macro_param_free add x20, x20, #1 ldr x0, [x19] cmp x20, x0 b.lo LBB0_2 b LBB0_4 LBB0_3: mov x0, #0 LBB0_4: ldr x1, [x19, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _da_free .cfi_endproc ; -- End function .no_dead_strip _macro_params_free .subsections_via_symbols
AnghaBench/obs-studio/libobs/util/extr_cf-lexer.c_macro_params_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bar ## -- Begin function bar .p2align 4, 0x90 _bar: ## @bar .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bar ; -- Begin function bar .p2align 2 _bar: ; @bar .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/150139387.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function find_task_in_twdt_list _find_task_in_twdt_list: ## @find_task_in_twdt_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, (%rsi) movq _twdt_config@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rcx testq %rcx, %rcx je LBB0_1 ## %bb.3: xorl %edx, %edx jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq %rdx, %rax LBB0_8: ## in Loop: Header=BB0_4 Depth=1 movq 16(%rcx), %rcx movq %rax, %rdx testq %rcx, %rcx je LBB0_2 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rax cmpq %rdi, (%rcx) je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 cmpl $0, 8(%rcx) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl $0, (%rsi) jmp LBB0_7 LBB0_1: xorl %eax, %eax LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _twdt_config,8,3 ## @twdt_config .no_dead_strip _find_task_in_twdt_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function find_task_in_twdt_list _find_task_in_twdt_list: ; @find_task_in_twdt_list .cfi_startproc ; %bb.0: mov w8, #1 str w8, [x1] Lloh0: adrp x8, _twdt_config@GOTPAGE Lloh1: ldr x8, [x8, _twdt_config@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x8, [x8] cbz x8, LBB0_7 ; %bb.1: mov x3, #0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x2, x3 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x8, #16] mov x3, x2 cbz x8, LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x9, [x8] mov x2, x8 cmp x9, x0 b.eq LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w9, [x8, #8] cbnz w9, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 str wzr, [x1] b LBB0_2 LBB0_7: mov x2, #0 LBB0_8: mov x0, x2 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _twdt_config,8,3 ; @twdt_config .no_dead_strip _find_task_in_twdt_list .subsections_via_symbols
AnghaBench/esp-idf/components/esp32/extr_task_wdt.c_find_task_in_twdt_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _der_length_utctime ## -- Begin function der_length_utctime .p2align 4, 0x90 _der_length_utctime: ## @der_length_utctime .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $24, %rsp .cfi_offset %rbx, -24 movl (%rdi), %edi leaq -24(%rbp), %rsi xorl %edx, %edx callq __heim_time2generalizedtime movq -24(%rbp), %rbx movl -16(%rbp), %edi callq _free movq %rbx, %rax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _der_length_utctime ; -- Begin function der_length_utctime .p2align 2 _der_length_utctime: ; @der_length_utctime .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr w0, [x0] mov x1, sp mov w2, #0 bl __heim_time2generalizedtime ldr x19, [sp] ldr w0, [sp, #8] bl _free mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_der_length.c_der_length_utctime.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $456, %rsp ## imm = 0x1C8 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq -452(%rbp), %rsi xorl %eax, %eax callq _scanf cmpl $0, -452(%rbp) jle LBB0_14 ## %bb.1: leaq -448(%rbp), %r15 leaq L_.str.1(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _scanf incq %rbx movslq -452(%rbp), %rax addq $4, %r15 cmpq %rax, %rbx jl LBB0_2 ## %bb.3: testl %eax, %eax jle LBB0_14 ## %bb.4: movl $1, %ebx leaq L_.str.4(%rip), %r12 ## implicit-def: $r15d jmp LBB0_5 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_5 Depth=1 leaq 1(%rbx), %rax movslq -452(%rbp), %rcx cmpq %rcx, %rbx movq %rax, %rbx jge LBB0_14 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 ## Child Loop BB0_10 Depth 3 ## Child Loop BB0_12 Depth 3 ## Child Loop BB0_17 Depth 3 ## Child Loop BB0_19 Depth 3 movl -452(%rbp,%rbx,4), %edx leaq L_.str.2(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movl -452(%rbp,%rbx,4), %eax testl %eax, %eax jle LBB0_22 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx leal 1(%rcx), %eax movl %eax, -464(%rbp) ## 4-byte Spill movl $1, %eax movl $-1, -460(%rbp) ## 4-byte Folded Spill movl %ecx, %r14d movq %rcx, -480(%rbp) ## 8-byte Spill ## kill: def $ecx killed $ecx killed $rcx movl %ecx, -456(%rbp) ## 4-byte Spill movq %rbx, -472(%rbp) ## 8-byte Spill jmp LBB0_7 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_7 Depth=2 decl %ebx movl %ebx, -456(%rbp) ## 4-byte Spill movq -472(%rbp), %rbx ## 8-byte Reload movq -488(%rbp), %r13 ## 8-byte Reload LBB0_21: ## in Loop: Header=BB0_7 Depth=2 movl $10, %edi callq _putchar leal 1(%r13), %eax decl %r14d incl -460(%rbp) ## 4-byte Folded Spill cmpl -452(%rbp,%rbx,4), %r13d ## kill: def $eax killed $eax def $rax jge LBB0_22 LBB0_7: ## Parent Loop BB0_5 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_10 Depth 3 ## Child Loop BB0_12 Depth 3 ## Child Loop BB0_17 Depth 3 ## Child Loop BB0_19 Depth 3 cmpl -464(%rbp), %eax ## 4-byte Folded Reload jle LBB0_8 ## %bb.16: ## in Loop: Header=BB0_7 Depth=2 movq %rax, -488(%rbp) ## 8-byte Spill decl %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_17: ## Parent Loop BB0_5 Depth=1 ## Parent Loop BB0_7 Depth=2 ## => This Inner Loop Header: Depth=3 movl $32, %edi callq _putchar decl %ebx cmpl %ebx, %r14d jne LBB0_17 ## %bb.18: ## in Loop: Header=BB0_7 Depth=2 movl -456(%rbp), %ebx ## 4-byte Reload movl %ebx, %r13d testl %ebx, %ebx jle LBB0_20 .p2align 4, 0x90 LBB0_19: ## Parent Loop BB0_5 Depth=1 ## Parent Loop BB0_7 Depth=2 ## => This Inner Loop Header: Depth=3 movq %r12, %rdi movl %r15d, %esi xorl %eax, %eax callq _printf addl $2, %r15d decl %r13d jne LBB0_19 jmp LBB0_20 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_7 Depth=2 movq %rax, %r13 cmpl -480(%rbp), %eax ## 4-byte Folded Reload jg LBB0_11 ## %bb.9: ## in Loop: Header=BB0_7 Depth=2 movl %r14d, %ebx .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_5 Depth=1 ## Parent Loop BB0_7 Depth=2 ## => This Inner Loop Header: Depth=3 movl $32, %edi callq _putchar decl %ebx jne LBB0_10 LBB0_11: ## in Loop: Header=BB0_7 Depth=2 movl %r13d, %ebx movl -460(%rbp), %r15d ## 4-byte Reload .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_5 Depth=1 ## Parent Loop BB0_7 Depth=2 ## => This Inner Loop Header: Depth=3 addl $2, %r15d movq %r12, %rdi movl %r15d, %esi xorl %eax, %eax callq _printf decl %ebx jne LBB0_12 ## %bb.13: ## in Loop: Header=BB0_7 Depth=2 movq -472(%rbp), %rbx ## 8-byte Reload jmp LBB0_21 LBB0_14: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_23 ## %bb.15: xorl %eax, %eax addq $456, %rsp ## imm = 0x1C8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_23: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%d" L_.str.2: ## @.str.2 .asciz "i= %d %d\n" L_.str.4: ## @.str.4 .asciz "%d " L_str: ## @str .asciz "Enter the values" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #448 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-96] Lloh3: adrp x0, l_str@PAGE Lloh4: add x0, x0, l_str@PAGEOFF bl _puts add x8, sp, #28 str x8, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr w8, [sp, #28] cmp w8, #1 b.lt LBB0_20 ; %bb.1: mov x20, #0 add x21, sp, #32 Lloh7: adrp x19, l_.str.1@PAGE Lloh8: add x19, x19, l_.str.1@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 str x21, [sp] mov x0, x19 bl _scanf add x20, x20, #1 ldrsw x8, [sp, #28] add x21, x21, #4 cmp x20, x8 b.lt LBB0_2 ; %bb.3: cmp w8, #1 b.lt LBB0_20 ; %bb.4: mov w9, #1 ; implicit-def: $w21 Lloh9: adrp x20, l_.str.4@PAGE Lloh10: add x20, x20, l_.str.4@PAGEOFF b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x10, [sp, #16] ; 8-byte Folded Reload add x8, x10, #1 ldrsw x9, [sp, #28] cmp x10, x9 mov x9, x8 b.ge LBB0_20 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_10 Depth 2 ; Child Loop BB0_17 Depth 3 ; Child Loop BB0_19 Depth 3 ; Child Loop BB0_12 Depth 3 ; Child Loop BB0_14 Depth 3 sub x23, x9, #1 lsl x19, x23, #2 add x22, sp, #32 ldr w8, [x22, x19] stp x8, x9, [sp, #8] ; 8-byte Folded Spill str x9, [sp] Lloh11: adrp x0, l_.str.2@PAGE Lloh12: add x0, x0, l_.str.2@PAGEOFF bl _printf ldr w9, [x22, x19] cmp w9, #0 cinc w8, w9, lt cmp w9, #1 b.lt LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 asr w19, w8, #1 add w25, w19, #1 mov w27, #1 mov w26, #-1 mov x28, x19 mov x24, x19 b LBB0_10 LBB0_8: ; in Loop: Header=BB0_10 Depth=2 ; kill: def $w21 killed $w21 killed $x21 def $x21 mov x24, x22 LBB0_9: ; in Loop: Header=BB0_10 Depth=2 mov w0, #10 bl _putchar add w8, w27, #1 add x9, sp, #32 ldr w9, [x9, x23, lsl #2] sub w28, w28, #1 add w26, w26, #1 cmp w27, w9 mov x27, x8 b.ge LBB0_5 LBB0_10: ; Parent Loop BB0_6 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_17 Depth 3 ; Child Loop BB0_19 Depth 3 ; Child Loop BB0_12 Depth 3 ; Child Loop BB0_14 Depth 3 cmp w27, w25 b.le LBB0_15 ; %bb.11: ; in Loop: Header=BB0_10 Depth=2 mov w22, #0 sub w21, w21, #1 LBB0_12: ; Parent Loop BB0_6 Depth=1 ; Parent Loop BB0_10 Depth=2 ; => This Inner Loop Header: Depth=3 mov w0, #32 bl _putchar sub w22, w22, #1 cmp w28, w22 b.ne LBB0_12 ; %bb.13: ; in Loop: Header=BB0_10 Depth=2 subs w22, w24, #1 b.lt LBB0_8 LBB0_14: ; Parent Loop BB0_6 Depth=1 ; Parent Loop BB0_10 Depth=2 ; => This Inner Loop Header: Depth=3 str x21, [sp] mov x0, x20 bl _printf add w21, w21, #2 subs w24, w24, #1 b.ne LBB0_14 b LBB0_8 LBB0_15: ; in Loop: Header=BB0_10 Depth=2 cmp w27, w19 b.gt LBB0_18 ; %bb.16: ; in Loop: Header=BB0_10 Depth=2 mov x21, x28 LBB0_17: ; Parent Loop BB0_6 Depth=1 ; Parent Loop BB0_10 Depth=2 ; => This Inner Loop Header: Depth=3 mov w0, #32 bl _putchar subs w21, w21, #1 b.ne LBB0_17 LBB0_18: ; in Loop: Header=BB0_10 Depth=2 mov x22, x27 mov x21, x26 LBB0_19: ; Parent Loop BB0_6 Depth=1 ; Parent Loop BB0_10 Depth=2 ; => This Inner Loop Header: Depth=3 add w21, w21, #2 str x21, [sp] mov x0, x20 bl _printf subs w22, w22, #1 b.ne LBB0_19 b LBB0_9 LBB0_20: ldur x8, [x29, #-96] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_22 ; %bb.21: mov w0, #0 add sp, sp, #448 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_22: bl ___stack_chk_fail .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%d" l_.str.2: ; @.str.2 .asciz "i= %d %d\n" l_.str.4: ; @.str.4 .asciz "%d " l_str: ; @str .asciz "Enter the values" .subsections_via_symbols
the_stack_data/50348.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function base_dir_entries _base_dir_entries: ## @base_dir_entries .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %rbx movq %rdi, -56(%rbp) ## 8-byte Spill movq (%rsi), %r15 leaq -48(%rbp), %rax movq %rax, -72(%rbp) movq %rsi, -80(%rbp) movq %rdx, -96(%rbp) movq _txn_body_dir_entries@GOTPCREL(%rip), %rax movl (%rax), %esi movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -96(%rbp), %rdx movq %r15, %rdi movq %rbx, %r8 callq _svn_fs_base__retry_txn movl %eax, %edi callq _SVN_ERR movq %rbx, %rdi callq _svn_pool_create movq %rax, %r12 movq -48(%rbp), %rsi movq %rbx, %rdi callq _apr_hash_first testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %rbx leaq -128(%rbp), %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi callq _svn_pool_clear movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx leaq -64(%rbp), %rcx callq _apr_hash_this movq -64(%rbp), %r13 movl 4(%r13), %eax movl %eax, -116(%rbp) movq _txn_body_node_kind@GOTPCREL(%rip), %rax movl (%rax), %esi movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r15, %rdi movq %r14, %rdx movq %r12, %r8 callq _svn_fs_base__retry_txn movl %eax, %edi callq _SVN_ERR movl -120(%rbp), %eax movl %eax, (%r13) movq %rbx, %rdi callq _apr_hash_next movq %rax, %rbx testq %rax, %rax jne LBB0_2 LBB0_3: movq %r12, %rdi callq _svn_pool_destroy movq -48(%rbp), %rax movq -56(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _txn_body_dir_entries,4,2 ## @txn_body_dir_entries .comm _FALSE,4,2 ## @FALSE .comm _txn_body_node_kind,4,2 ## @txn_body_node_kind .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .no_dead_strip _base_dir_entries .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function base_dir_entries _base_dir_entries: ; @base_dir_entries .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x3 mov x19, x0 ldr x20, [x1] add x8, sp, #40 stp x1, x8, [sp, #64] str x2, [sp, #48] Lloh0: adrp x8, _txn_body_dir_entries@GOTPAGE Lloh1: ldr x8, [x8, _txn_body_dir_entries@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x23, _FALSE@GOTPAGE Lloh4: ldr x23, [x23, _FALSE@GOTPAGEOFF] ldr w3, [x23] add x2, sp, #48 mov x0, x20 mov x4, x22 bl _svn_fs_base__retry_txn bl _SVN_ERR mov x0, x22 bl _svn_pool_create mov x21, x0 ldr x1, [sp, #40] mov x0, x22 bl _apr_hash_first cbz x0, LBB0_3 ; %bb.1: mov x22, x0 Lloh5: adrp x24, _txn_body_node_kind@GOTPAGE Lloh6: ldr x24, [x24, _txn_body_node_kind@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _svn_pool_clear mov x3, sp mov x0, x22 mov x1, #0 mov x2, #0 bl _apr_hash_this ldr x25, [sp] ldr w8, [x25, #4] str w8, [sp, #20] ldr w1, [x24] ldr w3, [x23] add x2, sp, #8 mov x0, x20 mov x4, x21 bl _svn_fs_base__retry_txn bl _SVN_ERR ldr w8, [sp, #16] str w8, [x25] mov x0, x22 bl _apr_hash_next mov x22, x0 cbnz x0, LBB0_2 LBB0_3: mov x0, x21 bl _svn_pool_destroy ldr x8, [sp, #40] str x8, [x19] Lloh7: adrp x8, _SVN_NO_ERROR@GOTPAGE Lloh8: ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] Lloh9: ldr x0, [x8] ldp x29, x30, [sp, #144] ; 16-byte Folded Reload ldp x20, x19, [sp, #128] ; 16-byte Folded Reload ldp x22, x21, [sp, #112] ; 16-byte Folded Reload ldp x24, x23, [sp, #96] ; 16-byte Folded Reload ldp x26, x25, [sp, #80] ; 16-byte Folded Reload add sp, sp, #160 ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _txn_body_dir_entries,4,2 ; @txn_body_dir_entries .comm _FALSE,4,2 ; @FALSE .comm _txn_body_node_kind,4,2 ; @txn_body_node_kind .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .no_dead_strip _base_dir_entries .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/extr_tree.c_base_dir_entries.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function idtg2_get_domain _idtg2_get_domain: ## @idtg2_get_domain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rcx, %rbx movq _IDT_RIO_DOMAIN@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -12(%rbp), %r8 callq _rio_mport_read_config_32 movzbl -12(%rbp), %eax movq %rax, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _IDT_RIO_DOMAIN,4,2 ## @IDT_RIO_DOMAIN .no_dead_strip _idtg2_get_domain .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function idtg2_get_domain _idtg2_get_domain: ; @idtg2_get_domain .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x3 Lloh0: adrp x8, _IDT_RIO_DOMAIN@GOTPAGE Lloh1: ldr x8, [x8, _IDT_RIO_DOMAIN@GOTPAGEOFF] Lloh2: ldr w3, [x8] add x4, sp, #12 bl _rio_mport_read_config_32 ldrb w8, [sp, #12] str x8, [x19] mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IDT_RIO_DOMAIN,4,2 ; @IDT_RIO_DOMAIN .no_dead_strip _idtg2_get_domain .subsections_via_symbols
AnghaBench/linux/drivers/rapidio/switches/extr_idt_gen2.c_idtg2_get_domain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipc_helper_bind_twice ## -- Begin function ipc_helper_bind_twice .p2align 4, 0x90 _ipc_helper_bind_twice: ## @ipc_helper_bind_twice .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _TEST_PORT@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi leaq -48(%rbp), %r14 movq %r14, %rdx callq _uv_ip4_addr xorl %edi, %edi testq %rax, %rax sete %dil callq _ASSERT xorl %eax, %eax callq _uv_default_loop movq _channel@GOTPCREL(%rip), %r13 movl %eax, %edi movq %r13, %rsi movl $1, %edx callq _uv_pipe_init xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT movq %r13, %rdi xorl %esi, %esi callq _uv_pipe_open movq %r13, %rdi callq _uv_is_readable xorl %edi, %edi cmpl $1, %eax sete %dil callq _ASSERT movq %r13, %rdi callq _uv_is_writable xorl %edi, %edi cmpl $1, %eax sete %dil callq _ASSERT movq %r13, %rdi callq _uv_is_closing xorl %edi, %edi testq %rax, %rax sete %dil callq _ASSERT leaq L_.str.1(%rip), %rdi movl $6, %esi callq _uv_buf_init movl %eax, -44(%rbp) xorl %eax, %eax callq _uv_default_loop movq _tcp_server@GOTPCREL(%rip), %r15 movl %eax, %edi movq %r15, %rsi callq _uv_tcp_init xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT xorl %eax, %eax callq _uv_default_loop movq _tcp_server2@GOTPCREL(%rip), %r12 movl %eax, %edi movq %r12, %rsi callq _uv_tcp_init xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT movq %r15, %rdi movq %r14, %rsi xorl %edx, %edx callq _uv_tcp_bind xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT movq %r12, %rdi movq %r14, %rsi xorl %edx, %edx callq _uv_tcp_bind xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT movq _write_req@GOTPCREL(%rip), %rdi leaq -44(%rbp), %rbx movq %r13, %rsi movq %rbx, %rdx movl $1, %ecx movq %r15, %r8 xorl %r9d, %r9d callq _uv_write2 xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT movq _write_req2@GOTPCREL(%rip), %rdi movq %r13, %rsi movq %rbx, %rdx movl $1, %ecx movq %r12, %r8 xorl %r9d, %r9d callq _uv_write2 xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT xorl %eax, %eax callq _uv_default_loop movq _UV_RUN_DEFAULT@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %eax, %edi callq _uv_run xorl %edi, %edi testl %eax, %eax sete %dil callq _ASSERT xorl %eax, %eax callq _MAKE_VALGRIND_HAPPY xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0.0.0.0" .comm _TEST_PORT,4,2 ## @TEST_PORT .comm _channel,4,2 ## @channel L_.str.1: ## @.str.1 .asciz "hello\n" .comm _tcp_server,4,2 ## @tcp_server .comm _tcp_server2,4,2 ## @tcp_server2 .comm _write_req,4,2 ## @write_req .comm _write_req2,4,2 ## @write_req2 .comm _UV_RUN_DEFAULT,4,2 ## @UV_RUN_DEFAULT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipc_helper_bind_twice ; -- Begin function ipc_helper_bind_twice .p2align 2 _ipc_helper_bind_twice: ; @ipc_helper_bind_twice .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _TEST_PORT@GOTPAGE Lloh1: ldr x8, [x8, _TEST_PORT@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF add x2, sp, #8 bl _uv_ip4_addr cmp x0, #0 cset w0, eq bl _ASSERT bl _uv_default_loop Lloh5: adrp x19, _channel@GOTPAGE Lloh6: ldr x19, [x19, _channel@GOTPAGEOFF] mov x1, x19 mov w2, #1 bl _uv_pipe_init cmp w0, #0 cset w0, eq bl _ASSERT mov x0, x19 mov w1, #0 bl _uv_pipe_open mov x0, x19 bl _uv_is_readable cmp w0, #1 cset w0, eq bl _ASSERT mov x0, x19 bl _uv_is_writable cmp w0, #1 cset w0, eq bl _ASSERT mov x0, x19 bl _uv_is_closing cmp x0, #0 cset w0, eq bl _ASSERT Lloh7: adrp x0, l_.str.1@PAGE Lloh8: add x0, x0, l_.str.1@PAGEOFF mov w1, #6 bl _uv_buf_init str w0, [sp, #4] bl _uv_default_loop Lloh9: adrp x20, _tcp_server@GOTPAGE Lloh10: ldr x20, [x20, _tcp_server@GOTPAGEOFF] mov x1, x20 bl _uv_tcp_init cmp w0, #0 cset w0, eq bl _ASSERT bl _uv_default_loop Lloh11: adrp x21, _tcp_server2@GOTPAGE Lloh12: ldr x21, [x21, _tcp_server2@GOTPAGEOFF] mov x1, x21 bl _uv_tcp_init cmp w0, #0 cset w0, eq bl _ASSERT add x1, sp, #8 mov x0, x20 mov w2, #0 bl _uv_tcp_bind cmp w0, #0 cset w0, eq bl _ASSERT add x1, sp, #8 mov x0, x21 mov w2, #0 bl _uv_tcp_bind cmp w0, #0 cset w0, eq bl _ASSERT Lloh13: adrp x0, _write_req@GOTPAGE Lloh14: ldr x0, [x0, _write_req@GOTPAGEOFF] add x2, sp, #4 mov x1, x19 mov w3, #1 mov x4, x20 mov x5, #0 bl _uv_write2 cmp w0, #0 cset w0, eq bl _ASSERT Lloh15: adrp x0, _write_req2@GOTPAGE Lloh16: ldr x0, [x0, _write_req2@GOTPAGEOFF] add x2, sp, #4 mov x1, x19 mov w3, #1 mov x4, x21 mov x5, #0 bl _uv_write2 cmp w0, #0 cset w0, eq bl _ASSERT bl _uv_default_loop Lloh17: adrp x8, _UV_RUN_DEFAULT@GOTPAGE Lloh18: ldr x8, [x8, _UV_RUN_DEFAULT@GOTPAGEOFF] Lloh19: ldr w1, [x8] bl _uv_run cmp w0, #0 cset w0, eq bl _ASSERT bl _MAKE_VALGRIND_HAPPY mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0.0.0.0" .comm _TEST_PORT,4,2 ; @TEST_PORT .comm _channel,4,2 ; @channel l_.str.1: ; @.str.1 .asciz "hello\n" .comm _tcp_server,4,2 ; @tcp_server .comm _tcp_server2,4,2 ; @tcp_server2 .comm _write_req,4,2 ; @write_req .comm _write_req2,4,2 ; @write_req2 .comm _UV_RUN_DEFAULT,4,2 ; @UV_RUN_DEFAULT .subsections_via_symbols
AnghaBench/libuv/test/extr_test-ipc.c_ipc_helper_bind_twice.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function skcipher_done_slow _skcipher_done_slow: ## @skcipher_done_slow .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movq 8(%rdi), %rsi movq 16(%rdi), %rdi incq %rsi callq _ALIGN movq %rax, %rdi movl %r14d, %esi callq _skcipher_get_spot movq _SKCIPHER_WALK_PHYS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl (%rbx), %ecx addq $4, %rbx cmpl $1, %ecx movl $2, %ecx sbbl $0, %ecx movq %rax, %rdi movq %rbx, %rsi movl %r14d, %edx callq _scatterwalk_copychunks xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _SKCIPHER_WALK_PHYS,4,2 ## @SKCIPHER_WALK_PHYS .no_dead_strip _skcipher_done_slow .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function skcipher_done_slow _skcipher_done_slow: ; @skcipher_done_slow .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr x0, [x0, #16] ldr x8, [x20, #8] add x1, x8, #1 bl _ALIGN mov x1, x19 bl _skcipher_get_spot add x1, x20, #4 ldr w8, [x20] Lloh0: adrp x9, _SKCIPHER_WALK_PHYS@GOTPAGE Lloh1: ldr x9, [x9, _SKCIPHER_WALK_PHYS@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 mov w8, #1 cinc w3, w8, ne mov x2, x19 bl _scatterwalk_copychunks mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SKCIPHER_WALK_PHYS,4,2 ; @SKCIPHER_WALK_PHYS .no_dead_strip _skcipher_done_slow .subsections_via_symbols
AnghaBench/linux/crypto/extr_skcipher.c_skcipher_done_slow.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bn_add_words ## -- Begin function bn_add_words .p2align 4, 0x90 _bn_add_words: ## @bn_add_words .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r13d movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movl %ecx, %edi notl %edi shrl $31, %edi callq _assert testl %r13d, %r13d jle LBB0_1 ## %bb.2: movq _BN_MASK2@GOTPCREL(%rip), %rcx movl (%rcx), %eax movl (%r15), %edx andl %eax, %edx movl %edx, %esi shrl $31, %esi movl (%r14), %edi addl %edx, %edi andl %eax, %edi xorl %eax, %eax cmpl %edx, %edi setl %al addl %esi, %eax movl %edi, (%r12) cmpl $1, %r13d je LBB0_8 ## %bb.3: movl (%rcx), %ecx movl %r13d, %r9d leaq -2(%r9), %r8 addq $-4, %r9 xorl %edi, %edi .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl 4(%r15,%rdi,4), %esi addl %eax, %esi andl %ecx, %esi xorl %edx, %edx cmpl %eax, %esi setl %dl movl 4(%r14,%rdi,4), %ebx addl %esi, %ebx andl %ecx, %ebx xorl %eax, %eax cmpl %esi, %ebx setl %al addl %edx, %eax movl %ebx, 4(%r12,%rdi,4) cmpl %edi, %r8d je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl 8(%r15,%rdi,4), %edx addl %eax, %edx andl %ecx, %edx xorl %esi, %esi cmpl %eax, %edx setl %sil movl 8(%r14,%rdi,4), %ebx addl %edx, %ebx andl %ecx, %ebx xorl %eax, %eax cmpl %edx, %ebx setl %al addl %esi, %eax movl %ebx, 8(%r12,%rdi,4) subl $4, %r13d jb LBB0_8 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl 12(%r15,%rdi,4), %edx addl %eax, %edx andl %ecx, %edx xorl %esi, %esi cmpl %eax, %edx setl %sil movl 12(%r14,%rdi,4), %ebx addl %edx, %ebx andl %ecx, %ebx xorl %eax, %eax cmpl %edx, %ebx setl %al addl %esi, %eax movl %ebx, 12(%r12,%rdi,4) cmpl %edi, %r9d je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movl 16(%r15,%rdi,4), %edx addl %eax, %edx andl %ecx, %edx xorl %esi, %esi cmpl %eax, %edx setl %sil movl 16(%r14,%rdi,4), %ebx addl %edx, %ebx andl %ecx, %ebx xorl %eax, %eax cmpl %edx, %ebx setl %al addl %esi, %eax movl %ebx, 16(%r12,%rdi,4) leal 4(%r13), %edx addq $4, %rdi cmpl $5, %edx jg LBB0_4 jmp LBB0_8 LBB0_1: xorl %eax, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _BN_MASK2,4,2 ## @BN_MASK2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bn_add_words ; -- Begin function bn_add_words .p2align 2 _bn_add_words: ; @bn_add_words .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x3 mov x19, x2 mov x20, x1 mov x22, x0 mvn w8, w3 lsr w0, w8, #31 bl _assert cmp w21, #1 b.lt LBB0_7 ; %bb.1: ldr w9, [x20] Lloh0: adrp x8, _BN_MASK2@GOTPAGE Lloh1: ldr x8, [x8, _BN_MASK2@GOTPAGEOFF] ldr w10, [x8] and w9, w9, w10 lsr w11, w9, #31 ldr w12, [x19] add w12, w9, w12 and w10, w12, w10 cmp w10, w9 cinc w0, w11, lt str w10, [x22] cmp w21, #1 b.eq LBB0_8 ; %bb.2: ldr w8, [x8] add w12, w21, #4 add x9, x22, #8 add x10, x20, #8 add x11, x19, #16 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldur w13, [x10, #-4] add w13, w13, w0 and w13, w13, w8 cmp w13, w0 cset w14, lt ldur w15, [x11, #-12] add w15, w13, w15 and w15, w15, w8 cmp w15, w13 cinc w0, w14, lt stur w15, [x9, #-4] cmp w12, #6 b.eq LBB0_8 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 sub w13, w12, #4 ldr w14, [x10] add w14, w14, w0 and w14, w14, w8 cmp w14, w0 cset w15, lt ldur w16, [x11, #-8] add w16, w14, w16 and w16, w16, w8 cmp w16, w14 cinc w0, w15, lt str w16, [x9] cmp w13, #4 b.lo LBB0_8 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr w14, [x10, #4] add w14, w14, w0 and w14, w14, w8 cmp w14, w0 cset w15, lt ldur w16, [x11, #-4] add w16, w14, w16 and w16, w16, w8 cmp w16, w14 cinc w0, w15, lt str w16, [x9, #4] cmp w12, #8 b.eq LBB0_8 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldr w12, [x10, #8] add w12, w12, w0 and w12, w12, w8 cmp w12, w0 cset w14, lt ldr w15, [x11], #16 add w15, w12, w15 and w15, w15, w8 cmp w15, w12 cinc w0, w14, lt str w15, [x9, #8] add x9, x9, #16 add x10, x10, #16 mov x12, x13 cmp w13, #5 b.gt LBB0_3 b LBB0_8 LBB0_7: mov w0, #0 LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _BN_MASK2,4,2 ; @BN_MASK2 .subsections_via_symbols
AnghaBench/openwrt/package/network/services/ead/src/tinysrp/extr_bn_asm.c_bn_add_words.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function x86_pmu_rdpmc_index _x86_pmu_rdpmc_index: ## @x86_pmu_rdpmc_index .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _x86_pmu@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp jmpq *%rax ## TAILCALL LBB0_1: movl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _x86_pmu,8,3 ## @x86_pmu .no_dead_strip _x86_pmu_rdpmc_index .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function x86_pmu_rdpmc_index _x86_pmu_rdpmc_index: ; @x86_pmu_rdpmc_index .cfi_startproc ; %bb.0: Lloh0: adrp x8, _x86_pmu@GOTPAGE Lloh1: ldr x8, [x8, _x86_pmu@GOTPAGEOFF] Lloh2: ldr x1, [x8] cbz x1, LBB0_2 ; %bb.1: br x1 LBB0_2: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _x86_pmu,8,3 ; @x86_pmu .no_dead_strip _x86_pmu_rdpmc_index .subsections_via_symbols
AnghaBench/linux/arch/x86/events/amd/extr_..perf_event.h_x86_pmu_rdpmc_index.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BIO_dump_cb ## -- Begin function BIO_dump_cb .p2align 4, 0x90 _BIO_dump_cb: ## @BIO_dump_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %r8d, %r8d popq %rbp jmp _BIO_dump_indent_cb ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _BIO_dump_cb ; -- Begin function BIO_dump_cb .p2align 2 _BIO_dump_cb: ; @BIO_dump_cb .cfi_startproc ; %bb.0: mov w4, #0 b _BIO_dump_indent_cb .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_b_dump.c_BIO_dump_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function tbm_union_page _tbm_union_page: ## @tbm_union_page .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx cmpq $0, 16(%rsi) je LBB0_8 ## %bb.1: movq _WORDS_PER_CHUNK@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jle LBB0_14 ## %bb.2: xorl %r12d, %r12d movq %r15, -48(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 leaq -1(%r12), %rcx movslq %eax, %rdx cmpq %rdx, %r12 movq %rcx, %r12 jg LBB0_14 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq (%r15), %rcx movl (%rcx,%r12,4), %r14d testl %r14d, %r14d je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq 24(%r15), %r15 movq _BITS_PER_BITMAPWORD@GOTPCREL(%rip), %rax movslq (%rax), %rax imulq %r12, %rax subq %rax, %r15 movl %r14d, %r13d .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rbx, %rdi movq %r15, %rsi callq _tbm_mark_page_lossy incq %r15 sarl %r13d cmpl $1, %r14d movl %r13d, %r14d ja LBB0_5 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq _WORDS_PER_CHUNK@GOTPCREL(%rip), %rax movl (%rax), %eax movq -48(%rbp), %r15 ## 8-byte Reload jmp LBB0_7 LBB0_8: movq 24(%r15), %rsi movq %rbx, %rdi callq _tbm_page_is_lossy testq %rax, %rax jne LBB0_15 ## %bb.9: movq 24(%r15), %rsi movq %rbx, %rdi callq _tbm_get_pageentry cmpq $0, 16(%rax) je LBB0_10 ## %bb.16: movq (%rax), %rax orl $1, (%rax) jmp LBB0_14 LBB0_10: movq _WORDS_PER_PAGE@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) jle LBB0_13 ## %bb.11: movq (%r15), %rdx movq (%rax), %rsi xorl %edi, %edi .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movl (%rdx,%rdi,4), %r8d orl %r8d, (%rsi,%rdi,4) incq %rdi movslq (%rcx), %r8 cmpq %r8, %rdi jl LBB0_12 LBB0_13: movl 8(%r15), %ecx orl %ecx, 8(%rax) LBB0_14: movq (%rbx), %rax cmpq 8(%rbx), %rax jle LBB0_15 ## %bb.17: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _tbm_lossify ## TAILCALL LBB0_15: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _WORDS_PER_CHUNK,4,2 ## @WORDS_PER_CHUNK .comm _BITS_PER_BITMAPWORD,4,2 ## @BITS_PER_BITMAPWORD .comm _WORDS_PER_PAGE,4,2 ## @WORDS_PER_PAGE .no_dead_strip _tbm_union_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function tbm_union_page _tbm_union_page: ; @tbm_union_page .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x1 mov x19, x0 ldr x8, [x1, #16] cbz x8, LBB0_8 ; %bb.1: Lloh0: adrp x22, _WORDS_PER_CHUNK@GOTPAGE Lloh1: ldr x22, [x22, _WORDS_PER_CHUNK@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_15 ; %bb.2: mov x23, #0 ; =0x0 Lloh2: adrp x24, _BITS_PER_BITMAPWORD@GOTPAGE Lloh3: ldr x24, [x24, _BITS_PER_BITMAPWORD@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp x23, w8, sxtw sub x23, x23, #1 b.gt LBB0_15 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ldr x9, [x20] ldr w25, [x9, x23, lsl #2] cbz w25, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20, #24] ldrsw x9, [x24] msub x21, x23, x9, x8 LBB0_6: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x19 mov x1, x21 bl _tbm_mark_page_lossy add x21, x21, #1 asr w8, w25, #1 cmp w25, #1 mov x25, x8 b.hi LBB0_6 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x22] b LBB0_3 LBB0_8: ldr x1, [x20, #24] mov x0, x19 bl _tbm_page_is_lossy cbnz x0, LBB0_17 ; %bb.9: ldr x1, [x20, #24] mov x0, x19 bl _tbm_get_pageentry ldr x8, [x0, #16] cbz x8, LBB0_11 ; %bb.10: ldr x8, [x0] ldr w9, [x8] orr w9, w9, #0x1 str w9, [x8] b LBB0_15 LBB0_11: Lloh4: adrp x8, _WORDS_PER_PAGE@GOTPAGE Lloh5: ldr x8, [x8, _WORDS_PER_PAGE@GOTPAGEOFF] ldr w9, [x8] cmp w9, #1 b.lt LBB0_14 ; %bb.12: mov x9, #0 ; =0x0 ldr x10, [x20] ldr x11, [x0] LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr w12, [x10, x9, lsl #2] ldr w13, [x11, x9, lsl #2] orr w12, w13, w12 str w12, [x11, x9, lsl #2] add x9, x9, #1 ldrsw x12, [x8] cmp x9, x12 b.lt LBB0_13 LBB0_14: ldr w8, [x20, #8] ldr w9, [x0, #8] orr w8, w9, w8 str w8, [x0, #8] LBB0_15: ldp x8, x9, [x19] cmp x8, x9 b.le LBB0_17 ; %bb.16: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _tbm_lossify LBB0_17: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _WORDS_PER_CHUNK,4,2 ; @WORDS_PER_CHUNK .comm _BITS_PER_BITMAPWORD,4,2 ; @BITS_PER_BITMAPWORD .comm _WORDS_PER_PAGE,4,2 ; @WORDS_PER_PAGE .no_dead_strip _tbm_union_page .subsections_via_symbols
assembly_file_109103.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sha1_hashBlock _sha1_hashBlock: ## @sha1_hashBlock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -56(%rbp) ## 8-byte Spill movq (%rdi), %rdx movl (%rdx), %ebx movl 4(%rdx), %esi movl 8(%rdx), %eax movl 12(%rdx), %ecx movl 16(%rdx), %edi xorl %r8d, %r8d jmp LBB0_1 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movl -44(%rbp), %eax ## 4-byte Reload movl -48(%rbp), %ebx ## 4-byte Reload movl %r15d, %esi movl %r12d, %edi LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq %r13, -64(%rbp) ## 8-byte Spill movl %r14d, %r12d xorl %eax, %r14d andl %esi, %r14d xorl %r12d, %r14d addl $1518500249, %r14d ## imm = 0x5A827999 movl %esi, %r13d LBB0_11: ## in Loop: Header=BB0_1 Depth=1 addl %edi, %r14d movl %ebx, %r15d movl %ebx, %edi movl $5, %esi callq _rol32 movl %eax, %ebx movq -56(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax addl %r14d, %ebx movq -64(%rbp), %rcx ## 8-byte Reload addl (%rax,%rcx,4), %ebx movl %r13d, %edi movl $30, %esi callq _rol32 movq -72(%rbp), %r8 ## 8-byte Reload incq %r8 movl %r12d, %edi movl -44(%rbp), %edx ## 4-byte Reload movl %edx, %ecx movl %r15d, %esi cmpl $80, %r8d je LBB0_12 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %ecx, %r14d movq %r8, %r13 cmpl $16, %r8d movl %eax, -44(%rbp) ## 4-byte Spill movq %r8, -72(%rbp) ## 8-byte Spill jb LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %edi, %r12d movl %esi, %r15d movl %ebx, -48(%rbp) ## 4-byte Spill movq -56(%rbp), %rbx ## 8-byte Reload movq 8(%rbx), %rax leal 13(%r8), %ecx andl $15, %ecx leal 8(%r8), %edx andl $15, %edx movl (%rax,%rdx,4), %edi xorl (%rax,%rcx,4), %edi leal 2(%r8), %ecx andl $15, %ecx xorl (%rax,%rcx,4), %edi movl %r8d, %r13d andl $15, %r13d xorl (%rax,%r13,4), %edi movl $1, %esi callq _rol32 movq -72(%rbp), %r8 ## 8-byte Reload movq 8(%rbx), %rcx movl %eax, (%rcx,%r13,4) cmpl $19, %r8d jbe LBB0_3 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 cmpl $39, %r8d movl %r12d, %edi movq %r13, -64(%rbp) ## 8-byte Spill ja LBB0_7 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movl %r14d, %r12d xorl -44(%rbp), %r14d ## 4-byte Folded Reload movl %r15d, %r13d xorl %r15d, %r14d addl $1859775393, %r14d ## imm = 0x6ED9EBA1 jmp LBB0_10 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 cmpl $59, %r8d ja LBB0_9 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movl -44(%rbp), %ecx ## 4-byte Reload movl %ecx, %eax andl %r15d, %eax movl %r14d, %r12d movl %ecx, %r14d movl %r15d, %r13d orl %r15d, %r14d andl %r12d, %r14d orl %eax, %r14d addl $-1894007588, %r14d ## imm = 0x8F1BBCDC jmp LBB0_10 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movl %r14d, %r12d xorl -44(%rbp), %r14d ## 4-byte Folded Reload movl %r15d, %r13d xorl %r15d, %r14d addl $-899497514, %r14d ## imm = 0xCA62C1D6 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movl -48(%rbp), %ebx ## 4-byte Reload jmp LBB0_11 LBB0_12: movq -56(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rcx movd %ebx, %xmm0 pinsrd $1, %r15d, %xmm0 pinsrd $2, %eax, %xmm0 movdqu (%rcx), %xmm1 pinsrd $3, %edx, %xmm0 paddd %xmm1, %xmm0 movdqu %xmm0, (%rcx) addl %r12d, 16(%rcx) addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sha1_hashBlock .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sha1_hashBlock _sha1_hashBlock: ; @sha1_hashBlock .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 mov x22, #0 ldr x9, [x0] ldp w25, w20, [x9] ldp w0, w8, [x9, #8] ldr w24, [x9, #16] mov w28, #31129 movk w28, #23170, lsl #16 b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 bic w8, w23, w20 and w9, w27, w20 orr w8, w9, w8 add w26, w8, w28 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 mov w1, #5 bl _rol32 ldr x8, [x19, #8] ldr w8, [x8, x25, lsl #2] add w9, w26, w24 add w9, w9, w0 add w25, w9, w8 mov x0, x20 mov w1, #30 bl _rol32 add x22, x22, #1 mov x24, x23 mov x8, x27 mov x20, x21 cmp w22, #80 b.eq LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x21, x25 mov x27, x0 mov x23, x8 mov x25, x22 cmp w22, #16 b.lo LBB0_1 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #8] add w9, w22, #13 and w9, w9, #0xf ldr w9, [x8, w9, uxtw #2] add w10, w22, #8 and w10, w10, #0xf ldr w10, [x8, w10, uxtw #2] eor w9, w10, w9 add w10, w22, #2 and w10, w10, #0xf ldr w10, [x8, w10, uxtw #2] eor w9, w9, w10 and w25, w22, #0xf lsl x26, x25, #2 ldr w8, [x8, x26] eor w0, w9, w8 mov w1, #1 bl _rol32 ldr x8, [x19, #8] str w0, [x8, x26] cmp w22, #19 b.ls LBB0_1 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 eor w8, w23, w27 eor w8, w8, w20 mov w9, #49622 movk w9, #51810, lsl #16 add w9, w8, w9 and w10, w27, w20 orr w11, w27, w20 and w11, w23, w11 orr w10, w11, w10 mov w11, #48348 movk w11, #36635, lsl #16 add w10, w10, w11 cmp w22, #59 csel w9, w9, w10, hi mov w10, #60321 movk w10, #28377, lsl #16 add w8, w8, w10 cmp w22, #39 csel w26, w9, w8, hi b LBB0_2 LBB0_6: ldr x8, [x19] ldp w9, w10, [x8] add w9, w9, w25 add w10, w10, w21 stp w9, w10, [x8] ldp w9, w10, [x8, #8] add w9, w9, w0 add w10, w10, w27 stp w9, w10, [x8, #8] ldr w9, [x8, #16] add w9, w9, w23 str w9, [x8, #16] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _sha1_hashBlock .subsections_via_symbols
AnghaBench/h2o/deps/klib/extr_kurl.c_sha1_hashBlock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cmp_header _cmp_header: ## @cmp_header .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 movq %rsi, %rdi callq _strlen movl %eax, %r12d movq (%r15), %r14 movq %r14, %rdi movq %rbx, %rsi movl %eax, %edx callq _strncasecmp movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB0_4 ## %bb.1: cmpl %r12d, 8(%r15) jle LBB0_4 ## %bb.2: movslq %r12d, %rcx cmpb $58, (%r14,%rcx) jne LBB0_4 ## %bb.3: movsbl 1(%rcx,%r14), %edi callq _isspace movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx setne %al LBB0_4: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cmp_header .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cmp_header _cmp_header: ; @cmp_header .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x22, x1 mov x21, x0 mov x0, x1 bl _strlen mov x20, x0 ldr x19, [x21] mov x0, x19 mov x1, x22 mov x2, x20 bl _strncasecmp cbnz w0, LBB0_4 ; %bb.1: ldr w8, [x21, #8] cmp w8, w20 b.le LBB0_4 ; %bb.2: sxtw x8, w20 ldrb w9, [x19, x8] cmp w9, #58 b.ne LBB0_4 ; %bb.3: add x8, x8, x19 ldrsb w0, [x8, #1] bl _isspace cmp x0, #0 cset w0, ne b LBB0_5 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _cmp_header .subsections_via_symbols
AnghaBench/git/t/t4256/1/extr_mailinfo.c_cmp_header.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _calc1_lex ## -- Begin function calc1_lex .p2align 4, 0x90 _calc1_lex: ## @calc1_lex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $32, %eax je LBB0_1 ## %bb.2: movl %eax, %ebx cmpl $127, %eax ja LBB0_5 ## %bb.3: movl %ebx, %eax movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx movl 60(%rcx,%rax,4), %eax testl $32768, %eax ## imm = 0x8000 jne LBB0_6 ## %bb.4: andl $4096, %eax ## imm = 0x1000 testl %eax, %eax je LBB0_10 LBB0_9: addl $-97, %ebx movq _calc1_lval@GOTPCREL(%rip), %rax movl %ebx, (%rax) movl $257, %ebx ## imm = 0x101 jmp LBB0_23 LBB0_5: movl $32768, %esi ## imm = 0x8000 movl %ebx, %edi callq ___maskrune testl %eax, %eax je LBB0_7 LBB0_6: addl $-65, %ebx movq _calc1_lval@GOTPCREL(%rip), %rax movl %ebx, (%rax) movl $258, %ebx ## imm = 0x102 LBB0_23: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_25 ## %bb.24: movl %ebx, %eax addq $64, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: movl $4096, %esi ## imm = 0x1000 movl %ebx, %edi callq ___maskrune testl %eax, %eax jne LBB0_9 LBB0_10: cmpl $46, %ebx je LBB0_12 ## %bb.11: movl %ebx, %eax addl $-48, %eax cmpl $9, %eax ja LBB0_23 LBB0_12: xorl %r14d, %r14d xorl %r12d, %r12d xorl %r15d, %r15d jmp LBB0_13 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_13 Depth=1 testl %r12d, %r12d movl $1, %r12d jne LBB0_23 LBB0_19: ## in Loop: Header=BB0_13 Depth=1 callq _getchar movl %eax, %ebx incq %r14 cmpq $50, %r14 je LBB0_20 LBB0_13: ## =>This Inner Loop Header: Depth=1 movb %bl, -96(%rbp,%r14) leal -48(%rbx), %eax cmpl $10, %eax jb LBB0_19 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 cmpl $101, %ebx je LBB0_18 ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 cmpl $46, %ebx jne LBB0_21 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 orl %r12d, %r15d jne LBB0_23 ## %bb.17: ## in Loop: Header=BB0_13 Depth=1 xorl %r12d, %r12d movl $1, %r15d jmp LBB0_19 LBB0_20: movb $0, -96(%rbp,%r14) leaq L_str(%rip), %rdi callq _puts jmp LBB0_22 LBB0_21: movb $0, -96(%rbp,%r14) movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rsi movl %ebx, %edi callq _ungetc LBB0_22: leaq -96(%rbp), %rdi callq _atof movq _calc1_lval@GOTPCREL(%rip), %rax movsd %xmm0, (%rax) movl $259, %ebx ## imm = 0x103 jmp LBB0_23 LBB0_25: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _vmul ## -- Begin function vmul .p2align 4, 0x90 _vmul: ## @vmul .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movapd %xmm0, %xmm4 movapd %xmm0, %xmm5 mulsd %xmm3, %xmm5 mulsd %xmm2, %xmm4 mulsd %xmm1, %xmm3 mulsd %xmm2, %xmm1 movapd %xmm4, %xmm0 minsd %xmm5, %xmm0 maxsd %xmm4, %xmm5 ucomisd %xmm1, %xmm3 jbe LBB1_3 ## %bb.1: maxsd %xmm5, %xmm3 ucomisd %xmm1, %xmm0 jbe LBB1_6 ## %bb.2: movapd %xmm1, %xmm0 jmp LBB1_6 LBB1_3: maxsd %xmm5, %xmm1 ucomisd %xmm3, %xmm0 jbe LBB1_5 ## %bb.4: movapd %xmm3, %xmm0 LBB1_5: movapd %xmm1, %xmm3 LBB1_6: movapd %xmm3, %xmm1 popq %rbp retq .cfi_endproc ## -- End function .globl _dcheck ## -- Begin function dcheck .p2align 4, 0x90 _dcheck: ## @dcheck .cfi_startproc ## %bb.0: xorl %eax, %eax xorpd %xmm2, %xmm2 ucomisd %xmm2, %xmm1 jb LBB2_3 ## %bb.1: ucomisd %xmm0, %xmm2 jb LBB2_3 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str.8(%rip), %rdi callq _puts movl $1, %eax popq %rbp LBB2_3: retq .cfi_endproc ## -- End function .globl _vdiv ## -- Begin function vdiv .p2align 4, 0x90 _vdiv: ## @vdiv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movddup %xmm0, %xmm4 ## xmm4 = xmm0[0,0] unpcklpd %xmm2, %xmm3 ## xmm3 = xmm3[0],xmm2[0] divpd %xmm3, %xmm4 movddup %xmm1, %xmm1 ## xmm1 = xmm1[0,0] divpd %xmm3, %xmm1 movapd %xmm4, %xmm2 unpckhpd %xmm4, %xmm2 ## xmm2 = xmm2[1],xmm4[1] movapd %xmm2, %xmm0 minsd %xmm4, %xmm0 maxsd %xmm2, %xmm4 movapd %xmm1, %xmm2 unpckhpd %xmm1, %xmm2 ## xmm2 = xmm2[1],xmm1[1] ucomisd %xmm2, %xmm1 jbe LBB3_3 ## %bb.1: maxsd %xmm4, %xmm1 ucomisd %xmm2, %xmm0 jbe LBB3_6 ## %bb.2: movapd %xmm2, %xmm0 popq %rbp retq LBB3_3: maxsd %xmm4, %xmm2 ucomisd %xmm1, %xmm0 jbe LBB3_5 ## %bb.4: movapd %xmm1, %xmm0 LBB3_5: movapd %xmm2, %xmm1 LBB3_6: popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function calc1_parse LCPI4_0: .quad 0x8000000000000000 ## double -0 .quad 0x8000000000000000 ## double -0 LCPI4_1: .space 16 .section __TEXT,__text,regular,pure_instructions .globl _calc1_parse .p2align 4, 0x90 _calc1_parse: ## @calc1_parse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _calc1_nerrs@GOTPCREL(%rip), %rax movl $0, (%rax) movq _calc1_errflag@GOTPCREL(%rip), %rax movl $0, (%rax) movq _calc1_char@GOTPCREL(%rip), %r12 movl $-1, (%r12) movq _yystack+8(%rip), %rbx testq %rbx, %rbx je LBB4_117 ## %bb.1: movq _yystack+32(%rip), %rax LBB4_2: movq %rbx, _yystack+16(%rip) movq %rax, _yystack+40(%rip) movw $0, (%rbx) xorl %ecx, %ecx jmp LBB4_5 LBB4_3: ## in Loop: Header=BB4_5 Depth=1 movq %rax, _yystack+32(%rip) shlq $4, %r15 addq %rax, %r15 movl %r13d, _yystack(%rip) movq -48(%rbp), %rax ## 8-byte Reload leaq (%r12,%rax,2), %rax addq $-2, %rax movq %rax, _yystack+24(%rip) movq _calc1_char@GOTPCREL(%rip), %r12 movq -56(%rbp), %rax ## 8-byte Reload LBB4_4: ## in Loop: Header=BB4_5 Depth=1 movzwl (%rax), %eax movswl %ax, %ecx leaq 2(%rbx), %rax movq %rax, _yystack+16(%rip) movw %cx, 2(%rbx) leaq 16(%r15), %rax movq %rax, _yystack+40(%rip) movq _calc1_val@GOTPCREL(%rip), %rax movupd (%rax), %xmm0 movupd %xmm0, 16(%r15) LBB4_5: ## =>This Loop Header: Depth=1 ## Child Loop BB4_6 Depth 2 ## Child Loop BB4_39 Depth 2 movslq %ecx, %rbx movabsq $1043816879606340591, %r13 ## imm = 0xE7C61EBEF7E1BEF movl %ebx, %ecx shrq %cl, %r13 movabsq $8179555157248435344, %rax ## imm = 0x71839E141081E490 shrq %cl, %rax movq %rax, -48(%rbp) ## 8-byte Spill leaq _calc1_defred(%rip), %rax leaq (%rax,%rbx,2), %r15 movabsq $8358573289404104691, %rax ## imm = 0x73FF9E1EFFFFFFF3 shrq %cl, %rax movq %rax, -56(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB4_6: ## Parent Loop BB4_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rax testb $1, %r13b jne LBB4_12 LBB4_7: ## in Loop: Header=BB4_6 Depth=2 movswl (%rax), %ecx movslq %ecx, %r12 leaq _calc1_len(%rip), %rax movswq (%rax,%r12,2), %r14 cmpl $1, %ecx je LBB4_44 ## %bb.8: ## in Loop: Header=BB4_6 Depth=2 movq _yystack+40(%rip), %rax movl $1, %edx subq %r14, %rdx shlq $4, %rdx movupd (%rax,%rdx), %xmm0 movq _calc1_val@GOTPCREL(%rip), %rdx movupd %xmm0, (%rdx) addl $-3, %ecx cmpl $25, %ecx ja LBB4_80 ## %bb.9: ## in Loop: Header=BB4_6 Depth=2 leaq LJTI4_0(%rip), %rdx movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx LBB4_10: ## in Loop: Header=BB4_6 Depth=2 movsd -48(%rax), %xmm0 ## xmm0 = mem[0],zero movq _calc1_val@GOTPCREL(%rip), %rcx movsd %xmm0, (%rcx) movsd -16(%rax), %xmm1 ## xmm1 = mem[0],zero movsd %xmm1, 8(%rcx) ucomisd %xmm1, %xmm0 jbe LBB4_80 ## %bb.11: ## in Loop: Header=BB4_6 Depth=2 leaq L_str.9(%rip), %rdi jmp LBB4_33 .p2align 4, 0x90 LBB4_12: ## in Loop: Header=BB4_6 Depth=2 movl (%r12), %eax testl %eax, %eax js LBB4_14 ## %bb.13: ## in Loop: Header=BB4_6 Depth=2 testb $1, -48(%rbp) ## 1-byte Folded Reload je LBB4_15 jmp LBB4_17 LBB4_14: ## in Loop: Header=BB4_6 Depth=2 callq _calc1_lex testl %eax, %eax movl $0, %ecx cmovlel %ecx, %eax movl %eax, (%r12) testb $1, -48(%rbp) ## 1-byte Folded Reload jne LBB4_17 LBB4_15: ## in Loop: Header=BB4_6 Depth=2 leaq _calc1_sindex(%rip), %rcx movswl (%rcx,%rbx,2), %ecx addl %eax, %ecx cmpl $225, %ecx ja LBB4_17 ## %bb.16: ## in Loop: Header=BB4_6 Depth=2 movl %ecx, %r14d leaq _calc1_check(%rip), %rcx movswl (%rcx,%r14,2), %ecx movswl %ax, %edx cmpl %ecx, %edx je LBB4_101 LBB4_17: ## in Loop: Header=BB4_6 Depth=2 testb $1, -56(%rbp) ## 1-byte Folded Reload jne LBB4_21 ## %bb.18: ## in Loop: Header=BB4_6 Depth=2 leaq _calc1_rindex(%rip), %rcx movswl (%rcx,%rbx,2), %ecx addl %eax, %ecx cmpl $225, %ecx ja LBB4_21 ## %bb.19: ## in Loop: Header=BB4_6 Depth=2 movl %ecx, %ecx leaq _calc1_check(%rip), %rdx movswl (%rdx,%rcx,2), %edx cwtl cmpl %edx, %eax jne LBB4_21 ## %bb.20: ## in Loop: Header=BB4_6 Depth=2 leaq _calc1_table(%rip), %rax leaq (%rax,%rcx,2), %rax jmp LBB4_7 .p2align 4, 0x90 LBB4_21: ## in Loop: Header=BB4_6 Depth=2 movq _calc1_errflag@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jne LBB4_35 ## %bb.22: ## in Loop: Header=BB4_6 Depth=2 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.7(%rip), %rsi leaq L_.str.2(%rip), %rdx xorl %eax, %eax callq _fprintf jmp LBB4_34 LBB4_23: ## in Loop: Header=BB4_6 Depth=2 movupd (%rax), %xmm0 movsd 8(%rax), %xmm2 ## xmm2 = mem[0],zero xorpd %xmm1, %xmm1 ucomisd %xmm1, %xmm2 jb LBB4_25 ## %bb.24: ## in Loop: Header=BB4_6 Depth=2 ucomisd %xmm0, %xmm1 jae LBB4_32 jmp LBB4_25 LBB4_30: ## in Loop: Header=BB4_6 Depth=2 movupd (%rax), %xmm0 movsd 8(%rax), %xmm2 ## xmm2 = mem[0],zero xorpd %xmm1, %xmm1 ucomisd %xmm1, %xmm2 jb LBB4_78 ## %bb.31: ## in Loop: Header=BB4_6 Depth=2 ucomisd %xmm0, %xmm1 jb LBB4_78 LBB4_32: ## in Loop: Header=BB4_6 Depth=2 leaq L_str.8(%rip), %rdi LBB4_33: ## in Loop: Header=BB4_6 Depth=2 callq _puts movq _calc1_char@GOTPCREL(%rip), %r12 LBB4_34: ## in Loop: Header=BB4_6 Depth=2 movq _calc1_nerrs@GOTPCREL(%rip), %rax incl (%rax) movq _calc1_errflag@GOTPCREL(%rip), %rax movl (%rax), %eax LBB4_35: ## in Loop: Header=BB4_6 Depth=2 cmpl $2, %eax jle LBB4_38 ## %bb.36: ## in Loop: Header=BB4_6 Depth=2 cmpl $0, (%r12) je LBB4_120 ## %bb.37: ## in Loop: Header=BB4_6 Depth=2 movl $-1, (%r12) jmp LBB4_6 LBB4_38: ## in Loop: Header=BB4_5 Depth=1 movq _calc1_errflag@GOTPCREL(%rip), %rax movl $3, (%rax) movq _yystack+16(%rip), %rbx movq _yystack+40(%rip), %rax movq _yystack+8(%rip), %rdi movq %rbx, %r15 shlq $31, %r15 movq %rdi, %rcx shlq $31, %rcx subq %rcx, %r15 movabsq $8179555157248435344, %rdx ## imm = 0x71839E141081E490 movabsq $-4294967296, %r8 ## imm = 0xFFFFFFFF00000000 .p2align 4, 0x90 LBB4_39: ## Parent Loop BB4_5 Depth=1 ## => This Inner Loop Header: Depth=2 movswq (%rbx), %rcx btq %rcx, %rdx jb LBB4_42 ## %bb.40: ## in Loop: Header=BB4_39 Depth=2 movabsq $33777033435158637, %rsi ## imm = 0x7800086F78186D btq %rcx, %rsi jae LBB4_42 ## %bb.41: ## in Loop: Header=BB4_39 Depth=2 testw %cx, %cx je LBB4_45 LBB4_42: ## in Loop: Header=BB4_39 Depth=2 cmpq %rdi, %rbx jbe LBB4_120 ## %bb.43: ## in Loop: Header=BB4_39 Depth=2 addq $-2, %rbx movq %rbx, _yystack+16(%rip) addq $-16, %rax movq %rax, _yystack+40(%rip) addq %r8, %r15 jmp LBB4_39 LBB4_44: ## in Loop: Header=BB4_5 Depth=1 xorpd %xmm0, %xmm0 jmp LBB4_77 LBB4_45: ## in Loop: Header=BB4_5 Depth=1 cmpq _yystack+24(%rip), %rbx jb LBB4_110 ## %bb.46: ## in Loop: Header=BB4_5 Depth=1 movl _yystack(%rip), %r12d testl %r12d, %r12d je LBB4_106 ## %bb.47: ## in Loop: Header=BB4_5 Depth=1 cmpl $9999, %r12d ## imm = 0x270F ja LBB4_99 ## %bb.48: ## in Loop: Header=BB4_5 Depth=1 addl %r12d, %r12d cmpl $10000, %r12d ## imm = 0x2710 movl $10000, %eax ## imm = 0x2710 cmovael %eax, %r12d jmp LBB4_107 LBB4_49: ## in Loop: Header=BB4_5 Depth=1 movsd -16(%rax), %xmm0 ## xmm0 = mem[0],zero leaq L_.str.3(%rip), %rdi movb $1, %al callq _printf jmp LBB4_80 LBB4_50: ## in Loop: Header=BB4_5 Depth=1 movsd -16(%rax), %xmm0 ## xmm0 = mem[0],zero movsd -8(%rax), %xmm1 ## xmm1 = mem[0],zero leaq L_.str.4(%rip), %rdi movb $2, %al callq _printf jmp LBB4_80 LBB4_51: ## in Loop: Header=BB4_5 Depth=1 movsd -16(%rax), %xmm0 ## xmm0 = mem[0],zero movslq -48(%rax), %rax movq _dreg@GOTPCREL(%rip), %rcx movsd %xmm0, (%rcx,%rax,8) jmp LBB4_80 LBB4_52: ## in Loop: Header=BB4_5 Depth=1 movslq -48(%rax), %rcx shlq $4, %rcx movq _vreg@GOTPCREL(%rip), %rdx movupd -16(%rax), %xmm0 movupd %xmm0, (%rdx,%rcx) jmp LBB4_80 LBB4_53: ## in Loop: Header=BB4_5 Depth=1 movq _calc1_errflag@GOTPCREL(%rip), %rax movl $0, (%rax) jmp LBB4_80 LBB4_54: ## in Loop: Header=BB4_5 Depth=1 movslq (%rax), %rax movq _dreg@GOTPCREL(%rip), %rcx movsd (%rcx,%rax,8), %xmm0 ## xmm0 = mem[0],zero jmp LBB4_61 LBB4_55: ## in Loop: Header=BB4_5 Depth=1 movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero addsd (%rax), %xmm0 jmp LBB4_61 LBB4_56: ## in Loop: Header=BB4_5 Depth=1 movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero subsd (%rax), %xmm0 jmp LBB4_61 LBB4_57: ## in Loop: Header=BB4_5 Depth=1 movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero mulsd (%rax), %xmm0 jmp LBB4_61 LBB4_58: ## in Loop: Header=BB4_5 Depth=1 movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero divsd (%rax), %xmm0 jmp LBB4_61 LBB4_59: ## in Loop: Header=BB4_5 Depth=1 movsd (%rax), %xmm0 ## xmm0 = mem[0],zero xorpd LCPI4_0(%rip), %xmm0 movq _calc1_val@GOTPCREL(%rip), %rax movlpd %xmm0, (%rax) jmp LBB4_80 LBB4_60: ## in Loop: Header=BB4_5 Depth=1 movsd -16(%rax), %xmm0 ## xmm0 = mem[0],zero LBB4_61: ## in Loop: Header=BB4_5 Depth=1 movq _calc1_val@GOTPCREL(%rip), %rax movsd %xmm0, (%rax) jmp LBB4_80 LBB4_62: ## in Loop: Header=BB4_5 Depth=1 movddup (%rax), %xmm0 ## xmm0 = mem[0,0] movq _calc1_val@GOTPCREL(%rip), %rax movupd %xmm0, (%rax) jmp LBB4_80 LBB4_63: ## in Loop: Header=BB4_5 Depth=1 movslq (%rax), %rax shlq $4, %rax movq _vreg@GOTPCREL(%rip), %rcx movupd (%rcx,%rax), %xmm0 jmp LBB4_77 LBB4_64: ## in Loop: Header=BB4_5 Depth=1 movsd -24(%rax), %xmm0 ## xmm0 = mem[0],zero jmp LBB4_66 LBB4_65: ## in Loop: Header=BB4_5 Depth=1 movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero LBB4_66: ## in Loop: Header=BB4_5 Depth=1 addsd 8(%rax), %xmm0 movq _calc1_val@GOTPCREL(%rip), %rcx movsd %xmm0, 8(%rcx) movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero addsd (%rax), %xmm0 movsd %xmm0, (%rcx) jmp LBB4_80 LBB4_67: ## in Loop: Header=BB4_5 Depth=1 movsd -24(%rax), %xmm0 ## xmm0 = mem[0],zero jmp LBB4_69 LBB4_68: ## in Loop: Header=BB4_5 Depth=1 movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero LBB4_69: ## in Loop: Header=BB4_5 Depth=1 subsd (%rax), %xmm0 movq _calc1_val@GOTPCREL(%rip), %rcx movsd %xmm0, 8(%rcx) movsd -32(%rax), %xmm0 ## xmm0 = mem[0],zero subsd 8(%rax), %xmm0 movsd %xmm0, (%rcx) jmp LBB4_80 LBB4_70: ## in Loop: Header=BB4_5 Depth=1 movupd (%rax), %xmm0 movddup -32(%rax), %xmm1 ## xmm1 = mem[0,0] mulpd %xmm0, %xmm1 movddup -24(%rax), %xmm2 ## xmm2 = mem[0,0] mulpd %xmm0, %xmm2 jmp LBB4_26 LBB4_74: ## in Loop: Header=BB4_5 Depth=1 movupd (%rax), %xmm0 movddup -32(%rax), %xmm1 ## xmm1 = mem[0,0] mulpd %xmm0, %xmm1 jmp LBB4_79 LBB4_75: ## in Loop: Header=BB4_5 Depth=1 movsd (%rax), %xmm0 ## xmm0 = mem[0],zero movapd LCPI4_0(%rip), %xmm1 ## xmm1 = [-0.0E+0,-0.0E+0] xorpd %xmm1, %xmm0 movq _calc1_val@GOTPCREL(%rip), %rcx movlpd %xmm0, 8(%rcx) movsd 8(%rax), %xmm0 ## xmm0 = mem[0],zero xorpd %xmm1, %xmm0 movlpd %xmm0, (%rcx) jmp LBB4_80 LBB4_76: ## in Loop: Header=BB4_5 Depth=1 movupd -16(%rax), %xmm0 LBB4_77: ## in Loop: Header=BB4_5 Depth=1 movq _calc1_val@GOTPCREL(%rip), %rax movupd %xmm0, (%rax) jmp LBB4_80 LBB4_25: ## in Loop: Header=BB4_5 Depth=1 movddup -32(%rax), %xmm1 ## xmm1 = mem[0,0] divpd %xmm0, %xmm1 movddup -24(%rax), %xmm2 ## xmm2 = mem[0,0] divpd %xmm0, %xmm2 LBB4_26: ## in Loop: Header=BB4_5 Depth=1 movapd %xmm1, %xmm3 unpckhpd %xmm1, %xmm3 ## xmm3 = xmm3[1],xmm1[1] movapd %xmm1, %xmm0 minsd %xmm3, %xmm0 maxsd %xmm1, %xmm3 movapd %xmm2, %xmm1 unpckhpd %xmm2, %xmm1 ## xmm1 = xmm1[1],xmm2[1] ucomisd %xmm2, %xmm1 jbe LBB4_27 ## %bb.71: ## in Loop: Header=BB4_5 Depth=1 maxsd %xmm3, %xmm1 ucomisd %xmm2, %xmm0 jbe LBB4_73 ## %bb.72: ## in Loop: Header=BB4_5 Depth=1 movapd %xmm2, %xmm0 jmp LBB4_73 LBB4_27: ## in Loop: Header=BB4_5 Depth=1 maxsd %xmm3, %xmm2 ucomisd %xmm1, %xmm0 jbe LBB4_29 ## %bb.28: ## in Loop: Header=BB4_5 Depth=1 movapd %xmm1, %xmm0 LBB4_29: ## in Loop: Header=BB4_5 Depth=1 movapd %xmm2, %xmm1 LBB4_73: ## in Loop: Header=BB4_5 Depth=1 movq _calc1_val@GOTPCREL(%rip), %rax movsd %xmm0, (%rax) movsd %xmm1, 8(%rax) jmp LBB4_80 LBB4_78: ## in Loop: Header=BB4_5 Depth=1 movddup -32(%rax), %xmm1 ## xmm1 = mem[0,0] divpd %xmm0, %xmm1 LBB4_79: ## in Loop: Header=BB4_5 Depth=1 movapd %xmm1, %xmm0 unpckhpd %xmm1, %xmm0 ## xmm0 = xmm0[1],xmm1[1] xorl %eax, %eax ucomisd %xmm1, %xmm0 seta %al maxsd %xmm1, %xmm0 movapd %xmm1, %xmm2 maxsd %xmm0, %xmm2 movd %eax, %xmm0 pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1] psllq $63, %xmm0 movapd %xmm1, %xmm3 shufpd $1, %xmm2, %xmm3 ## xmm3 = xmm3[1],xmm2[0] blendvpd %xmm0, %xmm1, %xmm3 movq _calc1_val@GOTPCREL(%rip), %rax movupd %xmm3, (%rax) .p2align 4, 0x90 LBB4_80: ## in Loop: Header=BB4_5 Depth=1 movq _yystack+16(%rip), %rax leaq (%r14,%r14), %rcx movq %rax, %rbx subq %rcx, %rbx negq %rcx movq %rbx, _yystack+16(%rip) movswl (%rax,%rcx), %eax movq _yystack+40(%rip), %r15 shlq $4, %r14 subq %r14, %r15 leaq -3(%r12), %rdx movq %r15, _yystack+40(%rip) testl %eax, %eax jne LBB4_86 ## %bb.81: ## in Loop: Header=BB4_5 Depth=1 cmpq $4, %rdx ja LBB4_86 ## %bb.82: ## in Loop: Header=BB4_5 Depth=1 leaq 2(%rbx), %rax movq %rax, _yystack+16(%rip) movw $7, 2(%rbx) leaq 16(%r15), %rax movq %rax, _yystack+40(%rip) movq _calc1_val@GOTPCREL(%rip), %rax movupd (%rax), %xmm0 movupd %xmm0, 16(%r15) movq _calc1_char@GOTPCREL(%rip), %r12 movl (%r12), %eax testl %eax, %eax jns LBB4_84 ## %bb.83: ## in Loop: Header=BB4_5 Depth=1 callq _calc1_lex testl %eax, %eax movl $0, %ecx cmovlel %ecx, %eax movl %eax, (%r12) LBB4_84: ## in Loop: Header=BB4_5 Depth=1 movl $7, %ecx testl %eax, %eax jne LBB4_5 jmp LBB4_85 .p2align 4, 0x90 LBB4_86: ## in Loop: Header=BB4_5 Depth=1 leaq _calc1_lhs(%rip), %rcx movswq (%rcx,%r12,2), %rcx leal -1(%r12), %esi cmpw $2, %si jb LBB4_91 ## %bb.87: ## in Loop: Header=BB4_5 Depth=1 cmpq $5, %rdx jb LBB4_91 ## %bb.88: ## in Loop: Header=BB4_5 Depth=1 leaq _calc1_gindex(%rip), %rdx movswl (%rdx,%rcx,2), %edx addl %eax, %edx cmpl $225, %edx ja LBB4_91 ## %bb.89: ## in Loop: Header=BB4_5 Depth=1 movl %edx, %edx leaq _calc1_check(%rip), %rsi cmpw %ax, (%rsi,%rdx,2) jne LBB4_91 ## %bb.90: ## in Loop: Header=BB4_5 Depth=1 leaq _calc1_table(%rip), %rax leaq (%rax,%rdx,2), %rax jmp LBB4_92 .p2align 4, 0x90 LBB4_91: ## in Loop: Header=BB4_5 Depth=1 leaq _calc1_dgoto(%rip), %rax leaq (%rax,%rcx,2), %rax LBB4_92: ## in Loop: Header=BB4_5 Depth=1 movq _calc1_char@GOTPCREL(%rip), %r12 cmpq _yystack+24(%rip), %rbx jb LBB4_4 ## %bb.93: ## in Loop: Header=BB4_5 Depth=1 movq %rax, -56(%rbp) ## 8-byte Spill movl _yystack(%rip), %r13d testl %r13d, %r13d je LBB4_96 ## %bb.94: ## in Loop: Header=BB4_5 Depth=1 cmpl $9999, %r13d ## imm = 0x270F ja LBB4_99 ## %bb.95: ## in Loop: Header=BB4_5 Depth=1 addl %r13d, %r13d cmpl $10000, %r13d ## imm = 0x2710 movl $10000, %eax ## imm = 0x2710 cmovael %eax, %r13d jmp LBB4_97 LBB4_96: ## in Loop: Header=BB4_5 Depth=1 movl $200, %r13d LBB4_97: ## in Loop: Header=BB4_5 Depth=1 movq _yystack+8(%rip), %r14 movl %r13d, %eax movq %rax, -48(%rbp) ## 8-byte Spill leaq (%rax,%rax), %rsi movq %r14, %rdi callq _realloc testq %rax, %rax je LBB4_99 ## %bb.98: ## in Loop: Header=BB4_5 Depth=1 movq %rax, %r12 subq %r14, %rbx movq %rax, _yystack+8(%rip) shrq %rbx movslq %ebx, %r15 leaq (%rax,%r15,2), %rbx movq %rbx, _yystack+16(%rip) movq _yystack+32(%rip), %rdi movq -48(%rbp), %rsi ## 8-byte Reload shlq $4, %rsi callq _realloc testq %rax, %rax jne LBB4_3 jmp LBB4_99 LBB4_101: ## in Loop: Header=BB4_5 Depth=1 movq _yystack+16(%rip), %rbx cmpq _yystack+24(%rip), %rbx jae LBB4_103 ## %bb.102: ## in Loop: Header=BB4_5 Depth=1 movq _yystack+40(%rip), %r15 jmp LBB4_115 LBB4_103: ## in Loop: Header=BB4_5 Depth=1 movl _yystack(%rip), %r13d testl %r13d, %r13d je LBB4_111 ## %bb.104: ## in Loop: Header=BB4_5 Depth=1 cmpl $9999, %r13d ## imm = 0x270F ja LBB4_99 ## %bb.105: ## in Loop: Header=BB4_5 Depth=1 addl %r13d, %r13d cmpl $10000, %r13d ## imm = 0x2710 movl $10000, %eax ## imm = 0x2710 cmovael %eax, %r13d jmp LBB4_112 LBB4_106: ## in Loop: Header=BB4_5 Depth=1 movl $200, %r12d LBB4_107: ## in Loop: Header=BB4_5 Depth=1 movl %r12d, %r13d movq %r13, %rsi addq %r13, %rsi callq _realloc testq %rax, %rax je LBB4_99 ## %bb.108: ## in Loop: Header=BB4_5 Depth=1 movq %rax, %r14 movq %rax, _yystack+8(%rip) sarq $32, %r15 leaq (%rax,%r15,2), %rbx movq %rbx, _yystack+16(%rip) movq _yystack+32(%rip), %rdi movq %r13, %rsi shlq $4, %rsi callq _realloc testq %rax, %rax je LBB4_99 ## %bb.109: ## in Loop: Header=BB4_5 Depth=1 movq %rax, _yystack+32(%rip) shlq $4, %r15 addq %rax, %r15 movl %r12d, _yystack(%rip) leaq (%r14,%r13,2), %rax addq $-2, %rax movq %rax, _yystack+24(%rip) movq %r15, %rax movq _calc1_char@GOTPCREL(%rip), %r12 LBB4_110: ## in Loop: Header=BB4_5 Depth=1 leaq 2(%rbx), %rcx movq %rcx, _yystack+16(%rip) movw $1, 2(%rbx) leaq 16(%rax), %rcx movq %rcx, _yystack+40(%rip) movq _calc1_lval@GOTPCREL(%rip), %rcx movupd (%rcx), %xmm0 movupd %xmm0, 16(%rax) movl $1, %ecx jmp LBB4_5 LBB4_111: ## in Loop: Header=BB4_5 Depth=1 movl $200, %r13d LBB4_112: ## in Loop: Header=BB4_5 Depth=1 movq _yystack+8(%rip), %r15 movl %r13d, %eax movq %rax, -48(%rbp) ## 8-byte Spill leaq (%rax,%rax), %rsi movq %r15, %rdi callq _realloc testq %rax, %rax je LBB4_99 ## %bb.113: ## in Loop: Header=BB4_5 Depth=1 movq %rax, %r12 subq %r15, %rbx movq %rax, _yystack+8(%rip) shrq %rbx movslq %ebx, %r15 leaq (%rax,%r15,2), %rbx movq %rbx, _yystack+16(%rip) movq _yystack+32(%rip), %rdi movq -48(%rbp), %rsi ## 8-byte Reload shlq $4, %rsi callq _realloc testq %rax, %rax je LBB4_99 ## %bb.114: ## in Loop: Header=BB4_5 Depth=1 movq %rax, _yystack+32(%rip) shlq $4, %r15 addq %rax, %r15 movl %r13d, _yystack(%rip) movq -48(%rbp), %rax ## 8-byte Reload leaq (%r12,%rax,2), %rax addq $-2, %rax movq %rax, _yystack+24(%rip) movq _calc1_char@GOTPCREL(%rip), %r12 LBB4_115: ## in Loop: Header=BB4_5 Depth=1 leaq _calc1_table(%rip), %rax movswl (%rax,%r14,2), %ecx leaq 2(%rbx), %rax movq %rax, _yystack+16(%rip) movw %cx, 2(%rbx) leaq 16(%r15), %rax movq %rax, _yystack+40(%rip) movq _calc1_lval@GOTPCREL(%rip), %rax movupd (%rax), %xmm0 movupd %xmm0, 16(%r15) movl $-1, (%r12) movq _calc1_errflag@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jle LBB4_5 ## %bb.116: ## in Loop: Header=BB4_5 Depth=1 decl %eax movq _calc1_errflag@GOTPCREL(%rip), %rdx movl %eax, (%rdx) jmp LBB4_5 LBB4_120: movl $1, %eax jmp LBB4_100 LBB4_117: movl _yystack(%rip), %eax testl %eax, %eax je LBB4_121 ## %bb.118: cmpl $9999, %eax ## imm = 0x270F ja LBB4_99 ## %bb.119: addl %eax, %eax cmpl $10000, %eax ## imm = 0x2710 movl $10000, %r14d ## imm = 0x2710 cmovbl %eax, %r14d jmp LBB4_122 LBB4_121: movl $200, %r14d LBB4_122: movq _yystack+16(%rip), %r12 movl %r14d, %r15d leaq (%r15,%r15), %rdi callq _malloc testq %rax, %rax je LBB4_99 ## %bb.123: movq %rax, %rbx movq %rax, _yystack+8(%rip) shrq %r12 movslq %r12d, %rax leaq (%rbx,%rax,2), %rax movq %rax, _yystack+16(%rip) movq _yystack+32(%rip), %rdi movq %r15, %rsi shlq $4, %rsi callq _realloc testq %rax, %rax je LBB4_99 ## %bb.124: movq %rax, _yystack+32(%rip) movl %r14d, _yystack(%rip) leaq (%rbx,%r15,2), %rcx addq $-2, %rcx movq %rcx, _yystack+24(%rip) movq _calc1_char@GOTPCREL(%rip), %r12 jmp LBB4_2 LBB4_99: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.7(%rip), %rsi leaq L_.str.6(%rip), %rdx xorl %eax, %eax callq _fprintf movl $2, %eax LBB4_100: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_85: xorl %eax, %eax jmp LBB4_100 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L4_0_set_49, LBB4_49-LJTI4_0 .set L4_0_set_50, LBB4_50-LJTI4_0 .set L4_0_set_51, LBB4_51-LJTI4_0 .set L4_0_set_52, LBB4_52-LJTI4_0 .set L4_0_set_53, LBB4_53-LJTI4_0 .set L4_0_set_80, LBB4_80-LJTI4_0 .set L4_0_set_54, LBB4_54-LJTI4_0 .set L4_0_set_55, LBB4_55-LJTI4_0 .set L4_0_set_56, LBB4_56-LJTI4_0 .set L4_0_set_57, LBB4_57-LJTI4_0 .set L4_0_set_58, LBB4_58-LJTI4_0 .set L4_0_set_59, LBB4_59-LJTI4_0 .set L4_0_set_60, LBB4_60-LJTI4_0 .set L4_0_set_62, LBB4_62-LJTI4_0 .set L4_0_set_10, LBB4_10-LJTI4_0 .set L4_0_set_63, LBB4_63-LJTI4_0 .set L4_0_set_64, LBB4_64-LJTI4_0 .set L4_0_set_65, LBB4_65-LJTI4_0 .set L4_0_set_67, LBB4_67-LJTI4_0 .set L4_0_set_68, LBB4_68-LJTI4_0 .set L4_0_set_70, LBB4_70-LJTI4_0 .set L4_0_set_74, LBB4_74-LJTI4_0 .set L4_0_set_23, LBB4_23-LJTI4_0 .set L4_0_set_30, LBB4_30-LJTI4_0 .set L4_0_set_75, LBB4_75-LJTI4_0 .set L4_0_set_76, LBB4_76-LJTI4_0 LJTI4_0: .long L4_0_set_49 .long L4_0_set_50 .long L4_0_set_51 .long L4_0_set_52 .long L4_0_set_53 .long L4_0_set_80 .long L4_0_set_54 .long L4_0_set_55 .long L4_0_set_56 .long L4_0_set_57 .long L4_0_set_58 .long L4_0_set_59 .long L4_0_set_60 .long L4_0_set_62 .long L4_0_set_10 .long L4_0_set_63 .long L4_0_set_64 .long L4_0_set_65 .long L4_0_set_67 .long L4_0_set_68 .long L4_0_set_70 .long L4_0_set_74 .long L4_0_set_23 .long L4_0_set_30 .long L4_0_set_75 .long L4_0_set_76 .end_data_region ## -- End function .comm _calc1_lval,16,3 ## @calc1_lval .comm _calc1_nerrs,4,2 ## @calc1_nerrs .comm _calc1_errflag,4,2 ## @calc1_errflag .comm _calc1_char,4,2 ## @calc1_char .zerofill __DATA,__bss,_yystack,48,3 ## @yystack .section __TEXT,__const .p2align 4 ## @calc1_defred _calc1_defred: .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 8 ## 0x8 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 7 ## 0x7 .short 0 ## 0x0 .short 0 ## 0x0 .short 9 ## 0x9 .short 18 ## 0x12 .short 14 ## 0xe .short 27 ## 0x1b .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 3 ## 0x3 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 4 ## 0x4 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 15 ## 0xf .short 0 ## 0x0 .short 28 ## 0x1c .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 12 ## 0xc .short 24 ## 0x18 .short 13 ## 0xd .short 26 ## 0x1a .short 0 ## 0x0 .short 0 ## 0x0 .short 23 ## 0x17 .short 25 ## 0x19 .short 14 ## 0xe .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 5 ## 0x5 .short 6 ## 0x6 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 12 ## 0xc .short 13 ## 0xd .short 17 ## 0x11 .p2align 4 ## @calc1_sindex _calc1_sindex: .short 65496 ## 0xffd8 .short 65528 ## 0xfff8 .short 65488 ## 0xffd0 .short 65489 ## 0xffd1 .short 0 ## 0x0 .short 65499 ## 0xffdb .short 65499 ## 0xffdb .short 0 ## 0x0 .short 2 ## 0x2 .short 17 ## 0x11 .short 0 ## 0x0 .short 65502 ## 0xffde .short 65499 ## 0xffdb .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 65511 ## 0xffe7 .short 90 ## 0x5a .short 65499 ## 0xffdb .short 65499 ## 0xffdb .short 65499 ## 0xffdb .short 65499 ## 0xffdb .short 0 ## 0x0 .short 65499 ## 0xffdb .short 65499 ## 0xffdb .short 65499 ## 0xffdb .short 65499 ## 0xffdb .short 0 ## 0x0 .short 65502 ## 0xffde .short 65502 ## 0xffde .short 25 ## 0x19 .short 125 ## 0x7d .short 31 ## 0x1f .short 0 ## 0x0 .short 65502 ## 0xffde .short 0 ## 0x0 .short 65525 ## 0xfff5 .short 37 ## 0x25 .short 65525 ## 0xfff5 .short 37 ## 0x25 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 37 ## 0x25 .short 37 ## 0x25 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 111 ## 0x6f .short 65502 ## 0xffde .short 65502 ## 0xffde .short 65502 ## 0xffde .short 65502 ## 0xffde .short 0 ## 0x0 .short 0 ## 0x0 .short 118 ## 0x76 .short 69 ## 0x45 .short 69 ## 0x45 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .p2align 4 ## @calc1_check _calc1_check: .short 40 ## 0x28 .short 10 ## 0xa .short 10 ## 0xa .short 40 ## 0x28 .short 0 ## 0x0 .short 45 ## 0x2d .short 40 ## 0x28 .short 10 ## 0xa .short 45 ## 0x2d .short 5 ## 0x5 .short 6 ## 0x6 .short 45 ## 0x2d .short 10 ## 0xa .short 61 ## 0x3d .short 61 ## 0x3d .short 11 ## 0xb .short 41 ## 0x29 .short 42 ## 0x2a .short 43 ## 0x2b .short 44 ## 0x2c .short 45 ## 0x2d .short 65535 ## 0xffff .short 47 ## 0x2f .short 19 ## 0x13 .short 20 ## 0x14 .short 21 ## 0x15 .short 22 ## 0x16 .short 10 ## 0xa .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 42 ## 0x2a .short 41 ## 0x29 .short 29 ## 0x1d .short 30 ## 0x1e .short 10 ## 0xa .short 47 ## 0x2f .short 65535 ## 0xffff .short 41 ## 0x29 .short 35 ## 0x23 .short 43 ## 0x2b .short 10 ## 0xa .short 45 ## 0x2d .short 65535 ## 0xffff .short 42 ## 0x2a .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 10 ## 0xa .short 47 ## 0x2f .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 10 ## 0xa .short 51 ## 0x33 .short 52 ## 0x34 .short 53 ## 0x35 .short 54 ## 0x36 .short 42 ## 0x2a .short 43 ## 0x2b .short 10 ## 0xa .short 45 ## 0x2d .short 65535 ## 0xffff .short 47 ## 0x2f .short 65535 ## 0xffff .short 10 ## 0xa .short 42 ## 0x2a .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 10 ## 0xa .short 47 ## 0x2f .short 42 ## 0x2a .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 10 ## 0xa .short 47 ## 0x2f .short 42 ## 0x2a .short 42 ## 0x2a .short 43 ## 0x2b .short 10 ## 0xa .short 45 ## 0x2d .short 47 ## 0x2f .short 47 ## 0x2f .short 42 ## 0x2a .short 43 ## 0x2b .short 10 ## 0xa .short 45 ## 0x2d .short 65535 ## 0xffff .short 47 ## 0x2f .short 41 ## 0x29 .short 10 ## 0xa .short 43 ## 0x2b .short 44 ## 0x2c .short 45 ## 0x2d .short 41 ## 0x29 .short 65535 ## 0xffff .short 43 ## 0x2b .short 44 ## 0x2c .short 45 ## 0x2d .short 41 ## 0x29 .short 65535 ## 0xffff .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 65535 ## 0xffff .short 41 ## 0x29 .short 65535 ## 0xffff .short 43 ## 0x2b .short 42 ## 0x2a .short 45 ## 0x2d .short 41 ## 0x29 .short 65535 ## 0xffff .short 43 ## 0x2b .short 47 ## 0x2f .short 45 ## 0x2d .short 65535 ## 0xffff .short 41 ## 0x29 .short 65535 ## 0xffff .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 41 ## 0x29 .short 65535 ## 0xffff .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 5 ## 0x5 .short 6 ## 0x6 .short 41 ## 0x29 .short 42 ## 0x2a .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 12 ## 0xc .short 47 ## 0x2f .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 19 ## 0x13 .short 20 ## 0x14 .short 21 ## 0x15 .short 22 ## 0x16 .short 65535 ## 0xffff .short 24 ## 0x18 .short 25 ## 0x19 .short 26 ## 0x1a .short 27 ## 0x1b .short 41 ## 0x29 .short 42 ## 0x2a .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 65535 ## 0xffff .short 47 ## 0x2f .short 41 ## 0x29 .short 42 ## 0x2a .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 65535 ## 0xffff .short 47 ## 0x2f .short 65535 ## 0xffff .short 42 ## 0x2a .short 43 ## 0x2b .short 65535 ## 0xffff .short 45 ## 0x2d .short 65535 ## 0xffff .short 47 ## 0x2f .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 65535 ## 0xffff .short 256 ## 0x100 .short 257 ## 0x101 .short 258 ## 0x102 .short 259 ## 0x103 .short 257 ## 0x101 .short 258 ## 0x102 .short 259 ## 0x103 .short 257 ## 0x101 .short 65535 ## 0xffff .short 259 ## 0x103 .p2align 4 ## @calc1_table _calc1_table: .short 6 ## 0x6 .short 16 ## 0x10 .short 10 ## 0xa .short 6 ## 0x6 .short 8 ## 0x8 .short 5 ## 0x5 .short 30 ## 0x1e .short 20 ## 0x14 .short 5 ## 0x5 .short 15 ## 0xf .short 17 ## 0x11 .short 29 ## 0x1d .short 23 ## 0x17 .short 11 ## 0xb .short 12 ## 0xc .short 31 ## 0x1f .short 34 ## 0x22 .short 21 ## 0x15 .short 19 ## 0x13 .short 35 ## 0x23 .short 20 ## 0x14 .short 0 ## 0x0 .short 22 ## 0x16 .short 37 ## 0x25 .short 39 ## 0x27 .short 41 ## 0x29 .short 43 ## 0x2b .short 28 ## 0x1c .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 21 ## 0x15 .short 16 ## 0x10 .short 49 ## 0x31 .short 50 ## 0x32 .short 55 ## 0x37 .short 22 ## 0x16 .short 0 ## 0x0 .short 20 ## 0x14 .short 57 ## 0x39 .short 20 ## 0x14 .short 56 ## 0x38 .short 20 ## 0x14 .short 0 ## 0x0 .short 21 ## 0x15 .short 19 ## 0x13 .short 0 ## 0x0 .short 20 ## 0x14 .short 9 ## 0x9 .short 22 ## 0x16 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 18 ## 0x12 .short 58 ## 0x3a .short 59 ## 0x3b .short 60 ## 0x3c .short 61 ## 0x3d .short 26 ## 0x1a .short 24 ## 0x18 .short 10 ## 0xa .short 25 ## 0x19 .short 0 ## 0x0 .short 27 ## 0x1b .short 0 ## 0x0 .short 11 ## 0xb .short 53 ## 0x35 .short 51 ## 0x33 .short 0 ## 0x0 .short 52 ## 0x34 .short 22 ## 0x16 .short 54 ## 0x36 .short 26 ## 0x1a .short 24 ## 0x18 .short 0 ## 0x0 .short 25 ## 0x19 .short 19 ## 0x13 .short 27 ## 0x1b .short 26 ## 0x1a .short 9 ## 0x9 .short 9 ## 0x9 .short 21 ## 0x15 .short 9 ## 0x9 .short 27 ## 0x1b .short 9 ## 0x9 .short 18 ## 0x12 .short 18 ## 0x12 .short 10 ## 0xa .short 18 ## 0x12 .short 0 ## 0x0 .short 18 ## 0x12 .short 10 ## 0xa .short 11 ## 0xb .short 10 ## 0xa .short 10 ## 0xa .short 10 ## 0xa .short 11 ## 0xb .short 0 ## 0x0 .short 11 ## 0xb .short 11 ## 0xb .short 11 ## 0xb .short 22 ## 0x16 .short 0 ## 0x0 .short 22 ## 0x16 .short 0 ## 0x0 .short 22 ## 0x16 .short 0 ## 0x0 .short 19 ## 0x13 .short 0 ## 0x0 .short 19 ## 0x13 .short 53 ## 0x35 .short 19 ## 0x13 .short 21 ## 0x15 .short 0 ## 0x0 .short 21 ## 0x15 .short 54 ## 0x36 .short 21 ## 0x15 .short 0 ## 0x0 .short 10 ## 0xa .short 0 ## 0x0 .short 10 ## 0xa .short 0 ## 0x0 .short 10 ## 0xa .short 11 ## 0xb .short 0 ## 0x0 .short 11 ## 0xb .short 0 ## 0x0 .short 11 ## 0xb .short 16 ## 0x10 .short 18 ## 0x12 .short 36 ## 0x24 .short 26 ## 0x1a .short 24 ## 0x18 .short 0 ## 0x0 .short 25 ## 0x19 .short 33 ## 0x21 .short 27 ## 0x1b .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 38 ## 0x26 .short 40 ## 0x28 .short 42 ## 0x2a .short 44 ## 0x2c .short 0 ## 0x0 .short 45 ## 0x2d .short 46 ## 0x2e .short 47 ## 0x2f .short 48 ## 0x30 .short 34 ## 0x22 .short 53 ## 0x35 .short 51 ## 0x33 .short 0 ## 0x0 .short 52 ## 0x34 .short 0 ## 0x0 .short 54 ## 0x36 .short 62 ## 0x3e .short 53 ## 0x35 .short 51 ## 0x33 .short 0 ## 0x0 .short 52 ## 0x34 .short 0 ## 0x0 .short 54 ## 0x36 .short 0 ## 0x0 .short 21 ## 0x15 .short 19 ## 0x13 .short 0 ## 0x0 .short 20 ## 0x14 .short 0 ## 0x0 .short 22 ## 0x16 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 1 ## 0x1 .short 2 ## 0x2 .short 3 ## 0x3 .short 4 ## 0x4 .short 13 ## 0xd .short 14 ## 0xe .short 4 ## 0x4 .short 13 ## 0xd .short 0 ## 0x0 .short 4 ## 0x4 .p2align 4 ## @calc1_rindex _calc1_rindex: .short 0 ## 0x0 .short 0 ## 0x0 .short 38 ## 0x26 .short 44 ## 0x2c .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 65527 ## 0xfff7 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 51 ## 0x33 .short 65533 ## 0xfffd .short 56 ## 0x38 .short 61 ## 0x3d .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 67 ## 0x43 .short 72 ## 0x48 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 78 ## 0x4e .short 83 ## 0x53 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "syntax error" .section __TEXT,__const .p2align 4 ## @calc1_len _calc1_len: .short 2 ## 0x2 .short 0 ## 0x0 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 4 ## 0x4 .short 4 ## 0x4 .short 2 ## 0x2 .short 1 ## 0x1 .short 1 ## 0x1 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 2 ## 0x2 .short 3 ## 0x3 .short 1 ## 0x1 .short 5 ## 0x5 .short 1 ## 0x1 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 3 ## 0x3 .short 2 ## 0x2 .short 3 ## 0x3 .comm _calc1_val,16,3 ## @calc1_val .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "%15.8f\n" L_.str.4: ## @.str.4 .asciz "(%15.8f, %15.8f)\n" .comm _dreg,208,4 ## @dreg .comm _vreg,416,4 ## @vreg .section __TEXT,__const .p2align 4 ## @calc1_lhs _calc1_lhs: .short 65535 ## 0xffff .short 3 ## 0x3 .short 3 ## 0x3 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 1 ## 0x1 .short 1 ## 0x1 .short 1 ## 0x1 .short 1 ## 0x1 .short 1 ## 0x1 .short 1 ## 0x1 .short 1 ## 0x1 .short 1 ## 0x1 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .short 2 ## 0x2 .p2align 1 ## @calc1_gindex _calc1_gindex: .short 0 ## 0x0 .short 4 ## 0x4 .short 124 ## 0x7c .short 0 ## 0x0 .section __TEXT,__ustring .p2align 1 ## @calc1_dgoto _calc1_dgoto: .short 7 ## 0x7 .short 32 ## 0x20 .short 9 ## 0x9 .short 0 ## 0x0 .section __TEXT,__cstring,cstring_literals L_.str.6: ## @.str.6 .asciz "yacc stack overflow" L_.str.7: ## @.str.7 .asciz "%s\n" L_str: ## @str .asciz "constant too long: truncated" L_str.8: ## @str.8 .asciz "divisor interval contains 0." L_str.9: ## @str.9 .asciz "interval out of order" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _calc1_lex ; -- Begin function calc1_lex .p2align 2 _calc1_lex: ; @calc1_lex .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #56] LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _getchar cmp w0, #32 b.eq LBB0_1 ; %bb.2: mov x19, x0 cmp w0, #127 b.hi LBB0_6 ; %bb.3: Lloh3: adrp x8, __DefaultRuneLocale@GOTPAGE Lloh4: ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF] add x8, x8, w19, uxtw #2 ldr w8, [x8, #60] tbnz w8, #15, LBB0_7 ; %bb.4: and w0, w8, #0x1000 cbz w0, LBB0_11 LBB0_5: sub w8, w19, #97 Lloh5: adrp x9, _calc1_lval@GOTPAGE Lloh6: ldr x9, [x9, _calc1_lval@GOTPAGEOFF] Lloh7: str w8, [x9] mov w19, #257 b LBB0_8 LBB0_6: mov x0, x19 mov w1, #32768 bl ___maskrune cbz w0, LBB0_10 LBB0_7: sub w8, w19, #65 Lloh8: adrp x9, _calc1_lval@GOTPAGE Lloh9: ldr x9, [x9, _calc1_lval@GOTPAGEOFF] Lloh10: str w8, [x9] mov w19, #258 LBB0_8: ldr x8, [sp, #56] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_25 ; %bb.9: mov x0, x19 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_10: mov x0, x19 mov w1, #4096 bl ___maskrune cbnz w0, LBB0_5 LBB0_11: cmp w19, #46 b.eq LBB0_13 ; %bb.12: sub w8, w19, #48 cmp w8, #9 b.hi LBB0_8 LBB0_13: mov x20, #0 mov w22, #0 mov w23, #0 add x21, sp, #5 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_15 Depth=1 bl _getchar mov x19, x0 add x20, x20, #1 cmp x20, #50 b.eq LBB0_22 LBB0_15: ; =>This Inner Loop Header: Depth=1 strb w19, [x21, x20] sub w8, w19, #48 cmp w8, #10 b.lo LBB0_14 ; %bb.16: ; in Loop: Header=BB0_15 Depth=1 cmp w19, #101 b.eq LBB0_20 ; %bb.17: ; in Loop: Header=BB0_15 Depth=1 cmp w19, #46 b.ne LBB0_23 ; %bb.18: ; in Loop: Header=BB0_15 Depth=1 orr w8, w23, w22 cbnz w8, LBB0_8 ; %bb.19: ; in Loop: Header=BB0_15 Depth=1 mov w22, #0 mov w23, #1 b LBB0_14 LBB0_20: ; in Loop: Header=BB0_15 Depth=1 cbnz w22, LBB0_8 ; %bb.21: ; in Loop: Header=BB0_15 Depth=1 mov w22, #1 b LBB0_14 LBB0_22: add x8, sp, #5 strb wzr, [x8, x20] Lloh14: adrp x0, l_str@PAGE Lloh15: add x0, x0, l_str@PAGEOFF bl _puts b LBB0_24 LBB0_23: add x8, sp, #5 strb wzr, [x8, x20] Lloh16: adrp x8, ___stdinp@GOTPAGE Lloh17: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh18: ldr x1, [x8] mov x0, x19 bl _ungetc LBB0_24: add x0, sp, #5 bl _atof Lloh19: adrp x8, _calc1_lval@GOTPAGE Lloh20: ldr x8, [x8, _calc1_lval@GOTPAGEOFF] Lloh21: str d0, [x8] mov w19, #259 b LBB0_8 LBB0_25: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotStr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .globl _vmul ; -- Begin function vmul .p2align 2 _vmul: ; @vmul .cfi_startproc ; %bb.0: fmul d4, d3, d0 fmul d0, d2, d0 fmul d3, d3, d1 fmul d1, d2, d1 fcmp d4, d0 fcsel d2, d0, d4, gt fcsel d0, d4, d0, gt fcmp d0, d1 fcsel d4, d1, d0, mi fcmp d2, d3 fcsel d5, d2, d3, le fcmp d0, d3 fcsel d6, d3, d0, mi fcmp d2, d1 fcsel d0, d2, d1, le fcmp d3, d1 fcsel d0, d5, d0, le fcsel d1, d4, d6, le ret .cfi_endproc ; -- End function .globl _dcheck ; -- Begin function dcheck .p2align 2 _dcheck: ; @dcheck .cfi_startproc ; %bb.0: mov w0, #0 fcmp d1, #0.0 b.lt LBB2_3 ; %bb.1: fcmp d0, #0.0 b.hi LBB2_3 ; %bb.2: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh22: adrp x0, l_str.8@PAGE Lloh23: add x0, x0, l_str.8@PAGEOFF bl _puts mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload LBB2_3: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 ret .loh AdrpAdd Lloh22, Lloh23 .cfi_endproc ; -- End function .globl _vdiv ; -- Begin function vdiv .p2align 2 _vdiv: ; @vdiv .cfi_startproc ; %bb.0: fdiv d4, d0, d3 fdiv d0, d0, d2 fdiv d3, d1, d3 fdiv d1, d1, d2 fcmp d4, d0 fcsel d2, d0, d4, gt fcsel d0, d4, d0, gt fcmp d0, d1 fcsel d4, d1, d0, mi fcmp d2, d3 fcsel d5, d2, d3, le fcmp d0, d3 fcsel d6, d3, d0, mi fcmp d2, d1 fcsel d0, d2, d1, le fcmp d3, d1 fcsel d0, d5, d0, le fcsel d1, d4, d6, le ret .cfi_endproc ; -- End function .globl _calc1_parse ; -- Begin function calc1_parse .p2align 2 _calc1_parse: ; @calc1_parse .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh24: adrp x8, _calc1_nerrs@GOTPAGE Lloh25: ldr x8, [x8, _calc1_nerrs@GOTPAGEOFF] Lloh26: str wzr, [x8] Lloh27: adrp x8, _calc1_errflag@GOTPAGE Lloh28: ldr x8, [x8, _calc1_errflag@GOTPAGEOFF] Lloh29: str wzr, [x8] Lloh30: adrp x24, _calc1_char@GOTPAGE Lloh31: ldr x24, [x24, _calc1_char@GOTPAGEOFF] mov w8, #-1 str w8, [x24] Lloh32: adrp x8, _yystack@PAGE+8 Lloh33: ldr x19, [x8, _yystack@PAGEOFF+8] Lloh34: adrp x8, _yystack@PAGE cbz x19, LBB4_112 ; %bb.1: Lloh35: adrp x8, _yystack@PAGE+32 Lloh36: ldr x0, [x8, _yystack@PAGEOFF+32] LBB4_2: mov w8, #0 mov x23, #58512 movk x23, #4225, lsl #16 movk x23, #40468, lsl #32 movk x23, #29059, lsl #48 Lloh37: adrp x27, _yystack@PAGE+16 Lloh38: add x27, x27, _yystack@PAGEOFF+16 str x19, [x27] str x0, [x27, #24] strh wzr, [x19] Lloh39: adrp x25, _calc1_val@GOTPAGE Lloh40: ldr x25, [x25, _calc1_val@GOTPAGEOFF] b LBB4_5 LBB4_3: ; in Loop: Header=BB4_5 Depth=1 sbfx x8, x21, #1, #32 add x9, x0, x8, lsl #4 Lloh41: adrp x10, _yystack@PAGE Lloh42: add x10, x10, _yystack@PAGEOFF str w23, [x10] add x8, x20, x26, lsl #1 sub x8, x8, #2 stp x8, x0, [x10, #24] mov x23, #58512 movk x23, #4225, lsl #16 movk x23, #40468, lsl #32 movk x23, #29059, lsl #48 LBB4_4: ; in Loop: Header=BB4_5 Depth=1 ldrsh w8, [x22] and w10, w8, #0xffff strh w10, [x19, #2]! str x19, [x27] add x10, x9, #16 str x10, [x27, #24] ldr q0, [x25] str q0, [x9, #16] LBB4_5: ; =>This Loop Header: Depth=1 ; Child Loop BB4_33 Depth 2 mov x9, x8 sxtw x19, w9 mov x9, #7151 movk x9, #61310, lsl #16 movk x9, #25067, lsl #32 movk x9, #3708, lsl #48 lsr x28, x9, x8 lsr x26, x23, x8 mov x9, #-13 movk x9, #40478, lsl #32 movk x9, #29695, lsl #48 lsr x23, x9, x8 Lloh43: adrp x9, _calc1_defred@PAGE Lloh44: add x9, x9, _calc1_defred@PAGEOFF add x22, x9, w8, sxtw #1 mov x8, x22 tbz w28, #0, LBB4_17 LBB4_6: ; in Loop: Header=BB4_5 Depth=1 ldr w8, [x24] tbnz w8, #31, LBB4_8 ; %bb.7: ; in Loop: Header=BB4_5 Depth=1 tbz w26, #0, LBB4_9 b LBB4_11 LBB4_8: ; in Loop: Header=BB4_5 Depth=1 bl _calc1_lex cmp w0, #0 csel w8, w0, wzr, gt str w8, [x24] tbnz w26, #0, LBB4_11 LBB4_9: ; in Loop: Header=BB4_5 Depth=1 Lloh45: adrp x9, _calc1_sindex@PAGE Lloh46: add x9, x9, _calc1_sindex@PAGEOFF ldrsh w9, [x9, x19, lsl #1] add w21, w8, w9 cmp w21, #225 b.hi LBB4_11 ; %bb.10: ; in Loop: Header=BB4_5 Depth=1 Lloh47: adrp x9, _calc1_check@PAGE Lloh48: add x9, x9, _calc1_check@PAGEOFF ldrsh w9, [x9, w21, uxtw #1] cmp w9, w8, sxth b.eq LBB4_95 LBB4_11: ; in Loop: Header=BB4_5 Depth=1 tbnz w23, #0, LBB4_15 ; %bb.12: ; in Loop: Header=BB4_5 Depth=1 Lloh49: adrp x9, _calc1_rindex@PAGE Lloh50: add x9, x9, _calc1_rindex@PAGEOFF ldrsh w9, [x9, x19, lsl #1] add w9, w8, w9 cmp w9, #225 b.hi LBB4_15 ; %bb.13: ; in Loop: Header=BB4_5 Depth=1 Lloh51: adrp x10, _calc1_check@PAGE Lloh52: add x10, x10, _calc1_check@PAGEOFF ldrsh w10, [x10, w9, uxtw #1] cmp w10, w8, sxth b.ne LBB4_15 ; %bb.14: ; in Loop: Header=BB4_5 Depth=1 Lloh53: adrp x8, _calc1_table@PAGE Lloh54: add x8, x8, _calc1_table@PAGEOFF add x8, x8, x9, lsl #1 b LBB4_17 LBB4_15: ; in Loop: Header=BB4_5 Depth=1 Lloh55: adrp x8, _calc1_errflag@GOTPAGE Lloh56: ldr x8, [x8, _calc1_errflag@GOTPAGEOFF] Lloh57: ldr w8, [x8] cbnz w8, LBB4_29 ; %bb.16: ; in Loop: Header=BB4_5 Depth=1 Lloh58: adrp x8, ___stderrp@GOTPAGE Lloh59: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh60: ldr x0, [x8] Lloh61: adrp x8, l_.str.2@PAGE Lloh62: add x8, x8, l_.str.2@PAGEOFF str x8, [sp] Lloh63: adrp x1, l_.str.7@PAGE Lloh64: add x1, x1, l_.str.7@PAGEOFF bl _fprintf b LBB4_28 LBB4_17: ; in Loop: Header=BB4_5 Depth=1 ldrsh w9, [x8] sxtw x20, w9 Lloh65: adrp x8, _calc1_len@PAGE Lloh66: add x8, x8, _calc1_len@PAGEOFF ldrsh x21, [x8, w9, sxtw #1] cmp w9, #1 b.eq LBB4_38 ; %bb.18: ; in Loop: Header=BB4_5 Depth=1 Lloh67: adrp x8, _yystack@PAGE+40 Lloh68: ldr x8, [x8, _yystack@PAGEOFF+40] mov w10, #1 sub x10, x10, x21 ldr q0, [x8, x10, lsl #4] str q0, [x25] sub w10, w9, #3 cmp w10, #25 b.hi LBB4_39 ; %bb.19: ; in Loop: Header=BB4_5 Depth=1 Lloh69: adrp x13, lJTI4_0@PAGE Lloh70: add x13, x13, lJTI4_0@PAGEOFF adr x11, LBB4_20 ldrh w12, [x13, x10, lsl #1] add x11, x11, x12, lsl #2 br x11 LBB4_20: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-48] str d0, [x25] ldur d1, [x8, #-16] str d1, [x25, #8] fcmp d0, d1 b.le LBB4_39 ; %bb.21: ; in Loop: Header=BB4_5 Depth=1 Lloh71: adrp x0, l_str.9@PAGE Lloh72: add x0, x0, l_str.9@PAGEOFF b LBB4_27 LBB4_22: ; in Loop: Header=BB4_5 Depth=1 ldp d0, d1, [x8] fcmp d1, #0.0 b.lt LBB4_92 ; %bb.23: ; in Loop: Header=BB4_5 Depth=1 fcmp d0, #0.0 b.ls LBB4_26 b LBB4_92 LBB4_24: ; in Loop: Header=BB4_5 Depth=1 ldp d0, d1, [x8] fcmp d1, #0.0 b.lt LBB4_93 ; %bb.25: ; in Loop: Header=BB4_5 Depth=1 fcmp d0, #0.0 b.hi LBB4_93 LBB4_26: ; in Loop: Header=BB4_5 Depth=1 Lloh73: adrp x0, l_str.8@PAGE Lloh74: add x0, x0, l_str.8@PAGEOFF LBB4_27: ; in Loop: Header=BB4_5 Depth=1 bl _puts LBB4_28: ; in Loop: Header=BB4_5 Depth=1 Lloh75: adrp x9, _calc1_nerrs@GOTPAGE Lloh76: ldr x9, [x9, _calc1_nerrs@GOTPAGEOFF] ldr w8, [x9] add w8, w8, #1 str w8, [x9] Lloh77: adrp x8, _calc1_errflag@GOTPAGE Lloh78: ldr x8, [x8, _calc1_errflag@GOTPAGEOFF] Lloh79: ldr w8, [x8] LBB4_29: ; in Loop: Header=BB4_5 Depth=1 cmp w8, #2 b.le LBB4_32 ; %bb.30: ; in Loop: Header=BB4_5 Depth=1 ldr w8, [x24] cbz w8, LBB4_111 ; %bb.31: ; in Loop: Header=BB4_5 Depth=1 mov w8, #-1 str w8, [x24] mov x8, x22 tbnz w28, #0, LBB4_6 b LBB4_17 LBB4_32: ; in Loop: Header=BB4_5 Depth=1 Lloh80: adrp x8, _calc1_errflag@GOTPAGE Lloh81: ldr x8, [x8, _calc1_errflag@GOTPAGEOFF] mov w9, #3 Lloh82: str w9, [x8] Lloh83: adrp x8, _yystack@PAGE+8 Lloh84: add x8, x8, _yystack@PAGEOFF+8 ldr x9, [x8, #32] ldp x0, x19, [x8] lsl x8, x19, #31 sub x21, x8, x0, lsl #31 mov x23, #58512 movk x23, #4225, lsl #16 movk x23, #40468, lsl #32 movk x23, #29059, lsl #48 mov x11, #6253 movk x11, #28536, lsl #16 movk x11, #8, lsl #32 movk x11, #120, lsl #48 mov x12, #-4294967296 LBB4_33: ; Parent Loop BB4_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsh x8, [x19] lsr x10, x23, x8 tbnz w10, #0, LBB4_36 ; %bb.34: ; in Loop: Header=BB4_33 Depth=2 lsr x10, x11, x8 tbz w10, #0, LBB4_36 ; %bb.35: ; in Loop: Header=BB4_33 Depth=2 cbz w8, LBB4_40 LBB4_36: ; in Loop: Header=BB4_33 Depth=2 cmp x19, x0 b.ls LBB4_111 ; %bb.37: ; in Loop: Header=BB4_33 Depth=2 sub x19, x19, #2 str x19, [x27] sub x9, x9, #16 str x9, [x27, #24] add x21, x21, x12 b LBB4_33 LBB4_38: ; in Loop: Header=BB4_5 Depth=1 stp xzr, xzr, [x25] b LBB4_72 LBB4_39: ; in Loop: Header=BB4_5 Depth=1 ; kill: def $w9 killed $w9 killed $x9 def $x9 sxtw x8, w9 b LBB4_73 LBB4_40: ; in Loop: Header=BB4_5 Depth=1 Lloh85: adrp x8, _yystack@PAGE+24 Lloh86: ldr x8, [x8, _yystack@PAGEOFF+24] cmp x19, x8 b.lo LBB4_104 ; %bb.41: ; in Loop: Header=BB4_5 Depth=1 Lloh87: adrp x8, _yystack@PAGE Lloh88: ldr w8, [x8, _yystack@PAGEOFF] cbz w8, LBB4_100 ; %bb.42: ; in Loop: Header=BB4_5 Depth=1 lsr w9, w8, #4 cmp w9, #624 b.hi LBB4_119 ; %bb.43: ; in Loop: Header=BB4_5 Depth=1 lsl w8, w8, #1 mov w9, #10000 cmp w8, w9 csel w22, w8, w9, lo b LBB4_101 LBB4_44: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-16] str d0, [sp] Lloh89: adrp x0, l_.str.3@PAGE Lloh90: add x0, x0, l_.str.3@PAGEOFF b LBB4_46 LBB4_45: ; in Loop: Header=BB4_5 Depth=1 ldp d0, d1, [x8, #-16] stp d0, d1, [sp] Lloh91: adrp x0, l_.str.4@PAGE Lloh92: add x0, x0, l_.str.4@PAGEOFF LBB4_46: ; in Loop: Header=BB4_5 Depth=1 bl _printf b LBB4_72 LBB4_47: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-16] ldursw x8, [x8, #-48] Lloh93: adrp x9, _dreg@GOTPAGE Lloh94: ldr x9, [x9, _dreg@GOTPAGEOFF] str d0, [x9, x8, lsl #3] b LBB4_72 LBB4_48: ; in Loop: Header=BB4_5 Depth=1 ldursw x9, [x8, #-48] Lloh95: adrp x10, _vreg@GOTPAGE Lloh96: ldr x10, [x10, _vreg@GOTPAGEOFF] ldur q0, [x8, #-16] str q0, [x10, x9, lsl #4] b LBB4_72 LBB4_49: ; in Loop: Header=BB4_5 Depth=1 Lloh97: adrp x8, _calc1_errflag@GOTPAGE Lloh98: ldr x8, [x8, _calc1_errflag@GOTPAGEOFF] Lloh99: str wzr, [x8] b LBB4_72 LBB4_50: ; in Loop: Header=BB4_5 Depth=1 ldrsw x8, [x8] Lloh100: adrp x9, _dreg@GOTPAGE Lloh101: ldr x9, [x9, _dreg@GOTPAGEOFF] ldr d0, [x9, x8, lsl #3] b LBB4_71 LBB4_51: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-32] ldr d1, [x8] b LBB4_65 LBB4_52: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-32] ldr d1, [x8] fmul d0, d0, d1 b LBB4_71 LBB4_53: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-32] ldr d1, [x8] fdiv d0, d0, d1 b LBB4_71 LBB4_54: ; in Loop: Header=BB4_5 Depth=1 ldr d0, [x8] b LBB4_70 LBB4_55: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-16] b LBB4_71 LBB4_56: ; in Loop: Header=BB4_5 Depth=1 ldr d0, [x8] str d0, [x25] b LBB4_67 LBB4_57: ; in Loop: Header=BB4_5 Depth=1 ldrsw x8, [x8] Lloh102: adrp x9, _vreg@GOTPAGE Lloh103: ldr x9, [x9, _vreg@GOTPAGEOFF] ldr q0, [x9, x8, lsl #4] b LBB4_91 LBB4_58: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-24] b LBB4_60 LBB4_59: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-32] LBB4_60: ; in Loop: Header=BB4_5 Depth=1 ldr d1, [x8, #8] fadd d0, d0, d1 str d0, [x25, #8] LBB4_61: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-32] ldr d1, [x8] fadd d0, d0, d1 b LBB4_71 LBB4_62: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-24] b LBB4_64 LBB4_63: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-32] LBB4_64: ; in Loop: Header=BB4_5 Depth=1 ldr d1, [x8] fsub d0, d0, d1 str d0, [x25, #8] ldur d0, [x8, #-32] ldr d1, [x8, #8] LBB4_65: ; in Loop: Header=BB4_5 Depth=1 fsub d0, d0, d1 b LBB4_71 LBB4_66: ; in Loop: Header=BB4_5 Depth=1 ldp d0, d1, [x8, #-32] ldp d2, d3, [x8] fmul d4, d0, d3 fmul d0, d0, d2 fmul d3, d1, d3 fmul d1, d1, d2 fcmp d4, d0 fcsel d2, d0, d4, gt fcsel d0, d4, d0, gt fcmp d0, d1 fcsel d4, d1, d0, mi fcmp d2, d3 fcsel d5, d2, d3, le fcmp d0, d3 fcsel d0, d3, d0, mi fcmp d2, d1 fcsel d2, d2, d1, le fcmp d3, d1 fcsel d1, d5, d2, le fcsel d0, d4, d0, le str d1, [x25] LBB4_67: ; in Loop: Header=BB4_5 Depth=1 str d0, [x25, #8] b LBB4_72 LBB4_68: ; in Loop: Header=BB4_5 Depth=1 ldur d0, [x8, #-32] ldp d1, d2, [x8] fmul d2, d0, d2 fmul d0, d0, d1 fcmp d2, d0 fcsel d1, d2, d0, gt fcmp d1, d0 fcsel d1, d0, d1, mi fcmp d2, d0 fcsel d0, d0, d2, gt fcsel d1, d2, d1, gt b LBB4_94 LBB4_69: ; in Loop: Header=BB4_5 Depth=1 ldr d0, [x8] fneg d0, d0 str d0, [x25, #8] ldr d0, [x8, #8] LBB4_70: ; in Loop: Header=BB4_5 Depth=1 fneg d0, d0 LBB4_71: ; in Loop: Header=BB4_5 Depth=1 str d0, [x25] LBB4_72: ; in Loop: Header=BB4_5 Depth=1 mov x8, x20 LBB4_73: ; in Loop: Header=BB4_5 Depth=1 mov x23, #58512 movk x23, #4225, lsl #16 movk x23, #40468, lsl #32 movk x23, #29059, lsl #48 ldr x9, [x27] sub x19, x9, x21, lsl #1 str x19, [x27] ldrsh w10, [x19] ldr x9, [x27, #24] sub x9, x9, x21, lsl #4 str x9, [x27, #24] sub x11, x8, #3 cmp w10, #0 ccmp x11, #4, #2, eq b.ls LBB4_79 ; %bb.74: ; in Loop: Header=BB4_5 Depth=1 Lloh104: adrp x12, _calc1_lhs@PAGE Lloh105: add x12, x12, _calc1_lhs@PAGEOFF ldrsh x8, [x12, x8, lsl #1] sub w12, w20, #1 and w12, w12, #0xffff cmp w12, #2 b.lo LBB4_81 ; %bb.75: ; in Loop: Header=BB4_5 Depth=1 cmp x11, #5 b.lo LBB4_81 ; %bb.76: ; in Loop: Header=BB4_5 Depth=1 Lloh106: adrp x11, _calc1_gindex@PAGE Lloh107: add x11, x11, _calc1_gindex@PAGEOFF ldrsh w11, [x11, x8, lsl #1] add w11, w11, w10 cmp w11, #225 b.hi LBB4_81 ; %bb.77: ; in Loop: Header=BB4_5 Depth=1 Lloh108: adrp x12, _calc1_check@PAGE Lloh109: add x12, x12, _calc1_check@PAGEOFF ldrh w12, [x12, w11, uxtw #1] cmp w12, w10, uxth b.ne LBB4_81 ; %bb.78: ; in Loop: Header=BB4_5 Depth=1 Lloh110: adrp x8, _calc1_table@PAGE Lloh111: add x8, x8, _calc1_table@PAGEOFF add x22, x8, x11, lsl #1 b LBB4_82 LBB4_79: ; in Loop: Header=BB4_5 Depth=1 mov w8, #7 strh w8, [x19, #2]! str x19, [x27] add x8, x9, #16 str x8, [x27, #24] ldr q0, [x25] str q0, [x9, #16] ldr w9, [x24] tbnz w9, #31, LBB4_86 ; %bb.80: ; in Loop: Header=BB4_5 Depth=1 mov w8, #7 cbnz w9, LBB4_5 b LBB4_121 LBB4_81: ; in Loop: Header=BB4_5 Depth=1 Lloh112: adrp x10, _calc1_dgoto@PAGE Lloh113: add x10, x10, _calc1_dgoto@PAGEOFF add x22, x10, x8, lsl #1 LBB4_82: ; in Loop: Header=BB4_5 Depth=1 Lloh114: adrp x8, _yystack@PAGE+24 Lloh115: ldr x8, [x8, _yystack@PAGEOFF+24] cmp x19, x8 b.lo LBB4_4 ; %bb.83: ; in Loop: Header=BB4_5 Depth=1 Lloh116: adrp x8, _yystack@PAGE Lloh117: ldr w8, [x8, _yystack@PAGEOFF] cbz w8, LBB4_87 ; %bb.84: ; in Loop: Header=BB4_5 Depth=1 lsr w9, w8, #4 cmp w9, #624 b.hi LBB4_119 ; %bb.85: ; in Loop: Header=BB4_5 Depth=1 lsl w8, w8, #1 mov w9, #10000 cmp w8, w9 csel w23, w8, w9, lo b LBB4_88 LBB4_86: ; in Loop: Header=BB4_5 Depth=1 bl _calc1_lex cmp w0, #0 csel w9, w0, wzr, gt str w9, [x24] mov w8, #7 cbnz w9, LBB4_5 b LBB4_121 LBB4_87: ; in Loop: Header=BB4_5 Depth=1 mov w23, #200 LBB4_88: ; in Loop: Header=BB4_5 Depth=1 Lloh118: adrp x8, _yystack@PAGE+8 Lloh119: ldr x21, [x8, _yystack@PAGEOFF+8] mov w26, w23 lsl x1, x26, #1 mov x0, x21 bl _realloc cbz x0, LBB4_119 ; %bb.89: ; in Loop: Header=BB4_5 Depth=1 mov x20, x0 sub x21, x19, x21 lsr x8, x21, #1 add x19, x0, w8, sxtw #1 Lloh120: adrp x8, _yystack@PAGE+8 Lloh121: add x8, x8, _yystack@PAGEOFF+8 stp x0, x19, [x8] ldr x0, [x8, #24] lsl x1, x26, #4 bl _realloc cbnz x0, LBB4_3 b LBB4_119 LBB4_90: ; in Loop: Header=BB4_5 Depth=1 ldur q0, [x8, #-16] LBB4_91: ; in Loop: Header=BB4_5 Depth=1 str q0, [x25] b LBB4_72 LBB4_92: ; in Loop: Header=BB4_5 Depth=1 ldp d2, d3, [x8, #-32] fdiv d4, d2, d1 fdiv d2, d2, d0 fdiv d1, d3, d1 fdiv d0, d3, d0 fcmp d4, d2 fcsel d3, d2, d4, gt fcsel d2, d4, d2, gt fcmp d2, d0 fcsel d4, d0, d2, mi fcmp d3, d1 fcsel d5, d3, d1, le fcmp d2, d1 fcsel d2, d1, d2, mi fcmp d3, d0 fcsel d3, d3, d0, le fcmp d1, d0 fcsel d0, d5, d3, le fcsel d1, d4, d2, le b LBB4_94 LBB4_93: ; in Loop: Header=BB4_5 Depth=1 ldur d2, [x8, #-32] fdiv d1, d2, d1 fdiv d0, d2, d0 fcmp d1, d0 fcsel d2, d1, d0, gt fcmp d2, d0 fcsel d2, d0, d2, mi fcmp d1, d0 fcsel d0, d0, d1, gt fcsel d1, d1, d2, gt LBB4_94: ; in Loop: Header=BB4_5 Depth=1 stp d0, d1, [x25] b LBB4_72 LBB4_95: ; in Loop: Header=BB4_5 Depth=1 ldp x22, x8, [x27] cmp x22, x8 b.hs LBB4_97 ; %bb.96: ; in Loop: Header=BB4_5 Depth=1 Lloh122: adrp x8, _yystack@PAGE+40 Lloh123: ldr x9, [x8, _yystack@PAGEOFF+40] b LBB4_109 LBB4_97: ; in Loop: Header=BB4_5 Depth=1 Lloh124: adrp x8, _yystack@PAGE Lloh125: ldr w8, [x8, _yystack@PAGEOFF] cbz w8, LBB4_105 ; %bb.98: ; in Loop: Header=BB4_5 Depth=1 lsr w9, w8, #4 cmp w9, #624 b.hi LBB4_119 ; %bb.99: ; in Loop: Header=BB4_5 Depth=1 lsl w8, w8, #1 mov w9, #10000 cmp w8, w9 csel w23, w8, w9, lo b LBB4_106 LBB4_100: ; in Loop: Header=BB4_5 Depth=1 mov w22, #200 LBB4_101: ; in Loop: Header=BB4_5 Depth=1 mov w23, w22 lsl x1, x23, #1 bl _realloc cbz x0, LBB4_119 ; %bb.102: ; in Loop: Header=BB4_5 Depth=1 mov x20, x0 asr x21, x21, #32 add x19, x0, x21, lsl #1 Lloh126: adrp x8, _yystack@PAGE+8 Lloh127: add x8, x8, _yystack@PAGEOFF+8 stp x0, x19, [x8] ldr x0, [x8, #24] lsl x1, x23, #4 bl _realloc cbz x0, LBB4_119 ; %bb.103: ; in Loop: Header=BB4_5 Depth=1 add x9, x0, x21, lsl #4 Lloh128: adrp x10, _yystack@PAGE Lloh129: add x10, x10, _yystack@PAGEOFF str w22, [x10] add x8, x20, x23, lsl #1 sub x8, x8, #2 stp x8, x0, [x10, #24] mov x23, #58512 movk x23, #4225, lsl #16 movk x23, #40468, lsl #32 movk x23, #29059, lsl #48 LBB4_104: ; in Loop: Header=BB4_5 Depth=1 mov w8, #1 strh w8, [x19, #2]! str x19, [x27] add x10, x9, #16 str x10, [x27, #24] Lloh130: adrp x10, _calc1_lval@GOTPAGE Lloh131: ldr x10, [x10, _calc1_lval@GOTPAGEOFF] Lloh132: ldr q0, [x10] str q0, [x9, #16] b LBB4_5 LBB4_105: ; in Loop: Header=BB4_5 Depth=1 mov w23, #200 LBB4_106: ; in Loop: Header=BB4_5 Depth=1 Lloh133: adrp x8, _yystack@PAGE+8 Lloh134: ldr x19, [x8, _yystack@PAGEOFF+8] mov w26, w23 lsl x1, x26, #1 mov x0, x19 bl _realloc cbz x0, LBB4_119 ; %bb.107: ; in Loop: Header=BB4_5 Depth=1 mov x20, x0 sub x19, x22, x19 lsr x8, x19, #1 add x22, x0, w8, sxtw #1 Lloh135: adrp x8, _yystack@PAGE+8 Lloh136: add x8, x8, _yystack@PAGEOFF+8 stp x0, x22, [x8] ldr x0, [x8, #24] lsl x1, x26, #4 bl _realloc cbz x0, LBB4_119 ; %bb.108: ; in Loop: Header=BB4_5 Depth=1 sbfx x8, x19, #1, #32 add x9, x0, x8, lsl #4 Lloh137: adrp x10, _yystack@PAGE Lloh138: add x10, x10, _yystack@PAGEOFF str w23, [x10] add x8, x20, x26, lsl #1 sub x8, x8, #2 stp x8, x0, [x10, #24] LBB4_109: ; in Loop: Header=BB4_5 Depth=1 mov x23, #58512 movk x23, #4225, lsl #16 movk x23, #40468, lsl #32 movk x23, #29059, lsl #48 Lloh139: adrp x8, _calc1_table@PAGE Lloh140: add x8, x8, _calc1_table@PAGEOFF ldrsh w8, [x8, x21, lsl #1] strh w8, [x22, #2]! str x22, [x27] add x10, x9, #16 str x10, [x27, #24] Lloh141: adrp x10, _calc1_lval@GOTPAGE Lloh142: ldr x10, [x10, _calc1_lval@GOTPAGEOFF] Lloh143: ldr q0, [x10] str q0, [x9, #16] mov w9, #-1 str w9, [x24] Lloh144: adrp x9, _calc1_errflag@GOTPAGE Lloh145: ldr x9, [x9, _calc1_errflag@GOTPAGEOFF] Lloh146: ldr w9, [x9] subs w9, w9, #1 b.lt LBB4_5 ; %bb.110: ; in Loop: Header=BB4_5 Depth=1 Lloh147: adrp x10, _calc1_errflag@GOTPAGE Lloh148: ldr x10, [x10, _calc1_errflag@GOTPAGEOFF] Lloh149: str w9, [x10] b LBB4_5 LBB4_111: mov w0, #1 b LBB4_120 LBB4_112: ldr w8, [x8, _yystack@PAGEOFF] cbz w8, LBB4_115 ; %bb.113: lsr w9, w8, #4 cmp w9, #624 b.hi LBB4_119 ; %bb.114: lsl w8, w8, #1 mov w9, #10000 cmp w8, w9 csel w20, w8, w9, lo b LBB4_116 LBB4_115: mov w20, #200 LBB4_116: Lloh150: adrp x8, _yystack@PAGE+16 Lloh151: ldr x22, [x8, _yystack@PAGEOFF+16] mov w21, w20 lsl x0, x21, #1 bl _malloc cbz x0, LBB4_119 ; %bb.117: mov x19, x0 Lloh152: adrp x8, _yystack@PAGE+8 Lloh153: add x8, x8, _yystack@PAGEOFF+8 lsr x9, x22, #1 add x9, x0, w9, sxtw #1 stp x0, x9, [x8] ldr x0, [x8, #24] lsl x1, x21, #4 bl _realloc cbz x0, LBB4_119 ; %bb.118: Lloh154: adrp x8, _yystack@PAGE Lloh155: add x8, x8, _yystack@PAGEOFF str w20, [x8] add x9, x19, x21, lsl #1 sub x9, x9, #2 stp x9, x0, [x8, #24] b LBB4_2 LBB4_119: Lloh156: adrp x8, ___stderrp@GOTPAGE Lloh157: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh158: ldr x0, [x8] Lloh159: adrp x8, l_.str.6@PAGE Lloh160: add x8, x8, l_.str.6@PAGEOFF str x8, [sp] Lloh161: adrp x1, l_.str.7@PAGE Lloh162: add x1, x1, l_.str.7@PAGEOFF bl _fprintf mov w0, #2 LBB4_120: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB4_121: mov w0, #0 b LBB4_120 .loh AdrpAdrp Lloh32, Lloh34 .loh AdrpLdr Lloh32, Lloh33 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGotStr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh24, Lloh25, Lloh26 .loh AdrpLdr Lloh35, Lloh36 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdr Lloh67, Lloh68 .loh AdrpAdd Lloh69, Lloh70 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .loh AdrpLdrGot Lloh75, Lloh76 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpLdr Lloh85, Lloh86 .loh AdrpLdr Lloh87, Lloh88 .loh AdrpAdd Lloh89, Lloh90 .loh AdrpAdd Lloh91, Lloh92 .loh AdrpLdrGot Lloh93, Lloh94 .loh AdrpLdrGot Lloh95, Lloh96 .loh AdrpLdrGotStr Lloh97, Lloh98, Lloh99 .loh AdrpLdrGot Lloh100, Lloh101 .loh AdrpLdrGot Lloh102, Lloh103 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpAdd Lloh112, Lloh113 .loh AdrpLdr Lloh114, Lloh115 .loh AdrpLdr Lloh116, Lloh117 .loh AdrpLdr Lloh118, Lloh119 .loh AdrpAdd Lloh120, Lloh121 .loh AdrpLdr Lloh122, Lloh123 .loh AdrpLdr Lloh124, Lloh125 .loh AdrpAdd Lloh126, Lloh127 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpLdrGotLdr Lloh130, Lloh131, Lloh132 .loh AdrpLdr Lloh133, Lloh134 .loh AdrpAdd Lloh135, Lloh136 .loh AdrpAdd Lloh137, Lloh138 .loh AdrpLdrGotLdr Lloh144, Lloh145, Lloh146 .loh AdrpLdrGotLdr Lloh141, Lloh142, Lloh143 .loh AdrpAdd Lloh139, Lloh140 .loh AdrpLdrGotStr Lloh147, Lloh148, Lloh149 .loh AdrpLdr Lloh150, Lloh151 .loh AdrpAdd Lloh152, Lloh153 .loh AdrpAdd Lloh154, Lloh155 .loh AdrpAdd Lloh161, Lloh162 .loh AdrpAdd Lloh159, Lloh160 .loh AdrpLdrGotLdr Lloh156, Lloh157, Lloh158 .cfi_endproc .section __TEXT,__const .p2align 1 lJTI4_0: .short (LBB4_44-LBB4_20)>>2 .short (LBB4_45-LBB4_20)>>2 .short (LBB4_47-LBB4_20)>>2 .short (LBB4_48-LBB4_20)>>2 .short (LBB4_49-LBB4_20)>>2 .short (LBB4_39-LBB4_20)>>2 .short (LBB4_50-LBB4_20)>>2 .short (LBB4_61-LBB4_20)>>2 .short (LBB4_51-LBB4_20)>>2 .short (LBB4_52-LBB4_20)>>2 .short (LBB4_53-LBB4_20)>>2 .short (LBB4_54-LBB4_20)>>2 .short (LBB4_55-LBB4_20)>>2 .short (LBB4_56-LBB4_20)>>2 .short (LBB4_20-LBB4_20)>>2 .short (LBB4_57-LBB4_20)>>2 .short (LBB4_58-LBB4_20)>>2 .short (LBB4_59-LBB4_20)>>2 .short (LBB4_62-LBB4_20)>>2 .short (LBB4_63-LBB4_20)>>2 .short (LBB4_66-LBB4_20)>>2 .short (LBB4_68-LBB4_20)>>2 .short (LBB4_22-LBB4_20)>>2 .short (LBB4_24-LBB4_20)>>2 .short (LBB4_69-LBB4_20)>>2 .short (LBB4_90-LBB4_20)>>2 ; -- End function .comm _calc1_lval,16,3 ; @calc1_lval .comm _calc1_nerrs,4,2 ; @calc1_nerrs .comm _calc1_errflag,4,2 ; @calc1_errflag .comm _calc1_char,4,2 ; @calc1_char .zerofill __DATA,__bss,_yystack,48,3 ; @yystack .p2align 1 ; @calc1_defred _calc1_defred: .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 8 ; 0x8 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 7 ; 0x7 .short 0 ; 0x0 .short 0 ; 0x0 .short 9 ; 0x9 .short 18 ; 0x12 .short 14 ; 0xe .short 27 ; 0x1b .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 3 ; 0x3 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 4 ; 0x4 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 15 ; 0xf .short 0 ; 0x0 .short 28 ; 0x1c .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 12 ; 0xc .short 24 ; 0x18 .short 13 ; 0xd .short 26 ; 0x1a .short 0 ; 0x0 .short 0 ; 0x0 .short 23 ; 0x17 .short 25 ; 0x19 .short 14 ; 0xe .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 5 ; 0x5 .short 6 ; 0x6 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 12 ; 0xc .short 13 ; 0xd .short 17 ; 0x11 .p2align 1 ; @calc1_sindex _calc1_sindex: .short 65496 ; 0xffd8 .short 65528 ; 0xfff8 .short 65488 ; 0xffd0 .short 65489 ; 0xffd1 .short 0 ; 0x0 .short 65499 ; 0xffdb .short 65499 ; 0xffdb .short 0 ; 0x0 .short 2 ; 0x2 .short 17 ; 0x11 .short 0 ; 0x0 .short 65502 ; 0xffde .short 65499 ; 0xffdb .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 65511 ; 0xffe7 .short 90 ; 0x5a .short 65499 ; 0xffdb .short 65499 ; 0xffdb .short 65499 ; 0xffdb .short 65499 ; 0xffdb .short 0 ; 0x0 .short 65499 ; 0xffdb .short 65499 ; 0xffdb .short 65499 ; 0xffdb .short 65499 ; 0xffdb .short 0 ; 0x0 .short 65502 ; 0xffde .short 65502 ; 0xffde .short 25 ; 0x19 .short 125 ; 0x7d .short 31 ; 0x1f .short 0 ; 0x0 .short 65502 ; 0xffde .short 0 ; 0x0 .short 65525 ; 0xfff5 .short 37 ; 0x25 .short 65525 ; 0xfff5 .short 37 ; 0x25 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 37 ; 0x25 .short 37 ; 0x25 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 111 ; 0x6f .short 65502 ; 0xffde .short 65502 ; 0xffde .short 65502 ; 0xffde .short 65502 ; 0xffde .short 0 ; 0x0 .short 0 ; 0x0 .short 118 ; 0x76 .short 69 ; 0x45 .short 69 ; 0x45 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .p2align 1 ; @calc1_check _calc1_check: .short 40 ; 0x28 .short 10 ; 0xa .short 10 ; 0xa .short 40 ; 0x28 .short 0 ; 0x0 .short 45 ; 0x2d .short 40 ; 0x28 .short 10 ; 0xa .short 45 ; 0x2d .short 5 ; 0x5 .short 6 ; 0x6 .short 45 ; 0x2d .short 10 ; 0xa .short 61 ; 0x3d .short 61 ; 0x3d .short 11 ; 0xb .short 41 ; 0x29 .short 42 ; 0x2a .short 43 ; 0x2b .short 44 ; 0x2c .short 45 ; 0x2d .short 65535 ; 0xffff .short 47 ; 0x2f .short 19 ; 0x13 .short 20 ; 0x14 .short 21 ; 0x15 .short 22 ; 0x16 .short 10 ; 0xa .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 42 ; 0x2a .short 41 ; 0x29 .short 29 ; 0x1d .short 30 ; 0x1e .short 10 ; 0xa .short 47 ; 0x2f .short 65535 ; 0xffff .short 41 ; 0x29 .short 35 ; 0x23 .short 43 ; 0x2b .short 10 ; 0xa .short 45 ; 0x2d .short 65535 ; 0xffff .short 42 ; 0x2a .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 10 ; 0xa .short 47 ; 0x2f .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 10 ; 0xa .short 51 ; 0x33 .short 52 ; 0x34 .short 53 ; 0x35 .short 54 ; 0x36 .short 42 ; 0x2a .short 43 ; 0x2b .short 10 ; 0xa .short 45 ; 0x2d .short 65535 ; 0xffff .short 47 ; 0x2f .short 65535 ; 0xffff .short 10 ; 0xa .short 42 ; 0x2a .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 10 ; 0xa .short 47 ; 0x2f .short 42 ; 0x2a .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 10 ; 0xa .short 47 ; 0x2f .short 42 ; 0x2a .short 42 ; 0x2a .short 43 ; 0x2b .short 10 ; 0xa .short 45 ; 0x2d .short 47 ; 0x2f .short 47 ; 0x2f .short 42 ; 0x2a .short 43 ; 0x2b .short 10 ; 0xa .short 45 ; 0x2d .short 65535 ; 0xffff .short 47 ; 0x2f .short 41 ; 0x29 .short 10 ; 0xa .short 43 ; 0x2b .short 44 ; 0x2c .short 45 ; 0x2d .short 41 ; 0x29 .short 65535 ; 0xffff .short 43 ; 0x2b .short 44 ; 0x2c .short 45 ; 0x2d .short 41 ; 0x29 .short 65535 ; 0xffff .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 65535 ; 0xffff .short 41 ; 0x29 .short 65535 ; 0xffff .short 43 ; 0x2b .short 42 ; 0x2a .short 45 ; 0x2d .short 41 ; 0x29 .short 65535 ; 0xffff .short 43 ; 0x2b .short 47 ; 0x2f .short 45 ; 0x2d .short 65535 ; 0xffff .short 41 ; 0x29 .short 65535 ; 0xffff .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 41 ; 0x29 .short 65535 ; 0xffff .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 5 ; 0x5 .short 6 ; 0x6 .short 41 ; 0x29 .short 42 ; 0x2a .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 12 ; 0xc .short 47 ; 0x2f .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 19 ; 0x13 .short 20 ; 0x14 .short 21 ; 0x15 .short 22 ; 0x16 .short 65535 ; 0xffff .short 24 ; 0x18 .short 25 ; 0x19 .short 26 ; 0x1a .short 27 ; 0x1b .short 41 ; 0x29 .short 42 ; 0x2a .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 65535 ; 0xffff .short 47 ; 0x2f .short 41 ; 0x29 .short 42 ; 0x2a .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 65535 ; 0xffff .short 47 ; 0x2f .short 65535 ; 0xffff .short 42 ; 0x2a .short 43 ; 0x2b .short 65535 ; 0xffff .short 45 ; 0x2d .short 65535 ; 0xffff .short 47 ; 0x2f .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 65535 ; 0xffff .short 256 ; 0x100 .short 257 ; 0x101 .short 258 ; 0x102 .short 259 ; 0x103 .short 257 ; 0x101 .short 258 ; 0x102 .short 259 ; 0x103 .short 257 ; 0x101 .short 65535 ; 0xffff .short 259 ; 0x103 .p2align 1 ; @calc1_table _calc1_table: .short 6 ; 0x6 .short 16 ; 0x10 .short 10 ; 0xa .short 6 ; 0x6 .short 8 ; 0x8 .short 5 ; 0x5 .short 30 ; 0x1e .short 20 ; 0x14 .short 5 ; 0x5 .short 15 ; 0xf .short 17 ; 0x11 .short 29 ; 0x1d .short 23 ; 0x17 .short 11 ; 0xb .short 12 ; 0xc .short 31 ; 0x1f .short 34 ; 0x22 .short 21 ; 0x15 .short 19 ; 0x13 .short 35 ; 0x23 .short 20 ; 0x14 .short 0 ; 0x0 .short 22 ; 0x16 .short 37 ; 0x25 .short 39 ; 0x27 .short 41 ; 0x29 .short 43 ; 0x2b .short 28 ; 0x1c .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 21 ; 0x15 .short 16 ; 0x10 .short 49 ; 0x31 .short 50 ; 0x32 .short 55 ; 0x37 .short 22 ; 0x16 .short 0 ; 0x0 .short 20 ; 0x14 .short 57 ; 0x39 .short 20 ; 0x14 .short 56 ; 0x38 .short 20 ; 0x14 .short 0 ; 0x0 .short 21 ; 0x15 .short 19 ; 0x13 .short 0 ; 0x0 .short 20 ; 0x14 .short 9 ; 0x9 .short 22 ; 0x16 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 18 ; 0x12 .short 58 ; 0x3a .short 59 ; 0x3b .short 60 ; 0x3c .short 61 ; 0x3d .short 26 ; 0x1a .short 24 ; 0x18 .short 10 ; 0xa .short 25 ; 0x19 .short 0 ; 0x0 .short 27 ; 0x1b .short 0 ; 0x0 .short 11 ; 0xb .short 53 ; 0x35 .short 51 ; 0x33 .short 0 ; 0x0 .short 52 ; 0x34 .short 22 ; 0x16 .short 54 ; 0x36 .short 26 ; 0x1a .short 24 ; 0x18 .short 0 ; 0x0 .short 25 ; 0x19 .short 19 ; 0x13 .short 27 ; 0x1b .short 26 ; 0x1a .short 9 ; 0x9 .short 9 ; 0x9 .short 21 ; 0x15 .short 9 ; 0x9 .short 27 ; 0x1b .short 9 ; 0x9 .short 18 ; 0x12 .short 18 ; 0x12 .short 10 ; 0xa .short 18 ; 0x12 .short 0 ; 0x0 .short 18 ; 0x12 .short 10 ; 0xa .short 11 ; 0xb .short 10 ; 0xa .short 10 ; 0xa .short 10 ; 0xa .short 11 ; 0xb .short 0 ; 0x0 .short 11 ; 0xb .short 11 ; 0xb .short 11 ; 0xb .short 22 ; 0x16 .short 0 ; 0x0 .short 22 ; 0x16 .short 0 ; 0x0 .short 22 ; 0x16 .short 0 ; 0x0 .short 19 ; 0x13 .short 0 ; 0x0 .short 19 ; 0x13 .short 53 ; 0x35 .short 19 ; 0x13 .short 21 ; 0x15 .short 0 ; 0x0 .short 21 ; 0x15 .short 54 ; 0x36 .short 21 ; 0x15 .short 0 ; 0x0 .short 10 ; 0xa .short 0 ; 0x0 .short 10 ; 0xa .short 0 ; 0x0 .short 10 ; 0xa .short 11 ; 0xb .short 0 ; 0x0 .short 11 ; 0xb .short 0 ; 0x0 .short 11 ; 0xb .short 16 ; 0x10 .short 18 ; 0x12 .short 36 ; 0x24 .short 26 ; 0x1a .short 24 ; 0x18 .short 0 ; 0x0 .short 25 ; 0x19 .short 33 ; 0x21 .short 27 ; 0x1b .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 38 ; 0x26 .short 40 ; 0x28 .short 42 ; 0x2a .short 44 ; 0x2c .short 0 ; 0x0 .short 45 ; 0x2d .short 46 ; 0x2e .short 47 ; 0x2f .short 48 ; 0x30 .short 34 ; 0x22 .short 53 ; 0x35 .short 51 ; 0x33 .short 0 ; 0x0 .short 52 ; 0x34 .short 0 ; 0x0 .short 54 ; 0x36 .short 62 ; 0x3e .short 53 ; 0x35 .short 51 ; 0x33 .short 0 ; 0x0 .short 52 ; 0x34 .short 0 ; 0x0 .short 54 ; 0x36 .short 0 ; 0x0 .short 21 ; 0x15 .short 19 ; 0x13 .short 0 ; 0x0 .short 20 ; 0x14 .short 0 ; 0x0 .short 22 ; 0x16 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 1 ; 0x1 .short 2 ; 0x2 .short 3 ; 0x3 .short 4 ; 0x4 .short 13 ; 0xd .short 14 ; 0xe .short 4 ; 0x4 .short 13 ; 0xd .short 0 ; 0x0 .short 4 ; 0x4 .p2align 1 ; @calc1_rindex _calc1_rindex: .short 0 ; 0x0 .short 0 ; 0x0 .short 38 ; 0x26 .short 44 ; 0x2c .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 65527 ; 0xfff7 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 51 ; 0x33 .short 65533 ; 0xfffd .short 56 ; 0x38 .short 61 ; 0x3d .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 67 ; 0x43 .short 72 ; 0x48 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 78 ; 0x4e .short 83 ; 0x53 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "syntax error" .section __TEXT,__const .p2align 1 ; @calc1_len _calc1_len: .short 2 ; 0x2 .short 0 ; 0x0 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 4 ; 0x4 .short 4 ; 0x4 .short 2 ; 0x2 .short 1 ; 0x1 .short 1 ; 0x1 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 2 ; 0x2 .short 3 ; 0x3 .short 1 ; 0x1 .short 5 ; 0x5 .short 1 ; 0x1 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 3 ; 0x3 .short 2 ; 0x2 .short 3 ; 0x3 .comm _calc1_val,16,3 ; @calc1_val .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "%15.8f\n" l_.str.4: ; @.str.4 .asciz "(%15.8f, %15.8f)\n" .comm _dreg,208,3 ; @dreg .comm _vreg,416,3 ; @vreg .section __TEXT,__const .p2align 1 ; @calc1_lhs _calc1_lhs: .short 65535 ; 0xffff .short 3 ; 0x3 .short 3 ; 0x3 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 1 ; 0x1 .short 1 ; 0x1 .short 1 ; 0x1 .short 1 ; 0x1 .short 1 ; 0x1 .short 1 ; 0x1 .short 1 ; 0x1 .short 1 ; 0x1 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .short 2 ; 0x2 .p2align 1 ; @calc1_gindex _calc1_gindex: .short 0 ; 0x0 .short 4 ; 0x4 .short 124 ; 0x7c .short 0 ; 0x0 .section __TEXT,__ustring .p2align 1 ; @calc1_dgoto _calc1_dgoto: .short 7 ; 0x7 .short 32 ; 0x20 .short 9 ; 0x9 .short 0 ; 0x0 .section __TEXT,__cstring,cstring_literals l_.str.6: ; @.str.6 .asciz "yacc stack overflow" l_.str.7: ; @.str.7 .asciz "%s\n" l_str: ; @str .asciz "constant too long: truncated" l_str.8: ; @str.8 .asciz "divisor interval contains 0." l_str.9: ; @str.9 .asciz "interval out of order" .subsections_via_symbols
the_stack_data/101556.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ps3_hpte_clear _ps3_hpte_clear: ## @ps3_hpte_clear .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _ppc64_pft_size@GOTPCREL(%rip), %rax movq (%rax), %rcx cmpq $4, %rcx jb LBB0_3 ## %bb.1: movl $1, %r14d ## kill: def $cl killed $cl killed $rcx shlq %cl, %r14 movl $1, %eax shrq $4, %r14 cmpq $2, %r14 cmovbq %rax, %r14 xorl %ebx, %ebx movq _PS3_LPAR_VAS_ID_CURRENT@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r15), %edi movq %rbx, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _lv1_write_htab_entry incq %rbx cmpq %rbx, %r14 jne LBB0_2 LBB0_3: xorl %eax, %eax callq _ps3_mm_shutdown xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _ps3_mm_vas_destroy ## TAILCALL .cfi_endproc ## -- End function .comm _ppc64_pft_size,8,3 ## @ppc64_pft_size .comm _PS3_LPAR_VAS_ID_CURRENT,4,2 ## @PS3_LPAR_VAS_ID_CURRENT .no_dead_strip _ps3_hpte_clear .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ps3_hpte_clear _ps3_hpte_clear: ; @ps3_hpte_clear .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _ppc64_pft_size@GOTPAGE Lloh1: ldr x8, [x8, _ppc64_pft_size@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, #4 b.lo LBB0_3 ; %bb.1: mov x19, #0 mov w9, #1 lsl x8, x9, x8 lsr x8, x8, #4 cmp x8, #1 csinc x20, x8, xzr, hi Lloh3: adrp x21, _PS3_LPAR_VAS_ID_CURRENT@GOTPAGE Lloh4: ldr x21, [x21, _PS3_LPAR_VAS_ID_CURRENT@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x21] mov x1, x19 mov w2, #0 mov w3, #0 bl _lv1_write_htab_entry add x19, x19, #1 cmp x20, x19 b.ne LBB0_2 LBB0_3: bl _ps3_mm_shutdown ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _ps3_mm_vas_destroy .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ppc64_pft_size,8,3 ; @ppc64_pft_size .comm _PS3_LPAR_VAS_ID_CURRENT,4,2 ; @PS3_LPAR_VAS_ID_CURRENT .no_dead_strip _ps3_hpte_clear .subsections_via_symbols
AnghaBench/linux/arch/powerpc/platforms/ps3/extr_htab.c_ps3_hpte_clear.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ftp_request ## -- Begin function ftp_request .p2align 4, 0x90 _ftp_request: ## @ftp_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %rbx movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %r13 testq %rcx, %rcx je LBB0_8 ## %bb.1: movq %rcx, %r14 movq (%rcx), %rdi movq _SCHEME_HTTP@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _strcmp testq %rax, %rax je LBB0_3 ## %bb.2: movq (%r14), %rdi movq _SCHEME_HTTPS@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _strcmp testq %rax, %rax jne LBB0_9 LBB0_3: leaq L_.str(%rip), %rsi movq %r15, %rdi callq _strcmp testq %rax, %rax je LBB0_4 ## %bb.6: leaq L_.str.2(%rip), %rsi movq %r15, %rdi callq _strcmp testq %rax, %rax je LBB0_7 LBB0_9: movq %r13, %rdi movq %r14, %rsi movq %rbx, -48(%rbp) ## 8-byte Spill movq %rbx, %rdx callq _ftp_cached_connect movq %rax, %rbx movq %r14, %rdi callq _fetchFreeURL testq %rbx, %rbx jne LBB0_11 jmp LBB0_24 LBB0_8: movq %r13, %rdi xorl %esi, %esi movq %rbx, -48(%rbp) ## 8-byte Spill movq %rbx, %rdx callq _ftp_cached_connect movq %rax, %rbx testq %rbx, %rbx je LBB0_24 LBB0_11: movl 12(%r13), %esi movq %rbx, %rdi callq _ftp_cwd cmpl $-1, %eax je LBB0_23 ## %bb.12: testq %r12, %r12 je LBB0_16 ## %bb.13: movl 12(%r13), %esi movq %rbx, %rdi movq %r12, %rdx callq _ftp_stat cmpl $-1, %eax je LBB0_14 LBB0_16: leaq L_.str(%rip), %rsi movq %r15, %rdi callq _strcmp testq %rax, %rax je LBB0_17 ## %bb.18: leaq L_.str.4(%rip), %rsi movq %r15, %rdi callq _strcmp testq %rax, %rax je LBB0_21 ## %bb.19: leaq L_.str.5(%rip), %rsi movq %r15, %rdi callq _strcmp testq %rax, %rax jne LBB0_20 LBB0_21: movq _O_WRONLY@GOTPCREL(%rip), %rax jmp LBB0_22 LBB0_4: leaq L_.str.1(%rip), %rsi jmp LBB0_5 LBB0_17: decl (%rbx) movq %rbx, %rdi callq _ftp_disconnect movl $1, %eax jmp LBB0_25 LBB0_7: leaq L_.str.3(%rip), %rsi LBB0_5: movq %r13, %rdi movq %r12, %rdx movq %r14, %rcx movq %rbx, %r8 addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _http_request ## TAILCALL LBB0_14: movq _fetchLastErrCode@GOTPCREL(%rip), %rax movq (%rax), %rax movq _FETCH_PROTO@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_16 ## %bb.15: movq _FETCH_UNAVAIL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_16 LBB0_23: movq %rbx, %rdi callq _ftp_disconnect LBB0_24: xorl %eax, %eax LBB0_25: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: movq _O_RDONLY@GOTPCREL(%rip), %rax LBB0_22: movl (%rax), %ecx movl 8(%r13), %r8d movl 12(%r13), %edx movq %rbx, %rdi movq %r15, %rsi movq -48(%rbp), %r9 ## 8-byte Reload addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ftp_transfer ## TAILCALL .cfi_endproc ## -- End function .comm _SCHEME_HTTP,8,3 ## @SCHEME_HTTP .comm _SCHEME_HTTPS,8,3 ## @SCHEME_HTTPS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "STAT" L_.str.1: ## @.str.1 .asciz "HEAD" L_.str.2: ## @.str.2 .asciz "RETR" L_.str.3: ## @.str.3 .asciz "GET" .comm _fetchLastErrCode,8,3 ## @fetchLastErrCode .comm _FETCH_PROTO,8,3 ## @FETCH_PROTO .comm _FETCH_UNAVAIL,8,3 ## @FETCH_UNAVAIL L_.str.4: ## @.str.4 .asciz "STOR" L_.str.5: ## @.str.5 .asciz "APPE" .comm _O_WRONLY,4,2 ## @O_WRONLY .comm _O_RDONLY,4,2 ## @O_RDONLY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ftp_request ; -- Begin function ftp_request .p2align 2 _ftp_request: ; @ftp_request .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x22, x2 mov x21, x1 mov x20, x0 cbz x3, LBB0_6 ; %bb.1: mov x24, x3 ldr x0, [x3] Lloh0: adrp x8, _SCHEME_HTTP@GOTPAGE Lloh1: ldr x8, [x8, _SCHEME_HTTP@GOTPAGEOFF] Lloh2: ldr x1, [x8] bl _strcmp cbz x0, LBB0_3 ; %bb.2: ldr x0, [x24] Lloh3: adrp x8, _SCHEME_HTTPS@GOTPAGE Lloh4: ldr x8, [x8, _SCHEME_HTTPS@GOTPAGEOFF] Lloh5: ldr x1, [x8] bl _strcmp cbnz x0, LBB0_5 LBB0_3: Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _strcmp cbz x0, LBB0_18 ; %bb.4: Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF mov x0, x21 bl _strcmp cbz x0, LBB0_20 LBB0_5: mov x0, x20 mov x1, x24 mov x2, x19 bl _ftp_cached_connect mov x23, x0 mov x0, x24 bl _fetchFreeURL cbnz x23, LBB0_7 b LBB0_16 LBB0_6: mov x0, x20 mov x1, #0 mov x2, x19 bl _ftp_cached_connect mov x23, x0 cbz x23, LBB0_16 LBB0_7: ldr w1, [x20, #12] mov x0, x23 bl _ftp_cwd cmn w0, #1 b.eq LBB0_15 ; %bb.8: cbz x22, LBB0_11 ; %bb.9: ldr w1, [x20, #12] mov x0, x23 mov x2, x22 bl _ftp_stat cmn w0, #1 b.ne LBB0_11 ; %bb.10: Lloh10: adrp x8, _fetchLastErrCode@GOTPAGE Lloh11: ldr x8, [x8, _fetchLastErrCode@GOTPAGEOFF] Lloh12: ldr x8, [x8] Lloh13: adrp x9, _FETCH_PROTO@GOTPAGE Lloh14: ldr x9, [x9, _FETCH_PROTO@GOTPAGEOFF] Lloh15: ldr x9, [x9] Lloh16: adrp x10, _FETCH_UNAVAIL@GOTPAGE Lloh17: ldr x10, [x10, _FETCH_UNAVAIL@GOTPAGEOFF] Lloh18: ldr x10, [x10] cmp x8, x9 ccmp x8, x10, #4, ne b.ne LBB0_15 LBB0_11: Lloh19: adrp x1, l_.str@PAGE Lloh20: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _strcmp cbz x0, LBB0_19 ; %bb.12: Lloh21: adrp x1, l_.str.4@PAGE Lloh22: add x1, x1, l_.str.4@PAGEOFF mov x0, x21 bl _strcmp Lloh23: adrp x22, _O_WRONLY@GOTPAGE Lloh24: ldr x22, [x22, _O_WRONLY@GOTPAGEOFF] cbz x0, LBB0_14 ; %bb.13: Lloh25: adrp x1, l_.str.5@PAGE Lloh26: add x1, x1, l_.str.5@PAGEOFF mov x0, x21 bl _strcmp Lloh27: adrp x8, _O_RDONLY@GOTPAGE Lloh28: ldr x8, [x8, _O_RDONLY@GOTPAGEOFF] cmp x0, #0 csel x22, x22, x8, eq LBB0_14: ldr w3, [x22] ldp w4, w2, [x20, #8] mov x0, x23 mov x1, x21 mov x5, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _ftp_transfer LBB0_15: mov x0, x23 bl _ftp_disconnect LBB0_16: mov x0, #0 LBB0_17: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_18: Lloh29: adrp x1, l_.str.1@PAGE Lloh30: add x1, x1, l_.str.1@PAGEOFF b LBB0_21 LBB0_19: ldr w8, [x23] sub w8, w8, #1 str w8, [x23] mov x0, x23 bl _ftp_disconnect mov w0, #1 b LBB0_17 LBB0_20: Lloh31: adrp x1, l_.str.3@PAGE Lloh32: add x1, x1, l_.str.3@PAGEOFF LBB0_21: mov x0, x20 mov x2, x22 mov x3, x24 mov x4, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _http_request .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .cfi_endproc ; -- End function .comm _SCHEME_HTTP,8,3 ; @SCHEME_HTTP .comm _SCHEME_HTTPS,8,3 ; @SCHEME_HTTPS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "STAT" l_.str.1: ; @.str.1 .asciz "HEAD" l_.str.2: ; @.str.2 .asciz "RETR" l_.str.3: ; @.str.3 .asciz "GET" .comm _fetchLastErrCode,8,3 ; @fetchLastErrCode .comm _FETCH_PROTO,8,3 ; @FETCH_PROTO .comm _FETCH_UNAVAIL,8,3 ; @FETCH_UNAVAIL l_.str.4: ; @.str.4 .asciz "STOR" l_.str.5: ; @.str.5 .asciz "APPE" .comm _O_WRONLY,4,2 ; @O_WRONLY .comm _O_RDONLY,4,2 ; @O_RDONLY .subsections_via_symbols
AnghaBench/freebsd/lib/libfetch/extr_ftp.c_ftp_request.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ## -- Begin function main LCPI0_0: .quad 0x3ff051eb851eb852 ## double 1.02 LCPI0_1: .quad 0x43e0000000000000 ## double 9.2233720368547758E+18 .section __TEXT,__literal4,4byte_literals .p2align 2 LCPI0_2: .long 0x42c80000 ## float 100 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $1256, %rsp ## imm = 0x4E8 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -1104(%rbp) ## 8-byte Spill movl %edi, %r12d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq $0, -1152(%rbp) leaq L_.str(%rip), %rdi xorl %esi, %esi movl $5, %edx xorl %eax, %eax callq _printf cmpl $1, %r12d jle LBB0_78 ## %bb.1: leaq L_.str.18(%rip), %r14 movq %r14, %rdi callq _getenv testq %rax, %rax je LBB0_80 ## %bb.2: movq %rax, %r15 movq -1104(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rdi xorl %esi, %esi xorl %eax, %eax callq _open testl %eax, %eax js LBB0_63 ## %bb.3: movl %eax, %ebx leaq -1296(%rbp), %rsi movl %eax, %edi callq _fstat$INODE64 testl %eax, %eax jne LBB0_64 ## %bb.4: movq %r15, -1144(%rbp) ## 8-byte Spill movq -1200(%rbp), %r15 cmpq $511, %r15 ## imm = 0x1FF jle LBB0_83 ## %bb.5: movq %r15, %rdi callq _malloc testq %rax, %rax je LBB0_84 ## %bb.6: movq %rax, %r13 movl %ebx, %edi movq %rax, %rsi movq %r15, %rdx callq _read movq %rax, %r14 movl %ebx, %edi callq _close cmpq %r15, %r14 jne LBB0_65 ## %bb.7: cmpl $67324752, (%r13) ## imm = 0x4034B50 je LBB0_13 ## %bb.8: movl %r12d, %r14d cvtsi2ss %r15, %xmm0 movss %xmm0, -1120(%rbp) ## 4-byte Spill cvtss2sd %xmm0, %xmm0 mulsd LCPI0_0(%rip), %xmm0 cvttsd2si %xmm0, %rax movq %rax, %rcx subsd LCPI0_1(%rip), %xmm0 cvttsd2si %xmm0, %rdi sarq $63, %rcx andq %rcx, %rdi orq %rax, %rdi movq %rdi, -1152(%rbp) callq _malloc testq %rax, %rax je LBB0_85 ## %bb.9: movq %rax, %r12 leaq L_.str.7(%rip), %rdi movl %r15d, %esi xorl %eax, %eax callq _printf movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fflush leaq -1152(%rbp), %rsi movq %r12, %rdi movq %r13, %rdx movq %r15, %rcx movl $6, %r8d callq _compress2 testl %eax, %eax jne LBB0_86 ## %bb.10: movq -1152(%rbp), %rax movl %r15d, %ecx cmpq %rcx, %rax jae LBB0_14 ## %bb.11: testq %rax, %rax js LBB0_15 ## %bb.12: xorps %xmm0, %xmm0 cvtsi2ss %rax, %xmm0 jmp LBB0_16 LBB0_13: movl $0, -1132(%rbp) ## 4-byte Folded Spill jmp LBB0_18 LBB0_14: leaq L_str.33(%rip), %rdi callq _puts movq %r12, %rdi movl %r15d, %ebx xorl %r15d, %r15d jmp LBB0_17 LBB0_15: movq %rax, %rcx shrq %rcx andl $1, %eax orq %rcx, %rax xorps %xmm0, %xmm0 cvtsi2ss %rax, %xmm0 addss %xmm0, %xmm0 LBB0_16: mulss LCPI0_2(%rip), %xmm0 divss -1120(%rbp), %xmm0 ## 4-byte Folded Reload cvtss2sd %xmm0, %xmm0 leaq L_.str.9(%rip), %rdi movb $1, %al callq _printf movl -1152(%rbp), %ebx movq %r13, %rdi movq %r12, %r13 LBB0_17: movl %r15d, -1132(%rbp) ## 4-byte Spill callq _free movl %ebx, %r15d movl %r14d, %r12d LBB0_18: movq %r15, -1120(%rbp) ## 8-byte Spill movq -1104(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rdi callq _basename leaq L_.str.11(%rip), %rdx leaq -1088(%rbp), %rbx movl $1024, %esi ## imm = 0x400 movq %rbx, %rdi movq %rax, %rcx xorl %eax, %eax callq _snprintf cltq leaq (%rax,%rbx), %r14 incq %r14 movl $1023, %r15d ## imm = 0x3FF subl %eax, %r15d cmpl $3, %r12d movq %r13, -1128(%rbp) ## 8-byte Spill jb LBB0_24 ## %bb.19: movl %r12d, %r12d movl $2, %ebx .p2align 4, 0x90 LBB0_20: ## =>This Inner Loop Header: Depth=1 movzwl %r15w, %r13d movq -1104(%rbp), %rax ## 8-byte Reload movq (%rax,%rbx,8), %rcx movq %r14, %rdi movq %r13, %rsi leaq L_.str.11(%rip), %rdx xorl %eax, %eax callq _snprintf cmpl %r13d, %eax jge LBB0_73 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 movslq %eax, %rcx addq %rcx, %r14 incq %r14 notl %eax addl %r15d, %eax movl %eax, %r15d incq %rbx cmpq %rbx, %r12 jne LBB0_20 ## %bb.22: movl %r15d, -1108(%rbp) ## 4-byte Spill testw %r15w, %r15w movq -1128(%rbp), %r13 ## 8-byte Reload jne LBB0_25 ## %bb.23: movq %r13, %rdi jmp LBB0_74 LBB0_24: movl %r15d, -1108(%rbp) ## 4-byte Spill LBB0_25: movb $0, (%r14) leaq L_.str.13(%rip), %rsi movl $4, %edx movq -1144(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _strncmp testl %eax, %eax jne LBB0_77 ## %bb.26: movq %rbx, %rdi callq _strlen cmpq $4, %rax jbe LBB0_77 ## %bb.27: addq $4, %rbx xorpd %xmm0, %xmm0 movapd %xmm0, -64(%rbp) movq %rbx, %rdi callq _inet_addr movl %eax, %r15d movl %eax, -60(%rbp) cmpl $-1, %eax je LBB0_51 LBB0_28: movl $2, %edi movl $1, %esi xorl %edx, %edx callq _socket testl %eax, %eax js LBB0_66 ## %bb.29: movl %eax, %r14d movw $-13552, -62(%rbp) ## imm = 0xCB10 movb $2, -63(%rbp) movl %r15d, %edi callq _inet_ntoa leaq L_.str.23(%rip), %rdi movq %rax, %rsi movl $4299, %edx ## imm = 0x10CB xorl %eax, %eax callq _printf leaq -64(%rbp), %rsi movl %r14d, %edi movl $16, %edx callq _connect cmpl $-1, %eax je LBB0_67 ## %bb.30: movl $1025, %r15d ## imm = 0x401 subl -1108(%rbp), %r15d ## 4-byte Folded Reload leaq -1092(%rbp), %r12 leaq L_str.34(%rip), %rdi callq _puts movl $1482178888, -1092(%rbp) ## imm = 0x58584148 movl $4, %ebx .p2align 4, 0x90 LBB0_31: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rdx movl %r14d, %edi movq %r12, %rsi xorl %ecx, %ecx callq _send testl %eax, %eax js LBB0_60 ## %bb.32: ## in Loop: Header=BB0_31 Depth=1 movslq %eax, %rcx addq %rcx, %r12 subl %eax, %ebx jne LBB0_31 ## %bb.33: leaq -1092(%rbp), %r12 movw $1280, -1092(%rbp) ## imm = 0x500 movzwl %r15w, %eax movb %ah, -1090(%rbp) movl %eax, -1144(%rbp) ## 4-byte Spill movb %al, -1089(%rbp) movl $4, %ebx .p2align 4, 0x90 LBB0_34: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rdx movl %r14d, %edi movq %r12, %rsi xorl %ecx, %ecx callq _send testl %eax, %eax js LBB0_60 ## %bb.35: ## in Loop: Header=BB0_34 Depth=1 movslq %eax, %rcx addq %rcx, %r12 subl %eax, %ebx jne LBB0_34 ## %bb.36: leaq -1092(%rbp), %r15 leaq L_.str.26(%rip), %rdi movq -1120(%rbp), %rbx ## 8-byte Reload movl %ebx, %esi xorl %eax, %eax callq _printf movl %ebx, %eax bswapl %eax movl %eax, -1092(%rbp) movl $4, %ebx .p2align 4, 0x90 LBB0_37: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rdx movl %r14d, %edi movq %r15, %rsi xorl %ecx, %ecx callq _send testl %eax, %eax js LBB0_60 ## %bb.38: ## in Loop: Header=BB0_37 Depth=1 movslq %eax, %rcx addq %rcx, %r15 subl %eax, %ebx jne LBB0_37 ## %bb.39: leaq -1092(%rbp), %r15 movl -1132(%rbp), %eax ## 4-byte Reload bswapl %eax movl %eax, -1092(%rbp) movl $4, %ebx .p2align 4, 0x90 LBB0_40: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rdx movl %r14d, %edi movq %r15, %rsi xorl %ecx, %ecx callq _send testl %eax, %eax js LBB0_60 ## %bb.41: ## in Loop: Header=BB0_40 Depth=1 movslq %eax, %rcx addq %rcx, %r15 subl %eax, %ebx jne LBB0_40 ## %bb.42: leaq L_.str.27(%rip), %rdi xorl %r12d, %r12d xorl %eax, %eax callq _printf movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fflush movq -1120(%rbp), %rax ## 8-byte Reload testl %eax, %eax je LBB0_54 ## %bb.43: movl %eax, %ebx movq -1128(%rbp), %r13 ## 8-byte Reload jmp LBB0_45 .p2align 4, 0x90 LBB0_44: ## in Loop: Header=BB0_45 Depth=1 addq %r15, %r13 testq %rbx, %rbx je LBB0_54 LBB0_45: ## =>This Loop Header: Depth=1 ## Child Loop BB0_47 Depth 2 movl %r12d, -1104(%rbp) ## 4-byte Spill cmpq $4096, %rbx ## imm = 0x1000 movl $4096, %r15d ## imm = 0x1000 movq %rbx, -1120(%rbp) ## 8-byte Spill cmovlq %rbx, %r15 testl %r15d, %r15d je LBB0_49 ## %bb.46: ## in Loop: Header=BB0_45 Depth=1 movq %r13, %rbx movl %r15d, %r12d .p2align 4, 0x90 LBB0_47: ## Parent Loop BB0_45 Depth=1 ## => This Inner Loop Header: Depth=2 movslq %r12d, %rdx movl %r14d, %edi movq %rbx, %rsi xorl %ecx, %ecx callq _send testl %eax, %eax js LBB0_59 ## %bb.48: ## in Loop: Header=BB0_47 Depth=2 movslq %eax, %rcx addq %rcx, %rbx subl %eax, %r12d jne LBB0_47 LBB0_49: ## in Loop: Header=BB0_45 Depth=1 movq -1120(%rbp), %rbx ## 8-byte Reload subq %r15, %rbx movl -1104(%rbp), %r12d ## 4-byte Reload incl %r12d testb $15, %r12b jne LBB0_44 ## %bb.50: ## in Loop: Header=BB0_45 Depth=1 movl $46, %edi callq _putchar movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _fflush jmp LBB0_44 LBB0_51: leaq L_.str.19(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq %rbx, %rdi callq _gethostbyname testq %rax, %rax je LBB0_61 ## %bb.52: cmpl $2, 16(%rax) jne LBB0_62 ## %bb.53: movq 24(%rax), %rax movq (%rax), %rax movl (%rax), %r15d movl %r15d, -60(%rbp) jmp LBB0_28 LBB0_54: movl $10, %edi callq _putchar movzwl -1108(%rbp), %eax ## 2-byte Folded Reload cmpl $1025, %eax ## imm = 0x401 movq -1128(%rbp), %r13 ## 8-byte Reload leaq -1088(%rbp), %r15 movl -1144(%rbp), %esi ## 4-byte Reload je LBB0_58 ## %bb.55: leaq L_.str.30(%rip), %rdi xorl %eax, %eax callq _printf movl -1144(%rbp), %ebx ## 4-byte Reload .p2align 4, 0x90 LBB0_56: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rdx movl %r14d, %edi movq %r15, %rsi xorl %ecx, %ecx callq _send testl %eax, %eax js LBB0_60 ## %bb.57: ## in Loop: Header=BB0_56 Depth=1 movslq %eax, %rcx addq %rcx, %r15 subl %eax, %ebx jne LBB0_56 LBB0_58: movl %r14d, %edi callq _close leaq L_str.32(%rip), %rdi jmp LBB0_70 LBB0_59: leaq L_.str.31(%rip), %rdi callq _perror movl %r14d, %edi callq _close leaq L_str(%rip), %rdi movq -1128(%rbp), %r13 ## 8-byte Reload jmp LBB0_70 LBB0_60: leaq L_.str.31(%rip), %rdi jmp LBB0_68 LBB0_61: leaq L_.str.20(%rip), %rdi callq _herror jmp LBB0_69 LBB0_62: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.21(%rip), %rdi movl $19, %esi movl $1, %edx callq _fwrite jmp LBB0_69 LBB0_63: callq _main.cold.1 jmp LBB0_71 LBB0_64: movl %ebx, %edi callq _main.cold.3 jmp LBB0_71 LBB0_65: movq %r13, %rdi callq _main.cold.2 jmp LBB0_71 LBB0_66: leaq L_.str.22(%rip), %rdi callq _perror jmp LBB0_69 LBB0_67: leaq L_.str.24(%rip), %rdi LBB0_68: callq _perror movl %r14d, %edi callq _close LBB0_69: leaq L_str(%rip), %rdi LBB0_70: callq _puts movq %r13, %rdi callq _free LBB0_71: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_82 ## %bb.72: xorl %eax, %eax addq $1256, %rsp ## imm = 0x4E8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_73: movq -1128(%rbp), %rdi ## 8-byte Reload LBB0_74: callq _free movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.12(%rip), %rdi LBB0_75: movl $25, %esi LBB0_76: movl $1, %edx callq _fwrite movl $1, %edi callq _exit LBB0_77: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.16(%rip), %rsi leaq L_.str.17(%rip), %rcx leaq L_.str.18(%rip), %rdx jmp LBB0_79 LBB0_78: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.18(%rip), %rdx leaq L_.str.16(%rip), %rsi leaq L_.str.17(%rip), %rcx LBB0_79: movq %rdx, %r8 movq %rcx, %r9 xorl %eax, %eax movq -1104(%rbp), %rbx ## 8-byte Reload pushq (%rbx) pushq %rdx jmp LBB0_81 LBB0_80: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.16(%rip), %rsi leaq L_.str.17(%rip), %rcx movq %r14, %rdx movq %r14, %r8 movq %rcx, %r9 xorl %eax, %eax movq -1104(%rbp), %rbx ## 8-byte Reload pushq (%rbx) pushq %r14 LBB0_81: callq _fprintf addq $16, %rsp movl $1, %edi callq _exit LBB0_82: callq ___stack_chk_fail LBB0_83: movl %ebx, %edi callq _close movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.3(%rip), %rdi jmp LBB0_75 LBB0_84: movl %ebx, %edi callq _close LBB0_85: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.4(%rip), %rdi movl $14, %esi jmp LBB0_76 LBB0_86: movl %eax, %ebx movq %r13, %rdi callq _free movq %r12, %rdi callq _free movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.8(%rip), %rsi movl %ebx, %edx xorl %eax, %eax callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.1(%rip), %rdi callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.2 _main.cold.2: ## @main.cold.2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _free leaq L_.str.5(%rip), %rdi callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.3 _main.cold.3: ## @main.cold.3 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _close leaq L_.str.2(%rip), %rdi callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ps3load v%u.%u\ncoded by dhewg, #wiidev efnet\n\n" L_.str.1: ## @.str.1 .asciz "error opening the file" L_.str.2: ## @.str.2 .asciz "error stat'ing the file" L_.str.3: ## @.str.3 .asciz "error: invalid file size\n" L_.str.4: ## @.str.4 .asciz "out of memory\n" L_.str.5: ## @.str.5 .asciz "error reading the file" L_.str.6: ## @.str.6 .asciz "PK\003\004" L_.str.7: ## @.str.7 .asciz "compressing %u bytes..." L_.str.8: ## @.str.8 .asciz "error compressing data: %d\n" L_.str.9: ## @.str.9 .asciz " %.2f%%\n" L_.str.11: ## @.str.11 .asciz "%s" L_.str.12: ## @.str.12 .asciz "argument string too long\n" L_.str.13: ## @.str.13 .asciz "tcp:" L_.str.16: ## @.str.16 .asciz "set the environment variable %s to a valid destination.\n\nexamples:\n\ttcp mode:\n\t\t%s %s=tcp:wii\n\t\t%s %s=tcp:192.168.0.30\n\nusage:\n\t%s <filename> <application arguments>\n\n" L_.str.17: ## @.str.17 .asciz "export" L_.str.18: ## @.str.18 .asciz "PS3LOAD" L_.str.19: ## @.str.19 .asciz "resolving %s\n" L_.str.20: ## @.str.20 .asciz "error resolving hostname" L_.str.21: ## @.str.21 .asciz "unsupported address" L_.str.22: ## @.str.22 .asciz "error creating socket" L_.str.23: ## @.str.23 .asciz "connecting to %s:%d\n" L_.str.24: ## @.str.24 .asciz "error connecting" L_.str.26: ## @.str.26 .asciz "sending file size (%u bytes)\n" L_.str.27: ## @.str.27 .asciz "sending data" L_.str.30: ## @.str.30 .asciz "sending arguments (%u bytes)\n" L_.str.31: ## @.str.31 .asciz "send failed" L_str: ## @str .asciz "transfer failed." L_str.32: ## @str.32 .asciz "done." L_str.33: ## @str.33 .asciz " compressed size gained size, discarding" L_str.34: ## @str.34 .asciz "sending upload request" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp d9, d8, [sp, #-112]! ; 16-byte Folded Spill .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 sub sp, sp, #1280 mov x22, x1 mov x24, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-112] str xzr, [sp, #64] mov w8, #5 stp xzr, x8, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf cmp w24, #1 b.le LBB0_69 ; %bb.1: Lloh5: adrp x28, l_.str.18@PAGE Lloh6: add x28, x28, l_.str.18@PAGEOFF mov x0, x28 bl _getenv cbz x0, LBB0_68 ; %bb.2: mov x23, x0 ldr x0, [x22, #8] mov w1, #0 bl _open tbnz w0, #31, LBB0_72 ; %bb.3: mov x25, x0 add x1, sp, #72 bl _fstat cbnz w0, LBB0_73 ; %bb.4: ldr x20, [sp, #168] cmp x20, #511 b.le LBB0_74 ; %bb.5: mov x0, x20 bl _malloc cbz x0, LBB0_75 ; %bb.6: mov x21, x0 mov x0, x25 mov x1, x21 mov x2, x20 bl _read mov x26, x0 mov x0, x25 bl _close cmp x26, x20 b.ne LBB0_77 ; %bb.7: ldr w8, [x21] mov w9, #19280 movk w9, #1027, lsl #16 cmp w8, w9 b.eq LBB0_12 ; %bb.8: scvtf s8, x20 fcvt d0, s8 mov x8, #47186 movk x8, #34078, lsl #16 movk x8, #20971, lsl #32 movk x8, #16368, lsl #48 fmov d1, x8 fmul d0, d0, d1 fcvtzu x0, d0 str x0, [sp, #64] bl _malloc cbz x0, LBB0_76 ; %bb.9: mov x25, x0 mov x8, x20 str x8, [sp] Lloh7: adrp x0, l_.str.7@PAGE Lloh8: add x0, x0, l_.str.7@PAGEOFF bl _printf Lloh9: adrp x8, ___stdoutp@GOTPAGE Lloh10: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh11: ldr x0, [x8] bl _fflush add x1, sp, #64 mov x0, x25 mov x2, x21 mov x3, x20 mov w4, #6 bl _compress2 ; kill: def $w0 killed $w0 def $x0 cbnz w0, LBB0_79 ; %bb.10: ldr x8, [sp, #64] cmp x8, w20, uxtw b.hs LBB0_13 ; %bb.11: ucvtf s0, x8 mov w8, #1120403456 fmov s1, w8 fmul s0, s0, s1 fdiv s0, s0, s8 fcvt d0, s0 str d0, [sp] Lloh12: adrp x0, l_.str.9@PAGE Lloh13: add x0, x0, l_.str.9@PAGEOFF bl _printf ldr w19, [sp, #64] mov x0, x21 mov x21, x25 b LBB0_14 LBB0_12: str x21, [sp, #56] ; 8-byte Folded Spill mov w26, #0 b LBB0_15 LBB0_13: Lloh14: adrp x0, l_str.33@PAGE Lloh15: add x0, x0, l_str.33@PAGEOFF bl _puts mov x0, x25 mov x19, x20 mov w20, #0 LBB0_14: str x21, [sp, #56] ; 8-byte Folded Spill mov x26, x20 bl _free mov x20, x19 LBB0_15: ldr x0, [x22, #8] bl _basename str x0, [sp] Lloh16: adrp x2, l_.str.11@PAGE Lloh17: add x2, x2, l_.str.11@PAGEOFF add x19, sp, #224 add x0, sp, #224 mov w1, #1024 bl _snprintf add x8, x19, w0, sxtw add x25, x8, #1 mov w8, #1023 sub w27, w8, w0 cmp w24, #3 b.lo LBB0_20 ; %bb.16: mov x19, x26 mov w8, w24 add x26, x22, #16 sub x21, x8, #2 Lloh18: adrp x24, l_.str.11@PAGE Lloh19: add x24, x24, l_.str.11@PAGEOFF LBB0_17: ; =>This Inner Loop Header: Depth=1 and x1, x27, #0xffff ldr x8, [x26] str x8, [sp] mov x0, x25 mov x2, x24 bl _snprintf cmp w0, w27, uxth b.ge LBB0_65 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 add w8, w0, #1 add x25, x25, w8, sxtw sub w27, w27, w8 add x26, x26, #8 subs x21, x21, #1 b.ne LBB0_17 ; %bb.19: tst w27, #0xffff mov x26, x19 b.eq LBB0_65 LBB0_20: strb wzr, [x25] Lloh20: adrp x1, l_.str.13@PAGE Lloh21: add x1, x1, l_.str.13@PAGEOFF mov x0, x23 mov w2, #4 bl _strncmp cbnz w0, LBB0_68 ; %bb.21: mov x0, x23 bl _strlen cmp x0, #4 b.ls LBB0_68 ; %bb.22: add x21, x23, #4 stp xzr, xzr, [x29, #-128] mov x0, x21 bl _inet_addr mov x22, x0 stur w0, [x29, #-124] cmn w0, #1 b.eq LBB0_46 LBB0_23: mov w19, #2 mov w0, #2 mov w1, #1 mov w2, #0 bl _socket tbnz w0, #31, LBB0_58 ; %bb.24: mov x21, x0 mov w8, #51984 sturh w8, [x29, #-126] sturb w19, [x29, #-127] mov w0, w22 bl _inet_ntoa mov w8, #4299 stp x0, x8, [sp] Lloh22: adrp x0, l_.str.23@PAGE Lloh23: add x0, x0, l_.str.23@PAGEOFF bl _printf sub x1, x29, #128 mov x0, x21 mov w2, #16 bl _connect cmn w0, #1 b.eq LBB0_63 ; %bb.25: mov w8, #1025 sub w24, w8, w27 add x22, sp, #220 Lloh24: adrp x0, l_str.34@PAGE Lloh25: add x0, x0, l_str.34@PAGEOFF bl _puts mov w8, #16712 movk w8, #22616, lsl #16 str w8, [sp, #220] mov w23, #4 LBB0_26: ; =>This Inner Loop Header: Depth=1 sxtw x2, w23 mov x0, x21 mov x1, x22 mov w3, #0 bl _send tbnz w0, #31, LBB0_54 ; %bb.27: ; in Loop: Header=BB0_26 Depth=1 add x22, x22, w0, sxtw subs w23, w23, w0 b.ne LBB0_26 ; %bb.28: add x22, sp, #220 mov w8, #1280 strh w8, [sp, #220] and w23, w24, #0xffff lsr w8, w24, #8 strb w8, [sp, #222] strb w24, [sp, #223] mov w24, #4 LBB0_29: ; =>This Inner Loop Header: Depth=1 sxtw x2, w24 mov x0, x21 mov x1, x22 mov w3, #0 bl _send tbnz w0, #31, LBB0_54 ; %bb.30: ; in Loop: Header=BB0_29 Depth=1 add x22, x22, w0, sxtw subs w24, w24, w0 b.ne LBB0_29 ; %bb.31: add x22, sp, #220 mov x8, x20 str x8, [sp] Lloh26: adrp x0, l_.str.26@PAGE Lloh27: add x0, x0, l_.str.26@PAGEOFF bl _printf rev w8, w20 str w8, [sp, #220] mov w24, #4 LBB0_32: ; =>This Inner Loop Header: Depth=1 sxtw x2, w24 mov x0, x21 mov x1, x22 mov w3, #0 bl _send tbnz w0, #31, LBB0_54 ; %bb.33: ; in Loop: Header=BB0_32 Depth=1 add x22, x22, w0, sxtw subs w24, w24, w0 b.ne LBB0_32 ; %bb.34: add x22, sp, #220 rev w8, w26 str w8, [sp, #220] mov w24, #4 LBB0_35: ; =>This Inner Loop Header: Depth=1 sxtw x2, w24 mov x0, x21 mov x1, x22 mov w3, #0 bl _send tbnz w0, #31, LBB0_54 ; %bb.36: ; in Loop: Header=BB0_35 Depth=1 add x22, x22, w0, sxtw subs w24, w24, w0 b.ne LBB0_35 ; %bb.37: Lloh28: adrp x0, l_.str.27@PAGE Lloh29: add x0, x0, l_.str.27@PAGEOFF bl _printf Lloh30: adrp x8, ___stdoutp@GOTPAGE Lloh31: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh32: ldr x0, [x8] bl _fflush cbz w20, LBB0_49 ; %bb.38: mov w22, #0 mov w24, #4096 ldr x25, [sp, #56] ; 8-byte Folded Reload mov w28, w20 b LBB0_40 LBB0_39: ; in Loop: Header=BB0_40 Depth=1 add x25, x25, x19 cbz x28, LBB0_49 LBB0_40: ; =>This Loop Header: Depth=1 ; Child Loop BB0_42 Depth 2 cmp x28, #1, lsl #12 ; =4096 csel x19, x28, x24, lt cbz w19, LBB0_44 ; %bb.41: ; in Loop: Header=BB0_40 Depth=1 mov x20, x25 mov x26, x19 LBB0_42: ; Parent Loop BB0_40 Depth=1 ; => This Inner Loop Header: Depth=2 sxtw x2, w26 mov x0, x21 mov x1, x20 mov w3, #0 bl _send tbnz w0, #31, LBB0_54 ; %bb.43: ; in Loop: Header=BB0_42 Depth=2 add x20, x20, w0, sxtw subs w26, w26, w0 b.ne LBB0_42 LBB0_44: ; in Loop: Header=BB0_40 Depth=1 sub x28, x28, x19 add w22, w22, #1 tst w22, #0xf b.ne LBB0_39 ; %bb.45: ; in Loop: Header=BB0_40 Depth=1 mov w0, #46 bl _putchar Lloh33: adrp x8, ___stdoutp@GOTPAGE Lloh34: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh35: ldr x0, [x8] bl _fflush b LBB0_39 LBB0_46: str x21, [sp] Lloh36: adrp x0, l_.str.19@PAGE Lloh37: add x0, x0, l_.str.19@PAGEOFF bl _printf mov x0, x21 bl _gethostbyname cbz x0, LBB0_56 ; %bb.47: ldr w8, [x0, #16] cmp w8, #2 b.ne LBB0_57 ; %bb.48: ldr x8, [x0, #24] ldr x8, [x8] ldr w22, [x8] stur w22, [x29, #-124] b LBB0_23 LBB0_49: mov w0, #10 bl _putchar and w8, w27, #0xffff cmp w8, #1025 ldr x19, [sp, #56] ; 8-byte Folded Reload b.eq LBB0_53 ; %bb.50: add x20, sp, #224 mov x8, x23 str x8, [sp] Lloh38: adrp x0, l_.str.30@PAGE Lloh39: add x0, x0, l_.str.30@PAGEOFF bl _printf LBB0_51: ; =>This Inner Loop Header: Depth=1 sxtw x2, w23 mov x0, x21 mov x1, x20 mov w3, #0 bl _send tbnz w0, #31, LBB0_64 ; %bb.52: ; in Loop: Header=BB0_51 Depth=1 add x20, x20, w0, sxtw subs w23, w23, w0 b.ne LBB0_51 LBB0_53: mov x0, x21 bl _close Lloh40: adrp x0, l_str.32@PAGE Lloh41: add x0, x0, l_str.32@PAGEOFF b LBB0_61 LBB0_54: Lloh42: adrp x0, l_.str.31@PAGE Lloh43: add x0, x0, l_.str.31@PAGEOFF LBB0_55: bl _perror mov x0, x21 bl _close b LBB0_59 LBB0_56: Lloh44: adrp x0, l_.str.20@PAGE Lloh45: add x0, x0, l_.str.20@PAGEOFF bl _herror b LBB0_59 LBB0_57: Lloh46: adrp x8, ___stderrp@GOTPAGE Lloh47: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh48: ldr x3, [x8] Lloh49: adrp x0, l_.str.21@PAGE Lloh50: add x0, x0, l_.str.21@PAGEOFF mov w1, #19 mov w2, #1 bl _fwrite b LBB0_59 LBB0_58: Lloh51: adrp x0, l_.str.22@PAGE Lloh52: add x0, x0, l_.str.22@PAGEOFF bl _perror LBB0_59: ldr x19, [sp, #56] ; 8-byte Folded Reload LBB0_60: Lloh53: adrp x0, l_str@PAGE Lloh54: add x0, x0, l_str@PAGEOFF LBB0_61: bl _puts mov x0, x19 bl _free ldur x8, [x29, #-112] Lloh55: adrp x9, ___stack_chk_guard@GOTPAGE Lloh56: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh57: ldr x9, [x9] cmp x9, x8 b.ne LBB0_78 ; %bb.62: mov w0, #0 add sp, sp, #1280 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #112 ; 16-byte Folded Reload ret LBB0_63: Lloh58: adrp x0, l_.str.24@PAGE Lloh59: add x0, x0, l_.str.24@PAGEOFF b LBB0_55 LBB0_64: Lloh60: adrp x0, l_.str.31@PAGE Lloh61: add x0, x0, l_.str.31@PAGEOFF bl _perror mov x0, x21 bl _close b LBB0_60 LBB0_65: ldr x0, [sp, #56] ; 8-byte Folded Reload bl _free Lloh62: adrp x8, ___stderrp@GOTPAGE Lloh63: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh64: ldr x3, [x8] Lloh65: adrp x0, l_.str.12@PAGE Lloh66: add x0, x0, l_.str.12@PAGEOFF LBB0_66: mov w1, #25 LBB0_67: mov w2, #1 bl _fwrite mov w0, #1 bl _exit LBB0_68: ldr x8, [x22] Lloh67: adrp x9, ___stderrp@GOTPAGE Lloh68: ldr x9, [x9, ___stderrp@GOTPAGEOFF] Lloh69: ldr x0, [x9] stp x28, x8, [sp, #32] Lloh70: adrp x8, l_.str.17@PAGE Lloh71: add x8, x8, l_.str.17@PAGEOFF stp x28, x8, [sp, #16] stp x28, x8, [sp] b LBB0_70 LBB0_69: Lloh72: adrp x8, l_.str.18@PAGE Lloh73: add x8, x8, l_.str.18@PAGEOFF ldr x9, [x22] Lloh74: adrp x10, ___stderrp@GOTPAGE Lloh75: ldr x10, [x10, ___stderrp@GOTPAGEOFF] Lloh76: ldr x0, [x10] stp x8, x9, [sp, #32] Lloh77: adrp x9, l_.str.17@PAGE Lloh78: add x9, x9, l_.str.17@PAGEOFF stp x8, x9, [sp, #16] stp x8, x9, [sp] LBB0_70: Lloh79: adrp x1, l_.str.16@PAGE Lloh80: add x1, x1, l_.str.16@PAGEOFF LBB0_71: bl _fprintf mov w0, #1 bl _exit LBB0_72: bl _main.cold.1 LBB0_73: mov x0, x25 bl _main.cold.3 LBB0_74: mov x0, x25 bl _close Lloh81: adrp x8, ___stderrp@GOTPAGE Lloh82: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh83: ldr x3, [x8] Lloh84: adrp x0, l_.str.3@PAGE Lloh85: add x0, x0, l_.str.3@PAGEOFF b LBB0_66 LBB0_75: mov x0, x25 bl _close LBB0_76: Lloh86: adrp x8, ___stderrp@GOTPAGE Lloh87: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh88: ldr x3, [x8] Lloh89: adrp x0, l_.str.4@PAGE Lloh90: add x0, x0, l_.str.4@PAGEOFF mov w1, #14 b LBB0_67 LBB0_77: mov x0, x21 bl _main.cold.2 LBB0_78: bl ___stack_chk_fail LBB0_79: mov x19, x0 mov x0, x21 bl _free mov x0, x25 bl _free Lloh91: adrp x8, ___stderrp@GOTPAGE Lloh92: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh93: ldr x0, [x8] str x19, [sp] Lloh94: adrp x1, l_.str.8@PAGE Lloh95: add x1, x1, l_.str.8@PAGEOFF b LBB0_71 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69 .loh AdrpAdd Lloh77, Lloh78 .loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh79, Lloh80 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpAdd Lloh89, Lloh90 .loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh96: adrp x0, l_.str.1@PAGE Lloh97: add x0, x0, l_.str.1@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh96, Lloh97 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.2 _main.cold.2: ; @main.cold.2 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _free Lloh98: adrp x0, l_.str.5@PAGE Lloh99: add x0, x0, l_.str.5@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh98, Lloh99 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.3 _main.cold.3: ; @main.cold.3 .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _close Lloh100: adrp x0, l_.str.2@PAGE Lloh101: add x0, x0, l_.str.2@PAGEOFF bl _perror bl _OUTLINED_FUNCTION_0 .loh AdrpAdd Lloh100, Lloh101 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function OUTLINED_FUNCTION_0 _OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk .cfi_startproc ; %bb.0: mov w0, #1 b _exit .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ps3load v%u.%u\ncoded by dhewg, #wiidev efnet\n\n" l_.str.1: ; @.str.1 .asciz "error opening the file" l_.str.2: ; @.str.2 .asciz "error stat'ing the file" l_.str.3: ; @.str.3 .asciz "error: invalid file size\n" l_.str.4: ; @.str.4 .asciz "out of memory\n" l_.str.5: ; @.str.5 .asciz "error reading the file" l_.str.6: ; @.str.6 .asciz "PK\003\004" l_.str.7: ; @.str.7 .asciz "compressing %u bytes..." l_.str.8: ; @.str.8 .asciz "error compressing data: %d\n" l_.str.9: ; @.str.9 .asciz " %.2f%%\n" l_.str.11: ; @.str.11 .asciz "%s" l_.str.12: ; @.str.12 .asciz "argument string too long\n" l_.str.13: ; @.str.13 .asciz "tcp:" l_.str.16: ; @.str.16 .asciz "set the environment variable %s to a valid destination.\n\nexamples:\n\ttcp mode:\n\t\t%s %s=tcp:wii\n\t\t%s %s=tcp:192.168.0.30\n\nusage:\n\t%s <filename> <application arguments>\n\n" l_.str.17: ; @.str.17 .asciz "export" l_.str.18: ; @.str.18 .asciz "PS3LOAD" l_.str.19: ; @.str.19 .asciz "resolving %s\n" l_.str.20: ; @.str.20 .asciz "error resolving hostname" l_.str.21: ; @.str.21 .asciz "unsupported address" l_.str.22: ; @.str.22 .asciz "error creating socket" l_.str.23: ; @.str.23 .asciz "connecting to %s:%d\n" l_.str.24: ; @.str.24 .asciz "error connecting" l_.str.26: ; @.str.26 .asciz "sending file size (%u bytes)\n" l_.str.27: ; @.str.27 .asciz "sending data" l_.str.30: ; @.str.30 .asciz "sending arguments (%u bytes)\n" l_.str.31: ; @.str.31 .asciz "send failed" l_str: ; @str .asciz "transfer failed." l_str.32: ; @str.32 .asciz "done." l_str.33: ; @str.33 .asciz " compressed size gained size, discarding" l_str.34: ; @str.34 .asciz "sending upload request" .subsections_via_symbols
the_stack_data/205498.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cciss_procinit _cciss_procinit: ## @cciss_procinit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cciss_procinit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cciss_procinit _cciss_procinit: ; @cciss_procinit .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _cciss_procinit .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/block/extr_cciss.c_cciss_procinit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function remove_intersecting_rcs _remove_intersecting_rcs: ## @remove_intersecting_rcs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _MERGE_RC_PIXELS@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %rsi, -56(%rbp) ## 8-byte Spill movl (%rsi), %ecx movq %rdi, -48(%rbp) ## 8-byte Spill leaq -16(%rdi), %rax movq %rax, -64(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_1: ## in Loop: Header=BB0_2 Depth=1 testl %eax, %eax je LBB0_14 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_6 Depth 3 testl %ecx, %ecx jle LBB0_14 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 xorl %r14d, %r14d xorl %eax, %eax jmp LBB0_4 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_4 Depth=2 movq -56(%rbp), %rcx ## 8-byte Reload movl (%rcx), %ecx LBB0_13: ## in Loop: Header=BB0_4 Depth=2 leaq -1(%r14), %rdx movslq %ecx, %rsi cmpq %rsi, %r14 movq %rdx, %r14 jg LBB0_1 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_6 Depth 3 leal -1(%rcx), %edx movslq %edx, %rdx cmpq %rdx, %r14 jge LBB0_13 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 movq %r14, %r15 shlq $4, %r15 addq -48(%rbp), %r15 ## 8-byte Folded Reload movslq %ecx, %r12 leaq -1(%r12), %r13 shlq $4, %r12 addq -64(%rbp), %r12 ## 8-byte Folded Reload jmp LBB0_6 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_6 Depth=3 movq %r15, %rdi movq %r12, %rsi callq _mp_rect_union movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %esi movq -48(%rbp), %rdi ## 8-byte Reload movl %r13d, %edx callq _MP_TARRAY_REMOVE_AT movl $1, %eax LBB0_11: ## in Loop: Header=BB0_6 Depth=3 decq %r13 addq $-16, %r12 cmpq %r14, %r13 jle LBB0_12 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_4 Depth=2 ## => This Inner Loop Header: Depth=3 movl (%r15), %ecx subl %ebx, %ecx cmpl 4(%r12), %ecx jle LBB0_10 ## %bb.7: ## in Loop: Header=BB0_6 Depth=3 movl 4(%r15), %ecx subl %ebx, %ecx cmpl (%r12), %ecx jl LBB0_11 ## %bb.8: ## in Loop: Header=BB0_6 Depth=3 movl 8(%r15), %ecx subl %ebx, %ecx cmpl 12(%r12), %ecx jg LBB0_11 ## %bb.9: ## in Loop: Header=BB0_6 Depth=3 movl 12(%r15), %ecx addl %ebx, %ecx cmpl 8(%r12), %ecx jge LBB0_10 jmp LBB0_11 LBB0_14: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MERGE_RC_PIXELS,4,2 ## @MERGE_RC_PIXELS .no_dead_strip _remove_intersecting_rcs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function remove_intersecting_rcs _remove_intersecting_rcs: ; @remove_intersecting_rcs .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _MERGE_RC_PIXELS@GOTPAGE Lloh1: ldr x8, [x8, _MERGE_RC_PIXELS@GOTPAGEOFF] Lloh2: ldr w24, [x8] ldr w9, [x1] sub x25, x0, #16 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 cbz w8, LBB0_14 LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_10 Depth 3 cmp w9, #1 b.lt LBB0_14 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x26, #0 ; =0x0 mov w8, #0 ; =0x0 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=2 ldr w9, [x19] LBB0_5: ; in Loop: Header=BB0_6 Depth=2 cmp x26, w9, sxtw sub x26, x26, #1 b.gt LBB0_1 LBB0_6: ; Parent Loop BB0_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_10 Depth 3 sub w10, w9, #1 cmp x26, w10, sxtw b.ge LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 add x21, x20, x26, lsl #4 sxtw x10, w9 sub x22, x10, #1 add x23, x25, w9, sxtw #4 b LBB0_10 LBB0_8: ; in Loop: Header=BB0_10 Depth=3 mov x0, x21 mov x1, x23 bl _mp_rect_union ldr w1, [x19] mov x0, x20 mov x2, x22 bl _MP_TARRAY_REMOVE_AT mov w8, #1 ; =0x1 LBB0_9: ; in Loop: Header=BB0_10 Depth=3 sub x22, x22, #1 sub x23, x23, #16 cmp x22, x26 b.le LBB0_4 LBB0_10: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_6 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w9, [x21] ldr w10, [x23, #4] sub w9, w9, w24 cmp w9, w10 b.le LBB0_8 ; %bb.11: ; in Loop: Header=BB0_10 Depth=3 ldr w9, [x21, #4] ldr w10, [x23] sub w9, w9, w24 cmp w9, w10 b.lt LBB0_9 ; %bb.12: ; in Loop: Header=BB0_10 Depth=3 ldr w9, [x21, #8] ldr w10, [x23, #12] sub w9, w9, w24 cmp w9, w10 b.gt LBB0_9 ; %bb.13: ; in Loop: Header=BB0_10 Depth=3 ldr w9, [x21, #12] ldr w10, [x23, #8] add w9, w9, w24 cmp w9, w10 b.ge LBB0_8 b LBB0_9 LBB0_14: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MERGE_RC_PIXELS,4,2 ; @MERGE_RC_PIXELS .no_dead_strip _remove_intersecting_rcs .subsections_via_symbols
assembly_file_33308.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dh_init ## -- Begin function dh_init .p2align 4, 0x90 _dh_init: ## @dh_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdi, %rdi je LBB0_9 ## %bb.1: movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rdi callq _wpabuf_clear_free movq (%rbx), %rdi callq _wpabuf_alloc movq %rax, (%r14) testq %rax, %rax je LBB0_9 ## %bb.2: movq (%rbx), %rdi callq _wpabuf_alloc testq %rax, %rax je LBB0_8 ## %bb.3: movq %rax, %r15 movq 16(%rbx), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movl 8(%rbx), %r13d movq (%rbx), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq (%r14), %rdi callq _wpabuf_mhead movl %eax, %r12d movq %r15, %rdi callq _wpabuf_mhead movl -44(%rbp), %edi ## 4-byte Reload movl %r13d, %esi movq -56(%rbp), %rdx ## 8-byte Reload movl %r12d, %ecx movl %eax, %r8d callq _crypto_dh_init testq %rax, %rax js LBB0_7 ## %bb.4: movq (%r14), %rdi movq (%rbx), %rsi callq _wpabuf_put movq (%rbx), %rsi movq %r15, %rdi callq _wpabuf_put movq _MSG_DEBUG@GOTPCREL(%rip), %rbx movl (%rbx), %edi movq (%r14), %rdx leaq L_.str.1(%rip), %rsi callq _wpa_hexdump_buf_key movl (%rbx), %edi leaq L_.str.2(%rip), %rsi movq %r15, %rdx callq _wpa_hexdump_buf jmp LBB0_10 LBB0_7: movq %r15, %rdi callq _wpabuf_clear_free movq _MSG_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _wpa_printf LBB0_8: movq (%r14), %rdi callq _wpabuf_clear_free movq $0, (%r14) LBB0_9: xorl %r15d, %r15d LBB0_10: movq %r15, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_INFO,4,2 ## @MSG_INFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DH: crypto_dh_init failed" .comm _MSG_DEBUG,4,2 ## @MSG_DEBUG L_.str.1: ## @.str.1 .asciz "DH: private value" L_.str.2: ## @.str.2 .asciz "DH: public value" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dh_init ; -- Begin function dh_init .p2align 2 _dh_init: ; @dh_init .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 cbz x0, LBB0_5 ; %bb.1: mov x19, x1 mov x21, x0 ldr x0, [x1] bl _wpabuf_clear_free ldr x0, [x21] bl _wpabuf_alloc str x0, [x19] cbz x0, LBB0_5 ; %bb.2: ldr x0, [x21] bl _wpabuf_alloc mov x20, x0 cbz x0, LBB0_6 ; %bb.3: ldr x8, [x21, #16] ldr w22, [x8] ldr w23, [x21, #8] ldr x24, [x21] ldr x0, [x19] bl _wpabuf_mhead mov x25, x0 mov x0, x20 bl _wpabuf_mhead mov x4, x0 mov x0, x22 mov x1, x23 mov x2, x24 mov x3, x25 bl _crypto_dh_init tbnz x0, #63, LBB0_7 ; %bb.4: ldr x0, [x19] ldr x1, [x21] bl _wpabuf_put ldr x1, [x21] mov x0, x20 bl _wpabuf_put Lloh0: adrp x21, _MSG_DEBUG@GOTPAGE Lloh1: ldr x21, [x21, _MSG_DEBUG@GOTPAGEOFF] ldr w0, [x21] ldr x2, [x19] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF bl _wpa_hexdump_buf_key ldr w0, [x21] Lloh4: adrp x1, l_.str.2@PAGE Lloh5: add x1, x1, l_.str.2@PAGEOFF mov x2, x20 bl _wpa_hexdump_buf b LBB0_9 LBB0_5: mov x20, #0 b LBB0_9 LBB0_6: ldr x0, [x19] bl _wpabuf_clear_free b LBB0_8 LBB0_7: mov x0, x20 bl _wpabuf_clear_free Lloh6: adrp x8, _MSG_INFO@GOTPAGE Lloh7: ldr x8, [x8, _MSG_INFO@GOTPAGEOFF] Lloh8: ldr w0, [x8] Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF bl _wpa_printf ldr x0, [x19] bl _wpabuf_clear_free mov x20, #0 LBB0_8: str xzr, [x19] LBB0_9: mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _MSG_INFO,4,2 ; @MSG_INFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DH: crypto_dh_init failed" .comm _MSG_DEBUG,4,2 ; @MSG_DEBUG l_.str.1: ; @.str.1 .asciz "DH: private value" l_.str.2: ; @.str.2 .asciz "DH: public value" .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/crypto/extr_dh_groups.c_dh_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function hdmi_std_setup_channel_mapping LCPI0_0: .long 0 ## 0x0 .long 1 ## 0x1 .long 2 ## 0x2 .long 3 ## 0x3 LCPI0_1: .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 .long 4 ## 0x4 LCPI0_2: .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 .long 8 ## 0x8 LCPI0_3: .long 240 ## 0xf0 .long 240 ## 0xf0 .long 240 ## 0xf0 .long 240 ## 0xf0 .section __TEXT,__literal4,4byte_literals LCPI0_4: .byte 0 ## 0x0 .byte 1 ## 0x1 .byte 2 ## 0x2 .byte 3 ## 0x3 LCPI0_5: .space 4,4 LCPI0_6: .space 4,8 LCPI0_7: .space 4,240 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _hdmi_std_setup_channel_mapping: ## @hdmi_std_setup_channel_mapping .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movl %edx, %ebx movl %esi, -92(%rbp) ## 4-byte Spill movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl %ecx, %edi callq _get_channel_allocation_order movq _channel_allocations@GOTPCREL(%rip), %rdx movslq %eax, %r13 shlq $4, %r13 movq _hdmi_channel_mapping@GOTPCREL(%rip), %rax movq (%rax), %rcx movslq %r12d, %rax movq %rax, -88(%rbp) ## 8-byte Spill movq (%rcx,%rax,8), %rax addq (%rdx), %r13 cmpl $0, 4(%rax) jne LBB0_25 ## %bb.1: cmpl $0, (%r13) jle LBB0_2 ## %bb.3: xorl %r12d, %r12d xorl %r14d, %r14d jmp LBB0_4 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq %rcx, %r14 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_4 Depth=1 movl %r12d, %eax shll $4, %eax orl %r14d, %eax leal 1(%r14), %ecx movq _hdmi_channel_mapping@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq -88(%rbp), %rsi ## 8-byte Reload movq (%rdx,%rsi,8), %rdx movl %eax, (%rdx,%r12,4) leaq -1(%r12), %rax movslq (%r13), %rdx movl %ecx, %r14d cmpq %rdx, %r12 movq %rax, %r12 jg LBB0_8 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 xorl %edi, %edi cmpl $8, %r14d setge %dil callq _WARN_ON testl %eax, %eax jne LBB0_29 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movslq %r14d, %rcx .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%r13), %rax cmpl $0, 28(%rax,%rcx,4) jne LBB0_7 ## %bb.28: ## in Loop: Header=BB0_6 Depth=2 leaq 1(%rcx), %r14 xorl %edi, %edi cmpq $7, %rcx setge %dil callq _WARN_ON movq %r14, %rcx testl %eax, %eax je LBB0_6 jmp LBB0_29 LBB0_8: movq _hdmi_channel_mapping@GOTPCREL(%rip), %rcx movq (%rcx), %rcx jmp LBB0_9 LBB0_2: xorl %eax, %eax LBB0_9: movq 8(%r13), %rdx cmpl $0, 28(%rdx) je LBB0_10 ## %bb.11: cmpl $0, 24(%rdx) je LBB0_12 LBB0_13: cmpl $0, 20(%rdx) je LBB0_14 LBB0_15: cmpl $0, 16(%rdx) je LBB0_16 LBB0_17: cmpl $0, 12(%rdx) je LBB0_18 LBB0_19: cmpl $0, 8(%rdx) je LBB0_20 LBB0_21: cmpl $0, 4(%rdx) je LBB0_22 LBB0_23: cmpl $0, (%rdx) je LBB0_24 LBB0_25: testl %ebx, %ebx je LBB0_42 LBB0_26: movslq (%r13), %rax testq %rax, %rax jle LBB0_27 ## %bb.30: cmpl $7, %eax ja LBB0_34 ## %bb.31: xorl %ecx, %ecx jmp LBB0_32 LBB0_27: xorl %eax, %eax jmp LBB0_38 LBB0_34: movl %eax, %ecx andl $2147483640, %ecx ## imm = 0x7FFFFFF8 movl %eax, %edx shrl $3, %edx andl $268435455, %edx ## imm = 0xFFFFFFF shlq $5, %rdx pmovsxbd LCPI0_4(%rip), %xmm0 ## xmm0 = [0,1,2,3] xorl %esi, %esi pmovsxbd LCPI0_5(%rip), %xmm1 ## xmm1 = [4,4,4,4] pmovsxbd LCPI0_6(%rip), %xmm2 ## xmm2 = [8,8,8,8] .p2align 4, 0x90 LBB0_35: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm3 paddd %xmm1, %xmm3 movdqa %xmm0, %xmm4 pslld $4, %xmm4 movdqa %xmm3, %xmm5 pslld $4, %xmm5 por %xmm0, %xmm4 por %xmm3, %xmm5 movdqa %xmm4, -80(%rbp,%rsi) movdqa %xmm5, -64(%rbp,%rsi) paddd %xmm2, %xmm0 addq $32, %rsi cmpq %rsi, %rdx jne LBB0_35 ## %bb.36: cmpq %rax, %rcx je LBB0_37 LBB0_32: movl %ecx, %edx shll $4, %edx .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movl %ecx, %esi orl %edx, %esi movl %esi, -80(%rbp,%rcx,4) incq %rcx addl $16, %edx cmpq %rcx, %rax jne LBB0_33 LBB0_37: cmpl $7, %eax ja LBB0_42 LBB0_38: movl %eax, %ecx testl %eax, %eax je LBB0_39 .p2align 4, 0x90 LBB0_41: ## =>This Inner Loop Header: Depth=1 movl %ecx, %eax orl $240, %eax movl %eax, -80(%rbp,%rcx,4) incq %rcx cmpq $8, %rcx jne LBB0_41 jmp LBB0_42 LBB0_39: movl $8, %eax subq %rcx, %rax pmovsxbd LCPI0_4(%rip), %xmm0 ## xmm0 = [0,1,2,3] xorl %ecx, %ecx pmovsxbd LCPI0_5(%rip), %xmm1 ## xmm1 = [4,4,4,4] pmovzxbd LCPI0_7(%rip), %xmm2 ## xmm2 = [240,240,240,240] pmovsxbd LCPI0_6(%rip), %xmm3 ## xmm3 = [8,8,8,8] .p2align 4, 0x90 LBB0_40: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, %xmm4 paddd %xmm1, %xmm4 movdqa %xmm0, %xmm5 por %xmm2, %xmm5 por %xmm2, %xmm4 movdqa %xmm5, -80(%rbp,%rcx,4) movdqa %xmm4, -64(%rbp,%rcx,4) addq $8, %rcx paddd %xmm3, %xmm0 cmpq %rcx, %rax jne LBB0_40 jmp LBB0_42 LBB0_10: movq -88(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rsi movslq %eax, %rdi incl %eax movl $240, (%rsi,%rdi,4) cmpl $0, 24(%rdx) jne LBB0_13 LBB0_12: movq -88(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rsi movslq %eax, %rdi incl %eax movl $241, (%rsi,%rdi,4) cmpl $0, 20(%rdx) jne LBB0_15 LBB0_14: movq -88(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rsi movslq %eax, %rdi incl %eax movl $242, (%rsi,%rdi,4) cmpl $0, 16(%rdx) jne LBB0_17 LBB0_16: movq -88(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rsi movslq %eax, %rdi incl %eax movl $243, (%rsi,%rdi,4) cmpl $0, 12(%rdx) jne LBB0_19 LBB0_18: movq -88(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rsi movslq %eax, %rdi incl %eax movl $244, (%rsi,%rdi,4) cmpl $0, 8(%rdx) jne LBB0_21 LBB0_20: movq -88(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rsi movslq %eax, %rdi incl %eax movl $245, (%rsi,%rdi,4) cmpl $0, 4(%rdx) jne LBB0_23 LBB0_22: movq -88(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rsi movslq %eax, %rdi incl %eax movl $246, (%rsi,%rdi,4) cmpl $0, (%rdx) jne LBB0_25 LBB0_24: movq -88(%rbp), %rdx ## 8-byte Reload movq (%rcx,%rdx,8), %rcx cltq movl $247, (%rcx,%rax,4) testl %ebx, %ebx jne LBB0_26 LBB0_42: xorl %r13d, %r13d leaq L_.str(%rip), %r12 xorl %r14d, %r14d jmp LBB0_43 .p2align 4, 0x90 LBB0_48: ## in Loop: Header=BB0_43 Depth=1 incq %r14 addq $4, %r13 cmpq $32, %r13 je LBB0_49 LBB0_43: ## =>This Inner Loop Header: Depth=1 testl %ebx, %ebx je LBB0_45 ## %bb.44: ## in Loop: Header=BB0_43 Depth=1 leaq -80(,%r14,4), %rax addq %rbp, %rax jmp LBB0_46 .p2align 4, 0x90 LBB0_45: ## in Loop: Header=BB0_43 Depth=1 movq _hdmi_channel_mapping@GOTPCREL(%rip), %rax movq (%rax), %rax movq -88(%rbp), %rcx ## 8-byte Reload movq (%rax,%rcx,8), %rax addq %r13, %rax LBB0_46: ## in Loop: Header=BB0_43 Depth=1 movl (%rax), %ecx movl %ecx, %edx orl $15, %edx shrl $4, %ecx andl $15, %ecx movq (%r15), %rdi movl -92(%rbp), %esi ## 4-byte Reload callq *8(%r15) testl %eax, %eax je LBB0_48 ## %bb.47: ## in Loop: Header=BB0_43 Depth=1 movq (%r15), %rdi movq %r12, %rsi callq _dev_dbg jmp LBB0_48 LBB0_49: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_51 ## %bb.50: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_51: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _channel_allocations,8,3 ## @channel_allocations .comm _hdmi_channel_mapping,8,3 ## @hdmi_channel_mapping .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "HDMI: channel mapping failed\n" .no_dead_strip _hdmi_std_setup_channel_mapping .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ; -- Begin function hdmi_std_setup_channel_mapping lCPI0_0: .long 0 ; 0x0 .long 1 ; 0x1 .long 2 ; 0x2 .long 3 ; 0x3 .section __TEXT,__text,regular,pure_instructions .p2align 2 _hdmi_std_setup_channel_mapping: ; @hdmi_std_setup_channel_mapping .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] mov x0, x3 bl _get_channel_allocation_order Lloh3: adrp x8, _channel_allocations@GOTPAGE Lloh4: ldr x8, [x8, _channel_allocations@GOTPAGEOFF] Lloh5: ldr x8, [x8] add x23, x8, w0, sxtw #4 Lloh6: adrp x24, _hdmi_channel_mapping@GOTPAGE Lloh7: ldr x24, [x24, _hdmi_channel_mapping@GOTPAGEOFF] ldr x8, [x24] ldr x9, [x8, w19, sxtw #3] ldr w9, [x9, #4] cbnz w9, LBB0_19 ; %bb.1: ldr w9, [x23] cmp w9, #1 b.lt LBB0_10 ; %bb.2: mov x25, #0 ; =0x0 mov w26, #0 ; =0x0 b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 mov x26, x8 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 orr w8, w26, w25, lsl #4 ldr x9, [x24] ldr x9, [x9, w19, sxtw #3] str w8, [x9, x25, lsl #2] add w8, w26, #1 sub x9, x25, #1 ldrsw x10, [x23] mov x26, x8 cmp x25, x10 mov x25, x9 b.gt LBB0_9 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 cmp w26, #7 cset w0, gt bl _WARN_ON cbnz w0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ; kill: def $w26 killed $w26 killed $x26 def $x26 sxtw x8, w26 LBB0_7: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x9, [x23, #8] add x9, x9, x8, lsl #2 ldr w9, [x9, #28] cbnz w9, LBB0_3 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 add x26, x8, #1 cmp x8, #6 cset w0, gt bl _WARN_ON mov x8, x26 cbz w0, LBB0_7 b LBB0_4 LBB0_9: ldr x8, [x24] b LBB0_11 LBB0_10: mov w9, #0 ; =0x0 LBB0_11: ldr x10, [x23, #8] ldr w11, [x10, #28] cbz w11, LBB0_41 ; %bb.12: ldr w11, [x10, #24] cbz w11, LBB0_42 LBB0_13: ldr w11, [x10, #20] cbz w11, LBB0_43 LBB0_14: ldr w11, [x10, #16] cbz w11, LBB0_44 LBB0_15: ldr w11, [x10, #12] cbz w11, LBB0_45 LBB0_16: ldr w11, [x10, #8] cbz w11, LBB0_46 LBB0_17: ldr w11, [x10, #4] cbz w11, LBB0_47 LBB0_18: ldr w10, [x10] cbz w10, LBB0_48 LBB0_19: cbz w20, LBB0_32 LBB0_20: ldr w8, [x23] cmp w8, #1 b.lt LBB0_23 ; %bb.21: cmp w8, #15 b.hi LBB0_24 ; %bb.22: mov x9, #0 ; =0x0 b LBB0_27 LBB0_23: mov w8, #0 ; =0x0 b LBB0_30 LBB0_24: and x9, x8, #0x7ffffff0 Lloh8: adrp x10, lCPI0_0@PAGE Lloh9: ldr q0, [x10, lCPI0_0@PAGEOFF] add x10, sp, #8 add x10, x10, #32 movi.4s v1, #4 movi.4s v2, #8 movi.4s v3, #12 movi.4s v4, #16 mov x11, x9 LBB0_25: ; =>This Inner Loop Header: Depth=1 add.4s v5, v0, v1 add.4s v6, v0, v2 add.4s v7, v0, v3 shl.4s v16, v0, #4 shl.4s v17, v5, #4 shl.4s v18, v6, #4 shl.4s v19, v7, #4 orr.16b v16, v16, v0 orr.16b v5, v17, v5 orr.16b v6, v18, v6 orr.16b v7, v19, v7 stp q16, q5, [x10, #-32] stp q6, q7, [x10], #64 add.4s v0, v0, v4 subs x11, x11, #16 b.ne LBB0_25 ; %bb.26: cmp x9, x8 b.eq LBB0_29 LBB0_27: lsl w10, w9, #4 add x11, sp, #8 LBB0_28: ; =>This Inner Loop Header: Depth=1 orr w12, w10, w9 str w12, [x11, x9, lsl #2] add x9, x9, #1 add w10, w10, #16 cmp x8, x9 b.ne LBB0_28 LBB0_29: cmp w8, #7 b.hi LBB0_32 LBB0_30: mov w8, w8 add x9, sp, #8 LBB0_31: ; =>This Inner Loop Header: Depth=1 orr w10, w8, #0xf0 str w10, [x9, x8, lsl #2] add x8, x8, #1 cmp x8, #8 b.ne LBB0_31 LBB0_32: mov x25, #0 ; =0x0 mov x26, #0 ; =0x0 add x27, sp, #8 Lloh10: adrp x23, l_.str@PAGE Lloh11: add x23, x23, l_.str@PAGEOFF b LBB0_34 LBB0_33: ; in Loop: Header=BB0_34 Depth=1 add x26, x26, #1 add x25, x25, #4 cmp x25, #32 b.eq LBB0_39 LBB0_34: ; =>This Inner Loop Header: Depth=1 cbz w20, LBB0_36 ; %bb.35: ; in Loop: Header=BB0_34 Depth=1 add x8, x27, x26, lsl #2 b LBB0_37 LBB0_36: ; in Loop: Header=BB0_34 Depth=1 ldr x8, [x24] ldr x8, [x8, w19, sxtw #3] add x8, x8, x25 LBB0_37: ; in Loop: Header=BB0_34 Depth=1 ldr w8, [x8] ubfx w3, w8, #4, #4 ldp x0, x9, [x22] orr w2, w8, #0xf mov x1, x21 blr x9 cbz w0, LBB0_33 ; %bb.38: ; in Loop: Header=BB0_34 Depth=1 ldr x0, [x22] mov x1, x23 bl _dev_dbg b LBB0_33 LBB0_39: ldr x8, [sp, #40] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB0_49 ; %bb.40: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_41: ldr x11, [x8, w19, sxtw #3] mov w12, #240 ; =0xf0 str w12, [x11, w9, sxtw #2] add w9, w9, #1 ; kill: def $w9 killed $w9 def $x9 ldr w11, [x10, #24] cbnz w11, LBB0_13 LBB0_42: ldr x11, [x8, w19, sxtw #3] mov w12, #241 ; =0xf1 str w12, [x11, w9, sxtw #2] add w9, w9, #1 ; kill: def $w9 killed $w9 def $x9 ldr w11, [x10, #20] cbnz w11, LBB0_14 LBB0_43: ldr x11, [x8, w19, sxtw #3] mov w12, #242 ; =0xf2 str w12, [x11, w9, sxtw #2] add w9, w9, #1 ; kill: def $w9 killed $w9 def $x9 ldr w11, [x10, #16] cbnz w11, LBB0_15 LBB0_44: ldr x11, [x8, w19, sxtw #3] mov w12, #243 ; =0xf3 str w12, [x11, w9, sxtw #2] add w9, w9, #1 ; kill: def $w9 killed $w9 def $x9 ldr w11, [x10, #12] cbnz w11, LBB0_16 LBB0_45: ldr x11, [x8, w19, sxtw #3] mov w12, #244 ; =0xf4 str w12, [x11, w9, sxtw #2] add w9, w9, #1 ; kill: def $w9 killed $w9 def $x9 ldr w11, [x10, #8] cbnz w11, LBB0_17 LBB0_46: ldr x11, [x8, w19, sxtw #3] mov w12, #245 ; =0xf5 str w12, [x11, w9, sxtw #2] add w9, w9, #1 ; kill: def $w9 killed $w9 def $x9 ldr w11, [x10, #4] cbnz w11, LBB0_18 LBB0_47: ldr x11, [x8, w19, sxtw #3] mov w12, #246 ; =0xf6 str w12, [x11, w9, sxtw #2] add w9, w9, #1 ; kill: def $w9 killed $w9 def $x9 ldr w10, [x10] cbnz w10, LBB0_19 LBB0_48: ldr x8, [x8, w19, sxtw #3] mov w10, #247 ; =0xf7 str w10, [x8, w9, sxtw #2] cbnz w20, LBB0_20 b LBB0_32 LBB0_49: bl ___stack_chk_fail .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _channel_allocations,8,3 ; @channel_allocations .comm _hdmi_channel_mapping,8,3 ; @hdmi_channel_mapping .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "HDMI: channel mapping failed\n" .no_dead_strip _hdmi_std_setup_channel_mapping .subsections_via_symbols
assembly_file_181768.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r12 movl %edi, %ebx leaq L_str(%rip), %rdi callq _puts testl %ebx, %ebx je LBB0_3 ## %bb.1: movslq %ebx, %r13 leaq L_.str.1(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%r12,%rbx,8), %rdx movq %r15, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf incq %rbx cmpq %rbx, %r13 jne LBB0_2 LBB0_3: testq %r14, %r14 je LBB0_7 ## %bb.4: movq (%r14), %rdx testq %rdx, %rdx je LBB0_7 ## %bb.5: leaq L_.str.2(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq 8(%r14,%rbx,8), %rdx incq %rbx testq %rdx, %rdx jne LBB0_6 LBB0_7: leaq L_str.193(%rip), %r14 movq %r14, %rdi callq _puts leaq L_str.149(%rip), %rdi callq _puts leaq L_.str.5(%rip), %rdi movl $64, %esi xorl %eax, %eax callq _printf leaq L_str.150(%rip), %rdi callq _puts leaq L_str.151(%rip), %rdi callq _puts leaq L_str.152(%rip), %rdi callq _puts leaq L_str.153(%rip), %rdi callq _puts leaq L_str.154(%rip), %rdi callq _puts leaq L_str.155(%rip), %rdi callq _puts leaq L_str.156(%rip), %rdi callq _puts leaq L_str.157(%rip), %rdi callq _puts leaq L_str.158(%rip), %rdi callq _puts leaq L_str.159(%rip), %rdi callq _puts leaq L_str.160(%rip), %rdi callq _puts leaq L_str.161(%rip), %rdi callq _puts leaq L_str.162(%rip), %rdi callq _puts leaq L_str.163(%rip), %rdi callq _puts leaq L_str.164(%rip), %rdi callq _puts leaq L_str.165(%rip), %rdi callq _puts leaq L_str.166(%rip), %rdi callq _puts leaq L_.str.23(%rip), %rdi movl $1024, %esi ## imm = 0x400 xorl %eax, %eax callq _printf leaq L_.str.24(%rip), %rdi movl $512, %esi ## imm = 0x200 xorl %eax, %eax callq _printf leaq L_.str.25(%rip), %rdi movl $1024, %esi ## imm = 0x400 xorl %eax, %eax callq _printf leaq L_.str.26(%rip), %rdi movl $1024, %esi ## imm = 0x400 xorl %eax, %eax callq _printf leaq L_.str.27(%rip), %rdi movl $10240, %esi ## imm = 0x2800 xorl %eax, %eax callq _printf leaq L_.str.28(%rip), %rdi movl $20, %esi xorl %eax, %eax callq _printf leaq L_.str.29(%rip), %rdi movl $8, %esi xorl %eax, %eax callq _printf leaq L_.str.30(%rip), %rdi movl $255, %esi xorl %eax, %eax callq _printf leaq L_.str.31(%rip), %rdi movl $255, %esi xorl %eax, %eax callq _printf leaq L_.str.32(%rip), %rdi movl $14, %esi xorl %eax, %eax callq _printf leaq L_.str.33(%rip), %rdi movl $256, %esi ## imm = 0x100 xorl %eax, %eax callq _printf leaq L_.str.34(%rip), %rdi movl $512, %esi ## imm = 0x200 xorl %eax, %eax callq _printf leaq L_.str.35(%rip), %rdi movl $200112, %esi ## imm = 0x30DB0 xorl %eax, %eax callq _printf leaq L_.str.36(%rip), %rdi movl $200112, %esi ## imm = 0x30DB0 xorl %eax, %eax callq _printf leaq L_str.167(%rip), %rdi callq _puts leaq L_.str.38(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _printf leaq L_.str.39(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_.str.40(%rip), %rdi movl $2, %esi xorl %eax, %eax callq _printf leaq L_.str.41(%rip), %rdi movl $-1, %esi xorl %eax, %eax callq _printf leaq L_.str.42(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _printf leaq L_.str.43(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_.str.44(%rip), %rdi movl $2, %esi xorl %eax, %eax callq _printf leaq L_.str.45(%rip), %rdi leaq L_.str.46(%rip), %rsi xorl %eax, %eax callq _printf leaq L_.str.47(%rip), %rdi movl $4, %esi xorl %eax, %eax callq _printf leaq L_.str.48(%rip), %rdi movl $2, %esi xorl %eax, %eax callq _printf leaq L_.str.49(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_.str.50(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _printf leaq L_.str.51(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _printf leaq L_.str.52(%rip), %rdi xorl %esi, %esi xorl %eax, %eax callq _printf leaq L_.str.53(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf leaq L_str.168(%rip), %rdi callq _puts leaq L_str.169(%rip), %rdi callq _puts leaq L_str.170(%rip), %rdi callq _puts leaq L_str.171(%rip), %rdi callq _puts leaq L_str.172(%rip), %rdi callq _puts leaq L_str.173(%rip), %rdi callq _puts leaq L_.str.60(%rip), %rdi leaq L___FUNCTION__.vDumpSymbols(%rip), %rbx movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_.str.61(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_.str.62(%rip), %rdi leaq L___PRETTY_FUNCTION__.vDumpSymbols(%rip), %rsi xorl %eax, %eax callq _printf leaq L_.str.63(%rip), %rdi leaq L_.str.64(%rip), %rsi xorl %eax, %eax callq _printf leaq L_.str.65(%rip), %rdi movl $638, %esi ## imm = 0x27E xorl %eax, %eax callq _printf leaq L_.str.66(%rip), %rdi leaq L_.str.67(%rip), %rsi xorl %eax, %eax callq _printf leaq L_.str.68(%rip), %rdi leaq L_.str.69(%rip), %rsi xorl %eax, %eax callq _printf leaq L_str.174(%rip), %rdi callq _puts leaq L_str.175(%rip), %rdi callq _puts leaq L_str.176(%rip), %rdi callq _puts leaq L_.str.73(%rip), %rdi movl $8192, %esi ## imm = 0x2000 xorl %eax, %eax callq _printf leaq L_str.177(%rip), %rdi callq _puts leaq L_str.178(%rip), %rdi callq _puts leaq L_str.179(%rip), %rdi callq _puts movq %r14, %rdi callq _puts leaq L_str.181(%rip), %rdi callq _puts leaq L_.str.78(%rip), %rdi leaq L_.str.79(%rip), %rdx leaq L_.str.80(%rip), %r15 movl $1, %esi movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.82(%rip), %rdi leaq L_.str.83(%rip), %rbx movl $4, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.84(%rip), %rdi movl $2, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.85(%rip), %rdi movl $4, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.86(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.87(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.88(%rip), %rdi leaq L_.str.81(%rip), %r12 movl $4, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.89(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.90(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.91(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.92(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.93(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.94(%rip), %rdi movl $4, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.95(%rip), %rdi movl $4, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.96(%rip), %rdi movl $4, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.97(%rip), %rdi movl $2, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.98(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.99(%rip), %rdi movl $4, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.100(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r15, %rcx xorl %eax, %eax callq _printf leaq L_.str.101(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf leaq L_.str.102(%rip), %rdi movl $8, %esi movq %rbx, %rdx movq %r12, %rcx xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts leaq L_.str.103(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.183(%rip), %rdi callq _puts movq %r14, %rdi callq _puts leaq L_str.185(%rip), %rdi callq _puts leaq L_.str.108(%rip), %rdi movl $2, %esi xorl %eax, %eax callq _printf leaq L_.str.109(%rip), %rdi movl $4, %esi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts leaq L_str.187(%rip), %rdi callq _puts movl $1, %edi callq _sysconf leaq L_.str.111(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $2, %edi callq _sysconf leaq L_.str.112(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $72, %edi callq _sysconf leaq L_.str.113(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $73, %edi callq _sysconf leaq L_.str.114(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $3, %edi callq _sysconf leaq L_.str.115(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $5, %edi callq _sysconf leaq L_.str.116(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $29, %edi callq _sysconf leaq L_.str.117(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $16, %edi callq _sysconf leaq L_.str.118(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $26, %edi callq _sysconf leaq L_.str.119(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $101, %edi callq _sysconf leaq L_.str.120(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $27, %edi callq _sysconf leaq L_.str.121(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $8, %edi callq _sysconf leaq L_.str.122(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $200, %edi callq _sysconf leaq L_.str.123(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf leaq L_str.188(%rip), %rdi callq _puts movl $57, %edi callq _sysconf leaq L_.str.125(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $58, %edi callq _sysconf leaq L_.str.126(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts leaq L_str.190(%rip), %rdi callq _puts leaq L_.str.128(%rip), %r15 leaq L_.str.129(%rip), %r14 xorl %ebx, %ebx jmp LBB0_8 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_8 Depth=1 incl %ebx cmpl $1000, %ebx ## imm = 0x3E8 je LBB0_11 LBB0_8: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi callq _strerror movl $13, %edx movq %rax, %rdi movq %r15, %rsi callq _strncmp testl %eax, %eax je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movl %ebx, %edi callq _strerror movq %r14, %rdi movl %ebx, %esi movq %rax, %rdx xorl %eax, %eax callq _printf jmp LBB0_10 LBB0_11: leaq L_str.193(%rip), %r14 movq %r14, %rdi callq _puts leaq L_str.192(%rip), %rdi callq _puts leaq -56(%rbp), %r15 movl $4, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.131(%rip), %rdi xorl %eax, %eax callq _printf xorl %edi, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.132(%rip), %rdi xorl %eax, %eax callq _printf movl $2, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.133(%rip), %rdi xorl %eax, %eax callq _printf movl $1, %ebx movl $1, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.134(%rip), %rdi xorl %eax, %eax callq _printf movl $8, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.135(%rip), %rdi xorl %eax, %eax callq _printf movl $3, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.136(%rip), %rdi xorl %eax, %eax callq _printf movl $5, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.137(%rip), %rdi xorl %eax, %eax callq _printf movl $5, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.138(%rip), %rdi xorl %eax, %eax callq _printf movl $7, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.139(%rip), %rdi xorl %eax, %eax callq _printf movl $6, %edi movq %r15, %rsi callq _getrlimit movq -56(%rbp), %rsi movq -48(%rbp), %rdx leaq L_.str.140(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, %rdi callq _puts leaq L_.str.141(%rip), %rdi leaq L_.str.142(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_12 ## %bb.13: movq %rax, %rdi callq _fclose leaq L_.str.141(%rip), %r14 leaq L_.str.142(%rip), %r15 .p2align 4, 0x90 LBB0_14: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r15, %rsi callq _fopen incl %ebx testq %rax, %rax jne LBB0_14 ## %bb.15: leal 1(%rbx), %esi leaq L_.str.144(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.194(%rip), %rdi callq _puts leaq L_.str.141(%rip), %r14 .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl $2, %esi xorl %eax, %eax callq _open incl %ebx cmpl $-1, %eax jne LBB0_16 ## %bb.17: leaq L_.str.146(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf leaq L_.str.147(%rip), %rdi movl $20, %esi xorl %eax, %eax callq _printf jmp LBB0_18 LBB0_12: leaq L_str.195(%rip), %rdi callq _puts LBB0_18: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "argv[%ld] = \"%s\"\n" L_.str.2: ## @.str.2 .asciz "env[%ld] = \"%s\"\n" L_.str.5: ## @.str.5 .asciz "LONG_BIT defined: %d\n" L_.str.23: ## @.str.23 .asciz "PATH_MAX defined: %d\n" L_.str.24: ## @.str.24 .asciz "PIPE_BUF defined: %d\n" L_.str.25: ## @.str.25 .asciz "BUFSIZ defined: %d\n" L_.str.26: ## @.str.26 .asciz "FD_SETSIZE defined: %d\n" L_.str.27: ## @.str.27 .asciz "OPEN_MAX defined: %d\n" L_.str.28: ## @.str.28 .asciz "FOPEN_MAX defined: %d\n" L_.str.29: ## @.str.29 .asciz "_POSIX_LINK_MAX defined: %d\n" L_.str.30: ## @.str.30 .asciz "_POSIX_MAX_CANON defined: %d\n" L_.str.31: ## @.str.31 .asciz "_POSIX_MAX_INPUT defined: %d\n" L_.str.32: ## @.str.32 .asciz "_POSIX_NAME_MAX defined: %d\n" L_.str.33: ## @.str.33 .asciz "_POSIX_PATH_MAX defined: %d\n" L_.str.34: ## @.str.34 .asciz "_POSIX_PIPE_BUF defined: %d\n" L_.str.35: ## @.str.35 .asciz "_POSIX_CHOWN_RESTRICTED defined: %d\n" L_.str.36: ## @.str.36 .asciz "_POSIX_NO_TRUNC defined: %d\n" L_.str.38: ## @.str.38 .asciz "SEEK_SET defined: %d\n" L_.str.39: ## @.str.39 .asciz "SEEK_CUR defined: %d\n" L_.str.40: ## @.str.40 .asciz "SEEK_END defined: %d\n" L_.str.41: ## @.str.41 .asciz "EOF defined: %d\n" L_.str.42: ## @.str.42 .asciz "STDIN_FILENO defined: %d\n" L_.str.43: ## @.str.43 .asciz "STDOUT_FILENO defined: %d\n" L_.str.44: ## @.str.44 .asciz "STDERR_FILENO defined: %d\n" L_.str.45: ## @.str.45 .asciz "P_tmpdir defined: '%s'\n" L_.str.46: ## @.str.46 .asciz "/var/tmp/" L_.str.47: ## @.str.47 .asciz "R_OK defined: %d\n" L_.str.48: ## @.str.48 .asciz "W_OK defined: %d\n" L_.str.49: ## @.str.49 .asciz "X_OK defined: %d\n" L_.str.50: ## @.str.50 .asciz "F_OK defined: %d\n" L_.str.51: ## @.str.51 .asciz "NULL defined: %d\n" L_.str.52: ## @.str.52 .asciz "EXIT_SUCCESS defined: %d\n" L_.str.53: ## @.str.53 .asciz "EXIT_FAILURE defined: %d\n" L_.str.60: ## @.str.60 .asciz "__FUNCTION__ undefined but set to: %s\n" L___FUNCTION__.vDumpSymbols: ## @__FUNCTION__.vDumpSymbols .asciz "vDumpSymbols" L_.str.61: ## @.str.61 .asciz "__func__ undefined but set to: %s\n" L_.str.62: ## @.str.62 .asciz "__PRETTY_FUNCTION__ undefined but set to: %s\n" L___PRETTY_FUNCTION__.vDumpSymbols: ## @__PRETTY_FUNCTION__.vDumpSymbols .asciz "void vDumpSymbols()" L_.str.63: ## @.str.63 .asciz "__FILE__ defined: %s\n" L_.str.64: ## @.str.64 .asciz "the_stack_data/150141053.c" L_.str.65: ## @.str.65 .asciz "__LINE__ defined: %d\n" L_.str.66: ## @.str.66 .asciz "__DATE__ defined: %s\n" L_.str.67: ## @.str.67 .asciz "Mar 27 2025" L_.str.68: ## @.str.68 .asciz "__TIME__ defined: %s\n" L_.str.69: ## @.str.69 .asciz "12:31:38" L_.str.73: ## @.str.73 .asciz "PTHREAD_STACK_MIN defined: %d\n" L_.str.78: ## @.str.78 .asciz "char %ld byte%s %s\n" L_.str.79: ## @.str.79 .asciz " " L_.str.80: ## @.str.80 .asciz "signed" L_.str.81: ## @.str.81 .asciz "unsigned" L_.str.82: ## @.str.82 .asciz "wchar_t %ld byte%s %s\n" L_.str.83: ## @.str.83 .asciz "s" L_.str.84: ## @.str.84 .asciz "short %ld byte%s %s\n" L_.str.85: ## @.str.85 .asciz "int %ld byte%s %s\n" L_.str.86: ## @.str.86 .asciz "long %ld byte%s %s\n" L_.str.87: ## @.str.87 .asciz "long long %ld byte%s %s\n" L_.str.88: ## @.str.88 .asciz "float %ld byte%s %s\n" L_.str.89: ## @.str.89 .asciz "double %ld byte%s %s\n" L_.str.90: ## @.str.90 .asciz "time_t %ld byte%s %s\n" L_.str.91: ## @.str.91 .asciz "size_t %ld byte%s %s\n" L_.str.92: ## @.str.92 .asciz "off_t %ld byte%s %s\n" L_.str.93: ## @.str.93 .asciz "fpos_t %ld byte%s %s\n" L_.str.94: ## @.str.94 .asciz "pid_t %ld byte%s %s\n" L_.str.95: ## @.str.95 .asciz "uid_t %ld byte%s %s\n" L_.str.96: ## @.str.96 .asciz "gid_t %ld byte%s %s\n" L_.str.97: ## @.str.97 .asciz "mode_t %ld byte%s %s\n" L_.str.98: ## @.str.98 .asciz "caddr_t %ld byte%s %s\n" L_.str.99: ## @.str.99 .asciz "daddr_t %ld byte%s %s\n" L_.str.100: ## @.str.100 .asciz "ssize_t %ld byte%s %s\n" L_.str.101: ## @.str.101 .asciz "char* %ld byte%s %s\n" L_.str.102: ## @.str.102 .asciz "void* %ld byte%s %s\n" L_.str.103: ## @.str.103 .asciz "Byte order: " L_.str.108: ## @.str.108 .asciz "Two byte %ld\n" L_.str.109: ## @.str.109 .asciz "Four byte %ld\n" L_.str.111: ## @.str.111 .asciz "_SC_ARG_MAX defined: %ld\n" L_.str.112: ## @.str.112 .asciz "_SC_CHILD_MAX defined: %ld\n" L_.str.113: ## @.str.113 .asciz "_SC_HOST_NAME_MAX defined: %ld\n" L_.str.114: ## @.str.114 .asciz "_SC_LOGIN_NAME_MAX defined: %ld\n" L_.str.115: ## @.str.115 .asciz "_SC_CLK_TCK defined: %ld\n" L_.str.116: ## @.str.116 .asciz "_SC_OPEN_MAX defined: %ld\n" L_.str.117: ## @.str.117 .asciz "_SC_PAGESIZE defined: %ld\n" L_.str.118: ## @.str.118 .asciz "_SC_RE_DUP_MAX defined: %ld\n" L_.str.119: ## @.str.119 .asciz "_SC_STREAM_MAX defined: %ld\n" L_.str.120: ## @.str.120 .asciz "_SC_TTY_NAME_MAX defined: %ld\n" L_.str.121: ## @.str.121 .asciz "_SC_TZNAME_MAX defined: %ld\n" L_.str.122: ## @.str.122 .asciz "_SC_VERSION defined: %ld\n" L_.str.123: ## @.str.123 .asciz "_SC_PHYS_PAGES defined: %ld\n" L_.str.125: ## @.str.125 .asciz "_SC_NPROCESSORS_CONF defined: %ld\n" L_.str.126: ## @.str.126 .asciz "_SC_NPROCESSORS_ONLN defined: %ld\n" L_.str.128: ## @.str.128 .asciz "Unknown error" L_.str.129: ## @.str.129 .asciz "%3d - %s\n" L_.str.131: ## @.str.131 .asciz "RLIMIT_CORE: %20lu %20lu\n" L_.str.132: ## @.str.132 .asciz "RLIMIT_CPU: %20lu %20lu\n" L_.str.133: ## @.str.133 .asciz "RLIMIT_DATA: %20lu %20lu\n" L_.str.134: ## @.str.134 .asciz "RLIMIT_FSIZE: %20lu %20lu\n" L_.str.135: ## @.str.135 .asciz "RLIMIT_NOFILE: %20lu %20lu\n" L_.str.136: ## @.str.136 .asciz "RLIMIT_STACK: %20lu %20lu\n" L_.str.137: ## @.str.137 .asciz "RLIMIT_AS: %20lu %20lu\n" L_.str.138: ## @.str.138 .asciz "RLIMIT_RSS: %20lu %20lu\n" L_.str.139: ## @.str.139 .asciz "RLIMIT_NPROC: %20lu %20lu\n" L_.str.140: ## @.str.140 .asciz "RLIMIT_MEMLOCK: %20lu %20lu\n" L_.str.141: ## @.str.141 .asciz "/dev/null" L_.str.142: ## @.str.142 .asciz "r" L_.str.144: ## @.str.144 .asciz "Maximum number of file streams: %d, " L_.str.146: ## @.str.146 .asciz "Maximum number of file descriptors: %d, " L_.str.147: ## @.str.147 .asciz "(FOPEN_MAX = %d).\n\n" L_str: ## @str .asciz "Content-type: text/plain\n" L_str.149: ## @str.149 .asciz "Symbols:\n" L_str.150: ## @str.150 .asciz "LONGBITS undefined" L_str.151: ## @str.151 .asciz "ULLONG_MAX defined" L_str.152: ## @str.152 .asciz "ULLONG_MIN undefined" L_str.153: ## @str.153 .asciz "LLONG_MAX defined" L_str.154: ## @str.154 .asciz "LLONG_MIN defined" L_str.155: ## @str.155 .asciz "ULONG_MAX defined" L_str.156: ## @str.156 .asciz "ULONG_MIN undefined" L_str.157: ## @str.157 .asciz "LONG_MAX defined" L_str.158: ## @str.158 .asciz "LONG_MIN defined" L_str.159: ## @str.159 .asciz "FLT_MAX defined" L_str.160: ## @str.160 .asciz "FLT_MIN defined" L_str.161: ## @str.161 .asciz "MAXFLOAT defined" L_str.162: ## @str.162 .asciz "MINFLOAT undefined" L_str.163: ## @str.163 .asciz "DBL_MAX defined" L_str.164: ## @str.164 .asciz "DBL_MIN defined" L_str.165: ## @str.165 .asciz "MAXDOUBLE undefined" L_str.166: ## @str.166 .asciz "MINDOUBLE undefined" L_str.167: ## @str.167 .asciz "STREAM_MAX undefined" L_str.168: ## @str.168 .asciz "MAXHOSTNAMELEN undefined" L_str.169: ## @str.169 .asciz "_LARGEFILE_SOURCE undefined" L_str.170: ## @str.170 .asciz "_FILE_OFFSET_BITS undefined" L_str.171: ## @str.171 .asciz "__BIG_ENDIAN undefined" L_str.172: ## @str.172 .asciz "__LITTLE_ENDIAN undefined" L_str.173: ## @str.173 .asciz "__BYTE_ORDER undefined" L_str.174: ## @str.174 .asciz "__STDC_ISO_10646__ undefined" L_str.175: ## @str.175 .asciz "_GNU_SOURCE undefined" L_str.176: ## @str.176 .asciz "_REENTRANT undefined" L_str.177: ## @str.177 .asciz "true undefined" L_str.178: ## @str.178 .asciz "false undefined" L_str.179: ## @str.179 .asciz "boolean type undefined" L_str.181: ## @str.181 .asciz "Type sizes:\n" L_str.183: ## @str.183 .asciz "Little Endian" L_str.185: ## @str.185 .asciz "Byte alignment:\n" L_str.187: ## @str.187 .asciz "Sysconf:\n" L_str.188: ## @str.188 .asciz "_SC_AVPHYS_PAGES undefined" L_str.190: ## @str.190 .asciz "Errors:\n" L_str.192: ## @str.192 .asciz "Resource: Current: Maximum:\n" L_str.193: ## @str.193 .asciz "\n" L_str.194: ## @str.194 .asciz "(WARNING - STREAM_MAX is undefined).\n" L_str.195: ## @str.195 .asciz "Error - failed to open test file." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts cbz w21, LBB0_3 ; %bb.1: mov x22, #0 sxtw x23, w21 Lloh2: adrp x21, l_.str.1@PAGE Lloh3: add x21, x21, l_.str.1@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, x22, lsl #3] stp x22, x8, [sp] mov x0, x21 bl _printf add x22, x22, #1 cmp x23, x22 b.ne LBB0_2 LBB0_3: cbz x19, LBB0_7 ; %bb.4: ldr x8, [x19] cbz x8, LBB0_7 ; %bb.5: mov x21, #0 add x20, x19, #8 Lloh4: adrp x19, l_.str.2@PAGE Lloh5: add x19, x19, l_.str.2@PAGEOFF LBB0_6: ; =>This Inner Loop Header: Depth=1 stp x21, x8, [sp] mov x0, x19 bl _printf ldr x8, [x20, x21, lsl #3] add x21, x21, #1 cbnz x8, LBB0_6 LBB0_7: Lloh6: adrp x19, l_str.193@PAGE Lloh7: add x19, x19, l_str.193@PAGEOFF mov x0, x19 bl _puts Lloh8: adrp x0, l_str.149@PAGE Lloh9: add x0, x0, l_str.149@PAGEOFF bl _puts mov w8, #64 str x8, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf Lloh12: adrp x0, l_str.150@PAGE Lloh13: add x0, x0, l_str.150@PAGEOFF bl _puts Lloh14: adrp x0, l_str.151@PAGE Lloh15: add x0, x0, l_str.151@PAGEOFF bl _puts Lloh16: adrp x0, l_str.152@PAGE Lloh17: add x0, x0, l_str.152@PAGEOFF bl _puts Lloh18: adrp x0, l_str.153@PAGE Lloh19: add x0, x0, l_str.153@PAGEOFF bl _puts Lloh20: adrp x0, l_str.154@PAGE Lloh21: add x0, x0, l_str.154@PAGEOFF bl _puts Lloh22: adrp x0, l_str.155@PAGE Lloh23: add x0, x0, l_str.155@PAGEOFF bl _puts Lloh24: adrp x0, l_str.156@PAGE Lloh25: add x0, x0, l_str.156@PAGEOFF bl _puts Lloh26: adrp x0, l_str.157@PAGE Lloh27: add x0, x0, l_str.157@PAGEOFF bl _puts Lloh28: adrp x0, l_str.158@PAGE Lloh29: add x0, x0, l_str.158@PAGEOFF bl _puts Lloh30: adrp x0, l_str.159@PAGE Lloh31: add x0, x0, l_str.159@PAGEOFF bl _puts Lloh32: adrp x0, l_str.160@PAGE Lloh33: add x0, x0, l_str.160@PAGEOFF bl _puts Lloh34: adrp x0, l_str.161@PAGE Lloh35: add x0, x0, l_str.161@PAGEOFF bl _puts Lloh36: adrp x0, l_str.162@PAGE Lloh37: add x0, x0, l_str.162@PAGEOFF bl _puts Lloh38: adrp x0, l_str.163@PAGE Lloh39: add x0, x0, l_str.163@PAGEOFF bl _puts Lloh40: adrp x0, l_str.164@PAGE Lloh41: add x0, x0, l_str.164@PAGEOFF bl _puts Lloh42: adrp x0, l_str.165@PAGE Lloh43: add x0, x0, l_str.165@PAGEOFF bl _puts Lloh44: adrp x0, l_str.166@PAGE Lloh45: add x0, x0, l_str.166@PAGEOFF bl _puts mov w20, #1024 str x20, [sp] Lloh46: adrp x0, l_.str.23@PAGE Lloh47: add x0, x0, l_.str.23@PAGEOFF bl _printf mov w21, #512 str x21, [sp] Lloh48: adrp x0, l_.str.24@PAGE Lloh49: add x0, x0, l_.str.24@PAGEOFF bl _printf str x20, [sp] Lloh50: adrp x0, l_.str.25@PAGE Lloh51: add x0, x0, l_.str.25@PAGEOFF bl _printf str x20, [sp] Lloh52: adrp x0, l_.str.26@PAGE Lloh53: add x0, x0, l_.str.26@PAGEOFF bl _printf mov w8, #10240 str x8, [sp] Lloh54: adrp x0, l_.str.27@PAGE Lloh55: add x0, x0, l_.str.27@PAGEOFF bl _printf mov w8, #20 str x8, [sp] Lloh56: adrp x0, l_.str.28@PAGE Lloh57: add x0, x0, l_.str.28@PAGEOFF bl _printf mov w20, #8 str x20, [sp] Lloh58: adrp x0, l_.str.29@PAGE Lloh59: add x0, x0, l_.str.29@PAGEOFF bl _printf mov w22, #255 str x22, [sp] Lloh60: adrp x0, l_.str.30@PAGE Lloh61: add x0, x0, l_.str.30@PAGEOFF bl _printf str x22, [sp] Lloh62: adrp x0, l_.str.31@PAGE Lloh63: add x0, x0, l_.str.31@PAGEOFF bl _printf mov w8, #14 str x8, [sp] Lloh64: adrp x0, l_.str.32@PAGE Lloh65: add x0, x0, l_.str.32@PAGEOFF bl _printf mov w8, #256 str x8, [sp] Lloh66: adrp x0, l_.str.33@PAGE Lloh67: add x0, x0, l_.str.33@PAGEOFF bl _printf str x21, [sp] Lloh68: adrp x0, l_.str.34@PAGE Lloh69: add x0, x0, l_.str.34@PAGEOFF bl _printf mov w21, #3504 movk w21, #3, lsl #16 str x21, [sp] Lloh70: adrp x0, l_.str.35@PAGE Lloh71: add x0, x0, l_.str.35@PAGEOFF bl _printf str x21, [sp] Lloh72: adrp x0, l_.str.36@PAGE Lloh73: add x0, x0, l_.str.36@PAGEOFF bl _printf Lloh74: adrp x0, l_str.167@PAGE Lloh75: add x0, x0, l_str.167@PAGEOFF bl _puts str xzr, [sp] Lloh76: adrp x0, l_.str.38@PAGE Lloh77: add x0, x0, l_.str.38@PAGEOFF bl _printf mov w23, #1 str x23, [sp] Lloh78: adrp x0, l_.str.39@PAGE Lloh79: add x0, x0, l_.str.39@PAGEOFF bl _printf mov w21, #2 str x21, [sp] Lloh80: adrp x0, l_.str.40@PAGE Lloh81: add x0, x0, l_.str.40@PAGEOFF bl _printf mov w8, #-1 str x8, [sp] Lloh82: adrp x0, l_.str.41@PAGE Lloh83: add x0, x0, l_.str.41@PAGEOFF bl _printf str xzr, [sp] Lloh84: adrp x0, l_.str.42@PAGE Lloh85: add x0, x0, l_.str.42@PAGEOFF bl _printf str x23, [sp] Lloh86: adrp x0, l_.str.43@PAGE Lloh87: add x0, x0, l_.str.43@PAGEOFF bl _printf str x21, [sp] Lloh88: adrp x0, l_.str.44@PAGE Lloh89: add x0, x0, l_.str.44@PAGEOFF bl _printf Lloh90: adrp x8, l_.str.46@PAGE Lloh91: add x8, x8, l_.str.46@PAGEOFF str x8, [sp] Lloh92: adrp x0, l_.str.45@PAGE Lloh93: add x0, x0, l_.str.45@PAGEOFF bl _printf mov w22, #4 str x22, [sp] Lloh94: adrp x0, l_.str.47@PAGE Lloh95: add x0, x0, l_.str.47@PAGEOFF bl _printf str x21, [sp] Lloh96: adrp x0, l_.str.48@PAGE Lloh97: add x0, x0, l_.str.48@PAGEOFF bl _printf str x23, [sp] Lloh98: adrp x0, l_.str.49@PAGE Lloh99: add x0, x0, l_.str.49@PAGEOFF bl _printf str xzr, [sp] Lloh100: adrp x0, l_.str.50@PAGE Lloh101: add x0, x0, l_.str.50@PAGEOFF bl _printf str xzr, [sp] Lloh102: adrp x0, l_.str.51@PAGE Lloh103: add x0, x0, l_.str.51@PAGEOFF bl _printf str xzr, [sp] Lloh104: adrp x0, l_.str.52@PAGE Lloh105: add x0, x0, l_.str.52@PAGEOFF bl _printf str x23, [sp] Lloh106: adrp x0, l_.str.53@PAGE Lloh107: add x0, x0, l_.str.53@PAGEOFF bl _printf Lloh108: adrp x0, l_str.168@PAGE Lloh109: add x0, x0, l_str.168@PAGEOFF bl _puts Lloh110: adrp x0, l_str.169@PAGE Lloh111: add x0, x0, l_str.169@PAGEOFF bl _puts Lloh112: adrp x0, l_str.170@PAGE Lloh113: add x0, x0, l_str.170@PAGEOFF bl _puts Lloh114: adrp x0, l_str.171@PAGE Lloh115: add x0, x0, l_str.171@PAGEOFF bl _puts Lloh116: adrp x0, l_str.172@PAGE Lloh117: add x0, x0, l_str.172@PAGEOFF bl _puts Lloh118: adrp x0, l_str.173@PAGE Lloh119: add x0, x0, l_str.173@PAGEOFF bl _puts Lloh120: adrp x24, l___FUNCTION__.vDumpSymbols@PAGE Lloh121: add x24, x24, l___FUNCTION__.vDumpSymbols@PAGEOFF str x24, [sp] Lloh122: adrp x0, l_.str.60@PAGE Lloh123: add x0, x0, l_.str.60@PAGEOFF bl _printf str x24, [sp] Lloh124: adrp x0, l_.str.61@PAGE Lloh125: add x0, x0, l_.str.61@PAGEOFF bl _printf Lloh126: adrp x8, l___PRETTY_FUNCTION__.vDumpSymbols@PAGE Lloh127: add x8, x8, l___PRETTY_FUNCTION__.vDumpSymbols@PAGEOFF str x8, [sp] Lloh128: adrp x0, l_.str.62@PAGE Lloh129: add x0, x0, l_.str.62@PAGEOFF bl _printf Lloh130: adrp x8, l_.str.64@PAGE Lloh131: add x8, x8, l_.str.64@PAGEOFF str x8, [sp] Lloh132: adrp x0, l_.str.63@PAGE Lloh133: add x0, x0, l_.str.63@PAGEOFF bl _printf mov w8, #638 str x8, [sp] Lloh134: adrp x0, l_.str.65@PAGE Lloh135: add x0, x0, l_.str.65@PAGEOFF bl _printf Lloh136: adrp x8, l_.str.67@PAGE Lloh137: add x8, x8, l_.str.67@PAGEOFF str x8, [sp] Lloh138: adrp x0, l_.str.66@PAGE Lloh139: add x0, x0, l_.str.66@PAGEOFF bl _printf Lloh140: adrp x8, l_.str.69@PAGE Lloh141: add x8, x8, l_.str.69@PAGEOFF str x8, [sp] Lloh142: adrp x0, l_.str.68@PAGE Lloh143: add x0, x0, l_.str.68@PAGEOFF bl _printf Lloh144: adrp x0, l_str.174@PAGE Lloh145: add x0, x0, l_str.174@PAGEOFF bl _puts Lloh146: adrp x0, l_str.175@PAGE Lloh147: add x0, x0, l_str.175@PAGEOFF bl _puts Lloh148: adrp x0, l_str.176@PAGE Lloh149: add x0, x0, l_str.176@PAGEOFF bl _puts mov w8, #16384 str x8, [sp] Lloh150: adrp x0, l_.str.73@PAGE Lloh151: add x0, x0, l_.str.73@PAGEOFF bl _printf Lloh152: adrp x0, l_str.177@PAGE Lloh153: add x0, x0, l_str.177@PAGEOFF bl _puts Lloh154: adrp x0, l_str.178@PAGE Lloh155: add x0, x0, l_str.178@PAGEOFF bl _puts Lloh156: adrp x0, l_str.179@PAGE Lloh157: add x0, x0, l_str.179@PAGEOFF bl _puts mov x0, x19 bl _puts Lloh158: adrp x0, l_str.181@PAGE Lloh159: add x0, x0, l_str.181@PAGEOFF bl _puts Lloh160: adrp x24, l_.str.80@PAGE Lloh161: add x24, x24, l_.str.80@PAGEOFF Lloh162: adrp x8, l_.str.79@PAGE Lloh163: add x8, x8, l_.str.79@PAGEOFF stp x8, x24, [sp, #8] str x23, [sp] Lloh164: adrp x0, l_.str.78@PAGE Lloh165: add x0, x0, l_.str.78@PAGEOFF bl _printf Lloh166: adrp x23, l_.str.83@PAGE Lloh167: add x23, x23, l_.str.83@PAGEOFF stp x23, x24, [sp, #8] str x22, [sp] Lloh168: adrp x0, l_.str.82@PAGE Lloh169: add x0, x0, l_.str.82@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x21, [sp] Lloh170: adrp x0, l_.str.84@PAGE Lloh171: add x0, x0, l_.str.84@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x22, [sp] Lloh172: adrp x0, l_.str.85@PAGE Lloh173: add x0, x0, l_.str.85@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x20, [sp] Lloh174: adrp x0, l_.str.86@PAGE Lloh175: add x0, x0, l_.str.86@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x20, [sp] Lloh176: adrp x0, l_.str.87@PAGE Lloh177: add x0, x0, l_.str.87@PAGEOFF bl _printf Lloh178: adrp x25, l_.str.81@PAGE Lloh179: add x25, x25, l_.str.81@PAGEOFF stp x23, x25, [sp, #8] str x22, [sp] Lloh180: adrp x0, l_.str.88@PAGE Lloh181: add x0, x0, l_.str.88@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x20, [sp] Lloh182: adrp x0, l_.str.89@PAGE Lloh183: add x0, x0, l_.str.89@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x20, [sp] Lloh184: adrp x0, l_.str.90@PAGE Lloh185: add x0, x0, l_.str.90@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x20, [sp] Lloh186: adrp x0, l_.str.91@PAGE Lloh187: add x0, x0, l_.str.91@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x20, [sp] Lloh188: adrp x0, l_.str.92@PAGE Lloh189: add x0, x0, l_.str.92@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x20, [sp] Lloh190: adrp x0, l_.str.93@PAGE Lloh191: add x0, x0, l_.str.93@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x22, [sp] Lloh192: adrp x0, l_.str.94@PAGE Lloh193: add x0, x0, l_.str.94@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x22, [sp] Lloh194: adrp x0, l_.str.95@PAGE Lloh195: add x0, x0, l_.str.95@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x22, [sp] Lloh196: adrp x0, l_.str.96@PAGE Lloh197: add x0, x0, l_.str.96@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x21, [sp] Lloh198: adrp x0, l_.str.97@PAGE Lloh199: add x0, x0, l_.str.97@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x20, [sp] Lloh200: adrp x0, l_.str.98@PAGE Lloh201: add x0, x0, l_.str.98@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x22, [sp] Lloh202: adrp x0, l_.str.99@PAGE Lloh203: add x0, x0, l_.str.99@PAGEOFF bl _printf stp x23, x24, [sp, #8] str x20, [sp] Lloh204: adrp x0, l_.str.100@PAGE Lloh205: add x0, x0, l_.str.100@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x20, [sp] Lloh206: adrp x0, l_.str.101@PAGE Lloh207: add x0, x0, l_.str.101@PAGEOFF bl _printf stp x23, x25, [sp, #8] str x20, [sp] Lloh208: adrp x0, l_.str.102@PAGE Lloh209: add x0, x0, l_.str.102@PAGEOFF bl _printf mov x0, x19 bl _puts Lloh210: adrp x0, l_.str.103@PAGE Lloh211: add x0, x0, l_.str.103@PAGEOFF bl _printf Lloh212: adrp x0, l_str.183@PAGE Lloh213: add x0, x0, l_str.183@PAGEOFF bl _puts mov x0, x19 bl _puts Lloh214: adrp x0, l_str.185@PAGE Lloh215: add x0, x0, l_str.185@PAGEOFF bl _puts str x21, [sp] Lloh216: adrp x0, l_.str.108@PAGE Lloh217: add x0, x0, l_.str.108@PAGEOFF bl _printf str x22, [sp] Lloh218: adrp x0, l_.str.109@PAGE Lloh219: add x0, x0, l_.str.109@PAGEOFF bl _printf mov x0, x19 bl _puts Lloh220: adrp x0, l_str.187@PAGE Lloh221: add x0, x0, l_str.187@PAGEOFF bl _puts mov w0, #1 bl _sysconf str x0, [sp] Lloh222: adrp x0, l_.str.111@PAGE Lloh223: add x0, x0, l_.str.111@PAGEOFF bl _printf mov w0, #2 bl _sysconf str x0, [sp] Lloh224: adrp x0, l_.str.112@PAGE Lloh225: add x0, x0, l_.str.112@PAGEOFF bl _printf mov w0, #72 bl _sysconf str x0, [sp] Lloh226: adrp x0, l_.str.113@PAGE Lloh227: add x0, x0, l_.str.113@PAGEOFF bl _printf mov w0, #73 bl _sysconf str x0, [sp] Lloh228: adrp x0, l_.str.114@PAGE Lloh229: add x0, x0, l_.str.114@PAGEOFF bl _printf mov w0, #3 bl _sysconf str x0, [sp] Lloh230: adrp x0, l_.str.115@PAGE Lloh231: add x0, x0, l_.str.115@PAGEOFF bl _printf mov w0, #5 bl _sysconf str x0, [sp] Lloh232: adrp x0, l_.str.116@PAGE Lloh233: add x0, x0, l_.str.116@PAGEOFF bl _printf mov w0, #29 bl _sysconf str x0, [sp] Lloh234: adrp x0, l_.str.117@PAGE Lloh235: add x0, x0, l_.str.117@PAGEOFF bl _printf mov w0, #16 bl _sysconf str x0, [sp] Lloh236: adrp x0, l_.str.118@PAGE Lloh237: add x0, x0, l_.str.118@PAGEOFF bl _printf mov w0, #26 bl _sysconf str x0, [sp] Lloh238: adrp x0, l_.str.119@PAGE Lloh239: add x0, x0, l_.str.119@PAGEOFF bl _printf mov w0, #101 bl _sysconf str x0, [sp] Lloh240: adrp x0, l_.str.120@PAGE Lloh241: add x0, x0, l_.str.120@PAGEOFF bl _printf mov w0, #27 bl _sysconf str x0, [sp] Lloh242: adrp x0, l_.str.121@PAGE Lloh243: add x0, x0, l_.str.121@PAGEOFF bl _printf mov w0, #8 bl _sysconf str x0, [sp] Lloh244: adrp x0, l_.str.122@PAGE Lloh245: add x0, x0, l_.str.122@PAGEOFF bl _printf mov w0, #200 bl _sysconf str x0, [sp] Lloh246: adrp x0, l_.str.123@PAGE Lloh247: add x0, x0, l_.str.123@PAGEOFF bl _printf Lloh248: adrp x0, l_str.188@PAGE Lloh249: add x0, x0, l_str.188@PAGEOFF bl _puts mov w0, #57 bl _sysconf str x0, [sp] Lloh250: adrp x0, l_.str.125@PAGE Lloh251: add x0, x0, l_.str.125@PAGEOFF bl _printf mov w0, #58 bl _sysconf str x0, [sp] Lloh252: adrp x0, l_.str.126@PAGE Lloh253: add x0, x0, l_.str.126@PAGEOFF bl _printf mov x0, x19 bl _puts Lloh254: adrp x0, l_str.190@PAGE Lloh255: add x0, x0, l_str.190@PAGEOFF bl _puts mov w19, #0 Lloh256: adrp x20, l_.str.128@PAGE Lloh257: add x20, x20, l_.str.128@PAGEOFF Lloh258: adrp x21, l_.str.129@PAGE Lloh259: add x21, x21, l_.str.129@PAGEOFF b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add w19, w19, #1 cmp w19, #1000 b.eq LBB0_11 LBB0_9: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _strerror mov x1, x20 mov w2, #13 bl _strncmp cbz w0, LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov x0, x19 bl _strerror stp x19, x0, [sp] mov x0, x21 bl _printf b LBB0_8 LBB0_11: Lloh260: adrp x19, l_str.193@PAGE Lloh261: add x19, x19, l_str.193@PAGEOFF mov x0, x19 bl _puts Lloh262: adrp x0, l_str.192@PAGE Lloh263: add x0, x0, l_str.192@PAGEOFF bl _puts add x1, sp, #32 mov w0, #4 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh264: adrp x0, l_.str.131@PAGE Lloh265: add x0, x0, l_.str.131@PAGEOFF bl _printf add x1, sp, #32 mov w0, #0 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh266: adrp x0, l_.str.132@PAGE Lloh267: add x0, x0, l_.str.132@PAGEOFF bl _printf add x1, sp, #32 mov w0, #2 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh268: adrp x0, l_.str.133@PAGE Lloh269: add x0, x0, l_.str.133@PAGEOFF bl _printf add x1, sp, #32 mov w0, #1 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh270: adrp x0, l_.str.134@PAGE Lloh271: add x0, x0, l_.str.134@PAGEOFF bl _printf add x1, sp, #32 mov w0, #8 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh272: adrp x0, l_.str.135@PAGE Lloh273: add x0, x0, l_.str.135@PAGEOFF bl _printf add x1, sp, #32 mov w0, #3 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh274: adrp x0, l_.str.136@PAGE Lloh275: add x0, x0, l_.str.136@PAGEOFF bl _printf add x1, sp, #32 mov w0, #5 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh276: adrp x0, l_.str.137@PAGE Lloh277: add x0, x0, l_.str.137@PAGEOFF bl _printf add x1, sp, #32 mov w0, #5 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh278: adrp x0, l_.str.138@PAGE Lloh279: add x0, x0, l_.str.138@PAGEOFF bl _printf add x1, sp, #32 mov w0, #7 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh280: adrp x0, l_.str.139@PAGE Lloh281: add x0, x0, l_.str.139@PAGEOFF bl _printf add x1, sp, #32 mov w0, #6 bl _getrlimit ldp x8, x9, [sp, #32] stp x8, x9, [sp] Lloh282: adrp x0, l_.str.140@PAGE Lloh283: add x0, x0, l_.str.140@PAGEOFF bl _printf mov x0, x19 bl _puts Lloh284: adrp x0, l_.str.141@PAGE Lloh285: add x0, x0, l_.str.141@PAGEOFF Lloh286: adrp x1, l_.str.142@PAGE Lloh287: add x1, x1, l_.str.142@PAGEOFF bl _fopen cbz x0, LBB0_17 ; %bb.12: bl _fclose mov w21, #1 Lloh288: adrp x19, l_.str.141@PAGE Lloh289: add x19, x19, l_.str.141@PAGEOFF Lloh290: adrp x20, l_.str.142@PAGE Lloh291: add x20, x20, l_.str.142@PAGEOFF LBB0_13: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x20 bl _fopen add w21, w21, #1 cbnz x0, LBB0_13 ; %bb.14: add w8, w21, #1 str x8, [sp] Lloh292: adrp x0, l_.str.144@PAGE Lloh293: add x0, x0, l_.str.144@PAGEOFF bl _printf Lloh294: adrp x0, l_str.194@PAGE Lloh295: add x0, x0, l_str.194@PAGEOFF bl _puts Lloh296: adrp x19, l_.str.141@PAGE Lloh297: add x19, x19, l_.str.141@PAGEOFF LBB0_15: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov w1, #2 bl _open add w21, w21, #1 cmn w0, #1 b.ne LBB0_15 ; %bb.16: str x21, [sp] Lloh298: adrp x0, l_.str.146@PAGE Lloh299: add x0, x0, l_.str.146@PAGEOFF bl _printf mov w8, #20 str x8, [sp] Lloh300: adrp x0, l_.str.147@PAGE Lloh301: add x0, x0, l_.str.147@PAGEOFF bl _printf b LBB0_18 LBB0_17: Lloh302: adrp x0, l_str.195@PAGE Lloh303: add x0, x0, l_str.195@PAGEOFF bl _puts LBB0_18: mov w0, #0 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh258, Lloh259 .loh AdrpAdd Lloh256, Lloh257 .loh AdrpAdd Lloh254, Lloh255 .loh AdrpAdd Lloh252, Lloh253 .loh AdrpAdd Lloh250, Lloh251 .loh AdrpAdd Lloh248, Lloh249 .loh AdrpAdd Lloh246, Lloh247 .loh AdrpAdd Lloh244, Lloh245 .loh AdrpAdd Lloh242, Lloh243 .loh AdrpAdd Lloh240, Lloh241 .loh AdrpAdd Lloh238, Lloh239 .loh AdrpAdd Lloh236, Lloh237 .loh AdrpAdd Lloh234, Lloh235 .loh AdrpAdd Lloh232, Lloh233 .loh AdrpAdd Lloh230, Lloh231 .loh AdrpAdd Lloh228, Lloh229 .loh AdrpAdd Lloh226, Lloh227 .loh AdrpAdd Lloh224, Lloh225 .loh AdrpAdd Lloh222, Lloh223 .loh AdrpAdd Lloh220, Lloh221 .loh AdrpAdd Lloh218, Lloh219 .loh AdrpAdd Lloh216, Lloh217 .loh AdrpAdd Lloh214, Lloh215 .loh AdrpAdd Lloh212, Lloh213 .loh AdrpAdd Lloh210, Lloh211 .loh AdrpAdd Lloh208, Lloh209 .loh AdrpAdd Lloh206, Lloh207 .loh AdrpAdd Lloh204, Lloh205 .loh AdrpAdd Lloh202, Lloh203 .loh AdrpAdd Lloh200, Lloh201 .loh AdrpAdd Lloh198, Lloh199 .loh AdrpAdd Lloh196, Lloh197 .loh AdrpAdd Lloh194, Lloh195 .loh AdrpAdd Lloh192, Lloh193 .loh AdrpAdd Lloh190, Lloh191 .loh AdrpAdd Lloh188, Lloh189 .loh AdrpAdd Lloh186, Lloh187 .loh AdrpAdd Lloh184, Lloh185 .loh AdrpAdd Lloh182, Lloh183 .loh AdrpAdd Lloh180, Lloh181 .loh AdrpAdd Lloh178, Lloh179 .loh AdrpAdd Lloh176, Lloh177 .loh AdrpAdd Lloh174, Lloh175 .loh AdrpAdd Lloh172, Lloh173 .loh AdrpAdd Lloh170, Lloh171 .loh AdrpAdd Lloh168, Lloh169 .loh AdrpAdd Lloh166, Lloh167 .loh AdrpAdd Lloh164, Lloh165 .loh AdrpAdd Lloh162, Lloh163 .loh AdrpAdd Lloh160, Lloh161 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpAdd Lloh156, Lloh157 .loh AdrpAdd Lloh154, Lloh155 .loh AdrpAdd Lloh152, Lloh153 .loh AdrpAdd Lloh150, Lloh151 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpAdd Lloh146, Lloh147 .loh AdrpAdd Lloh144, Lloh145 .loh AdrpAdd Lloh142, Lloh143 .loh AdrpAdd Lloh140, Lloh141 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpAdd Lloh136, Lloh137 .loh AdrpAdd Lloh134, Lloh135 .loh AdrpAdd Lloh132, Lloh133 .loh AdrpAdd Lloh130, Lloh131 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpAdd Lloh126, Lloh127 .loh AdrpAdd Lloh124, Lloh125 .loh AdrpAdd Lloh122, Lloh123 .loh AdrpAdd Lloh120, Lloh121 .loh AdrpAdd Lloh118, Lloh119 .loh AdrpAdd Lloh116, Lloh117 .loh AdrpAdd Lloh114, Lloh115 .loh AdrpAdd Lloh112, Lloh113 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh100, Lloh101 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpAdd Lloh62, Lloh63 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh56, Lloh57 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh286, Lloh287 .loh AdrpAdd Lloh284, Lloh285 .loh AdrpAdd Lloh282, Lloh283 .loh AdrpAdd Lloh280, Lloh281 .loh AdrpAdd Lloh278, Lloh279 .loh AdrpAdd Lloh276, Lloh277 .loh AdrpAdd Lloh274, Lloh275 .loh AdrpAdd Lloh272, Lloh273 .loh AdrpAdd Lloh270, Lloh271 .loh AdrpAdd Lloh268, Lloh269 .loh AdrpAdd Lloh266, Lloh267 .loh AdrpAdd Lloh264, Lloh265 .loh AdrpAdd Lloh262, Lloh263 .loh AdrpAdd Lloh260, Lloh261 .loh AdrpAdd Lloh290, Lloh291 .loh AdrpAdd Lloh288, Lloh289 .loh AdrpAdd Lloh296, Lloh297 .loh AdrpAdd Lloh294, Lloh295 .loh AdrpAdd Lloh292, Lloh293 .loh AdrpAdd Lloh300, Lloh301 .loh AdrpAdd Lloh298, Lloh299 .loh AdrpAdd Lloh302, Lloh303 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "argv[%ld] = \"%s\"\n" l_.str.2: ; @.str.2 .asciz "env[%ld] = \"%s\"\n" l_.str.5: ; @.str.5 .asciz "LONG_BIT defined: %d\n" l_.str.23: ; @.str.23 .asciz "PATH_MAX defined: %d\n" l_.str.24: ; @.str.24 .asciz "PIPE_BUF defined: %d\n" l_.str.25: ; @.str.25 .asciz "BUFSIZ defined: %d\n" l_.str.26: ; @.str.26 .asciz "FD_SETSIZE defined: %d\n" l_.str.27: ; @.str.27 .asciz "OPEN_MAX defined: %d\n" l_.str.28: ; @.str.28 .asciz "FOPEN_MAX defined: %d\n" l_.str.29: ; @.str.29 .asciz "_POSIX_LINK_MAX defined: %d\n" l_.str.30: ; @.str.30 .asciz "_POSIX_MAX_CANON defined: %d\n" l_.str.31: ; @.str.31 .asciz "_POSIX_MAX_INPUT defined: %d\n" l_.str.32: ; @.str.32 .asciz "_POSIX_NAME_MAX defined: %d\n" l_.str.33: ; @.str.33 .asciz "_POSIX_PATH_MAX defined: %d\n" l_.str.34: ; @.str.34 .asciz "_POSIX_PIPE_BUF defined: %d\n" l_.str.35: ; @.str.35 .asciz "_POSIX_CHOWN_RESTRICTED defined: %d\n" l_.str.36: ; @.str.36 .asciz "_POSIX_NO_TRUNC defined: %d\n" l_.str.38: ; @.str.38 .asciz "SEEK_SET defined: %d\n" l_.str.39: ; @.str.39 .asciz "SEEK_CUR defined: %d\n" l_.str.40: ; @.str.40 .asciz "SEEK_END defined: %d\n" l_.str.41: ; @.str.41 .asciz "EOF defined: %d\n" l_.str.42: ; @.str.42 .asciz "STDIN_FILENO defined: %d\n" l_.str.43: ; @.str.43 .asciz "STDOUT_FILENO defined: %d\n" l_.str.44: ; @.str.44 .asciz "STDERR_FILENO defined: %d\n" l_.str.45: ; @.str.45 .asciz "P_tmpdir defined: '%s'\n" l_.str.46: ; @.str.46 .asciz "/var/tmp/" l_.str.47: ; @.str.47 .asciz "R_OK defined: %d\n" l_.str.48: ; @.str.48 .asciz "W_OK defined: %d\n" l_.str.49: ; @.str.49 .asciz "X_OK defined: %d\n" l_.str.50: ; @.str.50 .asciz "F_OK defined: %d\n" l_.str.51: ; @.str.51 .asciz "NULL defined: %d\n" l_.str.52: ; @.str.52 .asciz "EXIT_SUCCESS defined: %d\n" l_.str.53: ; @.str.53 .asciz "EXIT_FAILURE defined: %d\n" l_.str.60: ; @.str.60 .asciz "__FUNCTION__ undefined but set to: %s\n" l___FUNCTION__.vDumpSymbols: ; @__FUNCTION__.vDumpSymbols .asciz "vDumpSymbols" l_.str.61: ; @.str.61 .asciz "__func__ undefined but set to: %s\n" l_.str.62: ; @.str.62 .asciz "__PRETTY_FUNCTION__ undefined but set to: %s\n" l___PRETTY_FUNCTION__.vDumpSymbols: ; @__PRETTY_FUNCTION__.vDumpSymbols .asciz "void vDumpSymbols()" l_.str.63: ; @.str.63 .asciz "__FILE__ defined: %s\n" l_.str.64: ; @.str.64 .asciz "the_stack_data/150141053.c" l_.str.65: ; @.str.65 .asciz "__LINE__ defined: %d\n" l_.str.66: ; @.str.66 .asciz "__DATE__ defined: %s\n" l_.str.67: ; @.str.67 .asciz "Mar 27 2025" l_.str.68: ; @.str.68 .asciz "__TIME__ defined: %s\n" l_.str.69: ; @.str.69 .asciz "12:31:38" l_.str.73: ; @.str.73 .asciz "PTHREAD_STACK_MIN defined: %d\n" l_.str.78: ; @.str.78 .asciz "char %ld byte%s %s\n" l_.str.79: ; @.str.79 .asciz " " l_.str.80: ; @.str.80 .asciz "signed" l_.str.81: ; @.str.81 .asciz "unsigned" l_.str.82: ; @.str.82 .asciz "wchar_t %ld byte%s %s\n" l_.str.83: ; @.str.83 .asciz "s" l_.str.84: ; @.str.84 .asciz "short %ld byte%s %s\n" l_.str.85: ; @.str.85 .asciz "int %ld byte%s %s\n" l_.str.86: ; @.str.86 .asciz "long %ld byte%s %s\n" l_.str.87: ; @.str.87 .asciz "long long %ld byte%s %s\n" l_.str.88: ; @.str.88 .asciz "float %ld byte%s %s\n" l_.str.89: ; @.str.89 .asciz "double %ld byte%s %s\n" l_.str.90: ; @.str.90 .asciz "time_t %ld byte%s %s\n" l_.str.91: ; @.str.91 .asciz "size_t %ld byte%s %s\n" l_.str.92: ; @.str.92 .asciz "off_t %ld byte%s %s\n" l_.str.93: ; @.str.93 .asciz "fpos_t %ld byte%s %s\n" l_.str.94: ; @.str.94 .asciz "pid_t %ld byte%s %s\n" l_.str.95: ; @.str.95 .asciz "uid_t %ld byte%s %s\n" l_.str.96: ; @.str.96 .asciz "gid_t %ld byte%s %s\n" l_.str.97: ; @.str.97 .asciz "mode_t %ld byte%s %s\n" l_.str.98: ; @.str.98 .asciz "caddr_t %ld byte%s %s\n" l_.str.99: ; @.str.99 .asciz "daddr_t %ld byte%s %s\n" l_.str.100: ; @.str.100 .asciz "ssize_t %ld byte%s %s\n" l_.str.101: ; @.str.101 .asciz "char* %ld byte%s %s\n" l_.str.102: ; @.str.102 .asciz "void* %ld byte%s %s\n" l_.str.103: ; @.str.103 .asciz "Byte order: " l_.str.108: ; @.str.108 .asciz "Two byte %ld\n" l_.str.109: ; @.str.109 .asciz "Four byte %ld\n" l_.str.111: ; @.str.111 .asciz "_SC_ARG_MAX defined: %ld\n" l_.str.112: ; @.str.112 .asciz "_SC_CHILD_MAX defined: %ld\n" l_.str.113: ; @.str.113 .asciz "_SC_HOST_NAME_MAX defined: %ld\n" l_.str.114: ; @.str.114 .asciz "_SC_LOGIN_NAME_MAX defined: %ld\n" l_.str.115: ; @.str.115 .asciz "_SC_CLK_TCK defined: %ld\n" l_.str.116: ; @.str.116 .asciz "_SC_OPEN_MAX defined: %ld\n" l_.str.117: ; @.str.117 .asciz "_SC_PAGESIZE defined: %ld\n" l_.str.118: ; @.str.118 .asciz "_SC_RE_DUP_MAX defined: %ld\n" l_.str.119: ; @.str.119 .asciz "_SC_STREAM_MAX defined: %ld\n" l_.str.120: ; @.str.120 .asciz "_SC_TTY_NAME_MAX defined: %ld\n" l_.str.121: ; @.str.121 .asciz "_SC_TZNAME_MAX defined: %ld\n" l_.str.122: ; @.str.122 .asciz "_SC_VERSION defined: %ld\n" l_.str.123: ; @.str.123 .asciz "_SC_PHYS_PAGES defined: %ld\n" l_.str.125: ; @.str.125 .asciz "_SC_NPROCESSORS_CONF defined: %ld\n" l_.str.126: ; @.str.126 .asciz "_SC_NPROCESSORS_ONLN defined: %ld\n" l_.str.128: ; @.str.128 .asciz "Unknown error" l_.str.129: ; @.str.129 .asciz "%3d - %s\n" l_.str.131: ; @.str.131 .asciz "RLIMIT_CORE: %20lu %20lu\n" l_.str.132: ; @.str.132 .asciz "RLIMIT_CPU: %20lu %20lu\n" l_.str.133: ; @.str.133 .asciz "RLIMIT_DATA: %20lu %20lu\n" l_.str.134: ; @.str.134 .asciz "RLIMIT_FSIZE: %20lu %20lu\n" l_.str.135: ; @.str.135 .asciz "RLIMIT_NOFILE: %20lu %20lu\n" l_.str.136: ; @.str.136 .asciz "RLIMIT_STACK: %20lu %20lu\n" l_.str.137: ; @.str.137 .asciz "RLIMIT_AS: %20lu %20lu\n" l_.str.138: ; @.str.138 .asciz "RLIMIT_RSS: %20lu %20lu\n" l_.str.139: ; @.str.139 .asciz "RLIMIT_NPROC: %20lu %20lu\n" l_.str.140: ; @.str.140 .asciz "RLIMIT_MEMLOCK: %20lu %20lu\n" l_.str.141: ; @.str.141 .asciz "/dev/null" l_.str.142: ; @.str.142 .asciz "r" l_.str.144: ; @.str.144 .asciz "Maximum number of file streams: %d, " l_.str.146: ; @.str.146 .asciz "Maximum number of file descriptors: %d, " l_.str.147: ; @.str.147 .asciz "(FOPEN_MAX = %d).\n\n" l_str: ; @str .asciz "Content-type: text/plain\n" l_str.149: ; @str.149 .asciz "Symbols:\n" l_str.150: ; @str.150 .asciz "LONGBITS undefined" l_str.151: ; @str.151 .asciz "ULLONG_MAX defined" l_str.152: ; @str.152 .asciz "ULLONG_MIN undefined" l_str.153: ; @str.153 .asciz "LLONG_MAX defined" l_str.154: ; @str.154 .asciz "LLONG_MIN defined" l_str.155: ; @str.155 .asciz "ULONG_MAX defined" l_str.156: ; @str.156 .asciz "ULONG_MIN undefined" l_str.157: ; @str.157 .asciz "LONG_MAX defined" l_str.158: ; @str.158 .asciz "LONG_MIN defined" l_str.159: ; @str.159 .asciz "FLT_MAX defined" l_str.160: ; @str.160 .asciz "FLT_MIN defined" l_str.161: ; @str.161 .asciz "MAXFLOAT defined" l_str.162: ; @str.162 .asciz "MINFLOAT undefined" l_str.163: ; @str.163 .asciz "DBL_MAX defined" l_str.164: ; @str.164 .asciz "DBL_MIN defined" l_str.165: ; @str.165 .asciz "MAXDOUBLE undefined" l_str.166: ; @str.166 .asciz "MINDOUBLE undefined" l_str.167: ; @str.167 .asciz "STREAM_MAX undefined" l_str.168: ; @str.168 .asciz "MAXHOSTNAMELEN undefined" l_str.169: ; @str.169 .asciz "_LARGEFILE_SOURCE undefined" l_str.170: ; @str.170 .asciz "_FILE_OFFSET_BITS undefined" l_str.171: ; @str.171 .asciz "__BIG_ENDIAN undefined" l_str.172: ; @str.172 .asciz "__LITTLE_ENDIAN undefined" l_str.173: ; @str.173 .asciz "__BYTE_ORDER undefined" l_str.174: ; @str.174 .asciz "__STDC_ISO_10646__ undefined" l_str.175: ; @str.175 .asciz "_GNU_SOURCE undefined" l_str.176: ; @str.176 .asciz "_REENTRANT undefined" l_str.177: ; @str.177 .asciz "true undefined" l_str.178: ; @str.178 .asciz "false undefined" l_str.179: ; @str.179 .asciz "boolean type undefined" l_str.181: ; @str.181 .asciz "Type sizes:\n" l_str.183: ; @str.183 .asciz "Little Endian" l_str.185: ; @str.185 .asciz "Byte alignment:\n" l_str.187: ; @str.187 .asciz "Sysconf:\n" l_str.188: ; @str.188 .asciz "_SC_AVPHYS_PAGES undefined" l_str.190: ; @str.190 .asciz "Errors:\n" l_str.192: ; @str.192 .asciz "Resource: Current: Maximum:\n" l_str.193: ; @str.193 .asciz "\n" l_str.194: ; @str.194 .asciz "(WARNING - STREAM_MAX is undefined).\n" l_str.195: ; @str.195 .asciz "Error - failed to open test file." .subsections_via_symbols
the_stack_data/150141053.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kvm_s390_vcpu_request _kvm_s390_vcpu_request: ## @kvm_s390_vcpu_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq _PROG_REQUEST@GOTPCREL(%rip), %rax movl (%rax), %edi movq (%rbx), %rsi callq _atomic_or movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _exit_sie ## TAILCALL .cfi_endproc ## -- End function .comm _PROG_REQUEST,4,2 ## @PROG_REQUEST .no_dead_strip _kvm_s390_vcpu_request .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kvm_s390_vcpu_request _kvm_s390_vcpu_request: ; @kvm_s390_vcpu_request .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _PROG_REQUEST@GOTPAGE Lloh1: ldr x8, [x8, _PROG_REQUEST@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr x1, [x19] bl _atomic_or mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _exit_sie .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _PROG_REQUEST,4,2 ; @PROG_REQUEST .no_dead_strip _kvm_s390_vcpu_request .subsections_via_symbols
AnghaBench/linux/arch/s390/kvm/extr_kvm-s390.c_kvm_s390_vcpu_request.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function try_write _try_write: ## @try_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movl (%rdi), %edx leaq L_.str(%rip), %rdi xorl %ebx, %ebx movq %r12, %rsi xorl %eax, %eax callq _dout movslq (%r12), %rax movq _CON_STATE_PREOPEN@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _CON_STATE_CONNECTING@GOTPCREL(%rip), %r14 movq _CON_STATE_OPEN@GOTPCREL(%rip), %r13 cmpq %rax, %rcx je LBB0_4 ## %bb.1: cmpq %rax, (%r14) je LBB0_4 ## %bb.2: movq _CON_STATE_NEGOTIATING@GOTPCREL(%rip), %rdx cmpq %rax, (%rdx) je LBB0_4 ## %bb.3: cmpq %rax, (%r13) jne LBB0_29 LBB0_4: cmpq %rax, %rcx jne LBB0_6 ## %bb.5: movl 4(%r12), %edi callq _BUG_ON movl (%r14), %eax movl %eax, (%r12) movq %r12, %rdi callq _con_out_kvec_reset movq %r12, %rdi callq _prepare_write_banner movq %r12, %rdi callq _prepare_read_banner movl 8(%r12), %edi callq _BUG_ON movq _CEPH_MSGR_TAG_READY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 84(%r12) movl (%r12), %edx leaq L_.str.1(%rip), %rdi movq %r12, %rsi xorl %eax, %eax callq _dout movq %r12, %rdi callq _ceph_tcp_connect testl %eax, %eax js LBB0_27 LBB0_6: leaq 40(%r12), %rax movq %rax, -48(%rbp) ## 8-byte Spill leaq L_.str.3(%rip), %r15 movq _CON_FLAG_KEEPALIVE_PENDING@GOTPCREL(%rip), %r14 jmp LBB0_8 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_8 Depth=1 movq %r12, %rdi callq _prepare_write_keepalive LBB0_8: ## =>This Inner Loop Header: Depth=1 movl 80(%r12), %esi movq %r15, %rdi xorl %eax, %eax callq _dout xorl %edi, %edi cmpl $0, 4(%r12) sete %dil callq _BUG_ON cmpq $0, 72(%r12) je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq %r12, %rdi callq _write_partial_kvec testl %eax, %eax jle LBB0_26 LBB0_10: ## in Loop: Header=BB0_8 Depth=1 cmpq $0, 64(%r12) je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_8 Depth=1 movq %r12, %rdi callq _write_partial_skip testl %eax, %eax jle LBB0_26 LBB0_12: ## in Loop: Header=BB0_8 Depth=1 movq 48(%r12), %rdi testq %rdi, %rdi je LBB0_18 ## %bb.13: ## in Loop: Header=BB0_8 Depth=1 cmpq $0, 56(%r12) je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_8 Depth=1 callq _ceph_msg_put movq $0, 48(%r12) jmp LBB0_18 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_8 Depth=1 movq %r12, %rdi callq _write_partial_message_data cmpl $1, %eax je LBB0_8 ## %bb.16: ## in Loop: Header=BB0_8 Depth=1 movl %eax, %ebx testl %eax, %eax je LBB0_28 ## %bb.17: ## in Loop: Header=BB0_8 Depth=1 js LBB0_30 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_8 Depth=1 movslq (%r12), %rax cmpq %rax, (%r13) jne LBB0_24 ## %bb.19: ## in Loop: Header=BB0_8 Depth=1 movl (%r14), %esi movq %r12, %rdi callq _con_flag_test_and_clear testq %rax, %rax jne LBB0_7 ## %bb.20: ## in Loop: Header=BB0_8 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload callq _list_empty testl %eax, %eax je LBB0_23 ## %bb.21: ## in Loop: Header=BB0_8 Depth=1 movq 24(%r12), %rax cmpq 32(%r12), %rax jle LBB0_24 ## %bb.22: ## in Loop: Header=BB0_8 Depth=1 movq %r12, %rdi callq _prepare_write_ack jmp LBB0_8 LBB0_23: ## in Loop: Header=BB0_8 Depth=1 movq %r12, %rdi callq _prepare_write_message jmp LBB0_8 LBB0_26: movl %eax, %ebx jmp LBB0_28 LBB0_24: movq _CON_FLAG_WRITE_PENDING@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _con_flag_clear leaq L_.str.5(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _dout jmp LBB0_28 LBB0_27: movl %eax, %ebx leaq L_.str.2(%rip), %rax movq %rax, 16(%r12) LBB0_28: leaq L_.str.6(%rip), %rdi movq %r12, %rsi movl %ebx, %edx xorl %eax, %eax callq _dout LBB0_29: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_30: leaq L_.str.4(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _dout jmp LBB0_28 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "try_write start %p state %lu\n" .comm _CON_STATE_PREOPEN,8,3 ## @CON_STATE_PREOPEN .comm _CON_STATE_CONNECTING,8,3 ## @CON_STATE_CONNECTING .comm _CON_STATE_NEGOTIATING,8,3 ## @CON_STATE_NEGOTIATING .comm _CON_STATE_OPEN,8,3 ## @CON_STATE_OPEN .comm _CEPH_MSGR_TAG_READY,4,2 ## @CEPH_MSGR_TAG_READY L_.str.1: ## @.str.1 .asciz "try_write initiating connect on %p new state %lu\n" L_.str.2: ## @.str.2 .asciz "connect error" L_.str.3: ## @.str.3 .asciz "try_write out_kvec_bytes %d\n" L_.str.4: ## @.str.4 .asciz "try_write write_partial_message_data err %d\n" .comm _CON_FLAG_KEEPALIVE_PENDING,4,2 ## @CON_FLAG_KEEPALIVE_PENDING .comm _CON_FLAG_WRITE_PENDING,4,2 ## @CON_FLAG_WRITE_PENDING L_.str.5: ## @.str.5 .asciz "try_write nothing else to write.\n" L_.str.6: ## @.str.6 .asciz "try_write done on %p ret %d\n" .no_dead_strip _try_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function try_write _try_write: ; @try_write .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr w8, [x0] stp x0, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _dout ldrsw x8, [x19] Lloh2: adrp x9, _CON_STATE_PREOPEN@GOTPAGE Lloh3: ldr x9, [x9, _CON_STATE_PREOPEN@GOTPAGEOFF] Lloh4: adrp x20, _CON_STATE_CONNECTING@GOTPAGE Lloh5: ldr x20, [x20, _CON_STATE_CONNECTING@GOTPAGEOFF] Lloh6: ldr x9, [x9] ldr x10, [x20] Lloh7: adrp x11, _CON_STATE_NEGOTIATING@GOTPAGE Lloh8: ldr x11, [x11, _CON_STATE_NEGOTIATING@GOTPAGEOFF] Lloh9: adrp x23, _CON_STATE_OPEN@GOTPAGE Lloh10: ldr x23, [x23, _CON_STATE_OPEN@GOTPAGEOFF] Lloh11: ldr x11, [x11] ldr x12, [x23] cmp x9, x8 ccmp x10, x8, #4, ne ccmp x11, x8, #4, ne ccmp x12, x8, #4, ne b.ne LBB0_21 ; %bb.1: cmp x9, x8 b.ne LBB0_3 ; %bb.2: ldr w0, [x19, #4] bl _BUG_ON ldr x8, [x20] str w8, [x19] mov x0, x19 bl _con_out_kvec_reset mov x0, x19 bl _prepare_write_banner mov x0, x19 bl _prepare_read_banner ldr w0, [x19, #8] bl _BUG_ON Lloh12: adrp x8, _CEPH_MSGR_TAG_READY@GOTPAGE Lloh13: ldr x8, [x8, _CEPH_MSGR_TAG_READY@GOTPAGEOFF] Lloh14: ldr w8, [x8] str w8, [x19, #84] ldr w8, [x19] stp x19, x8, [sp] Lloh15: adrp x0, l_.str.1@PAGE Lloh16: add x0, x0, l_.str.1@PAGEOFF bl _dout mov x0, x19 bl _ceph_tcp_connect tbnz w0, #31, LBB0_24 LBB0_3: add x20, x19, #40 Lloh17: adrp x21, l_.str.3@PAGE Lloh18: add x21, x21, l_.str.3@PAGEOFF Lloh19: adrp x24, _CON_FLAG_KEEPALIVE_PENDING@GOTPAGE Lloh20: ldr x24, [x24, _CON_FLAG_KEEPALIVE_PENDING@GOTPAGEOFF] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _prepare_write_keepalive LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19, #80] str x8, [sp] mov x0, x21 bl _dout ldr w8, [x19, #4] cmp w8, #0 cset w0, eq bl _BUG_ON ldr x8, [x19, #72] cbz x8, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _write_partial_kvec cmp w0, #1 b.lt LBB0_22 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #64] cbz x8, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _write_partial_skip cmp w0, #1 b.lt LBB0_22 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x19, #48] cbz x0, LBB0_15 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #56] cbz x8, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 bl _ceph_msg_put str xzr, [x19, #48] b LBB0_15 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _write_partial_message_data cmp w0, #1 b.eq LBB0_5 ; %bb.13: ; in Loop: Header=BB0_5 Depth=1 mov x22, x0 cbz w0, LBB0_25 ; %bb.14: ; in Loop: Header=BB0_5 Depth=1 tbnz w22, #31, LBB0_27 LBB0_15: ; in Loop: Header=BB0_5 Depth=1 ldrsw x8, [x19] ldr x9, [x23] cmp x9, x8 b.ne LBB0_23 ; %bb.16: ; in Loop: Header=BB0_5 Depth=1 ldr w1, [x24] mov x0, x19 bl _con_flag_test_and_clear cbnz x0, LBB0_4 ; %bb.17: ; in Loop: Header=BB0_5 Depth=1 mov x0, x20 bl _list_empty cbz w0, LBB0_20 ; %bb.18: ; in Loop: Header=BB0_5 Depth=1 ldp x8, x9, [x19, #24] cmp x8, x9 b.le LBB0_23 ; %bb.19: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _prepare_write_ack b LBB0_5 LBB0_20: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _prepare_write_message b LBB0_5 LBB0_21: mov w22, #0 b LBB0_26 LBB0_22: mov x22, x0 b LBB0_25 LBB0_23: Lloh21: adrp x8, _CON_FLAG_WRITE_PENDING@GOTPAGE Lloh22: ldr x8, [x8, _CON_FLAG_WRITE_PENDING@GOTPAGEOFF] Lloh23: ldr w1, [x8] mov x0, x19 bl _con_flag_clear Lloh24: adrp x0, l_.str.5@PAGE Lloh25: add x0, x0, l_.str.5@PAGEOFF bl _dout mov w22, #0 b LBB0_25 LBB0_24: mov x22, x0 Lloh26: adrp x8, l_.str.2@PAGE Lloh27: add x8, x8, l_.str.2@PAGEOFF str x8, [x19, #16] LBB0_25: stp x19, x22, [sp] Lloh28: adrp x0, l_.str.6@PAGE Lloh29: add x0, x0, l_.str.6@PAGEOFF bl _dout LBB0_26: mov x0, x22 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_27: mov x8, x22 str x8, [sp] Lloh30: adrp x0, l_.str.4@PAGE Lloh31: add x0, x0, l_.str.4@PAGEOFF bl _dout b LBB0_25 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh11 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh6 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "try_write start %p state %lu\n" .comm _CON_STATE_PREOPEN,8,3 ; @CON_STATE_PREOPEN .comm _CON_STATE_CONNECTING,8,3 ; @CON_STATE_CONNECTING .comm _CON_STATE_NEGOTIATING,8,3 ; @CON_STATE_NEGOTIATING .comm _CON_STATE_OPEN,8,3 ; @CON_STATE_OPEN .comm _CEPH_MSGR_TAG_READY,4,2 ; @CEPH_MSGR_TAG_READY l_.str.1: ; @.str.1 .asciz "try_write initiating connect on %p new state %lu\n" l_.str.2: ; @.str.2 .asciz "connect error" l_.str.3: ; @.str.3 .asciz "try_write out_kvec_bytes %d\n" l_.str.4: ; @.str.4 .asciz "try_write write_partial_message_data err %d\n" .comm _CON_FLAG_KEEPALIVE_PENDING,4,2 ; @CON_FLAG_KEEPALIVE_PENDING .comm _CON_FLAG_WRITE_PENDING,4,2 ; @CON_FLAG_WRITE_PENDING l_.str.5: ; @.str.5 .asciz "try_write nothing else to write.\n" l_.str.6: ; @.str.6 .asciz "try_write done on %p ret %d\n" .no_dead_strip _try_write .subsections_via_symbols
AnghaBench/linux/net/ceph/extr_messenger.c_try_write.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _add8u_8ES ## -- Begin function add8u_8ES .p2align 4, 0x90 _add8u_8ES: ## @add8u_8ES .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax shrl $7, %eax movl %esi, %edx shrl $7, %edx andl $1, %edx movl %edx, %ecx andl %eax, %ecx andl $1, %eax xorl %edx, %eax movq %rsi, %rdx shrq $3, %rdx andl $2, %edx andl $4, %esi shrq %rdi andl $16, %edi shll $7, %eax shll $8, %ecx leaq (%rdi,%rsi,2), %rsi orq %rdx, %rsi orq %rax, %rsi leaq (%rcx,%rsi), %rax addq $101, %rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _add8u_8ES ; -- Begin function add8u_8ES .p2align 2 _add8u_8ES: ; @add8u_8ES .cfi_startproc ; %bb.0: ubfx x8, x0, #7, #25 ubfx w9, w0, #7, #1 ubfx w10, w1, #7, #1 and w8, w10, w8 eor w9, w10, w9 lsr x10, x1, #3 and x10, x10, #0x2 lsl w11, w1, #1 and x11, x11, #0x8 lsr x12, x0, #1 and x12, x12, #0x10 lsl w9, w9, #7 lsl w8, w8, #8 orr x11, x12, x11 orr x10, x11, x10 orr x9, x10, x9 orr x8, x9, x8 mov w9, #101 orr x0, x8, x9 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/662323.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qmi_sample_new_server _qmi_sample_new_server: ## @qmi_sample_new_server .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq _AF_QIPCRTR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movl 12(%rsi), %eax movl %eax, -36(%rbp) movl 8(%rsi), %eax movl %eax, -32(%rbp) movq _PLATFORM_DEVID_AUTO@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi callq _platform_device_alloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r15 leaq -40(%rbp), %rsi movq %rax, %rdi movl $12, %edx callq _platform_device_add_data movl %eax, %ebx testl %eax, %eax jne LBB0_5 ## %bb.3: movq %r15, %rdi callq _platform_device_add movl %eax, %ebx testl %eax, %eax je LBB0_4 LBB0_5: movq %r15, %rdi callq _platform_device_put jmp LBB0_6 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_6 LBB0_4: movq %r15, (%r14) xorl %ebx, %ebx LBB0_6: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AF_QIPCRTR,4,2 ## @AF_QIPCRTR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "qmi_sample_client" .comm _PLATFORM_DEVID_AUTO,4,2 ## @PLATFORM_DEVID_AUTO .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _qmi_sample_new_server .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qmi_sample_new_server _qmi_sample_new_server: ; @qmi_sample_new_server .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 Lloh0: adrp x8, _AF_QIPCRTR@GOTPAGE Lloh1: ldr x8, [x8, _AF_QIPCRTR@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [sp] ldr d0, [x1, #8] rev64.2s v0, v0 stur d0, [sp, #4] Lloh3: adrp x8, _PLATFORM_DEVID_AUTO@GOTPAGE Lloh4: ldr x8, [x8, _PLATFORM_DEVID_AUTO@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _platform_device_alloc cbz x0, LBB0_4 ; %bb.1: mov x20, x0 mov x1, sp mov w2, #12 bl _platform_device_add_data mov x21, x0 cbnz w0, LBB0_3 ; %bb.2: mov x0, x20 bl _platform_device_add mov x21, x0 cbz w0, LBB0_5 LBB0_3: mov x0, x20 bl _platform_device_put b LBB0_6 LBB0_4: Lloh8: adrp x8, _ENOMEM@GOTPAGE Lloh9: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh10: ldr w8, [x8] neg w21, w8 b LBB0_6 LBB0_5: str x20, [x19] LBB0_6: mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _AF_QIPCRTR,4,2 ; @AF_QIPCRTR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "qmi_sample_client" .comm _PLATFORM_DEVID_AUTO,4,2 ; @PLATFORM_DEVID_AUTO .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _qmi_sample_new_server .subsections_via_symbols
AnghaBench/linux/samples/qmi/extr_qmi_sample_client.c_qmi_sample_new_server.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function is_pipe_listening _is_pipe_listening: ## @is_pipe_listening .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %esi callq _WaitNamedPipeA testq %rax, %rax jne LBB0_1 ## %bb.2: movq _RPC_S_NOT_LISTENING@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _RPC_S_OK@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _RPC_S_OK,4,2 ## @RPC_S_OK .comm _RPC_S_NOT_LISTENING,4,2 ## @RPC_S_NOT_LISTENING .no_dead_strip _is_pipe_listening .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function is_pipe_listening _is_pipe_listening: ; @is_pipe_listening .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w1, #1 bl _WaitNamedPipeA Lloh0: adrp x8, _RPC_S_OK@GOTPAGE Lloh1: ldr x8, [x8, _RPC_S_OK@GOTPAGEOFF] Lloh2: adrp x9, _RPC_S_NOT_LISTENING@GOTPAGE Lloh3: ldr x9, [x9, _RPC_S_NOT_LISTENING@GOTPAGEOFF] cmp x0, #0 csel x8, x9, x8, eq ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _RPC_S_OK,4,2 ; @RPC_S_OK .comm _RPC_S_NOT_LISTENING,4,2 ; @RPC_S_NOT_LISTENING .no_dead_strip _is_pipe_listening .subsections_via_symbols
AnghaBench/reactos/dll/win32/rpcrt4/extr_rpc_transport.c_is_pipe_listening.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %edi, %edi callq _XML_ParserCreate testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %r14 leaq _start(%rip), %rsi leaq _end(%rip), %rdx movq %rax, %rdi callq _XML_SetElementHandler movq ___stdinp@GOTPCREL(%rip), %r13 movq _Buff@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq (%r13), %rcx movl $1, %esi movl $8192, %edx ## imm = 0x2000 movq %r15, %rdi callq _fread movq %rax, %r12 movq (%r13), %rbx movq %rbx, %rdi callq _ferror testl %eax, %eax jne LBB0_5 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi callq _feof movl %eax, %ebx movq %r14, %rdi movq %r15, %rsi movl %r12d, %edx movl %eax, %ecx callq _XML_Parse testl %eax, %eax je LBB0_9 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 testl %ebx, %ebx je LBB0_4 ## %bb.8: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.1(%rip), %rdi movl $11, %esi LBB0_2: movl $1, %edx callq _fwrite movl $-1, %edi callq _exit LBB0_9: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %r15 movq %r14, %rdi callq _XML_GetCurrentLineNumber movq %rax, %rbx movq %r14, %rdi callq _XML_GetErrorCode movl %eax, %edi callq _XML_ErrorString leaq L_.str.2(%rip), %rsi movq %r15, %rdi movq %rbx, %rdx movq %rax, %rcx xorl %eax, %eax callq _fprintf movl $-1, %edi callq _exit LBB0_1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str(%rip), %rdi movl $36, %esi jmp LBB0_2 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function start _start: ## @start .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r13 movq %rsi, %r14 movq _Depth@GOTPCREL(%rip), %r12 cmpl $0, (%r12) jle LBB1_3 ## %bb.1: leaq L_.str.3(%rip), %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi xorl %eax, %eax callq _printf incl %ebx cmpl (%r12), %ebx jl LBB1_2 LBB1_3: leaq L_.str.4(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _printf movq (%r13), %rsi testq %rsi, %rsi je LBB1_6 ## %bb.4: addq $16, %r13 leaq L_.str.5(%rip), %r14 .p2align 4, 0x90 LBB1_5: ## =>This Inner Loop Header: Depth=1 movq -8(%r13), %rdx movq %r14, %rdi xorl %eax, %eax callq _printf movq (%r13), %rsi addq $16, %r13 testq %rsi, %rsi jne LBB1_5 LBB1_6: movl $10, %edi callq _putchar incl (%r12) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function end _end: ## @end .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _Depth@GOTPCREL(%rip), %rax decl (%rax) popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Couldn't allocate memory for parser\n" .comm _Buff,8192,4 ## @Buff L_.str.1: ## @.str.1 .asciz "Read error\n" L_.str.2: ## @.str.2 .asciz "Parse error at line %d:\n%s\n" .comm _Depth,4,2 ## @Depth L_.str.3: ## @.str.3 .asciz " " L_.str.4: ## @.str.4 .asciz "%s" L_.str.5: ## @.str.5 .asciz " %s='%s'" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x0, #0 bl _XML_ParserCreate cbz x0, LBB0_9 ; %bb.1: mov x19, x0 Lloh0: adrp x1, _start@PAGE Lloh1: add x1, x1, _start@PAGEOFF Lloh2: adrp x2, _end@PAGE Lloh3: add x2, x2, _end@PAGEOFF bl _XML_SetElementHandler Lloh4: adrp x23, ___stdinp@GOTPAGE Lloh5: ldr x23, [x23, ___stdinp@GOTPAGEOFF] Lloh6: adrp x20, _Buff@GOTPAGE Lloh7: ldr x20, [x20, _Buff@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x3, [x23] mov x0, x20 mov w1, #1 mov w2, #8192 bl _fread mov x21, x0 ldr x22, [x23] mov x0, x22 bl _ferror cbnz w0, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x0, x22 bl _feof mov x22, x0 mov x0, x19 mov x1, x20 mov x2, x21 mov x3, x22 bl _XML_Parse cbz w0, LBB0_8 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 cbz w22, LBB0_2 ; %bb.5: mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_6: Lloh8: adrp x8, ___stderrp@GOTPAGE Lloh9: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh10: ldr x3, [x8] Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF mov w1, #11 LBB0_7: mov w2, #1 bl _fwrite mov w0, #-1 bl _exit LBB0_8: Lloh13: adrp x8, ___stderrp@GOTPAGE Lloh14: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh15: ldr x20, [x8] mov x0, x19 bl _XML_GetCurrentLineNumber mov x21, x0 mov x0, x19 bl _XML_GetErrorCode bl _XML_ErrorString stp x21, x0, [sp] Lloh16: adrp x1, l_.str.2@PAGE Lloh17: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 bl _fprintf mov w0, #-1 bl _exit LBB0_9: Lloh18: adrp x8, ___stderrp@GOTPAGE Lloh19: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh20: ldr x3, [x8] Lloh21: adrp x0, l_.str@PAGE Lloh22: add x0, x0, l_.str@PAGEOFF mov w1, #36 b LBB0_7 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function start _start: ; @start .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 Lloh23: adrp x22, _Depth@GOTPAGE Lloh24: ldr x22, [x22, _Depth@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB1_3 ; %bb.1: mov w23, #0 Lloh25: adrp x21, l_.str.3@PAGE Lloh26: add x21, x21, l_.str.3@PAGEOFF LBB1_2: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _printf add w23, w23, #1 ldr w8, [x22] cmp w23, w8 b.lt LBB1_2 LBB1_3: str x20, [sp] Lloh27: adrp x0, l_.str.4@PAGE Lloh28: add x0, x0, l_.str.4@PAGEOFF bl _printf ldr x8, [x19] cbz x8, LBB1_6 ; %bb.4: add x20, x19, #16 Lloh29: adrp x19, l_.str.5@PAGE Lloh30: add x19, x19, l_.str.5@PAGEOFF LBB1_5: ; =>This Inner Loop Header: Depth=1 ldur x9, [x20, #-8] stp x8, x9, [sp] mov x0, x19 bl _printf ldr x8, [x20], #16 cbnz x8, LBB1_5 LBB1_6: mov w0, #10 bl _putchar ldr w8, [x22] add w8, w8, #1 str w8, [x22] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function end _end: ; @end .cfi_startproc ; %bb.0: Lloh31: adrp x8, _Depth@GOTPAGE Lloh32: ldr x8, [x8, _Depth@GOTPAGEOFF] ldr w9, [x8] sub w9, w9, #1 str w9, [x8] ret .loh AdrpLdrGot Lloh31, Lloh32 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Couldn't allocate memory for parser\n" .comm _Buff,8192,0 ; @Buff l_.str.1: ; @.str.1 .asciz "Read error\n" l_.str.2: ; @.str.2 .asciz "Parse error at line %d:\n%s\n" .comm _Depth,4,2 ; @Depth l_.str.3: ; @.str.3 .asciz " " l_.str.4: ; @.str.4 .asciz "%s" l_.str.5: ; @.str.5 .asciz " %s='%s'" .subsections_via_symbols
the_stack_data/569473.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xive_get_max_prio _xive_get_max_prio: ## @xive_get_max_prio .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx leaq L_.str(%rip), %rdi callq _of_find_node_by_path testq %rax, %rax je LBB0_1 ## %bb.3: leaq L_.str.2(%rip), %rsi leaq -48(%rbp), %rdx movq %rax, %rdi callq _of_get_property testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %r15 movl -48(%rbp), %eax testb $7, %al je LBB0_6 ## %bb.17: leaq L_.str.4(%rip), %rdi jmp LBB0_2 LBB0_1: leaq L_.str.1(%rip), %rdi jmp LBB0_2 LBB0_4: leaq L_.str.3(%rip), %rdi jmp LBB0_2 LBB0_6: movq %rbx, -56(%rbp) ## 8-byte Spill movl $255, -44(%rbp) ## 4-byte Folded Spill xorl %r13d, %r13d jmp LBB0_7 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movl %r13d, -44(%rbp) ## 4-byte Spill LBB0_12: ## in Loop: Header=BB0_7 Depth=1 incl %r13d cmpl $8, %r13d je LBB0_13 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 cmpl $8, %eax jb LBB0_11 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 xorl %r14d, %r14d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r15,%r14,8), %edi callq _be32_to_cpu movl %eax, %ebx movl 4(%r15,%r14,8), %edi callq _be32_to_cpu cmpl %ebx, %r13d setge %cl addl %ebx, %eax cmpl %eax, %r13d setl %al andb %cl, %al movzbl %al, %eax addl %eax, %r12d incq %r14 movslq -48(%rbp), %rax movq %rax, %rcx shrq $3, %rcx cmpq %r14, %rcx ja LBB0_9 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 testl %r12d, %r12d jne LBB0_12 jmp LBB0_11 LBB0_13: movl -44(%rbp), %ecx ## 4-byte Reload cmpl $255, %ecx jne LBB0_15 ## %bb.14: leaq L_.str.5(%rip), %rdi LBB0_2: callq _pr_err xorl %eax, %eax LBB0_16: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: movq -56(%rbp), %rax ## 8-byte Reload movl %ecx, (%rax) movl $1, %eax jmp LBB0_16 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/" L_.str.1: ## @.str.1 .asciz "not root node found !\n" L_.str.2: ## @.str.2 .asciz "ibm,plat-res-int-priorities" L_.str.3: ## @.str.3 .asciz "Failed to read 'ibm,plat-res-int-priorities' property\n" L_.str.4: ## @.str.4 .asciz "invalid 'ibm,plat-res-int-priorities' property\n" L_.str.5: ## @.str.5 .asciz "no valid priority found in 'ibm,plat-res-int-priorities'\n" .no_dead_strip _xive_get_max_prio .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xive_get_max_prio _xive_get_max_prio: ; @xive_get_max_prio .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _of_find_node_by_path cbz x0, LBB0_4 ; %bb.1: Lloh2: adrp x1, l_.str.2@PAGE Lloh3: add x1, x1, l_.str.2@PAGEOFF add x2, sp, #12 bl _of_get_property cbz x0, LBB0_5 ; %bb.2: ldr w8, [sp, #12] tst w8, #0x7 b.eq LBB0_6 ; %bb.3: Lloh4: adrp x0, l_.str.4@PAGE Lloh5: add x0, x0, l_.str.4@PAGEOFF b LBB0_15 LBB0_4: Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF b LBB0_15 LBB0_5: Lloh8: adrp x0, l_.str.3@PAGE Lloh9: add x0, x0, l_.str.3@PAGEOFF b LBB0_15 LBB0_6: mov w21, #0 add x23, x0, #4 mov w22, #255 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=1 mov x22, x21 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add w21, w21, #1 cmp w21, #8 b.eq LBB0_13 LBB0_9: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 cmp w8, #8 b.lo LBB0_7 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov x25, #0 mov w24, #0 mov x26, x23 LBB0_11: ; Parent Loop BB0_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldur w0, [x26, #-4] bl _be32_to_cpu mov x20, x0 ldr w0, [x26], #8 bl _be32_to_cpu cmp w21, w20 add w8, w0, w20 ccmp w21, w8, #0, ge cinc w24, w24, lt add x25, x25, #1 ldrsw x8, [sp, #12] cmp x25, x8, lsr #3 b.lo LBB0_11 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 cbnz w24, LBB0_8 b LBB0_7 LBB0_13: cmp w22, #255 b.ne LBB0_17 ; %bb.14: Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF LBB0_15: bl _pr_err mov w0, #0 LBB0_16: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_17: str w22, [x19] mov w0, #1 b LBB0_16 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/" l_.str.1: ; @.str.1 .asciz "not root node found !\n" l_.str.2: ; @.str.2 .asciz "ibm,plat-res-int-priorities" l_.str.3: ; @.str.3 .asciz "Failed to read 'ibm,plat-res-int-priorities' property\n" l_.str.4: ; @.str.4 .asciz "invalid 'ibm,plat-res-int-priorities' property\n" l_.str.5: ; @.str.5 .asciz "no valid priority found in 'ibm,plat-res-int-priorities'\n" .no_dead_strip _xive_get_max_prio .subsections_via_symbols
AnghaBench/linux/arch/powerpc/sysdev/xive/extr_spapr.c_xive_get_max_prio.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uart_hangup _uart_hangup: ## @uart_hangup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq (%rdi), %rbx xorl %eax, %eax callq _kernel_locked xorl %edi, %edi testl %eax, %eax sete %dil callq _BUG_ON movq (%rbx), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi callq _pr_debug leaq 12(%rbx), %r14 movq %r14, %rdi callq _mutex_lock movq _ASYNC_NORMAL_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 8(%rbx) je LBB0_2 ## %bb.1: leaq 8(%rbx), %r12 movq %r15, %rdi callq _uart_flush_buffer movq %rbx, %rdi callq _uart_shutdown movq $0, 24(%rbx) movq _ASYNCB_NORMAL_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r12, %rsi callq _clear_bit movq %r12, %rdi xorl %esi, %esi callq _tty_port_tty_set leaq 20(%rbx), %rdi callq _wake_up_interruptible addq $16, %rbx movq %rbx, %rdi callq _wake_up_interruptible LBB0_2: movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "uart_hangup(%d)\n" .comm _ASYNC_NORMAL_ACTIVE,4,2 ## @ASYNC_NORMAL_ACTIVE .comm _ASYNCB_NORMAL_ACTIVE,4,2 ## @ASYNCB_NORMAL_ACTIVE .no_dead_strip _uart_hangup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uart_hangup _uart_hangup: ; @uart_hangup .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x0 ldr x19, [x0] bl _kernel_locked cmp w0, #0 cset w0, eq bl _BUG_ON mov x20, x19 ldr x8, [x20], #12 ldr w1, [x8] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _pr_debug mov x0, x20 bl _mutex_lock mov x22, x19 ldr w8, [x22, #8]! Lloh2: adrp x9, _ASYNC_NORMAL_ACTIVE@GOTPAGE Lloh3: ldr x9, [x9, _ASYNC_NORMAL_ACTIVE@GOTPAGEOFF] Lloh4: ldr w9, [x9] tst w9, w8 b.eq LBB0_2 ; %bb.1: mov x0, x21 bl _uart_flush_buffer mov x0, x19 bl _uart_shutdown str xzr, [x19, #24] Lloh5: adrp x8, _ASYNCB_NORMAL_ACTIVE@GOTPAGE Lloh6: ldr x8, [x8, _ASYNCB_NORMAL_ACTIVE@GOTPAGEOFF] Lloh7: ldr w0, [x8] mov x1, x22 bl _clear_bit mov x0, x22 mov x1, #0 bl _tty_port_tty_set add x0, x19, #20 bl _wake_up_interruptible add x0, x19, #16 bl _wake_up_interruptible LBB0_2: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _mutex_unlock .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "uart_hangup(%d)\n" .comm _ASYNC_NORMAL_ACTIVE,4,2 ; @ASYNC_NORMAL_ACTIVE .comm _ASYNCB_NORMAL_ACTIVE,4,2 ; @ASYNCB_NORMAL_ACTIVE .no_dead_strip _uart_hangup .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/serial/extr_serial_core.c_uart_hangup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _utf8_sanitize ## -- Begin function utf8_sanitize .p2align 4, 0x90 _utf8_sanitize: ## @utf8_sanitize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpb $0, (%rdi) je LBB0_1 ## %bb.2: movq %rdi, %r14 xorl %r13d, %r13d leaq -64(%rbp), %r12 movq _UTF8_MORE@GOTPCREL(%rip), %rbx xorl %edi, %edi jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movq _UTF8_DONE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_8 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movslq -56(%rbp), %rax notq %rax addq %rax, %r14 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq -48(%rbp), %rdi ## 8-byte Reload movzbl (%r14), %eax leal -127(%rax), %ecx cmpb $-95, %cl movl $95, %ecx cmovbl %ecx, %eax movb %al, (%rdi,%r13) cmpb $0, 1(%r14) leaq 1(%r14), %r14 movq %r15, %r13 je LBB0_13 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 leaq 1(%r13), %r15 movq %r15, %rsi movl $1, %edx callq _xreallocarray movq %rax, -48(%rbp) ## 8-byte Spill movsbl (%r14), %esi movq %r12, %rdi callq _utf8_open cmpl (%rbx), %eax jne LBB0_12 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movzbl -1(%r14), %ecx testb %cl, %cl je LBB0_7 .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl %cl, %esi movq %r12, %rdi callq _utf8_append movzbl -2(%r14), %ecx decq %r14 testb %cl, %cl je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 cmpl (%rbx), %eax je LBB0_5 jmp LBB0_7 LBB0_1: xorl %edi, %edi xorl %r15d, %r15d jmp LBB0_13 LBB0_8: movq -64(%rbp), %rsi addq %r13, %rsi movq -48(%rbp), %rdi ## 8-byte Reload movl $1, %edx callq _xreallocarray movq %rax, %rdi movq %rax, %rcx addq %r13, %rcx xorl %eax, %eax .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movb $95, (%rcx,%rax) incq %rax cmpq -64(%rbp), %rax jbe LBB0_9 ## %bb.10: addq %rax, %r13 movq %r13, %r15 LBB0_13: leaq 1(%r15), %rsi movl $1, %edx callq _xreallocarray movb $0, (%rax,%r15) addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _UTF8_MORE,4,2 ## @UTF8_MORE .comm _UTF8_DONE,4,2 ## @UTF8_DONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _utf8_sanitize ; -- Begin function utf8_sanitize .p2align 2 _utf8_sanitize: ; @utf8_sanitize .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 ldrb w8, [x0] cbz w8, LBB0_8 ; %bb.1: mov x20, x0 mov x22, #0 ; =0x0 mov x19, #0 ; =0x0 Lloh0: adrp x23, _UTF8_MORE@GOTPAGE Lloh1: ldr x23, [x23, _UTF8_MORE@GOTPAGEOFF] Lloh2: adrp x24, _UTF8_DONE@GOTPAGE Lloh3: ldr x24, [x24, _UTF8_DONE@GOTPAGEOFF] mov w25, #95 ; =0x5f b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x20] sub w9, w8, #127 cmn w9, #95 csel w8, w25, w8, lo strb w8, [x19, x22] ldrb w8, [x20, #1]! mov x22, x21 cbz w8, LBB0_12 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 add x21, x22, #1 mov x0, x19 mov x1, x21 mov w2, #1 ; =0x1 bl _xreallocarray mov x19, x0 ldrsb w1, [x20] mov x0, sp bl _utf8_open ldr w8, [x23] cmp w0, w8 b.ne LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldurb w8, [x20, #-1] cbz w8, LBB0_6 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 sxtb w1, w8 mov x0, sp bl _utf8_append ldurb w8, [x20, #-2] ldr w9, [x23] sub x20, x20, #1 cmp w8, #0 ccmp w0, w9, #0, ne b.eq LBB0_5 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x24] cmp w0, w8 b.eq LBB0_9 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 ldrsw x8, [sp, #8] mvn x8, x8 add x20, x8, x20 b LBB0_2 LBB0_8: mov x19, #0 ; =0x0 mov x21, #0 ; =0x0 b LBB0_12 LBB0_9: ldr x8, [sp] add x1, x8, x22 mov x0, x19 mov w2, #1 ; =0x1 bl _xreallocarray mov x19, x0 mov x8, #0 ; =0x0 add x9, x0, x22 mov w10, #95 ; =0x5f LBB0_10: ; =>This Inner Loop Header: Depth=1 strb w10, [x9, x8] add x8, x8, #1 ldr x11, [sp] cmp x8, x11 b.ls LBB0_10 ; %bb.11: add x21, x22, x8 LBB0_12: add x1, x21, #1 mov x0, x19 mov w2, #1 ; =0x1 bl _xreallocarray strb wzr, [x0, x21] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _UTF8_MORE,4,2 ; @UTF8_MORE .comm _UTF8_DONE,4,2 ; @UTF8_DONE .subsections_via_symbols
assembly_file_83795.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function extent_dalloc_default_impl _extent_dalloc_default_impl: ## @extent_dalloc_default_impl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movq _have_dss@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_3 ## %bb.1: movq %rbx, %rdi callq _extent_in_dss testl %eax, %eax je LBB0_3 ## %bb.2: movl $1, %eax popq %rbx popq %r14 popq %rbp retq LBB0_3: movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r14 popq %rbp jmp _extent_dalloc_mmap ## TAILCALL .cfi_endproc ## -- End function .comm _have_dss,4,2 ## @have_dss .no_dead_strip _extent_dalloc_default_impl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function extent_dalloc_default_impl _extent_dalloc_default_impl: ; @extent_dalloc_default_impl .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _have_dss@GOTPAGE Lloh1: ldr x8, [x8, _have_dss@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_3 ; %bb.1: mov x0, x20 bl _extent_in_dss cbz w0, LBB0_3 ; %bb.2: mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _extent_dalloc_mmap .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _have_dss,4,2 ; @have_dss .no_dead_strip _extent_dalloc_default_impl .subsections_via_symbols
AnghaBench/freebsd/contrib/jemalloc/src/extr_extent.c_extent_dalloc_default_impl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function planar2x_c _planar2x_c: ## @planar2x_c .cfi_startproc ## %bb.0: ## kill: def $edx killed $edx def $rdx movl (%rdi), %eax movl %eax, (%rsi) cmpl $2, %edx jl LBB0_3 ## %bb.1: movl $4, %eax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl -4(%rdi,%rax), %ecx leal (%rcx,%rcx,2), %ecx addl (%rdi,%rax), %ecx sarl $2, %ecx movl %ecx, -4(%rsi,%rax,2) movl (%rdi,%rax), %ecx leal (%rcx,%rcx,2), %ecx addl -4(%rdi,%rax), %ecx sarl $2, %ecx movl %ecx, (%rsi,%rax,2) addq $-4, %rax jmp LBB0_2 LBB0_3: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leal -1(%rdx), %r11d movslq %r11d, %rax movl (%rdi,%rax,4), %ebx addl %edx, %edx movslq %edx, %r10 movl %ebx, -4(%rsi,%r10,4) decq %r10 movslq %r9d, %r9 cmpl $2, %ecx jl LBB0_6 ## %bb.4: movslq %r8d, %r8 addl %r8d, %r11d movslq %r11d, %r11 leal (%r10,%r9), %ebx movslq %ebx, %r14 leal (%r9,%r9), %ebx movslq %ebx, %rbx shlq $2, %r8 decl %ecx shlq $2, %rbx addl $-2, %edx movslq %edx, %rdx shlq $2, %rdx leaq (%rdx,%r9,4), %rdx shlq $2, %r14 leaq (%r14,%r9,4), %r14 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%rdi), %r15d leal (%r15,%r15,2), %r15d addl (%rdi,%r8), %r15d sarl $2, %r15d movl %r15d, (%rsi,%r9,4) movl (%rdi,%r8), %r15d leal (%r15,%r15,2), %r15d addl (%rdi), %r15d sarl $2, %r15d movl %r15d, (%rsi,%r9,8) movl (%rdi,%rax,4), %r15d leal (%r15,%r15,2), %r15d addl (%rdi,%r11,4), %r15d sarl $2, %r15d movl %r15d, 4(%rsi,%rdx) movl (%rdi,%r11,4), %r15d leal (%r15,%r15,2), %r15d addl (%rdi,%rax,4), %r15d addq %r8, %rdi sarl $2, %r15d movl %r15d, (%rsi,%r14) addq %rbx, %rsi decl %ecx jne LBB0_5 LBB0_6: leaq (%rsi,%r9,4), %rcx movl (%rdi), %edx movl %edx, (%rcx) movl (%rdi,%rax,4), %eax movl %eax, (%rcx,%r10,4) popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _g_aug_volatile_9742 ## @g_aug_volatile_9742 .p2align 2, 0x0 _g_aug_volatile_9742: .long 3 ## 0x3 .no_dead_strip _planar2x_c .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function planar2x_c _planar2x_c: ; @planar2x_c .cfi_startproc ; %bb.0: ; kill: def $w5 killed $w5 def $x5 ; kill: def $w4 killed $w4 def $x4 ldr w9, [x0] mov x8, x1 str w9, [x8], #8 cmp w2, #2 b.lt LBB0_3 ; %bb.1: add x10, x0, #4 mov x9, x10 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w11, [x9, #-4]! add w11, w11, w11, lsl #1 ldr w12, [x10] add w11, w11, w12 asr w11, w11, #2 stur w11, [x8, #-4] ldr w11, [x9] ldr w10, [x10] add w10, w10, w10, lsl #1 add w10, w10, w11 asr w10, w10, #2 str w10, [x8], #-8 mov x10, x9 b LBB0_2 LBB0_3: sub w8, w2, #1 ldr w10, [x0, w8, sxtw #2] lsl w16, w2, #1 sub w11, w16, #1 sxtw x9, w11 str w10, [x1, w11, sxtw #2] add x10, x1, w5, sxtw #2 cmp w3, #2 b.lt LBB0_6 ; %bb.4: sxtw x17, w5 add w11, w8, w4 add w12, w9, w5 lsl w15, w5, #1 sbfiz x13, x4, #2, #32 sub w14, w3, #1 sbfiz x15, x15, #2, #32 sub w16, w16, #2 sbfiz x16, x16, #2, #32 add x16, x16, #4 add x17, x1, x17, lsl #3 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w1, [x0] add w2, w1, w1, lsl #1 add x1, x0, x13 ldr w3, [x1] add w2, w2, w3 asr w2, w2, #2 str w2, [x10] ldr w2, [x0] ldr w3, [x1] add w3, w3, w3, lsl #1 add w2, w3, w2 asr w2, w2, #2 str w2, [x17] ldr w2, [x0, w8, sxtw #2] add w2, w2, w2, lsl #1 ldr w3, [x0, w11, sxtw #2] add w2, w2, w3 asr w2, w2, #2 str w2, [x10, x16] ldr w2, [x0, w8, sxtw #2] ldr w0, [x0, w11, sxtw #2] add w0, w0, w0, lsl #1 add w0, w0, w2 asr w0, w0, #2 str w0, [x10, w12, sxtw #2] add x17, x17, x15 add x10, x10, x15 mov x0, x1 subs w14, w14, #1 b.ne LBB0_5 b LBB0_7 LBB0_6: mov x1, x0 LBB0_7: ldr w11, [x1] str w11, [x10] ldr w8, [x1, w8, sxtw #2] str w8, [x10, x9, lsl #2] ret .cfi_endproc ; -- End function .section __DATA,__data .globl _g_aug_volatile_9742 ; @g_aug_volatile_9742 .p2align 2, 0x0 _g_aug_volatile_9742: .long 3 ; 0x3 .no_dead_strip _planar2x_c .subsections_via_symbols
assembly_file_135579.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_cluster_by_id ## -- Begin function get_cluster_by_id .p2align 4, 0x90 _get_cluster_by_id: ## @get_cluster_by_id .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq _rpc_cluster_tree@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -8(%rbp), %rsi callq _tree_lookup_value_rpc_cluster testq %rax, %rax je LBB0_1 ## %bb.2: movq (%rax), %rax jmp LBB0_3 LBB0_1: xorl %eax, %eax LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _rpc_cluster_tree,4,2 ## @rpc_cluster_tree .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_cluster_by_id ; -- Begin function get_cluster_by_id .p2align 2 _get_cluster_by_id: ; @get_cluster_by_id .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] Lloh0: adrp x8, _rpc_cluster_tree@GOTPAGE Lloh1: ldr x8, [x8, _rpc_cluster_tree@GOTPAGEOFF] Lloh2: ldr w0, [x8] add x1, sp, #8 bl _tree_lookup_value_rpc_cluster cbz x0, LBB0_2 ; %bb.1: ldr x0, [x0] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _rpc_cluster_tree,4,2 ; @rpc_cluster_tree .subsections_via_symbols
AnghaBench/kphp-kdb/rpc-proxy/extr_rpc-proxy.c_get_cluster_by_id.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function stac92hd73xx_fixup_dell_m6_amic _stac92hd73xx_fixup_dell_m6_amic: ## @stac92hd73xx_fixup_dell_m6_amic .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _HDA_FIXUP_ACT_PRE_PROBE@GOTPCREL(%rip), %rax cmpl %edx, (%rax) jne LBB0_1 ## %bb.2: movq %rdi, %rbx callq _stac92hd73xx_fixup_dell movq %rbx, %rdi movl $11, %esi movl $-1868103312, %edx ## imm = 0x90A70170 addq $8, %rsp popq %rbx popq %rbp jmp _snd_hda_codec_set_pincfg ## TAILCALL LBB0_1: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _HDA_FIXUP_ACT_PRE_PROBE,4,2 ## @HDA_FIXUP_ACT_PRE_PROBE .no_dead_strip _stac92hd73xx_fixup_dell_m6_amic .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function stac92hd73xx_fixup_dell_m6_amic _stac92hd73xx_fixup_dell_m6_amic: ; @stac92hd73xx_fixup_dell_m6_amic .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE Lloh1: ldr x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w2 b.ne LBB0_2 ; %bb.1: mov x19, x0 bl _stac92hd73xx_fixup_dell mov x0, x19 mov w1, #11 mov w2, #368 movk w2, #37031, lsl #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _snd_hda_codec_set_pincfg LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _HDA_FIXUP_ACT_PRE_PROBE,4,2 ; @HDA_FIXUP_ACT_PRE_PROBE .no_dead_strip _stac92hd73xx_fixup_dell_m6_amic .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/hda/extr_patch_sigmatel.c_stac92hd73xx_fixup_dell_m6_amic.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl _x(%rip), %eax cmpl _x+4(%rip), %eax jge LBB0_3 ## %bb.1: movl _x+12(%rip), %eax testl %eax, _x+8(%rip) jns LBB0_3 ## %bb.2: callq _abort LBB0_3: xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .section __DATA,__data .globl _x ## @x .p2align 4 _x: .long 3221225472 ## 0xc0000000 .long 2147483647 ## 0x7fffffff .long 2 ## 0x2 .long 4 ## 0x4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _x@PAGE Lloh1: add x8, x8, _x@PAGEOFF ldp w9, w8, [x8] cmp w9, w8 b.ge LBB0_3 ; %bb.1: Lloh2: adrp x8, _x@PAGE+8 Lloh3: add x8, x8, _x@PAGEOFF+8 ldp w9, w8, [x8] tst w8, w9 b.ge LBB0_3 ; %bb.2: bl _abort LBB0_3: mov w0, #0 bl _exit .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __DATA,__data .globl _x ; @x .p2align 2 _x: .long 3221225472 ; 0xc0000000 .long 2147483647 ; 0x7fffffff .long 2 ; 0x2 .long 4 ; 0x4 .subsections_via_symbols
the_stack_data/21008.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lb_hash_select_tx_port _lb_hash_select_tx_port: ## @lb_hash_select_tx_port .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl %ecx, %esi callq _team_num_to_port_index movq %rbx, %rdi movl %eax, %esi addq $8, %rsp popq %rbx popq %rbp jmp _team_get_port_by_index_rcu ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _lb_hash_select_tx_port .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lb_hash_select_tx_port _lb_hash_select_tx_port: ; @lb_hash_select_tx_port .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x1, x3 mov x19, x0 bl _team_num_to_port_index mov x1, x0 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _team_get_port_by_index_rcu .cfi_endproc ; -- End function .no_dead_strip _lb_hash_select_tx_port .subsections_via_symbols
AnghaBench/linux/drivers/net/team/extr_team_mode_loadbalance.c_lb_hash_select_tx_port.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ib_get_eth_speed ## -- Begin function ib_get_eth_speed .p2align 4, 0x90 _ib_get_eth_speed: ## @ib_get_eth_speed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r14 movl %esi, %r12d movq %rdi, %rbx callq _rdma_port_get_link_layer movq _IB_LINK_LAYER_ETHERNET@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_1 ## %bb.3: movq %rbx, %rdi movl %r12d, %esi callq _ib_device_get_netdev testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %rbx xorl %eax, %eax callq _rtnl_lock leaq -40(%rbp), %rsi movq %rbx, %rdi callq ___ethtool_get_link_ksettings movl %eax, %r12d xorl %eax, %eax callq _rtnl_unlock movq %rbx, %rdi callq _dev_put testl %r12d, %r12d je LBB0_6 ## %bb.7: movq _SPEED_1000@GOTPCREL(%rip), %rax movq (%rax), %r12 movl (%rbx), %esi leaq L_.str(%rip), %rdi movq %r12, %rdx callq _pr_warn jmp LBB0_8 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_4: movq _ENODEV@GOTPCREL(%rip), %rcx LBB0_2: xorl %eax, %eax subl (%rcx), %eax jmp LBB0_20 LBB0_6: movq -40(%rbp), %r12 LBB0_8: movq _SPEED_1000@GOTPCREL(%rip), %rax cmpq (%rax), %r12 jle LBB0_9 ## %bb.10: movq _SPEED_10000@GOTPCREL(%rip), %rax cmpq (%rax), %r12 jle LBB0_11 ## %bb.12: movq _SPEED_20000@GOTPCREL(%rip), %rax cmpq (%rax), %r12 jle LBB0_13 ## %bb.14: movq _SPEED_25000@GOTPCREL(%rip), %rax cmpq (%rax), %r12 jle LBB0_15 ## %bb.17: movq _SPEED_40000@GOTPCREL(%rip), %rax movq _IB_WIDTH_4X@GOTPCREL(%rip), %rcx movl (%rcx), %ecx cmpq (%rax), %r12 movl %ecx, (%r15) jle LBB0_18 jmp LBB0_16 LBB0_9: movq _IB_WIDTH_1X@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) movq _IB_SPEED_SDR@GOTPCREL(%rip), %rax jmp LBB0_19 LBB0_11: movq _IB_WIDTH_1X@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) LBB0_18: movq _IB_SPEED_FDR10@GOTPCREL(%rip), %rax jmp LBB0_19 LBB0_13: movq _IB_WIDTH_4X@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) movq _IB_SPEED_DDR@GOTPCREL(%rip), %rax jmp LBB0_19 LBB0_15: movq _IB_WIDTH_1X@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) LBB0_16: movq _IB_SPEED_EDR@GOTPCREL(%rip), %rax LBB0_19: movl (%rax), %eax movl %eax, (%r14) xorl %eax, %eax LBB0_20: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IB_LINK_LAYER_ETHERNET,8,3 ## @IB_LINK_LAYER_ETHERNET .comm _EINVAL,4,2 ## @EINVAL .comm _ENODEV,4,2 ## @ENODEV .comm _SPEED_1000,8,3 ## @SPEED_1000 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s speed is unknown, defaulting to %d\n" .comm _IB_WIDTH_1X,4,2 ## @IB_WIDTH_1X .comm _IB_SPEED_SDR,4,2 ## @IB_SPEED_SDR .comm _SPEED_10000,8,3 ## @SPEED_10000 .comm _IB_SPEED_FDR10,4,2 ## @IB_SPEED_FDR10 .comm _SPEED_20000,8,3 ## @SPEED_20000 .comm _IB_WIDTH_4X,4,2 ## @IB_WIDTH_4X .comm _IB_SPEED_DDR,4,2 ## @IB_SPEED_DDR .comm _SPEED_25000,8,3 ## @SPEED_25000 .comm _IB_SPEED_EDR,4,2 ## @IB_SPEED_EDR .comm _SPEED_40000,8,3 ## @SPEED_40000 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ib_get_eth_speed ; -- Begin function ib_get_eth_speed .p2align 2 _ib_get_eth_speed: ; @ib_get_eth_speed .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x3 mov x19, x2 mov x21, x1 mov x22, x0 bl _rdma_port_get_link_layer Lloh0: adrp x8, _IB_LINK_LAYER_ETHERNET@GOTPAGE Lloh1: ldr x8, [x8, _IB_LINK_LAYER_ETHERNET@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.ne LBB0_4 ; %bb.1: mov x0, x22 mov x1, x21 bl _ib_device_get_netdev cbz x0, LBB0_5 ; %bb.2: mov x22, x0 bl _rtnl_lock add x1, sp, #8 mov x0, x22 bl ___ethtool_get_link_ksettings mov x21, x0 bl _rtnl_unlock mov x0, x22 bl _dev_put Lloh3: adrp x23, _SPEED_1000@GOTPAGE Lloh4: ldr x23, [x23, _SPEED_1000@GOTPAGEOFF] cbz w21, LBB0_7 ; %bb.3: ldr x21, [x23] ldr w1, [x22] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF mov x2, x21 bl _pr_warn b LBB0_8 LBB0_4: Lloh7: adrp x8, _EINVAL@GOTPAGE Lloh8: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_6 LBB0_5: Lloh9: adrp x8, _ENODEV@GOTPAGE Lloh10: ldr x8, [x8, _ENODEV@GOTPAGEOFF] LBB0_6: ldr w8, [x8] neg w0, w8 b LBB0_21 LBB0_7: ldr x21, [sp, #8] LBB0_8: ldr x8, [x23] cmp x21, x8 b.le LBB0_14 ; %bb.9: Lloh11: adrp x8, _SPEED_10000@GOTPAGE Lloh12: ldr x8, [x8, _SPEED_10000@GOTPAGEOFF] Lloh13: ldr x8, [x8] cmp x21, x8 b.le LBB0_15 ; %bb.10: Lloh14: adrp x8, _SPEED_20000@GOTPAGE Lloh15: ldr x8, [x8, _SPEED_20000@GOTPAGEOFF] Lloh16: ldr x8, [x8] cmp x21, x8 b.le LBB0_17 ; %bb.11: Lloh17: adrp x8, _SPEED_25000@GOTPAGE Lloh18: ldr x8, [x8, _SPEED_25000@GOTPAGEOFF] Lloh19: ldr x8, [x8] cmp x21, x8 b.le LBB0_18 ; %bb.12: Lloh20: adrp x8, _SPEED_40000@GOTPAGE Lloh21: ldr x8, [x8, _SPEED_40000@GOTPAGEOFF] Lloh22: ldr x8, [x8] Lloh23: adrp x9, _IB_WIDTH_4X@GOTPAGE Lloh24: ldr x9, [x9, _IB_WIDTH_4X@GOTPAGEOFF] Lloh25: ldr w9, [x9] str w9, [x20] cmp x21, x8 b.le LBB0_22 ; %bb.13: mov w0, #0 b LBB0_19 LBB0_14: mov w0, #0 Lloh26: adrp x8, _IB_WIDTH_1X@GOTPAGE Lloh27: ldr x8, [x8, _IB_WIDTH_1X@GOTPAGEOFF] Lloh28: ldr w8, [x8] str w8, [x20] Lloh29: adrp x8, _IB_SPEED_SDR@GOTPAGE Lloh30: ldr x8, [x8, _IB_SPEED_SDR@GOTPAGEOFF] b LBB0_20 LBB0_15: mov w0, #0 Lloh31: adrp x8, _IB_WIDTH_1X@GOTPAGE Lloh32: ldr x8, [x8, _IB_WIDTH_1X@GOTPAGEOFF] Lloh33: ldr w8, [x8] str w8, [x20] LBB0_16: Lloh34: adrp x8, _IB_SPEED_FDR10@GOTPAGE Lloh35: ldr x8, [x8, _IB_SPEED_FDR10@GOTPAGEOFF] b LBB0_20 LBB0_17: mov w0, #0 Lloh36: adrp x8, _IB_WIDTH_4X@GOTPAGE Lloh37: ldr x8, [x8, _IB_WIDTH_4X@GOTPAGEOFF] Lloh38: ldr w8, [x8] str w8, [x20] Lloh39: adrp x8, _IB_SPEED_DDR@GOTPAGE Lloh40: ldr x8, [x8, _IB_SPEED_DDR@GOTPAGEOFF] b LBB0_20 LBB0_18: mov w0, #0 Lloh41: adrp x8, _IB_WIDTH_1X@GOTPAGE Lloh42: ldr x8, [x8, _IB_WIDTH_1X@GOTPAGEOFF] Lloh43: ldr w8, [x8] str w8, [x20] LBB0_19: Lloh44: adrp x8, _IB_SPEED_EDR@GOTPAGE Lloh45: ldr x8, [x8, _IB_SPEED_EDR@GOTPAGEOFF] LBB0_20: ldr w8, [x8] str w8, [x19] LBB0_21: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_22: mov w0, #0 b LBB0_16 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGot Lloh44, Lloh45 .cfi_endproc ; -- End function .comm _IB_LINK_LAYER_ETHERNET,8,3 ; @IB_LINK_LAYER_ETHERNET .comm _EINVAL,4,2 ; @EINVAL .comm _ENODEV,4,2 ; @ENODEV .comm _SPEED_1000,8,3 ; @SPEED_1000 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s speed is unknown, defaulting to %d\n" .comm _IB_WIDTH_1X,4,2 ; @IB_WIDTH_1X .comm _IB_SPEED_SDR,4,2 ; @IB_SPEED_SDR .comm _SPEED_10000,8,3 ; @SPEED_10000 .comm _IB_SPEED_FDR10,4,2 ; @IB_SPEED_FDR10 .comm _SPEED_20000,8,3 ; @SPEED_20000 .comm _IB_WIDTH_4X,4,2 ; @IB_WIDTH_4X .comm _IB_SPEED_DDR,4,2 ; @IB_SPEED_DDR .comm _SPEED_25000,8,3 ; @SPEED_25000 .comm _IB_SPEED_EDR,4,2 ; @IB_SPEED_EDR .comm _SPEED_40000,8,3 ; @SPEED_40000 .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/core/extr_verbs.c_ib_get_eth_speed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function archive_compressor_gzip_options _archive_compressor_gzip_options: ## @archive_compressor_gzip_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r14 movq (%rdi), %r15 leaq L_.str(%rip), %rsi movq %r14, %rdi callq _strcmp testq %rax, %rax je LBB0_1 ## %bb.4: leaq L_.str.1(%rip), %rsi movq %r14, %rdi callq _strcmp testq %rax, %rax je LBB0_6 ## %bb.5: movq _ARCHIVE_WARN@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_1: movq _ARCHIVE_WARN@GOTPCREL(%rip), %rax testq %rbx, %rbx je LBB0_8 ## %bb.2: cmpb $0, 1(%rbx) jne LBB0_8 ## %bb.3: movzbl (%rbx), %eax addb $-48, %al movb %al, (%r15) jmp LBB0_7 LBB0_6: xorl %eax, %eax cmpq $1, %rbx sbbl %eax, %eax orl $1, %eax movl %eax, 4(%r15) LBB0_7: movq _ARCHIVE_OK@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "compression-level" .comm _ARCHIVE_WARN,4,2 ## @ARCHIVE_WARN .comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK L_.str.1: ## @.str.1 .asciz "timestamp" .no_dead_strip _archive_compressor_gzip_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function archive_compressor_gzip_options _archive_compressor_gzip_options: ; @archive_compressor_gzip_options .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 ldr x21, [x0] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _strcmp cbz x0, LBB0_3 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _strcmp cbnz x0, LBB0_5 ; %bb.2: cmp x19, #0 mov w8, #-1 ; =0xffffffff cneg w8, w8, ne str w8, [x21, #4] b LBB0_7 LBB0_3: cbz x19, LBB0_5 ; %bb.4: ldrb w8, [x19, #1] cbz w8, LBB0_6 LBB0_5: Lloh4: adrp x8, _ARCHIVE_WARN@GOTPAGE Lloh5: ldr x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF] b LBB0_8 LBB0_6: ldrb w8, [x19] sub w8, w8, #48 strb w8, [x21] LBB0_7: Lloh6: adrp x8, _ARCHIVE_OK@GOTPAGE Lloh7: ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF] LBB0_8: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "compression-level" .comm _ARCHIVE_WARN,4,2 ; @ARCHIVE_WARN .comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK l_.str.1: ; @.str.1 .asciz "timestamp" .no_dead_strip _archive_compressor_gzip_options .subsections_via_symbols
assembly_file_75623.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _git_diff__from_iterators ## -- Begin function git_diff__from_iterators .p2align 4, 0x90 _git_diff__from_iterators: ## @git_diff__from_iterators .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r13 movq %rcx, %r12 movq %rdx, %r15 movq %rsi, %r14 movq %rdi, -88(%rbp) ## 8-byte Spill movq $0, (%rdi) movq %rsi, %rdi movq %rdx, %rsi movq %rcx, %rdx callq _diff_generated_alloc movq %rax, %rbx movq %rax, %rdi callq _GIT_ERROR_CHECK_ALLOC movq %r14, -48(%rbp) movq %r15, -56(%rbp) movq %r12, -64(%rbp) movq _GIT_DIFF_IGNORE_CASE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _DIFF_FLAG_IS_SET testq %rax, %rax je LBB0_2 ## %bb.1: movq %r15, %rdi movl $1, %esi callq _git_iterator_set_ignore_case movq %r12, %rdi movl $1, %esi callq _git_iterator_set_ignore_case LBB0_2: movq %rbx, %rdi movq %r13, %rsi callq _diff_generated_apply_options testl %eax, %eax js LBB0_3 ## %bb.5: leaq -72(%rbp), %rdi movq %r15, %rsi callq _iterator_current testl %eax, %eax js LBB0_3 ## %bb.6: leaq -80(%rbp), %rdi movq %r12, %rsi callq _iterator_current movl %eax, %r14d testl %eax, %eax js LBB0_4 ## %bb.7: jne LBB0_29 jmp LBB0_8 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_8 Depth=1 movq %rbx, %rdi leaq -80(%rbp), %rsi callq _handle_unmatched_new_item LBB0_28: ## in Loop: Header=BB0_8 Depth=1 movl %eax, %r14d testl %eax, %eax jne LBB0_29 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq -80(%rbp), %rcx movq -72(%rbp), %rdi movq %rdi, %rax orq %rcx, %rax je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 testq %r13, %r13 je LBB0_21 ## %bb.11: ## in Loop: Header=BB0_8 Depth=1 movq (%r13), %rax testq %rax, %rax je LBB0_21 ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 testq %rdi, %rdi je LBB0_13 ## %bb.14: ## in Loop: Header=BB0_8 Depth=1 movq (%rdi), %rsi testq %rcx, %rcx je LBB0_16 LBB0_17: ## in Loop: Header=BB0_8 Depth=1 movq (%rcx), %rdx jmp LBB0_18 LBB0_13: ## in Loop: Header=BB0_8 Depth=1 xorl %esi, %esi testq %rcx, %rcx jne LBB0_17 LBB0_16: ## in Loop: Header=BB0_8 Depth=1 xorl %edx, %edx LBB0_18: ## in Loop: Header=BB0_8 Depth=1 movl 8(%r13), %ecx movq %rbx, %rdi callq *%rax testl %eax, %eax jne LBB0_19 ## %bb.20: ## in Loop: Header=BB0_8 Depth=1 movq -72(%rbp), %rdi LBB0_21: ## in Loop: Header=BB0_8 Depth=1 testq %rdi, %rdi je LBB0_26 ## %bb.22: ## in Loop: Header=BB0_8 Depth=1 movq -80(%rbp), %rsi testq %rsi, %rsi je LBB0_24 ## %bb.23: ## in Loop: Header=BB0_8 Depth=1 callq *(%rbx) testl %eax, %eax js LBB0_24 ## %bb.25: ## in Loop: Header=BB0_8 Depth=1 jne LBB0_26 ## %bb.27: ## in Loop: Header=BB0_8 Depth=1 movq %rbx, %rdi leaq -80(%rbp), %rsi callq _handle_matched_item jmp LBB0_28 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_8 Depth=1 movq %rbx, %rdi leaq -80(%rbp), %rsi callq _handle_unmatched_old_item jmp LBB0_28 LBB0_3: movl %eax, %r14d jmp LBB0_4 LBB0_9: xorl %r14d, %r14d jmp LBB0_29 LBB0_19: movl %eax, %r14d LBB0_29: movl (%r12), %eax addl (%r15), %eax addl %eax, 8(%rbx) testl %r14d, %r14d je LBB0_30 LBB0_4: movq %rbx, %rdi callq _git_diff_free LBB0_31: movl %r14d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_30: movq -88(%rbp), %rax ## 8-byte Reload movq %rbx, (%rax) xorl %r14d, %r14d jmp LBB0_31 .cfi_endproc ## -- End function .comm _GIT_DIFF_IGNORE_CASE,4,2 ## @GIT_DIFF_IGNORE_CASE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _git_diff__from_iterators ; -- Begin function git_diff__from_iterators .p2align 2 _git_diff__from_iterators: ; @git_diff__from_iterators .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x23, x4 mov x21, x3 mov x22, x2 mov x24, x1 mov x20, x0 str xzr, [x0] mov x0, x1 mov x1, x2 mov x2, x3 bl _diff_generated_alloc mov x19, x0 bl _GIT_ERROR_CHECK_ALLOC stp x22, x24, [sp, #32] str x21, [sp, #24] Lloh0: adrp x8, _GIT_DIFF_IGNORE_CASE@GOTPAGE Lloh1: ldr x8, [x8, _GIT_DIFF_IGNORE_CASE@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 bl _DIFF_FLAG_IS_SET cbz x0, LBB0_2 ; %bb.1: mov x0, x22 mov w1, #1 ; =0x1 bl _git_iterator_set_ignore_case mov x0, x21 mov w1, #1 ; =0x1 bl _git_iterator_set_ignore_case LBB0_2: mov x0, x19 mov x1, x23 bl _diff_generated_apply_options tbnz w0, #31, LBB0_26 ; %bb.3: add x8, sp, #8 add x0, x8, #8 mov x1, x22 bl _iterator_current tbnz w0, #31, LBB0_26 ; %bb.4: add x0, sp, #8 mov x1, x21 bl _iterator_current tbnz w0, #31, LBB0_26 ; %bb.5: cbnz w0, LBB0_25 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=1 add x1, sp, #8 mov x0, x19 bl _handle_unmatched_new_item LBB0_7: ; in Loop: Header=BB0_8 Depth=1 cbnz w0, LBB0_25 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldp x9, x0, [sp, #8] orr x8, x0, x9 cbz x8, LBB0_24 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 cbz x23, LBB0_18 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 ldr x8, [x23] cbz x8, LBB0_18 ; %bb.11: ; in Loop: Header=BB0_8 Depth=1 cbz x0, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_8 Depth=1 ldr x1, [x0] cbz x9, LBB0_15 LBB0_13: ; in Loop: Header=BB0_8 Depth=1 ldr x2, [x9] b LBB0_16 LBB0_14: ; in Loop: Header=BB0_8 Depth=1 mov x1, #0 ; =0x0 cbnz x9, LBB0_13 LBB0_15: ; in Loop: Header=BB0_8 Depth=1 mov x2, #0 ; =0x0 LBB0_16: ; in Loop: Header=BB0_8 Depth=1 ldr w3, [x23, #8] mov x0, x19 blr x8 cbnz w0, LBB0_25 ; %bb.17: ; in Loop: Header=BB0_8 Depth=1 ldr x0, [sp, #16] LBB0_18: ; in Loop: Header=BB0_8 Depth=1 cbz x0, LBB0_6 ; %bb.19: ; in Loop: Header=BB0_8 Depth=1 ldr x1, [sp, #8] cbz x1, LBB0_23 ; %bb.20: ; in Loop: Header=BB0_8 Depth=1 ldr x8, [x19] blr x8 tbnz w0, #31, LBB0_23 ; %bb.21: ; in Loop: Header=BB0_8 Depth=1 cbnz w0, LBB0_6 ; %bb.22: ; in Loop: Header=BB0_8 Depth=1 add x1, sp, #8 mov x0, x19 bl _handle_matched_item b LBB0_7 LBB0_23: ; in Loop: Header=BB0_8 Depth=1 add x1, sp, #8 mov x0, x19 bl _handle_unmatched_old_item b LBB0_7 LBB0_24: mov w0, #0 ; =0x0 LBB0_25: ldr w8, [x22] ldr w9, [x21] ldr w10, [x19, #8] add w8, w9, w8 add w8, w10, w8 str w8, [x19, #8] cbz w0, LBB0_28 LBB0_26: mov x20, x0 mov x0, x19 bl _git_diff_free mov x0, x20 LBB0_27: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_28: str x19, [x20] b LBB0_27 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GIT_DIFF_IGNORE_CASE,4,2 ; @GIT_DIFF_IGNORE_CASE .subsections_via_symbols
assembly_file_70234.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI0_0: .quad 0x402e000000000000 ## double 15 .quad 0x4032000000000000 ## double 18 LCPI0_1: .quad 0x4022000000000000 ## double 9 .quad 0x4024000000000000 ## double 10 LCPI0_2: .quad 0x4028000000000000 ## double 12 .quad 0x4031000000000000 ## double 17 LCPI0_3: .quad 0x4020000000000000 ## double 8 .quad 0x402e000000000000 ## double 15 LCPI0_4: .quad 0x4020000000000000 ## double 8 .quad 0x4014000000000000 ## double 5 LCPI0_5: .quad 0x4026000000000000 ## double 11 .quad 0x4018000000000000 ## double 6 LCPI0_10: .quad 0x4018000000000000 ## double 6 .quad 0x402c000000000000 ## double 14 LCPI0_14: .quad 0x4034000000000000 ## double 20 .quad 0x4018000000000000 ## double 6 LCPI0_15: .quad 0x4020000000000000 ## double 8 .quad 0x402c000000000000 ## double 14 LCPI0_18: .quad 0x402c000000000000 ## double 14 .quad 0x402a000000000000 ## double 13 LCPI0_19: .quad 0x4010000000000000 ## double 4 .quad 0x401c000000000000 ## double 7 LCPI0_22: .quad 0x4018000000000000 ## double 6 .quad 0x4022000000000000 ## double 9 LCPI0_23: .quad 0x4030000000000000 ## double 16 .quad 0x402c000000000000 ## double 14 LCPI0_28: .quad 0x402c000000000000 ## double 14 .quad 0x4020000000000000 ## double 8 LCPI0_29: .quad 0x401c000000000000 ## double 7 .quad 0x4022000000000000 ## double 9 LCPI0_30: .quad 0x4030000000000000 ## double 16 .quad 0x401c000000000000 ## double 7 LCPI0_31: .quad 0x402e000000000000 ## double 15 .quad 0x4034000000000000 ## double 20 LCPI0_32: .quad 0x4031000000000000 ## double 17 .quad 0x4026000000000000 ## double 11 LCPI0_33: .quad 0x402c000000000000 ## double 14 .quad 0x4024000000000000 ## double 10 LCPI0_34: .quad 0x402c000000000000 ## double 14 .quad 0x4032000000000000 ## double 18 LCPI0_35: .quad 0x4024000000000000 ## double 10 .quad 0x4028000000000000 ## double 12 LCPI0_36: .quad 0x4030000000000000 ## double 16 .quad 0x4034000000000000 ## double 20 LCPI0_37: .quad 0x4028000000000000 ## double 12 .quad 0x3ff0000000000000 ## double 1 LCPI0_38: .quad 0x4000000000000000 ## double 2 .quad 0x4028000000000000 ## double 12 LCPI0_40: .quad 0x4031000000000000 ## double 17 .quad 0x4031000000000000 ## double 17 LCPI0_41: .quad 0x4031000000000000 ## double 17 .quad 0x4033000000000000 ## double 19 LCPI0_43: .quad 0x4000000000000000 ## double 2 .quad 0x402e000000000000 ## double 15 LCPI0_44: .quad 0x4024000000000000 ## double 10 .quad 0x402e000000000000 ## double 15 LCPI0_48: .quad 0x4010000000000000 ## double 4 .quad 0x4028000000000000 ## double 12 LCPI0_49: .quad 0x402c000000000000 ## double 14 .quad 0x4030000000000000 ## double 16 .section __TEXT,__literal8,8byte_literals .p2align 3 LCPI0_6: .quad 0x4010000000000000 ## double 4 LCPI0_7: .quad 0x4014000000000000 ## double 5 LCPI0_8: .quad 0x4034000000000000 ## double 20 LCPI0_9: .quad 0x4008000000000000 ## double 3 LCPI0_11: .quad 0x4032000000000000 ## double 18 LCPI0_12: .quad 0x4024000000000000 ## double 10 LCPI0_13: .quad 0x4033000000000000 ## double 19 LCPI0_16: .quad 0x401c000000000000 ## double 7 LCPI0_17: .quad 0x402c000000000000 ## double 14 LCPI0_20: .quad 0x402a000000000000 ## double 13 LCPI0_21: .quad 0x3ff0000000000000 ## double 1 LCPI0_24: .quad 0x4018000000000000 ## double 6 LCPI0_25: .quad 0x4031000000000000 ## double 17 LCPI0_26: .quad 0x4026000000000000 ## double 11 LCPI0_27: .quad 0x4000000000000000 ## double 2 LCPI0_39: .quad 0x402e000000000000 ## double 15 LCPI0_42: .quad 0x4030000000000000 ## double 16 LCPI0_45: .quad 0x4028000000000000 ## double 12 LCPI0_46: .quad 0x4020000000000000 ## double 8 LCPI0_47: .quad 0x4022000000000000 ## double 9 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $320, %rsp ## imm = 0x140 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _x_1@GOTPCREL(%rip), %r11 movq _x_5@GOTPCREL(%rip), %r10 movq _x_3@GOTPCREL(%rip), %r9 movq _x_6@GOTPCREL(%rip), %r8 movq _x_9@GOTPCREL(%rip), %rdi movss (%rdi), %xmm10 ## xmm10 = mem[0],zero,zero,zero movq _x_11@GOTPCREL(%rip), %rdi movss (%rdi), %xmm15 ## xmm15 = mem[0],zero,zero,zero movq _x_8@GOTPCREL(%rip), %rdi movq _x_13@GOTPCREL(%rip), %r14 movq _x_0@GOTPCREL(%rip), %rcx movq _x_4@GOTPCREL(%rip), %rsi movq _x_2@GOTPCREL(%rip), %rdx movq _x_7@GOTPCREL(%rip), %rbx movq _x_10@GOTPCREL(%rip), %rax movss (%rax), %xmm8 ## xmm8 = mem[0],zero,zero,zero movq _x_14@GOTPCREL(%rip), %rax movss (%rax), %xmm13 ## xmm13 = mem[0],zero,zero,zero movq _x_15@GOTPCREL(%rip), %rax movss (%rax), %xmm11 ## xmm11 = mem[0],zero,zero,zero movss (%r11), %xmm5 ## xmm5 = mem[0],zero,zero,zero insertps $16, (%r10), %xmm5 ## xmm5 = xmm5[0],mem[0],xmm5[2,3] movq _x_12@GOTPCREL(%rip), %rax movss (%rcx), %xmm12 ## xmm12 = mem[0],zero,zero,zero insertps $16, (%rsi), %xmm12 ## xmm12 = xmm12[0],mem[0],xmm12[2,3] movss (%rax), %xmm2 ## xmm2 = mem[0],zero,zero,zero movss (%rdi), %xmm0 ## xmm0 = mem[0],zero,zero,zero insertps $16, (%r14), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3] movss (%rdx), %xmm14 ## xmm14 = mem[0],zero,zero,zero insertps $16, (%rbx), %xmm14 ## xmm14 = xmm14[0],mem[0],xmm14[2,3] movss (%r9), %xmm3 ## xmm3 = mem[0],zero,zero,zero insertps $16, (%r8), %xmm3 ## xmm3 = xmm3[0],mem[0],xmm3[2,3] jmp LBB0_3 .p2align 4, 0x90 LBB0_1: ## in Loop: Header=BB0_3 Depth=1 movaps -224(%rbp), %xmm2 ## 16-byte Reload LBB0_2: ## in Loop: Header=BB0_3 Depth=1 movaps -464(%rbp), %xmm0 ## 16-byte Reload cvtsd2ss %xmm0, %xmm12 xorps %xmm5, %xmm5 cvtsd2ss %xmm8, %xmm5 movaps -448(%rbp), %xmm0 ## 16-byte Reload xorps %xmm14, %xmm14 cvtsd2ss %xmm0, %xmm14 movaps -272(%rbp), %xmm0 ## 16-byte Reload xorps %xmm3, %xmm3 cvtsd2ss %xmm0, %xmm3 xorps %xmm0, %xmm0 cvtsd2ss %xmm2, %xmm0 insertps $16, %xmm0, %xmm12 ## xmm12 = xmm12[0],xmm0[0],xmm12[2,3] movaps -432(%rbp), %xmm0 ## 16-byte Reload cvtsd2ss %xmm0, %xmm0 insertps $16, %xmm0, %xmm5 ## xmm5 = xmm5[0],xmm0[0],xmm5[2,3] movaps -400(%rbp), %xmm0 ## 16-byte Reload cvtsd2ss %xmm0, %xmm0 insertps $16, %xmm0, %xmm3 ## xmm3 = xmm3[0],xmm0[0],xmm3[2,3] movaps -384(%rbp), %xmm0 ## 16-byte Reload xorps %xmm6, %xmm6 cvtsd2ss %xmm0, %xmm6 movaps -352(%rbp), %xmm0 ## 16-byte Reload cvtsd2ss %xmm0, %xmm0 xorps %xmm10, %xmm10 cvtsd2ss %xmm13, %xmm10 xorps %xmm8, %xmm8 cvtsd2ss %xmm11, %xmm8 cvtsd2ss %xmm15, %xmm15 xorps %xmm2, %xmm2 cvtsd2ss %xmm9, %xmm2 insertps $16, %xmm6, %xmm14 ## xmm14 = xmm14[0],xmm6[0],xmm14[2,3] cvtsd2ss %xmm1, %xmm1 insertps $16, %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0],xmm0[2,3] cvtsd2ss %xmm7, %xmm13 cvtsd2ss %xmm4, %xmm11 LBB0_3: ## =>This Inner Loop Header: Depth=1 movss %xmm2, -48(%rbp) ## 4-byte Spill cvtps2pd %xmm5, %xmm6 cvtps2pd %xmm3, %xmm1 movapd %xmm6, -96(%rbp) ## 16-byte Spill addpd LCPI0_0(%rip), %xmm6 movapd %xmm1, -112(%rbp) ## 16-byte Spill addpd LCPI0_1(%rip), %xmm1 maxpd %xmm1, %xmm6 movapd %xmm6, %xmm2 unpckhpd %xmm6, %xmm2 ## xmm2 = xmm2[1],xmm6[1] movapd %xmm6, %xmm5 maxsd %xmm2, %xmm5 cvtps2pd %xmm0, %xmm0 xorps %xmm4, %xmm4 cvtss2sd %xmm10, %xmm4 xorps %xmm1, %xmm1 cvtss2sd %xmm15, %xmm1 movaps %xmm0, %xmm15 movaps %xmm0, %xmm7 movaps %xmm1, -32(%rbp) ## 16-byte Spill movlhps %xmm1, %xmm7 ## xmm7 = xmm7[0],xmm1[0] addpd LCPI0_2(%rip), %xmm7 movaps %xmm0, %xmm3 movaps %xmm4, -144(%rbp) ## 16-byte Spill blendps $3, %xmm4, %xmm3 ## xmm3 = xmm4[0,1],xmm3[2,3] addpd LCPI0_3(%rip), %xmm3 movapd %xmm7, %xmm0 maxpd %xmm3, %xmm0 movapd %xmm0, %xmm1 unpckhpd %xmm0, %xmm1 ## xmm1 = xmm1[1],xmm0[1] ucomisd %xmm1, %xmm0 movapd %xmm7, -208(%rbp) ## 16-byte Spill jbe LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm6 movapd %xmm0, %xmm4 cmpnltsd %xmm5, %xmm4 movapd %xmm4, %xmm1 andpd %xmm0, %xmm1 andnpd %xmm6, %xmm4 orpd %xmm1, %xmm4 ja LBB0_9 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm0, %xmm5 ja LBB0_8 jmp LBB0_9 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm6 movapd %xmm1, %xmm4 cmpnltsd %xmm5, %xmm4 movapd %xmm4, %xmm0 andpd %xmm1, %xmm0 andnpd %xmm6, %xmm4 orpd %xmm0, %xmm4 ja LBB0_9 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm5 jbe LBB0_9 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm2, %xmm4 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm4, -464(%rbp) ## 16-byte Spill movaps %xmm15, %xmm6 unpckhpd %xmm15, %xmm6 ## xmm6 = xmm6[1],xmm15[1] cvtps2pd %xmm12, %xmm10 cvtps2pd %xmm14, %xmm0 movapd %xmm10, %xmm1 addpd LCPI0_4(%rip), %xmm1 movapd %xmm0, -80(%rbp) ## 16-byte Spill addpd LCPI0_5(%rip), %xmm0 maxpd %xmm0, %xmm1 movapd %xmm1, %xmm5 unpckhpd %xmm1, %xmm5 ## xmm5 = xmm5[1],xmm1[1] movapd %xmm1, %xmm4 maxsd %xmm5, %xmm4 xorps %xmm12, %xmm12 cvtss2sd %xmm8, %xmm12 movaps %xmm12, %xmm7 addsd LCPI0_6(%rip), %xmm7 unpckhpd %xmm3, %xmm3 ## xmm3 = xmm3[1,1] movsd %xmm7, -296(%rbp) ## 8-byte Spill maxsd %xmm3, %xmm7 xorps %xmm3, %xmm3 cvtss2sd %xmm13, %xmm3 movaps %xmm3, -64(%rbp) ## 16-byte Spill addsd LCPI0_7(%rip), %xmm3 cvtss2sd %xmm11, %xmm11 movaps %xmm11, -160(%rbp) ## 16-byte Spill addsd LCPI0_8(%rip), %xmm11 maxsd %xmm11, %xmm3 ucomisd %xmm3, %xmm7 jbe LBB0_12 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm1 movapd %xmm7, %xmm8 cmpnltsd %xmm4, %xmm8 movapd %xmm8, %xmm2 andpd %xmm7, %xmm2 andnpd %xmm1, %xmm8 orpd %xmm2, %xmm8 movapd -96(%rbp), %xmm14 ## 16-byte Reload ja LBB0_15 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm7, %xmm4 ja LBB0_14 jmp LBB0_15 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm1 movapd %xmm3, %xmm8 cmpnltsd %xmm4, %xmm8 movapd %xmm8, %xmm2 andpd %xmm3, %xmm2 andnpd %xmm1, %xmm8 orpd %xmm2, %xmm8 movapd -96(%rbp), %xmm14 ## 16-byte Reload ja LBB0_15 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm3, %xmm4 jbe LBB0_15 LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm5, %xmm8 LBB0_15: ## in Loop: Header=BB0_3 Depth=1 movaps %xmm6, -128(%rbp) ## 16-byte Spill movapd -80(%rbp), %xmm2 ## 16-byte Reload addsd LCPI0_9(%rip), %xmm2 movapd %xmm10, %xmm9 blendpd $1, %xmm14, %xmm9 ## xmm9 = xmm14[0],xmm9[1] movapd %xmm9, %xmm1 addpd LCPI0_10(%rip), %xmm1 blendpd $1, %xmm2, %xmm0 ## xmm0 = xmm2[0],xmm0[1] maxpd %xmm0, %xmm1 movapd %xmm1, %xmm0 unpckhpd %xmm1, %xmm0 ## xmm0 = xmm0[1],xmm1[1] movapd -144(%rbp), %xmm4 ## 16-byte Reload addsd LCPI0_7(%rip), %xmm4 movaps %xmm12, %xmm2 addsd LCPI0_11(%rip), %xmm2 maxsd %xmm2, %xmm4 movapd -32(%rbp), %xmm5 ## 16-byte Reload addsd LCPI0_12(%rip), %xmm5 movapd -64(%rbp), %xmm2 ## 16-byte Reload addsd LCPI0_13(%rip), %xmm2 maxsd %xmm2, %xmm5 movapd %xmm1, %xmm3 maxsd %xmm0, %xmm3 ucomisd %xmm5, %xmm4 jbe LBB0_18 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm0, %xmm1 movapd %xmm4, %xmm6 cmpnltsd %xmm3, %xmm6 movapd %xmm6, %xmm2 andpd %xmm4, %xmm2 andnpd %xmm1, %xmm6 orpd %xmm2, %xmm6 ja LBB0_21 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm4, %xmm3 ja LBB0_20 jmp LBB0_21 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm0, %xmm1 movapd %xmm5, %xmm6 cmpnltsd %xmm3, %xmm6 movapd %xmm6, %xmm2 andpd %xmm5, %xmm2 andnpd %xmm1, %xmm6 orpd %xmm2, %xmm6 ja LBB0_21 ## %bb.19: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm3 jbe LBB0_21 LBB0_20: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm0, %xmm6 LBB0_21: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm6, -448(%rbp) ## 16-byte Spill movapd %xmm10, %xmm1 addpd LCPI0_14(%rip), %xmm1 movapd -112(%rbp), %xmm0 ## 16-byte Reload blendpd $1, %xmm14, %xmm0 ## xmm0 = xmm14[0],xmm0[1] movapd %xmm0, %xmm2 addpd LCPI0_15(%rip), %xmm2 maxpd %xmm2, %xmm1 movapd %xmm1, %xmm5 unpckhpd %xmm1, %xmm5 ## xmm5 = xmm5[1],xmm1[1] movapd %xmm1, %xmm3 maxsd %xmm5, %xmm3 movapd -80(%rbp), %xmm4 ## 16-byte Reload unpckhpd %xmm4, %xmm4 ## xmm4 = xmm4[1,1] movapd %xmm4, -256(%rbp) ## 16-byte Spill addsd LCPI0_11(%rip), %xmm4 movaps %xmm15, %xmm2 addsd LCPI0_6(%rip), %xmm2 movapd %xmm4, %xmm7 maxsd %xmm2, %xmm7 movapd -128(%rbp), %xmm2 ## 16-byte Reload addsd LCPI0_16(%rip), %xmm2 movapd -64(%rbp), %xmm6 ## 16-byte Reload addsd LCPI0_17(%rip), %xmm6 movsd %xmm2, -168(%rbp) ## 8-byte Spill movapd %xmm6, -320(%rbp) ## 16-byte Spill maxsd %xmm6, %xmm2 ucomisd %xmm2, %xmm7 jbe LBB0_24 ## %bb.22: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm1 movapd %xmm7, %xmm6 cmpnltsd %xmm3, %xmm6 movapd %xmm6, %xmm2 andpd %xmm7, %xmm2 andnpd %xmm1, %xmm6 orpd %xmm2, %xmm6 movapd %xmm6, -272(%rbp) ## 16-byte Spill ja LBB0_28 ## %bb.23: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm7, %xmm3 movss -48(%rbp), %xmm2 ## 4-byte Reload ## xmm2 = mem[0],zero,zero,zero ja LBB0_26 jmp LBB0_29 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm1 movapd %xmm2, %xmm7 cmpnltsd %xmm3, %xmm7 movapd %xmm7, %xmm6 andpd %xmm2, %xmm6 andnpd %xmm1, %xmm7 orpd %xmm6, %xmm7 movapd %xmm7, -272(%rbp) ## 16-byte Spill ja LBB0_28 ## %bb.25: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm3 movss -48(%rbp), %xmm2 ## 4-byte Reload ## xmm2 = mem[0],zero,zero,zero jbe LBB0_29 LBB0_26: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm5, -272(%rbp) ## 16-byte Spill jmp LBB0_29 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_3 Depth=1 movss -48(%rbp), %xmm2 ## 4-byte Reload ## xmm2 = mem[0],zero,zero,zero LBB0_29: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm8, -240(%rbp) ## 16-byte Spill movapd %xmm10, %xmm3 addpd LCPI0_18(%rip), %xmm3 movapd %xmm14, %xmm1 blendpd $1, -112(%rbp), %xmm1 ## 16-byte Folded Reload ## xmm1 = mem[0],xmm1[1] addpd LCPI0_19(%rip), %xmm1 movapd %xmm3, -416(%rbp) ## 16-byte Spill maxpd %xmm1, %xmm3 movapd %xmm3, %xmm1 unpckhpd %xmm3, %xmm1 ## xmm1 = xmm1[1],xmm3[1] movapd %xmm3, %xmm7 maxsd %xmm1, %xmm7 cvtss2sd %xmm2, %xmm2 movaps %xmm2, -288(%rbp) ## 16-byte Spill addsd LCPI0_21(%rip), %xmm2 movapd -64(%rbp), %xmm5 ## 16-byte Reload addsd LCPI0_8(%rip), %xmm5 maxsd %xmm5, %xmm2 movaps %xmm12, %xmm5 addsd LCPI0_20(%rip), %xmm5 maxsd %xmm5, %xmm4 ucomisd %xmm2, %xmm4 jbe LBB0_32 ## %bb.30: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm3 movapd %xmm4, %xmm6 cmpnltsd %xmm7, %xmm6 movapd %xmm6, %xmm2 andpd %xmm4, %xmm2 andnpd %xmm3, %xmm6 orpd %xmm2, %xmm6 movaps -32(%rbp), %xmm8 ## 16-byte Reload ja LBB0_35 ## %bb.31: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm4, %xmm7 ja LBB0_34 jmp LBB0_35 .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm3 movapd %xmm2, %xmm6 cmpnltsd %xmm7, %xmm6 movapd %xmm6, %xmm4 andpd %xmm2, %xmm4 andnpd %xmm3, %xmm6 orpd %xmm4, %xmm6 movaps -32(%rbp), %xmm8 ## 16-byte Reload ja LBB0_35 ## %bb.33: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm7 jbe LBB0_35 LBB0_34: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm1, %xmm6 LBB0_35: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm6, -224(%rbp) ## 16-byte Spill movapd -112(%rbp), %xmm13 ## 16-byte Reload blendpd $1, -80(%rbp), %xmm13 ## 16-byte Folded Reload ## xmm13 = mem[0],xmm13[1] movapd %xmm13, -336(%rbp) ## 16-byte Spill addpd LCPI0_22(%rip), %xmm13 movapd %xmm14, %xmm3 blendpd $1, %xmm10, %xmm3 ## xmm3 = xmm10[0],xmm3[1] movapd %xmm3, -192(%rbp) ## 16-byte Spill addpd LCPI0_23(%rip), %xmm3 maxpd %xmm13, %xmm3 movapd %xmm3, %xmm1 unpckhpd %xmm3, %xmm1 ## xmm1 = xmm1[1],xmm3[1] movapd -144(%rbp), %xmm7 ## 16-byte Reload addsd LCPI0_6(%rip), %xmm7 addsd LCPI0_24(%rip), %xmm12 maxsd %xmm12, %xmm7 movapd -64(%rbp), %xmm6 ## 16-byte Reload addsd LCPI0_25(%rip), %xmm6 maxsd %xmm11, %xmm6 movapd %xmm3, %xmm2 maxsd %xmm1, %xmm2 ucomisd %xmm6, %xmm7 jbe LBB0_38 ## %bb.36: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm3 movapd %xmm7, %xmm11 cmpnltsd %xmm2, %xmm11 movapd %xmm11, %xmm6 andpd %xmm7, %xmm6 andnpd %xmm3, %xmm11 orpd %xmm6, %xmm11 ja LBB0_41 ## %bb.37: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm7, %xmm2 ja LBB0_40 jmp LBB0_41 .p2align 4, 0x90 LBB0_38: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm3 movapd %xmm6, %xmm11 cmpnltsd %xmm2, %xmm11 movapd %xmm11, %xmm7 andpd %xmm6, %xmm7 andnpd %xmm3, %xmm11 orpd %xmm7, %xmm11 ja LBB0_41 ## %bb.39: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm6, %xmm2 jbe LBB0_41 LBB0_40: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm1, %xmm11 LBB0_41: ## in Loop: Header=BB0_3 Depth=1 movapd -256(%rbp), %xmm3 ## 16-byte Reload movsd LCPI0_26(%rip), %xmm1 ## xmm1 = mem[0],zero addsd %xmm1, %xmm3 movaps %xmm15, %xmm2 addsd %xmm1, %xmm2 maxsd %xmm2, %xmm3 movapd -144(%rbp), %xmm4 ## 16-byte Reload addsd LCPI0_27(%rip), %xmm4 movapd %xmm4, -368(%rbp) ## 16-byte Spill maxsd %xmm5, %xmm4 movapd %xmm3, %xmm1 maxsd %xmm4, %xmm1 movapd -288(%rbp), %xmm6 ## 16-byte Reload unpcklpd -160(%rbp), %xmm6 ## 16-byte Folded Reload ## xmm6 = xmm6[0],mem[0] addpd LCPI0_28(%rip), %xmm6 movaps %xmm15, %xmm5 blendps $3, %xmm8, %xmm5 ## xmm5 = xmm8[0,1],xmm5[2,3] addpd LCPI0_29(%rip), %xmm5 maxpd %xmm6, %xmm5 movapd %xmm5, %xmm6 unpckhpd %xmm5, %xmm6 ## xmm6 = xmm6[1],xmm5[1] ucomisd %xmm6, %xmm5 jbe LBB0_44 ## %bb.42: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm4, %xmm3 movapd %xmm5, %xmm7 cmpnltsd %xmm1, %xmm7 movapd %xmm7, %xmm6 andpd %xmm5, %xmm6 andnpd %xmm3, %xmm7 orpd %xmm6, %xmm7 ja LBB0_47 ## %bb.43: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm1 ja LBB0_46 jmp LBB0_47 .p2align 4, 0x90 LBB0_44: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm4, %xmm3 movapd %xmm6, %xmm7 cmpnltsd %xmm1, %xmm7 movapd %xmm7, %xmm5 andpd %xmm6, %xmm5 andnpd %xmm3, %xmm7 orpd %xmm5, %xmm7 ja LBB0_47 ## %bb.45: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm6, %xmm1 jbe LBB0_47 LBB0_46: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm4, %xmm7 LBB0_47: ## in Loop: Header=BB0_3 Depth=1 addpd LCPI0_30(%rip), %xmm0 movapd %xmm14, %xmm1 unpckhpd -80(%rbp), %xmm1 ## 16-byte Folded Reload ## xmm1 = xmm1[1],mem[1] addpd LCPI0_31(%rip), %xmm1 maxpd %xmm1, %xmm0 movapd %xmm0, %xmm5 unpckhpd %xmm0, %xmm5 ## xmm5 = xmm5[1],xmm0[1] movapd %xmm0, %xmm1 maxsd %xmm5, %xmm1 movaps %xmm15, -48(%rbp) ## 16-byte Spill movaps %xmm15, %xmm14 addpd LCPI0_32(%rip), %xmm14 movaps %xmm8, %xmm15 unpcklpd -64(%rbp), %xmm15 ## 16-byte Folded Reload ## xmm15 = xmm15[0],mem[0] addpd LCPI0_33(%rip), %xmm15 movapd %xmm14, %xmm3 maxpd %xmm15, %xmm3 movapd %xmm3, %xmm6 unpckhpd %xmm3, %xmm6 ## xmm6 = xmm6[1],xmm3[1] ucomisd %xmm6, %xmm3 movapd %xmm7, -400(%rbp) ## 16-byte Spill jbe LBB0_50 ## %bb.48: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm0 movapd %xmm3, %xmm4 cmpnltsd %xmm1, %xmm4 movapd %xmm4, %xmm6 andpd %xmm3, %xmm6 andnpd %xmm0, %xmm4 orpd %xmm6, %xmm4 ja LBB0_53 ## %bb.49: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm3, %xmm1 ja LBB0_52 jmp LBB0_53 .p2align 4, 0x90 LBB0_50: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm5, %xmm0 movapd %xmm6, %xmm4 cmpnltsd %xmm1, %xmm4 movapd %xmm4, %xmm3 andpd %xmm6, %xmm3 andnpd %xmm0, %xmm4 orpd %xmm3, %xmm4 ja LBB0_53 ## %bb.51: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm6, %xmm1 jbe LBB0_53 LBB0_52: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm5, %xmm4 LBB0_53: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm4, -384(%rbp) ## 16-byte Spill movapd %xmm10, %xmm5 unpckhpd %xmm10, %xmm5 ## xmm5 = xmm5[1],xmm10[1] movapd -112(%rbp), %xmm12 ## 16-byte Reload unpckhpd %xmm12, %xmm12 ## xmm12 = xmm12[1,1] movapd %xmm10, %xmm7 addsd LCPI0_13(%rip), %xmm7 addpd LCPI0_34(%rip), %xmm9 unpcklpd %xmm13, %xmm7 ## xmm7 = xmm7[0],xmm13[0] maxpd %xmm9, %xmm7 movapd %xmm7, %xmm0 unpckhpd %xmm7, %xmm0 ## xmm0 = xmm0[1],xmm7[1] movapd %xmm7, %xmm1 maxsd %xmm0, %xmm1 movaps -256(%rbp), %xmm3 ## 16-byte Reload movlhps %xmm8, %xmm3 ## xmm3 = xmm3[0],xmm8[0] addpd LCPI0_35(%rip), %xmm3 movapd -48(%rbp), %xmm4 ## 16-byte Reload unpcklpd -288(%rbp), %xmm4 ## 16-byte Folded Reload ## xmm4 = xmm4[0],mem[0] addpd LCPI0_36(%rip), %xmm4 maxpd %xmm4, %xmm3 movapd %xmm3, %xmm4 unpckhpd %xmm3, %xmm4 ## xmm4 = xmm4[1],xmm3[1] ucomisd %xmm4, %xmm3 jbe LBB0_56 ## %bb.54: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm0, %xmm7 movapd %xmm3, %xmm6 cmpnltsd %xmm1, %xmm6 movapd %xmm6, %xmm4 andpd %xmm3, %xmm4 andnpd %xmm7, %xmm6 orpd %xmm4, %xmm6 ja LBB0_59 ## %bb.55: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm3, %xmm1 ja LBB0_58 jmp LBB0_59 .p2align 4, 0x90 LBB0_56: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm0, %xmm7 movapd %xmm4, %xmm6 cmpnltsd %xmm1, %xmm6 movapd %xmm6, %xmm3 andpd %xmm4, %xmm3 andnpd %xmm7, %xmm6 orpd %xmm3, %xmm6 ja LBB0_59 ## %bb.57: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm4, %xmm1 jbe LBB0_59 LBB0_58: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm0, %xmm6 LBB0_59: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm10, %xmm3 addpd LCPI0_37(%rip), %xmm3 movapd -80(%rbp), %xmm0 ## 16-byte Reload blendpd $1, -112(%rbp), %xmm0 ## 16-byte Folded Reload ## xmm0 = mem[0],xmm0[1] movapd %xmm0, %xmm8 addpd LCPI0_38(%rip), %xmm8 maxpd %xmm8, %xmm3 movapd %xmm3, %xmm1 unpckhpd %xmm3, %xmm1 ## xmm1 = xmm1[1],xmm3[1] movapd -144(%rbp), %xmm4 ## 16-byte Reload addsd LCPI0_39(%rip), %xmm4 maxsd %xmm4, %xmm2 movapd -32(%rbp), %xmm7 ## 16-byte Reload addsd LCPI0_21(%rip), %xmm7 movapd -160(%rbp), %xmm4 ## 16-byte Reload addsd LCPI0_13(%rip), %xmm4 maxsd %xmm4, %xmm7 movapd %xmm3, %xmm4 maxsd %xmm1, %xmm4 ucomisd %xmm7, %xmm2 movapd %xmm6, -352(%rbp) ## 16-byte Spill jbe LBB0_62 ## %bb.60: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm3 movapd %xmm2, %xmm13 cmpnltsd %xmm4, %xmm13 movapd %xmm13, %xmm6 andpd %xmm2, %xmm6 andnpd %xmm3, %xmm13 orpd %xmm6, %xmm13 ja LBB0_66 ## %bb.61: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm4 movapd -208(%rbp), %xmm7 ## 16-byte Reload ja LBB0_64 jmp LBB0_67 .p2align 4, 0x90 LBB0_62: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm3 movapd %xmm7, %xmm13 cmpnltsd %xmm4, %xmm13 movapd %xmm13, %xmm2 andpd %xmm7, %xmm2 andnpd %xmm3, %xmm13 orpd %xmm2, %xmm13 ja LBB0_66 ## %bb.63: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm7, %xmm4 movapd -208(%rbp), %xmm7 ## 16-byte Reload jbe LBB0_67 LBB0_64: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm1, %xmm13 jmp LBB0_67 .p2align 4, 0x90 LBB0_66: ## in Loop: Header=BB0_3 Depth=1 movapd -208(%rbp), %xmm7 ## 16-byte Reload LBB0_67: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm11, -432(%rbp) ## 16-byte Spill movapd -96(%rbp), %xmm2 ## 16-byte Reload addpd LCPI0_40(%rip), %xmm2 movapd %xmm0, %xmm1 addpd LCPI0_41(%rip), %xmm1 movapd %xmm2, %xmm4 maxpd %xmm1, %xmm4 movapd %xmm4, %xmm1 unpckhpd %xmm4, %xmm1 ## xmm1 = xmm1[1],xmm4[1] movapd %xmm4, %xmm3 maxsd %xmm1, %xmm3 movapd -144(%rbp), %xmm6 ## 16-byte Reload addsd LCPI0_12(%rip), %xmm6 maxsd %xmm6, %xmm7 movapd -160(%rbp), %xmm6 ## 16-byte Reload addsd LCPI0_16(%rip), %xmm6 maxsd %xmm6, %xmm15 ucomisd %xmm15, %xmm7 jbe LBB0_70 ## %bb.68: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm4 movapd %xmm7, %xmm11 cmpnltsd %xmm3, %xmm11 movapd %xmm11, %xmm6 andpd %xmm7, %xmm6 andnpd %xmm4, %xmm11 orpd %xmm6, %xmm11 ja LBB0_74 ## %bb.69: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm7, %xmm3 movapd -128(%rbp), %xmm6 ## 16-byte Reload ja LBB0_72 jmp LBB0_75 .p2align 4, 0x90 LBB0_70: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm4 movapd %xmm15, %xmm11 cmpnltsd %xmm3, %xmm11 movapd %xmm11, %xmm6 andpd %xmm15, %xmm6 andnpd %xmm4, %xmm11 orpd %xmm6, %xmm11 ja LBB0_74 ## %bb.71: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm15, %xmm3 movapd -128(%rbp), %xmm6 ## 16-byte Reload jbe LBB0_75 LBB0_72: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm1, %xmm11 jmp LBB0_75 .p2align 4, 0x90 LBB0_74: ## in Loop: Header=BB0_3 Depth=1 movapd -128(%rbp), %xmm6 ## 16-byte Reload LBB0_75: ## in Loop: Header=BB0_3 Depth=1 movaps -96(%rbp), %xmm1 ## 16-byte Reload movhlps %xmm1, %xmm1 ## xmm1 = xmm1[1,1] movaps %xmm1, -96(%rbp) ## 16-byte Spill movapd %xmm10, %xmm4 addsd LCPI0_7(%rip), %xmm4 maxsd %xmm2, %xmm4 movapd -80(%rbp), %xmm2 ## 16-byte Reload addsd LCPI0_11(%rip), %xmm2 movapd %xmm5, %xmm1 addsd LCPI0_12(%rip), %xmm1 maxsd %xmm1, %xmm2 movapd %xmm4, %xmm3 maxsd %xmm2, %xmm3 addsd LCPI0_8(%rip), %xmm6 movapd -160(%rbp), %xmm1 ## 16-byte Reload addsd LCPI0_42(%rip), %xmm1 maxsd %xmm1, %xmm6 movapd %xmm12, %xmm1 addsd LCPI0_6(%rip), %xmm1 maxsd %xmm14, %xmm1 ucomisd %xmm6, %xmm1 jbe LBB0_78 ## %bb.76: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm4 movapd %xmm1, %xmm15 cmpnltsd %xmm3, %xmm15 movapd %xmm15, %xmm6 andpd %xmm1, %xmm6 andnpd %xmm4, %xmm15 orpd %xmm6, %xmm15 ja LBB0_81 ## %bb.77: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm3 ja LBB0_80 jmp LBB0_81 .p2align 4, 0x90 LBB0_78: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm4 movapd %xmm6, %xmm15 cmpnltsd %xmm3, %xmm15 movapd %xmm15, %xmm1 andpd %xmm6, %xmm1 andnpd %xmm4, %xmm15 orpd %xmm1, %xmm15 ja LBB0_81 ## %bb.79: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm6, %xmm3 jbe LBB0_81 LBB0_80: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm2, %xmm15 LBB0_81: ## in Loop: Header=BB0_3 Depth=1 unpcklpd -112(%rbp), %xmm10 ## 16-byte Folded Reload ## xmm10 = xmm10[0],mem[0] addpd LCPI0_43(%rip), %xmm10 movapd -336(%rbp), %xmm1 ## 16-byte Reload addpd LCPI0_44(%rip), %xmm1 maxpd %xmm1, %xmm10 movapd %xmm10, %xmm4 unpckhpd %xmm10, %xmm4 ## xmm4 = xmm4[1],xmm10[1] movapd %xmm10, %xmm7 maxsd %xmm4, %xmm7 movapd -32(%rbp), %xmm6 ## 16-byte Reload addsd LCPI0_8(%rip), %xmm6 movapd -288(%rbp), %xmm1 ## 16-byte Reload addsd LCPI0_20(%rip), %xmm1 movapd %xmm6, %xmm3 maxsd %xmm1, %xmm3 movapd -64(%rbp), %xmm2 ## 16-byte Reload addsd LCPI0_42(%rip), %xmm2 movsd -168(%rbp), %xmm1 ## 8-byte Reload ## xmm1 = mem[0],zero maxsd %xmm2, %xmm1 ucomisd %xmm1, %xmm3 jbe LBB0_84 ## %bb.82: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm4, %xmm10 movapd %xmm3, %xmm9 cmpnltsd %xmm7, %xmm9 movapd %xmm9, %xmm1 andpd %xmm3, %xmm1 andnpd %xmm10, %xmm9 orpd %xmm1, %xmm9 movapd -320(%rbp), %xmm2 ## 16-byte Reload ja LBB0_88 ## %bb.83: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm3, %xmm7 movapd -192(%rbp), %xmm10 ## 16-byte Reload ja LBB0_86 jmp LBB0_89 .p2align 4, 0x90 LBB0_84: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm4, %xmm10 movapd %xmm1, %xmm9 cmpnltsd %xmm7, %xmm9 movapd %xmm9, %xmm3 andpd %xmm1, %xmm3 andnpd %xmm10, %xmm9 orpd %xmm3, %xmm9 movapd -320(%rbp), %xmm2 ## 16-byte Reload ja LBB0_88 ## %bb.85: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm1, %xmm7 movapd -192(%rbp), %xmm10 ## 16-byte Reload jbe LBB0_89 LBB0_86: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm4, %xmm9 jmp LBB0_89 .p2align 4, 0x90 LBB0_88: ## in Loop: Header=BB0_3 Depth=1 movapd -192(%rbp), %xmm10 ## 16-byte Reload LBB0_89: ## in Loop: Header=BB0_3 Depth=1 movapd -80(%rbp), %xmm1 ## 16-byte Reload addsd LCPI0_45(%rip), %xmm1 movapd -416(%rbp), %xmm7 ## 16-byte Reload maxsd %xmm1, %xmm7 addsd LCPI0_8(%rip), %xmm12 movapd -256(%rbp), %xmm1 ## 16-byte Reload addsd LCPI0_25(%rip), %xmm1 maxsd %xmm1, %xmm12 movapd %xmm7, %xmm4 maxsd %xmm12, %xmm4 maxsd -168(%rbp), %xmm6 ## 8-byte Folded Reload movapd -160(%rbp), %xmm1 ## 16-byte Reload addsd LCPI0_11(%rip), %xmm1 maxsd %xmm1, %xmm2 ucomisd %xmm2, %xmm6 jbe LBB0_92 ## %bb.90: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm12, %xmm7 movapd %xmm6, %xmm1 cmpnltsd %xmm4, %xmm1 movapd %xmm1, %xmm3 andpd %xmm6, %xmm3 andnpd %xmm7, %xmm1 orpd %xmm3, %xmm1 ja LBB0_95 ## %bb.91: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm6, %xmm4 ja LBB0_94 jmp LBB0_95 .p2align 4, 0x90 LBB0_92: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm12, %xmm7 movapd %xmm2, %xmm1 cmpnltsd %xmm4, %xmm1 movapd %xmm1, %xmm3 andpd %xmm2, %xmm3 andnpd %xmm7, %xmm1 orpd %xmm3, %xmm1 ja LBB0_95 ## %bb.93: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm4 jbe LBB0_95 LBB0_94: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm12, %xmm1 LBB0_95: ## in Loop: Header=BB0_3 Depth=1 addsd LCPI0_42(%rip), %xmm5 maxsd %xmm5, %xmm8 movapd -96(%rbp), %xmm2 ## 16-byte Reload addsd LCPI0_7(%rip), %xmm2 movapd -256(%rbp), %xmm3 ## 16-byte Reload addsd LCPI0_46(%rip), %xmm3 maxsd %xmm3, %xmm2 movapd %xmm8, %xmm3 maxsd %xmm2, %xmm3 movapd -48(%rbp), %xmm4 ## 16-byte Reload addsd LCPI0_8(%rip), %xmm4 maxsd -368(%rbp), %xmm4 ## 16-byte Folded Reload movapd -64(%rbp), %xmm5 ## 16-byte Reload addsd LCPI0_47(%rip), %xmm5 unpckhpd %xmm14, %xmm14 ## xmm14 = xmm14[1,1] maxsd %xmm5, %xmm14 ucomisd %xmm14, %xmm4 jbe LBB0_98 ## %bb.96: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm8 movapd %xmm4, %xmm7 cmpnltsd %xmm3, %xmm7 movapd %xmm7, %xmm5 andpd %xmm4, %xmm5 andnpd %xmm8, %xmm7 orpd %xmm5, %xmm7 ja LBB0_102 ## %bb.97: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm2, %xmm5 ucomisd %xmm4, %xmm3 jmp LBB0_100 .p2align 4, 0x90 LBB0_98: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm8 movapd %xmm14, %xmm7 cmpnltsd %xmm3, %xmm7 movapd %xmm7, %xmm4 andpd %xmm14, %xmm4 andnpd %xmm8, %xmm7 orpd %xmm4, %xmm7 ja LBB0_102 ## %bb.99: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm2, %xmm5 ucomisd %xmm14, %xmm3 LBB0_100: ## in Loop: Header=BB0_3 Depth=1 movapd -32(%rbp), %xmm2 ## 16-byte Reload movaps -240(%rbp), %xmm8 ## 16-byte Reload jbe LBB0_103 ## %bb.101: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm5, %xmm7 jmp LBB0_103 .p2align 4, 0x90 LBB0_102: ## in Loop: Header=BB0_3 Depth=1 movapd -32(%rbp), %xmm2 ## 16-byte Reload movaps -240(%rbp), %xmm8 ## 16-byte Reload LBB0_103: ## in Loop: Header=BB0_3 Depth=1 addpd LCPI0_48(%rip), %xmm10 addpd LCPI0_49(%rip), %xmm0 maxpd %xmm0, %xmm10 movapd %xmm10, %xmm0 unpckhpd %xmm10, %xmm0 ## xmm0 = xmm0[1],xmm10[1] movapd %xmm10, %xmm3 maxsd %xmm0, %xmm3 movapd -48(%rbp), %xmm6 ## 16-byte Reload addsd LCPI0_17(%rip), %xmm6 maxsd -296(%rbp), %xmm6 ## 8-byte Folded Reload addsd LCPI0_46(%rip), %xmm2 movapd -64(%rbp), %xmm4 ## 16-byte Reload addsd LCPI0_20(%rip), %xmm4 maxsd %xmm4, %xmm2 ucomisd %xmm2, %xmm6 jbe LBB0_106 ## %bb.104: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm0, %xmm10 movapd %xmm6, %xmm4 cmpnltsd %xmm3, %xmm4 movapd %xmm4, %xmm5 andpd %xmm6, %xmm5 andnpd %xmm10, %xmm4 orpd %xmm5, %xmm4 ja LBB0_1 ## %bb.105: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm6, %xmm3 movaps -224(%rbp), %xmm2 ## 16-byte Reload ja LBB0_108 jmp LBB0_2 .p2align 4, 0x90 LBB0_106: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm0, %xmm10 movapd %xmm2, %xmm4 cmpnltsd %xmm3, %xmm4 movapd %xmm4, %xmm5 andpd %xmm2, %xmm5 andnpd %xmm10, %xmm4 orpd %xmm5, %xmm4 ja LBB0_1 ## %bb.107: ## in Loop: Header=BB0_3 Depth=1 ucomisd %xmm2, %xmm3 movaps -224(%rbp), %xmm2 ## 16-byte Reload jbe LBB0_2 LBB0_108: ## in Loop: Header=BB0_3 Depth=1 movapd %xmm0, %xmm4 jmp LBB0_2 .cfi_endproc ## -- End function .comm _x_1,4,2 ## @x_1 .comm _x_3,4,2 ## @x_3 .comm _x_5,4,2 ## @x_5 .comm _x_6,4,2 ## @x_6 .comm _x_8,4,2 ## @x_8 .comm _x_9,4,2 ## @x_9 .comm _x_11,4,2 ## @x_11 .comm _x_13,4,2 ## @x_13 .comm _x_0,4,2 ## @x_0 .comm _x_2,4,2 ## @x_2 .comm _x_4,4,2 ## @x_4 .comm _x_7,4,2 ## @x_7 .comm _x_10,4,2 ## @x_10 .comm _x_14,4,2 ## @x_14 .comm _x_15,4,2 ## @x_15 .comm _x_12,4,2 ## @x_12 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp d15, d14, [sp, #80] ; 16-byte Folded Spill stp d13, d12, [sp, #96] ; 16-byte Folded Spill stp d11, d10, [sp, #112] ; 16-byte Folded Spill stp d9, d8, [sp, #128] ; 16-byte Folded Spill .cfi_offset b8, -8 .cfi_offset b9, -16 .cfi_offset b10, -24 .cfi_offset b11, -32 .cfi_offset b12, -40 .cfi_offset b13, -48 .cfi_offset b14, -56 .cfi_offset b15, -64 Lloh0: adrp x8, _x_1@GOTPAGE Lloh1: ldr x8, [x8, _x_1@GOTPAGEOFF] Lloh2: ldr s18, [x8] Lloh3: adrp x8, _x_3@GOTPAGE Lloh4: ldr x8, [x8, _x_3@GOTPAGEOFF] Lloh5: ldr s26, [x8] Lloh6: adrp x8, _x_5@GOTPAGE Lloh7: ldr x8, [x8, _x_5@GOTPAGEOFF] Lloh8: ldr s25, [x8] Lloh9: adrp x8, _x_6@GOTPAGE Lloh10: ldr x8, [x8, _x_6@GOTPAGEOFF] Lloh11: ldr s27, [x8] Lloh12: adrp x8, _x_8@GOTPAGE Lloh13: ldr x8, [x8, _x_8@GOTPAGEOFF] Lloh14: ldr s20, [x8] Lloh15: adrp x8, _x_9@GOTPAGE Lloh16: ldr x8, [x8, _x_9@GOTPAGEOFF] Lloh17: ldr s23, [x8] Lloh18: adrp x8, _x_11@GOTPAGE Lloh19: ldr x8, [x8, _x_11@GOTPAGEOFF] Lloh20: ldr s24, [x8] Lloh21: adrp x8, _x_13@GOTPAGE Lloh22: ldr x8, [x8, _x_13@GOTPAGEOFF] Lloh23: ldr s22, [x8] Lloh24: adrp x8, _x_0@GOTPAGE Lloh25: ldr x8, [x8, _x_0@GOTPAGEOFF] Lloh26: ldr s0, [x8] Lloh27: adrp x8, _x_2@GOTPAGE Lloh28: ldr x8, [x8, _x_2@GOTPAGEOFF] Lloh29: ldr s3, [x8] fmov d21, #9.00000000 fmov d9, #18.00000000 Lloh30: adrp x8, _x_4@GOTPAGE Lloh31: ldr x8, [x8, _x_4@GOTPAGEOFF] Lloh32: ldr s4, [x8] fmov d12, #8.00000000 Lloh33: adrp x8, _x_7@GOTPAGE Lloh34: ldr x8, [x8, _x_7@GOTPAGEOFF] Lloh35: ldr s7, [x8] Lloh36: adrp x8, _x_10@GOTPAGE Lloh37: ldr x8, [x8, _x_10@GOTPAGEOFF] fmov d14, #6.00000000 Lloh38: ldr s5, [x8] Lloh39: adrp x8, _x_14@GOTPAGE Lloh40: ldr x8, [x8, _x_14@GOTPAGEOFF] Lloh41: ldr s1, [x8] Lloh42: adrp x8, _x_15@GOTPAGE Lloh43: ldr x8, [x8, _x_15@GOTPAGEOFF] Lloh44: ldr s6, [x8] Lloh45: adrp x8, _x_12@GOTPAGE Lloh46: ldr x8, [x8, _x_12@GOTPAGEOFF] Lloh47: ldr s2, [x8] b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 ldr d5, [sp] ; 8-byte Folded Reload LBB0_2: ; in Loop: Header=BB0_3 Depth=1 fcvt s0, d2 ldr d2, [sp, #56] ; 8-byte Folded Reload fcvt s18, d2 ldr d2, [sp, #40] ; 8-byte Folded Reload fcvt s3, d2 fcvt s26, d16 ldr d2, [sp, #72] ; 8-byte Folded Reload fcvt s4, d2 ldr d2, [sp, #24] ; 8-byte Folded Reload fcvt s25, d2 ldr d2, [sp, #8] ; 8-byte Folded Reload fcvt s27, d2 fcvt s7, d5 fcvt s20, d14 fcvt s23, d6 fcvt s5, d19 fcvt s24, d17 fcvt s2, d22 fcvt s22, d1 fcvt s1, d28 fcvt s6, d29 fmov d14, #6.00000000 LBB0_3: ; =>This Inner Loop Header: Depth=1 fcvt d16, s18 fmov d28, #15.00000000 fadd d17, d16, d28 fcvt d29, s26 fadd d18, d29, d21 fcmp d17, d18 fcsel d19, d17, d18, gt fcvt d30, s25 fadd d17, d30, d9 fcvt d15, s27 fmov d18, #10.00000000 fadd d18, d15, d18 fcmp d17, d18 fcsel d25, d17, d18, gt fcmp d19, d25 fcsel d26, d19, d25, gt fcvt d31, s20 fmov d17, #12.00000000 fadd d17, d31, d17 fcvt d23, s23 fadd d18, d23, d12 fcmp d17, d18 str d17, [sp, #16] ; 8-byte Folded Spill fcsel d20, d17, d18, gt fcvt d8, s24 fmov d18, #17.00000000 fadd d21, d8, d18 fcvt d22, s22 fadd d18, d22, d28 fcmp d21, d18 fcsel d21, d21, d18, gt fcmp d20, d21 b.le LBB0_9 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 fcmp d26, d20 fcsel d24, d20, d19, le fcmp d19, d25 fccmp d26, d20, #4, le b.le LBB0_6 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 fmov d24, d25 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 fcvt d10, s0 fadd d0, d10, d12 fcvt d27, s3 fmov d3, #11.00000000 fadd d3, d27, d3 fcmp d0, d3 fcsel d19, d0, d3, gt fcvt d20, s4 fmov d21, #5.00000000 fadd d3, d20, d21 fcvt d11, s7 fadd d0, d11, d14 fcmp d3, d0 fcsel d4, d3, d0, gt fcmp d19, d4 fcsel d7, d19, d4, gt fcvt d3, s5 fmov d5, #4.00000000 fadd d5, d3, d5 fcmp d5, d18 str d5, [sp, #48] ; 8-byte Folded Spill fcsel d18, d5, d18, gt fcvt d13, s1 fadd d21, d13, d21 fcvt d1, s6 fmov d5, #20.00000000 fadd d5, d1, d5 fcmp d21, d5 fcsel d6, d21, d5, gt fcmp d18, d6 b.le LBB0_10 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 fcmp d7, d18 fcsel d17, d18, d19, le fcmp d19, d4 b.gt LBB0_13 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 fcmp d7, d18 b.gt LBB0_12 b LBB0_13 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 fcmp d26, d21 fcsel d24, d21, d19, le fcmp d19, d25 fccmp d26, d21, #4, le b.gt LBB0_5 b LBB0_6 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 fcmp d7, d6 fcsel d17, d6, d19, le fcmp d19, d4 b.gt LBB0_13 ; %bb.11: ; in Loop: Header=BB0_3 Depth=1 fcmp d7, d6 b.le LBB0_13 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 fmov d17, d4 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 fadd d4, d16, d14 fmov d6, #3.00000000 fadd d6, d27, d6 fcmp d4, d6 fcsel d6, d4, d6, gt fmov d4, #14.00000000 fadd d4, d20, d4 fcmp d4, d0 fcsel d0, d4, d0, gt fcmp d6, d0 fcsel d4, d6, d0, gt fmov d7, #5.00000000 fadd d7, d23, d7 fadd d18, d3, d9 fcmp d7, d18 fcsel d7, d7, d18, gt fmov d18, #10.00000000 fadd d18, d8, d18 fmov d19, #19.00000000 fadd d19, d13, d19 fcmp d18, d19 fcsel d18, d18, d19, gt fcmp d7, d18 b.le LBB0_16 ; %bb.14: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d7 fcsel d19, d7, d6, le fcmp d6, d0 b.gt LBB0_19 ; %bb.15: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d7 b.gt LBB0_18 b LBB0_19 LBB0_16: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d18 fcsel d19, d18, d6, le fcmp d6, d0 b.gt LBB0_19 ; %bb.17: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d18 b.le LBB0_19 LBB0_18: ; in Loop: Header=BB0_3 Depth=1 fmov d19, d0 LBB0_19: ; in Loop: Header=BB0_3 Depth=1 str d19, [sp, #40] ; 8-byte Folded Spill fmov d0, #20.00000000 fadd d0, d10, d0 fadd d4, d16, d12 fcmp d0, d4 fcsel d7, d0, d4, gt fadd d0, d20, d14 fmov d21, #14.00000000 fadd d4, d15, d21 fcmp d0, d4 fcsel d4, d0, d4, gt fcmp d7, d4 fcsel d18, d7, d4, gt fadd d6, d11, d9 fmov d0, #4.00000000 fadd d0, d31, d0 fcmp d6, d0 fcsel d19, d6, d0, gt fmov d0, #7.00000000 fadd d0, d22, d0 fmov d12, #14.00000000 fadd d28, d13, d21 fcmp d0, d28 fcsel d21, d0, d28, gt fcmp d19, d21 str d24, [sp, #64] ; 8-byte Folded Spill fmov d26, #8.00000000 b.le LBB0_22 ; %bb.20: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d19 fcsel d25, d19, d7, le fcmp d7, d4 b.gt LBB0_25 ; %bb.21: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d19 b.gt LBB0_24 b LBB0_25 LBB0_22: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d21 fcsel d25, d21, d7, le fcmp d7, d4 b.gt LBB0_25 ; %bb.23: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d21 b.le LBB0_25 LBB0_24: ; in Loop: Header=BB0_3 Depth=1 fmov d25, d4 LBB0_25: ; in Loop: Header=BB0_3 Depth=1 fadd d4, d10, d12 fmov d7, #4.00000000 fadd d7, d29, d7 fcmp d4, d7 fcsel d19, d4, d7, gt fmov d21, #13.00000000 fadd d7, d20, d21 fmov d18, #7.00000000 fadd d18, d30, d18 fcmp d7, d18 fcsel d18, d7, d18, gt fcmp d19, d18 fcsel d24, d19, d18, gt fadd d7, d3, d21 fcmp d6, d7 fcsel d6, d6, d7, gt fcvt d9, s2 fmov d2, #1.00000000 fadd d2, d9, d2 fmov d21, #20.00000000 fadd d21, d13, d21 fcmp d2, d21 fcsel d2, d2, d21, gt fcmp d6, d2 str d25, [sp, #32] ; 8-byte Folded Spill b.le LBB0_28 ; %bb.26: ; in Loop: Header=BB0_3 Depth=1 fcmp d24, d6 fcsel d2, d6, d19, le str d2, [sp, #72] ; 8-byte Folded Spill fcmp d19, d18 fmov d21, #9.00000000 b.gt LBB0_31 ; %bb.27: ; in Loop: Header=BB0_3 Depth=1 fcmp d24, d6 b.gt LBB0_30 b LBB0_31 LBB0_28: ; in Loop: Header=BB0_3 Depth=1 fcmp d24, d2 fcsel d6, d2, d19, le str d6, [sp, #72] ; 8-byte Folded Spill fcmp d19, d18 fmov d21, #9.00000000 b.gt LBB0_31 ; %bb.29: ; in Loop: Header=BB0_3 Depth=1 fcmp d24, d2 b.le LBB0_31 LBB0_30: ; in Loop: Header=BB0_3 Depth=1 str d18, [sp, #72] ; 8-byte Folded Spill LBB0_31: ; in Loop: Header=BB0_3 Depth=1 fmov d24, #16.00000000 fadd d2, d10, d24 fadd d25, d27, d14 fcmp d2, d25 fcsel d6, d2, d25, gt fadd d2, d30, d12 fadd d18, d15, d21 fcmp d2, d18 fcsel d2, d2, d18, gt fcmp d6, d2 fcsel d18, d6, d2, gt fmov d19, #4.00000000 fadd d19, d23, d19 fadd d3, d3, d14 fcmp d19, d3 fcsel d3, d19, d3, gt fmov d19, #17.00000000 fadd d19, d13, d19 fcmp d19, d5 fcsel d5, d19, d5, gt fcmp d3, d5 b.le LBB0_34 ; %bb.32: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d3 fcsel d19, d3, d6, le fcmp d6, d2 b.gt LBB0_37 ; %bb.33: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d3 b.gt LBB0_36 b LBB0_37 LBB0_34: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d5 fcsel d19, d5, d6, le fcmp d6, d2 b.gt LBB0_37 ; %bb.35: ; in Loop: Header=BB0_3 Depth=1 fcmp d18, d5 b.le LBB0_37 LBB0_36: ; in Loop: Header=BB0_3 Depth=1 fmov d19, d2 LBB0_37: ; in Loop: Header=BB0_3 Depth=1 str d19, [sp, #24] ; 8-byte Folded Spill fmov d3, #11.00000000 fadd d2, d11, d3 fadd d6, d31, d3 fcmp d2, d6 fcsel d19, d2, d6, gt fmov d2, #2.00000000 fadd d18, d23, d2 fcmp d18, d7 fcsel d3, d18, d7, gt fcmp d19, d3 fcsel d5, d19, d3, gt fmov d2, #7.00000000 fadd d2, d8, d2 fadd d7, d9, d12 fcmp d2, d7 fcsel d2, d2, d7, gt fadd d7, d22, d21 fadd d21, d1, d26 fcmp d7, d21 fcsel d7, d7, d21, gt fcmp d2, d7 str d17, [sp, #56] ; 8-byte Folded Spill b.le LBB0_40 ; %bb.38: ; in Loop: Header=BB0_3 Depth=1 fcmp d5, d2 fcsel d21, d2, d19, le fcmp d19, d3 b.gt LBB0_43 ; %bb.39: ; in Loop: Header=BB0_3 Depth=1 fcmp d5, d2 b.gt LBB0_42 b LBB0_43 LBB0_40: ; in Loop: Header=BB0_3 Depth=1 fcmp d5, d7 fcsel d21, d7, d19, le fcmp d19, d3 b.gt LBB0_43 ; %bb.41: ; in Loop: Header=BB0_3 Depth=1 fcmp d5, d7 b.le LBB0_43 LBB0_42: ; in Loop: Header=BB0_3 Depth=1 fmov d21, d3 LBB0_43: ; in Loop: Header=BB0_3 Depth=1 str d21, [sp, #8] ; 8-byte Folded Spill fmov d17, #16.00000000 fadd d2, d16, d24 fmov d3, #15.00000000 fadd d3, d30, d3 fcmp d2, d3 fcsel d19, d2, d3, gt fmov d2, #7.00000000 fadd d2, d15, d2 fmov d3, #20.00000000 fadd d3, d11, d3 fcmp d2, d3 fcsel d24, d2, d3, gt fcmp d19, d24 fcsel d14, d19, d24, gt fmov d2, #17.00000000 fadd d26, d31, d2 fadd d7, d8, d12 fcmp d26, d7 fcsel d2, d26, d7, gt fmov d3, #11.00000000 fadd d3, d22, d3 fmov d5, #10.00000000 fadd d5, d13, d5 fcmp d3, d5 fcsel d21, d3, d5, gt fcmp d2, d21 b.le LBB0_46 ; %bb.44: ; in Loop: Header=BB0_3 Depth=1 fcmp d14, d2 fcsel d5, d2, d19, le fcmp d19, d24 b.gt LBB0_49 ; %bb.45: ; in Loop: Header=BB0_3 Depth=1 fcmp d14, d2 b.gt LBB0_48 b LBB0_49 LBB0_46: ; in Loop: Header=BB0_3 Depth=1 fcmp d14, d21 fcsel d5, d21, d19, le fcmp d19, d24 b.gt LBB0_49 ; %bb.47: ; in Loop: Header=BB0_3 Depth=1 fcmp d14, d21 b.le LBB0_49 LBB0_48: ; in Loop: Header=BB0_3 Depth=1 fmov d5, d24 LBB0_49: ; in Loop: Header=BB0_3 Depth=1 str d5, [sp] ; 8-byte Folded Spill fmov d2, #19.00000000 fadd d2, d10, d2 fadd d5, d16, d12 fcmp d2, d5 fcsel d2, d2, d5, gt fmov d5, #18.00000000 fadd d5, d20, d5 fcmp d25, d5 fcsel d24, d25, d5, gt fcmp d2, d24 fcsel d19, d2, d24, gt fmov d5, #10.00000000 fadd d5, d11, d5 fadd d21, d31, d17 fcmp d5, d21 fcsel d21, d5, d21, gt fmov d5, #12.00000000 fadd d5, d8, d5 fmov d25, #20.00000000 fadd d25, d9, d25 fcmp d5, d25 fcsel d25, d5, d25, gt fcmp d21, d25 b.le LBB0_52 ; %bb.50: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d21 fcsel d14, d21, d2, le fcmp d2, d24 b.gt LBB0_55 ; %bb.51: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d21 b.gt LBB0_54 b LBB0_55 LBB0_52: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d25 fcsel d14, d25, d2, le fcmp d2, d24 b.gt LBB0_55 ; %bb.53: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d25 b.le LBB0_55 LBB0_54: ; in Loop: Header=BB0_3 Depth=1 fmov d14, d24 LBB0_55: ; in Loop: Header=BB0_3 Depth=1 fmov d19, #12.00000000 fadd d2, d10, d19 fmov d5, #2.00000000 fadd d25, d29, d5 fcmp d2, d25 fcsel d2, d2, d25, gt fmov d12, #1.00000000 fadd d5, d20, d12 fadd d19, d11, d19 fcmp d5, d19 fcsel d24, d5, d19, gt fcmp d2, d24 fcsel d19, d2, d24, gt fmov d5, #15.00000000 fadd d5, d23, d5 fcmp d6, d5 fcsel d21, d6, d5, gt fadd d5, d8, d12 fmov d6, #19.00000000 fadd d6, d1, d6 fcmp d5, d6 fcsel d5, d5, d6, gt fcmp d21, d5 b.le LBB0_58 ; %bb.56: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d21 fcsel d6, d21, d2, le fcmp d2, d24 b.gt LBB0_61 ; %bb.57: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d21 b.gt LBB0_60 b LBB0_61 LBB0_58: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d5 fcsel d6, d5, d2, le fcmp d2, d24 b.gt LBB0_61 ; %bb.59: ; in Loop: Header=BB0_3 Depth=1 fcmp d19, d5 b.le LBB0_61 LBB0_60: ; in Loop: Header=BB0_3 Depth=1 fmov d6, d24 LBB0_61: ; in Loop: Header=BB0_3 Depth=1 fmov d5, #17.00000000 fadd d24, d16, d5 fadd d2, d29, d5 fcmp d24, d2 fcsel d2, d24, d2, gt fadd d5, d30, d5 fmov d16, #19.00000000 fadd d16, d11, d16 fcmp d5, d16 fcsel d16, d5, d16, gt fcmp d2, d16 fcsel d21, d2, d16, gt fmov d5, #10.00000000 fadd d5, d23, d5 ldr d17, [sp, #16] ; 8-byte Folded Reload fcmp d17, d5 fcsel d17, d17, d5, gt fmov d5, #7.00000000 fadd d5, d1, d5 fcmp d7, d5 fcsel d5, d7, d5, gt fcmp d17, d5 b.le LBB0_64 ; %bb.62: ; in Loop: Header=BB0_3 Depth=1 fcmp d21, d17 fcsel d19, d17, d2, le fcmp d2, d16 b.gt LBB0_67 ; %bb.63: ; in Loop: Header=BB0_3 Depth=1 fcmp d21, d17 b.gt LBB0_66 b LBB0_67 LBB0_64: ; in Loop: Header=BB0_3 Depth=1 fcmp d21, d5 fcsel d19, d5, d2, le fcmp d2, d16 b.gt LBB0_67 ; %bb.65: ; in Loop: Header=BB0_3 Depth=1 fcmp d21, d5 b.le LBB0_67 LBB0_66: ; in Loop: Header=BB0_3 Depth=1 fmov d19, d16 LBB0_67: ; in Loop: Header=BB0_3 Depth=1 fmov d2, #5.00000000 fadd d2, d10, d2 fcmp d2, d24 fcsel d2, d2, d24, gt fmov d5, #18.00000000 fadd d5, d27, d5 fmov d7, #10.00000000 fadd d7, d20, d7 fcmp d5, d7 fcsel d7, d5, d7, gt fcmp d2, d7 fcsel d16, d2, d7, gt fmov d5, #4.00000000 fadd d5, d15, d5 fcmp d5, d26 fcsel d21, d5, d26, gt fmov d5, #20.00000000 fadd d5, d22, d5 fmov d24, #16.00000000 fadd d17, d1, d24 fcmp d5, d17 fcsel d5, d5, d17, gt fcmp d21, d5 b.le LBB0_70 ; %bb.68: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d21 fcsel d17, d21, d2, le fcmp d2, d7 fmov d12, #8.00000000 b.gt LBB0_73 ; %bb.69: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d21 b.gt LBB0_72 b LBB0_73 LBB0_70: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d5 fcsel d17, d5, d2, le fcmp d2, d7 fmov d12, #8.00000000 b.gt LBB0_73 ; %bb.71: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d5 b.le LBB0_73 LBB0_72: ; in Loop: Header=BB0_3 Depth=1 fmov d17, d7 LBB0_73: ; in Loop: Header=BB0_3 Depth=1 fmov d2, #2.00000000 fadd d2, d10, d2 fmov d5, #10.00000000 fadd d5, d27, d5 fcmp d2, d5 fcsel d2, d2, d5, gt fmov d7, #15.00000000 fadd d5, d29, d7 fadd d7, d15, d7 fcmp d5, d7 fcsel d23, d5, d7, gt fcmp d2, d23 fcsel d16, d2, d23, gt fmov d5, #20.00000000 fadd d7, d8, d5 fmov d5, #13.00000000 fadd d5, d9, d5 fcmp d7, d5 fcsel d21, d7, d5, gt fadd d5, d13, d24 fcmp d0, d5 fcsel d5, d0, d5, gt fcmp d21, d5 b.le LBB0_76 ; %bb.74: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d21 fcsel d22, d21, d2, le fcmp d2, d23 fmov d9, #18.00000000 b.gt LBB0_79 ; %bb.75: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d21 fmov d21, #9.00000000 b.gt LBB0_78 b LBB0_80 LBB0_76: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d5 fcsel d22, d5, d2, le fcmp d2, d23 fmov d9, #18.00000000 b.gt LBB0_79 ; %bb.77: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d5 fmov d21, #9.00000000 b.le LBB0_80 LBB0_78: ; in Loop: Header=BB0_3 Depth=1 fmov d22, d23 b LBB0_80 LBB0_79: ; in Loop: Header=BB0_3 Depth=1 fmov d21, #9.00000000 LBB0_80: ; in Loop: Header=BB0_3 Depth=1 fmov d2, #12.00000000 fadd d2, d27, d2 fcmp d4, d2 fcsel d2, d4, d2, gt fmov d4, #20.00000000 fadd d4, d15, d4 fmov d5, #17.00000000 fadd d5, d11, d5 fcmp d4, d5 fcsel d4, d4, d5, gt fcmp d2, d4 fcsel d16, d2, d4, gt fcmp d7, d0 fcsel d0, d7, d0, gt fadd d1, d1, d9 fcmp d28, d1 fcsel d5, d28, d1, gt fcmp d0, d5 b.le LBB0_83 ; %bb.81: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d0 fcsel d1, d0, d2, le fcmp d2, d4 b.gt LBB0_86 ; %bb.82: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d0 b.gt LBB0_85 b LBB0_86 LBB0_83: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d5 fcsel d1, d5, d2, le fcmp d2, d4 b.gt LBB0_86 ; %bb.84: ; in Loop: Header=BB0_3 Depth=1 fcmp d16, d5 b.le LBB0_86 LBB0_85: ; in Loop: Header=BB0_3 Depth=1 fmov d1, d4 LBB0_86: ; in Loop: Header=BB0_3 Depth=1 fadd d0, d20, d24 fcmp d25, d0 fcsel d2, d25, d0, gt fmov d0, #5.00000000 fadd d0, d30, d0 fadd d4, d11, d12 fcmp d0, d4 fcsel d0, d0, d4, gt fcmp d2, d0 fcsel d4, d2, d0, gt fmov d5, #20.00000000 fadd d5, d31, d5 fcmp d5, d18 fcsel d7, d5, d18, gt fadd d5, d13, d21 fcmp d3, d5 fcsel d3, d3, d5, gt fcmp d7, d3 b.le LBB0_89 ; %bb.87: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d7 fcsel d28, d7, d2, le fcmp d2, d0 ldr d16, [sp, #32] ; 8-byte Folded Reload b.gt LBB0_92 ; %bb.88: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d7 b.gt LBB0_91 b LBB0_92 LBB0_89: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d3 fcsel d28, d3, d2, le fcmp d2, d0 ldr d16, [sp, #32] ; 8-byte Folded Reload b.gt LBB0_92 ; %bb.90: ; in Loop: Header=BB0_3 Depth=1 fcmp d4, d3 b.le LBB0_92 LBB0_91: ; in Loop: Header=BB0_3 Depth=1 fmov d28, d0 LBB0_92: ; in Loop: Header=BB0_3 Depth=1 fmov d0, #4.00000000 fadd d0, d10, d0 fmov d4, #14.00000000 fadd d2, d29, d4 fcmp d0, d2 fcsel d2, d0, d2, gt fmov d0, #12.00000000 fadd d0, d30, d0 fadd d3, d11, d24 fcmp d0, d3 fcsel d0, d0, d3, gt fcmp d2, d0 fcsel d3, d2, d0, gt fadd d4, d31, d4 ldr d5, [sp, #48] ; 8-byte Folded Reload fcmp d4, d5 fcsel d4, d4, d5, gt fadd d5, d8, d12 fmov d7, #13.00000000 fadd d7, d13, d7 fcmp d5, d7 fcsel d5, d5, d7, gt fcmp d4, d5 b.le LBB0_95 ; %bb.93: ; in Loop: Header=BB0_3 Depth=1 fcmp d3, d4 fcsel d29, d4, d2, le fcmp d2, d0 ldr d2, [sp, #64] ; 8-byte Folded Reload b.gt LBB0_1 ; %bb.94: ; in Loop: Header=BB0_3 Depth=1 fcmp d3, d4 ldr d5, [sp] ; 8-byte Folded Reload b.gt LBB0_97 b LBB0_2 LBB0_95: ; in Loop: Header=BB0_3 Depth=1 fcmp d3, d5 fcsel d29, d5, d2, le fcmp d2, d0 ldr d2, [sp, #64] ; 8-byte Folded Reload b.gt LBB0_1 ; %bb.96: ; in Loop: Header=BB0_3 Depth=1 fcmp d3, d5 ldr d5, [sp] ; 8-byte Folded Reload b.le LBB0_2 LBB0_97: ; in Loop: Header=BB0_3 Depth=1 fmov d29, d0 b LBB0_2 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _x_1,4,2 ; @x_1 .comm _x_3,4,2 ; @x_3 .comm _x_5,4,2 ; @x_5 .comm _x_6,4,2 ; @x_6 .comm _x_8,4,2 ; @x_8 .comm _x_9,4,2 ; @x_9 .comm _x_11,4,2 ; @x_11 .comm _x_13,4,2 ; @x_13 .comm _x_0,4,2 ; @x_0 .comm _x_2,4,2 ; @x_2 .comm _x_4,4,2 ; @x_4 .comm _x_7,4,2 ; @x_7 .comm _x_10,4,2 ; @x_10 .comm _x_14,4,2 ; @x_14 .comm _x_15,4,2 ; @x_15 .comm _x_12,4,2 ; @x_12 .subsections_via_symbols
the_stack_data/150140826.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3VdbeUsesBtree ## -- Begin function sqlite3VdbeUsesBtree .p2align 4, 0x90 _sqlite3VdbeUsesBtree: ## @sqlite3VdbeUsesBtree .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 xorl %edi, %edi testl %esi, %esi js LBB0_3 ## %bb.1: movq 8(%r14), %rax cmpl %ebx, (%rax) jle LBB0_3 ## %bb.2: xorl %edi, %edi cmpl $32, %ebx setb %dil LBB0_3: callq _assert xorl %edi, %edi cmpl $32, %ebx setl %dil callq _assert movl 16(%r14), %edi movl %ebx, %esi callq _DbMaskSet cmpl $1, %ebx je LBB0_5 ## %bb.4: movq 8(%r14), %rax movq 8(%rax), %rax movslq %ebx, %rcx movl (%rax,%rcx,4), %edi callq _sqlite3BtreeSharable testq %rax, %rax je LBB0_5 ## %bb.6: movl (%r14), %edi movl %ebx, %esi popq %rbx popq %r14 popq %rbp jmp _DbMaskSet ## TAILCALL LBB0_5: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3VdbeUsesBtree ; -- Begin function sqlite3VdbeUsesBtree .p2align 2 _sqlite3VdbeUsesBtree: ; @sqlite3VdbeUsesBtree .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 tbnz w1, #31, LBB0_3 ; %bb.1: ldr x8, [x20, #8] ldr w8, [x8] cmp w8, w19 b.le LBB0_3 ; %bb.2: cmp w19, #32 cset w0, lo b LBB0_4 LBB0_3: mov w0, #0 LBB0_4: bl _assert cmp w19, #32 cset w0, lt bl _assert ldr w0, [x20, #16] mov x1, x19 bl _DbMaskSet cmp w19, #1 b.eq LBB0_7 ; %bb.5: ldr x8, [x20, #8] ldr x8, [x8, #8] ldr w0, [x8, w19, sxtw #2] bl _sqlite3BtreeSharable cbz x0, LBB0_7 ; %bb.6: ldr w0, [x20] mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _DbMaskSet LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/sqlcipher/src/extr_vdbeaux.c_sqlite3VdbeUsesBtree.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tsd_cb _tsd_cb: ## @tsd_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx movq %rsi, -16(%rbp) movq _builtin_type_void_func_ptr@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -16(%rbp), %rdi callq _extract_typed_address movl %eax, %edi callq _lookup_minimal_symbol_by_pc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rdi callq _DEPRECATED_SYMBOL_NAME movq %rax, %rcx jmp LBB0_3 LBB0_1: leaq L_.str(%rip), %rcx LBB0_3: movq -16(%rbp), %rdx leaq L_.str.1(%rip), %rdi movl %ebx, %esi callq _printf_filtered xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _builtin_type_void_func_ptr,4,2 ## @builtin_type_void_func_ptr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "???" L_.str.1: ## @.str.1 .asciz "Key %d, destructor %p <%s>\n" .no_dead_strip _tsd_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tsd_cb _tsd_cb: ; @tsd_cb .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 str x1, [sp, #8] Lloh0: adrp x8, _builtin_type_void_func_ptr@GOTPAGE Lloh1: ldr x8, [x8, _builtin_type_void_func_ptr@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x0, sp, #8 bl _extract_typed_address bl _lookup_minimal_symbol_by_pc cbz x0, LBB0_2 ; %bb.1: bl _DEPRECATED_SYMBOL_NAME mov x3, x0 b LBB0_3 LBB0_2: Lloh3: adrp x3, l_.str@PAGE Lloh4: add x3, x3, l_.str@PAGEOFF LBB0_3: ldr x2, [sp, #8] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF mov x1, x19 bl _printf_filtered mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _builtin_type_void_func_ptr,4,2 ; @builtin_type_void_func_ptr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "???" l_.str.1: ; @.str.1 .asciz "Key %d, destructor %p <%s>\n" .no_dead_strip _tsd_cb .subsections_via_symbols
AnghaBench/freebsd/gnu/usr.bin/gdb/libgdb/extr_fbsd-threads.c_tsd_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfa_itnim_sm_created _bfa_itnim_sm_created: ## @bfa_itnim_sm_created .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 movl (%rdi), %edi movq 8(%r14), %rax movl (%rax), %esi callq _bfa_trc movl (%r14), %edi movl %ebx, %esi callq _bfa_trc cmpl $130, %ebx je LBB0_7 ## %bb.1: cmpl $129, %ebx je LBB0_8 ## %bb.2: cmpl $128, %ebx jne LBB0_9 ## %bb.3: movq %r14, %rdi callq _bfa_itnim_send_fwcreate testl %eax, %eax je LBB0_6 ## %bb.4: movq _bfa_itnim_sm_fwcreate@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_7: movq _bfa_itnim_sm_uninit@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _bfa_sm_set_state movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _bfa_fcpim_delitn ## TAILCALL LBB0_8: movq _bfa_itnim_sm_iocdisable@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_9: movl (%r14), %edi movl %ebx, %esi popq %rbx popq %r14 popq %rbp jmp _bfa_sm_fault ## TAILCALL LBB0_6: movq _bfa_itnim_sm_fwcreate_qfull@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %esi movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _bfa_sm_set_state ## TAILCALL .cfi_endproc ## -- End function .comm _bfa_itnim_sm_fwcreate,4,2 ## @bfa_itnim_sm_fwcreate .comm _bfa_itnim_sm_fwcreate_qfull,4,2 ## @bfa_itnim_sm_fwcreate_qfull .comm _bfa_itnim_sm_uninit,4,2 ## @bfa_itnim_sm_uninit .comm _bfa_itnim_sm_iocdisable,4,2 ## @bfa_itnim_sm_iocdisable .no_dead_strip _bfa_itnim_sm_created .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfa_itnim_sm_created _bfa_itnim_sm_created: ; @bfa_itnim_sm_created .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 ldr w0, [x0] ldr x8, [x19, #8] ldr w1, [x8] bl _bfa_trc ldr w0, [x19] mov x1, x20 bl _bfa_trc cmp w20, #130 b.eq LBB0_5 ; %bb.1: cmp w20, #129 b.eq LBB0_6 ; %bb.2: cmp w20, #128 b.ne LBB0_7 ; %bb.3: mov x0, x19 bl _bfa_itnim_send_fwcreate cbz w0, LBB0_8 ; %bb.4: Lloh0: adrp x8, _bfa_itnim_sm_fwcreate@GOTPAGE Lloh1: ldr x8, [x8, _bfa_itnim_sm_fwcreate@GOTPAGEOFF] b LBB0_9 LBB0_5: Lloh2: adrp x8, _bfa_itnim_sm_uninit@GOTPAGE Lloh3: ldr x8, [x8, _bfa_itnim_sm_uninit@GOTPAGEOFF] Lloh4: ldr w1, [x8] mov x0, x19 bl _bfa_sm_set_state mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bfa_fcpim_delitn LBB0_6: Lloh5: adrp x8, _bfa_itnim_sm_iocdisable@GOTPAGE Lloh6: ldr x8, [x8, _bfa_itnim_sm_iocdisable@GOTPAGEOFF] b LBB0_9 LBB0_7: ldr w0, [x19] mov x1, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bfa_sm_fault LBB0_8: Lloh7: adrp x8, _bfa_itnim_sm_fwcreate_qfull@GOTPAGE Lloh8: ldr x8, [x8, _bfa_itnim_sm_fwcreate_qfull@GOTPAGEOFF] LBB0_9: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bfa_sm_set_state .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _bfa_itnim_sm_fwcreate,4,2 ; @bfa_itnim_sm_fwcreate .comm _bfa_itnim_sm_fwcreate_qfull,4,2 ; @bfa_itnim_sm_fwcreate_qfull .comm _bfa_itnim_sm_uninit,4,2 ; @bfa_itnim_sm_uninit .comm _bfa_itnim_sm_iocdisable,4,2 ; @bfa_itnim_sm_iocdisable .no_dead_strip _bfa_itnim_sm_created .subsections_via_symbols
AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcpim.c_bfa_itnim_sm_created.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_msg _add_msg: ## @add_msg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movl %edx, %r14d movl %esi, %r15d movq %rdi, %rbx movq _R3964_MAX_MSG_COUNT@GOTPCREL(%rip), %rax movl (%rax), %eax decl %eax cmpl %eax, (%rdi) jl LBB0_1 ## %bb.11: movq 16(%rbx), %rax movq _R3964_MSG_ACK@GOTPCREL(%rip), %rcx movl (%rcx), %r15d cmpl %r15d, (%rax) jne LBB0_12 ## %bb.14: movq _R3964_OVERFLOW@GOTPCREL(%rip), %rcx movl (%rcx), %r12d cmpl %r12d, 8(%rax) jne LBB0_13 ## %bb.15: incl 4(%rax) leaq L_.str.1(%rip), %rdi callq _TRACE_PE jmp LBB0_16 LBB0_12: movq _R3964_OVERFLOW@GOTPCREL(%rip), %rax movl (%rax), %r12d LBB0_13: leaq L_.str.2(%rip), %rdi callq _TRACE_PE xorl %r14d, %r14d xorl %r8d, %r8d LBB0_1: testl %r12d, %r12d movq %r8, -56(%rbp) ## 8-byte Spill jne LBB0_2 ## %bb.3: movq _GFP_KERNEL@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_2: movq _GFP_ATOMIC@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %esi movl $32, %edi callq _kmalloc movq %rax, %r13 leaq L_.str(%rip), %rdi movq %rax, %rsi callq _TRACE_M testq %r13, %r13 je LBB0_17 ## %bb.5: leaq 24(%rbx), %rdi movq %rdi, -48(%rbp) ## 8-byte Spill callq _spin_lock_irqsave movl %r15d, (%r13) movl %r14d, 4(%r13) movl %r12d, 8(%r13) movq -56(%rbp), %rdx ## 8-byte Reload movq %rdx, 24(%r13) movq $0, 16(%r13) movq 16(%rbx), %rcx testq %rcx, %rcx je LBB0_6 ## %bb.7: leaq 16(%rbx), %rax movq %r13, 16(%rcx) jmp LBB0_8 LBB0_6: movq %r13, 16(%rbx) leaq 32(%rbx), %rax LBB0_8: movq %r13, (%rax) incl (%rbx) testq %rdx, %rdx je LBB0_10 ## %bb.9: incl (%rdx) LBB0_10: movq -48(%rbp), %rdi ## 8-byte Reload callq _spin_unlock_irqrestore LBB0_16: movq _R3964_USE_SIGIO@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 4(%rbx) je LBB0_17 ## %bb.18: movl 8(%rbx), %edi movq _SIGIO@GOTPCREL(%rip), %rax movl (%rax), %esi movl $1, %edx addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _kill_pid ## TAILCALL LBB0_17: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _R3964_MAX_MSG_COUNT,4,2 ## @R3964_MAX_MSG_COUNT .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "add_msg - kmalloc %p" .comm _R3964_MSG_ACK,4,2 ## @R3964_MSG_ACK .comm _R3964_OVERFLOW,4,2 ## @R3964_OVERFLOW L_.str.1: ## @.str.1 .asciz "add_msg - inc prev OVERFLOW-msg" L_.str.2: ## @.str.2 .asciz "add_msg - queue OVERFLOW-msg" .comm _R3964_USE_SIGIO,4,2 ## @R3964_USE_SIGIO .comm _SIGIO,4,2 ## @SIGIO .no_dead_strip _add_msg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_msg _add_msg: ; @add_msg .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x4 mov x22, x3 mov x23, x2 mov x21, x1 mov x19, x0 ldr w8, [x0] Lloh0: adrp x9, _R3964_MAX_MSG_COUNT@GOTPAGE Lloh1: ldr x9, [x9, _R3964_MAX_MSG_COUNT@GOTPAGEOFF] Lloh2: ldr w9, [x9] sub w9, w9, #1 cmp w8, w9 b.lt LBB0_6 ; %bb.1: ldr x8, [x19, #16] ldr w9, [x8] Lloh3: adrp x10, _R3964_MSG_ACK@GOTPAGE Lloh4: ldr x10, [x10, _R3964_MSG_ACK@GOTPAGEOFF] Lloh5: ldr w21, [x10] cmp w9, w21 b.ne LBB0_4 ; %bb.2: ldr w9, [x8, #8] Lloh6: adrp x10, _R3964_OVERFLOW@GOTPAGE Lloh7: ldr x10, [x10, _R3964_OVERFLOW@GOTPAGEOFF] Lloh8: ldr w22, [x10] cmp w9, w22 b.ne LBB0_5 ; %bb.3: ldr w9, [x8, #4] add w9, w9, #1 str w9, [x8, #4] Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _TRACE_PE b LBB0_13 LBB0_4: Lloh11: adrp x8, _R3964_OVERFLOW@GOTPAGE Lloh12: ldr x8, [x8, _R3964_OVERFLOW@GOTPAGEOFF] Lloh13: ldr w22, [x8] LBB0_5: Lloh14: adrp x0, l_.str.2@PAGE Lloh15: add x0, x0, l_.str.2@PAGEOFF bl _TRACE_PE mov w23, #0 mov x20, #0 LBB0_6: Lloh16: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh17: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh18: adrp x9, _GFP_KERNEL@GOTPAGE Lloh19: ldr x9, [x9, _GFP_KERNEL@GOTPAGEOFF] cmp w22, #0 csel x8, x9, x8, eq ldr w1, [x8] mov w0, #32 bl _kmalloc mov x25, x0 Lloh20: adrp x0, l_.str@PAGE Lloh21: add x0, x0, l_.str@PAGEOFF mov x1, x25 bl _TRACE_M cbz x25, LBB0_15 ; %bb.7: add x24, x19, #24 mov x0, x24 bl _spin_lock_irqsave stp w21, w23, [x25] str w22, [x25, #8] stp xzr, x20, [x25, #16] mov x8, x19 ldr x9, [x8, #16]! cbz x9, LBB0_9 ; %bb.8: str x25, [x9, #16] b LBB0_10 LBB0_9: str x25, [x19, #16] add x8, x19, #32 LBB0_10: str x25, [x8] ldr w8, [x19] add w8, w8, #1 str w8, [x19] cbz x20, LBB0_12 ; %bb.11: ldr w8, [x20] add w8, w8, #1 str w8, [x20] LBB0_12: mov x0, x24 bl _spin_unlock_irqrestore LBB0_13: ldr w8, [x19, #4] Lloh22: adrp x9, _R3964_USE_SIGIO@GOTPAGE Lloh23: ldr x9, [x9, _R3964_USE_SIGIO@GOTPAGEOFF] Lloh24: ldr w9, [x9] tst w9, w8 b.eq LBB0_15 ; %bb.14: ldr w0, [x19, #8] Lloh25: adrp x8, _SIGIO@GOTPAGE Lloh26: ldr x8, [x8, _SIGIO@GOTPAGEOFF] Lloh27: ldr w1, [x8] mov w2, #1 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _kill_pid LBB0_15: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .cfi_endproc ; -- End function .comm _R3964_MAX_MSG_COUNT,4,2 ; @R3964_MAX_MSG_COUNT .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "add_msg - kmalloc %p" .comm _R3964_MSG_ACK,4,2 ; @R3964_MSG_ACK .comm _R3964_OVERFLOW,4,2 ; @R3964_OVERFLOW l_.str.1: ; @.str.1 .asciz "add_msg - inc prev OVERFLOW-msg" l_.str.2: ; @.str.2 .asciz "add_msg - queue OVERFLOW-msg" .comm _R3964_USE_SIGIO,4,2 ; @R3964_USE_SIGIO .comm _SIGIO,4,2 ; @SIGIO .no_dead_strip _add_msg .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/char/extr_n_r3964.c_add_msg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $2, %edi jne LBB0_7 ## %bb.1: movq 8(%rsi), %rdi callq _atoi movl %eax, %r15d callq _fork testl %eax, %eax je LBB0_2 ## %bb.6: leaq -36(%rbp), %rsi movl %eax, %edi movl $8, %edx callq _waitpid jmp LBB0_7 LBB0_2: leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf cmpl $2, %r15d jl LBB0_5 ## %bb.3: decl %r15d movl $1, %eax leaq L_.str.1(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl %eax, %r12d addl %eax, %ebx movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movl %ebx, %eax movl %r12d, %ebx decl %r15d jne LBB0_4 LBB0_5: movl $10, %edi callq _putchar LBB0_7: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0, 1" L_.str.1: ## @.str.1 .asciz ", %d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w0, #2 b.ne LBB0_7 ; %bb.1: ldr x0, [x1, #8] bl _atoi mov x19, x0 bl _fork cbz w0, LBB0_3 ; %bb.2: add x1, sp, #12 mov w2, #8 bl _waitpid b LBB0_7 LBB0_3: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf cmp w19, #2 b.lt LBB0_6 ; %bb.4: mov w8, #0 sub w20, w19, #1 mov w21, #1 Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x22, x21 add w21, w21, w8 str x21, [sp] mov x0, x19 bl _printf mov x8, x22 subs w20, w20, #1 b.ne LBB0_5 LBB0_6: mov w0, #10 bl _putchar LBB0_7: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0, 1" l_.str.1: ; @.str.1 .asciz ", %d" .subsections_via_symbols
the_stack_data/198580192.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _raw_init ## -- Begin function raw_init .p2align 4, 0x90 _raw_init: ## @raw_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _V_rawcb_list@GOTPCREL(%rip), %rdi popq %rbp jmp _LIST_INIT ## TAILCALL .cfi_endproc ## -- End function .comm _V_rawcb_list,4,2 ## @V_rawcb_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _raw_init ; -- Begin function raw_init .p2align 2 _raw_init: ; @raw_init .cfi_startproc ; %bb.0: Lloh0: adrp x0, _V_rawcb_list@GOTPAGE Lloh1: ldr x0, [x0, _V_rawcb_list@GOTPAGEOFF] b _LIST_INIT .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _V_rawcb_list,4,2 ; @V_rawcb_list .subsections_via_symbols
AnghaBench/freebsd/sys/net/extr_raw_usrreq.c_raw_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _enough __enough: ## @_enough .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r13d xorl %eax, %eax testl %esi, %esi setne %al movl 16(%rdi,%rax,8), %r14d movq %rdi, -56(%rbp) ## 8-byte Spill movl 20(%rdi,%rax,8), %eax movl %eax, -44(%rbp) ## 4-byte Spill xorl %eax, %eax callq _rcu_read_lock xorl %ebx, %ebx .p2align 4, 0x90 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %r12d testl %r12d, %r12d je LBB0_11 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 xorl %r15d, %r15d movl %ebx, -48(%rbp) ## 4-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_4 Depth=2 incl %ebx movl %ebx, %eax cltd idivl %r14d movl %edx, %ebx testl %r12d, %r12d je LBB0_7 LBB0_4: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 decl %r12d cmpl %r13d, %ebx je LBB0_3 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax movslq %ebx, %rcx movl (%rax,%rcx,4), %edi callq _rcu_dereference testq %rax, %rax je LBB0_3 ## %bb.6: ## in Loop: Header=BB0_4 Depth=2 movq _In_sync@GOTPCREL(%rip), %rcx movl (%rcx), %edi movq %rax, %rsi callq _test_bit cmpq $1, %rax sbbl $-1, %r15d jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 testl %r15d, %r15d je LBB0_11 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movl -48(%rbp), %eax ## 4-byte Reload addl -44(%rbp), %eax ## 4-byte Folded Reload cltd idivl %r14d movl %edx, %ebx testl %edx, %edx jne LBB0_1 ## %bb.9: movl $1, %ebx jmp LBB0_12 LBB0_11: xorl %ebx, %ebx LBB0_12: xorl %eax, %eax callq _rcu_read_unlock movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _In_sync,4,2 ## @In_sync .no_dead_strip __enough .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _enough __enough: ; @_enough .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 mov x20, x0 cmp w1, #0 mov w8, #24 mov w9, #16 csel x8, x9, x8, eq mov w9, #28 mov w10, #20 csel x9, x10, x9, eq ldr w21, [x0, x9] ldr w22, [x0, x8] bl _rcu_read_lock mov w23, #0 Lloh0: adrp x24, _In_sync@GOTPAGE Lloh1: ldr x24, [x24, _In_sync@GOTPAGEOFF] LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ldr w25, [x20] cbz w25, LBB0_10 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov w26, #0 mov x27, x23 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=2 add w8, w27, #1 sdiv w9, w8, w22 msub w27, w9, w22, w8 cbz w25, LBB0_7 LBB0_4: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 sub w25, w25, #1 cmp w27, w19 b.eq LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=2 ldr x8, [x20, #8] ldr w0, [x8, w27, sxtw #2] bl _rcu_dereference cbz x0, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=2 mov x1, x0 ldr w0, [x24] bl _test_bit cmp x0, #0 cinc w26, w26, ne b LBB0_3 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 cbz w26, LBB0_10 ; %bb.8: ; in Loop: Header=BB0_1 Depth=1 add w8, w23, w21 sdiv w9, w8, w22 msub w23, w9, w22, w8 cbnz w23, LBB0_1 ; %bb.9: mov w19, #1 b LBB0_11 LBB0_10: mov w19, #0 LBB0_11: bl _rcu_read_unlock mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _In_sync,4,2 ; @In_sync .no_dead_strip __enough .subsections_via_symbols
AnghaBench/linux/drivers/md/extr_raid10.c__enough.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.2(%rip), %rbx leaq -48(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf leaq -44(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -44(%rbp), %esi testl %esi, %esi jle LBB0_3 ## %bb.1: leaq L_.str.4(%rip), %r14 leaq L_.str.5(%rip), %r15 leaq L_.str.2(%rip), %r12 leaq -44(%rbp), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl -48(%rbp), %ebx movl %esi, %eax cltd idivl %ebx movl %edx, %ecx movq %r14, %rdi movl %ebx, %edx xorl %eax, %eax callq _printf movq %r15, %rdi xorl %eax, %eax callq _printf movq %r12, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf movl -44(%rbp), %esi testl %esi, %esi jg LBB0_2 LBB0_3: leaq L_str.7(%rip), %rdi callq _puts xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "Enter an integer to serve as the second operand: " L_.str.2: ## @.str.2 .asciz "%d" L_.str.3: ## @.str.3 .asciz "Now enter the first operand: " L_.str.4: ## @.str.4 .asciz "%d %% %d is %d.\n" L_.str.5: ## @.str.5 .asciz "Enter an integer to serve as the second operand (<= 0 to quit): " L_str: ## @str .asciz "This program computes moduli." L_str.7: ## @str.7 .asciz "Done" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf add x8, sp, #24 str x8, [sp] Lloh4: adrp x19, l_.str.2@PAGE Lloh5: add x19, x19, l_.str.2@PAGEOFF mov x0, x19 bl _scanf Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf add x22, sp, #28 str x22, [sp] mov x0, x19 bl _scanf ldr w8, [sp, #28] cmp w8, #1 b.lt LBB0_3 ; %bb.1: Lloh8: adrp x19, l_.str.4@PAGE Lloh9: add x19, x19, l_.str.4@PAGEOFF Lloh10: adrp x20, l_.str.5@PAGE Lloh11: add x20, x20, l_.str.5@PAGEOFF Lloh12: adrp x21, l_.str.2@PAGE Lloh13: add x21, x21, l_.str.2@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w9, [sp, #24] sdiv w10, w8, w9 msub w10, w10, w9, w8 stp x8, x9, [sp] str x10, [sp, #16] mov x0, x19 bl _printf mov x0, x20 bl _printf str x22, [sp] mov x0, x21 bl _scanf ldr w8, [sp, #28] cmp w8, #0 b.gt LBB0_2 LBB0_3: Lloh14: adrp x0, l_str.7@PAGE Lloh15: add x0, x0, l_str.7@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Enter an integer to serve as the second operand: " l_.str.2: ; @.str.2 .asciz "%d" l_.str.3: ; @.str.3 .asciz "Now enter the first operand: " l_.str.4: ; @.str.4 .asciz "%d %% %d is %d.\n" l_.str.5: ; @.str.5 .asciz "Enter an integer to serve as the second operand (<= 0 to quit): " l_str: ; @str .asciz "This program computes moduli." l_str.7: ; @str.7 .asciz "Done" .subsections_via_symbols
the_stack_data/710058.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function acpi_thermal_cooling_device_cb _acpi_thermal_cooling_device_cb: ## @acpi_thermal_cooling_device_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, -44(%rbp) ## 4-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill movq (%rsi), %rax movq %rax, -80(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill movq (%rdi), %r14 xorl %r12d, %r12d cmpq $0, 56(%r14) sete %r12b orl $-2, %r12d cmpq $1, 48(%r14) sbbl $-1, %r12d cmpq $0, 40(%r14) je LBB0_10 ## %bb.1: incl %r12d cmpl $0, 24(%r14) jle LBB0_10 ## %bb.2: xorl %r15d, %r15d leaq -72(%rbp), %r13 movq _THERMAL_WEIGHT_DEFAULT@GOTPCREL(%rip), %rbx jmp LBB0_3 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi movq -64(%rbp), %rdx ## 8-byte Reload callq _thermal_zone_unbind_cooling_device testl %eax, %eax je LBB0_9 jmp LBB0_34 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 32(%r14), %rax movl (%rax,%r15,4), %edi movq %r13, %rsi callq _acpi_bus_get_device movl %eax, %edi callq _ACPI_FAILURE testq %rax, %rax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload cmpq %rax, -72(%rbp) jne LBB0_9 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq _THERMAL_NO_LIMIT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl (%rbx), %r9d movq -56(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi movq -64(%rbp), %rdx ## 8-byte Reload movl %ecx, %r8d callq _thermal_zone_bind_cooling_device testl %eax, %eax jne LBB0_34 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 incq %r15 movslq 24(%r14), %rax cmpq %rax, %r15 jl LBB0_3 LBB0_10: movq _ACPI_THERMAL_MAX_ACTIVE@GOTPCREL(%rip), %rax movl (%rax), %ecx testl %ecx, %ecx jle LBB0_19 ## %bb.11: movq 16(%r14), %rax xorl %r15d, %r15d jmp LBB0_12 .p2align 4, 0x90 LBB0_29: ## in Loop: Header=BB0_12 Depth=1 incq %r15 movslq %ecx, %rdx cmpq %rdx, %r15 jge LBB0_19 LBB0_12: ## =>This Loop Header: Depth=1 ## Child Loop BB0_15 Depth 2 leaq (%r15,%r15,2), %r13 cmpl $0, 16(%rax,%r13,8) je LBB0_29 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 incl %r12d cmpl $0, (%rax,%r13,8) jle LBB0_29 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 xorl %ebx, %ebx jmp LBB0_15 LBB0_25: ## in Loop: Header=BB0_15 Depth=2 movq -56(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi movq -64(%rbp), %rdx ## 8-byte Reload callq _thermal_zone_unbind_cooling_device testl %eax, %eax je LBB0_27 jmp LBB0_34 .p2align 4, 0x90 LBB0_15: ## Parent Loop BB0_12 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%rax,%r13,8), %rax movl (%rax,%rbx,4), %edi leaq -72(%rbp), %rsi callq _acpi_bus_get_device movl %eax, %edi callq _ACPI_FAILURE testq %rax, %rax jne LBB0_27 ## %bb.16: ## in Loop: Header=BB0_15 Depth=2 movq -80(%rbp), %rax ## 8-byte Reload cmpq %rax, -72(%rbp) jne LBB0_27 ## %bb.17: ## in Loop: Header=BB0_15 Depth=2 cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_25 ## %bb.18: ## in Loop: Header=BB0_15 Depth=2 movq _THERMAL_NO_LIMIT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _THERMAL_WEIGHT_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %r9d movq -56(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi movq -64(%rbp), %rdx ## 8-byte Reload movl %ecx, %r8d callq _thermal_zone_bind_cooling_device testl %eax, %eax jne LBB0_34 LBB0_27: ## in Loop: Header=BB0_15 Depth=2 incq %rbx movq 16(%r14), %rax movslq (%rax,%r13,8), %rcx cmpq %rcx, %rbx jl LBB0_15 ## %bb.28: ## in Loop: Header=BB0_12 Depth=1 movq _ACPI_THERMAL_MAX_ACTIVE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx jmp LBB0_29 LBB0_19: cmpl $0, (%r14) jle LBB0_33 ## %bb.20: xorl %r15d, %r15d leaq -72(%rbp), %r12 movq _THERMAL_TRIPS_NONE@GOTPCREL(%rip), %r13 movq _THERMAL_WEIGHT_DEFAULT@GOTPCREL(%rip), %rbx jmp LBB0_21 LBB0_30: ## in Loop: Header=BB0_21 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload movq -64(%rbp), %rdx ## 8-byte Reload callq _thermal_zone_unbind_cooling_device testl %eax, %eax je LBB0_32 jmp LBB0_34 .p2align 4, 0x90 LBB0_21: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rax movl (%rax,%r15,4), %edi movq %r12, %rsi callq _acpi_bus_get_device movl %eax, %edi callq _ACPI_SUCCESS testq %rax, %rax je LBB0_32 ## %bb.22: ## in Loop: Header=BB0_21 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload cmpq %rax, -72(%rbp) jne LBB0_32 ## %bb.23: ## in Loop: Header=BB0_21 Depth=1 movl (%r13), %esi cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_30 ## %bb.24: ## in Loop: Header=BB0_21 Depth=1 movq _THERMAL_NO_LIMIT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl (%rbx), %r9d movq -56(%rbp), %rdi ## 8-byte Reload movq -64(%rbp), %rdx ## 8-byte Reload movl %ecx, %r8d callq _thermal_zone_bind_cooling_device testl %eax, %eax jne LBB0_34 LBB0_32: ## in Loop: Header=BB0_21 Depth=1 incq %r15 movslq (%r14), %rax cmpq %rax, %r15 jl LBB0_21 LBB0_33: xorl %eax, %eax LBB0_34: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _THERMAL_NO_LIMIT,4,2 ## @THERMAL_NO_LIMIT .comm _THERMAL_WEIGHT_DEFAULT,4,2 ## @THERMAL_WEIGHT_DEFAULT .comm _ACPI_THERMAL_MAX_ACTIVE,4,2 ## @ACPI_THERMAL_MAX_ACTIVE .comm _THERMAL_TRIPS_NONE,4,2 ## @THERMAL_TRIPS_NONE .no_dead_strip _acpi_thermal_cooling_device_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function acpi_thermal_cooling_device_cb _acpi_thermal_cooling_device_cb: ; @acpi_thermal_cooling_device_cb .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 mov x20, x1 mov x21, x0 ldr x23, [x1] ldr x24, [x0] ldp x9, x8, [x24, #48] cmp x8, #0 mov w8, #-2 ; =0xfffffffe cinc w8, w8, eq ldr x10, [x24, #40] cmp x9, #0 cinc w22, w8, ne cbz x10, LBB0_8 ; %bb.1: add w22, w22, #1 ldr w8, [x24, #24] cmp w8, #1 b.lt LBB0_8 ; %bb.2: mov x25, #0 ; =0x0 Lloh0: adrp x26, _THERMAL_NO_LIMIT@GOTPAGE Lloh1: ldr x26, [x26, _THERMAL_NO_LIMIT@GOTPAGEOFF] Lloh2: adrp x27, _THERMAL_WEIGHT_DEFAULT@GOTPAGE Lloh3: ldr x27, [x27, _THERMAL_WEIGHT_DEFAULT@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 mov x1, x22 mov x2, x20 bl _thermal_zone_unbind_cooling_device cbz w0, LBB0_7 b LBB0_28 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x24, #32] ldr w0, [x8, x25, lsl #2] add x1, sp, #8 bl _acpi_bus_get_device bl _ACPI_FAILURE ldr x8, [sp, #8] cmp x0, #0 ccmp x8, x23, #4, ne b.ne LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cbz w19, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w3, [x26] ldr w5, [x27] mov x0, x21 mov x1, x22 mov x2, x20 mov x4, x3 bl _thermal_zone_bind_cooling_device cbnz w0, LBB0_28 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 add x25, x25, #1 ldrsw x8, [x24, #24] cmp x25, x8 b.lt LBB0_4 LBB0_8: Lloh4: adrp x8, _ACPI_THERMAL_MAX_ACTIVE@GOTPAGE Lloh5: ldr x8, [x8, _ACPI_THERMAL_MAX_ACTIVE@GOTPAGEOFF] Lloh6: ldr w9, [x8] cmp w9, #1 b.lt LBB0_20 ; %bb.9: mov x26, #0 ; =0x0 ldr x8, [x24, #16] mov w27, #24 ; =0x18 Lloh7: adrp x25, _THERMAL_WEIGHT_DEFAULT@GOTPAGE Lloh8: ldr x25, [x25, _THERMAL_WEIGHT_DEFAULT@GOTPAGEOFF] b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 Lloh9: adrp x9, _ACPI_THERMAL_MAX_ACTIVE@GOTPAGE Lloh10: ldr x9, [x9, _ACPI_THERMAL_MAX_ACTIVE@GOTPAGEOFF] Lloh11: ldr w9, [x9] LBB0_11: ; in Loop: Header=BB0_12 Depth=1 add x26, x26, #1 cmp x26, w9, sxtw b.ge LBB0_20 LBB0_12: ; =>This Loop Header: Depth=1 ; Child Loop BB0_16 Depth 2 madd x10, x26, x27, x8 ldr w10, [x10, #16] cbz w10, LBB0_11 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 add w22, w22, #1 mul x10, x26, x27 ldr w10, [x8, x10] cmp w10, #1 b.lt LBB0_11 ; %bb.14: ; in Loop: Header=BB0_12 Depth=1 mov x28, #0 ; =0x0 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_16 Depth=2 mov x0, x21 mov x1, x22 mov x2, x20 bl _thermal_zone_unbind_cooling_device cbz w0, LBB0_19 b LBB0_28 LBB0_16: ; Parent Loop BB0_12 Depth=1 ; => This Inner Loop Header: Depth=2 madd x8, x26, x27, x8 ldr x8, [x8, #8] ldr w0, [x8, x28, lsl #2] add x1, sp, #8 bl _acpi_bus_get_device bl _ACPI_FAILURE ldr x8, [sp, #8] cmp x0, #0 ccmp x8, x23, #0, eq b.ne LBB0_19 ; %bb.17: ; in Loop: Header=BB0_16 Depth=2 cbz w19, LBB0_15 ; %bb.18: ; in Loop: Header=BB0_16 Depth=2 Lloh12: adrp x8, _THERMAL_NO_LIMIT@GOTPAGE Lloh13: ldr x8, [x8, _THERMAL_NO_LIMIT@GOTPAGEOFF] Lloh14: ldr w3, [x8] ldr w5, [x25] mov x0, x21 mov x1, x22 mov x2, x20 mov x4, x3 bl _thermal_zone_bind_cooling_device cbnz w0, LBB0_28 LBB0_19: ; in Loop: Header=BB0_16 Depth=2 add x28, x28, #1 ldr x8, [x24, #16] mul x9, x26, x27 ldrsw x9, [x8, x9] cmp x28, x9 b.lt LBB0_16 b LBB0_10 LBB0_20: ldr w8, [x24] cmp w8, #1 b.lt LBB0_27 ; %bb.21: mov x22, #0 ; =0x0 Lloh15: adrp x25, _THERMAL_TRIPS_NONE@GOTPAGE Lloh16: ldr x25, [x25, _THERMAL_TRIPS_NONE@GOTPAGEOFF] Lloh17: adrp x26, _THERMAL_NO_LIMIT@GOTPAGE Lloh18: ldr x26, [x26, _THERMAL_NO_LIMIT@GOTPAGEOFF] Lloh19: adrp x27, _THERMAL_WEIGHT_DEFAULT@GOTPAGE Lloh20: ldr x27, [x27, _THERMAL_WEIGHT_DEFAULT@GOTPAGEOFF] b LBB0_23 LBB0_22: ; in Loop: Header=BB0_23 Depth=1 ldr w3, [x26] ldr w5, [x27] mov x0, x21 mov x2, x20 mov x4, x3 bl _thermal_zone_bind_cooling_device cbz w0, LBB0_26 b LBB0_28 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldr x8, [x24, #8] ldr w0, [x8, x22, lsl #2] add x1, sp, #8 bl _acpi_bus_get_device bl _ACPI_SUCCESS ldr x8, [sp, #8] cmp x0, #0 ccmp x8, x23, #0, ne b.ne LBB0_26 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 ldr w1, [x25] cbnz w19, LBB0_22 ; %bb.25: ; in Loop: Header=BB0_23 Depth=1 mov x0, x21 mov x2, x20 bl _thermal_zone_unbind_cooling_device cbnz w0, LBB0_28 LBB0_26: ; in Loop: Header=BB0_23 Depth=1 add x22, x22, #1 ldrsw x8, [x24] cmp x22, x8 b.lt LBB0_23 LBB0_27: mov w0, #0 ; =0x0 LBB0_28: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _THERMAL_NO_LIMIT,4,2 ; @THERMAL_NO_LIMIT .comm _THERMAL_WEIGHT_DEFAULT,4,2 ; @THERMAL_WEIGHT_DEFAULT .comm _ACPI_THERMAL_MAX_ACTIVE,4,2 ; @ACPI_THERMAL_MAX_ACTIVE .comm _THERMAL_TRIPS_NONE,4,2 ; @THERMAL_TRIPS_NONE .no_dead_strip _acpi_thermal_cooling_device_cb .subsections_via_symbols
assembly_file_13089.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_insn_to_hash_chain _add_insn_to_hash_chain: ## @add_insn_to_hash_chain .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %ebx movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %r12 movq %rsi, %rdi callq _count_decodable_bits movl %eax, %r14d movl %ebx, %eax leaq (,%rax,8), %rcx addq %r13, %rcx movq (%r13,%rax,8), %rbx testq %rbx, %rbx je LBB0_5 ## %bb.1: movq %rcx, -48(%rbp) ## 8-byte Spill movq 8(%rbx), %rdi callq _count_decodable_bits cmpl %eax, %r14d jge LBB0_2 ## %bb.4: movq %r15, %rcx .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq %rbx, %r13 movq (%rbx), %rbx testq %rbx, %rbx je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_7 Depth=1 movq 8(%rbx), %rdi callq _count_decodable_bits movq %r15, %rcx cmpl %eax, %r14d jl LBB0_7 jmp LBB0_3 LBB0_5: movq %r15, 8(%r12) movq $0, (%r12) jmp LBB0_10 LBB0_2: xorl %r13d, %r13d movq %r15, %rcx LBB0_3: movq %rcx, 8(%r12) movq %rbx, (%r12) testq %r13, %r13 movq -48(%rbp), %rcx ## 8-byte Reload jne LBB0_9 jmp LBB0_10 LBB0_8: movq %rcx, 8(%r12) movq $0, (%r12) LBB0_9: movq %r13, %rcx LBB0_10: movq %r12, (%rcx) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _add_insn_to_hash_chain .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_insn_to_hash_chain _add_insn_to_hash_chain: ; @add_insn_to_hash_chain .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x3 mov x23, x2 mov x20, x1 mov x19, x0 mov x0, x1 bl _count_decodable_bits add x22, x23, w22, uxtw #3 ldr x23, [x22] cbz x23, LBB0_4 ; %bb.1: mov x21, x0 ldr x0, [x23, #8] bl _count_decodable_bits cmp w21, w0 b.ge LBB0_5 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x24, x23 ldr x23, [x23] cbz x23, LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x0, [x23, #8] bl _count_decodable_bits cmp w21, w0 b.lt LBB0_2 b LBB0_6 LBB0_4: stp xzr, x20, [x19] b LBB0_9 LBB0_5: mov x24, #0 LBB0_6: stp x23, x20, [x19] cbnz x24, LBB0_8 b LBB0_9 LBB0_7: stp xzr, x20, [x19] LBB0_8: mov x22, x24 LBB0_9: str x19, [x22] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _add_insn_to_hash_chain .subsections_via_symbols
AnghaBench/freebsd/contrib/binutils/opcodes/extr_cgen-dis.c_add_insn_to_hash_chain.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movl $40032, %eax ## imm = 0x9C60 callq ____chkstk_darwin subq %rax, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_8 ## %bb.1: movq %rax, %r14 movq %rax, %rdi callq _feof testl %eax, %eax jne LBB0_5 ## %bb.2: leaq -40048(%rbp), %rbx leaq L_.str.3(%rip), %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r15, %rsi movq %rbx, %rdx xorl %eax, %eax callq _fscanf movq %r14, %rdi callq _feof testl %eax, %eax jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 leaq 1(%r12), %rax addq $4, %rbx cmpq $9999, %r12 ## imm = 0x270F movq %rax, %r12 jb LBB0_3 LBB0_5: movq %r14, %rdi callq _fclose leaq L_str(%rip), %rdi callq _puts leaq L_.str.3(%rip), %rdi xorl %ebx, %ebx leaq -40056(%rbp), %rsi xorl %eax, %eax callq _scanf movq -40056(%rbp), %rax movslq -40052(%rbp,%rax,4), %rax movabsq $20365011074, %rsi ## imm = 0x4BDD96882 imulq %rax, %rsi leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.6(%rip), %rdi callq _system jmp LBB0_6 LBB0_8: leaq L_str.7(%rip), %rdi callq _puts movl $1, %ebx LBB0_6: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_9 ## %bb.7: movl %ebx, %eax addq $40032, %rsp ## imm = 0x9C60 popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_9: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "10000.dat" L_.str.1: ## @.str.1 .asciz "r" L_.str.3: ## @.str.3 .asciz "%d" L_.str.5: ## @.str.5 .asciz "Answer: %lu\n" L_.str.6: ## @.str.6 .asciz "pause" L_str: ## @str .asciz "Enter the desired location of arr: to find fibonacci sequence:" L_str.7: ## @str.7 .asciz "Error: can't open file to read" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov w9, #40032 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #9, lsl #12 ; =36864 sub sp, sp, #3168 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-56] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF bl _fopen cbz x0, LBB0_6 ; %bb.1: mov x19, x0 bl _feof cbnz w0, LBB0_5 ; %bb.2: mov x21, #0 add x22, sp, #24 mov w23, #9999 Lloh9: adrp x20, l_.str.3@PAGE Lloh10: add x20, x20, l_.str.3@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 str x22, [sp] mov x0, x19 mov x1, x20 bl _fscanf mov x0, x19 bl _feof cbnz w0, LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x8, x21, #1 add x22, x22, #4 cmp x21, x23 mov x21, x8 b.lo LBB0_3 LBB0_5: mov x0, x19 bl _fclose Lloh11: adrp x0, l_str@PAGE Lloh12: add x0, x0, l_str@PAGEOFF bl _puts add x8, sp, #16 str x8, [sp] Lloh13: adrp x0, l_.str.3@PAGE Lloh14: add x0, x0, l_.str.3@PAGEOFF bl _scanf ldr x8, [sp, #16] add x9, sp, #24 add x8, x9, x8, lsl #2 ldursw x8, [x8, #-4] mov x9, #26754 movk x9, #48601, lsl #16 movk x9, #4, lsl #32 mul x8, x8, x9 str x8, [sp] Lloh15: adrp x0, l_.str.5@PAGE Lloh16: add x0, x0, l_.str.5@PAGEOFF bl _printf Lloh17: adrp x0, l_.str.6@PAGE Lloh18: add x0, x0, l_.str.6@PAGEOFF bl _system mov w0, #0 b LBB0_7 LBB0_6: Lloh19: adrp x0, l_str.7@PAGE Lloh20: add x0, x0, l_str.7@PAGEOFF bl _puts mov w0, #1 LBB0_7: ldur x8, [x29, #-56] Lloh21: adrp x9, ___stack_chk_guard@GOTPAGE Lloh22: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh23: ldr x9, [x9] cmp x9, x8 b.ne LBB0_9 ; %bb.8: add sp, sp, #9, lsl #12 ; =36864 add sp, sp, #3168 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_9: bl ___stack_chk_fail .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "10000.dat" l_.str.1: ; @.str.1 .asciz "r" l_.str.3: ; @.str.3 .asciz "%d" l_.str.5: ; @.str.5 .asciz "Answer: %lu\n" l_.str.6: ; @.str.6 .asciz "pause" l_str: ; @str .asciz "Enter the desired location of arr: to find fibonacci sequence:" l_str.7: ; @str.7 .asciz "Error: can't open file to read" .subsections_via_symbols
the_stack_data/193892626.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_vt4mappingtable _load_vt4mappingtable: ## @load_vt4mappingtable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testl %edi, %edi je LBB0_8 ## %bb.1: movq %rsi, %r15 movl %edi, %r14d movl $24, %esi callq _calloc testq %rax, %rax je LBB0_6 ## %bb.2: movq %rax, %r12 leal (,%r14,8), %eax leal (%rax,%rax,2), %esi movq %r12, %rdi movl $1, %edx movq %r15, %rcx callq _fread cmpl $1, %eax jne LBB0_7 ## %bb.3: movl %r14d, %eax shlq $3, %rax leaq (%rax,%rax,2), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl 16(%r12,%rbx), %edi callq _be32toh movl %eax, 16(%r12,%rbx) movq 8(%r12,%rbx), %rdi callq _be16toh movq %rax, 8(%r12,%rbx) movq (%r12,%rbx), %rdi callq _be16toh movq %rax, (%r12,%rbx) addq $24, %rbx cmpq %rbx, %r14 jne LBB0_4 jmp LBB0_9 LBB0_6: leaq L_.str(%rip), %rdi callq _warn jmp LBB0_8 LBB0_7: leaq L_.str.1(%rip), %rdi callq _warn movq %r12, %rdi callq _free LBB0_8: xorl %r12d, %r12d LBB0_9: movq %r12, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "calloc" L_.str.1: ## @.str.1 .asciz "read mappings" .no_dead_strip _load_vt4mappingtable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_vt4mappingtable _load_vt4mappingtable: ; @load_vt4mappingtable .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz w0, LBB0_7 ; %bb.1: mov x21, x1 mov x20, x0 mov w1, #24 bl _calloc mov x19, x0 cbz x0, LBB0_5 ; %bb.2: add w8, w20, w20, lsl #1 lsl w1, w8, #3 mov x0, x19 mov w2, #1 mov x3, x21 bl _fread cmp w0, #1 b.ne LBB0_6 ; %bb.3: mov x21, #0 mov w8, #24 umull x20, w20, w8 LBB0_4: ; =>This Inner Loop Header: Depth=1 add x22, x19, x21 ldr w0, [x22, #16] bl _be32toh str w0, [x22, #16] ldr x0, [x22, #8] bl _be16toh str x0, [x22, #8] ldr x0, [x22] bl _be16toh str x0, [x22] add x21, x21, #24 cmp x20, x21 b.ne LBB0_4 b LBB0_8 LBB0_5: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _warn b LBB0_8 LBB0_6: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _warn mov x0, x19 bl _free LBB0_7: mov x19, #0 LBB0_8: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "calloc" l_.str.1: ; @.str.1 .asciz "read mappings" .no_dead_strip _load_vt4mappingtable .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/vidcontrol/extr_vidcontrol.c_load_vt4mappingtable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_scan_kb ## -- Begin function matrix_scan_kb .p2align 4, 0x90 _matrix_scan_kb: ## @matrix_scan_kb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _matrix_scan_user ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_scan_kb ; -- Begin function matrix_scan_kb .p2align 2 _matrix_scan_kb: ; @matrix_scan_kb .cfi_startproc ; %bb.0: b _matrix_scan_user .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/doro67/regular/extr_regular.c_matrix_scan_kb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vs_modeline _vs_modeline: ## @vs_modeline .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq 40(%rdi), %r13 movq 8(%r13), %rbx callq _LASTLINE movq %r12, %rdi movl %eax, %esi xorl %edx, %edx callq *%rbx movq %r12, %rdi callq _IS_SPLIT testq %rax, %rax jne LBB0_1 ## %bb.4: movq %r12, %rdi callq *16(%r13) movslq (%r12), %r14 decq %r14 movq _O_RULER@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _O_ISSET testq %rax, %rax je LBB0_5 ## %bb.6: leaq -104(%rbp), %rsi movq %r12, %rdi callq _vs_column movl 24(%r12), %ecx movl -104(%rbp), %r8d incl %r8d leaq L_.str.5(%rip), %rdx leaq -80(%rbp), %rdi movl $20, %esi callq _snprintf movq %rax, %r15 movq %rax, -96(%rbp) incq %rax shrq %rax movq %r14, %rbx subq %rax, %rbx cmpq $2, %rbx jae LBB0_7 ## %bb.8: movq %r15, %rbx addq $2, %rbx cmpq %r14, %rbx jae LBB0_9 ## %bb.10: leaq L_.str.6(%rip), %rsi movl $2, %edx movq %r12, %rdi callq *(%r13) jmp LBB0_11 LBB0_5: xorl %ebx, %ebx jmp LBB0_12 LBB0_7: shrq %rbx movq 8(%r13), %rax movq %rax, -88(%rbp) ## 8-byte Spill movq %r12, %rdi callq _LASTLINE movq %r12, %rdi movl %eax, %esi movq %rbx, %rdx callq *-88(%rbp) ## 8-byte Folded Reload movq %r15, %rbx jmp LBB0_11 LBB0_9: xorl %ebx, %ebx LBB0_11: leaq -80(%rbp), %rsi movq %r12, %rdi movq %r15, %rdx callq *(%r13) LBB0_12: movq _O_SHOWMODE@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %r12, %rdi callq _O_ISSET testq %rax, %rax je LBB0_13 ## %bb.14: movl 16(%r12), %edi movq _F_MODIFIED@GOTPCREL(%rip), %rax movl (%rax), %esi callq _F_ISSET cmpq $1, %rax adcq $-1, %r14 movq 8(%r12), %rax leaq _reltable.vs_modeline(%rip), %rcx movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi leaq -96(%rbp), %rdx movq %r12, %rdi callq _msg_cat movq %rax, -88(%rbp) ## 8-byte Spill subq -96(%rbp), %r14 jmp LBB0_15 LBB0_13: xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill LBB0_15: addq $2, %rbx cmpq %rbx, %r14 jbe LBB0_2 ## %bb.16: movq 8(%r13), %rbx movq %r12, %rdi callq _LASTLINE movq %r12, %rdi movl %eax, %esi movq %r14, %rdx callq *%rbx movl (%r15), %esi movq %r12, %rdi callq _O_ISSET testq %rax, %rax je LBB0_2 ## %bb.17: movl 16(%r12), %edi movq _F_MODIFIED@GOTPCREL(%rip), %rax movl (%rax), %esi callq _F_ISSET testq %rax, %rax je LBB0_19 ## %bb.18: movq (%r13), %r14 movq %r12, %rdi movl $42, %esi callq _KEY_NAME movq %rax, %rbx movq %r12, %rdi movl $42, %esi callq _KEY_LEN movslq %eax, %rdx movq %r12, %rdi movq %rbx, %rsi callq *%r14 LBB0_19: movq -96(%rbp), %rdx movq %r12, %rdi movq -88(%rbp), %rsi ## 8-byte Reload callq *(%r13) LBB0_2: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_20 ## %bb.3: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: movq %r12, %rdi callq _vs_modeline.cold.1 jmp LBB0_2 LBB0_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function vs_modeline.cold.1 _vs_modeline.cold.1: ## @vs_modeline.cold.1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq 32(%rdi), %rax movl (%rax), %ebx movl %ebx, %edi callq _strlen leaq 1(%rax), %rdx movq %r14, %rdi movl %ebx, %esi callq _CHAR2INT ud2 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2 ## @reltable.vs_modeline _reltable.vs_modeline: .long L_.str-_reltable.vs_modeline .long L_.str.1-_reltable.vs_modeline .long L_.str.2-_reltable.vs_modeline .long L_.str.3-_reltable.vs_modeline .long L_.str.4-_reltable.vs_modeline .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "215|Append" L_.str.1: ## @.str.1 .asciz "216|Change" L_.str.2: ## @.str.2 .asciz "217|Command" L_.str.3: ## @.str.3 .asciz "218|Insert" L_.str.4: ## @.str.4 .asciz "219|Replace" .comm _O_RULER,4,2 ## @O_RULER L_.str.5: ## @.str.5 .asciz "%lu,%lu" L_.str.6: ## @.str.6 .asciz " " .comm _O_SHOWMODE,4,2 ## @O_SHOWMODE .comm _F_MODIFIED,4,2 ## @F_MODIFIED .no_dead_strip _vs_modeline .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vs_modeline _vs_modeline: ; @vs_modeline .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] ldr x23, [x0, #40] ldr x20, [x23, #8] bl _LASTLINE mov x1, x0 mov x0, x19 mov x2, #0 blr x20 mov x0, x19 bl _IS_SPLIT cbnz x0, LBB0_19 ; %bb.1: ldr x8, [x23, #16] mov x0, x19 blr x8 ldrsw x8, [x19] sub x20, x8, #1 Lloh3: adrp x8, _O_RULER@GOTPAGE Lloh4: ldr x8, [x8, _O_RULER@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _O_ISSET cbz x0, LBB0_5 ; %bb.2: add x1, sp, #8 mov x0, x19 bl _vs_column ldr w3, [x19, #24] ldr w8, [sp, #8] add w4, w8, #1 Lloh6: adrp x2, l_.str.5@PAGE Lloh7: add x2, x2, l_.str.5@PAGEOFF add x0, sp, #20 mov w1, #20 bl _snprintf mov x21, x0 str x0, [sp] add x8, x0, #1 sub x8, x20, x8, lsr #1 cmp x8, #2 b.hs LBB0_6 ; %bb.3: add x22, x21, #2 cmp x22, x20 b.hs LBB0_7 ; %bb.4: ldr x8, [x23] Lloh8: adrp x1, l_.str.6@PAGE Lloh9: add x1, x1, l_.str.6@PAGEOFF mov x0, x19 mov w2, #2 blr x8 b LBB0_8 LBB0_5: mov x22, #0 b LBB0_9 LBB0_6: lsr x22, x8, #1 ldr x24, [x23, #8] mov x0, x19 bl _LASTLINE mov x1, x0 mov x0, x19 mov x2, x22 blr x24 mov x22, x21 b LBB0_8 LBB0_7: mov x22, #0 LBB0_8: ldr x8, [x23] add x1, sp, #20 mov x0, x19 mov x2, x21 blr x8 LBB0_9: Lloh10: adrp x24, _O_SHOWMODE@GOTPAGE Lloh11: ldr x24, [x24, _O_SHOWMODE@GOTPAGEOFF] ldr w1, [x24] mov x0, x19 bl _O_ISSET cbz x0, LBB0_11 ; %bb.10: ldr w0, [x19, #16] Lloh12: adrp x8, _F_MODIFIED@GOTPAGE Lloh13: ldr x8, [x8, _F_MODIFIED@GOTPAGEOFF] Lloh14: ldr w1, [x8] bl _F_ISSET cmp x0, #0 cset w8, ne sub x20, x20, x8 ldr x8, [x19, #8] Lloh15: adrp x9, _vs_modeline.modes@PAGE Lloh16: add x9, x9, _vs_modeline.modes@PAGEOFF ldr x1, [x9, x8, lsl #3] mov x2, sp mov x0, x19 bl _msg_cat mov x21, x0 ldr x8, [sp] sub x20, x20, x8 b LBB0_12 LBB0_11: mov x21, #0 LBB0_12: add x8, x22, #2 cmp x20, x8 b.ls LBB0_17 ; %bb.13: ldr x22, [x23, #8] mov x0, x19 bl _LASTLINE mov x1, x0 mov x0, x19 mov x2, x20 blr x22 ldr w1, [x24] mov x0, x19 bl _O_ISSET cbz x0, LBB0_17 ; %bb.14: ldr w0, [x19, #16] Lloh17: adrp x8, _F_MODIFIED@GOTPAGE Lloh18: ldr x8, [x8, _F_MODIFIED@GOTPAGEOFF] Lloh19: ldr w1, [x8] bl _F_ISSET cbz x0, LBB0_16 ; %bb.15: ldr x22, [x23] mov x0, x19 mov w1, #42 bl _KEY_NAME mov x20, x0 mov x0, x19 mov w1, #42 bl _KEY_LEN ; kill: def $w0 killed $w0 def $x0 sxtw x2, w0 mov x0, x19 mov x1, x20 blr x22 LBB0_16: ldr x8, [x23] ldr x2, [sp] mov x0, x19 mov x1, x21 blr x8 LBB0_17: ldr x8, [sp, #40] Lloh20: adrp x9, ___stack_chk_guard@GOTPAGE Lloh21: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.18: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_19: mov x0, x19 bl _vs_modeline.cold.1 LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function vs_modeline.cold.1 _vs_modeline.cold.1: ; @vs_modeline.cold.1 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #32] ldr w20, [x8] mov x0, x20 bl _strlen add x2, x0, #1 mov x0, x19 mov x1, x20 bl _CHAR2INT brk #0x1 .cfi_endproc ; -- End function .section __DATA,__const .p2align 3 ; @vs_modeline.modes _vs_modeline.modes: .quad l_.str .quad l_.str.1 .quad l_.str.2 .quad l_.str.3 .quad l_.str.4 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "215|Append" l_.str.1: ; @.str.1 .asciz "216|Change" l_.str.2: ; @.str.2 .asciz "217|Command" l_.str.3: ; @.str.3 .asciz "218|Insert" l_.str.4: ; @.str.4 .asciz "219|Replace" .comm _O_RULER,4,2 ; @O_RULER l_.str.5: ; @.str.5 .asciz "%lu,%lu" l_.str.6: ; @.str.6 .asciz " " .comm _O_SHOWMODE,4,2 ; @O_SHOWMODE .comm _F_MODIFIED,4,2 ; @F_MODIFIED .no_dead_strip _vs_modeline .subsections_via_symbols
AnghaBench/freebsd/contrib/nvi/vi/extr_vs_refresh.c_vs_modeline.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _megaInit ## -- Begin function megaInit .p2align 4, 0x90 _megaInit: ## @megaInit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 cmpl $2, %edi jne LBB1_7 ## %bb.1: movq 8(%rsi), %rdi xorl %esi, %esi movl $10, %edx callq _strtoul addl $1373777115, %eax ## imm = 0x51E22CDB testb $1, %al jne LBB1_2 ## %bb.3: movl %eax, %ecx shrb $2, %cl andb $6, %cl orb $1, %cl movl %eax, %edx shll %cl, %edx shll $2, %edx andl $56, %edx orl %eax, %edx shrl $16, %eax jmp LBB1_4 LBB1_2: movl %eax, %edx shrl $16, %edx LBB1_4: shll $16, %eax movzwl %dx, %ecx orl %eax, %ecx shldl $3, %eax, %ecx imull $-574154224, %ecx, %ebx ## imm = 0xDDC71A10 cmpl $-1933771232, %ebx ## imm = 0x8CBCFE20 jne LBB1_6 ## %bb.5: leaq L_str(%rip), %rdi callq _puts LBB1_6: leaq L_.str.2(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq LBB1_7: leaq L_.str(%rip), %rdi movl $1, %esi xorl %eax, %eax callq _printf movl $-1, %edi callq _exit .cfi_endproc ## -- End function .globl _RandomFunc ## -- Begin function RandomFunc .p2align 4, 0x90 _RandomFunc: ## @RandomFunc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1373777115, %eax ## imm = 0x51E22CDB addl (%rdi), %eax testb $1, %al jne LBB2_1 ## %bb.2: movl %eax, %ecx shrb $2, %cl andb $6, %cl orb $1, %cl movl %eax, %edx shll %cl, %edx shll $2, %edx andl $56, %edx orl %eax, %edx shrl $16, %eax jmp LBB2_3 LBB2_1: movl %eax, %edx shrl $16, %edx LBB2_3: shll $16, %eax movzwl %dx, %ecx orl %eax, %ecx shldl $3, %eax, %ecx imull $-574154224, %ecx, %eax ## imm = 0xDDC71A10 movl %eax, (%rsi) popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Call this program with %i arguments\n" L_.str.2: ## @.str.2 .asciz "%u\n" L_str: ## @str .asciz "You win!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _megaInit ; -- Begin function megaInit .p2align 2 _megaInit: ; @megaInit .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp w0, #2 b.ne LBB1_4 ; %bb.1: ldr x0, [x1, #8] mov x1, #0 mov w2, #10 bl _strtoul mov w8, #11483 movk w8, #20962, lsl #16 add w8, w0, w8 lsr w9, w8, #2 and w9, w9, #0x6 orr w9, w9, #0x1 lsl w9, w8, w9 lsl w9, w9, #2 and w9, w9, #0x38 orr w9, w9, w8 lsr w10, w8, #16 tst w8, #0x1 csel w9, w9, w10, eq csel w8, w10, w8, eq lsl w8, w8, #16 ror w8, w8, #29 and w9, w9, #0xffff orr w8, w8, w9, lsl #3 mov w9, #6672 movk w9, #56775, lsl #16 mul w19, w8, w9 mov w8, #65056 movk w8, #36028, lsl #16 cmp w19, w8 b.ne LBB1_3 ; %bb.2: Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts LBB1_3: str x19, [sp] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB1_4: mov w8, #1 str x8, [sp] Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #-1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .globl _RandomFunc ; -- Begin function RandomFunc .p2align 2 _RandomFunc: ; @RandomFunc .cfi_startproc ; %bb.0: ldr w8, [x0] mov w9, #11483 movk w9, #20962, lsl #16 add w8, w8, w9 lsr w9, w8, #2 and w9, w9, #0x6 orr w9, w9, #0x1 lsl w9, w8, w9 lsl w9, w9, #2 and w9, w9, #0x38 orr w9, w9, w8 lsr w10, w8, #16 tst w8, #0x1 csel w9, w9, w10, eq csel w8, w10, w8, eq lsl w8, w8, #16 and w9, w9, #0xffff ror w8, w8, #29 orr w8, w8, w9, lsl #3 mov w9, #6672 movk w9, #56775, lsl #16 mul w8, w8, w9 str w8, [x1] ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Call this program with %i arguments\n" l_.str.2: ; @.str.2 .asciz "%u\n" l_str: ; @str .asciz "You win!" .subsections_via_symbols
the_stack_data/243892986.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function verify_vc_device _verify_vc_device: ## @verify_vc_device .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq _TIOCL_GETFGCONSOLE@GOTPCREL(%rip), %rax movb (%rax), %al movb %al, -1(%rbp) movq _TIOCLINUX@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -1(%rbp), %rdx callq _ioctl movq _errno@GOTPCREL(%rip), %rcx xorl %edx, %edx subl (%rcx), %edx testl %eax, %eax cmovsl %edx, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _TIOCL_GETFGCONSOLE,1,0 ## @TIOCL_GETFGCONSOLE .comm _TIOCLINUX,4,2 ## @TIOCLINUX .comm _errno,4,2 ## @errno .no_dead_strip _verify_vc_device .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function verify_vc_device _verify_vc_device: ; @verify_vc_device .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _TIOCL_GETFGCONSOLE@GOTPAGE Lloh1: ldr x8, [x8, _TIOCL_GETFGCONSOLE@GOTPAGEOFF] ldrb w8, [x8] sturb w8, [x29, #-1] Lloh2: adrp x8, _TIOCLINUX@GOTPAGE Lloh3: ldr x8, [x8, _TIOCLINUX@GOTPAGEOFF] Lloh4: ldr w1, [x8] sub x2, x29, #1 bl _ioctl Lloh5: adrp x8, _errno@GOTPAGE Lloh6: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w0, #0 csneg w0, w0, w8, ge ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TIOCL_GETFGCONSOLE,1,0 ; @TIOCL_GETFGCONSOLE .comm _TIOCLINUX,4,2 ; @TIOCLINUX .comm _errno,4,2 ; @errno .no_dead_strip _verify_vc_device .subsections_via_symbols
AnghaBench/systemd/src/vconsole/extr_vconsole-setup.c_verify_vc_device.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x447a0000 ## float 1000 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -4(%rbp), %rsi xorl %eax, %eax callq _scanf movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss LCPI0_0(%rip), %xmm0 cvtss2sd %xmm0, %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Digite o valor do volume em metros cubicos: " L_.str.1: ## @.str.1 .asciz "%f" L_.str.2: ## @.str.2 .asciz "O volume em litros eh de: %.2f" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldur s0, [x29, #-4] mov w8, #1148846080 fmov s1, w8 fmul s0, s0, s1 fcvt d0, s0 str d0, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Digite o valor do volume em metros cubicos: " l_.str.1: ; @.str.1 .asciz "%f" l_.str.2: ; @.str.2 .asciz "O volume em litros eh de: %.2f" .subsections_via_symbols
the_stack_data/92325067.c
stack