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, 13, 0 sdk_version 13, 3 .globl _ngx_rtmp_receive_amf ## -- Begin function ngx_rtmp_receive_amf .p2align 4, 0x90 _ngx_rtmp_receive_amf: ## @ngx_rtmp_receive_amf .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 %rcx, %r14 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r12 leaq -56(%rbp), %r13 movq %r13, %rdi movl $16, %esi callq _ngx_memzero movq %rbx, -48(%rbp) movq (%r12), %rax movl (%rax), %eax movl %eax, -56(%rbp) movq %r13, %rdi movq %r15, %rsi movq %r14, %rdx callq _ngx_rtmp_amf_read addq $24, %rsp 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 _ngx_rtmp_receive_amf ; -- Begin function ngx_rtmp_receive_amf .p2align 2 _ngx_rtmp_receive_amf: ; @ngx_rtmp_receive_amf .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, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov x0, sp mov w1, #16 bl _ngx_memzero str x21, [sp, #8] ldr x8, [x22] ldr w8, [x8] str w8, [sp] mov x0, sp mov x1, x20 mov x2, x19 bl _ngx_rtmp_amf_read 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/nginx-rtmp-module/extr_ngx_rtmp_receive.c_ngx_rtmp_receive_amf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ledger_get_balance ## -- Begin function ledger_get_balance .p2align 4, 0x90 _ledger_get_balance: ## @ledger_get_balance .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 %rdx, %r14 movl %esi, %r15d movq %rdi, %rbx callq _ENTRY_VALID testl %eax, %eax je LBB0_1 ## %bb.2: movq (%rbx), %r12 movslq %r15d, %rax leaq (%rax,%rax,2), %rbx movq _LF_TRACK_CREDIT_ONLY@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r12,%rbx,8) je LBB0_4 ## %bb.3: xorl %edi, %edi cmpq $0, 8(%r12,%rbx,8) sete %dil jmp LBB0_7 LBB0_1: movq _KERN_INVALID_ARGUMENT@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_4: cmpq $0, 16(%r12,%rbx,8) js LBB0_5 ## %bb.6: movq 8(%r12,%rbx,8), %rdi shrq $63, %rdi xorl $1, %edi jmp LBB0_7 LBB0_5: xorl %edi, %edi LBB0_7: ## kill: def $edi killed $edi killed $rdi callq _assert movq 16(%r12,%rbx,8), %rax subq 8(%r12,%rbx,8), %rax movq %rax, (%r14) movq _KERN_SUCCESS@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _KERN_INVALID_ARGUMENT,4,2 ## @KERN_INVALID_ARGUMENT .comm _LF_TRACK_CREDIT_ONLY,4,2 ## @LF_TRACK_CREDIT_ONLY .comm _KERN_SUCCESS,4,2 ## @KERN_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ledger_get_balance ; -- Begin function ledger_get_balance .p2align 2 _ledger_get_balance: ; @ledger_get_balance .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 x19, x2 mov x20, x1 mov x21, x0 bl _ENTRY_VALID cbz w0, LBB0_3 ; %bb.1: ldr x21, [x21] sxtw x22, w20 mov w8, #24 smull x8, w20, w8 ldr w8, [x21, x8] Lloh0: adrp x9, _LF_TRACK_CREDIT_ONLY@GOTPAGE Lloh1: ldr x9, [x9, _LF_TRACK_CREDIT_ONLY@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_4 ; %bb.2: mov w8, #24 madd x8, x22, x8, x21 ldr x8, [x8, #8] cmp x8, #0 cset w0, eq b LBB0_7 LBB0_3: Lloh3: adrp x8, _KERN_INVALID_ARGUMENT@GOTPAGE Lloh4: ldr x8, [x8, _KERN_INVALID_ARGUMENT@GOTPAGEOFF] b LBB0_8 LBB0_4: mov w8, #24 madd x8, x22, x8, x21 ldr x8, [x8, #16] tbnz x8, #63, LBB0_6 ; %bb.5: mov w8, #24 madd x8, x22, x8, x21 ldr x8, [x8, #8] lsr x8, x8, #63 eor w0, w8, #0x1 b LBB0_7 LBB0_6: mov w0, #0 LBB0_7: bl _assert mov w8, #24 madd x8, x22, x8, x21 ldp x8, x9, [x8, #8] sub x8, x9, x8 str x8, [x19] Lloh5: adrp x8, _KERN_SUCCESS@GOTPAGE Lloh6: ldr x8, [x8, _KERN_SUCCESS@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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _KERN_INVALID_ARGUMENT,4,2 ; @KERN_INVALID_ARGUMENT .comm _LF_TRACK_CREDIT_ONLY,4,2 ; @LF_TRACK_CREDIT_ONLY .comm _KERN_SUCCESS,4,2 ; @KERN_SUCCESS .subsections_via_symbols
AnghaBench/darwin-xnu/osfmk/kern/extr_ledger.c_ledger_get_balance.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _load_data_old ## -- Begin function load_data_old .p2align 4, 0x90 _load_data_old: ## @load_data_old .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 %r9d, -44(%rbp) ## 4-byte Spill movq %r8, %r13 movl %ecx, %r14d movl %edx, %r12d movq %rsi, %rbx movq %rdi, %r15 movl 24(%rbp), %ecx movl 16(%rbp), %edx testl %r14d, %r14d je LBB0_2 ## %bb.1: movq %rbx, %rdi movl %r12d, %esi movl %r14d, %edx movl %ecx, %ebx callq _get_random_paths movl 16(%rbp), %edx movl %ebx, %ecx movq %rax, %rbx LBB0_2: xorps %xmm0, %xmm0 movups %xmm0, 8(%r15) movq %rbx, %rdi movl %r12d, %esi callq _load_image_paths movl %eax, 4(%r15) movq %rbx, %rdi movl %r12d, %esi movq %r13, %rdx movl -44(%rbp), %ecx ## 4-byte Reload xorl %r8d, %r8d callq _load_labels_paths movl %eax, (%r15) testl %r14d, %r14d je LBB0_4 ## %bb.3: movq %rbx, %rdi callq _free LBB0_4: movq %r15, %rax addq $8, %rsp 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 _load_data_old ; -- Begin function load_data_old .p2align 2 _load_data_old: ; @load_data_old .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 x25, x6 mov x26, x5 mov x21, x4 mov x23, x3 mov x19, x2 mov x24, x1 mov x22, x0 mov x20, x8 cbz w2, LBB0_2 ; %bb.1: mov x0, x22 mov x1, x24 mov x2, x19 bl _get_random_paths mov x22, x0 LBB0_2: stp xzr, xzr, [x20, #8] mov x0, x22 mov x1, x24 mov x2, x26 mov x3, x25 bl _load_image_paths str w0, [x20, #4] mov x0, x22 mov x1, x24 mov x2, x23 mov x3, x21 mov w4, #0 bl _load_labels_paths str w0, [x20] cbz w19, LBB0_4 ; %bb.3: 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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _free LBB0_4: 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 .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/darknet/src/extr_data.c_load_data_old.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function null_update _null_update: ## @null_update .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 _null_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function null_update _null_update: ; @null_update .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _null_update .subsections_via_symbols
AnghaBench/freebsd/sys/opencrypto/extr_xform_null.c_null_update.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nl80211_send_scan_start ## -- Begin function nl80211_send_scan_start .p2align 4, 0x90 _nl80211_send_scan_start: ## @nl80211_send_scan_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 %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq _NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %r12 movl (%r12), %esi callq _nlmsg_new testq %rax, %rax je LBB0_3 ## %bb.1: movq %rax, %rbx movq _NL80211_CMD_TRIGGER_SCAN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsp) movq %rbx, %rdi movq %r14, %rsi movq %r15, %rdx xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _nl80211_send_scan_msg testq %rax, %rax js LBB0_4 ## %bb.2: movq %r14, %rdi callq _wiphy_net movq _nl80211_scan_mcgrp@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl (%r12), %r8d movl %eax, %edi movq %rbx, %rsi xorl %edx, %edx addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _genlmsg_multicast_netns ## TAILCALL LBB0_3: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_4: movq %rbx, %rdi addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _nlmsg_free ## TAILCALL .cfi_endproc ## -- End function .comm _NLMSG_DEFAULT_SIZE,4,2 ## @NLMSG_DEFAULT_SIZE .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _NL80211_CMD_TRIGGER_SCAN,4,2 ## @NL80211_CMD_TRIGGER_SCAN .comm _nl80211_scan_mcgrp,4,2 ## @nl80211_scan_mcgrp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _nl80211_send_scan_start ; -- Begin function nl80211_send_scan_start .p2align 2 _nl80211_send_scan_start: ; @nl80211_send_scan_start .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 mov x20, x0 Lloh0: adrp x8, _NLMSG_DEFAULT_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x22, _GFP_KERNEL@GOTPAGE Lloh4: ldr x22, [x22, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x22] bl _nlmsg_new cbz x0, LBB0_3 ; %bb.1: mov x19, x0 Lloh5: adrp x8, _NL80211_CMD_TRIGGER_SCAN@GOTPAGE Lloh6: ldr x8, [x8, _NL80211_CMD_TRIGGER_SCAN@GOTPAGEOFF] Lloh7: ldr w6, [x8] mov x1, x20 mov x2, x21 mov w3, #0 mov w4, #0 mov w5, #0 bl _nl80211_send_scan_msg tbnz x0, #63, LBB0_4 ; %bb.2: mov x0, x20 bl _wiphy_net Lloh8: adrp x8, _nl80211_scan_mcgrp@GOTPAGE Lloh9: ldr x8, [x8, _nl80211_scan_mcgrp@GOTPAGEOFF] Lloh10: ldr w3, [x8] ldr w4, [x22] mov x1, x19 mov w2, #0 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 _genlmsg_multicast_netns LBB0_3: 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_4: 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 _nlmsg_free .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _NLMSG_DEFAULT_SIZE,4,2 ; @NLMSG_DEFAULT_SIZE .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _NL80211_CMD_TRIGGER_SCAN,4,2 ; @NL80211_CMD_TRIGGER_SCAN .comm _nl80211_scan_mcgrp,4,2 ; @nl80211_scan_mcgrp .subsections_via_symbols
AnghaBench/fastsocket/kernel/net/wireless/extr_nl80211.c_nl80211_send_scan_start.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function CRTCout _CRTCout: ## @CRTCout .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 %edx, %r14d movl %esi, %edx movq %rdi, %rbx movl (%rdi), %edi movl $980, %esi ## imm = 0x3D4 callq _VGA_WR08 movl (%rbx), %edi movl $981, %esi ## imm = 0x3D5 movl %r14d, %edx popq %rbx popq %r14 popq %rbp jmp _VGA_WR08 ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _CRTCout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function CRTCout _CRTCout: ; @CRTCout .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 x2, x1 mov x20, x0 ldr w0, [x0] mov w1, #980 bl _VGA_WR08 ldr w0, [x20] mov w1, #981 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _VGA_WR08 .cfi_endproc ; -- End function .no_dead_strip _CRTCout .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/riva/extr_fbdev.c_CRTCout.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _i2o_parm_field_get ## -- Begin function i2o_parm_field_get .p2align 4, 0x90 _i2o_parm_field_get: ## @i2o_parm_field_get .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 %r8d, %r12d movq %rcx, %r14 movl %edx, %r13d movl %esi, %ebx movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl $1, %edi callq _cpu_to_le32 movl %eax, -60(%rbp) shll $16, %ebx movq _I2O_PARAMS_FIELD_GET@GOTPCREL(%rip), %rax orl (%rax), %ebx movl %ebx, %edi callq _cpu_to_le32 movl %eax, -56(%rbp) shll $16, %r13d orl $1, %r13d movl %r13d, %edi callq _cpu_to_le32 movl %eax, -52(%rbp) leal 8(%r12), %r13d movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r13d, %edi callq _kmalloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq _I2O_CMD_UTIL_PARAMS_GET@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -60(%rbp), %rdx movq %r15, %rdi movl $12, %ecx movq %rbx, %r8 movl %r13d, %r9d callq _i2o_parm_issue movl %eax, %r15d movq %rbx, %rsi addq $32, %rsi movq %r14, %rdi movl %r12d, %edx callq _memcpy movq %rbx, %rdi callq _kfree jmp LBB0_3 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r15d, %r15d subl (%rax), %r15d LBB0_3: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_5 ## %bb.4: movl %r15d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _I2O_PARAMS_FIELD_GET,4,2 ## @I2O_PARAMS_FIELD_GET .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _I2O_CMD_UTIL_PARAMS_GET,4,2 ## @I2O_CMD_UTIL_PARAMS_GET .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _i2o_parm_field_get ; -- Begin function i2o_parm_field_get .p2align 2 _i2o_parm_field_get: ; @i2o_parm_field_get .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 x19, x4 mov x20, x3 mov x22, x2 mov x23, x1 mov x21, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] mov w24, #1 mov w0, #1 bl _cpu_to_le32 str w0, [sp, #12] Lloh3: adrp x8, _I2O_PARAMS_FIELD_GET@GOTPAGE Lloh4: ldr x8, [x8, _I2O_PARAMS_FIELD_GET@GOTPAGEOFF] Lloh5: ldr w8, [x8] orr w0, w8, w23, lsl #16 bl _cpu_to_le32 str w0, [sp, #16] bfi w24, w22, #16, #16 mov x0, x24 bl _cpu_to_le32 str w0, [sp, #20] add w23, w19, #8 Lloh6: adrp x8, _GFP_KERNEL@GOTPAGE Lloh7: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x23 bl _kmalloc cbz x0, LBB0_2 ; %bb.1: mov x22, x0 Lloh9: adrp x8, _I2O_CMD_UTIL_PARAMS_GET@GOTPAGE Lloh10: ldr x8, [x8, _I2O_CMD_UTIL_PARAMS_GET@GOTPAGEOFF] Lloh11: ldr w1, [x8] add x2, sp, #12 mov x0, x21 mov w3, #12 mov x4, x22 mov x5, x23 bl _i2o_parm_issue mov x21, x0 add x1, x22, #32 mov x0, x20 mov x2, x19 bl _memcpy mov x0, x22 bl _kfree b LBB0_3 LBB0_2: Lloh12: adrp x8, _ENOMEM@GOTPAGE Lloh13: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh14: ldr w8, [x8] neg w21, w8 LBB0_3: ldr x8, [sp, #24] 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_5 ; %bb.4: mov 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 add sp, sp, #96 ret LBB0_5: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _I2O_PARAMS_FIELD_GET,4,2 ; @I2O_PARAMS_FIELD_GET .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _I2O_CMD_UTIL_PARAMS_GET,4,2 ; @I2O_CMD_UTIL_PARAMS_GET .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/message/i2o/extr_device.c_i2o_parm_field_get.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dlm_master_requery_handler ## -- Begin function dlm_master_requery_handler .p2align 4, 0x90 _dlm_master_requery_handler: ## @dlm_master_requery_handler .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, %r15 movq (%rdi), %rbx movq _DLM_LOCK_RES_OWNER_UNKNOWN@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _DLM_ASSERT_MASTER_REQUERY@GOTPCREL(%rip), %rax movl (%rax), %r12d movq %rdx, %rdi callq _dlm_grab testl %eax, %eax je LBB0_8 ## %bb.1: movl %r12d, -44(%rbp) ## 4-byte Spill movl (%rbx), %esi movl 4(%rbx), %edi callq _dlm_lockid_hash movl %eax, %r12d leaq 4(%r15), %rdi movq %rdi, -56(%rbp) ## 8-byte Spill callq _spin_lock movl (%rbx), %edx movl 4(%rbx), %esi movq %r15, %rdi movl %r12d, %ecx callq ___dlm_lookup_lockres testq %rax, %rax je LBB0_7 ## %bb.2: movq %rax, %r13 movq %rax, %r12 addq $4, %r12 movq %r12, %rdi callq _spin_lock movl (%r13), %r14d cmpl (%r15), %r14d jne LBB0_5 ## %bb.3: movq %r15, %rdi movq %r13, %rsi xorl %edx, %edx xorl %ecx, %ecx movl -44(%rbp), %r8d ## 4-byte Reload callq _dlm_dispatch_assert_master testl %eax, %eax jns LBB0_6 ## %bb.4: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %edi, %edi subl (%rax), %edi callq _mlog_errno xorl %eax, %eax callq _BUG jmp LBB0_6 LBB0_5: movq %r13, %rdi callq _dlm_lockres_put LBB0_6: movq %r12, %rdi callq _spin_unlock LBB0_7: movq -56(%rbp), %rdi ## 8-byte Reload callq _spin_unlock movq %r15, %rdi callq _dlm_put LBB0_8: movl %r14d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DLM_LOCK_RES_OWNER_UNKNOWN,4,2 ## @DLM_LOCK_RES_OWNER_UNKNOWN .comm _DLM_ASSERT_MASTER_REQUERY,4,2 ## @DLM_ASSERT_MASTER_REQUERY .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dlm_master_requery_handler ; -- Begin function dlm_master_requery_handler .p2align 2 _dlm_master_requery_handler: ; @dlm_master_requery_handler .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, x2 ldr x24, [x0] Lloh0: adrp x8, _DLM_LOCK_RES_OWNER_UNKNOWN@GOTPAGE Lloh1: ldr x8, [x8, _DLM_LOCK_RES_OWNER_UNKNOWN@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x8, _DLM_ASSERT_MASTER_REQUERY@GOTPAGE Lloh4: ldr x8, [x8, _DLM_ASSERT_MASTER_REQUERY@GOTPAGEOFF] Lloh5: ldr w22, [x8] mov x0, x2 bl _dlm_grab cbz w0, LBB0_8 ; %bb.1: ldp w1, w0, [x24] bl _dlm_lockid_hash mov x23, x0 add x21, x19, #4 mov x0, x21 bl _spin_lock ldp w2, w1, [x24] mov x0, x19 mov x3, x23 bl ___dlm_lookup_lockres cbz x0, LBB0_7 ; %bb.2: mov x24, x0 add x23, x0, #4 mov x0, x23 bl _spin_lock ldr w20, [x24] ldr w8, [x19] cmp w20, w8 b.ne LBB0_5 ; %bb.3: mov x0, x19 mov x1, x24 mov w2, #0 mov w3, #0 mov x4, x22 bl _dlm_dispatch_assert_master tbz w0, #31, LBB0_6 ; %bb.4: Lloh6: adrp x8, _ENOMEM@GOTPAGE Lloh7: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh8: ldr w8, [x8] neg w0, w8 bl _mlog_errno bl _BUG b LBB0_6 LBB0_5: mov x0, x24 bl _dlm_lockres_put LBB0_6: mov x0, x23 bl _spin_unlock LBB0_7: mov x0, x21 bl _spin_unlock mov x0, x19 bl _dlm_put LBB0_8: mov x0, x20 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 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _DLM_LOCK_RES_OWNER_UNKNOWN,4,2 ; @DLM_LOCK_RES_OWNER_UNKNOWN .comm _DLM_ASSERT_MASTER_REQUERY,4,2 ; @DLM_ASSERT_MASTER_REQUERY .comm _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/ocfs2/dlm/extr_dlmrecovery.c_dlm_master_requery_handler.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function thread_apply_all_command _thread_apply_all_command: ## @thread_apply_all_command .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 %esi, %r14d movq %rdi, %rbx testq %rdi, %rdi je LBB0_2 ## %bb.1: cmpb $0, (%rbx) jne LBB0_3 LBB0_2: leaq L_.str(%rip), %rdi callq _error LBB0_3: movq _inferior_ptid@GOTPCREL(%rip), %rax movl (%rax), %edi callq _make_cleanup_restore_current_thread movq %rax, -56(%rbp) ## 8-byte Spill xorl %eax, %eax callq _target_find_new_threads movq %rbx, %rdi callq _xstrdup movq %rax, %r12 movq _xfree@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r12, %rsi callq _make_cleanup movq %rax, -48(%rbp) ## 8-byte Spill movq _thread_list@GOTPCREL(%rip), %rax movq (%rax), %r15 jmp LBB0_4 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq 8(%r15), %r15 LBB0_4: ## =>This Inner Loop Header: Depth=1 testq %r15, %r15 je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq %r15, %rdi callq _thread_alive testq %rax, %rax je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl 4(%r15), %edi callq _switch_to_thread movl (%r15), %r13d movq _inferior_ptid@GOTPCREL(%rip), %rax movl (%rax), %edi callq _target_pid_to_str leaq L_.str.1(%rip), %rdi movl %r13d, %esi movl %eax, %edx callq _printf_filtered movq %rbx, %rdi movl %r14d, %esi callq _execute_command movq %rbx, %rdi movq %r12, %rsi callq _strcpy jmp LBB0_7 LBB0_8: movq -48(%rbp), %rdi ## 8-byte Reload callq _do_cleanups movq -56(%rbp), %rdi ## 8-byte Reload addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _do_cleanups ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Please specify a command following the thread ID list" .comm _inferior_ptid,4,2 ## @inferior_ptid .comm _xfree,4,2 ## @xfree .comm _thread_list,8,3 ## @thread_list L_.str.1: ## @.str.1 .asciz "\nThread %d (%s):\n" .no_dead_strip _thread_apply_all_command .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function thread_apply_all_command _thread_apply_all_command: ; @thread_apply_all_command .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, x1 mov x20, x0 cbz x0, LBB0_2 ; %bb.1: ldrb w8, [x20] cbnz w8, LBB0_3 LBB0_2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _error LBB0_3: Lloh2: adrp x27, _inferior_ptid@GOTPAGE Lloh3: ldr x27, [x27, _inferior_ptid@GOTPAGEOFF] ldr w0, [x27] bl _make_cleanup_restore_current_thread mov x21, x0 bl _target_find_new_threads mov x0, x20 bl _xstrdup mov x22, x0 Lloh4: adrp x8, _xfree@GOTPAGE Lloh5: ldr x8, [x8, _xfree@GOTPAGEOFF] Lloh6: ldr w0, [x8] mov x1, x22 bl _make_cleanup mov x23, x0 Lloh7: adrp x8, _thread_list@GOTPAGE Lloh8: ldr x8, [x8, _thread_list@GOTPAGEOFF] Lloh9: ldr x24, [x8] cbz x24, LBB0_8 ; %bb.4: Lloh10: adrp x25, l_.str.1@PAGE Lloh11: add x25, x25, l_.str.1@PAGEOFF b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x24, [x24, #8] cbz x24, LBB0_8 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x24 bl _thread_alive cbz x0, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x24, #4] bl _switch_to_thread ldr w26, [x24] ldr w0, [x27] bl _target_pid_to_str mov x2, x0 mov x0, x25 mov x1, x26 bl _printf_filtered mov x0, x20 mov x1, x19 bl _execute_command mov x0, x20 mov x1, x22 bl _strcpy b LBB0_5 LBB0_8: mov x0, x23 bl _do_cleanups mov 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 ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _do_cleanups .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Please specify a command following the thread ID list" .comm _inferior_ptid,4,2 ; @inferior_ptid .comm _xfree,4,2 ; @xfree .comm _thread_list,8,3 ; @thread_list l_.str.1: ; @.str.1 .asciz "\nThread %d (%s):\n" .no_dead_strip _thread_apply_all_command .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_thread.c_thread_apply_all_command.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function prism54_debug_oid _prism54_debug_oid: ## @prism54_debug_oid .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 %rdi, %rbx callq _netdev_priv movl (%r14), %ecx movl %ecx, (%rax) movl (%rbx), %esi movl (%r14), %edx leaq L_.str(%rip), %rdi callq _printk xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: oid 0x%08X\n" .no_dead_strip _prism54_debug_oid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function prism54_debug_oid _prism54_debug_oid: ; @prism54_debug_oid .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, x0 bl _netdev_priv ldr w8, [x19] str w8, [x0] ldr w1, [x20] ldr w2, [x19] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printk mov w0, #0 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 .asciz "%s: oid 0x%08X\n" .no_dead_strip _prism54_debug_oid .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/intersil/prism54/extr_isl_ioctl.c_prism54_debug_oid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function free_name_constraints _free_name_constraints: ## @free_name_constraints .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 %rdi, %r14 cmpq $0, (%rdi) je LBB0_3 ## %bb.1: xorl %r15d, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rdi addq %r15, %rdi callq _free_NameConstraints incq %rbx addq $4, %r15 cmpq (%r14), %rbx jb LBB0_2 LBB0_3: movq 8(%r14), %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _free_name_constraints .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function free_name_constraints _free_name_constraints: ; @free_name_constraints .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 x19, x0 ldr x8, [x0] cbz x8, LBB0_3 ; %bb.1: mov x20, #0 mov x21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x0, x8, x20 bl _free_NameConstraints add x21, x21, #1 ldr x8, [x19] add x20, x20, #4 cmp x21, x8 b.lo LBB0_2 LBB0_3: ldr x0, [x19, #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 b _free .cfi_endproc ; -- End function .no_dead_strip _free_name_constraints .subsections_via_symbols
AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_cert.c_free_name_constraints.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function OnColorButton _OnColorButton: ## @OnColorButton .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 %rsi, %r14 movl %edi, %r15d movq $0, -48(%rbp) movq _HKEY_CURRENT_USER@GOTPCREL(%rip), %r12 movl (%r12), %ebx leaq L_.str(%rip), %rdi callq _TEXT movq _REG_OPTION_NON_VOLATILE@GOTPCREL(%rip), %rcx movl (%rcx), %r8d movq _KEY_QUERY_VALUE@GOTPCREL(%rip), %rcx movl (%rcx), %r9d subq $8, %rsp leaq -48(%rbp), %r10 movl %ebx, %edi movl %eax, %esi xorl %edx, %edx xorl %ecx, %ecx pushq $0 pushq %r10 pushq $0 callq _RegCreateKeyEx addq $32, %rsp movq _ERROR_SUCCESS@GOTPCREL(%rip), %r13 cmpq (%r13), %rax jne LBB0_2 ## %bb.1: movq _REG_BINARY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -120(%rbp) movl $8, -52(%rbp) movq -48(%rbp), %rbx leaq L_.str.1(%rip), %rdi callq _TEXT movl (%r14), %r8d leaq -120(%rbp), %rcx leaq -52(%rbp), %r9 movq %rbx, %rdi movl %eax, %esi xorl %edx, %edx callq _RegQueryValueEx movq -48(%rbp), %rdi callq _RegCloseKey movq $0, -48(%rbp) LBB0_2: movl $64, -120(%rbp) movl %r15d, -64(%rbp) movq $0, -72(%rbp) movq _g_GlobalData@GOTPCREL(%rip), %rbx movl (%rbx), %eax movl %eax, -112(%rbp) movq _CC_ANYCOLOR@GOTPCREL(%rip), %rax movq _CC_FULLOPEN@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq (%r14), %rax movq %rax, -80(%rbp) movq _CC_RGBINIT@GOTPCREL(%rip), %rax orl (%rax), %ecx movl %ecx, -116(%rbp) xorps %xmm0, %xmm0 movups %xmm0, -104(%rbp) movq $0, -88(%rbp) leaq -120(%rbp), %rdi callq _ChooseColor testq %rax, %rax je LBB0_5 ## %bb.3: movl -112(%rbp), %eax movl %eax, (%rbx) movq _TRUE@GOTPCREL(%rip), %rbx movl (%rbx), %eax movl %eax, 8(%r14) movl %r15d, %edi callq _GetParent movl %eax, %edi movl %r15d, %esi callq _PropSheet_Changed movq _IDC_BACKGROUND_PREVIEW@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r15d, %edi callq _GetDlgItem movl (%rbx), %edx movl %eax, %edi xorl %esi, %esi callq _InvalidateRect movl (%r12), %ebx leaq L_.str(%rip), %rdi callq _TEXT movq _KEY_SET_VALUE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx leaq -48(%rbp), %r8 movl %ebx, %edi movl %eax, %esi xorl %edx, %edx callq _RegOpenKeyEx cmpq (%r13), %rax jne LBB0_5 ## %bb.4: movq -48(%rbp), %rbx leaq L_.str.1(%rip), %rdi callq _TEXT movq _REG_BINARY@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl (%r14), %r8d movq %rbx, %rdi movl %eax, %esi xorl %edx, %edx movl $8, %r9d callq _RegSetValueEx movq -48(%rbp), %rdi callq _RegCloseKey LBB0_5: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS .comm _HKEY_CURRENT_USER,4,2 ## @HKEY_CURRENT_USER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Control Panel\\Appearance" .comm _REG_OPTION_NON_VOLATILE,4,2 ## @REG_OPTION_NON_VOLATILE .comm _KEY_QUERY_VALUE,4,2 ## @KEY_QUERY_VALUE .comm _REG_BINARY,4,2 ## @REG_BINARY L_.str.1: ## @.str.1 .asciz "CustomColors" .comm _g_GlobalData,4,2 ## @g_GlobalData .comm _CC_ANYCOLOR,4,2 ## @CC_ANYCOLOR .comm _CC_FULLOPEN,4,2 ## @CC_FULLOPEN .comm _CC_RGBINIT,4,2 ## @CC_RGBINIT .comm _TRUE,4,2 ## @TRUE .comm _IDC_BACKGROUND_PREVIEW,4,2 ## @IDC_BACKGROUND_PREVIEW .comm _KEY_SET_VALUE,4,2 ## @KEY_SET_VALUE .no_dead_strip _OnColorButton .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function OnColorButton _OnColorButton: ; @OnColorButton .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 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 mov x19, x1 mov x20, x0 stur xzr, [x29, #-56] Lloh0: adrp x22, _HKEY_CURRENT_USER@GOTPAGE Lloh1: ldr x22, [x22, _HKEY_CURRENT_USER@GOTPAGEOFF] ldr w21, [x22] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _TEXT mov x1, x0 Lloh4: adrp x8, _REG_OPTION_NON_VOLATILE@GOTPAGE Lloh5: ldr x8, [x8, _REG_OPTION_NON_VOLATILE@GOTPAGEOFF] Lloh6: ldr w4, [x8] Lloh7: adrp x8, _KEY_QUERY_VALUE@GOTPAGE Lloh8: ldr x8, [x8, _KEY_QUERY_VALUE@GOTPAGEOFF] Lloh9: ldr w5, [x8] str xzr, [sp] sub x7, x29, #56 mov x0, x21 mov w2, #0 mov x3, #0 mov x6, #0 bl _RegCreateKeyEx Lloh10: adrp x23, _ERROR_SUCCESS@GOTPAGE Lloh11: ldr x23, [x23, _ERROR_SUCCESS@GOTPAGEOFF] ldr x8, [x23] cmp x0, x8 b.ne LBB0_2 ; %bb.1: Lloh12: adrp x8, _REG_BINARY@GOTPAGE Lloh13: ldr x8, [x8, _REG_BINARY@GOTPAGEOFF] Lloh14: ldr w9, [x8] mov w8, #8 stp w8, w9, [sp, #20] ldur x21, [x29, #-56] Lloh15: adrp x0, l_.str.1@PAGE Lloh16: add x0, x0, l_.str.1@PAGEOFF bl _TEXT mov x1, x0 ldr w4, [x19] add x3, sp, #24 add x5, sp, #20 mov x0, x21 mov x2, #0 bl _RegQueryValueEx ldur x0, [x29, #-56] bl _RegCloseKey stur xzr, [x29, #-56] LBB0_2: mov w8, #64 str w20, [sp, #80] str xzr, [sp, #72] Lloh17: adrp x21, _g_GlobalData@GOTPAGE Lloh18: ldr x21, [x21, _g_GlobalData@GOTPAGEOFF] ldr w9, [x21] str w9, [sp, #32] Lloh19: adrp x9, _CC_ANYCOLOR@GOTPAGE Lloh20: ldr x9, [x9, _CC_ANYCOLOR@GOTPAGEOFF] Lloh21: ldr w9, [x9] Lloh22: adrp x10, _CC_FULLOPEN@GOTPAGE Lloh23: ldr x10, [x10, _CC_FULLOPEN@GOTPAGEOFF] Lloh24: ldr w10, [x10] orr w9, w10, w9 Lloh25: adrp x10, _CC_RGBINIT@GOTPAGE Lloh26: ldr x10, [x10, _CC_RGBINIT@GOTPAGEOFF] Lloh27: ldr w10, [x10] orr w9, w9, w10 ldr x10, [x19] stp w8, w9, [sp, #24] stp xzr, x10, [sp, #56] stp xzr, xzr, [sp, #40] add x0, sp, #24 bl _ChooseColor cbz x0, LBB0_5 ; %bb.3: ldr w8, [sp, #32] str w8, [x21] Lloh28: adrp x21, _TRUE@GOTPAGE Lloh29: ldr x21, [x21, _TRUE@GOTPAGEOFF] ldr w8, [x21] str w8, [x19, #8] mov x0, x20 bl _GetParent mov x1, x20 bl _PropSheet_Changed Lloh30: adrp x8, _IDC_BACKGROUND_PREVIEW@GOTPAGE Lloh31: ldr x8, [x8, _IDC_BACKGROUND_PREVIEW@GOTPAGEOFF] Lloh32: ldr w1, [x8] mov x0, x20 bl _GetDlgItem ldr w2, [x21] mov x1, #0 bl _InvalidateRect ldr w20, [x22] Lloh33: adrp x0, l_.str@PAGE Lloh34: add x0, x0, l_.str@PAGEOFF bl _TEXT mov x1, x0 Lloh35: adrp x8, _KEY_SET_VALUE@GOTPAGE Lloh36: ldr x8, [x8, _KEY_SET_VALUE@GOTPAGEOFF] Lloh37: ldr w3, [x8] sub x4, x29, #56 mov x0, x20 mov w2, #0 bl _RegOpenKeyEx ldr x8, [x23] cmp x0, x8 b.ne LBB0_5 ; %bb.4: ldur x20, [x29, #-56] Lloh38: adrp x0, l_.str.1@PAGE Lloh39: add x0, x0, l_.str.1@PAGEOFF bl _TEXT mov x1, x0 Lloh40: adrp x8, _REG_BINARY@GOTPAGE Lloh41: ldr x8, [x8, _REG_BINARY@GOTPAGEOFF] Lloh42: ldr w3, [x8] ldr w4, [x19] mov x0, x20 mov w2, #0 mov w5, #8 bl _RegSetValueEx ldur x0, [x29, #-56] bl _RegCloseKey LBB0_5: 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 add sp, sp, #160 ret .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .cfi_endproc ; -- End function .comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS .comm _HKEY_CURRENT_USER,4,2 ; @HKEY_CURRENT_USER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Control Panel\\Appearance" .comm _REG_OPTION_NON_VOLATILE,4,2 ; @REG_OPTION_NON_VOLATILE .comm _KEY_QUERY_VALUE,4,2 ; @KEY_QUERY_VALUE .comm _REG_BINARY,4,2 ; @REG_BINARY l_.str.1: ; @.str.1 .asciz "CustomColors" .comm _g_GlobalData,4,2 ; @g_GlobalData .comm _CC_ANYCOLOR,4,2 ; @CC_ANYCOLOR .comm _CC_FULLOPEN,4,2 ; @CC_FULLOPEN .comm _CC_RGBINIT,4,2 ; @CC_RGBINIT .comm _TRUE,4,2 ; @TRUE .comm _IDC_BACKGROUND_PREVIEW,4,2 ; @IDC_BACKGROUND_PREVIEW .comm _KEY_SET_VALUE,4,2 ; @KEY_SET_VALUE .no_dead_strip _OnColorButton .subsections_via_symbols
AnghaBench/reactos/dll/cpl/desk/extr_background.c_OnColorButton.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_raw_include _add_raw_include: ## @add_raw_include .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 $136, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movzbl (%rdi), %eax testb %al, %al je LBB0_4 ## %bb.1: movq %rsi, %r12 movq %r14, %rbx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _isspace testq %rax, %rax je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movzbl -1(%rbx), %eax decq %rbx testb %al, %al jne LBB0_2 jmp LBB0_13 LBB0_4: movq %r14, %rbx jmp LBB0_13 LBB0_5: movzbl (%rbx), %eax cmpl $34, %eax je LBB0_16 ## %bb.6: cmpl $60, %eax jne LBB0_13 ## %bb.7: movl $1, %r14d testb %al, %al je LBB0_10 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movzbl %al, %ecx cmpl $62, %ecx je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movzbl (%rbx,%r14), %eax incq %r14 testb %al, %al jne LBB0_8 LBB0_10: testb %al, %al sete %al cmpl $127, %r14d seta %cl orb %al, %cl cmpb $1, %cl jne LBB0_12 ## %bb.11: leaq L_.str(%rip), %rdi movl %r14d, %esi xorl %eax, %eax callq _eprintf LBB0_12: leaq -176(%rbp), %rdi movq %rbx, %rsi movl %r14d, %edx callq _strncpy movb $0, -176(%rbp,%r14) jmp LBB0_14 LBB0_13: leaq L_.str.7(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _eprintf LBB0_14: leaq -176(%rbp), %rdi callq _add_include movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_40 ## %bb.15: addq $136, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_16: leaq -176(%rbp), %r15 movq %r15, %rdi movq %r12, %rsi callq _strcpy movzbl 1(%rbx), %eax incq %rbx leaq L_.str.1(%rip), %r12 .p2align 4, 0x90 LBB0_17: ## =>This Loop Header: Depth=1 ## Child Loop BB0_29 Depth 2 cmpb $46, %al jne LBB0_30 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movq %rbx, %rdi movq %r12, %rsi movl $3, %edx callq _strncmp testq %rax, %rax je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movq %rbx, %rdi leaq L_.str.4(%rip), %rsi movl $2, %edx callq _strncmp xorl %ecx, %ecx testq %rax, %rax sete %cl addl %ecx, %ecx jmp LBB0_28 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_17 Depth=1 cmpb $0, -176(%rbp) jne LBB0_22 ## %bb.21: ## in Loop: Header=BB0_17 Depth=1 leaq L_.str.2(%rip), %rdi movq %rbx, %rsi movq %r14, %rdx xorl %eax, %eax callq _eprintf LBB0_22: ## in Loop: Header=BB0_17 Depth=1 movq %r15, %rdi movl $47, %esi callq _strrchr movq %rax, %r13 testq %rax, %rax je LBB0_24 ## %bb.23: ## in Loop: Header=BB0_17 Depth=1 leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _eprintf LBB0_24: ## in Loop: Header=BB0_17 Depth=1 movb $0, (%r13) movq %r15, %rdi movl $47, %esi callq _strrchr testq %rax, %rax je LBB0_26 ## %bb.25: ## in Loop: Header=BB0_17 Depth=1 movb $0, 1(%rax) jmp LBB0_27 LBB0_26: ## in Loop: Header=BB0_17 Depth=1 movb $0, -176(%rbp) LBB0_27: ## in Loop: Header=BB0_17 Depth=1 movl $3, %ecx LBB0_28: ## in Loop: Header=BB0_17 Depth=1 addq %rcx, %rbx decq %rbx .p2align 4, 0x90 LBB0_29: ## Parent Loop BB0_17 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl 1(%rbx), %eax incq %rbx cmpb $47, %al je LBB0_29 jmp LBB0_17 LBB0_30: movzbl %al, %eax testl %eax, %eax jne LBB0_32 ## %bb.31: leaq L_.str.5(%rip), %rdi movq %r14, %rsi xorl %eax, %eax callq _eprintf LBB0_32: leaq -176(%rbp), %rdi callq _strlen movl %eax, %r12d xorl %r15d, %r15d .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx,%r15), %eax testl %eax, %eax je LBB0_36 ## %bb.34: ## in Loop: Header=BB0_33 Depth=1 cmpl $34, %eax je LBB0_36 ## %bb.35: ## in Loop: Header=BB0_33 Depth=1 incq %r15 jmp LBB0_33 LBB0_36: movl %r12d, %edx addq %r15, %rdx testb %al, %al je LBB0_38 ## %bb.37: cmpl $128, %edx jl LBB0_39 LBB0_38: leaq L_.str.6(%rip), %rdi movq %r14, %rsi ## kill: def $edx killed $edx killed $rdx xorl %eax, %eax callq _eprintf LBB0_39: movslq %r12d, %rax leaq (%rax,%rbp), %r14 addq $-176, %r14 movq %r14, %rdi movq %rbx, %rsi movl %r15d, %edx callq _strncpy movb $0, (%r15,%r14) jmp LBB0_14 LBB0_40: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "add_raw_include: failed sysinclude, len=%i\n" L_.str.1: ## @.str.1 .asciz "../" L_.str.2: ## @.str.2 .asciz "add_raw_include: already in root, can't go down: %s & %s\n" L_.str.3: ## @.str.3 .asciz "add_raw_include: can't happen\n" L_.str.4: ## @.str.4 .asciz "./" L_.str.5: ## @.str.5 .asciz "add_raw_include: failed with %s\n" L_.str.6: ## @.str.6 .asciz "add_raw_include: failed with %s, len=%i\n" L_.str.7: ## @.str.7 .asciz "add_raw_include: unhandled include: %s\n" .no_dead_strip _add_raw_include .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_raw_include _add_raw_include: ; @add_raw_include .cfi_startproc ; %bb.0: sub sp, sp, #240 stp x26, x25, [sp, #160] ; 16-byte Folded Spill stp x24, x23, [sp, #176] ; 16-byte Folded Spill stp x22, x21, [sp, #192] ; 16-byte Folded Spill stp x20, x19, [sp, #208] ; 16-byte Folded Spill stp x29, x30, [sp, #224] ; 16-byte Folded Spill add x29, sp, #224 .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, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] ldrb w8, [x0] cbz w8, LBB0_4 ; %bb.1: mov x21, x1 mov x19, x20 LBB0_2: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _isspace cbz x0, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldrb w8, [x19, #-1]! cbnz w8, LBB0_2 b LBB0_14 LBB0_4: mov x19, x20 b LBB0_14 LBB0_5: ldrb w8, [x19] cmp w8, #34 b.eq LBB0_17 ; %bb.6: cmp w8, #60 b.ne LBB0_14 ; %bb.7: mov w20, #1 ; =0x1 cbz w8, LBB0_10 LBB0_8: ; =>This Inner Loop Header: Depth=1 cmp w8, #62 b.eq LBB0_10 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldrb w8, [x19, x20] add x20, x20, #1 cbnz w8, LBB0_8 LBB0_10: cbz w8, LBB0_12 ; %bb.11: cmp w20, #128 b.lo LBB0_13 LBB0_12: str x20, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _eprintf LBB0_13: add x21, sp, #24 add x0, sp, #24 mov x1, x19 mov x2, x20 bl _strncpy strb wzr, [x21, x20] b LBB0_15 LBB0_14: str x19, [sp] Lloh5: adrp x0, l_.str.7@PAGE Lloh6: add x0, x0, l_.str.7@PAGEOFF bl _eprintf LBB0_15: add x0, sp, #24 bl _add_include ldur x8, [x29, #-72] 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_40 ; %bb.16: ldp x29, x30, [sp, #224] ; 16-byte Folded Reload ldp x20, x19, [sp, #208] ; 16-byte Folded Reload ldp x22, x21, [sp, #192] ; 16-byte Folded Reload ldp x24, x23, [sp, #176] ; 16-byte Folded Reload ldp x26, x25, [sp, #160] ; 16-byte Folded Reload add sp, sp, #240 ret LBB0_17: add x0, sp, #24 mov x1, x21 bl _strcpy ldrb w8, [x19, #1]! Lloh10: adrp x21, l_.str.1@PAGE Lloh11: add x21, x21, l_.str.1@PAGEOFF Lloh12: adrp x22, l_.str.2@PAGE Lloh13: add x22, x22, l_.str.2@PAGEOFF Lloh14: adrp x23, l_.str.3@PAGE Lloh15: add x23, x23, l_.str.3@PAGEOFF Lloh16: adrp x24, l_.str.4@PAGE Lloh17: add x24, x24, l_.str.4@PAGEOFF LBB0_18: ; =>This Loop Header: Depth=1 ; Child Loop BB0_30 Depth 2 cmp w8, #46 b.ne LBB0_31 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 mov x0, x19 mov x1, x21 mov w2, #3 ; =0x3 bl _strncmp cbz x0, LBB0_21 ; %bb.20: ; in Loop: Header=BB0_18 Depth=1 mov x0, x19 mov x1, x24 mov w2, #2 ; =0x2 bl _strncmp cmp x0, #0 cset w8, eq ubfiz x8, x8, #1, #32 b LBB0_29 LBB0_21: ; in Loop: Header=BB0_18 Depth=1 ldrb w8, [sp, #24] cbnz w8, LBB0_23 ; %bb.22: ; in Loop: Header=BB0_18 Depth=1 stp x19, x20, [sp] mov x0, x22 bl _eprintf LBB0_23: ; in Loop: Header=BB0_18 Depth=1 add x0, sp, #24 mov w1, #47 ; =0x2f bl _strrchr mov x25, x0 cbz x0, LBB0_25 ; %bb.24: ; in Loop: Header=BB0_18 Depth=1 mov x0, x23 bl _eprintf LBB0_25: ; in Loop: Header=BB0_18 Depth=1 strb wzr, [x25] add x0, sp, #24 mov w1, #47 ; =0x2f bl _strrchr cbz x0, LBB0_27 ; %bb.26: ; in Loop: Header=BB0_18 Depth=1 strb wzr, [x0, #1] b LBB0_28 LBB0_27: ; in Loop: Header=BB0_18 Depth=1 strb wzr, [sp, #24] LBB0_28: ; in Loop: Header=BB0_18 Depth=1 mov w8, #3 ; =0x3 LBB0_29: ; in Loop: Header=BB0_18 Depth=1 add x8, x19, x8 sub x19, x8, #1 LBB0_30: ; Parent Loop BB0_18 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x19, #1]! cmp w8, #47 b.eq LBB0_30 b LBB0_18 LBB0_31: cbnz w8, LBB0_33 ; %bb.32: str x20, [sp] Lloh18: adrp x0, l_.str.5@PAGE Lloh19: add x0, x0, l_.str.5@PAGEOFF bl _eprintf LBB0_33: add x0, sp, #24 bl _strlen mov x22, x0 mov x21, #0 ; =0x0 ldrb w9, [x19, x21] cbz w9, LBB0_36 LBB0_34: ; =>This Inner Loop Header: Depth=1 cmp w9, #34 b.eq LBB0_36 ; %bb.35: ; in Loop: Header=BB0_34 Depth=1 add x21, x21, #1 ldrb w9, [x19, x21] cbnz w9, LBB0_34 LBB0_36: add x8, x21, w22, uxtw cbz w9, LBB0_38 ; %bb.37: cmp w8, #128 b.lt LBB0_39 LBB0_38: stp x20, x8, [sp] Lloh20: adrp x0, l_.str.6@PAGE Lloh21: add x0, x0, l_.str.6@PAGEOFF bl _eprintf LBB0_39: add x8, sp, #24 add x20, x8, w22, sxtw mov x0, x20 mov x1, x19 mov x2, x21 bl _strncpy strb wzr, [x20, x21] b LBB0_15 LBB0_40: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "add_raw_include: failed sysinclude, len=%i\n" l_.str.1: ; @.str.1 .asciz "../" l_.str.2: ; @.str.2 .asciz "add_raw_include: already in root, can't go down: %s & %s\n" l_.str.3: ; @.str.3 .asciz "add_raw_include: can't happen\n" l_.str.4: ; @.str.4 .asciz "./" l_.str.5: ; @.str.5 .asciz "add_raw_include: failed with %s\n" l_.str.6: ; @.str.6 .asciz "add_raw_include: failed with %s, len=%i\n" l_.str.7: ; @.str.7 .asciz "add_raw_include: unhandled include: %s\n" .no_dead_strip _add_raw_include .subsections_via_symbols
assembly_file_88610.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cfq_should_idle _cfq_should_idle: ## @cfq_should_idle .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, %r14 movq %rsi, %rdi callq _cfqq_prio movl %eax, %ebx movq (%r15), %r12 xorl %edi, %edi testq %r12, %r12 sete %dil callq _BUG_ON xorl %edi, %edi cmpl $0, (%r12) sete %dil callq _BUG_ON movq _IDLE_WORKLOAD@GOTPCREL(%rip), %rcx xorl %eax, %eax cmpl (%rcx), %ebx je LBB0_9 ## %bb.1: cmpq $0, (%r14) je LBB0_9 ## %bb.2: movq %r15, %rdi callq _cfq_cfqq_idle_window testq %rax, %rax je LBB0_5 ## %bb.3: movl 16(%r14), %edi callq _blk_queue_nonrot movq %rax, %rcx movl $1, %eax testq %rcx, %rcx je LBB0_9 ## %bb.4: cmpq $0, 8(%r14) je LBB0_9 LBB0_5: movl (%r12), %ecx cmpl $1, %ecx jne LBB0_8 ## %bb.6: movq %r15, %rdi callq _cfq_cfqq_sync movq %rax, %rcx movl $1, %eax testq %rcx, %rcx jne LBB0_9 ## %bb.7: movl (%r12), %ecx LBB0_8: leaq L_.str(%rip), %rdx movq %r14, %rdi movq %r15, %rsi callq _cfq_log_cfqq xorl %eax, %eax LBB0_9: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IDLE_WORKLOAD,4,2 ## @IDLE_WORKLOAD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Not idling. st->count:%d" .no_dead_strip _cfq_should_idle .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cfq_should_idle _cfq_should_idle: ; @cfq_should_idle .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 x19, x1 mov x20, x0 mov x0, x1 bl _cfqq_prio mov x21, x0 ldr x22, [x19] cmp x22, #0 cset w0, eq bl _BUG_ON ldr w8, [x22] cmp w8, #0 cset w0, eq bl _BUG_ON Lloh0: adrp x8, _IDLE_WORKLOAD@GOTPAGE Lloh1: ldr x8, [x8, _IDLE_WORKLOAD@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w21, w8 b.eq LBB0_10 ; %bb.1: ldr x8, [x20] cbz x8, LBB0_10 ; %bb.2: mov x0, x19 bl _cfq_cfqq_idle_window cbz x0, LBB0_5 ; %bb.3: ldr w0, [x20, #16] bl _blk_queue_nonrot cbz x0, LBB0_7 ; %bb.4: ldr x8, [x20, #8] cbz x8, LBB0_7 LBB0_5: ldr w3, [x22] cmp w3, #1 b.ne LBB0_9 ; %bb.6: mov x0, x19 bl _cfq_cfqq_sync cbz x0, LBB0_8 LBB0_7: mov w0, #1 b LBB0_11 LBB0_8: ldr w3, [x22] LBB0_9: Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov x0, x20 mov x1, x19 bl _cfq_log_cfqq LBB0_10: mov w0, #0 LBB0_11: 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 Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _IDLE_WORKLOAD,4,2 ; @IDLE_WORKLOAD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Not idling. st->count:%d" .no_dead_strip _cfq_should_idle .subsections_via_symbols
AnghaBench/fastsocket/kernel/block/extr_cfq-iosched.c_cfq_should_idle.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _MAIN_FUNCTION_op_sub ## -- Begin function MAIN_FUNCTION_op_sub .p2align 4, 0x90 _MAIN_FUNCTION_op_sub: ## @MAIN_FUNCTION_op_sub .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $17, %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_FUNCTION_op_sub ; -- Begin function MAIN_FUNCTION_op_sub .p2align 2 _MAIN_FUNCTION_op_sub: ; @MAIN_FUNCTION_op_sub .cfi_startproc ; %bb.0: mov w0, #17 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/5475.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_track _get_track: ## @get_track .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 %edi, %r13d andl $3, %r13d movq _unit@GOTPCREL(%rip), %rax movq (%rax), %rax movq %r13, %r12 shlq $4, %r12 xorl %r15d, %r15d cmpl %esi, (%rax,%r12) je LBB0_13 ## %bb.1: movl %esi, %r14d movl %r13d, %edi callq _get_fdc movl %r13d, %edi callq _fd_motor_on movl $-1, %r15d testl %eax, %eax je LBB0_12 ## %bb.2: movq _unit@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $1, 4(%rax,%r12) jne LBB0_4 ## %bb.3: movq _flush_track_timer@GOTPCREL(%rip), %rax movl (%rax), %edi addl %r13d, %edi callq _del_timer movl %r13d, %edi callq _non_int_flush_track LBB0_4: movq _MAX_ERRORS@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_12 ## %bb.5: xorl %ebx, %ebx movq _unit@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movl %r13d, %edi movl %r14d, %esi callq _fd_seek testl %eax, %eax je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 movl %r13d, %edi callq _raw_read movq (%r15), %rax movq 8(%rax,%r12), %rax movl %r13d, %edi callq *(%rax) testl %eax, %eax je LBB0_9 ## %bb.10: ## in Loop: Header=BB0_6 Depth=1 movq (%r15), %rax movl $-1, (%rax,%r12) incl %ebx movq _MAX_ERRORS@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jl LBB0_6 ## %bb.11: movl $-1, %r15d jmp LBB0_12 LBB0_7: movl $-1, %r15d jmp LBB0_13 LBB0_9: xorl %r15d, %r15d LBB0_12: xorl %eax, %eax callq _rel_fdc LBB0_13: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _unit,8,3 ## @unit .comm _flush_track_timer,4,2 ## @flush_track_timer .comm _MAX_ERRORS,4,2 ## @MAX_ERRORS .no_dead_strip _get_track .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_track _get_track: ; @get_track .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 Lloh0: adrp x22, _unit@GOTPAGE Lloh1: ldr x22, [x22, _unit@GOTPAGEOFF] and w20, w0, #0x3 ldr x8, [x22] lsl x23, x20, #4 ldr w8, [x8, x23] cmp w8, w1 b.ne LBB0_2 ; %bb.1: mov w21, #0 b LBB0_12 LBB0_2: mov x19, x1 mov x0, x20 bl _get_fdc mov x0, x20 bl _fd_motor_on cbz w0, LBB0_10 ; %bb.3: ldr x8, [x22] add x8, x8, x20, lsl #4 ldr w8, [x8, #4] cmp w8, #1 b.ne LBB0_5 ; %bb.4: Lloh2: adrp x8, _flush_track_timer@GOTPAGE Lloh3: ldr x8, [x8, _flush_track_timer@GOTPAGEOFF] Lloh4: ldr w8, [x8] add w0, w8, w20 bl _del_timer mov x0, x20 bl _non_int_flush_track LBB0_5: Lloh5: adrp x24, _MAX_ERRORS@GOTPAGE Lloh6: ldr x24, [x24, _MAX_ERRORS@GOTPAGEOFF] ldr w8, [x24] cmp w8, #1 b.lt LBB0_10 ; %bb.6: mov w25, #0 mov w21, #-1 LBB0_7: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x19 bl _fd_seek cbz w0, LBB0_13 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 mov x0, x20 bl _raw_read ldr x8, [x22] add x8, x8, x20, lsl #4 ldr x8, [x8, #8] ldr x8, [x8] mov x0, x20 blr x8 cbz w0, LBB0_14 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [x22] str w21, [x8, x23] add w25, w25, #1 ldr w8, [x24] cmp w25, w8 b.lt LBB0_7 b LBB0_11 LBB0_10: mov w21, #-1 LBB0_11: bl _rel_fdc LBB0_12: 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 LBB0_13: mov w21, #-1 b LBB0_12 LBB0_14: mov w21, #0 b LBB0_11 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _unit,8,3 ; @unit .comm _flush_track_timer,4,2 ; @flush_track_timer .comm _MAX_ERRORS,4,2 ; @MAX_ERRORS .no_dead_strip _get_track .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/block/extr_amiflop.c_get_track.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sdma_v3_0_sw_fini _sdma_v3_0_sw_fini: ## @sdma_v3_0_sw_fini .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 %rdi, %r14 cmpl $0, (%rdi) jle LBB0_3 ## %bb.1: xorl %r15d, %r15d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rdi addq %r15, %rdi callq _amdgpu_ring_fini incq %rbx movslq (%r14), %rax addq $4, %r15 cmpq %rax, %rbx jl LBB0_2 LBB0_3: movq %r14, %rdi callq _sdma_v3_0_free_microcode xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sdma_v3_0_sw_fini .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sdma_v3_0_sw_fini _sdma_v3_0_sw_fini: ; @sdma_v3_0_sw_fini .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 x19, x0 ldr w8, [x0] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x20, #0 mov x21, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x0, x8, x20 bl _amdgpu_ring_fini add x21, x21, #1 ldrsw x8, [x19] add x20, x20, #4 cmp x21, x8 b.lt LBB0_2 LBB0_3: mov x0, x19 bl _sdma_v3_0_free_microcode mov w0, #0 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 _sdma_v3_0_sw_fini .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v3_0.c_sdma_v3_0_sw_fini.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___raid6_datap_recov_neon ## -- Begin function __raid6_datap_recov_neon .p2align 4, 0x90 ___raid6_datap_recov_neon: ## @__raid6_datap_recov_neon .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 %r8, %r13 movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %r12 movl %edi, %ebx movq %r8, %rdi callq _vld1q_u8 movl %eax, -52(%rbp) ## 4-byte Spill addq $64, %r13 movq %r13, %rdi callq _vld1q_u8 movl %eax, -48(%rbp) ## 4-byte Spill movl $15, %edi callq _vdupq_n_u8 movl %eax, -44(%rbp) ## 4-byte Spill testl %ebx, %ebx je LBB0_2 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %ebx, -56(%rbp) ## 4-byte Spill movq %r14, %rdi callq _vld1q_u8 movl %eax, %r13d movq %r15, %rdi callq _vld1q_u8 movl %r13d, %edi movl %eax, %esi callq _veorq_u8 movl %eax, %ebx movl %eax, %edi movl $4, %esi callq _vshrq_n_u8 movl %eax, %r13d movl %ebx, %edi movl -44(%rbp), %esi ## 4-byte Reload callq _vandq_u8 movl -52(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _vqtbl1q_u8 movl %eax, %ebx movl -48(%rbp), %edi ## 4-byte Reload movl %r13d, %esi callq _vqtbl1q_u8 movl %ebx, %edi movl %eax, %esi callq _veorq_u8 movl %eax, %ebx movq %r12, %rdi callq _vld1q_u8 movl %ebx, %edi movl %eax, %esi callq _veorq_u8 movl %eax, %r13d movq %r15, %rdi movl %ebx, %esi movl -56(%rbp), %ebx ## 4-byte Reload callq _vst1q_u8 movq %r12, %rdi movl %r13d, %esi callq _vst1q_u8 addq $64, %r12 addq $64, %r14 addq $64, %r15 addl $-16, %ebx jne LBB0_1 LBB0_2: addq $24, %rsp 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 ___raid6_datap_recov_neon ; -- Begin function __raid6_datap_recov_neon .p2align 2 ___raid6_datap_recov_neon: ; @__raid6_datap_recov_neon .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 x24, x4 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov x0, x4 bl _vld1q_u8 mov x23, x0 add x0, x24, #64 bl _vld1q_u8 mov x24, x0 mov w0, #15 bl _vdupq_n_u8 cbz w22, LBB0_3 ; %bb.1: mov x25, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _vld1q_u8 mov x26, x0 mov x0, x19 bl _vld1q_u8 mov x1, x0 mov x0, x26 bl _veorq_u8 mov x26, x0 mov w1, #4 bl _vshrq_n_u8 mov x27, x0 mov x0, x26 mov x1, x25 bl _vandq_u8 mov x1, x0 mov x0, x23 bl _vqtbl1q_u8 mov x26, x0 mov x0, x24 mov x1, x27 bl _vqtbl1q_u8 mov x1, x0 mov x0, x26 bl _veorq_u8 mov x26, x0 mov x0, x21 bl _vld1q_u8 mov x1, x0 mov x0, x26 bl _veorq_u8 mov x27, x0 mov x0, x19 mov x1, x26 bl _vst1q_u8 mov x0, x21 mov x1, x27 bl _vst1q_u8 add x21, x21, #64 add x20, x20, #64 add x19, x19, #64 subs w22, w22, #16 b.ne LBB0_2 LBB0_3: 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 .subsections_via_symbols
AnghaBench/linux/lib/raid6/extr_recov_neon_inner.c___raid6_datap_recov_neon.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bond_start_xmit _bond_start_xmit: ## @bond_start_xmit .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 _netdev_priv movq %rax, %r12 movq _NETDEV_TX_OK@GOTPCREL(%rip), %rax movl (%rax), %r14d movq %rbx, %rdi callq _is_netpoll_tx_blocked movl %eax, %edi callq _unlikely testq %rax, %rax je LBB0_2 ## %bb.1: movq _NETDEV_TX_BUSY@GOTPCREL(%rip), %rax movl (%rax), %r14d jmp LBB0_6 LBB0_2: xorl %eax, %eax callq _rcu_read_lock movq %r12, %rdi callq _bond_has_slaves testq %rax, %rax je LBB0_4 ## %bb.3: movq %r15, %rdi movq %rbx, %rsi callq ___bond_start_xmit movl %eax, %r14d jmp LBB0_5 LBB0_4: movq %rbx, %rdi movq %r15, %rsi callq _bond_tx_drop LBB0_5: xorl %eax, %eax callq _rcu_read_unlock LBB0_6: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NETDEV_TX_OK,4,2 ## @NETDEV_TX_OK .comm _NETDEV_TX_BUSY,4,2 ## @NETDEV_TX_BUSY .no_dead_strip _bond_start_xmit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bond_start_xmit _bond_start_xmit: ; @bond_start_xmit .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 x20, x1 mov x21, x0 mov x0, x1 bl _netdev_priv mov x22, x0 Lloh0: adrp x8, _NETDEV_TX_OK@GOTPAGE Lloh1: ldr x8, [x8, _NETDEV_TX_OK@GOTPAGEOFF] Lloh2: ldr w19, [x8] mov x0, x20 bl _is_netpoll_tx_blocked bl _unlikely cbz x0, LBB0_2 ; %bb.1: Lloh3: adrp x8, _NETDEV_TX_BUSY@GOTPAGE Lloh4: ldr x8, [x8, _NETDEV_TX_BUSY@GOTPAGEOFF] Lloh5: ldr w19, [x8] b LBB0_6 LBB0_2: bl _rcu_read_lock mov x0, x22 bl _bond_has_slaves cbz x0, LBB0_4 ; %bb.3: mov x0, x21 mov x1, x20 bl ___bond_start_xmit mov x19, x0 b LBB0_5 LBB0_4: mov x0, x20 mov x1, x21 bl _bond_tx_drop LBB0_5: bl _rcu_read_unlock LBB0_6: 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _NETDEV_TX_OK,4,2 ; @NETDEV_TX_OK .comm _NETDEV_TX_BUSY,4,2 ; @NETDEV_TX_BUSY .no_dead_strip _bond_start_xmit .subsections_via_symbols
AnghaBench/linux/drivers/net/bonding/extr_bond_main.c_bond_start_xmit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PEM_dek_info ## -- Begin function PEM_dek_info .p2align 4, 0x90 _PEM_dek_info: ## @PEM_dek_info .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 %rcx, %r14 movl %edx, %r12d movq %rsi, %r13 movq %rdi, %r15 callq _strlen cltq addq %rax, %r15 movq _PEM_BUFSIZE@GOTPCREL(%rip), %rcx movl (%rcx), %ebx subl %eax, %ebx leaq L_.str(%rip), %rdx movq %r15, %rdi movl %ebx, %esi movq %r13, %rcx xorl %eax, %eax callq _BIO_snprintf testl %eax, %eax jle LBB0_6 ## %bb.1: subl %eax, %ebx movl %eax, %eax addq %rax, %r15 testl %r12d, %r12d jle LBB0_5 ## %bb.2: movslq %r12d, %r13 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movzbl (%r14,%r12), %ecx movq %r15, %rdi movl %ebx, %esi leaq L_.str.1(%rip), %rdx xorl %eax, %eax callq _BIO_snprintf testl %eax, %eax jle LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 subl %eax, %ebx movl %eax, %eax addq %rax, %r15 incq %r12 cmpq %r12, %r13 jne LBB0_3 LBB0_5: cmpl $2, %ebx jl LBB0_6 ## %bb.7: leaq L_.str.2(%rip), %rsi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _strcpy ## TAILCALL LBB0_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PEM_BUFSIZE,8,3 ## @PEM_BUFSIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DEK-Info: %s," L_.str.1: ## @.str.1 .asciz "%02X" L_.str.2: ## @.str.2 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _PEM_dek_info ; -- Begin function PEM_dek_info .p2align 2 _PEM_dek_info: ; @PEM_dek_info .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, x3 mov x22, x2 mov x23, x1 mov x20, x0 bl _strlen add x20, x20, w0, sxtw Lloh0: adrp x8, _PEM_BUFSIZE@GOTPAGE Lloh1: ldr x8, [x8, _PEM_BUFSIZE@GOTPAGEOFF] Lloh2: ldr w8, [x8] sub w21, w8, w0 str x23, [sp] Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov x0, x20 mov x1, x21 bl _BIO_snprintf cmp w0, #1 b.lt LBB0_7 ; %bb.1: sub w21, w21, w0 add x20, x20, w0, uxtw cmp w22, #1 b.lt LBB0_5 ; %bb.2: sxtw x23, w22 Lloh5: adrp x22, l_.str.1@PAGE Lloh6: add x22, x22, l_.str.1@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x19] str x8, [sp] mov x0, x20 mov x1, x21 mov x2, x22 bl _BIO_snprintf cmp w0, #1 b.lt LBB0_7 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 sub w21, w21, w0 add x20, x20, w0, uxtw add x19, x19, #1 subs x23, x23, #1 b.ne LBB0_3 LBB0_5: cmp w21, #1 b.le LBB0_7 ; %bb.6: Lloh7: adrp x1, l_.str.2@PAGE Lloh8: add x1, x1, l_.str.2@PAGEOFF 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 add sp, sp, #80 b _strcpy LBB0_7: 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 AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _PEM_BUFSIZE,8,3 ; @PEM_BUFSIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DEK-Info: %s," l_.str.1: ; @.str.1 .asciz "%02X" l_.str.2: ; @.str.2 .asciz "\n" .subsections_via_symbols
AnghaBench/openssl/crypto/pem/extr_pem_lib.c_PEM_dek_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function targbhallocdescr _targbhallocdescr: ## @targbhallocdescr .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 _M_SCSIBH@GOTPCREL(%rip), %r14 movl (%r14), %esi movq _M_NOWAIT@GOTPCREL(%rip), %r15 movl (%r15), %edx movl $16, %edi callq _malloc testq %rax, %rax je LBB0_5 ## %bb.1: movq %rax, %rbx movq %rax, %rdi movl $16, %esi callq _bzero movq _MAX_BUF_SIZE@GOTPCREL(%rip), %r12 movl (%r12), %edi movl (%r14), %esi movl (%r15), %edx callq _malloc movq %rax, 8(%rbx) testq %rax, %rax je LBB0_4 ## %bb.2: movl (%r12), %eax movl %eax, (%rbx) jmp LBB0_6 LBB0_4: movl (%r14), %esi movq %rbx, %rdi callq _free LBB0_5: xorl %ebx, %ebx LBB0_6: movq %rbx, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _M_SCSIBH,4,2 ## @M_SCSIBH .comm _M_NOWAIT,4,2 ## @M_NOWAIT .comm _MAX_BUF_SIZE,4,2 ## @MAX_BUF_SIZE .no_dead_strip _targbhallocdescr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function targbhallocdescr _targbhallocdescr: ; @targbhallocdescr .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 x20, _M_SCSIBH@GOTPAGE Lloh1: ldr x20, [x20, _M_SCSIBH@GOTPAGEOFF] ldr w1, [x20] Lloh2: adrp x21, _M_NOWAIT@GOTPAGE Lloh3: ldr x21, [x21, _M_NOWAIT@GOTPAGEOFF] ldr w2, [x21] mov w0, #16 bl _malloc mov x19, x0 cbz x0, LBB0_4 ; %bb.1: mov x0, x19 mov w1, #16 bl _bzero Lloh4: adrp x22, _MAX_BUF_SIZE@GOTPAGE Lloh5: ldr x22, [x22, _MAX_BUF_SIZE@GOTPAGEOFF] ldr w0, [x22] ldr w1, [x20] ldr w2, [x21] bl _malloc str x0, [x19, #8] cbz x0, LBB0_3 ; %bb.2: ldr w8, [x22] str w8, [x19] b LBB0_4 LBB0_3: ldr w1, [x20] mov x0, x19 bl _free mov x19, #0 LBB0_4: 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _M_SCSIBH,4,2 ; @M_SCSIBH .comm _M_NOWAIT,4,2 ; @M_NOWAIT .comm _MAX_BUF_SIZE,4,2 ; @MAX_BUF_SIZE .no_dead_strip _targbhallocdescr .subsections_via_symbols
AnghaBench/freebsd/sys/cam/scsi/extr_scsi_targ_bh.c_targbhallocdescr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xtpg_close _xtpg_close: ## @xtpg_close .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 _xtpg_close .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xtpg_close _xtpg_close: ; @xtpg_close .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _xtpg_close .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/xilinx/extr_xilinx-tpg.c_xtpg_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pcmcia_parse_uevents ## -- Begin function pcmcia_parse_uevents .p2align 4, 0x90 _pcmcia_parse_uevents: ## @pcmcia_parse_uevents .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 %esi, %r14d movq %rdi, %rbx addq $16, %rdi leaq L_.str(%rip), %rsi movl %r14d, %edx callq _dev_dbg cmpq $0, (%rbx) je LBB0_1 ## %bb.2: leaq 8(%rbx), %r15 movq %r15, %rdi callq _spin_lock_irqsave orl %r14d, 12(%rbx) movq %r15, %rdi callq _spin_unlock_irqrestore movq (%rbx), %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _wake_up_process ## TAILCALL LBB0_1: 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 "parse_uevents: events %08x\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pcmcia_parse_uevents ; -- Begin function pcmcia_parse_uevents .p2align 2 _pcmcia_parse_uevents: ; @pcmcia_parse_uevents .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 x20, x1 mov x19, x0 add x0, x0, #16 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x2, x20 bl _dev_dbg ldr x8, [x19] cbz x8, LBB0_2 ; %bb.1: add x21, x19, #8 mov x0, x21 bl _spin_lock_irqsave ldr w8, [x19, #12] orr w8, w8, w20 str w8, [x19, #12] mov x0, x21 bl _spin_unlock_irqrestore ldr 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 _wake_up_process LBB0_2: 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 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "parse_uevents: events %08x\n" .subsections_via_symbols
AnghaBench/linux/drivers/pcmcia/extr_cs.c_pcmcia_parse_uevents.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function resolveOutOfRangeError _resolveOutOfRangeError: ## @resolveOutOfRangeError .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %ecx, %r8d movq %rsi, %rcx leaq L_.str(%rip), %rsi popq %rbp jmp _sqlite3ErrorMsg ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%r %s BY term out of range - should be between 1 and %d" .no_dead_strip _resolveOutOfRangeError .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function resolveOutOfRangeError _resolveOutOfRangeError: ; @resolveOutOfRangeError .cfi_startproc ; %bb.0: mov x4, x3 mov x3, x1 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF b _sqlite3ErrorMsg .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%r %s BY term out of range - should be between 1 and %d" .no_dead_strip _resolveOutOfRangeError .subsections_via_symbols
AnghaBench/mongoose/examples/api_server/extr_sqlite3.c_resolveOutOfRangeError.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function qlt_ctio_to_cmd _qlt_ctio_to_cmd: ## @qlt_ctio_to_cmd .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 %rcx, -64(%rbp) ## 8-byte Spill movq %rdx, %r13 movq %rsi, %r12 movq %rdi, %r14 movq %rdx, %rdi callq _GET_QID movl %eax, %ebx movq _QLA_TGT_HANDLE_MASK@GOTPCREL(%rip), %rax movq (%rax), %r15 notq %r15 andq %r13, %r15 movq _QLA_TGT_SKIP_HANDLE@GOTPCREL(%rip), %rax xorl %edi, %edi cmpq (%rax), %r15 sete %dil callq _unlikely testq %rax, %rax je LBB0_3 LBB0_1: xorl %r12d, %r12d LBB0_2: movq %r12, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r13, -56(%rbp) ## 8-byte Spill movq -64(%rbp), %r13 ## 8-byte Reload movq %r14, -48(%rbp) ## 8-byte Spill movq 8(%r12), %r14 cmpl (%r14), %ebx je LBB0_6 ## %bb.4: movq -48(%rbp), %r14 ## 8-byte Reload movq 8(%r14), %rax movq (%rax), %rax movslq %ebx, %rbx cmpq $0, (%rax,%rbx,8) je LBB0_1 ## %bb.5: movq _ql_dbg_tgt_mgt@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%r14), %r8d movl (%r12), %r9d subq $8, %rsp leaq L_.str(%rip), %rcx movq %r14, %rsi movl $65546, %edx ## imm = 0x1000A xorl %eax, %eax pushq -56(%rbp) ## 8-byte Folded Reload callq _ql_dbg addq $16, %rsp movq 8(%r14), %rax movq (%rax), %rax movq (%rax,%rbx,8), %r14 LBB0_6: movq _QLA_CMD_HANDLE_MASK@GOTPCREL(%rip), %rax andq (%rax), %r15 movq _QLA_TGT_NULL_HANDLE@GOTPCREL(%rip), %rax cmpq (%rax), %r15 jne LBB0_9 ## %bb.7: testq %r13, %r13 je LBB0_1 ## %bb.8: movq _ql_dbg_tgt@GOTPCREL(%rip), %rax movl (%rax), %edi movq -48(%rbp), %rsi ## 8-byte Reload movl (%rsi), %r8d leaq L_.str.3(%rip), %rcx xorl %r12d, %r12d movl $57428, %edx ## imm = 0xE054 xorl %eax, %eax callq _ql_dbg jmp LBB0_2 LBB0_9: movq %r12, %rbx xorl %edi, %edi cmpq 8(%r14), %r15 setae %dil callq _unlikely testq %rax, %rax je LBB0_13 ## %bb.10: movq _ql_dbg_tgt@GOTPCREL(%rip), %rax movl (%rax), %edi movq -48(%rbp), %rsi ## 8-byte Reload movl (%rsi), %r8d leaq L_.str.1(%rip), %rcx xorl %r12d, %r12d movl $57426, %edx ## imm = 0xE052 movq -56(%rbp), %r9 ## 8-byte Reload xorl %eax, %eax callq _ql_dbg jmp LBB0_2 LBB0_13: movq 16(%r14), %rax movq (%rax,%r15,8), %r12 xorl %edi, %edi testq %r12, %r12 sete %dil callq _unlikely testq %rax, %rax movq -56(%rbp), %r9 ## 8-byte Reload je LBB0_15 ## %bb.14: movq _ql_dbg_async@GOTPCREL(%rip), %rax movl (%rax), %edi movq -48(%rbp), %rsi ## 8-byte Reload movl (%rsi), %r8d movl (%r14), %r10d movl (%rbx), %ebx leaq L_.str.2(%rip), %rcx xorl %r12d, %r12d movl $57427, %edx ## imm = 0xE053 xorl %eax, %eax pushq %rbx pushq %r10 callq _ql_dbg addq $16, %rsp jmp LBB0_2 LBB0_15: movq 16(%r14), %rax movq $0, (%rax,%r15,8) jmp LBB0_2 .cfi_endproc ## -- End function .comm _QLA_TGT_HANDLE_MASK,8,3 ## @QLA_TGT_HANDLE_MASK .comm _QLA_TGT_SKIP_HANDLE,8,3 ## @QLA_TGT_SKIP_HANDLE .comm _ql_dbg_tgt_mgt,4,2 ## @ql_dbg_tgt_mgt .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "qla_target(%d): CTIO completion with different QID %d handle %x\n" .comm _QLA_CMD_HANDLE_MASK,8,3 ## @QLA_CMD_HANDLE_MASK .comm _QLA_TGT_NULL_HANDLE,8,3 ## @QLA_TGT_NULL_HANDLE .comm _ql_dbg_tgt,4,2 ## @ql_dbg_tgt L_.str.1: ## @.str.1 .asciz "qla_target(%d): Wrong handle %x received\n" .comm _ql_dbg_async,4,2 ## @ql_dbg_async L_.str.2: ## @.str.2 .asciz "qla_target(%d): Suspicious: unable to find the command with handle %x req->id %d rsp->id %d\n" L_.str.3: ## @.str.3 .asciz "qla_target(%d): Wrong CTIO received: QLA24xx doesn't support NULL handles\n" .no_dead_strip _qlt_ctio_to_cmd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function qlt_ctio_to_cmd _qlt_ctio_to_cmd: ; @qlt_ctio_to_cmd .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 mov x22, x3 mov x20, x2 mov x21, x1 mov x19, x0 mov x0, x2 bl _GET_QID mov x23, x0 Lloh0: adrp x8, _QLA_TGT_HANDLE_MASK@GOTPAGE Lloh1: ldr x8, [x8, _QLA_TGT_HANDLE_MASK@GOTPAGEOFF] Lloh2: ldr x8, [x8] bic x24, x20, x8 Lloh3: adrp x8, _QLA_TGT_SKIP_HANDLE@GOTPAGE Lloh4: ldr x8, [x8, _QLA_TGT_SKIP_HANDLE@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x24, x8 cset w0, eq bl _unlikely cbnz x0, LBB0_12 ; %bb.1: ldr x25, [x21, #8] ldr w8, [x25] cmp w23, w8 b.eq LBB0_4 ; %bb.2: ldr x8, [x19, #8] ldr x8, [x8] ldr x8, [x8, w23, sxtw #3] cbz x8, LBB0_12 ; %bb.3: sxtw x23, w23 Lloh6: adrp x8, _ql_dbg_tgt_mgt@GOTPAGE Lloh7: ldr x8, [x8, _ql_dbg_tgt_mgt@GOTPAGEOFF] Lloh8: ldr w0, [x8] ldr w4, [x19] ldr w8, [x21] Lloh9: adrp x3, l_.str@PAGE Lloh10: add x3, x3, l_.str@PAGEOFF stp x8, x20, [sp] mov x1, x19 mov w2, #10 movk w2, #1, lsl #16 bl _ql_dbg ldr x8, [x19, #8] ldr x8, [x8] ldr x25, [x8, x23, lsl #3] LBB0_4: Lloh11: adrp x8, _QLA_CMD_HANDLE_MASK@GOTPAGE Lloh12: ldr x8, [x8, _QLA_CMD_HANDLE_MASK@GOTPAGEOFF] Lloh13: ldr x8, [x8] and x23, x8, x24 Lloh14: adrp x8, _QLA_TGT_NULL_HANDLE@GOTPAGE Lloh15: ldr x8, [x8, _QLA_TGT_NULL_HANDLE@GOTPAGEOFF] Lloh16: ldr x8, [x8] cmp x23, x8 b.ne LBB0_7 ; %bb.5: cbz x22, LBB0_13 ; %bb.6: Lloh17: adrp x8, _ql_dbg_tgt@GOTPAGE Lloh18: ldr x8, [x8, _ql_dbg_tgt@GOTPAGEOFF] Lloh19: ldr w0, [x8] ldr w4, [x19] Lloh20: adrp x3, l_.str.3@PAGE Lloh21: add x3, x3, l_.str.3@PAGEOFF mov x1, x19 mov w2, #57428 b LBB0_11 LBB0_7: ldr x8, [x25, #8] cmp x23, x8 cset w0, hs bl _unlikely cbz x0, LBB0_9 ; %bb.8: Lloh22: adrp x8, _ql_dbg_tgt@GOTPAGE Lloh23: ldr x8, [x8, _ql_dbg_tgt@GOTPAGEOFF] Lloh24: ldr w0, [x8] ldr w4, [x19] Lloh25: adrp x3, l_.str.1@PAGE Lloh26: add x3, x3, l_.str.1@PAGEOFF str x20, [sp] mov x1, x19 mov w2, #57426 b LBB0_11 LBB0_9: ldr x8, [x25, #16] ldr x22, [x8, x23, lsl #3] cmp x22, #0 cset w0, eq bl _unlikely cbz x0, LBB0_14 ; %bb.10: Lloh27: adrp x8, _ql_dbg_async@GOTPAGE Lloh28: ldr x8, [x8, _ql_dbg_async@GOTPAGEOFF] Lloh29: ldr w0, [x8] ldr w4, [x19] ldr w8, [x25] ldr w9, [x21] stp x8, x9, [sp, #8] Lloh30: adrp x3, l_.str.2@PAGE Lloh31: add x3, x3, l_.str.2@PAGEOFF str x20, [sp] mov x1, x19 mov w2, #57427 LBB0_11: bl _ql_dbg LBB0_12: mov x22, #0 LBB0_13: mov x0, x22 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 add sp, sp, #112 ret LBB0_14: ldr x8, [x25, #16] str xzr, [x8, x23, lsl #3] b LBB0_13 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .comm _QLA_TGT_HANDLE_MASK,8,3 ; @QLA_TGT_HANDLE_MASK .comm _QLA_TGT_SKIP_HANDLE,8,3 ; @QLA_TGT_SKIP_HANDLE .comm _ql_dbg_tgt_mgt,4,2 ; @ql_dbg_tgt_mgt .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "qla_target(%d): CTIO completion with different QID %d handle %x\n" .comm _QLA_CMD_HANDLE_MASK,8,3 ; @QLA_CMD_HANDLE_MASK .comm _QLA_TGT_NULL_HANDLE,8,3 ; @QLA_TGT_NULL_HANDLE .comm _ql_dbg_tgt,4,2 ; @ql_dbg_tgt l_.str.1: ; @.str.1 .asciz "qla_target(%d): Wrong handle %x received\n" .comm _ql_dbg_async,4,2 ; @ql_dbg_async l_.str.2: ; @.str.2 .asciz "qla_target(%d): Suspicious: unable to find the command with handle %x req->id %d rsp->id %d\n" l_.str.3: ; @.str.3 .asciz "qla_target(%d): Wrong CTIO received: QLA24xx doesn't support NULL handles\n" .no_dead_strip _qlt_ctio_to_cmd .subsections_via_symbols
AnghaBench/linux/drivers/scsi/qla2xxx/extr_qla_target.c_qlt_ctio_to_cmd.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function softdma_process_rx _softdma_process_rx: ## @softdma_process_rx .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 movq %rbx, %rdi callq _softdma_fill_level testq %rax, %rax je LBB0_1 ## %bb.2: movq (%rbx), %rax movl (%rax), %edi movq _A_ONCHIP_FIFO_MEM_CORE_DATA@GOTPCREL(%rip), %r15 movl (%r15), %esi callq _bus_read_4 movq _A_ONCHIP_FIFO_MEM_CORE_METADATA@GOTPCREL(%rip), %r12 movl (%r12), %esi movq %rbx, %rdi callq _softdma_mem_read movq _A_ONCHIP_FIFO_MEM_CORE_ERROR_MASK@GOTPCREL(%rip), %r13 movl $-1, %r14d orq (%r13), %rax je LBB0_5 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movl (%rax), %edi movl (%r15), %esi callq _bus_read_4 movl (%r12), %esi movq %rbx, %rdi callq _softdma_mem_read orq (%r13), %rax jne LBB0_3 jmp LBB0_5 LBB0_1: xorl %r14d, %r14d LBB0_5: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _A_ONCHIP_FIFO_MEM_CORE_DATA,4,2 ## @A_ONCHIP_FIFO_MEM_CORE_DATA .comm _A_ONCHIP_FIFO_MEM_CORE_METADATA,4,2 ## @A_ONCHIP_FIFO_MEM_CORE_METADATA .comm _A_ONCHIP_FIFO_MEM_CORE_ERROR_MASK,8,3 ## @A_ONCHIP_FIFO_MEM_CORE_ERROR_MASK .comm _A_ONCHIP_FIFO_MEM_CORE_CHANNEL_MASK,8,3 ## @A_ONCHIP_FIFO_MEM_CORE_CHANNEL_MASK .comm _A_ONCHIP_FIFO_MEM_CORE_SOP,8,3 ## @A_ONCHIP_FIFO_MEM_CORE_SOP .comm _A_ONCHIP_FIFO_MEM_CORE_EOP,8,3 ## @A_ONCHIP_FIFO_MEM_CORE_EOP .comm _A_ONCHIP_FIFO_MEM_CORE_EMPTY_MASK,8,3 ## @A_ONCHIP_FIFO_MEM_CORE_EMPTY_MASK .comm _A_ONCHIP_FIFO_MEM_CORE_EMPTY_SHIFT,8,3 ## @A_ONCHIP_FIFO_MEM_CORE_EMPTY_SHIFT .no_dead_strip _softdma_process_rx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function softdma_process_rx _softdma_process_rx: ; @softdma_process_rx .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 ldr x19, [x0] mov x0, x19 bl _softdma_fill_level cbz x0, LBB0_5 ; %bb.1: ldr x8, [x19] ldr w0, [x8] Lloh0: adrp x20, _A_ONCHIP_FIFO_MEM_CORE_DATA@GOTPAGE Lloh1: ldr x20, [x20, _A_ONCHIP_FIFO_MEM_CORE_DATA@GOTPAGEOFF] ldr w1, [x20] bl _bus_read_4 Lloh2: adrp x21, _A_ONCHIP_FIFO_MEM_CORE_METADATA@GOTPAGE Lloh3: ldr x21, [x21, _A_ONCHIP_FIFO_MEM_CORE_METADATA@GOTPAGEOFF] ldr w1, [x21] mov x0, x19 bl _softdma_mem_read Lloh4: adrp x22, _A_ONCHIP_FIFO_MEM_CORE_ERROR_MASK@GOTPAGE Lloh5: ldr x22, [x22, _A_ONCHIP_FIFO_MEM_CORE_ERROR_MASK@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22] orr x8, x8, x0 cbz x8, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x19] ldr w0, [x8] ldr w1, [x20] bl _bus_read_4 ldr w1, [x21] mov x0, x19 bl _softdma_mem_read b LBB0_2 LBB0_4: mov w0, #-1 ; =0xffffffff 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 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _A_ONCHIP_FIFO_MEM_CORE_DATA,4,2 ; @A_ONCHIP_FIFO_MEM_CORE_DATA .comm _A_ONCHIP_FIFO_MEM_CORE_METADATA,4,2 ; @A_ONCHIP_FIFO_MEM_CORE_METADATA .comm _A_ONCHIP_FIFO_MEM_CORE_ERROR_MASK,8,3 ; @A_ONCHIP_FIFO_MEM_CORE_ERROR_MASK .comm _A_ONCHIP_FIFO_MEM_CORE_CHANNEL_MASK,8,3 ; @A_ONCHIP_FIFO_MEM_CORE_CHANNEL_MASK .comm _A_ONCHIP_FIFO_MEM_CORE_SOP,8,3 ; @A_ONCHIP_FIFO_MEM_CORE_SOP .comm _A_ONCHIP_FIFO_MEM_CORE_EOP,8,3 ; @A_ONCHIP_FIFO_MEM_CORE_EOP .comm _A_ONCHIP_FIFO_MEM_CORE_EMPTY_MASK,8,3 ; @A_ONCHIP_FIFO_MEM_CORE_EMPTY_MASK .comm _A_ONCHIP_FIFO_MEM_CORE_EMPTY_SHIFT,8,3 ; @A_ONCHIP_FIFO_MEM_CORE_EMPTY_SHIFT .no_dead_strip _softdma_process_rx .subsections_via_symbols
assembly_file_112862.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 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf callq _getchar leaq L_.str.2(%rip), %rdi movl $1805242, %esi ## imm = 0x1B8BBA xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi movl $-1165288704, %esi ## imm = 0xBA8B1B00 xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _LitToBigEndian ## -- Begin function LitToBigEndian .p2align 4, 0x90 _LitToBigEndian: ## @LitToBigEndian .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 bswapl %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "It is in Little endian" L_.str.2: ## @.str.2 .asciz "\n Little_Endian = 0x%X\n" L_.str.3: ## @.str.3 .asciz "\n Big_Endian = 0x%X\n" .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 bl _getchar mov w8, #35770 movk w8, #27, lsl #16 str x8, [sp] Lloh2: adrp x0, l_.str.2@PAGE Lloh3: add x0, x0, l_.str.2@PAGEOFF bl _printf mov w8, #6912 movk w8, #47755, lsl #16 str x8, [sp] Lloh4: adrp x0, l_.str.3@PAGE Lloh5: add x0, x0, l_.str.3@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 .globl _LitToBigEndian ; -- Begin function LitToBigEndian .p2align 2 _LitToBigEndian: ; @LitToBigEndian .cfi_startproc ; %bb.0: rev w0, w0 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "It is in Little endian" l_.str.2: ; @.str.2 .asciz "\n Little_Endian = 0x%X\n" l_.str.3: ; @.str.3 .asciz "\n Big_Endian = 0x%X\n" .subsections_via_symbols
the_stack_data/868675.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function olpc_mic_info _olpc_mic_info: ## @olpc_mic_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _SNDRV_CTL_ELEM_TYPE_BOOLEAN@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%rsi) movl $1, (%rsi) movq $0, 16(%rsi) movl $1, 8(%rsi) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _SNDRV_CTL_ELEM_TYPE_BOOLEAN,4,2 ## @SNDRV_CTL_ELEM_TYPE_BOOLEAN .no_dead_strip _olpc_mic_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function olpc_mic_info _olpc_mic_info: ; @olpc_mic_info .cfi_startproc ; %bb.0: Lloh0: adrp x8, _SNDRV_CTL_ELEM_TYPE_BOOLEAN@GOTPAGE Lloh1: ldr x8, [x8, _SNDRV_CTL_ELEM_TYPE_BOOLEAN@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x1, #24] mov w8, #1 str w8, [x1] str xzr, [x1, #16] str w8, [x1, #8] mov w0, #0 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SNDRV_CTL_ELEM_TYPE_BOOLEAN,4,2 ; @SNDRV_CTL_ELEM_TYPE_BOOLEAN .no_dead_strip _olpc_mic_info .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/pci/cs5535audio/extr_cs5535audio_olpc.c_olpc_mic_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function bfusb_tx_complete _bfusb_tx_complete: ## @bfusb_tx_complete .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 %rdi, %r15 movq 8(%rdi), %r14 movq (%r14), %r8 movq 8(%r14), %rbx leaq L_.str(%rip), %rdi movq %rbx, %rsi movq %r15, %rdx movq %r14, %rcx callq _BT_DBG leaq 24(%rbx), %rdi callq _atomic_dec movq _HCI_RUNNING@GOTPCREL(%rip), %rax movl (%rax), %edi movq 16(%rbx), %rsi addq $8, %rsi callq _test_bit testl %eax, %eax je LBB0_5 ## %bb.1: cmpl $0, (%r15) je LBB0_2 ## %bb.3: movq 16(%rbx), %rax incl (%rax) jmp LBB0_4 LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: movl (%r14), %eax movq 16(%rbx), %rcx addl %eax, 4(%rcx) LBB0_4: movq %rbx, %rdi callq _read_lock leaq 8(%rbx), %rsi movq %r14, %rdi callq _skb_unlink leaq 4(%rbx), %rdi movq %r14, %rsi callq _skb_queue_tail movq %rbx, %rdi callq _bfusb_tx_wakeup movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _read_unlock ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bfusb %p urb %p skb %p len %d" .comm _HCI_RUNNING,4,2 ## @HCI_RUNNING .no_dead_strip _bfusb_tx_complete .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function bfusb_tx_complete _bfusb_tx_complete: ; @bfusb_tx_complete .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 x20, [x0, #8] ldp x4, x19, [x20] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x1, x19 mov x2, x21 mov x3, x20 bl _BT_DBG add x0, x19, #24 bl _atomic_dec Lloh2: adrp x8, _HCI_RUNNING@GOTPAGE Lloh3: ldr x8, [x8, _HCI_RUNNING@GOTPAGEOFF] Lloh4: ldr w0, [x8] ldr x8, [x19, #16] add x1, x8, #8 bl _test_bit cbz w0, LBB0_3 ; %bb.1: ldr w8, [x21] cbz w8, LBB0_4 ; %bb.2: ldr x8, [x19, #16] ldr w9, [x8] add w9, w9, #1 str w9, [x8] b LBB0_5 LBB0_3: 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_4: ldr w8, [x20] ldr x9, [x19, #16] ldr w10, [x9, #4] add w8, w10, w8 str w8, [x9, #4] LBB0_5: mov x0, x19 bl _read_lock add x1, x19, #8 mov x0, x20 bl _skb_unlink add x0, x19, #4 mov x1, x20 bl _skb_queue_tail mov x0, x19 bl _bfusb_tx_wakeup 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 _read_unlock .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bfusb %p urb %p skb %p len %d" .comm _HCI_RUNNING,4,2 ; @HCI_RUNNING .no_dead_strip _bfusb_tx_complete .subsections_via_symbols
AnghaBench/linux/drivers/bluetooth/extr_bfusb.c_bfusb_tx_complete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cachefiles_daemon_bstop _cachefiles_daemon_bstop: ## @cachefiles_daemon_bstop .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 movq %rsi, %rbx movq %rdi, %r14 movq %rsi, -24(%rbp) leaq L_.str(%rip), %rdi callq __enter cmpb $0, (%rbx) je LBB0_1 ## %bb.2: leaq -24(%rbp), %rsi movq %rbx, %rdi movl $10, %edx callq _simple_strtoul movq -24(%rbp), %rsi cmpb $37, (%rsi) jne LBB0_1 ## %bb.3: cmpb $0, 1(%rsi) je LBB0_4 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_7: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_4: cmpq (%r14), %rax jae LBB0_5 ## %bb.6: movq %rax, 8(%r14) xorl %eax, %eax jmp LBB0_7 LBB0_5: movq %r14, %rdi callq _cachefiles_daemon_range_error jmp LBB0_7 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz ",%s" .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _cachefiles_daemon_bstop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cachefiles_daemon_bstop _cachefiles_daemon_bstop: ; @cachefiles_daemon_bstop .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 x20, x1 mov x19, x0 str x1, [sp, #8] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl __enter ldrb w8, [x20] cbz w8, LBB0_3 ; %bb.1: add x1, sp, #8 mov x0, x20 mov w2, #10 bl _simple_strtoul ldr x1, [sp, #8] ldrb w9, [x1] cmp w9, #37 b.ne LBB0_3 ; %bb.2: ldrb w9, [x1, #1] cbz w9, LBB0_5 LBB0_3: Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_5: mov x8, x0 ldr x9, [x19] cmp x0, x9 b.hs LBB0_7 ; %bb.6: mov w0, #0 str x8, [x19, #8] b LBB0_4 LBB0_7: mov x0, x19 bl _cachefiles_daemon_range_error b LBB0_4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz ",%s" .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _cachefiles_daemon_bstop .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/cachefiles/extr_daemon.c_cachefiles_daemon_bstop.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function collect_garbage_comments _collect_garbage_comments: ## @collect_garbage_comments .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 %edi, %ebx movq _COMM_MODE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _assert movq _comments_kept@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq _garbage_uid@GOTPCREL(%rip), %rax movl (%rax), %eax movq _PLACES_HASH@GOTPCREL(%rip), %rcx movl (%rcx), %r12d leal (%rbx,%rbx), %ecx leal (%rcx,%rcx,4), %ecx movq %rcx, -56(%rbp) ## 8-byte Spill xorl %r13d, %r13d .p2align 4, 0x90 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_2 Depth 2 ## Child Loop BB0_3 Depth 3 movl %eax, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=2 incl %r15d cmpl %r12d, %r15d movl %r12d, %ecx cmovll %r13d, %ecx subl %ecx, %r15d cmpl %eax, %r15d je LBB0_6 LBB0_2: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_3 Depth 3 movq _Place@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq %r15d, %rdx movq (%rcx,%rdx,8), %r14 testq %r14, %r14 je LBB0_5 .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_2 Depth=2 ## => This Inner Loop Header: Depth=3 movq %r14, %rdi callq _remove_old_comments decl %ebx movq (%r14), %r14 testq %r14, %r14 jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=2 movq _garbage_uid@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_5 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 testl %ebx, %ebx jle LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rdx ## 8-byte Reload leal -1(%rdx), %ecx cmpl $1, %edx ## kill: def $ecx killed $ecx def $rcx movq %rcx, -56(%rbp) ## 8-byte Spill jg LBB0_1 LBB0_8: movq _garbage_uid@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl -44(%rbp), %ecx ## 4-byte Reload movq _comments_kept@GOTPCREL(%rip), %rax subl (%rax), %ecx movq _garbage_objects_collected@GOTPCREL(%rip), %rax addl %ecx, (%rax) movl $1, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _COMM_MODE,4,2 ## @COMM_MODE .comm _comments_kept,4,2 ## @comments_kept .comm _garbage_uid,4,2 ## @garbage_uid .comm _PLACES_HASH,4,2 ## @PLACES_HASH .comm _Place,8,3 ## @Place .comm _garbage_objects_collected,4,2 ## @garbage_objects_collected .no_dead_strip _collect_garbage_comments .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function collect_garbage_comments _collect_garbage_comments: ; @collect_garbage_comments .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 Lloh0: adrp x8, _COMM_MODE@GOTPAGE Lloh1: ldr x8, [x8, _COMM_MODE@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _assert Lloh3: adrp x22, _comments_kept@GOTPAGE Lloh4: ldr x22, [x22, _comments_kept@GOTPAGEOFF] ldr w21, [x22] Lloh5: adrp x23, _garbage_uid@GOTPAGE Lloh6: ldr x23, [x23, _garbage_uid@GOTPAGEOFF] Lloh7: adrp x9, _PLACES_HASH@GOTPAGE Lloh8: ldr x9, [x9, _PLACES_HASH@GOTPAGEOFF] ldr w8, [x23] Lloh9: ldr w24, [x9] add w9, w19, w19, lsl #2 lsl w26, w9, #1 Lloh10: adrp x25, _Place@GOTPAGE Lloh11: ldr x25, [x25, _Place@GOTPAGEOFF] LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ; Child Loop BB0_4 Depth 3 mov x27, x8 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=2 add w9, w27, #1 cmp w9, w24 csel w10, wzr, w24, lt sub w27, w9, w10 cmp w27, w8 b.eq LBB0_6 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_4 Depth 3 ldr x9, [x25] ldr x20, [x9, w27, sxtw #3] cbz x20, LBB0_2 LBB0_4: ; Parent Loop BB0_1 Depth=1 ; Parent Loop BB0_3 Depth=2 ; => This Inner Loop Header: Depth=3 mov x0, x20 bl _remove_old_comments sub w19, w19, #1 ldr x20, [x20] cbnz x20, LBB0_4 ; %bb.5: ; in Loop: Header=BB0_3 Depth=2 ldr w8, [x23] b LBB0_2 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 cmp w19, #1 b.lt LBB0_8 ; %bb.7: ; in Loop: Header=BB0_1 Depth=1 sub w9, w26, #1 cmp w26, #1 mov x26, x9 b.gt LBB0_1 LBB0_8: str w8, [x23] Lloh12: adrp x8, _garbage_objects_collected@GOTPAGE Lloh13: ldr x8, [x8, _garbage_objects_collected@GOTPAGEOFF] ldr w9, [x22] ldr w10, [x8] sub w9, w21, w9 add w9, w9, w10 str w9, [x8] mov w0, #1 ; =0x1 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 Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _COMM_MODE,4,2 ; @COMM_MODE .comm _comments_kept,4,2 ; @comments_kept .comm _garbage_uid,4,2 ; @garbage_uid .comm _PLACES_HASH,4,2 ; @PLACES_HASH .comm _Place,8,3 ; @Place .comm _garbage_objects_collected,4,2 ; @garbage_objects_collected .no_dead_strip _collect_garbage_comments .subsections_via_symbols
assembly_file_58966.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_ith_rtsi_brd_reg _get_ith_rtsi_brd_reg: ## @get_ith_rtsi_brd_reg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rsi), %rax cmpq $1, 8(%rax) movl $4, %ecx sbbl $0, %ecx movl $-1, %edx shll %cl, %edx notl %edx imull %edi, %ecx movl (%rax), %eax ## kill: def $cl killed $cl killed $ecx sarl %cl, %eax andl %edx, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_ith_rtsi_brd_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_ith_rtsi_brd_reg _get_ith_rtsi_brd_reg: ; @get_ith_rtsi_brd_reg .cfi_startproc ; %bb.0: ldr x8, [x1] ldr x9, [x8, #8] cmp x9, #0 mov w9, #3 cinc w9, w9, ne mov w10, #-1 lsl w10, w10, w9 mul w9, w9, w0 ldr w8, [x8] asr w8, w8, w9 bic w0, w8, w10 ret .cfi_endproc ; -- End function .no_dead_strip _get_ith_rtsi_brd_reg .subsections_via_symbols
AnghaBench/linux/drivers/staging/comedi/drivers/extr_ni_mio_common.c_get_ith_rtsi_brd_reg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_hardware_disabled ## -- Begin function is_hardware_disabled .p2align 4, 0x90 _is_hardware_disabled: ## @is_hardware_disabled .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _disable_hardware@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _disable_hardware,4,2 ## @disable_hardware .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _is_hardware_disabled ; -- Begin function is_hardware_disabled .p2align 2 _is_hardware_disabled: ; @is_hardware_disabled .cfi_startproc ; %bb.0: Lloh0: adrp x8, _disable_hardware@GOTPAGE Lloh1: ldr x8, [x8, _disable_hardware@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _disable_hardware,4,2 ; @disable_hardware .subsections_via_symbols
AnghaBench/HandBrake/libhb/extr_hb.c_is_hardware_disabled.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _unregister_cdrom ## -- Begin function unregister_cdrom .p2align 4, 0x90 _unregister_cdrom: ## @unregister_cdrom .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, %rbx movq _CD_OPEN@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi xorl %eax, %eax callq _cdinfo movq _cdrom_mutex@GOTPCREL(%rip), %r14 movq %r14, %rdi callq _mutex_lock leaq 24(%rbx), %rdi callq _list_del movq %r14, %rdi callq _mutex_unlock movq 16(%rbx), %rax testq %rax, %rax je LBB0_2 ## %bb.1: movq %rbx, %rdi callq *%rax LBB0_2: movq 8(%rbx), %rax decl (%rax) movq _CD_REG_UNREG@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%rbx), %edx leaq L_.str.1(%rip), %rsi xorl %eax, %eax popq %rbx popq %r14 popq %rbp jmp _cdinfo ## TAILCALL .cfi_endproc ## -- End function .comm _CD_OPEN,4,2 ## @CD_OPEN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "entering unregister_cdrom\n" .comm _cdrom_mutex,4,2 ## @cdrom_mutex .comm _CD_REG_UNREG,4,2 ## @CD_REG_UNREG L_.str.1: ## @.str.1 .asciz "drive \"/dev/%s\" unregistered\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _unregister_cdrom ; -- Begin function unregister_cdrom .p2align 2 _unregister_cdrom: ; @unregister_cdrom .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 Lloh0: adrp x8, _CD_OPEN@GOTPAGE Lloh1: ldr x8, [x8, _CD_OPEN@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _cdinfo Lloh5: adrp x20, _cdrom_mutex@GOTPAGE Lloh6: ldr x20, [x20, _cdrom_mutex@GOTPAGEOFF] mov x0, x20 bl _mutex_lock add x0, x19, #24 bl _list_del mov x0, x20 bl _mutex_unlock ldr x8, [x19, #16] cbz x8, LBB0_2 ; %bb.1: mov x0, x19 blr x8 LBB0_2: ldr x8, [x19, #8] ldr w9, [x8] sub w9, w9, #1 str w9, [x8] Lloh7: adrp x8, _CD_REG_UNREG@GOTPAGE Lloh8: ldr x8, [x8, _CD_REG_UNREG@GOTPAGEOFF] Lloh9: ldr w0, [x8] ldr w8, [x19] str x8, [sp] Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF bl _cdinfo 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 Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _CD_OPEN,4,2 ; @CD_OPEN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "entering unregister_cdrom\n" .comm _cdrom_mutex,4,2 ; @cdrom_mutex .comm _CD_REG_UNREG,4,2 ; @CD_REG_UNREG l_.str.1: ; @.str.1 .asciz "drive \"/dev/%s\" unregistered\n" .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/cdrom/extr_cdrom.c_unregister_cdrom.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sc27xx_fgu_save_boot_mode _sc27xx_fgu_save_boot_mode: ## @sc27xx_fgu_save_boot_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 movl %esi, %r14d movq %rdi, %rbx movl 8(%rdi), %edi movq _SC27XX_FGU_USER_AREA_CLEAR@GOTPCREL(%rip), %r15 movq (%r15), %rsi addq (%rbx), %rsi movq _SC27XX_FGU_MODE_AREA_MASK@GOTPCREL(%rip), %r12 movl (%r12), %ecx movl %ecx, %edx callq _regmap_update_bits testl %eax, %eax jne LBB0_2 ## %bb.1: movl $200, %edi callq _udelay movl 8(%rbx), %edi movq _SC27XX_FGU_USER_AREA_SET@GOTPCREL(%rip), %rax movq (%rax), %rsi addq (%rbx), %rsi movl (%r12), %edx movq _SC27XX_FGU_MODE_AREA_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %r14d movl %r14d, %ecx callq _regmap_update_bits testl %eax, %eax je LBB0_3 LBB0_2: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: movl $200, %edi callq _udelay movl 8(%rbx), %edi movq (%r15), %rsi addq (%rbx), %rsi movl (%r12), %edx xorl %ecx, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _regmap_update_bits ## TAILCALL .cfi_endproc ## -- End function .comm _SC27XX_FGU_USER_AREA_CLEAR,8,3 ## @SC27XX_FGU_USER_AREA_CLEAR .comm _SC27XX_FGU_MODE_AREA_MASK,4,2 ## @SC27XX_FGU_MODE_AREA_MASK .comm _SC27XX_FGU_USER_AREA_SET,8,3 ## @SC27XX_FGU_USER_AREA_SET .comm _SC27XX_FGU_MODE_AREA_SHIFT,4,2 ## @SC27XX_FGU_MODE_AREA_SHIFT .no_dead_strip _sc27xx_fgu_save_boot_mode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sc27xx_fgu_save_boot_mode _sc27xx_fgu_save_boot_mode: ; @sc27xx_fgu_save_boot_mode .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 x20, x1 mov x19, x0 ldr w0, [x0, #8] Lloh0: adrp x21, _SC27XX_FGU_USER_AREA_CLEAR@GOTPAGE Lloh1: ldr x21, [x21, _SC27XX_FGU_USER_AREA_CLEAR@GOTPAGEOFF] ldr x8, [x19] ldr x9, [x21] add x1, x9, x8 Lloh2: adrp x22, _SC27XX_FGU_MODE_AREA_MASK@GOTPAGE Lloh3: ldr x22, [x22, _SC27XX_FGU_MODE_AREA_MASK@GOTPAGEOFF] ldr w2, [x22] mov x3, x2 bl _regmap_update_bits cbnz w0, LBB0_2 ; %bb.1: mov w0, #200 bl _udelay ldr w0, [x19, #8] ldr x8, [x19] Lloh4: adrp x9, _SC27XX_FGU_USER_AREA_SET@GOTPAGE Lloh5: ldr x9, [x9, _SC27XX_FGU_USER_AREA_SET@GOTPAGEOFF] Lloh6: ldr x9, [x9] add x1, x9, x8 ldr w2, [x22] Lloh7: adrp x8, _SC27XX_FGU_MODE_AREA_SHIFT@GOTPAGE Lloh8: ldr x8, [x8, _SC27XX_FGU_MODE_AREA_SHIFT@GOTPAGEOFF] Lloh9: ldr w8, [x8] lsl w3, w20, w8 bl _regmap_update_bits cbz w0, LBB0_3 LBB0_2: 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_3: mov w0, #200 bl _udelay ldr w0, [x19, #8] ldr x8, [x19] ldr x9, [x21] add x1, x9, x8 ldr w2, [x22] mov w3, #0 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 _regmap_update_bits .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _SC27XX_FGU_USER_AREA_CLEAR,8,3 ; @SC27XX_FGU_USER_AREA_CLEAR .comm _SC27XX_FGU_MODE_AREA_MASK,4,2 ; @SC27XX_FGU_MODE_AREA_MASK .comm _SC27XX_FGU_USER_AREA_SET,8,3 ; @SC27XX_FGU_USER_AREA_SET .comm _SC27XX_FGU_MODE_AREA_SHIFT,4,2 ; @SC27XX_FGU_MODE_AREA_SHIFT .no_dead_strip _sc27xx_fgu_save_boot_mode .subsections_via_symbols
AnghaBench/linux/drivers/power/supply/extr_sc27xx_fuel_gauge.c_sc27xx_fgu_save_boot_mode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function update_error_limit _update_error_limit: ## @update_error_limit .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 $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movl (%rdi), %eax testl %eax, %eax js LBB0_7 ## %bb.1: xorl %r14d, %r14d movq _UINT_MAX@GOTPCREL(%rip), %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax movl (%rax,%r14), %edx movl 4(%rax,%r14), %ecx movl (%r15), %esi subl %ecx, %esi cmpl %esi, %edx jg LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 addl %edx, %ecx movl %ecx, (%rax,%r14) sarl $16, %ecx movl %ecx, -48(%rbp,%r12,4) movl 16(%rax,%r14), %edi callq _LEVEL_DECAY movl %eax, -56(%rbp,%r12,4) decq %r12 movslq (%rbx), %rax addq $-24, %r14 cmpq %rax, %r12 jle LBB0_2 ## %bb.5: testl %eax, %eax jne LBB0_7 ## %bb.6: xorl %eax, %eax cmpq $0, 16(%rbx) je LBB0_13 LBB0_7: movl -52(%rbp), %edx movl -48(%rbp), %ecx movl -44(%rbp), %esi subl -56(%rbp), %edx addl %esi, %edx incl %edx sarl %edx movl %ecx, %esi subl %edx, %esi jle LBB0_8 ## %bb.9: movl %edx, %edi negl %edi cmpl %edi, %ecx jge LBB0_11 ## %bb.10: addl %ecx, %ecx movl %ecx, -48(%rbp) movl $0, -44(%rbp) testl %eax, %eax jns LBB0_13 jmp LBB0_21 LBB0_8: addl %ecx, %ecx movl %ecx, -44(%rbp) movl $0, -48(%rbp) testl %eax, %eax jns LBB0_13 jmp LBB0_21 LBB0_3: movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_22 LBB0_11: addl %ecx, %edx movl %edx, -44(%rbp) movl %esi, -48(%rbp) testl %eax, %eax js LBB0_21 LBB0_13: movl $2, %r14d movq $-1, %r15 jmp LBB0_14 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_14 Depth=1 movl -44(%rbp,%r15,4), %edi LBB0_19: ## in Loop: Header=BB0_14 Depth=1 callq _wp_exp2 LBB0_20: ## in Loop: Header=BB0_14 Depth=1 movq 8(%rbx), %rcx movq %rax, (%rcx,%r14,4) movslq (%rbx), %rax addq $6, %r14 incq %r15 cmpq %rax, %r15 jge LBB0_21 LBB0_14: ## =>This Inner Loop Header: Depth=1 cmpq $0, 16(%rbx) je LBB0_18 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movl -52(%rbp,%r15,4), %edi subl -44(%rbp,%r15,4), %edi cmpl $-255, %edi jl LBB0_16 ## %bb.17: ## in Loop: Header=BB0_14 Depth=1 addl $256, %edi ## imm = 0x100 jmp LBB0_19 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_14 Depth=1 xorl %eax, %eax jmp LBB0_20 LBB0_21: xorl %eax, %eax LBB0_22: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -40(%rbp), %rcx jne LBB0_24 ## %bb.23: addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_24: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _UINT_MAX,4,2 ## @UINT_MAX .comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA .no_dead_strip _update_error_limit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function update_error_limit _update_error_limit: ; @update_error_limit .cfi_startproc ; %bb.0: sub sp, sp, #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 x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] ldr w8, [x0] tbnz w8, #31, LBB0_7 ; %bb.1: mov x20, #0 ; =0x0 mov x21, #0 ; =0x0 Lloh3: adrp x22, _UINT_MAX@GOTPAGE Lloh4: ldr x22, [x22, _UINT_MAX@GOTPAGEOFF] add x23, sp, #16 add x24, sp, #8 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x8, x8, x20 ldr w11, [x22] ldp w9, w10, [x8] sub w11, w11, w10 cmp w9, w11 b.gt LBB0_11 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add w9, w10, w9 str w9, [x8] asr w9, w9, #16 str w9, [x23, x21, lsl #2] ldr w0, [x8, #16] bl _LEVEL_DECAY str w0, [x24, x21, lsl #2] sub x21, x21, #1 ldrsw x8, [x19] sub x20, x20, #24 cmp x21, x8 b.le LBB0_2 ; %bb.4: cbnz w8, LBB0_7 ; %bb.5: ldr x8, [x19, #16] cbz x8, LBB0_13 ; %bb.6: mov w8, #0 ; =0x0 LBB0_7: ldp w11, w10, [sp, #8] ldp w9, w12, [sp, #16] sub w10, w10, w11 add w10, w10, w12 add w10, w10, #1 asr w11, w10, #1 subs w10, w9, w11 b.le LBB0_10 ; %bb.8: neg w12, w11 cmp w9, w12 b.ge LBB0_12 ; %bb.9: lsl w9, w9, #1 stp w9, wzr, [sp, #16] tbz w8, #31, LBB0_13 b LBB0_21 LBB0_10: lsl w9, w9, #1 stp wzr, w9, [sp, #16] tbz w8, #31, LBB0_13 b LBB0_21 LBB0_11: Lloh5: adrp x8, _AVERROR_INVALIDDATA@GOTPAGE Lloh6: ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF] Lloh7: ldr w0, [x8] b LBB0_22 LBB0_12: add w9, w11, w9 stp w10, w9, [sp, #16] tbnz w8, #31, LBB0_21 LBB0_13: mov x20, #0 ; =0x0 mov w21, #8 ; =0x8 add x22, sp, #16 add x23, sp, #8 b LBB0_17 LBB0_14: ; in Loop: Header=BB0_17 Depth=1 ldr w0, [x22, x20, lsl #2] LBB0_15: ; in Loop: Header=BB0_17 Depth=1 bl _wp_exp2 LBB0_16: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [x19, #8] str x0, [x8, x21] add x8, x20, #1 ldrsw x9, [x19] add x21, x21, #24 cmp x20, x9 mov x20, x8 b.ge LBB0_21 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #16] cbz x8, LBB0_14 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 ldr w8, [x23, x20, lsl #2] ldr w9, [x22, x20, lsl #2] sub w8, w8, w9 cmn w8, #255 b.lt LBB0_20 ; %bb.19: ; in Loop: Header=BB0_17 Depth=1 add w0, w8, #256 b LBB0_15 LBB0_20: ; in Loop: Header=BB0_17 Depth=1 mov x0, #0 ; =0x0 b LBB0_16 LBB0_21: mov w0, #0 ; =0x0 LBB0_22: ldr x8, [sp, #24] Lloh8: adrp x9, ___stack_chk_guard@GOTPAGE Lloh9: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x9, x8 b.ne LBB0_24 ; %bb.23: 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_24: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _UINT_MAX,4,2 ; @UINT_MAX .comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA .no_dead_strip _update_error_limit .subsections_via_symbols
assembly_file_41668.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _uart_suspend_port ## -- Begin function uart_suspend_port .p2align 4, 0x90 _uart_suspend_port: ## @uart_suspend_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 %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 %rsi, %r14 movq (%rdi), %rbx movslq (%rsi), %rax shlq $2, %rax subq %rax, %rbx movq %rsi, -48(%rbp) movq %rdi, -40(%rbp) movq %rbx, %rdi callq _mutex_lock movl 16(%r14), %edi movq _serial_match_port@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -48(%rbp), %rsi callq _device_find_child movq %rax, %r15 testq %rax, %rax jne LBB0_2 ## %bb.1: xorl %edi, %edi callq _device_may_wakeup testq %rax, %rax je LBB0_3 LBB0_2: movl 32(%r14), %edi callq _enable_irq_wake movq %r15, %rdi callq _put_device LBB0_13: movq %rbx, %rdi callq _mutex_unlock xorl %eax, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_3: xorl %edi, %edi callq _put_device movq _console_suspend_enabled@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_4 LBB0_5: movl $1, 4(%r14) movq %rbx, %rdi callq _tty_port_initialized testq %rax, %rax je LBB0_10 ## %bb.6: movq 24(%r14), %r12 movq %rbx, %rdi movl $1, %esi callq _tty_port_set_suspended movq %rbx, %rdi xorl %esi, %esi callq _tty_port_set_initialized leaq 20(%r14), %r15 movq %r15, %rdi callq _spin_lock_irq movq %r14, %rdi callq *32(%r12) movq %r14, %rdi xorl %esi, %esi callq *24(%r12) movq %r14, %rdi callq *16(%r12) movq %r15, %rdi callq _spin_unlock_irq .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq *8(%r12) testl %eax, %eax jne LBB0_9 ## %bb.7: ## in Loop: Header=BB0_8 Depth=1 movl $10, %edi callq _msleep jmp LBB0_8 LBB0_9: movq %r14, %rdi callq *(%r12) LBB0_10: movq %r14, %rdi callq _uart_console testq %rax, %rax je LBB0_12 ## %bb.11: movl 8(%r14), %edi callq _console_stop LBB0_12: movq _UART_PM_STATE_OFF@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _uart_change_pm jmp LBB0_13 LBB0_4: movq %r14, %rdi callq _uart_console testq %rax, %rax jne LBB0_13 jmp LBB0_5 .cfi_endproc ## -- End function .comm _serial_match_port,4,2 ## @serial_match_port .comm _console_suspend_enabled,4,2 ## @console_suspend_enabled .comm _UART_PM_STATE_OFF,4,2 ## @UART_PM_STATE_OFF .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _uart_suspend_port ; -- Begin function uart_suspend_port .p2align 2 _uart_suspend_port: ; @uart_suspend_port .cfi_startproc ; %bb.0: sub sp, sp, #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 x20, x1 ldr x8, [x0] ldrsw x9, [x1] sub x19, x8, x9, lsl #2 stp x1, x0, [sp] mov x0, x19 bl _mutex_lock ldr w0, [x20, #16] Lloh0: adrp x8, _serial_match_port@GOTPAGE Lloh1: ldr x8, [x8, _serial_match_port@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x1, sp bl _device_find_child mov x21, x0 cbnz x0, LBB0_2 ; %bb.1: bl _device_may_wakeup cbz x0, LBB0_4 LBB0_2: ldr w0, [x20, #32] bl _enable_irq_wake mov x0, x21 bl _put_device LBB0_3: mov x0, x19 bl _mutex_unlock mov w0, #0 ; =0x0 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_4: bl _put_device Lloh3: adrp x8, _console_suspend_enabled@GOTPAGE Lloh4: ldr x8, [x8, _console_suspend_enabled@GOTPAGEOFF] Lloh5: ldr w8, [x8] cbz w8, LBB0_13 LBB0_5: mov w8, #1 ; =0x1 str w8, [x20, #4] mov x0, x19 bl _tty_port_initialized cbz x0, LBB0_10 ; %bb.6: ldr x21, [x20, #24] mov x0, x19 mov w1, #1 ; =0x1 bl _tty_port_set_suspended mov x0, x19 mov w1, #0 ; =0x0 bl _tty_port_set_initialized add x0, x20, #20 bl _spin_lock_irq ldr x8, [x21, #32] mov x0, x20 blr x8 ldr x8, [x21, #24] mov x0, x20 mov w1, #0 ; =0x0 blr x8 ldr x8, [x21, #16] mov x0, x20 blr x8 add x0, x20, #20 bl _spin_unlock_irq LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #8] mov x0, x20 blr x8 cbnz w0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 mov w0, #10 ; =0xa bl _msleep b LBB0_7 LBB0_9: ldr x8, [x21] mov x0, x20 blr x8 LBB0_10: mov x0, x20 bl _uart_console cbz x0, LBB0_12 ; %bb.11: ldr w0, [x20, #8] bl _console_stop LBB0_12: Lloh6: adrp x8, _UART_PM_STATE_OFF@GOTPAGE Lloh7: ldr x8, [x8, _UART_PM_STATE_OFF@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x19 bl _uart_change_pm b LBB0_3 LBB0_13: mov x0, x20 bl _uart_console cbnz x0, LBB0_3 b LBB0_5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _serial_match_port,4,2 ; @serial_match_port .comm _console_suspend_enabled,4,2 ; @console_suspend_enabled .comm _UART_PM_STATE_OFF,4,2 ; @UART_PM_STATE_OFF .subsections_via_symbols
assembly_file_33916.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pm_parse_9000 _pm_parse_9000: ## @pm_parse_9000 .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), %rax testb $-128, (%rax) je LBB0_3 ## %bb.1: movq %rdi, %rbx movq 24(%rdi), %r14 movq 8(%rdi), %rcx movq 16(%rdi), %rdx incq %rdx movq %rdx, 16(%rdi) cmpq %rdx, %rcx jne LBB0_3 ## %bb.2: movq _ABS_X@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl 4(%rax), %edx shll $7, %edx addl 8(%rax), %edx movq %r14, %rdi callq _input_report_abs movq _ABS_Y@GOTPCREL(%rip), %rax movl (%rax), %esi movq (%rbx), %rax movl 12(%rax), %edx shll $7, %edx addl 16(%rax), %edx movq %r14, %rdi callq _input_report_abs movq _BTN_TOUCH@GOTPCREL(%rip), %rax movl (%rax), %esi movq (%rbx), %rax movl (%rax), %edx shrl $6, %edx andl $1, %edx movq %r14, %rdi callq _input_report_key movq %r14, %rdi callq _input_sync movq $0, 16(%rbx) LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ABS_X,4,2 ## @ABS_X .comm _ABS_Y,4,2 ## @ABS_Y .comm _BTN_TOUCH,4,2 ## @BTN_TOUCH .no_dead_strip _pm_parse_9000 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pm_parse_9000 _pm_parse_9000: ; @pm_parse_9000 .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 ldr x8, [x0] ldrb w9, [x8] tbz w9, #7, LBB0_3 ; %bb.1: mov x19, x0 ldp x10, x20, [x0, #16] ldr x9, [x0, #8] add x10, x10, #1 str x10, [x0, #16] cmp x9, x10 b.ne LBB0_3 ; %bb.2: Lloh0: adrp x9, _ABS_X@GOTPAGE Lloh1: ldr x9, [x9, _ABS_X@GOTPAGEOFF] Lloh2: ldr w1, [x9] ldp w9, w8, [x8, #4] add w2, w8, w9, lsl #7 mov x0, x20 bl _input_report_abs Lloh3: adrp x8, _ABS_Y@GOTPAGE Lloh4: ldr x8, [x8, _ABS_Y@GOTPAGEOFF] Lloh5: ldr w1, [x8] ldr x8, [x19] ldp w9, w8, [x8, #12] add w2, w8, w9, lsl #7 mov x0, x20 bl _input_report_abs Lloh6: adrp x8, _BTN_TOUCH@GOTPAGE Lloh7: ldr x8, [x8, _BTN_TOUCH@GOTPAGEOFF] Lloh8: ldr w1, [x8] ldr x8, [x19] ldr w8, [x8] ubfx w2, w8, #6, #1 mov x0, x20 bl _input_report_key mov x0, x20 bl _input_sync str xzr, [x19, #16] LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ABS_X,4,2 ; @ABS_X .comm _ABS_Y,4,2 ; @ABS_Y .comm _BTN_TOUCH,4,2 ; @BTN_TOUCH .no_dead_strip _pm_parse_9000 .subsections_via_symbols
AnghaBench/linux/drivers/input/touchscreen/extr_penmount.c_pm_parse_9000.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .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 %edi, %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 _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/14200747.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lpfc_nlp_counters _lpfc_nlp_counters: ## @lpfc_nlp_counters .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 %edx, %r15d movl %esi, %ebx movq %rdi, %r12 callq _lpfc_shost_from_vport movq %rax, %r14 movl (%rax), %edi callq _spin_lock_irqsave addl $-128, %ebx cmpl $7, %ebx ja LBB0_13 ## %bb.1: leaq LJTI0_0(%rip), %rax movslq (%rax,%rbx,4), %rcx addq %rax, %rcx jmpq *%rcx LBB0_2: addl %r15d, (%r12) jmp LBB0_13 LBB0_7: addl %r15d, 20(%r12) jmp LBB0_13 LBB0_5: addl %r15d, 12(%r12) jmp LBB0_13 LBB0_6: addl %r15d, 16(%r12) jmp LBB0_13 LBB0_3: addl %r15d, 4(%r12) jmp LBB0_13 LBB0_9: movl 28(%r12), %eax cmpl $-1, %r15d jne LBB0_12 ## %bb.10: testl %eax, %eax jne LBB0_12 ## %bb.11: movl $0, 28(%r12) jmp LBB0_13 LBB0_8: addl %r15d, 24(%r12) jmp LBB0_13 LBB0_4: addl %r15d, 8(%r12) jmp LBB0_13 LBB0_12: addl %r15d, %eax movl %eax, 28(%r12) LBB0_13: movl (%r14), %edi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irqrestore ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_7 .long L0_0_set_5 .long L0_0_set_6 .long L0_0_set_3 .long L0_0_set_9 .long L0_0_set_8 .long L0_0_set_4 .end_data_region ## -- End function .no_dead_strip _lpfc_nlp_counters .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lpfc_nlp_counters _lpfc_nlp_counters: ; @lpfc_nlp_counters .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, x2 mov x22, x1 mov x20, x0 bl _lpfc_shost_from_vport mov x19, x0 ldr w0, [x0] bl _spin_lock_irqsave sub w8, w22, #128 cmp w8, #7 b.hi LBB0_13 ; %bb.1: Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ldr w8, [x20] add w8, w8, w21 str w8, [x20] b LBB0_13 LBB0_3: ldr w8, [x20, #20] add w8, w8, w21 str w8, [x20, #20] b LBB0_13 LBB0_4: ldr w8, [x20, #12] add w8, w8, w21 str w8, [x20, #12] b LBB0_13 LBB0_5: ldr w8, [x20, #16] add w8, w8, w21 str w8, [x20, #16] b LBB0_13 LBB0_6: ldr w8, [x20, #4] add w8, w8, w21 str w8, [x20, #4] b LBB0_13 LBB0_7: ldr w8, [x20, #28] cmn w21, #1 b.ne LBB0_12 ; %bb.8: cbnz w8, LBB0_12 ; %bb.9: str wzr, [x20, #28] b LBB0_13 LBB0_10: ldr w8, [x20, #24] add w8, w8, w21 str w8, [x20, #24] b LBB0_13 LBB0_11: ldr w8, [x20, #8] add w8, w8, w21 str w8, [x20, #8] b LBB0_13 LBB0_12: add w8, w8, w21 str w8, [x20, #28] LBB0_13: ldr w0, [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 _spin_unlock_irqrestore .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_3-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_11-LBB0_2)>>2 ; -- End function .no_dead_strip _lpfc_nlp_counters .subsections_via_symbols
AnghaBench/linux/drivers/scsi/lpfc/extr_lpfc_hbadisc.c_lpfc_nlp_counters.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nv84_fifo_chan_init _nv84_fifo_chan_init: ## @nv84_fifo_chan_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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdi), %r15 movq 8(%rdi), %r14 movq (%r15), %r12 callq _nouveau_fifo_channel_init movl %eax, %ebx testl %eax, %eax jne LBB0_2 ## %bb.1: leal 9728(,%r15,4), %esi movl (%r12), %edx sarl $8, %edx orl $-2147483648, %edx ## imm = 0x80000000 movq %r14, %rdi callq _nv_wr32 movq %r14, %rdi callq _nv50_fifo_playlist_update LBB0_2: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _nv84_fifo_chan_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nv84_fifo_chan_init _nv84_fifo_chan_init: ; @nv84_fifo_chan_init .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 ldp x21, x19, [x0] ldr x22, [x21] bl _nouveau_fifo_channel_init mov x20, x0 cbnz w0, LBB0_2 ; %bb.1: mov w8, #9728 add w1, w8, w21, lsl #2 ldr w8, [x22] asr w8, w8, #8 orr w2, w8, #0x80000000 mov x0, x19 bl _nv_wr32 mov x0, x19 bl _nv50_fifo_playlist_update 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 ret .cfi_endproc ; -- End function .no_dead_strip _nv84_fifo_chan_init .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv84.c_nv84_fifo_chan_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _load_all_consts ## -- Begin function load_all_consts .p2align 4, 0x90 _load_all_consts: ## @load_all_consts .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 _HOST_REGS@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jle LBB0_9 ## %bb.1: movl %esi, %r15d movq %rdi, %r12 movslq %edx, %r14 xorl %ebx, %ebx movq _EXCLUDE_REG@GOTPCREL(%rip), %r13 movq _regs@GOTPCREL(%rip), %rdi jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 incq %rbx movslq %eax, %rcx cmpq %rcx, %rbx jge LBB0_9 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r13), %ecx cmpq %rcx, %rbx je LBB0_8 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movzbl (%r12,%rbx), %edx testb %dl, %dl js LBB0_8 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl $1, %esi movl %ebx, %ecx shll %cl, %esi btl %ebx, %r15d jae LBB0_8 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq (%rdi), %rcx testl %esi, (%rcx,%r14,4) je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 cmpb $63, %dl ja LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq _cpmap@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r14,8), %rax movl (%rax,%rbx,4), %edi movl %ebx, %esi callq _emit_movimm movq _regs@GOTPCREL(%rip), %rdi movq _HOST_REGS@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_8 LBB0_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HOST_REGS,4,2 ## @HOST_REGS .comm _EXCLUDE_REG,4,2 ## @EXCLUDE_REG .comm _regs,8,3 ## @regs .comm _cpmap,8,3 ## @cpmap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _load_all_consts ; -- Begin function load_all_consts .p2align 2 _load_all_consts: ; @load_all_consts .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 ; kill: def $w2 killed $w2 def $x2 Lloh0: adrp x22, _HOST_REGS@GOTPAGE Lloh1: ldr x22, [x22, _HOST_REGS@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_9 ; %bb.1: mov x19, x1 mov x20, x0 mov x21, #0 Lloh2: adrp x23, _EXCLUDE_REG@GOTPAGE Lloh3: ldr x23, [x23, _EXCLUDE_REG@GOTPAGEOFF] sxtw x24, w2 mov w25, #1 Lloh4: adrp x26, _regs@GOTPAGE Lloh5: ldr x26, [x26, _regs@GOTPAGEOFF] Lloh6: adrp x27, _cpmap@GOTPAGE Lloh7: ldr x27, [x27, _cpmap@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x21, x21, #1 cmp x21, w8, sxtw b.ge LBB0_9 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w9, [x23] cmp x21, x9 b.eq LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldrsb w9, [x20, x21] tbnz w9, #31, LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 lsl w10, w25, w21 tst w10, w19 b.eq LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldr x11, [x26] ldr w11, [x11, x24, lsl #2] tst w11, w10 b.eq LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 and w9, w9, #0xff cmp w9, #63 b.hi LBB0_2 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x27] ldr x8, [x8, x24, lsl #3] ldr w0, [x8, x21, lsl #2] mov x1, x21 bl _emit_movimm ldr w8, [x22] b LBB0_2 LBB0_9: 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 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _HOST_REGS,4,2 ; @HOST_REGS .comm _EXCLUDE_REG,4,2 ; @EXCLUDE_REG .comm _regs,8,3 ; @regs .comm _cpmap,8,3 ; @cpmap .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_sh2_dynarec.c_load_all_consts.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mvsw61xx_reset _mvsw61xx_reset: ## @mvsw61xx_reset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %esi, %esi popq %rbp jmp __mvsw61xx_reset ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _mvsw61xx_reset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mvsw61xx_reset _mvsw61xx_reset: ; @mvsw61xx_reset .cfi_startproc ; %bb.0: mov w1, #0 b __mvsw61xx_reset .cfi_endproc ; -- End function .no_dead_strip _mvsw61xx_reset .subsections_via_symbols
AnghaBench/openwrt/target/linux/generic/files/drivers/net/phy/extr_mvsw61xx.c_mvsw61xx_reset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function amixer_mgr_put_ctrl_blk _amixer_mgr_put_ctrl_blk: ## @amixer_mgr_put_ctrl_blk .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 _amixer_mgr_put_ctrl_blk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function amixer_mgr_put_ctrl_blk _amixer_mgr_put_ctrl_blk: ; @amixer_mgr_put_ctrl_blk .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _amixer_mgr_put_ctrl_blk .subsections_via_symbols
AnghaBench/linux/sound/pci/ctxfi/extr_cthw20k1.c_amixer_mgr_put_ctrl_blk.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function segmentPtrAdvance _segmentPtrAdvance: ## @segmentPtrAdvance .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 %rsi, %rbx movq %rdi, -56(%rbp) ## 8-byte Spill xorl %r12d, %r12d movl %edx, -44(%rbp) ## 4-byte Spill movl %edx, %eax negl %eax sbbl %r12d, %r12d orl $1, %r12d movq 40(%rsi), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq _SEGMENT_BTREE_FLAG@GOTPCREL(%rip), %r14 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 movq %r14, %r15 movl 8(%rbx), %r14d addl %r12d, %r14d movl (%rbx), %edi callq _assert cmpl 12(%rbx), %r14d setle %al cmpl $-1, %r14d setge %cl andb %al, %cl movzbl %cl, %edi callq _assert movl $0, %r13d cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq 40(%rbx), %rax addq $16, %rax movl $0, %r13d cmpq %rax, 32(%rbx) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl 4(%rbx), %r13d movl %r13d, %edi callq _assert LBB0_4: ## in Loop: Header=BB0_1 Depth=1 testl %r14d, %r14d js LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 cmpl 12(%rbx), %r14d jl LBB0_15 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq %rbx, %rdi movl %r12d, %esi callq _segmentPtrNextPage movq _LSM_OK@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_32 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movq %r15, %r14 jmp LBB0_8 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_8 Depth=2 movq %rbx, %rdi movl %r12d, %esi callq _segmentPtrNextPage movq _LSM_OK@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_32 LBB0_8: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $0, (%rbx) je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 cmpl $0, 12(%rbx) je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 movl (%r14), %eax testl %eax, 16(%rbx) jne LBB0_11 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_13 ## %bb.14: ## in Loop: Header=BB0_1 Depth=1 movl 12(%rbx), %r14d decl %r14d jmp LBB0_15 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_1 Depth=1 movq %rbx, %rdi movl %r14d, %esi callq _segmentPtrLoadCell movq _LSM_OK@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_32 ## %bb.16: ## in Loop: Header=BB0_1 Depth=1 testl %r13d, %r13d je LBB0_20 ## %bb.17: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, (%rbx) movq %r15, %r14 je LBB0_21 ## %bb.18: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movl 4(%rax), %r14d movl 4(%rbx), %edi callq _rtTopic movl 20(%rbx), %ecx movl 24(%rbx), %edx movq -64(%rbp), %rdi ## 8-byte Reload movq 8(%rdi), %r8 movl (%rdi), %esi movl 4(%rdi), %r9d movl %esi, (%rsp) movl %r14d, %edi movl %eax, %esi callq _sortedKeyCompare testl %eax, %eax jns LBB0_20 ## %bb.19: ## in Loop: Header=BB0_1 Depth=1 movq _LSM_SEGMENTPTR_FREE_THRESHOLD@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _segmentPtrReset .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_1 Depth=1 movl (%rbx), %eax testl %eax, %eax movq %r15, %r14 jne LBB0_23 LBB0_21: ## in Loop: Header=BB0_1 Depth=1 movq _LSM_END_DELETE@GOTPCREL(%rip), %rax testl %r13d, (%rax) je LBB0_22 ## %bb.24: ## in Loop: Header=BB0_1 Depth=1 movq 32(%rbx), %rsi movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %rax movl (%rax), %edi movl (%rsi), %edx movq %rbx, %rcx callq _lsmFsDbPageGet movq _LSM_OK@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_32 ## %bb.25: ## in Loop: Header=BB0_1 Depth=1 movq _LSM_POINT_DELETE@GOTPCREL(%rip), %rax movl (%rax), %eax movq _LSM_START_DELETE@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl %ecx, %ecx movq -64(%rbp), %rdx ## 8-byte Reload cmpq $0, 8(%rdx) je LBB0_27 ## %bb.26: ## in Loop: Header=BB0_1 Depth=1 movq _LSM_SYSTEMKEY@GOTPCREL(%rip), %rcx movl (%rcx), %ecx LBB0_27: ## in Loop: Header=BB0_1 Depth=1 orl %eax, %ecx movl %ecx, 4(%rbx) movl 4(%rdx), %eax movl %eax, 24(%rbx) movl (%rdx), %eax movl %eax, 20(%rbx) movl (%rbx), %eax jmp LBB0_28 LBB0_22: ## in Loop: Header=BB0_1 Depth=1 xorl %eax, %eax LBB0_23: ## in Loop: Header=BB0_1 Depth=1 cmpq $0, -56(%rbp) ## 8-byte Folded Reload je LBB0_31 LBB0_28: ## in Loop: Header=BB0_1 Depth=1 testl %eax, %eax je LBB0_31 ## %bb.29: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _segmentPtrIgnoreSeparators testq %rax, %rax je LBB0_31 ## %bb.30: ## in Loop: Header=BB0_1 Depth=1 movl 4(%rbx), %edi callq _rtIsSeparator testq %rax, %rax jne LBB0_1 LBB0_31: movq _LSM_OK@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_32: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LSM_OK,4,2 ## @LSM_OK .comm _SEGMENT_BTREE_FLAG,4,2 ## @SEGMENT_BTREE_FLAG .comm _LSM_SEGMENTPTR_FREE_THRESHOLD,4,2 ## @LSM_SEGMENTPTR_FREE_THRESHOLD .comm _LSM_END_DELETE,4,2 ## @LSM_END_DELETE .comm _LSM_START_DELETE,4,2 ## @LSM_START_DELETE .comm _LSM_POINT_DELETE,4,2 ## @LSM_POINT_DELETE .comm _LSM_SYSTEMKEY,4,2 ## @LSM_SYSTEMKEY .no_dead_strip _segmentPtrAdvance .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function segmentPtrAdvance _segmentPtrAdvance: ; @segmentPtrAdvance .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, x1 mov x21, x0 cmp w2, #0 mov w8, #1 cneg w22, w8, ne ldr x25, [x1, #40] Lloh0: adrp x26, _LSM_OK@GOTPAGE Lloh1: ldr x26, [x26, _LSM_OK@GOTPAGEOFF] Lloh2: adrp x27, _SEGMENT_BTREE_FLAG@GOTPAGE Lloh3: ldr x27, [x27, _SEGMENT_BTREE_FLAG@GOTPAGEOFF] Lloh4: adrp x28, _LSM_END_DELETE@GOTPAGE Lloh5: ldr x28, [x28, _LSM_END_DELETE@GOTPAGEOFF] LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ldr w8, [x20, #8] add w24, w8, w22 ldr w0, [x20] bl _assert ldr w8, [x20, #12] cmn w24, #2 ccmp w24, w8, #0, gt cset w0, le bl _assert cbz w19, LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldp x8, x9, [x20, #32] add x9, x9, #16 cmp x8, x9 b.eq LBB0_4 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 ldr w23, [x20, #4] mov x0, x23 bl _assert tbz w24, #31, LBB0_5 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 mov w23, #0 tbnz w24, #31, LBB0_6 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x20, #12] cmp w24, w8 b.lt LBB0_13 LBB0_6: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x20 mov x1, x22 bl _segmentPtrNextPage ldr w8, [x26] cmp w0, w8 b.ne LBB0_28 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 ldr w8, [x20] cbz w8, LBB0_10 ; %bb.8: ; in Loop: Header=BB0_6 Depth=2 ldr w8, [x20, #12] cbz w8, LBB0_6 ; %bb.9: ; in Loop: Header=BB0_6 Depth=2 ldr w8, [x20, #16] ldr w9, [x27] tst w9, w8 b.ne LBB0_6 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 cbz w19, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x20, #12] sub w24, w8, #1 b LBB0_13 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 mov w24, #0 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 mov x0, x20 mov x1, x24 bl _segmentPtrLoadCell ldr w8, [x26] cmp w0, w8 b.ne LBB0_28 ; %bb.14: ; in Loop: Header=BB0_1 Depth=1 cbz w23, LBB0_17 ; %bb.15: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x20] cbz w8, LBB0_20 ; %bb.16: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [x21] ldr w24, [x8, #4] ldr w0, [x20, #4] bl _rtTopic mov x1, x0 ldp w3, w2, [x20, #20] ldr x4, [x25, #8] ldp w6, w5, [x25] mov x0, x24 bl _sortedKeyCompare tbnz w0, #31, LBB0_19 LBB0_17: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x20] cbz w8, LBB0_20 LBB0_18: ; in Loop: Header=BB0_1 Depth=1 cbnz x21, LBB0_24 b LBB0_27 LBB0_19: ; in Loop: Header=BB0_1 Depth=1 Lloh6: adrp x8, _LSM_SEGMENTPTR_FREE_THRESHOLD@GOTPAGE Lloh7: ldr x8, [x8, _LSM_SEGMENTPTR_FREE_THRESHOLD@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x0, x20 bl _segmentPtrReset ldr w8, [x20] cbnz w8, LBB0_18 LBB0_20: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x28] tst w8, w23 b.eq LBB0_23 ; %bb.21: ; in Loop: Header=BB0_1 Depth=1 ldr x1, [x20, #32] ldr x8, [x21] ldr w0, [x8] ldr w2, [x1] mov x3, x20 bl _lsmFsDbPageGet ldr w8, [x26] cmp w0, w8 b.ne LBB0_28 ; %bb.22: ; in Loop: Header=BB0_1 Depth=1 Lloh9: adrp x8, _LSM_START_DELETE@GOTPAGE Lloh10: ldr x8, [x8, _LSM_START_DELETE@GOTPAGEOFF] Lloh11: ldr w8, [x8] Lloh12: adrp x9, _LSM_POINT_DELETE@GOTPAGE Lloh13: ldr x9, [x9, _LSM_POINT_DELETE@GOTPAGEOFF] Lloh14: ldr w9, [x9] orr w8, w9, w8 ldr x9, [x25, #8] Lloh15: adrp x10, _LSM_SYSTEMKEY@GOTPAGE Lloh16: ldr x10, [x10, _LSM_SYSTEMKEY@GOTPAGEOFF] Lloh17: ldr w10, [x10] cmp x9, #0 csel w9, wzr, w10, eq orr w8, w9, w8 str w8, [x20, #4] ldr d0, [x25] stur d0, [x20, #20] ldr w8, [x20] cbnz w8, LBB0_25 b LBB0_27 LBB0_23: ; in Loop: Header=BB0_1 Depth=1 mov w8, #0 cbz x21, LBB0_27 LBB0_24: ; in Loop: Header=BB0_1 Depth=1 cbz w8, LBB0_27 LBB0_25: ; in Loop: Header=BB0_1 Depth=1 mov x0, x21 mov x1, x20 bl _segmentPtrIgnoreSeparators cbz x0, LBB0_27 ; %bb.26: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [x20, #4] bl _rtIsSeparator cbnz x0, LBB0_1 LBB0_27: ldr w0, [x26] LBB0_28: 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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _LSM_OK,4,2 ; @LSM_OK .comm _SEGMENT_BTREE_FLAG,4,2 ; @SEGMENT_BTREE_FLAG .comm _LSM_SEGMENTPTR_FREE_THRESHOLD,4,2 ; @LSM_SEGMENTPTR_FREE_THRESHOLD .comm _LSM_END_DELETE,4,2 ; @LSM_END_DELETE .comm _LSM_START_DELETE,4,2 ; @LSM_START_DELETE .comm _LSM_POINT_DELETE,4,2 ; @LSM_POINT_DELETE .comm _LSM_SYSTEMKEY,4,2 ; @LSM_SYSTEMKEY .no_dead_strip _segmentPtrAdvance .subsections_via_symbols
AnghaBench/sqlcipher/ext/lsm1/extr_lsm_sorted.c_segmentPtrAdvance.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dma_chan_put _dma_chan_put: ## @dma_chan_put .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 24(%rdi), %eax testl %eax, %eax je LBB0_7 ## %bb.1: movq %rdi, %rbx decl %eax movl %eax, 24(%rdi) callq _dma_chan_to_owner movl %eax, %edi callq _module_put cmpl $0, 24(%rbx) jne LBB0_4 ## %bb.2: movq 16(%rbx), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: movq %rbx, %rdi callq _dmaengine_synchronize movq 16(%rbx), %rax movq %rbx, %rdi callq *(%rax) LBB0_4: movq 8(%rbx), %rax testq %rax, %rax je LBB0_7 ## %bb.5: movq 8(%rax), %rcx testq %rcx, %rcx je LBB0_7 ## %bb.6: movl (%rax), %edi movq (%rbx), %rsi callq *%rcx xorps %xmm0, %xmm0 movups %xmm0, (%rbx) LBB0_7: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _dma_chan_put .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dma_chan_put _dma_chan_put: ; @dma_chan_put .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 ldr w8, [x0, #24] cbz w8, LBB0_7 ; %bb.1: mov x19, x0 sub w8, w8, #1 str w8, [x0, #24] bl _dma_chan_to_owner bl _module_put ldr w8, [x19, #24] cbnz w8, LBB0_4 ; %bb.2: ldr x8, [x19, #16] ldr x8, [x8] cbz x8, LBB0_4 ; %bb.3: mov x0, x19 bl _dmaengine_synchronize ldr x8, [x19, #16] ldr x8, [x8] mov x0, x19 blr x8 LBB0_4: ldr x8, [x19, #8] cbz x8, LBB0_7 ; %bb.5: ldr x9, [x8, #8] cbz x9, LBB0_7 ; %bb.6: ldr w0, [x8] ldr x1, [x19] blr x9 stp xzr, xzr, [x19] 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 .no_dead_strip _dma_chan_put .subsections_via_symbols
AnghaBench/linux/drivers/dma/extr_dmaengine.c_dma_chan_put.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function polaris10_populate_smc_initailial_state _polaris10_populate_smc_initailial_state: ## @polaris10_populate_smc_initailial_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 16(%rdi), %rcx movq (%rdi), %rdx movq 8(%rdi), %rax movq 8(%rdx), %rdi movq (%rdi), %rsi movq 8(%rdi), %rdi movq (%rcx), %r9 xorl %r8d, %r8d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpq %r9, (%rsi,%r8,8) jge LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 decq %r8 cmpq %rdi, %r8 jbe LBB0_1 jmp LBB0_4 LBB0_2: movq %r8, (%rax) LBB0_4: movq (%rdx), %rsi movq 8(%rsi), %rdx testq %rdx, %rdx je LBB0_9 ## %bb.5: movq (%rsi), %rsi movq 8(%rcx), %rdi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 cmpq %rdi, (%rsi,%rcx,8) jge LBB0_7 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 incq %rcx cmpq %rcx, %rdx jne LBB0_6 jmp LBB0_9 LBB0_7: movq %rcx, 8(%rax) LBB0_9: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _polaris10_populate_smc_initailial_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function polaris10_populate_smc_initailial_state _polaris10_populate_smc_initailial_state: ; @polaris10_populate_smc_initailial_state .cfi_startproc ; %bb.0: mov x10, #0 ; =0x0 ldp x8, x9, [x0, #8] ldr x11, [x0] ldr x13, [x11, #8] ldp x13, x12, [x13] ldr x14, [x9] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x15, [x13, x10, lsl #3] cmp x15, x14 b.ge LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 sub x10, x10, #1 cmp x10, x12 b.ls LBB0_1 b LBB0_4 LBB0_3: str x10, [x8] LBB0_4: ldr x12, [x11] ldr x10, [x12, #8] cbz x10, LBB0_8 ; %bb.5: mov x11, #0 ; =0x0 ldr x12, [x12] ldr x9, [x9, #8] LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x13, [x12, x11, lsl #3] cmp x13, x9 b.ge LBB0_9 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 add x11, x11, #1 cmp x10, x11 b.ne LBB0_6 LBB0_8: mov w0, #0 ; =0x0 ret LBB0_9: str x11, [x8, #8] mov w0, #0 ; =0x0 ret .cfi_endproc ; -- End function .no_dead_strip _polaris10_populate_smc_initailial_state .subsections_via_symbols
assembly_file_9764.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rave_sp_wdt_configure _rave_sp_wdt_configure: ## @rave_sp_wdt_configure .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 callq _to_rave_sp_wdt movq (%rax), %rax movq (%rax), %rax movq %rbx, %rdi movl %r14d, %esi popq %rbx popq %r14 popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _rave_sp_wdt_configure .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rave_sp_wdt_configure _rave_sp_wdt_configure: ; @rave_sp_wdt_configure .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 bl _to_rave_sp_wdt ldr x8, [x0] ldr x2, [x8] mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload br x2 .cfi_endproc ; -- End function .no_dead_strip _rave_sp_wdt_configure .subsections_via_symbols
AnghaBench/linux/drivers/watchdog/extr_rave-sp-wdt.c_rave_sp_wdt_configure.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mvaddstrf ## -- Begin function mvaddstrf .p2align 4, 0x90 _mvaddstrf: ## @mvaddstrf .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 $464, %rsp ## imm = 0x1D0 .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r14d movl %edi, %r15d movq %rcx, -472(%rbp) movq %r8, -464(%rbp) movq %r9, -456(%rbp) testb %al, %al je LBB0_4 ## %bb.3: movaps %xmm0, -448(%rbp) movaps %xmm1, -432(%rbp) movaps %xmm2, -416(%rbp) movaps %xmm3, -400(%rbp) movaps %xmm4, -384(%rbp) movaps %xmm5, -368(%rbp) movaps %xmm6, -352(%rbp) movaps %xmm7, -336(%rbp) LBB0_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movabsq $206158430232, %rax ## imm = 0x3000000018 movq %rax, -64(%rbp) leaq 16(%rbp), %rax movq %rax, -56(%rbp) leaq -496(%rbp), %rax movq %rax, -48(%rbp) leaq -320(%rbp), %r12 leaq -64(%rbp), %r8 movl $256, %edx ## imm = 0x100 movq %r12, %rdi xorl %esi, %esi movq %rbx, %rcx callq ___vsprintf_chk movq _stdscr@GOTPCREL(%rip), %rbx movq (%rbx), %rdi movl %r15d, %esi movl %r14d, %edx callq _wmove movq (%rbx), %rdi callq _wclrtoeol movq (%rbx), %rdi movq %r12, %rsi movl $-1, %edx callq _waddnstr movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_2 ## %bb.1: addq $464, %rsp ## imm = 0x1D0 popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _ask_for_a_number ## -- Begin function ask_for_a_number .p2align 4, 0x90 _ask_for_a_number: ## @ask_for_a_number .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movabsq $4050765991979987505, %rax ## imm = 0x3837363534333231 movq %rax, -64(%rbp) movw $57, -56(%rbp) movq _stdscr@GOTPCREL(%rip), %r14 movq (%r14), %rdi xorl %r15d, %r15d movl $5, %esi xorl %edx, %edx callq _wmove movq (%r14), %rdi callq _wclrtoeol movq (%r14), %rdi leaq L_.str(%rip), %rsi movl $-1, %edx callq _waddnstr movq _guess@GOTPCREL(%rip), %r12 jmp LBB1_1 .p2align 4, 0x90 LBB1_4: ## in Loop: Header=BB1_1 Depth=1 cmpl $4, %r15d jge LBB1_5 LBB1_1: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rdi callq _wgetch movl %eax, %ebx leal -49(%rbx), %eax cmpl $8, %eax ja LBB1_4 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 movl %eax, %r13d cmpb $0, -64(%rbp,%r13) je LBB1_4 ## %bb.3: ## in Loop: Header=BB1_1 Depth=1 movq (%r14), %rdi movl %ebx, %esi callq _waddch movb $0, -64(%rbp,%r13) movslq %r15d, %rax incl %r15d movb %bl, (%r12,%rax) jmp LBB1_4 LBB1_5: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB1_7 ## %bb.6: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _choose_the_number ## -- Begin function choose_the_number .p2align 4, 0x90 _choose_the_number: ## @choose_the_number .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 $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movabsq $4050765991979987505, %rax ## imm = 0x3837363534333231 movq %rax, -40(%rbp) movw $57, -32(%rbp) xorl %ebx, %ebx movq _number@GOTPCREL(%rip), %r14 jmp LBB2_1 .p2align 4, 0x90 LBB2_3: ## in Loop: Header=BB2_1 Depth=1 cmpl $4, %ebx jge LBB2_4 LBB2_1: ## =>This Inner Loop Header: Depth=1 callq _rand cltq imulq $954437177, %rax, %rcx ## imm = 0x38E38E39 movq %rcx, %rdx shrq $63, %rdx sarq $33, %rcx addl %edx, %ecx leal (%rcx,%rcx,8), %ecx subl %ecx, %eax cltq movzbl -40(%rbp,%rax), %ecx testb %cl, %cl je LBB2_3 ## %bb.2: ## in Loop: Header=BB2_1 Depth=1 movslq %ebx, %rdx incl %ebx movb %cl, (%r14,%rdx) movb $0, -40(%rbp,%rax) jmp LBB2_3 LBB2_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB2_6 ## %bb.5: addq $32, %rsp popq %rbx popq %r14 popq %rbp retq LBB2_6: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __DATA,__data .globl _yp ## @yp .p2align 2 _yp: .long 7 ## 0x7 .globl _xp ## @xp .zerofill __DATA,__common,_xp,4,2 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Enter four digits: " .comm _guess,5,0 ## @guess L___const.choose_the_number.symbols: ## @__const.choose_the_number.symbols .asciz "123456789" .comm _number,5,0 ## @number .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mvaddstrf ; -- Begin function mvaddstrf .p2align 2 _mvaddstrf: ; @mvaddstrf .cfi_startproc ; %bb.0: sub sp, sp, #320 .cfi_def_cfa_offset 320 stp x22, x21, [sp, #272] ; 16-byte Folded Spill stp x20, x19, [sp, #288] ; 16-byte Folded Spill stp x29, x30, [sp, #304] ; 16-byte Folded Spill add x29, sp, #304 .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 x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] add x8, x29, #16 str x8, [sp] add x0, sp, #8 add x4, x29, #16 mov w1, #0 mov w2, #256 bl ___vsprintf_chk Lloh3: adrp x21, _stdscr@GOTPAGE Lloh4: ldr x21, [x21, _stdscr@GOTPAGEOFF] ldr x0, [x21] mov x1, x20 mov x2, x19 bl _wmove ldr x0, [x21] bl _wclrtoeol ldr x0, [x21] add x1, sp, #8 mov w2, #-1 bl _waddnstr ldur x8, [x29, #-40] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #304] ; 16-byte Folded Reload ldp x20, x19, [sp, #288] ; 16-byte Folded Reload ldp x22, x21, [sp, #272] ; 16-byte Folded Reload add sp, sp, #320 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _ask_for_a_number ; -- Begin function ask_for_a_number .p2align 2 _ask_for_a_number: ; @ask_for_a_number .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 Lloh8: adrp x8, ___stack_chk_guard@GOTPAGE Lloh9: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh10: ldr x8, [x8] str x8, [sp, #24] Lloh11: adrp x8, l___const.choose_the_number.symbols@PAGE Lloh12: add x8, x8, l___const.choose_the_number.symbols@PAGEOFF Lloh13: ldr x8, [x8] str x8, [sp, #8] mov w8, #57 strh w8, [sp, #16] Lloh14: adrp x20, _stdscr@GOTPAGE Lloh15: ldr x20, [x20, _stdscr@GOTPAGEOFF] ldr x0, [x20] mov w1, #5 mov w2, #0 bl _wmove ldr x0, [x20] bl _wclrtoeol ldr x0, [x20] Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF mov w2, #-1 bl _waddnstr mov w21, #0 add x22, sp, #8 Lloh18: adrp x23, _guess@GOTPAGE Lloh19: ldr x23, [x23, _guess@GOTPAGEOFF] b LBB1_2 LBB1_1: ; in Loop: Header=BB1_2 Depth=1 cmp w21, #4 b.ge LBB1_5 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x20] bl _wgetch sub w24, w0, #49 cmp w24, #8 b.hi LBB1_1 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 ldrb w8, [x22, x24] cbz w8, LBB1_1 ; %bb.4: ; in Loop: Header=BB1_2 Depth=1 mov x19, x0 ldr x0, [x20] mov x1, x19 bl _waddch strb wzr, [x22, x24] strb w19, [x23, w21, sxtw] add w21, w21, #1 b LBB1_1 LBB1_5: ldr x8, [sp, #24] Lloh20: adrp x9, ___stack_chk_guard@GOTPAGE Lloh21: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x9, x8 b.ne LBB1_7 ; %bb.6: 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 LBB1_7: bl ___stack_chk_fail .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAddLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .globl _choose_the_number ; -- Begin function choose_the_number .p2align 2 _choose_the_number: ; @choose_the_number .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 mov w19, #0 Lloh23: adrp x8, ___stack_chk_guard@GOTPAGE Lloh24: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x8, [x8] str x8, [sp, #24] Lloh26: adrp x8, l___const.choose_the_number.symbols@PAGE Lloh27: add x8, x8, l___const.choose_the_number.symbols@PAGEOFF Lloh28: ldr x8, [x8] str x8, [sp, #8] mov w8, #57 strh w8, [sp, #16] mov w20, #36409 movk w20, #14563, lsl #16 add x21, sp, #8 Lloh29: adrp x22, _number@GOTPAGE Lloh30: ldr x22, [x22, _number@GOTPAGEOFF] b LBB2_2 LBB2_1: ; in Loop: Header=BB2_2 Depth=1 cmp w19, #4 b.ge LBB2_4 LBB2_2: ; =>This Inner Loop Header: Depth=1 bl _rand smull x8, w0, w20 lsr x9, x8, #63 asr x8, x8, #33 add w8, w8, w9 add w8, w8, w8, lsl #3 sub w8, w0, w8 sxtw x8, w8 ldrb w9, [x21, x8] cbz w9, LBB2_1 ; %bb.3: ; in Loop: Header=BB2_2 Depth=1 strb w9, [x22, w19, sxtw] add w19, w19, #1 strb wzr, [x21, x8] b LBB2_1 LBB2_4: ldr x8, [sp, #24] Lloh31: adrp x9, ___stack_chk_guard@GOTPAGE Lloh32: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh33: ldr x9, [x9] cmp x9, x8 b.ne LBB2_6 ; %bb.5: 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 LBB2_6: bl ___stack_chk_fail .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpAddLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .cfi_endproc ; -- End function .section __DATA,__data .globl _yp ; @yp .p2align 2 _yp: .long 7 ; 0x7 .globl _xp ; @xp .zerofill __DATA,__common,_xp,4,2 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Enter four digits: " .comm _guess,5,0 ; @guess l___const.choose_the_number.symbols: ; @__const.choose_the_number.symbols .asciz "123456789" .comm _number,5,0 ; @number .subsections_via_symbols
the_stack_data/1039355.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function si2165_remove _si2165_remove: ## @si2165_remove .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, %rbx callq _i2c_get_clientdata movq %rax, %r14 leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _dev_dbg movq %r14, %rdi callq _kfree xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" .no_dead_strip _si2165_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function si2165_remove _si2165_remove: ; @si2165_remove .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 bl _i2c_get_clientdata mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _dev_dbg mov x0, x20 bl _kfree mov w0, #0 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 .asciz "\n" .no_dead_strip _si2165_remove .subsections_via_symbols
AnghaBench/linux/drivers/media/dvb-frontends/extr_si2165.c_si2165_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sd_sync_cache _sd_sync_cache: ## @sd_sync_cache .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 %rsi, %r13 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq (%rdi), %r15 movq (%r15), %rax movq _SD_FLUSH_TIMEOUT_MULTIPLIER@GOTPCREL(%rip), %rcx movl (%rcx), %r14d imull (%rax), %r14d movq %r15, %rdi callq _scsi_device_online testl %eax, %eax je LBB0_1 ## %bb.2: movq %r12, -80(%rbp) ## 8-byte Spill testq %r13, %r13 leaq -72(%rbp), %rax movq %r13, -88(%rbp) ## 8-byte Spill cmoveq %rax, %r13 movb $0, -49(%rbp) movq $0, -57(%rbp) movq _SYNCHRONIZE_CACHE@GOTPCREL(%rip), %rax movb (%rax), %al movb %al, -58(%rbp) movq _DMA_NONE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SD_MAX_RETRIES@GOTPCREL(%rip), %rax movl (%rax), %r10d movq _RQF_PM@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %r12d, %r12d leaq -58(%rbp), %rsi movq %r15, %rdi xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d pushq $0 pushq %rax pushq $0 pushq %r10 pushq %r14 pushq %r13 callq _scsi_execute addq $48, %rsp testl %eax, %eax je LBB0_17 ## %bb.3: leaq -57(%rbp), %rbx movb $0, 8(%rbx) movq $0, (%rbx) movq _SYNCHRONIZE_CACHE@GOTPCREL(%rip), %rax movb (%rax), %al movb %al, -58(%rbp) movq _DMA_NONE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SD_MAX_RETRIES@GOTPCREL(%rip), %rax movl (%rax), %r10d movq _RQF_PM@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %r12d, %r12d leaq -58(%rbp), %rsi movq %r15, %rdi xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d pushq $0 pushq %rax pushq $0 pushq %r10 pushq %r14 pushq %r13 callq _scsi_execute addq $48, %rsp testl %eax, %eax je LBB0_17 ## %bb.4: movb $0, 8(%rbx) movq $0, (%rbx) movq _SYNCHRONIZE_CACHE@GOTPCREL(%rip), %rax movb (%rax), %al movb %al, -58(%rbp) movq _DMA_NONE@GOTPCREL(%rip), %rax movl (%rax), %edx movq _SD_MAX_RETRIES@GOTPCREL(%rip), %rax movl (%rax), %r10d movq _RQF_PM@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %r12d, %r12d leaq -58(%rbp), %rsi movq %r15, %rdi xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d pushq $0 pushq %rax pushq $0 pushq %r10 pushq %r14 pushq %r13 callq _scsi_execute addq $48, %rsp testl %eax, %eax je LBB0_17 ## %bb.5: movl %eax, %ebx leaq L_.str(%rip), %rsi movq -80(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl %eax, %edx callq _sd_print_result movl %ebx, %edi callq _driver_byte movq _DRIVER_SENSE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_7 ## %bb.6: movq %r14, %rdi movq %r13, %rsi callq _sd_print_sense_hdr LBB0_7: movq %r13, %rdi callq _scsi_sense_valid testq %rax, %rax movq -88(%rbp), %rcx ## 8-byte Reload je LBB0_12 ## %bb.8: testq %rcx, %rcx movq %rcx, %rax leaq -72(%rbp), %rdx cmoveq %rdx, %rax movl (%rax), %eax cmpl $32, %eax je LBB0_17 ## %bb.9: cmpl $58, %eax je LBB0_17 ## %bb.10: cmpl $116, %eax jne LBB0_12 ## %bb.11: testq %rcx, %rcx leaq -72(%rbp), %rax cmovneq %rcx, %rax cmpl $113, 4(%rax) je LBB0_17 LBB0_12: movl %ebx, %edi callq _host_byte addl $-128, %eax cmpl $5, %eax ja LBB0_15 ## %bb.13: movl $27, %ecx btl %eax, %ecx jae LBB0_17 ## %bb.14: movq _EBUSY@GOTPCREL(%rip), %rax jmp LBB0_16 LBB0_1: movq _ENODEV@GOTPCREL(%rip), %rax LBB0_16: xorl %r12d, %r12d subl (%rax), %r12d LBB0_17: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_19 ## %bb.18: movl %r12d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: movq _EIO@GOTPCREL(%rip), %rax jmp LBB0_16 LBB0_19: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _SD_FLUSH_TIMEOUT_MULTIPLIER,4,2 ## @SD_FLUSH_TIMEOUT_MULTIPLIER .comm _ENODEV,4,2 ## @ENODEV .comm _SYNCHRONIZE_CACHE,1,0 ## @SYNCHRONIZE_CACHE .comm _DMA_NONE,4,2 ## @DMA_NONE .comm _SD_MAX_RETRIES,4,2 ## @SD_MAX_RETRIES .comm _RQF_PM,4,2 ## @RQF_PM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Synchronize Cache(10) failed" .comm _DRIVER_SENSE,8,3 ## @DRIVER_SENSE .comm _EBUSY,4,2 ## @EBUSY .comm _EIO,4,2 ## @EIO .no_dead_strip _sd_sync_cache .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sd_sync_cache _sd_sync_cache: ; @sd_sync_cache .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill 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 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #56] ldr x22, [x0] ldr x8, [x22] ldr w21, [x8] Lloh3: adrp x8, _SD_FLUSH_TIMEOUT_MULTIPLIER@GOTPAGE Lloh4: ldr x8, [x8, _SD_FLUSH_TIMEOUT_MULTIPLIER@GOTPAGEOFF] Lloh5: ldr w23, [x8] mov x0, x22 bl _scsi_device_online cbz w0, LBB0_14 ; %bb.1: mul w23, w23, w21 add x8, sp, #32 cmp x19, #0 csel x21, x8, x19, eq add x28, sp, #46 strb wzr, [sp, #55] Lloh6: adrp x24, _SYNCHRONIZE_CACHE@GOTPAGE Lloh7: ldr x24, [x24, _SYNCHRONIZE_CACHE@GOTPAGEOFF] stur xzr, [sp, #47] ldrb w8, [x24] strb w8, [sp, #46] Lloh8: adrp x25, _DMA_NONE@GOTPAGE Lloh9: ldr x25, [x25, _DMA_NONE@GOTPAGEOFF] ldr w2, [x25] Lloh10: adrp x26, _SD_MAX_RETRIES@GOTPAGE Lloh11: ldr x26, [x26, _SD_MAX_RETRIES@GOTPAGEOFF] ldr w8, [x26] Lloh12: adrp x27, _RQF_PM@GOTPAGE Lloh13: ldr x27, [x27, _RQF_PM@GOTPAGEOFF] ldr w9, [x27] str xzr, [sp, #16] stp wzr, w9, [sp, #4] add x1, sp, #46 str w8, [sp] mov x0, x22 mov x3, #0 mov w4, #0 mov x5, #0 mov x6, x21 mov x7, x23 bl _scsi_execute cbz w0, LBB0_16 ; %bb.2: add x28, x28, #1 strb wzr, [x28, #8] str xzr, [x28] ldrb w8, [x24] strb w8, [sp, #46] ldr w2, [x25] ldr w8, [x26] ldr w9, [x27] str xzr, [sp, #16] stp wzr, w9, [sp, #4] add x1, sp, #46 str w8, [sp] mov x0, x22 mov x3, #0 mov w4, #0 mov x5, #0 mov x6, x21 mov x7, x23 bl _scsi_execute cbz w0, LBB0_16 ; %bb.3: strb wzr, [x28, #8] str xzr, [x28] ldrb w8, [x24] strb w8, [sp, #46] ldr w2, [x25] ldr w8, [x26] ldr w9, [x27] str xzr, [sp, #16] stp wzr, w9, [sp, #4] add x1, sp, #46 str w8, [sp] mov x0, x22 mov x3, #0 mov w4, #0 mov x5, #0 mov x6, x21 mov x7, x23 bl _scsi_execute cbz w0, LBB0_16 ; %bb.4: mov x22, x0 Lloh14: adrp x1, l_.str@PAGE Lloh15: add x1, x1, l_.str@PAGEOFF mov x0, x20 mov x2, x22 bl _sd_print_result mov x0, x22 bl _driver_byte Lloh16: adrp x8, _DRIVER_SENSE@GOTPAGE Lloh17: ldr x8, [x8, _DRIVER_SENSE@GOTPAGEOFF] Lloh18: ldr x8, [x8] cmp x0, x8 b.ne LBB0_6 ; %bb.5: mov x0, x20 mov x1, x21 bl _sd_print_sense_hdr LBB0_6: mov x0, x21 bl _scsi_sense_valid cbz x0, LBB0_11 ; %bb.7: mov w0, #0 add x8, sp, #32 cmp x19, #0 csel x8, x8, x19, eq ldr w8, [x8] cmp w8, #32 b.eq LBB0_16 ; %bb.8: cmp w8, #58 b.eq LBB0_16 ; %bb.9: cmp w8, #116 b.ne LBB0_11 ; %bb.10: add x8, sp, #32 cmp x19, #0 csel x8, x8, x19, eq ldr w8, [x8, #4] cmp w8, #113 b.eq LBB0_18 LBB0_11: mov x0, x22 bl _host_byte sub w8, w0, #128 cmp w8, #5 b.hi LBB0_19 ; %bb.12: mov w9, #1 lsl w8, w9, w8 mov w9, #27 tst w8, w9 b.eq LBB0_18 ; %bb.13: Lloh19: adrp x8, _EBUSY@GOTPAGE Lloh20: ldr x8, [x8, _EBUSY@GOTPAGEOFF] b LBB0_15 LBB0_14: Lloh21: adrp x8, _ENODEV@GOTPAGE Lloh22: ldr x8, [x8, _ENODEV@GOTPAGEOFF] LBB0_15: ldr w8, [x8] neg w0, w8 LBB0_16: ldr x8, [sp, #56] Lloh23: adrp x9, ___stack_chk_guard@GOTPAGE Lloh24: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.17: 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 ldp x28, x27, [sp, #64] ; 16-byte Folded Reload add sp, sp, #160 ret LBB0_18: mov w0, #0 b LBB0_16 LBB0_19: Lloh26: adrp x8, _EIO@GOTPAGE Lloh27: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_15 LBB0_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .cfi_endproc ; -- End function .comm _SD_FLUSH_TIMEOUT_MULTIPLIER,4,2 ; @SD_FLUSH_TIMEOUT_MULTIPLIER .comm _ENODEV,4,2 ; @ENODEV .comm _SYNCHRONIZE_CACHE,1,0 ; @SYNCHRONIZE_CACHE .comm _DMA_NONE,4,2 ; @DMA_NONE .comm _SD_MAX_RETRIES,4,2 ; @SD_MAX_RETRIES .comm _RQF_PM,4,2 ; @RQF_PM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Synchronize Cache(10) failed" .comm _DRIVER_SENSE,8,3 ; @DRIVER_SENSE .comm _EBUSY,4,2 ; @EBUSY .comm _EIO,4,2 ; @EIO .no_dead_strip _sd_sync_cache .subsections_via_symbols
AnghaBench/linux/drivers/scsi/extr_sd.c_sd_sync_cache.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function host_is_big_endian _host_is_big_endian: ## @host_is_big_endian .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 _host_is_big_endian .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function host_is_big_endian _host_is_big_endian: ; @host_is_big_endian .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _host_is_big_endian .subsections_via_symbols
AnghaBench/Cinder/src/oggvorbis/vorbis/extr_vorbisfile.c_host_is_big_endian.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function hpdelim2 _hpdelim2: ## @hpdelim2 .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 _hpdelim2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function hpdelim2 _hpdelim2: ; @hpdelim2 .cfi_startproc ; %bb.0: mov x0, #0 ; =0x0 ret .cfi_endproc ; -- End function .no_dead_strip _hpdelim2 .subsections_via_symbols
assembly_file_148034.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function scsi_abort_eh_cmnd _scsi_abort_eh_cmnd: ## @scsi_abort_eh_cmnd .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, %rbx callq ___scsi_try_to_abort_cmd movq _SUCCESS@GOTPCREL(%rip), %r14 cmpq (%r14), %rax je LBB0_4 ## %bb.1: movq %rbx, %rdi callq _scsi_try_bus_device_reset cmpq (%r14), %rax je LBB0_4 ## %bb.2: movq %rbx, %rdi callq _scsi_try_target_reset cmpq (%r14), %rax je LBB0_4 ## %bb.3: movq %rbx, %rdi callq _scsi_try_bus_reset cmpq (%r14), %rax jne LBB0_5 LBB0_4: popq %rbx popq %r14 popq %rbp retq LBB0_5: movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _scsi_try_host_reset ## TAILCALL .cfi_endproc ## -- End function .comm _SUCCESS,8,3 ## @SUCCESS .no_dead_strip _scsi_abort_eh_cmnd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function scsi_abort_eh_cmnd _scsi_abort_eh_cmnd: ; @scsi_abort_eh_cmnd .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 bl ___scsi_try_to_abort_cmd Lloh0: adrp x20, _SUCCESS@GOTPAGE Lloh1: ldr x20, [x20, _SUCCESS@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 b.eq LBB0_4 ; %bb.1: mov x0, x19 bl _scsi_try_bus_device_reset ldr x8, [x20] cmp x0, x8 b.eq LBB0_4 ; %bb.2: mov x0, x19 bl _scsi_try_target_reset ldr x8, [x20] cmp x0, x8 b.eq LBB0_4 ; %bb.3: mov x0, x19 bl _scsi_try_bus_reset ldr x8, [x20] cmp x0, x8 b.ne LBB0_5 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _scsi_try_host_reset .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _SUCCESS,8,3 ; @SUCCESS .no_dead_strip _scsi_abort_eh_cmnd .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/extr_scsi_error.c_scsi_abort_eh_cmnd.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 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 _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/59512641.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function wpa_supplicant_fd_workaround _wpa_supplicant_fd_workaround: ## @wpa_supplicant_fd_workaround .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 _O_RDWR,4,2 ## @O_RDWR .no_dead_strip _wpa_supplicant_fd_workaround .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function wpa_supplicant_fd_workaround _wpa_supplicant_fd_workaround: ; @wpa_supplicant_fd_workaround .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _O_RDWR,4,2 ; @O_RDWR .no_dead_strip _wpa_supplicant_fd_workaround .subsections_via_symbols
assembly_file_54277.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function coda_queue_setup _coda_queue_setup: ## @coda_queue_setup .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 %rcx, %r15 movq %rdx, %r13 movq %rsi, %r14 movq %rdi, %rbx callq _vb2_get_drv_priv movq %rax, %r12 movl (%rbx), %esi movq %rax, %rdi callq _get_q_data movl (%rax), %r8d cmpl $0, (%r13) je LBB0_2 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %edx, %edx xorl %eax, %eax subl (%rcx), %eax cmpl %r8d, (%r15) cmovael %edx, %eax jmp LBB0_3 LBB0_2: movl $1, (%r13) movl %r8d, (%r15) movl (%r14), %ecx leaq L_.str(%rip), %rdx movl $1, %edi movq %r12, %rsi callq _coda_dbg xorl %eax, %eax LBB0_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "get %d buffer(s) of size %d each.\n" .no_dead_strip _coda_queue_setup .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function coda_queue_setup _coda_queue_setup: ; @coda_queue_setup .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 x21, x2 mov x20, x1 mov x23, x0 bl _vb2_get_drv_priv mov x22, x0 ldr w1, [x23] bl _get_q_data ldr w4, [x0] ldr w8, [x21] cbz w8, LBB0_2 ; %bb.1: ldr w8, [x19] Lloh0: adrp x9, _EINVAL@GOTPAGE Lloh1: ldr x9, [x9, _EINVAL@GOTPAGEOFF] Lloh2: ldr w9, [x9] cmp w8, w4 csneg w0, wzr, w9, hs b LBB0_3 LBB0_2: mov w8, #1 str w8, [x21] str w4, [x19] ldr w3, [x20] Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov w0, #1 mov x1, x22 bl _coda_dbg mov w0, #0 LBB0_3: 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "get %d buffer(s) of size %d each.\n" .no_dead_strip _coda_queue_setup .subsections_via_symbols
AnghaBench/linux/drivers/media/platform/coda/extr_coda-common.c_coda_queue_setup.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _quickSort ## -- Begin function quickSort .p2align 4, 0x90 _quickSort: ## @quickSort .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 %rsi, %r13 movl %edi, %r12d movl %edi, (%rdx) movslq %edi, %r14 leaq (,%r14,4), %rbx movq %rbx, %rdi callq _malloc movq %rax, -48(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _malloc movq %rax, -56(%rbp) ## 8-byte Spill movq %rbx, -64(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _malloc testl %r14d, %r14d movq %rax, -72(%rbp) ## 8-byte Spill jle LBB0_1 ## %bb.3: movl (%r13), %r11d movl %r12d, %r8d xorl %r12d, %r12d movl $1, %edx movl %r11d, %esi xorl %r14d, %r14d xorl %r15d, %r15d movq -48(%rbp), %r9 ## 8-byte Reload movq -56(%rbp), %r10 ## 8-byte Reload cmpl %r11d, %esi jge LBB0_6 .p2align 4, 0x90 LBB0_5: movl %r12d, %edi leal 1(%r12), %ecx movq %r9, %rbx movl %ecx, %r12d jmp LBB0_9 .p2align 4, 0x90 LBB0_6: jne LBB0_8 ## %bb.7: movl %r15d, %edi leal 1(%r15), %ecx movq %r10, %rbx movl %r11d, %esi movl %ecx, %r15d jmp LBB0_9 .p2align 4, 0x90 LBB0_8: movl %r14d, %edi leal 1(%r14), %ecx movq %rax, %rbx movl %ecx, %r14d LBB0_9: movslq %edi, %rcx movl %esi, (%rbx,%rcx,4) cmpq %rdx, %r8 je LBB0_2 ## %bb.10: movl (%r13,%rdx,4), %esi incq %rdx cmpl %r11d, %esi jge LBB0_6 jmp LBB0_5 LBB0_1: xorl %r15d, %r15d xorl %r14d, %r14d xorl %r12d, %r12d LBB0_2: movq -64(%rbp), %rdi ## 8-byte Reload callq _malloc movq %rax, %r13 movslq %r12d, %rbx leaq (,%rbx,4), %rdx movq %rax, %rdi movq -48(%rbp), %rsi ## 8-byte Reload callq _memcpy leaq (,%rbx,4), %r12 addq %r13, %r12 movslq %r15d, %rbx leaq (,%rbx,4), %rdx movq %r12, %rdi movq -56(%rbp), %r15 ## 8-byte Reload movq %r15, %rsi callq _memcpy leaq (%r12,%rbx,4), %rdi movslq %r14d, %rdx shlq $2, %rdx movq -72(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi callq _memcpy movq -48(%rbp), %rdi ## 8-byte Reload callq _free movq %r15, %rdi callq _free movq %rbx, %rdi callq _free movq %r13, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 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 subq $40, %rsp .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 _getenv leaq L_.str.1(%rip), %rsi movq %rax, %rdi callq _fopen movq %rax, -72(%rbp) ## 8-byte Spill callq _readline testq %rax, %rax je LBB1_1 ## %bb.2: movq %rax, %r12 cmpb $0, (%rax) je LBB1_16 ## %bb.3: movq %r12, %rdi callq _strlen leaq (%rax,%r12), %rcx decq %rcx movq __DefaultRuneLocale@GOTPCREL(%rip), %r14 movl $16384, %r15d ## imm = 0x4000 jmp LBB1_4 .p2align 4, 0x90 LBB1_7: ## in Loop: Header=BB1_4 Depth=1 movl $16384, %esi ## imm = 0x4000 callq ___maskrune LBB1_8: ## in Loop: Header=BB1_4 Depth=1 leaq -1(%rbx), %rcx testl %eax, %eax je LBB1_9 LBB1_4: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rbx cmpq %r12, %rcx jb LBB1_9 ## %bb.5: ## in Loop: Header=BB1_4 Depth=1 movsbl (%rbx), %edi testl %edi, %edi js LBB1_7 ## %bb.6: ## in Loop: Header=BB1_4 Depth=1 movl %edi, %eax movl 60(%r14,%rax,4), %eax andl %r15d, %eax jmp LBB1_8 LBB1_9: movb $0, 1(%rbx) movb (%r12), %al testb %al, %al je LBB1_16 ## %bb.10: movl $16384, %r15d ## imm = 0x4000 .p2align 4, 0x90 LBB1_11: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi testb %dil, %dil js LBB1_13 ## %bb.12: ## in Loop: Header=BB1_11 Depth=1 movl %edi, %eax movl 60(%r14,%rax,4), %eax andl %r15d, %eax testl %eax, %eax jne LBB1_15 jmp LBB1_16 .p2align 4, 0x90 LBB1_13: ## in Loop: Header=BB1_11 Depth=1 movl $16384, %esi ## imm = 0x4000 callq ___maskrune testl %eax, %eax je LBB1_16 LBB1_15: ## in Loop: Header=BB1_11 Depth=1 movzbl 1(%r12), %eax incq %r12 testb %al, %al jne LBB1_11 jmp LBB1_16 LBB1_1: xorl %r12d, %r12d LBB1_16: leaq -48(%rbp), %rsi movq %r12, %rdi movl $10, %edx callq _strtol movq %rax, -56(%rbp) ## 8-byte Spill movq -48(%rbp), %rax cmpq %r12, %rax je LBB1_44 ## %bb.17: cmpb $0, (%rax) jne LBB1_44 ## %bb.18: callq _readline movq %rax, %r12 testq %rax, %rax je LBB1_27 ## %bb.19: cmpb $0, (%r12) je LBB1_27 ## %bb.20: movq %r12, %rdi callq _strlen leaq (%rax,%r12), %rcx decq %rcx movq __DefaultRuneLocale@GOTPCREL(%rip), %r14 movl $16384, %r15d ## imm = 0x4000 jmp LBB1_21 .p2align 4, 0x90 LBB1_23: ## in Loop: Header=BB1_21 Depth=1 movl %edi, %eax movl 60(%r14,%rax,4), %eax andl %r15d, %eax LBB1_25: ## in Loop: Header=BB1_21 Depth=1 leaq -1(%rbx), %rcx testl %eax, %eax je LBB1_26 LBB1_21: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rbx cmpq %r12, %rcx jb LBB1_26 ## %bb.22: ## in Loop: Header=BB1_21 Depth=1 movsbl (%rbx), %edi testl %edi, %edi jns LBB1_23 ## %bb.24: ## in Loop: Header=BB1_21 Depth=1 movl $16384, %esi ## imm = 0x4000 callq ___maskrune jmp LBB1_25 LBB1_26: movb $0, 1(%rbx) LBB1_27: leaq L_.str.3(%rip), %rsi movq %r12, %rdi callq _strtok testq %rax, %rax je LBB1_28 ## %bb.29: movq %rax, %r12 movl $8, %ebx xorl %eax, %eax movq %rax, -64(%rbp) ## 8-byte Spill leaq L_.str.3(%rip), %r13 xorl %r14d, %r14d .p2align 4, 0x90 LBB1_30: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %rbx, %rsi callq _realloc testq %rax, %rax je LBB1_33 ## %bb.31: ## in Loop: Header=BB1_30 Depth=1 movq %rax, %r14 movq %r12, -8(%rax,%rbx) xorl %edi, %edi movq %r13, %rsi callq _strtok movq %rax, %r12 addq $8, %rbx testq %rax, %rax jne LBB1_30 ## %bb.32: movq %r14, -64(%rbp) ## 8-byte Spill jmp LBB1_33 LBB1_28: xorl %eax, %eax movq %rax, -64(%rbp) ## 8-byte Spill LBB1_33: movq -56(%rbp), %rbx ## 8-byte Reload movslq %ebx, %rdi shlq $2, %rdi callq _malloc movq %rax, %r14 testl %ebx, %ebx jle LBB1_38 ## %bb.34: movl -56(%rbp), %r13d ## 4-byte Reload xorl %r15d, %r15d leaq -48(%rbp), %r12 .p2align 4, 0x90 LBB1_35: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq (%rax,%r15,8), %rbx movq %rbx, %rdi movq %r12, %rsi movl $10, %edx callq _strtol movq -48(%rbp), %rcx cmpq %rbx, %rcx je LBB1_44 ## %bb.36: ## in Loop: Header=BB1_35 Depth=1 cmpb $0, (%rcx) jne LBB1_44 ## %bb.37: ## in Loop: Header=BB1_35 Depth=1 movl %eax, (%r14,%r15,4) incq %r15 cmpq %r15, %r13 jne LBB1_35 LBB1_38: leaq -48(%rbp), %rdx movq -56(%rbp), %rdi ## 8-byte Reload ## kill: def $edi killed $edi killed $rdi movq %r14, %rsi callq _quickSort movl -48(%rbp), %r12d testl %r12d, %r12d jle LBB1_43 ## %bb.39: movq %rax, %r15 leal -1(%r12), %r13d leaq L_.str.2(%rip), %r14 xorl %ebx, %ebx jmp LBB1_40 .p2align 4, 0x90 LBB1_42: ## in Loop: Header=BB1_40 Depth=1 incq %rbx cmpq %rbx, %r12 je LBB1_43 LBB1_40: ## =>This Inner Loop Header: Depth=1 movl (%r15,%rbx,4), %edx movq -72(%rbp), %rdi ## 8-byte Reload movq %r14, %rsi xorl %eax, %eax callq _fprintf cmpq %rbx, %r13 je LBB1_42 ## %bb.41: ## in Loop: Header=BB1_40 Depth=1 movl $32, %edi movq -72(%rbp), %rsi ## 8-byte Reload callq _fputc jmp LBB1_42 LBB1_43: movl $10, %edi movq -72(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi callq _fputc movq %rbx, %rdi callq _fclose xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_44: movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _parse_int ## -- Begin function parse_int .p2align 4, 0x90 _parse_int: ## @parse_int .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 -16(%rbp), %rsi movl $10, %edx callq _strtol movq -16(%rbp), %rcx cmpq %rbx, %rcx je LBB2_3 ## %bb.1: cmpb $0, (%rcx) jne LBB2_3 ## %bb.2: ## kill: def $eax killed $eax killed $rax addq $8, %rsp popq %rbx popq %rbp retq LBB2_3: movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _ltrim ## -- Begin function ltrim .p2align 4, 0x90 _ltrim: ## @ltrim .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 testq %rdi, %rdi je LBB3_1 ## %bb.2: movq %rdi, %rbx movb (%rdi), %al testb %al, %al je LBB3_9 ## %bb.3: movq __DefaultRuneLocale@GOTPCREL(%rip), %r14 movl $16384, %r15d ## imm = 0x4000 .p2align 4, 0x90 LBB3_4: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi testb %dil, %dil js LBB3_6 ## %bb.5: ## in Loop: Header=BB3_4 Depth=1 movl %edi, %eax movl 60(%r14,%rax,4), %eax andl %r15d, %eax testl %eax, %eax jne LBB3_8 jmp LBB3_9 .p2align 4, 0x90 LBB3_6: ## in Loop: Header=BB3_4 Depth=1 movl $16384, %esi ## imm = 0x4000 callq ___maskrune testl %eax, %eax je LBB3_9 LBB3_8: ## in Loop: Header=BB3_4 Depth=1 movzbl 1(%rbx), %eax incq %rbx testb %al, %al jne LBB3_4 jmp LBB3_9 LBB3_1: xorl %ebx, %ebx LBB3_9: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _rtrim ## -- Begin function rtrim .p2align 4, 0x90 _rtrim: ## @rtrim .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, %r12 testq %rdi, %rdi je LBB4_9 ## %bb.1: cmpb $0, (%r12) je LBB4_9 ## %bb.2: movq %r12, %rdi callq _strlen leaq (%rax,%r12), %rcx decq %rcx movq __DefaultRuneLocale@GOTPCREL(%rip), %r14 movl $16384, %r15d ## imm = 0x4000 jmp LBB4_3 .p2align 4, 0x90 LBB4_6: ## in Loop: Header=BB4_3 Depth=1 movl $16384, %esi ## imm = 0x4000 callq ___maskrune LBB4_7: ## in Loop: Header=BB4_3 Depth=1 leaq -1(%rbx), %rcx testl %eax, %eax je LBB4_8 LBB4_3: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rbx cmpq %r12, %rcx jb LBB4_8 ## %bb.4: ## in Loop: Header=BB4_3 Depth=1 movsbl (%rbx), %edi testl %edi, %edi js LBB4_6 ## %bb.5: ## in Loop: Header=BB4_3 Depth=1 movl %edi, %eax movl 60(%r14,%rax,4), %eax andl %r15d, %eax jmp LBB4_7 LBB4_8: movb $0, 1(%rbx) LBB4_9: movq %r12, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _split_string ## -- Begin function split_string .p2align 4, 0x90 _split_string: ## @split_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 leaq L_.str.3(%rip), %rsi callq _strtok testq %rax, %rax je LBB5_1 ## %bb.2: movq %rax, %r15 movl $8, %ebx xorl %r14d, %r14d leaq L_.str.3(%rip), %r12 xorl %r13d, %r13d .p2align 4, 0x90 LBB5_3: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi movq %rbx, %rsi callq _realloc testq %rax, %rax je LBB5_6 ## %bb.4: ## in Loop: Header=BB5_3 Depth=1 movq %rax, %r13 movq %r15, -8(%rax,%rbx) xorl %edi, %edi movq %r12, %rsi callq _strtok movq %rax, %r15 addq $8, %rbx testq %rax, %rax jne LBB5_3 ## %bb.5: movq %r13, %r14 jmp LBB5_6 LBB5_1: xorl %r14d, %r14d LBB5_6: movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _readline ## -- Begin function readline .p2align 4, 0x90 _readline: ## @readline .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 $1024, %r12d ## imm = 0x400 movl $1024, %edi ## imm = 0x400 callq _malloc movq %rax, %r14 xorl %r15d, %r15d movq ___stdinp@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB6_1: ## =>This Inner Loop Header: Depth=1 leaq (%r14,%r15), %rbx movl %r12d, %esi subl %r15d, %esi movq (%r13), %rdx movq %rbx, %rdi callq _fgets testq %rax, %rax je LBB6_6 ## %bb.2: ## in Loop: Header=BB6_1 Depth=1 movq %rbx, %rdi callq _strlen addq %rax, %r15 leaq -1(%r12), %rax cmpq %rax, %r15 jb LBB6_6 ## %bb.3: ## in Loop: Header=BB6_1 Depth=1 cmpb $10, -1(%r15,%r14) je LBB6_6 ## %bb.4: ## in Loop: Header=BB6_1 Depth=1 addq %r12, %r12 movq %r14, %rdi movq %r12, %rsi callq _realloc movq %rax, %r14 testq %rax, %rax jne LBB6_1 ## %bb.5: xorl %r14d, %r14d LBB6_6: cmpb $10, -1(%r15,%r14) jne LBB6_7 ## %bb.11: movb $0, -1(%r14,%r15) movq %r14, %rdi movq %r15, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _realloc ## TAILCALL LBB6_7: leaq 1(%r15), %rsi movq %r14, %rdi callq _realloc testq %rax, %rax je LBB6_8 ## %bb.9: movb $0, (%rax,%r15) jmp LBB6_10 LBB6_8: xorl %eax, %eax LBB6_10: 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 "OUTPUT_PATH" L_.str.1: ## @.str.1 .asciz "w" L_.str.2: ## @.str.2 .asciz "%d" L_.str.3: ## @.str.3 .asciz " " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _quickSort ; -- Begin function quickSort .p2align 2 _quickSort: ; @quickSort .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 x23, x1 mov x24, x0 str w0, [x2] sbfiz x22, x24, #2, #32 mov x0, x22 bl _malloc mov x19, x0 mov x0, x22 bl _malloc mov x20, x0 mov x0, x22 bl _malloc mov x21, x0 cmp w24, #1 b.lt LBB0_4 ; %bb.1: mov w27, #0 mov w25, #0 mov w26, #0 ldr w8, [x23] mov w10, w24 add x9, x23, #4 sub x10, x10, #1 mov x11, x8 LBB0_2: ; =>This Inner Loop Header: Depth=1 cmp w11, w8 csel w12, w25, w26, ne csel x13, x21, x20, ne csel w14, w11, w8, ne cinc w15, w26, eq cinc w16, w25, ne cmp w11, w8 csel w12, w12, w27, ge csel x13, x13, x19, ge csel w11, w14, w11, ge csel w26, w15, w26, ge csel w25, w16, w25, ge cinc w27, w27, lt str w11, [x13, w12, sxtw #2] cbz x10, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr w11, [x9], #4 sub x10, x10, #1 b LBB0_2 LBB0_4: mov w26, #0 mov w25, #0 mov w27, #0 LBB0_5: mov x0, x22 bl _malloc mov x22, x0 sbfiz x23, x27, #2, #32 mov x1, x19 mov x2, x23 bl _memcpy add x23, x22, x23 sbfiz x24, x26, #2, #32 mov x0, x23 mov x1, x20 mov x2, x24 bl _memcpy add x0, x23, x24 sbfiz x2, x25, #2, #32 mov x1, x21 bl _memcpy mov x0, x19 bl _free mov x0, x20 bl _free mov x0, x21 bl _free 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 ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 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, #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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _getenv Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF bl _fopen mov x19, x0 bl _readline mov x21, x0 cbz x0, LBB1_12 ; %bb.1: ldrb w8, [x21] cbz w8, LBB1_12 ; %bb.2: mov x0, x21 bl _strlen add x8, x0, x21 sub x8, x8, #1 Lloh4: adrp x20, __DefaultRuneLocale@GOTPAGE Lloh5: ldr x20, [x20, __DefaultRuneLocale@GOTPAGEOFF] b LBB1_4 LBB1_3: ; in Loop: Header=BB1_4 Depth=1 mov w1, #16384 bl ___maskrune sub x8, x22, #1 cbz w0, LBB1_7 LBB1_4: ; =>This Inner Loop Header: Depth=1 mov x22, x8 cmp x8, x21 b.lo LBB1_7 ; %bb.5: ; in Loop: Header=BB1_4 Depth=1 ldrsb w0, [x22] tbnz w0, #31, LBB1_3 ; %bb.6: ; in Loop: Header=BB1_4 Depth=1 add x8, x20, w0, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x4000 sub x8, x22, #1 cbnz w0, LBB1_4 LBB1_7: strb wzr, [x22, #1] ldrb w8, [x21] cbz w8, LBB1_12 LBB1_8: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 tbnz w8, #7, LBB1_10 ; %bb.9: ; in Loop: Header=BB1_8 Depth=1 add x8, x20, w0, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x4000 cbnz w0, LBB1_11 b LBB1_12 LBB1_10: ; in Loop: Header=BB1_8 Depth=1 mov w1, #16384 bl ___maskrune cbz w0, LBB1_12 LBB1_11: ; in Loop: Header=BB1_8 Depth=1 ldrb w8, [x21, #1]! cbnz w8, LBB1_8 LBB1_12: add x1, sp, #8 mov x0, x21 mov w2, #10 bl _strtol ldr x8, [sp, #8] cmp x8, x21 b.eq LBB1_38 ; %bb.13: ldrb w8, [x8] cbnz w8, LBB1_38 ; %bb.14: mov x20, x0 bl _readline mov x21, x0 cbz x0, LBB1_22 ; %bb.15: ldrb w8, [x21] cbz w8, LBB1_22 ; %bb.16: mov x0, x21 bl _strlen add x8, x0, x21 sub x8, x8, #1 Lloh6: adrp x22, __DefaultRuneLocale@GOTPAGE Lloh7: ldr x22, [x22, __DefaultRuneLocale@GOTPAGEOFF] b LBB1_18 LBB1_17: ; in Loop: Header=BB1_18 Depth=1 add x8, x22, w0, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x4000 sub x8, x23, #1 cbz w0, LBB1_21 LBB1_18: ; =>This Inner Loop Header: Depth=1 mov x23, x8 cmp x8, x21 b.lo LBB1_21 ; %bb.19: ; in Loop: Header=BB1_18 Depth=1 ldrsb w0, [x23] tbz w0, #31, LBB1_17 ; %bb.20: ; in Loop: Header=BB1_18 Depth=1 mov w1, #16384 bl ___maskrune sub x8, x23, #1 cbnz w0, LBB1_18 LBB1_21: strb wzr, [x23, #1] LBB1_22: Lloh8: adrp x1, l_.str.3@PAGE Lloh9: add x1, x1, l_.str.3@PAGEOFF mov x0, x21 bl _strtok cbz x0, LBB1_26 ; %bb.23: mov x23, x0 mov x25, #0 mov x21, #0 Lloh10: adrp x22, l_.str.3@PAGE Lloh11: add x22, x22, l_.str.3@PAGEOFF LBB1_24: ; =>This Inner Loop Header: Depth=1 add x24, x25, #8 mov x0, x21 mov x1, x24 bl _realloc mov x21, x0 cbz x0, LBB1_27 ; %bb.25: ; in Loop: Header=BB1_24 Depth=1 str x23, [x21, x25] mov x0, #0 mov x1, x22 bl _strtok mov x23, x0 mov x25, x24 cbnz x0, LBB1_24 b LBB1_27 LBB1_26: mov x21, #0 LBB1_27: sbfiz x0, x20, #2, #32 bl _malloc mov x22, x0 cmp w20, #1 b.lt LBB1_32 ; %bb.28: and x24, x20, #0xffffffff mov x25, x22 LBB1_29: ; =>This Inner Loop Header: Depth=1 ldr x23, [x21] add x1, sp, #8 mov x0, x23 mov w2, #10 bl _strtol ldr x8, [sp, #8] cmp x8, x23 b.eq LBB1_38 ; %bb.30: ; in Loop: Header=BB1_29 Depth=1 ldrb w8, [x8] cbnz w8, LBB1_38 ; %bb.31: ; in Loop: Header=BB1_29 Depth=1 str w0, [x25], #4 add x21, x21, #8 subs x24, x24, #1 b.ne LBB1_29 LBB1_32: add x2, sp, #8 mov x0, x20 mov x1, x22 bl _quickSort ldr w22, [sp, #8] cmp w22, #1 b.lt LBB1_37 ; %bb.33: mov x20, x0 sub w23, w22, #1 Lloh12: adrp x21, l_.str.2@PAGE Lloh13: add x21, x21, l_.str.2@PAGEOFF b LBB1_35 LBB1_34: ; in Loop: Header=BB1_35 Depth=1 sub x23, x23, #1 add x20, x20, #4 subs x22, x22, #1 b.eq LBB1_37 LBB1_35: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20] str x8, [sp] mov x0, x19 mov x1, x21 bl _fprintf cbz x23, LBB1_34 ; %bb.36: ; in Loop: Header=BB1_35 Depth=1 mov w0, #32 mov x1, x19 bl _fputc b LBB1_34 LBB1_37: mov w0, #10 mov x1, x19 bl _fputc mov x0, x19 bl _fclose mov w0, #0 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 LBB1_38: mov w0, #1 bl _exit .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .globl _parse_int ; -- Begin function parse_int .p2align 2 _parse_int: ; @parse_int .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 add x1, sp, #8 mov w2, #10 bl _strtol ldr x8, [sp, #8] cmp x8, x19 b.eq LBB2_3 ; %bb.1: ldrb w8, [x8] cbnz w8, LBB2_3 ; %bb.2: ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB2_3: mov w0, #1 bl _exit .cfi_endproc ; -- End function .globl _ltrim ; -- Begin function ltrim .p2align 2 _ltrim: ; @ltrim .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 cbz x0, LBB3_7 ; %bb.1: ldrb w8, [x19] cbz w8, LBB3_7 ; %bb.2: Lloh14: adrp x20, __DefaultRuneLocale@GOTPAGE Lloh15: ldr x20, [x20, __DefaultRuneLocale@GOTPAGEOFF] LBB3_3: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 tbnz w8, #7, LBB3_5 ; %bb.4: ; in Loop: Header=BB3_3 Depth=1 add x8, x20, w0, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x4000 cbnz w0, LBB3_6 b LBB3_7 LBB3_5: ; in Loop: Header=BB3_3 Depth=1 mov w1, #16384 bl ___maskrune cbz w0, LBB3_7 LBB3_6: ; in Loop: Header=BB3_3 Depth=1 ldrb w8, [x19, #1]! cbnz w8, LBB3_3 LBB3_7: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh14, Lloh15 .cfi_endproc ; -- End function .globl _rtrim ; -- Begin function rtrim .p2align 2 _rtrim: ; @rtrim .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 x19, x0 cbz x0, LBB4_8 ; %bb.1: ldrb w8, [x19] cbz w8, LBB4_8 ; %bb.2: mov x0, x19 bl _strlen add x8, x0, x19 sub x8, x8, #1 Lloh16: adrp x20, __DefaultRuneLocale@GOTPAGE Lloh17: ldr x20, [x20, __DefaultRuneLocale@GOTPAGEOFF] b LBB4_4 LBB4_3: ; in Loop: Header=BB4_4 Depth=1 mov w1, #16384 bl ___maskrune sub x8, x21, #1 cbz w0, LBB4_7 LBB4_4: ; =>This Inner Loop Header: Depth=1 mov x21, x8 cmp x8, x19 b.lo LBB4_7 ; %bb.5: ; in Loop: Header=BB4_4 Depth=1 ldrsb w0, [x21] tbnz w0, #31, LBB4_3 ; %bb.6: ; in Loop: Header=BB4_4 Depth=1 add x8, x20, w0, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x4000 sub x8, x21, #1 cbnz w0, LBB4_4 LBB4_7: strb wzr, [x21, #1] LBB4_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 AdrpLdrGot Lloh16, Lloh17 .cfi_endproc ; -- End function .globl _split_string ; -- Begin function split_string .p2align 2 _split_string: ; @split_string .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 Lloh18: adrp x1, l_.str.3@PAGE Lloh19: add x1, x1, l_.str.3@PAGEOFF bl _strtok cbz x0, LBB5_4 ; %bb.1: mov x21, x0 mov x23, #0 mov x19, #0 Lloh20: adrp x20, l_.str.3@PAGE Lloh21: add x20, x20, l_.str.3@PAGEOFF LBB5_2: ; =>This Inner Loop Header: Depth=1 add x22, x23, #8 mov x0, x19 mov x1, x22 bl _realloc mov x19, x0 cbz x0, LBB5_5 ; %bb.3: ; in Loop: Header=BB5_2 Depth=1 str x21, [x19, x23] mov x0, #0 mov x1, x20 bl _strtok mov x21, x0 mov x23, x22 cbnz x0, LBB5_2 b LBB5_5 LBB5_4: mov x19, #0 LBB5_5: mov x0, 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 ret .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .globl _readline ; -- Begin function readline .p2align 2 _readline: ; @readline .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 w21, #1024 mov w0, #1024 bl _malloc mov x20, x0 mov x19, #0 Lloh22: adrp x23, ___stdinp@GOTPAGE Lloh23: ldr x23, [x23, ___stdinp@GOTPAGEOFF] LBB6_1: ; =>This Inner Loop Header: Depth=1 add x22, x20, x19 sub w1, w21, w19 ldr x2, [x23] mov x0, x22 bl _fgets cbz x0, LBB6_5 ; %bb.2: ; in Loop: Header=BB6_1 Depth=1 mov x0, x22 bl _strlen sub x8, x21, #1 add x19, x0, x19 cmp x19, x8 b.lo LBB6_5 ; %bb.3: ; in Loop: Header=BB6_1 Depth=1 add x8, x19, x20 ldurb w8, [x8, #-1] cmp w8, #10 b.eq LBB6_5 ; %bb.4: ; in Loop: Header=BB6_1 Depth=1 lsl x21, x21, #1 mov x0, x20 mov x1, x21 bl _realloc mov x20, x0 cbnz x0, LBB6_1 LBB6_5: sub x8, x19, #1 ldrb w9, [x20, x8] cmp w9, #10 b.ne LBB6_7 ; %bb.6: strb wzr, [x20, x8] mov x0, x20 mov x1, 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 _realloc LBB6_7: add x1, x19, #1 mov x0, x20 bl _realloc cbz x0, LBB6_9 ; %bb.8: strb wzr, [x0, x19] LBB6_9: 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 .loh AdrpLdrGot Lloh22, Lloh23 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "OUTPUT_PATH" l_.str.1: ; @.str.1 .asciz "w" l_.str.2: ; @.str.2 .asciz "%d" l_.str.3: ; @.str.3 .asciz " " .subsections_via_symbols
the_stack_data/58705.c
stack
.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 pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx testq %rdi, %rdi je LBB0_2 ## %bb.1: movl $97, %edi callq _putchar LBB0_2: cmpw $97, 4096(%rbx) je LBB0_4 ## %bb.3: movl $97, %edi callq _putchar LBB0_4: movl $98, %edi addq $8, %rsp popq %rbx popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "a" .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: 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 cbz x0, LBB0_2 ; %bb.1: mov w0, #97 bl _putchar LBB0_2: ldrh w8, [x19, #4096] cmp w8, #97 b.eq LBB0_4 ; %bb.3: mov w0, #97 bl _putchar LBB0_4: mov w0, #98 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _putchar .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "a" .subsections_via_symbols
the_stack_data/63796.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fn3 ## -- Begin function fn3 .p2align 4, 0x90 _fn3: ## @fn3 .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 movb $11, %bl movq _a@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %ebx, %eax movb $35, %bl cmpl $0, (%r14) je LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movzbl %al, %edi callq _fn2 jmp LBB0_1 .cfi_endproc ## -- End function .comm _a,4,2 ## @a .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _fn3 ; -- Begin function fn3 .p2align 2 _fn3: ; @fn3 .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 w8, #11 Lloh0: adrp x19, _a@GOTPAGE Lloh1: ldr x19, [x19, _a@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x9, x8 ldr w10, [x19] mov w8, #35 cbz w10, LBB0_1 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 and w0, w9, #0xff bl _fn2 mov w8, #35 b LBB0_1 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _a,4,2 ; @a .subsections_via_symbols
the_stack_data/54824248.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _reset_state ## -- Begin function reset_state .p2align 4, 0x90 _reset_state: ## @reset_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rdi callq _free movq 8(%rbx), %rdi callq _free movq 16(%rbx), %rdi callq _free movq 24(%rbx), %rdi callq _free movq 32(%rbx), %rdi callq _free movq 40(%rbx), %rdi callq _free movq 48(%rbx), %rdi callq _free movq 56(%rbx), %rdi callq _free movq (%r14), %rdi callq _free movq 8(%r14), %rdi callq _free movq 16(%r14), %rdi callq _free movq 24(%r14), %rdi callq _free movq 32(%r14), %rdi callq _free movq 40(%r14), %rdi callq _free movq $10, _tasktab(%rip) xorps %xmm0, %xmm0 movups %xmm0, _tasktab+8(%rip) movups %xmm0, _tasktab+24(%rip) movups %xmm0, _tasktab+40(%rip) movups %xmm0, _tasktab+56(%rip) movups %xmm0, _tasktab+72(%rip) movq $0, _tasklist(%rip) movq _tcb@GOTPCREL(%rip), %rax movq $0, (%rax) movq $0, _taskid(%rip) movq $0, _v1(%rip) movq $0, _v2(%rip) movl $0, _qpktcount(%rip) movl $0, _holdcount(%rip) movl $0, _layout(%rip) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .globl _createtask ## -- Begin function createtask .p2align 4, 0x90 _createtask: ## @createtask .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 %r9, -48(%rbp) ## 8-byte Spill movq %r8, %r15 movl %ecx, %r12d movq %rdx, %r13 movl %esi, %ebx movl %edi, %r14d movl $56, %edi callq _malloc movslq %r14d, %rcx leaq _tasktab(%rip), %rdx movq %rax, (%rdx,%rcx,8) movq _tasklist(%rip), %rdx movq %rdx, (%rax) movl %ecx, 8(%rax) movl %ebx, 12(%rax) movq %r13, 16(%rax) movl %r12d, 24(%rax) movq %r15, 32(%rax) movq -48(%rbp), %rcx ## 8-byte Reload movq %rcx, 40(%rax) movq 16(%rbp), %rcx movq %rcx, 48(%rax) movq %rax, _tasklist(%rip) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _pkt ## -- Begin function pkt .p2align 4, 0x90 _pkt: ## @pkt .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 %edx, %r14d movl %esi, %r15d movq %rdi, %rbx movl $24, %edi callq _malloc movq %rbx, (%rax) movl %r15d, 8(%rax) movl %r14d, 12(%rax) movq $0, 16(%rax) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _trace ## -- Begin function trace .p2align 4, 0x90 _trace: ## @trace .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 movl _layout(%rip), %eax leal -1(%rax), %ecx movl %ecx, _layout(%rip) cmpl $1, %eax jg LBB3_2 ## %bb.1: movl $10, %edi callq _putchar movl $50, _layout(%rip) LBB3_2: movsbl %bl, %edi addq $8, %rsp popq %rbx popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .globl _schedule ## -- Begin function schedule .p2align 4, 0x90 _schedule: ## @schedule .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 _tcb@GOTPCREL(%rip), %rbx movq (%rbx), %rax testq %rax, %rax je LBB4_10 ## %bb.1: movl $244, %r14d movl $3, %r15d jmp LBB4_2 .p2align 4, 0x90 LBB4_8: ## in Loop: Header=BB4_2 Depth=1 movq (%rax), %rax LBB4_9: ## in Loop: Header=BB4_2 Depth=1 movq %rax, (%rbx) testq %rax, %rax je LBB4_10 LBB4_2: ## =>This Inner Loop Header: Depth=1 movl 24(%rax), %ecx cmpl $7, %ecx ja LBB4_10 ## %bb.3: ## in Loop: Header=BB4_2 Depth=1 btl %ecx, %r14d jb LBB4_8 ## %bb.4: ## in Loop: Header=BB4_2 Depth=1 btl %ecx, %r15d jae LBB4_6 ## %bb.5: ## in Loop: Header=BB4_2 Depth=1 xorl %edi, %edi jmp LBB4_7 LBB4_6: ## in Loop: Header=BB4_2 Depth=1 movq 16(%rax), %rdi movq (%rdi), %rcx movq %rcx, 16(%rax) xorl %edx, %edx testq %rcx, %rcx setne %dl movl %edx, 24(%rax) LBB4_7: ## in Loop: Header=BB4_2 Depth=1 movslq 8(%rax), %rcx movq %rcx, _taskid(%rip) movq 40(%rax), %rcx movq %rcx, _v1(%rip) movq 48(%rax), %rcx movq %rcx, _v2(%rip) callq *32(%rax) movq _v1(%rip), %rcx movq (%rbx), %rdx movq %rcx, 40(%rdx) movq _v2(%rip), %rcx movq %rcx, 48(%rdx) jmp LBB4_9 LBB4_10: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _r_wait ## -- Begin function r_wait .p2align 4, 0x90 _r_wait: ## @r_wait .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax orl $2, 24(%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _holdself ## -- Begin function holdself .p2align 4, 0x90 _holdself: ## @holdself .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp incl _holdcount(%rip) movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax orl $4, 24(%rax) movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _findtcb ## -- Begin function findtcb .p2align 4, 0x90 _findtcb: ## @findtcb .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, %esi testl %edi, %edi jle LBB7_3 ## %bb.1: movl %esi, %eax cmpq _tasktab(%rip), %rax jg LBB7_3 ## %bb.2: leaq _tasktab(%rip), %rcx movq (%rcx,%rax,8), %rbx testq %rbx, %rbx jne LBB7_4 LBB7_3: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf LBB7_4: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _release ## -- Begin function release .p2align 4, 0x90 _release: ## @release .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, %esi testl %edi, %edi jle LBB8_3 ## %bb.1: movl %esi, %eax cmpq _tasktab(%rip), %rax jg LBB8_3 ## %bb.2: leaq _tasktab(%rip), %rcx movq (%rcx,%rax,8), %rax testq %rax, %rax je LBB8_3 ## %bb.4: andl $65531, 24(%rax) ## imm = 0xFFFB movl 12(%rax), %ecx movq _tcb@GOTPCREL(%rip), %rdx movq (%rdx), %rbx cmpl 12(%rbx), %ecx cmovgq %rax, %rbx jmp LBB8_5 LBB8_3: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf LBB8_5: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _qpkt ## -- Begin function qpkt .p2align 4, 0x90 _qpkt: ## @qpkt .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 8(%rdi), %esi testl %esi, %esi jle LBB9_3 ## %bb.1: cmpq _tasktab(%rip), %rsi jg LBB9_3 ## %bb.2: leaq _tasktab(%rip), %rax movq (%rax,%rsi,8), %rbx testq %rbx, %rbx je LBB9_3 ## %bb.4: incl _qpktcount(%rip) movq $0, (%rdi) movl _taskid(%rip), %eax movl %eax, 8(%rdi) cmpq $0, 16(%rbx) je LBB9_5 ## %bb.6: addq $16, %rbx .p2align 4, 0x90 LBB9_7: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rax movq (%rbx), %rbx testq %rbx, %rbx jne LBB9_7 ## %bb.8: movq %rdi, (%rax) movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB9_9 LBB9_3: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf LBB9_10: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq LBB9_5: movq %rdi, 16(%rbx) orb $1, 24(%rbx) movl 12(%rbx), %ecx movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl 12(%rax), %ecx jg LBB9_10 LBB9_9: movq %rax, %rbx jmp LBB9_10 .cfi_endproc ## -- End function .globl _append ## -- Begin function append .p2align 4, 0x90 _append: ## @append .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq $0, (%rdi) .p2align 4, 0x90 LBB10_1: ## =>This Inner Loop Header: Depth=1 movq %rsi, %rax movq (%rsi), %rsi testq %rsi, %rsi jne LBB10_1 ## %bb.2: movq %rdi, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _idlefn ## -- Begin function idlefn .p2align 4, 0x90 _idlefn: ## @idlefn .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 decq _v2(%rip) je LBB11_1 ## %bb.2: movq _v1(%rip), %rcx movl %ecx, %eax shrl %eax andl $32767, %eax ## imm = 0x7FFF testb $1, %cl jne LBB11_7 ## %bb.3: movq %rax, _v1(%rip) cmpq $5, _tasktab(%rip) jl LBB11_5 ## %bb.4: movq _tasktab+40(%rip), %rax testq %rax, %rax jne LBB11_10 LBB11_5: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx movl $5, %esi jmp LBB11_6 LBB11_1: incl _holdcount(%rip) movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax orl $4, 24(%rax) movq (%rax), %rbx jmp LBB11_11 LBB11_7: xorq $53256, %rax ## imm = 0xD008 movq %rax, _v1(%rip) cmpq $6, _tasktab(%rip) jl LBB11_9 ## %bb.8: movq _tasktab+48(%rip), %rax testq %rax, %rax je LBB11_9 LBB11_10: andl $65531, 24(%rax) ## imm = 0xFFFB movl 12(%rax), %ecx movq _tcb@GOTPCREL(%rip), %rdx movq (%rdx), %rbx cmpl 12(%rbx), %ecx cmovgq %rax, %rbx jmp LBB11_11 LBB11_9: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx movl $6, %esi LBB11_6: xorl %eax, %eax callq _printf LBB11_11: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _workfn ## -- Begin function workfn .p2align 4, 0x90 _workfn: ## @workfn .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 testq %rdi, %rdi je LBB12_1 ## %bb.2: movl $7, %esi subq _v1(%rip), %rsi movq %rsi, _v1(%rip) movl %esi, 8(%rdi) movl $0, 16(%rdi) movq _v2(%rip), %rax leaq 1(%rax), %rcx cmpq $26, %rax movl $1, %eax cmovgeq %rax, %rcx leaq _alphabet(%rip), %rdx movb (%rcx,%rdx), %bl movb %bl, 20(%rdi) leaq 1(%rcx), %rbx cmpq $26, %rcx cmovgeq %rax, %rbx movb (%rbx,%rdx), %cl movb %cl, 21(%rdi) leaq 1(%rbx), %rcx cmpq $26, %rbx cmovgeq %rax, %rcx movb (%rcx,%rdx), %bl movb %bl, 22(%rdi) leaq 1(%rcx), %rbx cmpq $26, %rcx cmovgeq %rax, %rbx movq %rbx, _v2(%rip) movb (%rbx,%rdx), %al movb %al, 23(%rdi) testl %esi, %esi jle LBB12_5 ## %bb.3: movl %esi, %eax cmpq _tasktab(%rip), %rax jg LBB12_5 ## %bb.4: leaq _tasktab(%rip), %rcx movq (%rcx,%rax,8), %rbx testq %rbx, %rbx je LBB12_5 ## %bb.6: incl _qpktcount(%rip) movq $0, (%rdi) movl _taskid(%rip), %eax movl %eax, 8(%rdi) cmpq $0, 16(%rbx) je LBB12_7 ## %bb.8: addq $16, %rbx .p2align 4, 0x90 LBB12_9: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rax movq (%rbx), %rbx testq %rbx, %rbx jne LBB12_9 ## %bb.10: movq %rdi, (%rax) movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB12_11 LBB12_5: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf jmp LBB12_12 LBB12_1: movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rbx orl $2, 24(%rbx) jmp LBB12_12 LBB12_7: movq %rdi, 16(%rbx) orb $1, 24(%rbx) movl 12(%rbx), %ecx movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl 12(%rax), %ecx jg LBB12_12 LBB12_11: movq %rax, %rbx LBB12_12: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _handlerfn ## -- Begin function handlerfn .p2align 4, 0x90 _handlerfn: ## @handlerfn .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 testq %rdi, %rdi je LBB13_4 ## %bb.1: cmpl $1001, 12(%rdi) ## imm = 0x3E9 leaq _v1(%rip), %rcx leaq _v2(%rip), %rax cmoveq %rcx, %rax movq $0, (%rdi) .p2align 4, 0x90 LBB13_2: ## =>This Inner Loop Header: Depth=1 movq %rax, %rcx movq (%rax), %rax testq %rax, %rax jne LBB13_2 ## %bb.3: movq %rdi, (%rcx) LBB13_4: movq _v1(%rip), %rax testq %rax, %rax je LBB13_22 ## %bb.5: movslq 16(%rax), %rdx cmpq $4, %rdx jl LBB13_14 ## %bb.6: movq (%rax), %rcx movq %rcx, _v1(%rip) movl 8(%rax), %esi testl %esi, %esi jle LBB13_23 ## %bb.7: cmpq _tasktab(%rip), %rsi jg LBB13_23 ## %bb.8: leaq _tasktab(%rip), %rcx movq (%rcx,%rsi,8), %rbx testq %rbx, %rbx je LBB13_23 ## %bb.9: incl _qpktcount(%rip) movq $0, (%rax) movl _taskid(%rip), %ecx movl %ecx, 8(%rax) cmpq $0, 16(%rbx) je LBB13_25 ## %bb.10: addq $16, %rbx .p2align 4, 0x90 LBB13_11: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rcx movq (%rbx), %rbx testq %rbx, %rbx jne LBB13_11 ## %bb.12: movq %rax, (%rcx) jmp LBB13_13 LBB13_14: movq _v2(%rip), %rcx testq %rcx, %rcx je LBB13_22 ## %bb.15: movq (%rcx), %rsi movq %rsi, _v2(%rip) movsbl 20(%rax,%rdx), %esi movl %esi, 16(%rcx) incl %edx movl %edx, 16(%rax) movl 8(%rcx), %esi testl %esi, %esi jle LBB13_23 ## %bb.16: cmpq _tasktab(%rip), %rsi jg LBB13_23 ## %bb.17: leaq _tasktab(%rip), %rax movq (%rax,%rsi,8), %rbx testq %rbx, %rbx je LBB13_23 ## %bb.18: incl _qpktcount(%rip) movq $0, (%rcx) movl _taskid(%rip), %eax movl %eax, 8(%rcx) cmpq $0, 16(%rbx) je LBB13_28 ## %bb.19: addq $16, %rbx .p2align 4, 0x90 LBB13_20: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rax movq (%rbx), %rbx testq %rbx, %rbx jne LBB13_20 ## %bb.21: movq %rcx, (%rax) LBB13_13: movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB13_27 LBB13_22: movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rbx orl $2, 24(%rbx) jmp LBB13_24 LBB13_23: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf LBB13_24: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq LBB13_25: movq %rax, 16(%rbx) jmp LBB13_26 LBB13_28: movq %rcx, 16(%rbx) LBB13_26: orb $1, 24(%rbx) movl 12(%rbx), %ecx movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl 12(%rax), %ecx jg LBB13_24 LBB13_27: movq %rax, %rbx jmp LBB13_24 .cfi_endproc ## -- End function .globl _devfn ## -- Begin function devfn .p2align 4, 0x90 _devfn: ## @devfn .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 testq %rdi, %rdi je LBB14_1 ## %bb.13: incl _holdcount(%rip) movq %rdi, _v1(%rip) movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax orl $4, 24(%rax) movq (%rax), %rbx jmp LBB14_14 LBB14_1: movq _v1(%rip), %rax testq %rax, %rax je LBB14_2 ## %bb.3: movq $0, _v1(%rip) movl 8(%rax), %esi testl %esi, %esi jle LBB14_6 ## %bb.4: cmpq _tasktab(%rip), %rsi jg LBB14_6 ## %bb.5: leaq _tasktab(%rip), %rcx movq (%rcx,%rsi,8), %rbx testq %rbx, %rbx je LBB14_6 ## %bb.7: incl _qpktcount(%rip) movq $0, (%rax) movl _taskid(%rip), %ecx movl %ecx, 8(%rax) cmpq $0, 16(%rbx) je LBB14_8 ## %bb.9: addq $16, %rbx .p2align 4, 0x90 LBB14_10: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rcx movq (%rbx), %rbx testq %rbx, %rbx jne LBB14_10 ## %bb.11: movq %rax, (%rcx) movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB14_12 LBB14_6: leaq L_.str.2(%rip), %rdi xorl %ebx, %ebx ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _printf jmp LBB14_14 LBB14_2: movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rbx orl $2, 24(%rbx) jmp LBB14_14 LBB14_8: movq %rax, 16(%rbx) orb $1, 24(%rbx) movl 12(%rbx), %ecx movq _tcb@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl 12(%rax), %ecx jg LBB14_14 LBB14_12: movq %rax, %rbx LBB14_14: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function main LCPI15_0: .quad 1 ## 0x1 .quad 10000 ## 0x2710 LCPI15_1: .long 0 ## 0x0 .long 1001 ## 0x3e9 .long 0 ## 0x0 .long 0 ## 0x0 LCPI15_2: .long 3 ## 0x3 .long 0 ## 0x0 .long 0 ## 0x0 .long 0 ## 0x0 LCPI15_3: .long 5 ## 0x5 .long 1000 ## 0x3e8 .long 0 ## 0x0 .long 0 ## 0x0 LCPI15_4: .long 6 ## 0x6 .long 1000 ## 0x3e8 .long 0 ## 0x0 .long 0 ## 0x0 LCPI15_5: .space 16 .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 $136, %rsp .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) movq _tcb@GOTPCREL(%rip), %r12 xorl %eax, %eax jmp LBB15_1 .p2align 4, 0x90 LBB15_13: ## in Loop: Header=BB15_1 Depth=1 leaq L_.str.3(%rip), %rdi movl $23246, %esi ## imm = 0x5ACE movl $9297, %edx ## imm = 0x2451 xorl %eax, %eax callq _printf LBB15_14: ## in Loop: Header=BB15_1 Depth=1 leaq -160(%rbp), %rdi leaq -96(%rbp), %rsi callq _reset_state movl -164(%rbp), %eax ## 4-byte Reload incl %eax cmpl $100, %eax je LBB15_15 LBB15_1: ## =>This Loop Header: Depth=1 ## Child Loop BB15_3 Depth 2 movl %eax, -164(%rbp) ## 4-byte Spill movl $56, %edi callq _malloc movq %rax, %rbx movq %rax, _tasktab+8(%rip) movq _tasklist(%rip), %rax movq %rax, (%rbx) movl $1, 8(%rbx) xorps %xmm0, %xmm0 movups %xmm0, 12(%rbx) leaq _idlefn(%rip), %rax movq %rax, 32(%rbx) movaps LCPI15_0(%rip), %xmm0 ## xmm0 = [1,10000] movups %xmm0, 40(%rbx) movq %rbx, -96(%rbp) movl $24, %edi callq _malloc movq %rax, %r14 movq $0, (%rax) movaps LCPI15_1(%rip), %xmm0 ## xmm0 = [0,1001,0,0] movups %xmm0, 8(%rax) movq %rax, -160(%rbp) movl $24, %edi callq _malloc movq %rax, %r13 movq %r14, (%rax) movaps LCPI15_1(%rip), %xmm0 ## xmm0 = [0,1001,0,0] movups %xmm0, 8(%rax) movq %rax, -152(%rbp) movl $56, %edi callq _malloc movq %rax, %r14 movq %rax, _tasktab+16(%rip) movq %rbx, (%rax) movabsq $4294967296002, %rax ## imm = 0x3E800000002 movq %rax, 8(%r14) movq %r13, 16(%r14) movl $3, 24(%r14) leaq _workfn(%rip), %rax movq %rax, 32(%r14) movaps LCPI15_2(%rip), %xmm0 ## xmm0 = [3,0,0,0] movups %xmm0, 40(%r14) movq %r14, -88(%rbp) movl $24, %edi callq _malloc movq %rax, %rbx movq $0, (%rax) movaps LCPI15_3(%rip), %xmm0 ## xmm0 = [5,1000,0,0] movups %xmm0, 8(%rax) movq %rax, -144(%rbp) movl $24, %edi callq _malloc movq %rax, %r13 movq %rbx, (%rax) movaps LCPI15_3(%rip), %xmm0 ## xmm0 = [5,1000,0,0] movups %xmm0, 8(%rax) movq %rax, -136(%rbp) movl $24, %edi callq _malloc movq %rax, %rbx movq %r13, (%rax) movaps LCPI15_3(%rip), %xmm0 ## xmm0 = [5,1000,0,0] movups %xmm0, 8(%rax) movq %rax, -128(%rbp) movl $56, %edi callq _malloc movq %rax, %r13 movq %rax, _tasktab+24(%rip) movq %r14, (%rax) movabsq $8589934592003, %rax ## imm = 0x7D000000003 movq %rax, 8(%r13) movq %rbx, 16(%r13) movl $3, 24(%r13) leaq _handlerfn(%rip), %rax movq %rax, 32(%r13) xorps %xmm0, %xmm0 movups %xmm0, 40(%r13) movq %r13, -80(%rbp) movl $24, %edi callq _malloc movq %rax, %rbx movq $0, (%rax) movaps LCPI15_4(%rip), %xmm0 ## xmm0 = [6,1000,0,0] movups %xmm0, 8(%rax) movq %rax, -120(%rbp) movl $24, %edi callq _malloc movq %rax, %r14 movq %rbx, (%rax) movaps LCPI15_4(%rip), %xmm0 ## xmm0 = [6,1000,0,0] movups %xmm0, 8(%rax) movq %rax, -112(%rbp) movl $24, %edi callq _malloc movq %rax, %r15 movq %r14, (%rax) movaps LCPI15_4(%rip), %xmm0 ## xmm0 = [6,1000,0,0] movups %xmm0, 8(%rax) movq %rax, -104(%rbp) movl $56, %edi callq _malloc movq %rax, %rbx movq %rax, _tasktab+32(%rip) movq %r13, (%rax) movabsq $12884901888004, %rax ## imm = 0xBB800000004 movq %rax, 8(%rbx) movq %r15, 16(%rbx) movl $3, 24(%rbx) leaq _handlerfn(%rip), %rax movq %rax, 32(%rbx) xorps %xmm0, %xmm0 movups %xmm0, 40(%rbx) movq %rbx, -72(%rbp) movl $56, %edi callq _malloc movq %rax, %r14 movq %rax, _tasktab+40(%rip) movq %rbx, (%rax) movabsq $17179869184005, %rax ## imm = 0xFA000000005 movq %rax, 8(%r14) movq $0, 16(%r14) movl $2, 24(%r14) leaq _devfn(%rip), %rbx movq %rbx, 32(%r14) xorps %xmm0, %xmm0 movups %xmm0, 40(%r14) movq %r14, -64(%rbp) movl $56, %edi callq _malloc movq %rax, %rcx movq %rax, _tasktab+48(%rip) movq %r14, (%rax) movl $3, %r14d movabsq $21474836480006, %rax ## imm = 0x138800000006 movq %rax, 8(%rcx) movq $0, 16(%rcx) movl $2, 24(%rcx) movq %rbx, 32(%rcx) movl $244, %ebx xorps %xmm0, %xmm0 movups %xmm0, 40(%rcx) movq %rcx, _tasklist(%rip) movq %rcx, -56(%rbp) movq %rcx, (%r12) movl $0, _holdcount(%rip) movl $0, _qpktcount(%rip) movl $0, _layout(%rip) movl $2, %eax cmpl $7, %eax ja LBB15_11 .p2align 4, 0x90 LBB15_3: ## Parent Loop BB15_1 Depth=1 ## => This Inner Loop Header: Depth=2 btl %eax, %ebx jae LBB15_4 ## %bb.8: ## in Loop: Header=BB15_3 Depth=2 movq (%rcx), %rcx jmp LBB15_9 .p2align 4, 0x90 LBB15_4: ## in Loop: Header=BB15_3 Depth=2 btl %eax, %r14d jae LBB15_6 ## %bb.5: ## in Loop: Header=BB15_3 Depth=2 xorl %edi, %edi jmp LBB15_7 LBB15_6: ## in Loop: Header=BB15_3 Depth=2 movq 16(%rcx), %rdi movq (%rdi), %rax movq %rax, 16(%rcx) xorl %edx, %edx testq %rax, %rax setne %dl movl %edx, 24(%rcx) LBB15_7: ## in Loop: Header=BB15_3 Depth=2 movslq 8(%rcx), %rax movq %rax, _taskid(%rip) movq 40(%rcx), %rax movq %rax, _v1(%rip) movq 48(%rcx), %rax movq %rax, _v2(%rip) callq *32(%rcx) movq %rax, %rcx movq _v1(%rip), %rax movq (%r12), %rdx movq %rax, 40(%rdx) movq _v2(%rip), %rax movq %rax, 48(%rdx) LBB15_9: ## in Loop: Header=BB15_3 Depth=2 movq %rcx, (%r12) testq %rcx, %rcx je LBB15_11 ## %bb.10: ## in Loop: Header=BB15_3 Depth=2 movl 24(%rcx), %eax cmpl $7, %eax jbe LBB15_3 .p2align 4, 0x90 LBB15_11: ## in Loop: Header=BB15_1 Depth=1 movl _qpktcount(%rip), %ecx movl _holdcount(%rip), %r8d cmpl $23246, %ecx ## imm = 0x5ACE jne LBB15_13 ## %bb.12: ## in Loop: Header=BB15_1 Depth=1 cmpl $9297, %r8d ## imm = 0x2451 je LBB15_14 jmp LBB15_13 LBB15_15: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB15_17 ## %bb.16: xorl %eax, %eax addq $136, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB15_17: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const .globl _alphabet ## @alphabet .p2align 4 _alphabet: .asciz "0ABCDEFGHIJKLMNOPQRSTUVWXYZ" .section __DATA,__data .globl _tasktab ## @tasktab .p2align 4 _tasktab: .quad 10 .space 80 .globl _tasklist ## @tasklist .zerofill __DATA,__common,_tasklist,8,3 .globl _taskid ## @taskid .zerofill __DATA,__common,_taskid,8,3 .globl _v1 ## @v1 .zerofill __DATA,__common,_v1,8,3 .globl _v2 ## @v2 .zerofill __DATA,__common,_v2,8,3 .globl _qpktcount ## @qpktcount .zerofill __DATA,__common,_qpktcount,4,2 .globl _holdcount ## @holdcount .zerofill __DATA,__common,_holdcount,4,2 .globl _layout ## @layout .zerofill __DATA,__common,_layout,4,2 .comm _tcb,8,3 ## @tcb .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "\nBad task id %d\n" L_.str.3: ## @.str.3 .asciz "Sanity check failed! Expected: %d, %d. Got: %d, %d.\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _reset_state ; -- Begin function reset_state .p2align 2 _reset_state: ; @reset_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, x1 mov x20, x0 ldr x0, [x0] bl _free ldr x0, [x20, #8] bl _free ldr x0, [x20, #16] bl _free ldr x0, [x20, #24] bl _free ldr x0, [x20, #32] bl _free ldr x0, [x20, #40] bl _free ldr x0, [x20, #48] bl _free ldr x0, [x20, #56] bl _free ldr x0, [x19] bl _free ldr x0, [x19, #8] bl _free ldr x0, [x19, #16] bl _free ldr x0, [x19, #24] bl _free ldr x0, [x19, #32] bl _free ldr x0, [x19, #40] bl _free Lloh0: adrp x8, _tasktab@PAGE Lloh1: add x8, x8, _tasktab@PAGEOFF mov w9, #10 str x9, [x8] movi.2d v0, #0000000000000000 stur q0, [x8, #8] stur q0, [x8, #24] stur q0, [x8, #40] stur q0, [x8, #56] stur q0, [x8, #72] Lloh2: adrp x8, _tasklist@PAGE str xzr, [x8, _tasklist@PAGEOFF] Lloh3: adrp x8, _tcb@GOTPAGE Lloh4: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh5: str xzr, [x8] Lloh6: adrp x8, _taskid@PAGE str xzr, [x8, _taskid@PAGEOFF] Lloh7: adrp x8, _v1@PAGE str xzr, [x8, _v1@PAGEOFF] Lloh8: adrp x8, _v2@PAGE str xzr, [x8, _v2@PAGEOFF] Lloh9: adrp x8, _qpktcount@PAGE str wzr, [x8, _qpktcount@PAGEOFF] Lloh10: adrp x8, _holdcount@PAGE str wzr, [x8, _holdcount@PAGEOFF] Lloh11: adrp x8, _layout@PAGE str wzr, [x8, _layout@PAGEOFF] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdrp Lloh10, Lloh11 .loh AdrpAdrp Lloh9, Lloh10 .loh AdrpAdrp Lloh8, Lloh9 .loh AdrpAdrp Lloh7, Lloh8 .loh AdrpAdrp Lloh6, Lloh7 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpAdrp Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _createtask ; -- Begin function createtask .p2align 2 _createtask: ; @createtask .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, x6 mov x20, x5 mov x21, x4 mov x22, x3 mov x23, x2 mov x24, x1 mov x25, x0 mov w0, #56 bl _malloc Lloh12: adrp x8, _tasktab@PAGE Lloh13: add x8, x8, _tasktab@PAGEOFF str x0, [x8, w25, sxtw #3] adrp x8, _tasklist@PAGE ldr x9, [x8, _tasklist@PAGEOFF] str x9, [x0] stp w25, w24, [x0, #8] str x23, [x0, #16] str w22, [x0, #24] stp x21, x20, [x0, #32] str x19, [x0, #48] str x0, [x8, _tasklist@PAGEOFF] 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 Lloh12, Lloh13 .cfi_endproc ; -- End function .globl _pkt ; -- Begin function pkt .p2align 2 _pkt: ; @pkt .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 x19, x2 mov x20, x1 mov x21, x0 mov w0, #24 bl _malloc str x21, [x0] stp w20, w19, [x0, #8] str xzr, [x0, #16] 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 .globl _trace ; -- Begin function trace .p2align 2 _trace: ; @trace .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 adrp x20, _layout@PAGE ldr w8, [x20, _layout@PAGEOFF] subs w8, w8, #1 str w8, [x20, _layout@PAGEOFF] b.gt LBB3_2 ; %bb.1: mov w0, #10 bl _putchar mov w8, #50 str w8, [x20, _layout@PAGEOFF] LBB3_2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _putchar .cfi_endproc ; -- End function .globl _schedule ; -- Begin function schedule .p2align 2 _schedule: ; @schedule .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 Lloh14: adrp x19, _tcb@GOTPAGE Lloh15: ldr x19, [x19, _tcb@GOTPAGEOFF] ldr x0, [x19] cbz x0, LBB4_9 ; %bb.1: mov w20, #1 mov w21, #244 adrp x22, _taskid@PAGE adrp x23, _v1@PAGE adrp x24, _v2@PAGE b LBB4_3 LBB4_2: ; in Loop: Header=BB4_3 Depth=1 ldr x0, [x0] str x0, [x19] cbz x0, LBB4_9 LBB4_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [x0, #24] cmp w8, #7 b.hi LBB4_9 ; %bb.4: ; in Loop: Header=BB4_3 Depth=1 lsl w8, w20, w8 tst w8, w21 b.ne LBB4_2 ; %bb.5: ; in Loop: Header=BB4_3 Depth=1 tst w8, #0x3 b.eq LBB4_7 ; %bb.6: ; in Loop: Header=BB4_3 Depth=1 mov x8, #0 b LBB4_8 LBB4_7: ; in Loop: Header=BB4_3 Depth=1 ldr x8, [x0, #16] ldr x9, [x8] str x9, [x0, #16] cmp x9, #0 cset w9, ne str w9, [x0, #24] LBB4_8: ; in Loop: Header=BB4_3 Depth=1 ldrsw x9, [x0, #8] str x9, [x22, _taskid@PAGEOFF] ldp x10, x9, [x0, #32] str x9, [x23, _v1@PAGEOFF] ldr x9, [x0, #48] str x9, [x24, _v2@PAGEOFF] mov x0, x8 blr x10 ldr x8, [x23, _v1@PAGEOFF] ldr x9, [x19] ldr x10, [x24, _v2@PAGEOFF] stp x8, x10, [x9, #40] str x0, [x19] cbnz x0, LBB4_3 LBB4_9: 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 .loh AdrpLdrGot Lloh14, Lloh15 .cfi_endproc ; -- End function .globl _r_wait ; -- Begin function r_wait .p2align 2 _r_wait: ; @r_wait .cfi_startproc ; %bb.0: Lloh16: adrp x8, _tcb@GOTPAGE Lloh17: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh18: ldr x0, [x8] ldr w8, [x0, #24] orr w8, w8, #0x2 str w8, [x0, #24] ret .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .cfi_endproc ; -- End function .globl _holdself ; -- Begin function holdself .p2align 2 _holdself: ; @holdself .cfi_startproc ; %bb.0: Lloh19: adrp x8, _holdcount@PAGE ldr w9, [x8, _holdcount@PAGEOFF] add w9, w9, #1 str w9, [x8, _holdcount@PAGEOFF] Lloh20: adrp x8, _tcb@GOTPAGE Lloh21: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh22: ldr x8, [x8] ldr w9, [x8, #24] orr w9, w9, #0x4 str w9, [x8, #24] ldr x0, [x8] ret .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpAdrp Lloh19, Lloh20 .cfi_endproc ; -- End function .globl _findtcb ; -- Begin function findtcb .p2align 2 _findtcb: ; @findtcb .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 ; kill: def $w0 killed $w0 def $x0 cmp w0, #1 b.lt LBB7_3 ; %bb.1: mov w8, w0 Lloh23: adrp x9, _tasktab@PAGE Lloh24: ldr x9, [x9, _tasktab@PAGEOFF] cmp x8, x9 b.gt LBB7_3 ; %bb.2: Lloh25: adrp x9, _tasktab@PAGE Lloh26: add x9, x9, _tasktab@PAGEOFF ldr x8, [x9, x8, lsl #3] cbnz x8, LBB7_4 LBB7_3: str x0, [sp] Lloh27: adrp x0, l_.str.2@PAGE Lloh28: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x8, #0 LBB7_4: mov x0, x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdr Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .cfi_endproc ; -- End function .globl _release ; -- Begin function release .p2align 2 _release: ; @release .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 ; kill: def $w0 killed $w0 def $x0 cmp w0, #1 b.lt LBB8_4 ; %bb.1: mov w8, w0 Lloh29: adrp x9, _tasktab@PAGE Lloh30: ldr x9, [x9, _tasktab@PAGEOFF] cmp x8, x9 b.gt LBB8_4 ; %bb.2: Lloh31: adrp x9, _tasktab@PAGE Lloh32: add x9, x9, _tasktab@PAGEOFF ldr x8, [x9, x8, lsl #3] cbz x8, LBB8_4 ; %bb.3: ldr w9, [x8, #24] mov w10, #65531 and w9, w9, w10 str w9, [x8, #24] ldr w9, [x8, #12] Lloh33: adrp x10, _tcb@GOTPAGE Lloh34: ldr x10, [x10, _tcb@GOTPAGEOFF] Lloh35: ldr x10, [x10] ldr w11, [x10, #12] cmp w9, w11 csel x0, x8, x10, gt b LBB8_5 LBB8_4: str x0, [sp] Lloh36: adrp x0, l_.str.2@PAGE Lloh37: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x0, #0 LBB8_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdr Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .cfi_endproc ; -- End function .globl _qpkt ; -- Begin function qpkt .p2align 2 _qpkt: ; @qpkt .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 ldr w9, [x0, #8] cmp w9, #1 b.lt LBB9_6 ; %bb.1: Lloh38: adrp x8, _tasktab@PAGE Lloh39: ldr x8, [x8, _tasktab@PAGEOFF] cmp x9, x8 b.gt LBB9_6 ; %bb.2: Lloh40: adrp x8, _tasktab@PAGE Lloh41: add x8, x8, _tasktab@PAGEOFF ldr x8, [x8, x9, lsl #3] cbz x8, LBB9_6 ; %bb.3: Lloh42: adrp x9, _qpktcount@PAGE ldr w10, [x9, _qpktcount@PAGEOFF] add w10, w10, #1 str w10, [x9, _qpktcount@PAGEOFF] str xzr, [x0] Lloh43: adrp x9, _taskid@PAGE Lloh44: ldr x9, [x9, _taskid@PAGEOFF] str w9, [x0, #8] mov x9, x8 ldr x10, [x9, #16]! cbz x10, LBB9_8 LBB9_4: ; =>This Inner Loop Header: Depth=1 mov x8, x9 ldr x9, [x9] cbnz x9, LBB9_4 ; %bb.5: str x0, [x8] Lloh45: adrp x8, _tcb@GOTPAGE Lloh46: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh47: ldr x9, [x8] b LBB9_9 LBB9_6: str x9, [sp] Lloh48: adrp x0, l_.str.2@PAGE Lloh49: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x8, #0 LBB9_7: mov x0, x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB9_8: str x0, [x8, #16] ldr w9, [x8, #24] orr w9, w9, #0x1 str w9, [x8, #24] ldr w10, [x8, #12] Lloh50: adrp x9, _tcb@GOTPAGE Lloh51: ldr x9, [x9, _tcb@GOTPAGEOFF] Lloh52: ldr x9, [x9] ldr w11, [x9, #12] cmp w10, w11 b.gt LBB9_7 LBB9_9: mov x8, x9 b LBB9_7 .loh AdrpLdr Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdr Lloh43, Lloh44 .loh AdrpAdrp Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .cfi_endproc ; -- End function .globl _append ; -- Begin function append .p2align 2 _append: ; @append .cfi_startproc ; %bb.0: str xzr, [x0] LBB10_1: ; =>This Inner Loop Header: Depth=1 mov x8, x1 ldr x1, [x1] cbnz x1, LBB10_1 ; %bb.2: str x0, [x8] ret .cfi_endproc ; -- End function .globl _idlefn ; -- Begin function idlefn .p2align 2 _idlefn: ; @idlefn .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 adrp x8, _v2@PAGE ldr x9, [x8, _v2@PAGEOFF] subs x9, x9, #1 str x9, [x8, _v2@PAGEOFF] b.eq LBB11_5 ; %bb.1: adrp x8, _v1@PAGE ldr x10, [x8, _v1@PAGEOFF] ubfx x9, x10, #1, #15 tbnz w10, #0, LBB11_6 ; %bb.2: str x9, [x8, _v1@PAGEOFF] Lloh53: adrp x8, _tasktab@PAGE Lloh54: ldr x8, [x8, _tasktab@PAGEOFF] cmp x8, #5 b.lt LBB11_4 ; %bb.3: Lloh55: adrp x8, _tasktab@PAGE+40 Lloh56: ldr x8, [x8, _tasktab@PAGEOFF+40] cbnz x8, LBB11_8 LBB11_4: mov w8, #5 b LBB11_10 LBB11_5: adrp x8, _holdcount@PAGE ldr w9, [x8, _holdcount@PAGEOFF] add w9, w9, #1 Lloh57: adrp x10, _tcb@GOTPAGE Lloh58: ldr x10, [x10, _tcb@GOTPAGEOFF] str w9, [x8, _holdcount@PAGEOFF] Lloh59: ldr x8, [x10] ldr w9, [x8, #24] orr w9, w9, #0x4 str w9, [x8, #24] ldr x0, [x8] b LBB11_11 LBB11_6: mov w10, #53256 eor x9, x9, x10 str x9, [x8, _v1@PAGEOFF] Lloh60: adrp x8, _tasktab@PAGE Lloh61: ldr x8, [x8, _tasktab@PAGEOFF] cmp x8, #6 b.lt LBB11_9 ; %bb.7: Lloh62: adrp x8, _tasktab@PAGE+48 Lloh63: ldr x8, [x8, _tasktab@PAGEOFF+48] cbz x8, LBB11_9 LBB11_8: ldr w9, [x8, #24] mov w10, #65531 and w9, w9, w10 str w9, [x8, #24] ldr w9, [x8, #12] Lloh64: adrp x10, _tcb@GOTPAGE Lloh65: ldr x10, [x10, _tcb@GOTPAGEOFF] Lloh66: ldr x10, [x10] ldr w11, [x10, #12] cmp w9, w11 csel x0, x8, x10, gt b LBB11_11 LBB11_9: mov w8, #6 LBB11_10: str x8, [sp] Lloh67: adrp x0, l_.str.2@PAGE Lloh68: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x0, #0 LBB11_11: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdr Lloh53, Lloh54 .loh AdrpLdr Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdr Lloh60, Lloh61 .loh AdrpLdr Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66 .loh AdrpAdd Lloh67, Lloh68 .cfi_endproc ; -- End function .globl _workfn ; -- Begin function workfn .p2align 2 _workfn: ; @workfn .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 cbz x0, LBB12_8 ; %bb.1: Lloh69: adrp x8, _v1@PAGE ldr x9, [x8, _v1@PAGEOFF] mov w10, #7 sub x9, x10, x9 str x9, [x8, _v1@PAGEOFF] str w9, [x0, #8] str wzr, [x0, #16] Lloh70: adrp x8, _v2@PAGE ldr x10, [x8, _v2@PAGEOFF] cmp x10, #25 mov w11, #1 csinc x10, x11, x10, gt Lloh71: adrp x12, _alphabet@PAGE Lloh72: add x12, x12, _alphabet@PAGEOFF ldrb w13, [x12, x10] strb w13, [x0, #20] cmp x10, #25 csinc x10, x11, x10, gt ldrb w13, [x12, x10] strb w13, [x0, #21] cmp x10, #25 csinc x10, x11, x10, gt ldrb w13, [x12, x10] strb w13, [x0, #22] cmp x10, #25 csinc x10, x11, x10, gt str x10, [x8, _v2@PAGEOFF] ldrb w8, [x12, x10] strb w8, [x0, #23] cmp w9, #1 b.lt LBB12_7 ; %bb.2: and x8, x9, #0xffffffff Lloh73: adrp x10, _tasktab@PAGE Lloh74: ldr x10, [x10, _tasktab@PAGEOFF] cmp x8, x10 b.gt LBB12_7 ; %bb.3: Lloh75: adrp x10, _tasktab@PAGE Lloh76: add x10, x10, _tasktab@PAGEOFF ldr x8, [x10, x8, lsl #3] cbz x8, LBB12_7 ; %bb.4: Lloh77: adrp x9, _qpktcount@PAGE ldr w10, [x9, _qpktcount@PAGEOFF] add w10, w10, #1 str w10, [x9, _qpktcount@PAGEOFF] str xzr, [x0] Lloh78: adrp x9, _taskid@PAGE Lloh79: ldr x9, [x9, _taskid@PAGEOFF] str w9, [x0, #8] mov x9, x8 ldr x10, [x9, #16]! cbz x10, LBB12_9 LBB12_5: ; =>This Inner Loop Header: Depth=1 mov x8, x9 ldr x9, [x9] cbnz x9, LBB12_5 ; %bb.6: str x0, [x8] Lloh80: adrp x8, _tcb@GOTPAGE Lloh81: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh82: ldr x9, [x8] b LBB12_10 LBB12_7: ; kill: def $w9 killed $w9 killed $x9 def $x9 str x9, [sp] Lloh83: adrp x0, l_.str.2@PAGE Lloh84: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x8, #0 b LBB12_11 LBB12_8: Lloh85: adrp x8, _tcb@GOTPAGE Lloh86: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh87: ldr x8, [x8] ldr w9, [x8, #24] orr w9, w9, #0x2 str w9, [x8, #24] b LBB12_11 LBB12_9: str x0, [x8, #16] ldr w9, [x8, #24] orr w9, w9, #0x1 str w9, [x8, #24] ldr w10, [x8, #12] Lloh88: adrp x9, _tcb@GOTPAGE Lloh89: ldr x9, [x9, _tcb@GOTPAGEOFF] Lloh90: ldr x9, [x9] ldr w11, [x9, #12] cmp w10, w11 b.gt LBB12_11 LBB12_10: mov x8, x9 LBB12_11: mov x0, x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh71, Lloh72 .loh AdrpAdrp Lloh69, Lloh70 .loh AdrpLdr Lloh73, Lloh74 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpLdr Lloh78, Lloh79 .loh AdrpAdrp Lloh77, Lloh78 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87 .loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90 .cfi_endproc ; -- End function .globl _handlerfn ; -- Begin function handlerfn .p2align 2 _handlerfn: ; @handlerfn .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 cbz x0, LBB13_4 ; %bb.1: Lloh91: adrp x8, _v2@PAGE Lloh92: add x8, x8, _v2@PAGEOFF ldr w9, [x0, #12] Lloh93: adrp x10, _v1@PAGE Lloh94: add x10, x10, _v1@PAGEOFF cmp w9, #1001 csel x8, x10, x8, eq str xzr, [x0] LBB13_2: ; =>This Inner Loop Header: Depth=1 mov x9, x8 ldr x8, [x8] cbnz x8, LBB13_2 ; %bb.3: str x0, [x9] LBB13_4: adrp x9, _v1@PAGE ldr x8, [x9, _v1@PAGEOFF] cbz x8, LBB13_20 ; %bb.5: ldrsw x10, [x8, #16] cmp w10, #4 b.lt LBB13_12 ; %bb.6: ldr x10, [x8] str x10, [x9, _v1@PAGEOFF] ldr w9, [x8, #8] cmp w9, #1 b.lt LBB13_21 ; %bb.7: Lloh95: adrp x10, _tasktab@PAGE Lloh96: ldr x10, [x10, _tasktab@PAGEOFF] cmp x9, x10 b.gt LBB13_21 ; %bb.8: Lloh97: adrp x10, _tasktab@PAGE Lloh98: add x10, x10, _tasktab@PAGEOFF ldr x0, [x10, x9, lsl #3] cbz x0, LBB13_21 ; %bb.9: Lloh99: adrp x9, _qpktcount@PAGE ldr w10, [x9, _qpktcount@PAGEOFF] add w10, w10, #1 str w10, [x9, _qpktcount@PAGEOFF] str xzr, [x8] Lloh100: adrp x9, _taskid@PAGE Lloh101: ldr x9, [x9, _taskid@PAGEOFF] str w9, [x8, #8] mov x9, x0 ldr x10, [x9, #16]! cbz x10, LBB13_25 LBB13_10: ; =>This Inner Loop Header: Depth=1 mov x10, x9 ldr x9, [x9] cbnz x9, LBB13_10 ; %bb.11: str x8, [x10] b LBB13_19 LBB13_12: adrp x11, _v2@PAGE ldr x9, [x11, _v2@PAGEOFF] cbz x9, LBB13_20 ; %bb.13: ldr x12, [x9] str x12, [x11, _v2@PAGEOFF] add x11, x8, x10 ldrsb w11, [x11, #20] str w11, [x9, #16] add w10, w10, #1 str w10, [x8, #16] ldr w8, [x9, #8] cmp w8, #1 b.lt LBB13_22 ; %bb.14: Lloh102: adrp x10, _tasktab@PAGE Lloh103: ldr x10, [x10, _tasktab@PAGEOFF] cmp x8, x10 b.gt LBB13_22 ; %bb.15: Lloh104: adrp x10, _tasktab@PAGE Lloh105: add x10, x10, _tasktab@PAGEOFF ldr x0, [x10, x8, lsl #3] cbz x0, LBB13_22 ; %bb.16: Lloh106: adrp x8, _qpktcount@PAGE ldr w10, [x8, _qpktcount@PAGEOFF] add w10, w10, #1 str w10, [x8, _qpktcount@PAGEOFF] str xzr, [x9] Lloh107: adrp x8, _taskid@PAGE Lloh108: ldr x8, [x8, _taskid@PAGEOFF] str w8, [x9, #8] mov x8, x0 ldr x10, [x8, #16]! cbz x10, LBB13_26 LBB13_17: ; =>This Inner Loop Header: Depth=1 mov x10, x8 ldr x8, [x8] cbnz x8, LBB13_17 ; %bb.18: str x9, [x10] LBB13_19: Lloh109: adrp x8, _tcb@GOTPAGE Lloh110: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh111: ldr x8, [x8] b LBB13_28 LBB13_20: Lloh112: adrp x8, _tcb@GOTPAGE Lloh113: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh114: ldr x0, [x8] ldr w8, [x0, #24] orr w8, w8, #0x2 str w8, [x0, #24] b LBB13_24 LBB13_21: str x9, [sp] b LBB13_23 LBB13_22: str x8, [sp] LBB13_23: Lloh115: adrp x0, l_.str.2@PAGE Lloh116: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x0, #0 LBB13_24: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB13_25: str x8, [x0, #16] b LBB13_27 LBB13_26: str x9, [x0, #16] LBB13_27: ldr w8, [x0, #24] orr w8, w8, #0x1 str w8, [x0, #24] ldr w9, [x0, #12] Lloh117: adrp x8, _tcb@GOTPAGE Lloh118: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh119: ldr x8, [x8] ldr w10, [x8, #12] cmp w9, w10 b.gt LBB13_24 LBB13_28: mov x0, x8 b LBB13_24 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpAdd Lloh91, Lloh92 .loh AdrpLdr Lloh95, Lloh96 .loh AdrpAdd Lloh97, Lloh98 .loh AdrpLdr Lloh100, Lloh101 .loh AdrpAdrp Lloh99, Lloh100 .loh AdrpLdr Lloh102, Lloh103 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpLdr Lloh107, Lloh108 .loh AdrpAdrp Lloh106, Lloh107 .loh AdrpLdrGotLdr Lloh109, Lloh110, Lloh111 .loh AdrpLdrGotLdr Lloh112, Lloh113, Lloh114 .loh AdrpAdd Lloh115, Lloh116 .loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119 .cfi_endproc ; -- End function .globl _devfn ; -- Begin function devfn .p2align 2 _devfn: ; @devfn .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 cbz x0, LBB14_2 ; %bb.1: Lloh120: adrp x8, _v1@PAGE str x0, [x8, _v1@PAGEOFF] Lloh121: adrp x8, _holdcount@PAGE ldr w9, [x8, _holdcount@PAGEOFF] add w9, w9, #1 Lloh122: adrp x10, _tcb@GOTPAGE Lloh123: ldr x10, [x10, _tcb@GOTPAGEOFF] str w9, [x8, _holdcount@PAGEOFF] Lloh124: ldr x8, [x10] ldr w9, [x8, #24] orr w9, w9, #0x4 str w9, [x8, #24] ldr x0, [x8] b LBB14_13 LBB14_2: adrp x9, _v1@PAGE ldr x8, [x9, _v1@PAGEOFF] cbz x8, LBB14_10 ; %bb.3: str xzr, [x9, _v1@PAGEOFF] ldr w9, [x8, #8] cmp w9, #1 b.lt LBB14_9 ; %bb.4: Lloh125: adrp x10, _tasktab@PAGE Lloh126: ldr x10, [x10, _tasktab@PAGEOFF] cmp x9, x10 b.gt LBB14_9 ; %bb.5: Lloh127: adrp x10, _tasktab@PAGE Lloh128: add x10, x10, _tasktab@PAGEOFF ldr x0, [x10, x9, lsl #3] cbz x0, LBB14_9 ; %bb.6: Lloh129: adrp x9, _qpktcount@PAGE ldr w10, [x9, _qpktcount@PAGEOFF] add w10, w10, #1 str w10, [x9, _qpktcount@PAGEOFF] str xzr, [x8] Lloh130: adrp x9, _taskid@PAGE Lloh131: ldr x9, [x9, _taskid@PAGEOFF] str w9, [x8, #8] mov x9, x0 ldr x10, [x9, #16]! cbz x10, LBB14_11 LBB14_7: ; =>This Inner Loop Header: Depth=1 mov x10, x9 ldr x9, [x9] cbnz x9, LBB14_7 ; %bb.8: str x8, [x10] Lloh132: adrp x8, _tcb@GOTPAGE Lloh133: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh134: ldr x8, [x8] b LBB14_12 LBB14_9: str x9, [sp] Lloh135: adrp x0, l_.str.2@PAGE Lloh136: add x0, x0, l_.str.2@PAGEOFF bl _printf mov x0, #0 b LBB14_13 LBB14_10: Lloh137: adrp x8, _tcb@GOTPAGE Lloh138: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh139: ldr x0, [x8] ldr w8, [x0, #24] orr w8, w8, #0x2 str w8, [x0, #24] b LBB14_13 LBB14_11: str x8, [x0, #16] ldr w8, [x0, #24] orr w8, w8, #0x1 str w8, [x0, #24] ldr w9, [x0, #12] Lloh140: adrp x8, _tcb@GOTPAGE Lloh141: ldr x8, [x8, _tcb@GOTPAGEOFF] Lloh142: ldr x8, [x8] ldr w10, [x8, #12] cmp w9, w10 b.gt LBB14_13 LBB14_12: mov x0, x8 LBB14_13: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh122, Lloh123, Lloh124 .loh AdrpAdrp Lloh120, Lloh121 .loh AdrpLdr Lloh125, Lloh126 .loh AdrpAdd Lloh127, Lloh128 .loh AdrpLdr Lloh130, Lloh131 .loh AdrpAdrp Lloh129, Lloh130 .loh AdrpLdrGotLdr Lloh132, Lloh133, Lloh134 .loh AdrpAdd Lloh135, Lloh136 .loh AdrpLdrGotLdr Lloh137, Lloh138, Lloh139 .loh AdrpLdrGotLdr Lloh140, Lloh141, Lloh142 .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function main lCPI15_0: .quad 1 ; 0x1 .quad 10000 ; 0x2710 lCPI15_2: .long 0 ; 0x0 .long 1001 ; 0x3e9 .long 0 ; 0x0 .long 0 ; 0x0 lCPI15_4: .quad 3 ; 0x3 .quad 0 ; 0x0 lCPI15_6: .long 5 ; 0x5 .long 1000 ; 0x3e8 .long 0 ; 0x0 .long 0 ; 0x0 lCPI15_9: .long 6 ; 0x6 .long 1000 ; 0x3e8 .long 0 ; 0x0 .long 0 ; 0x0 .section __TEXT,__literal8,8byte_literals .p2align 3 lCPI15_1: .long 0 ; 0x0 .long 1001 ; 0x3e9 lCPI15_3: .long 2 ; 0x2 .long 1000 ; 0x3e8 lCPI15_5: .long 5 ; 0x5 .long 1000 ; 0x3e8 lCPI15_7: .long 3 ; 0x3 .long 2000 ; 0x7d0 lCPI15_8: .long 6 ; 0x6 .long 1000 ; 0x3e8 lCPI15_10: .long 4 ; 0x4 .long 3000 ; 0xbb8 lCPI15_11: .long 5 ; 0x5 .long 4000 ; 0xfa0 lCPI15_12: .long 6 ; 0x6 .long 5000 ; 0x1388 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #416 .cfi_def_cfa_offset 416 stp d15, d14, [sp, #256] ; 16-byte Folded Spill stp d13, d12, [sp, #272] ; 16-byte Folded Spill stp d11, d10, [sp, #288] ; 16-byte Folded Spill stp d9, d8, [sp, #304] ; 16-byte Folded Spill stp x28, x27, [sp, #320] ; 16-byte Folded Spill stp x26, x25, [sp, #336] ; 16-byte Folded Spill stp x24, x23, [sp, #352] ; 16-byte Folded Spill stp x22, x21, [sp, #368] ; 16-byte Folded Spill stp x20, x19, [sp, #384] ; 16-byte Folded Spill stp x29, x30, [sp, #400] ; 16-byte Folded Spill add x29, sp, #400 .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 .cfi_offset b10, -120 .cfi_offset b11, -128 .cfi_offset b12, -136 .cfi_offset b13, -144 .cfi_offset b14, -152 .cfi_offset b15, -160 mov w9, #0 Lloh143: adrp x8, ___stack_chk_guard@GOTPAGE Lloh144: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh145: ldr x8, [x8] stur x8, [x29, #-160] mov w26, #1 Lloh146: adrp x8, lCPI15_0@PAGE Lloh147: ldr q0, [x8, lCPI15_0@PAGEOFF] str q0, [sp, #64] ; 16-byte Folded Spill Lloh148: adrp x8, lCPI15_1@PAGE Lloh149: ldr d8, [x8, lCPI15_1@PAGEOFF] Lloh150: adrp x8, lCPI15_2@PAGE Lloh151: ldr q0, [x8, lCPI15_2@PAGEOFF] str q0, [sp, #48] ; 16-byte Folded Spill Lloh152: adrp x8, lCPI15_3@PAGE Lloh153: ldr d9, [x8, lCPI15_3@PAGEOFF] Lloh154: adrp x8, lCPI15_4@PAGE Lloh155: ldr q0, [x8, lCPI15_4@PAGEOFF] str q0, [sp, #32] ; 16-byte Folded Spill Lloh156: adrp x8, lCPI15_5@PAGE Lloh157: ldr d10, [x8, lCPI15_5@PAGEOFF] Lloh158: adrp x8, lCPI15_6@PAGE Lloh159: ldr q0, [x8, lCPI15_6@PAGEOFF] str q0, [sp, #112] ; 16-byte Folded Spill Lloh160: adrp x8, lCPI15_7@PAGE Lloh161: ldr d11, [x8, lCPI15_7@PAGEOFF] Lloh162: adrp x8, lCPI15_8@PAGE Lloh163: ldr d12, [x8, lCPI15_8@PAGEOFF] Lloh164: adrp x8, lCPI15_9@PAGE Lloh165: ldr q0, [x8, lCPI15_9@PAGEOFF] str q0, [sp, #96] ; 16-byte Folded Spill Lloh166: adrp x8, lCPI15_10@PAGE Lloh167: ldr d13, [x8, lCPI15_10@PAGEOFF] Lloh168: adrp x8, lCPI15_11@PAGE Lloh169: ldr d14, [x8, lCPI15_11@PAGEOFF] Lloh170: adrp x25, _tcb@GOTPAGE Lloh171: ldr x25, [x25, _tcb@GOTPAGEOFF] Lloh172: adrp x8, lCPI15_12@PAGE Lloh173: ldr d15, [x8, lCPI15_12@PAGEOFF] mov w27, #244 adrp x19, _v1@PAGE adrp x24, _v2@PAGE Lloh174: adrp x28, _tasktab@PAGE+8 Lloh175: add x28, x28, _tasktab@PAGEOFF+8 b LBB15_2 LBB15_1: ; in Loop: Header=BB15_2 Depth=1 add x0, sp, #128 add x1, sp, #192 bl _reset_state ldr w9, [sp, #92] ; 4-byte Folded Reload add w9, w9, #1 cmp w9, #100 b.eq LBB15_12 LBB15_2: ; =>This Loop Header: Depth=1 ; Child Loop BB15_3 Depth 2 str w9, [sp, #92] ; 4-byte Folded Spill mov w0, #56 bl _malloc mov x20, x0 str x0, [x28] Lloh176: adrp x8, _tasklist@PAGE Lloh177: ldr x8, [x8, _tasklist@PAGEOFF] str x8, [x0] str w26, [x0, #8] stur xzr, [x0, #20] stur xzr, [x0, #12] Lloh178: adrp x8, _idlefn@PAGE Lloh179: add x8, x8, _idlefn@PAGEOFF str x8, [x0, #32] ldr q0, [sp, #64] ; 16-byte Folded Reload stur q0, [x0, #40] str x0, [sp, #192] mov w0, #24 bl _malloc mov x21, x0 str xzr, [x0] str d8, [x0, #8] str xzr, [x0, #16] str x0, [sp, #128] mov w0, #24 bl _malloc mov x22, x0 str x21, [x0] ldr q0, [sp, #48] ; 16-byte Folded Reload stur q0, [x0, #8] str x0, [sp, #136] mov w0, #56 bl _malloc mov x21, x0 str x0, [x28, #8] str x20, [x0] str d9, [x0, #8] str x22, [x0, #16] mov w8, #3 str w8, [x0, #24] mov w23, #3 Lloh180: adrp x8, _workfn@PAGE Lloh181: add x8, x8, _workfn@PAGEOFF str x8, [x0, #32] ldr q0, [sp, #32] ; 16-byte Folded Reload stur q0, [x0, #40] str x0, [sp, #200] mov w0, #24 bl _malloc mov x20, x0 str xzr, [x0] str d10, [x0, #8] str xzr, [x0, #16] str x0, [sp, #144] mov w0, #24 bl _malloc mov x22, x0 str x20, [x0] ldr q0, [sp, #112] ; 16-byte Folded Reload stur q0, [x0, #8] str x0, [sp, #152] mov w0, #24 bl _malloc mov x20, x0 str x22, [x0] ldr q0, [sp, #112] ; 16-byte Folded Reload stur q0, [x0, #8] str x0, [sp, #160] mov w0, #56 bl _malloc mov x22, x0 str x0, [x28, #16] str x21, [x0] str d11, [x0, #8] str x20, [x0, #16] str w23, [x0, #24] stp xzr, xzr, [x0, #40] Lloh182: adrp x23, _handlerfn@PAGE Lloh183: add x23, x23, _handlerfn@PAGEOFF str x23, [x0, #32] str x0, [sp, #208] mov w0, #24 bl _malloc mov x20, x0 str xzr, [x0] str d12, [x0, #8] str xzr, [x0, #16] str x0, [sp, #168] mov w0, #24 bl _malloc mov x21, x0 str x20, [x0] ldr q0, [sp, #96] ; 16-byte Folded Reload stur q0, [x0, #8] str x0, [sp, #176] mov w0, #24 bl _malloc mov x20, x0 str x21, [x0] ldr q0, [sp, #96] ; 16-byte Folded Reload stur q0, [x0, #8] str x0, [sp, #184] mov w0, #56 bl _malloc mov x21, x0 str x0, [x28, #24] str x22, [x0] str d13, [x0, #8] str x20, [x0, #16] mov w8, #3 str w8, [x0, #24] stp xzr, xzr, [x0, #40] str x23, [x0, #32] str x0, [sp, #216] mov w0, #56 bl _malloc mov x20, x0 str x0, [x28, #32] str x21, [x0] str d14, [x0, #8] str xzr, [x0, #16] mov w21, #2 str w21, [x0, #24] stp xzr, xzr, [x0, #40] Lloh184: adrp x22, _devfn@PAGE Lloh185: add x22, x22, _devfn@PAGEOFF str x22, [x0, #32] str x0, [sp, #224] mov w0, #56 bl _malloc str x0, [x28, #40] str x20, [x0] adrp x20, _taskid@PAGE str d15, [x0, #8] str xzr, [x0, #16] str w21, [x0, #24] stp xzr, xzr, [x0, #40] str x22, [x0, #32] Lloh186: adrp x8, _tasklist@PAGE str x0, [x8, _tasklist@PAGEOFF] str x0, [sp, #232] str x0, [x25] Lloh187: adrp x8, _holdcount@PAGE str wzr, [x8, _holdcount@PAGEOFF] Lloh188: adrp x8, _qpktcount@PAGE str wzr, [x8, _qpktcount@PAGEOFF] Lloh189: adrp x8, _layout@PAGE str wzr, [x8, _layout@PAGEOFF] cmp w21, #7 b.hi LBB15_10 LBB15_3: ; Parent Loop BB15_2 Depth=1 ; => This Inner Loop Header: Depth=2 lsl w8, w26, w21 tst w8, w27 b.eq LBB15_5 ; %bb.4: ; in Loop: Header=BB15_3 Depth=2 ldr x0, [x0] str x0, [x25] cbnz x0, LBB15_9 b LBB15_10 LBB15_5: ; in Loop: Header=BB15_3 Depth=2 tst w8, #0x3 b.eq LBB15_7 ; %bb.6: ; in Loop: Header=BB15_3 Depth=2 mov x8, #0 b LBB15_8 LBB15_7: ; in Loop: Header=BB15_3 Depth=2 ldr x8, [x0, #16] ldr x9, [x8] str x9, [x0, #16] cmp x9, #0 cset w9, ne str w9, [x0, #24] LBB15_8: ; in Loop: Header=BB15_3 Depth=2 ldrsw x9, [x0, #8] str x9, [x20, _taskid@PAGEOFF] ldp x10, x9, [x0, #32] str x9, [x19, _v1@PAGEOFF] ldr x9, [x0, #48] str x9, [x24, _v2@PAGEOFF] mov x0, x8 blr x10 ldr x8, [x19, _v1@PAGEOFF] ldr x9, [x25] ldr x10, [x24, _v2@PAGEOFF] stp x8, x10, [x9, #40] str x0, [x25] cbz x0, LBB15_10 LBB15_9: ; in Loop: Header=BB15_3 Depth=2 ldr w21, [x0, #24] cmp w21, #7 b.ls LBB15_3 LBB15_10: ; in Loop: Header=BB15_2 Depth=1 Lloh190: adrp x8, _qpktcount@PAGE Lloh191: ldr w8, [x8, _qpktcount@PAGEOFF] Lloh192: adrp x9, _holdcount@PAGE Lloh193: ldr w9, [x9, _holdcount@PAGEOFF] mov w10, #23246 cmp w8, w10 mov w10, #9297 ccmp w9, w10, #0, eq b.eq LBB15_1 ; %bb.11: ; in Loop: Header=BB15_2 Depth=1 stp x8, x9, [sp, #16] mov w10, #9297 mov w8, #23246 stp x8, x10, [sp] Lloh194: adrp x0, l_.str.3@PAGE Lloh195: add x0, x0, l_.str.3@PAGEOFF bl _printf b LBB15_1 LBB15_12: ldur x8, [x29, #-160] Lloh196: adrp x9, ___stack_chk_guard@GOTPAGE Lloh197: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh198: ldr x9, [x9] cmp x9, x8 b.ne LBB15_14 ; %bb.13: mov w0, #0 ldp x29, x30, [sp, #400] ; 16-byte Folded Reload ldp x20, x19, [sp, #384] ; 16-byte Folded Reload ldp x22, x21, [sp, #368] ; 16-byte Folded Reload ldp x24, x23, [sp, #352] ; 16-byte Folded Reload ldp x26, x25, [sp, #336] ; 16-byte Folded Reload ldp x28, x27, [sp, #320] ; 16-byte Folded Reload ldp d9, d8, [sp, #304] ; 16-byte Folded Reload ldp d11, d10, [sp, #288] ; 16-byte Folded Reload ldp d13, d12, [sp, #272] ; 16-byte Folded Reload ldp d15, d14, [sp, #256] ; 16-byte Folded Reload add sp, sp, #416 ret LBB15_14: bl ___stack_chk_fail .loh AdrpAdd Lloh174, Lloh175 .loh AdrpLdr Lloh172, Lloh173 .loh AdrpLdrGot Lloh170, Lloh171 .loh AdrpAdrp Lloh168, Lloh172 .loh AdrpLdr Lloh168, Lloh169 .loh AdrpAdrp Lloh166, Lloh168 .loh AdrpLdr Lloh166, Lloh167 .loh AdrpAdrp Lloh164, Lloh166 .loh AdrpLdr Lloh164, Lloh165 .loh AdrpAdrp Lloh162, Lloh164 .loh AdrpLdr Lloh162, Lloh163 .loh AdrpAdrp Lloh160, Lloh162 .loh AdrpLdr Lloh160, Lloh161 .loh AdrpAdrp Lloh158, Lloh160 .loh AdrpLdr Lloh158, Lloh159 .loh AdrpAdrp Lloh156, Lloh158 .loh AdrpLdr Lloh156, Lloh157 .loh AdrpAdrp Lloh154, Lloh156 .loh AdrpLdr Lloh154, Lloh155 .loh AdrpAdrp Lloh152, Lloh154 .loh AdrpLdr Lloh152, Lloh153 .loh AdrpAdrp Lloh150, Lloh152 .loh AdrpLdr Lloh150, Lloh151 .loh AdrpAdrp Lloh148, Lloh150 .loh AdrpLdr Lloh148, Lloh149 .loh AdrpAdrp Lloh146, Lloh148 .loh AdrpLdr Lloh146, Lloh147 .loh AdrpLdrGotLdr Lloh143, Lloh144, Lloh145 .loh AdrpAdrp Lloh188, Lloh189 .loh AdrpAdrp Lloh187, Lloh188 .loh AdrpAdrp Lloh186, Lloh187 .loh AdrpAdd Lloh184, Lloh185 .loh AdrpAdd Lloh182, Lloh183 .loh AdrpAdd Lloh180, Lloh181 .loh AdrpAdd Lloh178, Lloh179 .loh AdrpLdr Lloh176, Lloh177 .loh AdrpLdr Lloh192, Lloh193 .loh AdrpLdr Lloh190, Lloh191 .loh AdrpAdd Lloh194, Lloh195 .loh AdrpLdrGotLdr Lloh196, Lloh197, Lloh198 .cfi_endproc ; -- End function .section __TEXT,__const .globl _alphabet ; @alphabet _alphabet: .asciz "0ABCDEFGHIJKLMNOPQRSTUVWXYZ" .section __DATA,__data .globl _tasktab ; @tasktab .p2align 3 _tasktab: .quad 10 .space 80 .globl _tasklist ; @tasklist .zerofill __DATA,__common,_tasklist,8,3 .globl _taskid ; @taskid .zerofill __DATA,__common,_taskid,8,3 .globl _v1 ; @v1 .zerofill __DATA,__common,_v1,8,3 .globl _v2 ; @v2 .zerofill __DATA,__common,_v2,8,3 .globl _qpktcount ; @qpktcount .zerofill __DATA,__common,_qpktcount,4,2 .globl _holdcount ; @holdcount .zerofill __DATA,__common,_holdcount,4,2 .globl _layout ; @layout .zerofill __DATA,__common,_layout,4,2 .comm _tcb,8,3 ; @tcb .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "\nBad task id %d\n" l_.str.3: ; @.str.3 .asciz "Sanity check failed! Expected: %d, %d. Got: %d, %d.\n" .subsections_via_symbols
the_stack_data/25137405.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ibmvscsis_alloctimer _ibmvscsis_alloctimer: ## @ibmvscsis_alloctimer .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 addq $16, %rdi movq _CLOCK_MONOTONIC@GOTPCREL(%rip), %rax movl (%rax), %esi movq _HRTIMER_MODE_REL@GOTPCREL(%rip), %rax movl (%rax), %edx callq _hrtimer_init movq _ibmvscsis_service_wait_q@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rbx) movl $0, (%rbx) movq $0, 8(%rbx) movq _ADAPT_SUCCESS@GOTPCREL(%rip), %rax movq (%rax), %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _CLOCK_MONOTONIC,4,2 ## @CLOCK_MONOTONIC .comm _HRTIMER_MODE_REL,4,2 ## @HRTIMER_MODE_REL .comm _ibmvscsis_service_wait_q,4,2 ## @ibmvscsis_service_wait_q .comm _ADAPT_SUCCESS,8,3 ## @ADAPT_SUCCESS .no_dead_strip _ibmvscsis_alloctimer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ibmvscsis_alloctimer _ibmvscsis_alloctimer: ; @ibmvscsis_alloctimer .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 add x0, x0, #16 Lloh0: adrp x8, _CLOCK_MONOTONIC@GOTPAGE Lloh1: ldr x8, [x8, _CLOCK_MONOTONIC@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _HRTIMER_MODE_REL@GOTPAGE Lloh4: ldr x8, [x8, _HRTIMER_MODE_REL@GOTPAGEOFF] Lloh5: ldr w2, [x8] bl _hrtimer_init Lloh6: adrp x8, _ibmvscsis_service_wait_q@GOTPAGE Lloh7: ldr x8, [x8, _ibmvscsis_service_wait_q@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x19, #16] str wzr, [x19] str xzr, [x19, #8] Lloh9: adrp x8, _ADAPT_SUCCESS@GOTPAGE Lloh10: ldr x8, [x8, _ADAPT_SUCCESS@GOTPAGEOFF] Lloh11: ldr x0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .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 _CLOCK_MONOTONIC,4,2 ; @CLOCK_MONOTONIC .comm _HRTIMER_MODE_REL,4,2 ; @HRTIMER_MODE_REL .comm _ibmvscsis_service_wait_q,4,2 ; @ibmvscsis_service_wait_q .comm _ADAPT_SUCCESS,8,3 ; @ADAPT_SUCCESS .no_dead_strip _ibmvscsis_alloctimer .subsections_via_symbols
AnghaBench/linux/drivers/scsi/ibmvscsi_tgt/extr_ibmvscsi_tgt.c_ibmvscsis_alloctimer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function adsp_rtos_read_ctrl_word_cmd_tast_to_h_v _adsp_rtos_read_ctrl_word_cmd_tast_to_h_v: ## @adsp_rtos_read_ctrl_word_cmd_tast_to_h_v .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, %r15 movq _MSM_AD5_BASE@GOTPCREL(%rip), %rax movq _QDSP_RAMC_OFFSET@GOTPCREL(%rip), %rcx movq (%rcx), %rcx addq (%rax), %rcx cmpq %rsi, %rcx jbe LBB0_2 ## %bb.1: movq _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M@GOTPCREL(%rip), %rax movl (%rsi), %r14d movl 4(%rsi), %r12d movl (%rax), %ebx andl %r14d, %ebx movq _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M@GOTPCREL(%rip), %rax andl (%rax), %r14d addq $8, %rsi movq _read_event_16@GOTPCREL(%rip), %r13 jmp LBB0_3 LBB0_2: movl (%rsi), %r12d addq $4, %rsi movq _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M@GOTPCREL(%rip), %rax movl (%rax), %ebx andl %r12d, %ebx movq _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M@GOTPCREL(%rip), %rax movl (%rax), %r14d andl %r12d, %r14d sarl $16, %r12d movq _read_event_32@GOTPCREL(%rip), %r13 LBB0_3: movq _read_event_size@GOTPCREL(%rip), %rax movl %r12d, (%rax) movq _read_event_addr@GOTPCREL(%rip), %rax movq %rsi, (%rax) sarl $8, %ebx cmpl (%r15), %ebx jbe LBB0_5 ## %bb.4: leaq L_.str(%rip), %rdi jmp LBB0_9 LBB0_5: movq %r15, %rdi movl %ebx, %esi callq _adsp_get_module movq %r15, %rdi movl %eax, %esi callq _find_adsp_module_by_id testq %rax, %rax je LBB0_8 ## %bb.6: incl 16(%rax) movq 8(%rax), %rbx testq %rbx, %rbx je LBB0_12 ## %bb.7: shll $2, %r12d movl 4(%rax), %edi movl %r14d, %esi movl %r12d, %edx movq %r13, %rcx callq *(%rbx) jmp LBB0_11 LBB0_8: leaq L_.str.1(%rip), %rdi LBB0_9: movl %ebx, %esi LBB0_10: callq _pr_err LBB0_11: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movl (%rax), %esi leaq L_.str.2(%rip), %rdi jmp LBB0_10 .cfi_endproc ## -- End function .comm _MSM_AD5_BASE,8,3 ## @MSM_AD5_BASE .comm _QDSP_RAMC_OFFSET,8,3 ## @QDSP_RAMC_OFFSET .comm _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M,4,2 ## @ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M .comm _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M,4,2 ## @ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M .comm _read_event_size,4,2 ## @read_event_size .comm _read_event_addr,8,3 ## @read_event_addr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "adsp: bogus task id %d\n" L_.str.1: ## @.str.1 .asciz "adsp: no module for task id %d\n" L_.str.2: ## @.str.2 .asciz "adsp: module %s is not open\n" .no_dead_strip _adsp_rtos_read_ctrl_word_cmd_tast_to_h_v .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function adsp_rtos_read_ctrl_word_cmd_tast_to_h_v _adsp_rtos_read_ctrl_word_cmd_tast_to_h_v: ; @adsp_rtos_read_ctrl_word_cmd_tast_to_h_v .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, x0 Lloh0: adrp x8, _MSM_AD5_BASE@GOTPAGE Lloh1: ldr x8, [x8, _MSM_AD5_BASE@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _QDSP_RAMC_OFFSET@GOTPAGE Lloh4: ldr x9, [x9, _QDSP_RAMC_OFFSET@GOTPAGEOFF] Lloh5: ldr x9, [x9] add x8, x9, x8 cmp x8, x1 b.ls LBB0_2 ; %bb.1: Lloh6: adrp x8, _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M@GOTPAGE Lloh7: ldr x8, [x8, _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M@GOTPAGEOFF] Lloh8: ldr w8, [x8] Lloh9: adrp x10, _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M@GOTPAGE Lloh10: ldr x10, [x10, _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M@GOTPAGEOFF] ldp w11, w23, [x1] and w9, w8, w11 Lloh11: ldr w8, [x10] and w20, w8, w11 add x8, x1, #8 Lloh12: adrp x21, _read_event_16@GOTPAGE Lloh13: ldr x21, [x21, _read_event_16@GOTPAGEOFF] b LBB0_3 LBB0_2: add x8, x1, #4 ldr w10, [x1] Lloh14: adrp x9, _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M@GOTPAGE Lloh15: ldr x9, [x9, _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M@GOTPAGEOFF] Lloh16: ldr w9, [x9] Lloh17: adrp x11, _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M@GOTPAGE Lloh18: ldr x11, [x11, _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M@GOTPAGEOFF] and w9, w9, w10 Lloh19: ldr w11, [x11] and w20, w11, w10 asr w23, w10, #16 Lloh20: adrp x21, _read_event_32@GOTPAGE Lloh21: ldr x21, [x21, _read_event_32@GOTPAGEOFF] LBB0_3: Lloh22: adrp x10, _read_event_size@GOTPAGE Lloh23: ldr x10, [x10, _read_event_size@GOTPAGEOFF] Lloh24: str w23, [x10] Lloh25: adrp x10, _read_event_addr@GOTPAGE Lloh26: ldr x10, [x10, _read_event_addr@GOTPAGEOFF] Lloh27: str x8, [x10] asr w22, w9, #8 ldr w8, [x19] cmp w22, w8 b.ls LBB0_5 ; %bb.4: Lloh28: adrp x0, l_.str@PAGE Lloh29: add x0, x0, l_.str@PAGEOFF b LBB0_9 LBB0_5: mov x0, x19 mov x1, x22 bl _adsp_get_module mov x1, x0 mov x0, x19 bl _find_adsp_module_by_id cbz x0, LBB0_8 ; %bb.6: ldr w8, [x0, #16] add w8, w8, #1 str w8, [x0, #16] ldr x8, [x0, #8] cbz x8, LBB0_12 ; %bb.7: lsl w2, w23, #2 ldr x8, [x8] ldr w0, [x0, #4] mov x1, x20 mov x3, x21 blr x8 b LBB0_11 LBB0_8: Lloh30: adrp x0, l_.str.1@PAGE Lloh31: add x0, x0, l_.str.1@PAGEOFF LBB0_9: mov x1, x22 LBB0_10: bl _pr_err LBB0_11: 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 ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_12: ldr w1, [x0] Lloh32: adrp x0, l_.str.2@PAGE Lloh33: add x0, x0, l_.str.2@PAGEOFF b LBB0_10 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .cfi_endproc ; -- End function .comm _MSM_AD5_BASE,8,3 ; @MSM_AD5_BASE .comm _QDSP_RAMC_OFFSET,8,3 ; @QDSP_RAMC_OFFSET .comm _ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M,4,2 ; @ADSP_RTOS_READ_CTRL_WORD_TASK_ID_M .comm _ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M,4,2 ; @ADSP_RTOS_READ_CTRL_WORD_MSG_ID_M .comm _read_event_size,4,2 ; @read_event_size .comm _read_event_addr,8,3 ; @read_event_addr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "adsp: bogus task id %d\n" l_.str.1: ; @.str.1 .asciz "adsp: no module for task id %d\n" l_.str.2: ; @.str.2 .asciz "adsp: module %s is not open\n" .no_dead_strip _adsp_rtos_read_ctrl_word_cmd_tast_to_h_v .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/staging/dream/qdsp5/extr_adsp.c_adsp_rtos_read_ctrl_word_cmd_tast_to_h_v.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 json_pair_buf_init LCPI0_0: .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 10 ## 0xa .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .section __TEXT,__text,regular,pure_instructions .globl _json_pair_buf_init .p2align 4, 0x90 _json_pair_buf_init: ## @json_pair_buf_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 %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0] movups %xmm0, 8(%rdi) movl $160, %edi callq _malloc movq %rax, (%rbx) testq %rax, %rax je LBB0_1 LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq LBB0_1: callq _json_pair_buf_init.cold.1 jmp LBB0_2 .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function json_pair_buf_new LCPI1_0: .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 10 ## 0xa .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .section __TEXT,__text,regular,pure_instructions .globl _json_pair_buf_new .p2align 4, 0x90 _json_pair_buf_new: ## @json_pair_buf_new .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 $24, %edi callq _malloc testq %rax, %rax je LBB1_1 ## %bb.4: movq %rax, %rbx movaps LCPI1_0(%rip), %xmm0 ## xmm0 = [0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0] movups %xmm0, 8(%rax) movl $160, %edi callq _malloc movq %rax, (%rbx) testq %rax, %rax je LBB1_5 ## %bb.6: movq %rbx, %rax LBB1_3: addq $8, %rsp popq %rbx popq %rbp retq LBB1_1: callq _json_pair_buf_new.cold.1 jmp LBB1_2 LBB1_5: callq _json_pair_buf_new.cold.2 LBB1_2: xorl %eax, %eax jmp LBB1_3 .cfi_endproc ## -- End function .globl _json_pair_buf_grow ## -- Begin function json_pair_buf_grow .p2align 4, 0x90 _json_pair_buf_grow: ## @json_pair_buf_grow .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 imulq 16(%rdi), %rsi movq %rsi, 16(%rdi) movq (%rdi), %rdi callq _realloc movq %rax, (%rbx) testq %rax, %rax je LBB2_1 LBB2_2: addq $8, %rsp popq %rbx popq %rbp retq LBB2_1: callq _json_pair_buf_grow.cold.1 jmp LBB2_2 .cfi_endproc ## -- End function .globl _json_pair_buf_deinit ## -- Begin function json_pair_buf_deinit .p2align 4, 0x90 _json_pair_buf_deinit: ## @json_pair_buf_deinit .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 (%rdi), %rdi callq _free xorps %xmm0, %xmm0 movups %xmm0, 8(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _json_pair_buf_del ## -- Begin function json_pair_buf_del .p2align 4, 0x90 _json_pair_buf_del: ## @json_pair_buf_del .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 (%rdi), %rdi callq _free movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .globl _json_pair_buf_push ## -- Begin function json_pair_buf_push .p2align 4, 0x90 _json_pair_buf_push: ## @json_pair_buf_push .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 %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq 8(%rdi), %rsi cmpq 16(%rdi), %rsi jne LBB5_3 ## %bb.1: addq %rsi, %rsi movq %rsi, 16(%rbx) movq (%rbx), %rdi callq _realloc movq %rax, (%rbx) testq %rax, %rax je LBB5_2 LBB5_3: testq %r15, %r15 je LBB5_4 ## %bb.5: movq %r15, %rdi callq _strlen leaq 1(%rax), %rdi callq _malloc movq %rax, %r12 movq %rax, %rdi movq %r15, %rsi callq _strcpy movq (%rbx), %rax movq 8(%rbx), %rcx movq %rcx, %rdx shlq $4, %rdx movq %r12, (%rax,%rdx) jmp LBB5_6 LBB5_4: movq (%rbx), %rax movq 8(%rbx), %rcx LBB5_6: leaq 1(%rcx), %rdx movq %rdx, 8(%rbx) shlq $4, %rcx movq %r14, 8(%rax,%rcx) LBB5_7: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB5_2: callq _json_pair_buf_push.cold.1 jmp LBB5_7 .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 leaq L_.str.3(%rip), %rdi callq _puts ud2 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function json_pair_buf_init.cold.1 _json_pair_buf_init.cold.1: ## @json_pair_buf_init.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___func__.json_pair_buf_init(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx pushq $76 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function json_pair_buf_new.cold.1 _json_pair_buf_new.cold.1: ## @json_pair_buf_new.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___func__.json_pair_buf_new(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.2(%rip), %rcx pushq $82 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function json_pair_buf_new.cold.2 _json_pair_buf_new.cold.2: ## @json_pair_buf_new.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 leaq L___func__.json_pair_buf_init(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx pushq $76 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function json_pair_buf_grow.cold.1 _json_pair_buf_grow.cold.1: ## @json_pair_buf_grow.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___func__.json_pair_buf_grow(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx pushq $95 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function json_pair_buf_push.cold.1 _json_pair_buf_push.cold.1: ## @json_pair_buf_push.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___func__.json_pair_buf_grow(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx pushq $95 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___func__.json_pair_buf_init: ## @__func__.json_pair_buf_init .asciz "json_pair_buf_init" L_.str: ## @.str .asciz "57694.c" L_.str.1: ## @.str.1 .asciz "buf->items != NULL" L___func__.json_pair_buf_new: ## @__func__.json_pair_buf_new .asciz "json_pair_buf_new" L_.str.2: ## @.str.2 .asciz "new_buf != NULL" L___func__.json_pair_buf_grow: ## @__func__.json_pair_buf_grow .asciz "json_pair_buf_grow" L_.str.3: ## @.str.3 .asciz "Running Json Tests: " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function json_pair_buf_init lCPI0_0: .quad 0 ; 0x0 .quad 10 ; 0xa .section __TEXT,__text,regular,pure_instructions .globl _json_pair_buf_init .p2align 2 _json_pair_buf_init: ; @json_pair_buf_init .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, lCPI0_0@PAGE Lloh1: ldr q0, [x8, lCPI0_0@PAGEOFF] stur q0, [x0, #8] mov w0, #160 bl _malloc str x0, [x19] cbz x0, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: bl _json_pair_buf_init.cold.1 .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ; -- Begin function json_pair_buf_new lCPI1_0: .quad 0 ; 0x0 .quad 10 ; 0xa .section __TEXT,__text,regular,pure_instructions .globl _json_pair_buf_new .p2align 2 _json_pair_buf_new: ; @json_pair_buf_new .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 w0, #24 bl _malloc cbz x0, LBB1_3 ; %bb.1: mov x19, x0 Lloh2: adrp x8, lCPI1_0@PAGE Lloh3: ldr q0, [x8, lCPI1_0@PAGEOFF] stur q0, [x0, #8] mov w0, #160 bl _malloc str x0, [x19] cbz x0, LBB1_4 ; %bb.2: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB1_3: bl _json_pair_buf_new.cold.1 LBB1_4: bl _json_pair_buf_new.cold.2 .loh AdrpLdr Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _json_pair_buf_grow ; -- Begin function json_pair_buf_grow .p2align 2 _json_pair_buf_grow: ; @json_pair_buf_grow .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, #16] mul x1, x8, x1 str x1, [x0, #16] ldr x0, [x0] bl _realloc str x0, [x19] cbz x0, LBB2_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB2_2: bl _json_pair_buf_grow.cold.1 .cfi_endproc ; -- End function .globl _json_pair_buf_deinit ; -- Begin function json_pair_buf_deinit .p2align 2 _json_pair_buf_deinit: ; @json_pair_buf_deinit .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 x0, [x0] bl _free stp xzr, xzr, [x19, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _json_pair_buf_del ; -- Begin function json_pair_buf_del .p2align 2 _json_pair_buf_del: ; @json_pair_buf_del .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 x0, [x0] bl _free mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free .cfi_endproc ; -- End function .globl _json_pair_buf_push ; -- Begin function json_pair_buf_push .p2align 2 _json_pair_buf_push: ; @json_pair_buf_push .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 x19, x2 mov x21, x1 mov x20, x0 ldp x8, x9, [x0, #8] cmp x8, x9 b.ne LBB5_2 ; %bb.1: lsl x1, x8, #1 str x1, [x20, #16] ldr x0, [x20] bl _realloc str x0, [x20] cbz x0, LBB5_6 LBB5_2: cbz x21, LBB5_4 ; %bb.3: mov x0, x21 bl _strlen add x0, x0, #1 bl _malloc mov x1, x21 bl _strcpy ldp x8, x9, [x20] lsl x10, x9, #4 str x0, [x8, x10] b LBB5_5 LBB5_4: ldp x8, x9, [x20] LBB5_5: add x10, x9, #1 str x10, [x20, #8] add x8, x8, x9, lsl #4 str x19, [x8, #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 LBB5_6: bl _json_pair_buf_push.cold.1 .cfi_endproc ; -- End function .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 Lloh4: adrp x0, l_.str.3@PAGE Lloh5: add x0, x0, l_.str.3@PAGEOFF bl _puts brk #0x1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function json_pair_buf_init.cold.1 _json_pair_buf_init.cold.1: ; @json_pair_buf_init.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 Lloh6: adrp x0, l___func__.json_pair_buf_init@PAGE Lloh7: add x0, x0, l___func__.json_pair_buf_init@PAGEOFF Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF Lloh10: adrp x3, l_.str.1@PAGE Lloh11: add x3, x3, l_.str.1@PAGEOFF mov w2, #76 bl ___assert_rtn .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function json_pair_buf_new.cold.1 _json_pair_buf_new.cold.1: ; @json_pair_buf_new.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 Lloh12: adrp x0, l___func__.json_pair_buf_new@PAGE Lloh13: add x0, x0, l___func__.json_pair_buf_new@PAGEOFF Lloh14: adrp x1, l_.str@PAGE Lloh15: add x1, x1, l_.str@PAGEOFF Lloh16: adrp x3, l_.str.2@PAGE Lloh17: add x3, x3, l_.str.2@PAGEOFF mov w2, #82 bl ___assert_rtn .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function json_pair_buf_new.cold.2 _json_pair_buf_new.cold.2: ; @json_pair_buf_new.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 Lloh18: adrp x0, l___func__.json_pair_buf_init@PAGE Lloh19: add x0, x0, l___func__.json_pair_buf_init@PAGEOFF Lloh20: adrp x1, l_.str@PAGE Lloh21: add x1, x1, l_.str@PAGEOFF Lloh22: adrp x3, l_.str.1@PAGE Lloh23: add x3, x3, l_.str.1@PAGEOFF mov w2, #76 bl ___assert_rtn .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function json_pair_buf_grow.cold.1 _json_pair_buf_grow.cold.1: ; @json_pair_buf_grow.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 Lloh24: adrp x0, l___func__.json_pair_buf_grow@PAGE Lloh25: add x0, x0, l___func__.json_pair_buf_grow@PAGEOFF Lloh26: adrp x1, l_.str@PAGE Lloh27: add x1, x1, l_.str@PAGEOFF Lloh28: adrp x3, l_.str.1@PAGE Lloh29: add x3, x3, l_.str.1@PAGEOFF mov w2, #95 bl ___assert_rtn .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function json_pair_buf_push.cold.1 _json_pair_buf_push.cold.1: ; @json_pair_buf_push.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 Lloh30: adrp x0, l___func__.json_pair_buf_grow@PAGE Lloh31: add x0, x0, l___func__.json_pair_buf_grow@PAGEOFF Lloh32: adrp x1, l_.str@PAGE Lloh33: add x1, x1, l_.str@PAGEOFF Lloh34: adrp x3, l_.str.1@PAGE Lloh35: add x3, x3, l_.str.1@PAGEOFF mov w2, #95 bl ___assert_rtn .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___func__.json_pair_buf_init: ; @__func__.json_pair_buf_init .asciz "json_pair_buf_init" l_.str: ; @.str .asciz "57694.c" l_.str.1: ; @.str.1 .asciz "buf->items != NULL" l___func__.json_pair_buf_new: ; @__func__.json_pair_buf_new .asciz "json_pair_buf_new" l_.str.2: ; @.str.2 .asciz "new_buf != NULL" l___func__.json_pair_buf_grow: ; @__func__.json_pair_buf_grow .asciz "json_pair_buf_grow" l_.str.3: ; @.str.3 .asciz "Running Json Tests: " .subsections_via_symbols
the_stack_data/57694.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 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 leaq -44(%rbp), %rsi leaq -48(%rbp), %rdx xorl %eax, %eax callq _scanf cmpl $-1, %eax je LBB0_23 ## %bb.1: leaq _meses(%rip), %r14 leaq L_.str(%rip), %r15 leaq -44(%rbp), %r12 leaq -48(%rbp), %r13 jmp LBB0_5 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_5 Depth=1 leaq L_str.5(%rip), %rdi LBB0_3: ## in Loop: Header=BB0_5 Depth=1 callq _puts LBB0_4: ## in Loop: Header=BB0_5 Depth=1 movq %r15, %rdi movq %r12, %rsi movq %r13, %rdx xorl %eax, %eax callq _scanf cmpl $-1, %eax je LBB0_23 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 ## Child Loop BB0_15 Depth 2 movl -48(%rbp), %edi movl -44(%rbp), %eax cmpl $2, %eax jl LBB0_16 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 leaq -1(%rax), %rdx movl $1, %ecx cmpq $8, %rdx jb LBB0_14 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq %rdx, %rcx andq $-8, %rcx movd %edi, %xmm0 leaq -8(%rcx), %rsi movq %rsi, %rbx shrq $3, %rbx incq %rbx testq %rsi, %rsi je LBB0_22 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movq %rbx, %rsi andq $-2, %rsi pxor %xmm1, %xmm1 xorl %edi, %edi .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movdqu 4(%r14,%rdi,4), %xmm2 paddd %xmm0, %xmm2 movdqu 20(%r14,%rdi,4), %xmm3 paddd %xmm1, %xmm3 movdqu 36(%r14,%rdi,4), %xmm0 paddd %xmm2, %xmm0 movdqu 52(%r14,%rdi,4), %xmm1 paddd %xmm3, %xmm1 addq $16, %rdi addq $-2, %rsi jne LBB0_9 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 testb $1, %bl je LBB0_12 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 shlq $2, %rdi orq $4, %rdi movdqu (%rdi,%r14), %xmm2 paddd %xmm2, %xmm0 movdqu 16(%rdi,%r14), %xmm2 paddd %xmm2, %xmm1 LBB0_12: ## in Loop: Header=BB0_5 Depth=1 paddd %xmm1, %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddd %xmm0, %xmm1 pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1] paddd %xmm1, %xmm0 movd %xmm0, %edi cmpq %rcx, %rdx je LBB0_16 ## %bb.13: ## in Loop: Header=BB0_5 Depth=1 orq $1, %rcx LBB0_14: ## in Loop: Header=BB0_5 Depth=1 leaq (%r14,%rcx,4), %rdx subq %rcx, %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_15: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 addl (%rdx,%rcx,4), %edi incq %rcx cmpq %rcx, %rax jne LBB0_15 LBB0_16: ## in Loop: Header=BB0_5 Depth=1 cmpl $360, %edi ## imm = 0x168 je LBB0_2 ## %bb.17: ## in Loop: Header=BB0_5 Depth=1 cmpl $359, %edi ## imm = 0x167 jne LBB0_19 ## %bb.18: ## in Loop: Header=BB0_5 Depth=1 leaq L_str.6(%rip), %rdi jmp LBB0_3 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_5 Depth=1 cmpl $361, %edi ## imm = 0x169 jl LBB0_21 ## %bb.20: ## in Loop: Header=BB0_5 Depth=1 leaq L_str(%rip), %rdi jmp LBB0_3 LBB0_21: ## in Loop: Header=BB0_5 Depth=1 movl $360, %esi ## imm = 0x168 subl %edi, %esi leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _printf jmp LBB0_4 LBB0_22: ## in Loop: Header=BB0_5 Depth=1 pxor %xmm1, %xmm1 xorl %edi, %edi testb $1, %bl jne LBB0_11 jmp LBB0_12 LBB0_23: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __DATA,__data .globl _meses ## @meses .p2align 4 _meses: .long 0 ## 0x0 .long 31 ## 0x1f .long 29 ## 0x1d .long 31 ## 0x1f .long 30 ## 0x1e .long 31 ## 0x1f .long 30 ## 0x1e .long 31 ## 0x1f .long 31 ## 0x1f .long 30 ## 0x1e .long 31 ## 0x1f .long 30 ## 0x1e .long 31 ## 0x1f .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d %d" L_.str.4: ## @.str.4 .asciz "Faltam %d dias para o natal!\n" L_str: ## @str .asciz "Ja passou!" L_str.5: ## @str.5 .asciz "E natal!" L_str.6: ## @str.6 .asciz "E vespera de natal!" .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 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 add x24, sp, #28 add x25, sp, #24 stp x25, x24, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf cmn w0, #1 b.eq LBB0_19 ; %bb.1: Lloh2: adrp x26, _meses@PAGE Lloh3: add x26, x26, _meses@PAGEOFF Lloh4: adrp x27, _meses@PAGE+36 Lloh5: add x27, x27, _meses@PAGEOFF+36 Lloh6: adrp x19, l_str.5@PAGE Lloh7: add x19, x19, l_str.5@PAGEOFF Lloh8: adrp x20, l_.str@PAGE Lloh9: add x20, x20, l_.str@PAGEOFF Lloh10: adrp x21, l_str.6@PAGE Lloh11: add x21, x21, l_str.6@PAGEOFF Lloh12: adrp x22, l_str@PAGE Lloh13: add x22, x22, l_str@PAGEOFF mov w28, #360 Lloh14: adrp x23, l_.str.4@PAGE Lloh15: add x23, x23, l_.str.4@PAGEOFF b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 bl _puts LBB0_4: ; in Loop: Header=BB0_5 Depth=1 stp x25, x24, [sp] mov x0, x20 bl _scanf cmn w0, #1 b.eq LBB0_19 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ; Child Loop BB0_12 Depth 2 ldp w8, w9, [sp, #24] cmp w8, #2 b.lt LBB0_13 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 sub x11, x8, #1 cmp x11, #16 b.hs LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 mov w10, #1 b LBB0_11 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 and x12, x11, #0xfffffffffffffff0 movi.2d v0, #0000000000000000 mov.s v0[0], w9 orr x10, x12, #0x1 movi.2d v1, #0000000000000000 mov x9, x12 mov x13, x27 movi.2d v2, #0000000000000000 movi.2d v3, #0000000000000000 LBB0_9: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q4, q5, [x13, #-32] ldp q6, q7, [x13], #64 add.4s v0, v4, v0 add.4s v1, v5, v1 add.4s v2, v6, v2 add.4s v3, v7, v3 subs x9, x9, #16 b.ne LBB0_9 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 add.4s v0, v1, v0 add.4s v0, v2, v0 add.4s v0, v3, v0 addv.4s s0, v0 fmov w9, s0 cmp x11, x12 b.eq LBB0_13 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 add x11, x26, x10, lsl #2 sub x8, x8, x10 LBB0_12: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w10, [x11], #4 add w9, w10, w9 subs x8, x8, #1 b.ne LBB0_12 LBB0_13: ; in Loop: Header=BB0_5 Depth=1 cmp w9, #360 b.eq LBB0_2 ; %bb.14: ; in Loop: Header=BB0_5 Depth=1 cmp w9, #359 b.ne LBB0_16 ; %bb.15: ; in Loop: Header=BB0_5 Depth=1 mov x0, x21 b LBB0_3 LBB0_16: ; in Loop: Header=BB0_5 Depth=1 cmp w9, #361 b.lt LBB0_18 ; %bb.17: ; in Loop: Header=BB0_5 Depth=1 mov x0, x22 b LBB0_3 LBB0_18: ; in Loop: Header=BB0_5 Depth=1 sub w8, w28, w9 str x8, [sp] mov x0, x23 bl _printf b LBB0_4 LBB0_19: 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 ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __DATA,__data .globl _meses ; @meses .p2align 2 _meses: .long 0 ; 0x0 .long 31 ; 0x1f .long 29 ; 0x1d .long 31 ; 0x1f .long 30 ; 0x1e .long 31 ; 0x1f .long 30 ; 0x1e .long 31 ; 0x1f .long 31 ; 0x1f .long 30 ; 0x1e .long 31 ; 0x1f .long 30 ; 0x1e .long 31 ; 0x1f .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d %d" l_.str.4: ; @.str.4 .asciz "Faltam %d dias para o natal!\n" l_str: ; @str .asciz "Ja passou!" l_str.5: ; @str.5 .asciz "E natal!" l_str.6: ; @str.6 .asciz "E vespera de natal!" .subsections_via_symbols
the_stack_data/67400.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function do_lock_file_wait _do_lock_file_wait: ## @do_lock_file_wait .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, %r12 movl %esi, %r14d movq %rdi, %r15 movl 8(%rdx), %esi callq _security_file_lock movl %eax, %ebx testl %eax, %eax jne LBB0_6 ## %bb.1: movq _FILE_LOCK_DEFERRED@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl %r14d, %esi movq %r12, %rdx xorl %ecx, %ecx callq _vfs_lock_file cmpl (%r13), %eax jne LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl 4(%r12), %edi xorl %esi, %esi cmpl $0, (%r12) sete %sil callq _wait_event_interruptible testl %eax, %eax je LBB0_2 ## %bb.5: movl %eax, %ebx movq %r12, %rdi callq _locks_delete_block jmp LBB0_6 LBB0_3: movl %eax, %ebx LBB0_6: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FILE_LOCK_DEFERRED,4,2 ## @FILE_LOCK_DEFERRED .no_dead_strip _do_lock_file_wait .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function do_lock_file_wait _do_lock_file_wait: ; @do_lock_file_wait .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, x2 mov x20, x1 mov x21, x0 ldr w1, [x2, #8] bl _security_file_lock mov x22, x0 cbnz w0, LBB0_6 ; %bb.1: Lloh0: adrp x23, _FILE_LOCK_DEFERRED@GOTPAGE Lloh1: ldr x23, [x23, _FILE_LOCK_DEFERRED@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x20 mov x2, x19 mov x3, #0 bl _vfs_lock_file ldr w8, [x23] cmp w0, w8 b.ne LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldp w8, w0, [x19] cmp w8, #0 cset w1, eq bl _wait_event_interruptible cbz w0, LBB0_2 ; %bb.4: mov x22, x0 mov x0, x19 bl _locks_delete_block b LBB0_6 LBB0_5: mov x22, x0 LBB0_6: mov x0, 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 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _FILE_LOCK_DEFERRED,4,2 ; @FILE_LOCK_DEFERRED .no_dead_strip _do_lock_file_wait .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/extr_locks.c_do_lock_file_wait.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ReorderBufferReturnTupleBuf ## -- Begin function ReorderBufferReturnTupleBuf .p2align 4, 0x90 _ReorderBufferReturnTupleBuf: ## @ReorderBufferReturnTupleBuf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rdi popq %rbp jmp _pfree ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ReorderBufferReturnTupleBuf ; -- Begin function ReorderBufferReturnTupleBuf .p2align 2 _ReorderBufferReturnTupleBuf: ; @ReorderBufferReturnTupleBuf .cfi_startproc ; %bb.0: mov x0, x1 b _pfree .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/postgres/src/backend/replication/logical/extr_reorderbuffer.c_ReorderBufferReturnTupleBuf.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SMB2_close ## -- Begin function SMB2_close .p2align 4, 0x90 _SMB2_close: ## @SMB2_close .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 _SMB2_close_flags ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SMB2_close ; -- Begin function SMB2_close .p2align 2 _SMB2_close: ; @SMB2_close .cfi_startproc ; %bb.0: mov w4, #0 b _SMB2_close_flags .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/fs/cifs/extr_smb2pdu.c_SMB2_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bfa_fcs_rpf_init ## -- Begin function bfa_fcs_rpf_init .p2align 4, 0x90 _bfa_fcs_rpf_init: ## @bfa_fcs_rpf_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq 8(%rdi), %r14 movl (%rdi), %esi movl 4(%rdi), %edi callq _bfa_trc movq %rbx, 8(%rbx) movq _bfa_fcs_rpf_sm_uninit@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _bfa_sm_set_state ## TAILCALL .cfi_endproc ## -- End function .comm _bfa_fcs_rpf_sm_uninit,4,2 ## @bfa_fcs_rpf_sm_uninit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bfa_fcs_rpf_init ; -- Begin function bfa_fcs_rpf_init .p2align 2 _bfa_fcs_rpf_init: ; @bfa_fcs_rpf_init .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 add x20, x0, #8 ldr w0, [x0, #4] ldr w1, [x19] bl _bfa_trc str x19, [x19, #8] Lloh0: adrp x8, _bfa_fcs_rpf_sm_uninit@GOTPAGE Lloh1: ldr x8, [x8, _bfa_fcs_rpf_sm_uninit@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _bfa_sm_set_state .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _bfa_fcs_rpf_sm_uninit,4,2 ; @bfa_fcs_rpf_sm_uninit .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_fcs_rport.c_bfa_fcs_rpf_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function regmap_encx24j600_sfr_read _regmap_encx24j600_sfr_read: ## @regmap_encx24j600_sfr_read .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 %rcx, %r14 movq %rdx, %r9 movl %esi, %r12d movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _BANK_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi andl %r12d, %esi movq _BANK_SHIFT@GOTPCREL(%rip), %rax movzbl (%rax), %ecx sarl %cl, %esi cmpl $128, %r12d jg LBB0_5 ## %bb.1: movq _ADDR_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax orl %r12d, %eax movq _RCRCODE@GOTPCREL(%rip), %rcx movl (%rcx), %r13d orl %eax, %r13d xorl %edi, %edi cmpl $21, %eax movq %r9, -64(%rbp) ## 8-byte Spill jg LBB0_4 ## %bb.2: cmpl %esi, (%r15) je LBB0_4 ## %bb.3: movq %r15, %rdi callq _encx24j600_switch_bank movl %eax, %edi LBB0_4: movl %edi, %ebx callq _unlikely movq %rax, %rcx movl %ebx, %eax testq %rcx, %rcx movq -64(%rbp), %r9 ## 8-byte Reload jne LBB0_17 jmp LBB0_14 LBB0_5: leal -129(%r12), %eax cmpl $6, %eax ja LBB0_11 ## %bb.6: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_10: movq _RUDARDPT@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_11: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_17 LBB0_8: movq _RRXRDPT@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_9: movq _RRXWRPT@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_7: movq _RGPWRPT@GOTPCREL(%rip), %rax jmp LBB0_13 LBB0_12: movq _RGPRDPT@GOTPCREL(%rip), %rax LBB0_13: movl (%rax), %r13d LBB0_14: movl %r13d, -56(%rbp) movq _RCRU@GOTPCREL(%rip), %rax movl $-1, %edx cmpl (%rax), %r13d jne LBB0_16 ## %bb.15: movl %r12d, -60(%rbp) xorl %edx, %edx LBB0_16: movl 4(%r15), %edi leaq -56(%rbp), %rsi movq %r9, %rcx movq %r14, %r8 callq _spi_write_then_read LBB0_17: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_19 ## %bb.18: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_19: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_12, LBB0_12-LJTI0_0 LJTI0_0: .long L0_0_set_10 .long L0_0_set_11 .long L0_0_set_9 .long L0_0_set_8 .long L0_0_set_11 .long L0_0_set_7 .long L0_0_set_12 .end_data_region ## -- End function .comm _ADDR_MASK,4,2 ## @ADDR_MASK .comm _BANK_MASK,4,2 ## @BANK_MASK .comm _BANK_SHIFT,4,2 ## @BANK_SHIFT .comm _RCRU,4,2 ## @RCRU .comm _RCRCODE,4,2 ## @RCRCODE .comm _RGPRDPT,4,2 ## @RGPRDPT .comm _RGPWRPT,4,2 ## @RGPWRPT .comm _RRXRDPT,4,2 ## @RRXRDPT .comm _RRXWRPT,4,2 ## @RRXWRPT .comm _RUDARDPT,4,2 ## @RUDARDPT .comm _RUDAWRPT,4,2 ## @RUDAWRPT .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _regmap_encx24j600_sfr_read .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function regmap_encx24j600_sfr_read _regmap_encx24j600_sfr_read: ; @regmap_encx24j600_sfr_read .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 mov x19, x3 mov x20, x2 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #8] cmp w1, #128 b.gt LBB0_4 ; %bb.1: Lloh3: adrp x8, _ADDR_MASK@GOTPAGE Lloh4: ldr x8, [x8, _ADDR_MASK@GOTPAGEOFF] Lloh5: ldr w8, [x8] orr w22, w8, w1 Lloh6: adrp x8, _RCRCODE@GOTPAGE Lloh7: ldr x8, [x8, _RCRCODE@GOTPAGEOFF] Lloh8: ldr w23, [x8] cmp w22, #21 b.gt LBB0_9 ; %bb.2: Lloh9: adrp x8, _BANK_MASK@GOTPAGE Lloh10: ldr x8, [x8, _BANK_MASK@GOTPAGEOFF] Lloh11: ldr w8, [x8] mov x24, x1 and w8, w8, w1 Lloh12: adrp x9, _BANK_SHIFT@GOTPAGE Lloh13: ldr x9, [x9, _BANK_SHIFT@GOTPAGEOFF] Lloh14: ldr w9, [x9] asr w1, w8, w9 ldr w8, [x0] cmp w8, w1 b.eq LBB0_10 ; %bb.3: mov x25, x0 bl _encx24j600_switch_bank mov x21, x0 b LBB0_11 LBB0_4: cmp w1, #131 b.le LBB0_13 ; %bb.5: cmp w1, #132 b.eq LBB0_16 ; %bb.6: cmp w1, #134 b.eq LBB0_17 ; %bb.7: cmp w1, #135 b.ne LBB0_26 ; %bb.8: Lloh15: adrp x8, _RGPRDPT@GOTPAGE Lloh16: ldr x8, [x8, _RGPRDPT@GOTPAGEOFF] b LBB0_19 LBB0_9: mov x24, x1 LBB0_10: mov x25, x0 mov w21, #0 ; =0x0 LBB0_11: mov x0, x21 bl _unlikely mov x8, x0 mov x0, x21 cbnz x8, LBB0_24 ; %bb.12: orr w8, w23, w22 mov x0, x25 mov x1, x24 b LBB0_20 LBB0_13: cmp w1, #129 b.eq LBB0_18 ; %bb.14: cmp w1, #131 b.ne LBB0_26 ; %bb.15: Lloh17: adrp x8, _RRXWRPT@GOTPAGE Lloh18: ldr x8, [x8, _RRXWRPT@GOTPAGEOFF] b LBB0_19 LBB0_16: Lloh19: adrp x8, _RRXRDPT@GOTPAGE Lloh20: ldr x8, [x8, _RRXRDPT@GOTPAGEOFF] b LBB0_19 LBB0_17: Lloh21: adrp x8, _RGPWRPT@GOTPAGE Lloh22: ldr x8, [x8, _RGPWRPT@GOTPAGEOFF] b LBB0_19 LBB0_18: Lloh23: adrp x8, _RUDARDPT@GOTPAGE Lloh24: ldr x8, [x8, _RUDARDPT@GOTPAGEOFF] LBB0_19: ldr w8, [x8] LBB0_20: str w8, [sp] Lloh25: adrp x9, _RCRU@GOTPAGE Lloh26: ldr x9, [x9, _RCRU@GOTPAGEOFF] Lloh27: ldr w9, [x9] cmp w8, w9 b.ne LBB0_22 ; %bb.21: mov w2, #0 ; =0x0 stur w1, [sp, #-4] b LBB0_23 LBB0_22: mov w2, #-1 ; =0xffffffff LBB0_23: ldr w0, [x0, #4] mov x1, sp mov x3, x20 mov x4, x19 bl _spi_write_then_read LBB0_24: ldr x8, [sp, #8] Lloh28: adrp x9, ___stack_chk_guard@GOTPAGE Lloh29: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh30: ldr x9, [x9] cmp x9, x8 b.ne LBB0_27 ; %bb.25: 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_26: Lloh31: adrp x8, _EINVAL@GOTPAGE Lloh32: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh33: ldr w8, [x8] neg w0, w8 b LBB0_24 LBB0_27: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .cfi_endproc ; -- End function .comm _ADDR_MASK,4,2 ; @ADDR_MASK .comm _BANK_MASK,4,2 ; @BANK_MASK .comm _BANK_SHIFT,4,2 ; @BANK_SHIFT .comm _RCRU,4,2 ; @RCRU .comm _RCRCODE,4,2 ; @RCRCODE .comm _RGPRDPT,4,2 ; @RGPRDPT .comm _RGPWRPT,4,2 ; @RGPWRPT .comm _RRXRDPT,4,2 ; @RRXRDPT .comm _RRXWRPT,4,2 ; @RRXWRPT .comm _RUDARDPT,4,2 ; @RUDARDPT .comm _RUDAWRPT,4,2 ; @RUDAWRPT .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _regmap_encx24j600_sfr_read .subsections_via_symbols
assembly_file_130895.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function skip_same_name _skip_same_name: ## @skip_same_name .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, %r14 movslq %esi, %rcx incq %rcx movq _active_nr@GOTPCREL(%rip), %r15 movq _active_cache@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rbx movslq (%r15), %rax cmpq %rax, %rcx jge LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq (%r12), %rax movq (%rax,%rbx,8), %rax movl (%rax), %edi movl (%r14), %esi callq _strcmp leaq 1(%rbx), %rcx testl %eax, %eax je LBB0_1 LBB0_3: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _active_nr,4,2 ## @active_nr .comm _active_cache,8,3 ## @active_cache .no_dead_strip _skip_same_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function skip_same_name _skip_same_name: ; @skip_same_name .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 ; kill: def $w1 killed $w1 def $x1 mov x19, x0 sxtw x8, w1 add x8, x8, #1 Lloh0: adrp x21, _active_nr@GOTPAGE Lloh1: ldr x21, [x21, _active_nr@GOTPAGEOFF] Lloh2: adrp x22, _active_cache@GOTPAGE Lloh3: ldr x22, [x22, _active_cache@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x20, x8 ldrsw x8, [x21] cmp x20, x8 b.ge LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [x22] ldr x8, [x8, x20, lsl #3] ldr w0, [x8] ldr w1, [x19] bl _strcmp add x8, x20, #1 cbz w0, LBB0_1 LBB0_3: 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _active_nr,4,2 ; @active_nr .comm _active_cache,8,3 ; @active_cache .no_dead_strip _skip_same_name .subsections_via_symbols
AnghaBench/git/builtin/extr_checkout.c_skip_same_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vec2_dot _vec2_dot: ## @vec2_dot .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movss 4(%rdi), %xmm1 ## xmm1 = mem[0],zero,zero,zero mulss 4(%rsi), %xmm1 movss (%rdi), %xmm0 ## xmm0 = mem[0],zero,zero,zero mulss (%rsi), %xmm0 addss %xmm1, %xmm0 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _vec2_dot .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vec2_dot _vec2_dot: ; @vec2_dot .cfi_startproc ; %bb.0: ldp s0, s1, [x0] ldp s2, s3, [x1] fmul s1, s1, s3 fmadd s0, s0, s2, s1 ret .cfi_endproc ; -- End function .no_dead_strip _vec2_dot .subsections_via_symbols
AnghaBench/obs-studio/libobs/audio-monitoring/osx/extr_....graphicsvec2.h_vec2_dot.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function prog_cb _prog_cb: ## @prog_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movaps %xmm0, %xmm2 movl (%rdi), %esi leaq L_.str(%rip), %rdi movaps %xmm1, %xmm0 movaps %xmm2, %xmm1 callq _MSG_OUT xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Progress: %s (%g/%g)\n" .no_dead_strip _prog_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function prog_cb _prog_cb: ; @prog_cb .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 fmov d2, d0 ldr w1, [x0] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF fmov d0, d1 fmov d1, d2 bl _MSG_OUT mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Progress: %s (%g/%g)\n" .no_dead_strip _prog_cb .subsections_via_symbols
AnghaBench/curl/docs/examples/extr_ghiper.c_prog_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ext4_xattr_inode_fetch _ext4_xattr_inode_fetch: ## @ext4_xattr_inode_fetch .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 movq 8(%rdi), %rdi callq _EXT4_XATTR_IHDR movq %rax, %rdi callq _EXT4_XATTR_IFIRST movq %rax, %r14 movq %rax, %rdi callq _EXT4_XATTR_IS_LAST_ENTRY movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB0_12 ## %bb.1: movq _TRUE@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _EXT4_XATTR_NAME movq %rax, %r15 movl (%r13), %edx movq %rbx, %rdi movq %r14, %rsi callq _ext4_xattr_entry_data testq %rax, %rax je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r12 movl 16(%r14), %edi movq 8(%r14), %rdx movq %r15, %rsi callq _ext4_xattr_item_alloc testq %rax, %rax je LBB0_10 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r15 movl (%r14), %edi callq _le32_to_cpu movq %r15, %rdi movq %r12, %rsi movl %eax, %edx callq _ext4_xattr_item_alloc_data testq %rax, %rax jne LBB0_9 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl (%r13), %eax movl %eax, 12(%r15) movq %rbx, %rdi movq %r15, %rsi callq _ext4_xattr_item_insert movl 8(%r15), %edi callq _EXT4_XATTR_SIZE movq %rax, %r12 movq (%r15), %rdi callq _EXT4_XATTR_LEN addl %r12d, %eax subl %eax, 4(%rbx) movl 8(%r15), %edi callq _EXT4_XATTR_SIZE movq %rax, %r12 movq (%r15), %rdi callq _EXT4_XATTR_LEN addl %r12d, %eax addl %eax, (%rbx) movq %r14, %rdi callq _EXT4_XATTR_NEXT movq %rax, %r14 movq 8(%rax), %rdi callq _EXT4_XATTR_LEN movq %r14, %rdi callq _EXT4_XATTR_IS_LAST_ENTRY testl %eax, %eax je LBB0_2 ## %bb.6: xorl %eax, %eax jmp LBB0_12 LBB0_7: movq _EIO@GOTPCREL(%rip), %rcx jmp LBB0_11 LBB0_9: movq %r15, %rdi callq _ext4_xattr_item_free LBB0_10: movq _ENOMEM@GOTPCREL(%rip), %rcx LBB0_11: xorl %eax, %eax subl (%rcx), %eax LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EXT4_GOOD_OLD_INODE_SIZE,4,2 ## @EXT4_GOOD_OLD_INODE_SIZE .comm _TRUE,4,2 ## @TRUE .comm _EIO,4,2 ## @EIO .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _ext4_xattr_inode_fetch .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ext4_xattr_inode_fetch _ext4_xattr_inode_fetch: ; @ext4_xattr_inode_fetch .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill 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, x0 ldr x0, [x0, #8] bl _EXT4_XATTR_IHDR bl _EXT4_XATTR_IFIRST mov x20, x0 bl _EXT4_XATTR_IS_LAST_ENTRY cbz w0, LBB0_2 LBB0_1: mov w0, #0 ; =0x0 b LBB0_11 LBB0_2: Lloh0: adrp x23, _TRUE@GOTPAGE Lloh1: ldr x23, [x23, _TRUE@GOTPAGEOFF] LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _EXT4_XATTR_NAME mov x21, x0 ldr w2, [x23] mov x0, x19 mov x1, x20 bl _ext4_xattr_entry_data cbz x0, LBB0_7 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x22, x0 ldr w0, [x20, #16] ldr x2, [x20, #8] mov x1, x21 bl _ext4_xattr_item_alloc cbz x0, LBB0_9 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov x21, x0 ldr w0, [x20] bl _le32_to_cpu mov x2, x0 mov x0, x21 mov x1, x22 bl _ext4_xattr_item_alloc_data cbnz x0, LBB0_8 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x23] str w8, [x21, #12] mov x0, x19 mov x1, x21 bl _ext4_xattr_item_insert ldr w0, [x21, #8] bl _EXT4_XATTR_SIZE mov x22, x0 ldr x0, [x21] bl _EXT4_XATTR_LEN ldr w8, [x19, #4] add w9, w0, w22 sub w8, w8, w9 str w8, [x19, #4] ldr w0, [x21, #8] bl _EXT4_XATTR_SIZE mov x22, x0 ldr x0, [x21] bl _EXT4_XATTR_LEN ldr w8, [x19] add w9, w0, w22 add w8, w8, w9 str w8, [x19] mov x0, x20 bl _EXT4_XATTR_NEXT mov x20, x0 ldr x0, [x0, #8] bl _EXT4_XATTR_LEN mov x0, x20 bl _EXT4_XATTR_IS_LAST_ENTRY cbz w0, LBB0_3 b LBB0_1 LBB0_7: Lloh2: adrp x8, _EIO@GOTPAGE Lloh3: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_10 LBB0_8: mov x0, x21 bl _ext4_xattr_item_free LBB0_9: Lloh4: adrp x8, _ENOMEM@GOTPAGE Lloh5: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_10: ldr w8, [x8] neg w0, w8 LBB0_11: 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 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _EXT4_GOOD_OLD_INODE_SIZE,4,2 ; @EXT4_GOOD_OLD_INODE_SIZE .comm _TRUE,4,2 ; @TRUE .comm _EIO,4,2 ; @EIO .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _ext4_xattr_inode_fetch .subsections_via_symbols
assembly_file_18824.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtw_secgetmic ## -- Begin function rtw_secgetmic .p2align 4, 0x90 _rtw_secgetmic: ## @rtw_secgetmic .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 $90, %esi callq _rtw_secmicappendbyte movq %rbx, %rdi xorl %esi, %esi callq _rtw_secmicappendbyte movq %rbx, %rdi xorl %esi, %esi callq _rtw_secmicappendbyte movq %rbx, %rdi xorl %esi, %esi callq _rtw_secmicappendbyte .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi xorl %esi, %esi callq _rtw_secmicappendbyte cmpq $0, (%rbx) jne LBB0_1 ## %bb.2: movl 12(%rbx), %esi movq %r14, %rdi callq _secmicputuint32 addq $16, %r14 movl 8(%rbx), %esi movq %r14, %rdi callq _secmicputuint32 movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _secmicclear ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rtw_secgetmic ; -- Begin function rtw_secgetmic .p2align 2 _rtw_secgetmic: ; @rtw_secgetmic .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 mov w1, #90 bl _rtw_secmicappendbyte mov x0, x19 mov w1, #0 bl _rtw_secmicappendbyte mov x0, x19 mov w1, #0 bl _rtw_secmicappendbyte mov x0, x19 mov w1, #0 bl _rtw_secmicappendbyte LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov w1, #0 bl _rtw_secmicappendbyte ldr x8, [x19] cbnz x8, LBB0_1 ; %bb.2: ldr w1, [x19, #12] mov x0, x20 bl _secmicputuint32 add x0, x20, #16 ldr w1, [x19, #8] bl _secmicputuint32 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _secmicclear .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/staging/rtl8188eu/core/extr_rtw_security.c_rtw_secgetmic.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.32(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf leaq L_.str.33(%rip), %rdi leaq -12(%rbp), %rsi xorl %eax, %eax callq _scanf leaq l___const.main.country_codes+56(%rip), %rax movl -12(%rbp), %ecx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl -48(%rax), %ecx je LBB0_8 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl -32(%rax), %ecx je LBB0_6 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 cmpl -16(%rax), %ecx je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 cmpl (%rax), %ecx je LBB0_5 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 addq $4, %rbx addq $64, %rax cmpq $32, %rbx jne LBB0_1 ## %bb.10: leaq L_str(%rip), %rdi callq _puts movl $1, %ebx jmp LBB0_11 LBB0_6: incq %rbx jmp LBB0_8 LBB0_7: addq $2, %rbx jmp LBB0_8 LBB0_5: addq $3, %rbx LBB0_8: movl %ebx, %eax shlq $4, %rax leaq l___const.main.country_codes(%rip), %rcx movq (%rax,%rcx), %rsi leaq L_.str.34(%rip), %rdi xorl %ebx, %ebx xorl %eax, %eax callq _printf LBB0_11: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Argentina" L_.str.1: ## @.str.1 .asciz "Bangladesh" L_.str.2: ## @.str.2 .asciz "Brazil" L_.str.3: ## @.str.3 .asciz "Burma (Myanmar)" L_.str.4: ## @.str.4 .asciz "China" L_.str.5: ## @.str.5 .asciz "Colombia" L_.str.6: ## @.str.6 .asciz "Congo, Dem. Rep. of" L_.str.7: ## @.str.7 .asciz "Egypt" L_.str.8: ## @.str.8 .asciz "Ethiopia" L_.str.9: ## @.str.9 .asciz "France" L_.str.10: ## @.str.10 .asciz "Germany" L_.str.11: ## @.str.11 .asciz "India" L_.str.12: ## @.str.12 .asciz "Indonesia" L_.str.13: ## @.str.13 .asciz "Iran" L_.str.14: ## @.str.14 .asciz "Italy" L_.str.15: ## @.str.15 .asciz "Japan" L_.str.16: ## @.str.16 .asciz "Mexico" L_.str.17: ## @.str.17 .asciz "Nigeria" L_.str.18: ## @.str.18 .asciz "Pakistan" L_.str.19: ## @.str.19 .asciz "Philippines" L_.str.20: ## @.str.20 .asciz "Poland" L_.str.21: ## @.str.21 .asciz "Russia" L_.str.22: ## @.str.22 .asciz "South Africa" L_.str.23: ## @.str.23 .asciz "South Korea" L_.str.24: ## @.str.24 .asciz "Spain" L_.str.25: ## @.str.25 .asciz "Sudan" L_.str.26: ## @.str.26 .asciz "Thailand" L_.str.27: ## @.str.27 .asciz "Turkey" L_.str.28: ## @.str.28 .asciz "Ukraine" L_.str.29: ## @.str.29 .asciz "United Kingdom" L_.str.30: ## @.str.30 .asciz "United States" L_.str.31: ## @.str.31 .asciz "Vietnam" .section __DATA,__const .p2align 4 ## @__const.main.country_codes l___const.main.country_codes: .quad L_.str .long 54 ## 0x36 .space 4 .quad L_.str.1 .long 880 ## 0x370 .space 4 .quad L_.str.2 .long 55 ## 0x37 .space 4 .quad L_.str.3 .long 95 ## 0x5f .space 4 .quad L_.str.4 .long 86 ## 0x56 .space 4 .quad L_.str.5 .long 57 ## 0x39 .space 4 .quad L_.str.6 .long 243 ## 0xf3 .space 4 .quad L_.str.7 .long 20 ## 0x14 .space 4 .quad L_.str.8 .long 251 ## 0xfb .space 4 .quad L_.str.9 .long 33 ## 0x21 .space 4 .quad L_.str.10 .long 49 ## 0x31 .space 4 .quad L_.str.11 .long 91 ## 0x5b .space 4 .quad L_.str.12 .long 62 ## 0x3e .space 4 .quad L_.str.13 .long 98 ## 0x62 .space 4 .quad L_.str.14 .long 39 ## 0x27 .space 4 .quad L_.str.15 .long 81 ## 0x51 .space 4 .quad L_.str.16 .long 52 ## 0x34 .space 4 .quad L_.str.17 .long 234 ## 0xea .space 4 .quad L_.str.18 .long 92 ## 0x5c .space 4 .quad L_.str.19 .long 63 ## 0x3f .space 4 .quad L_.str.20 .long 48 ## 0x30 .space 4 .quad L_.str.21 .long 7 ## 0x7 .space 4 .quad L_.str.22 .long 27 ## 0x1b .space 4 .quad L_.str.23 .long 82 ## 0x52 .space 4 .quad L_.str.24 .long 34 ## 0x22 .space 4 .quad L_.str.25 .long 249 ## 0xf9 .space 4 .quad L_.str.26 .long 66 ## 0x42 .space 4 .quad L_.str.27 .long 90 ## 0x5a .space 4 .quad L_.str.28 .long 380 ## 0x17c .space 4 .quad L_.str.29 .long 44 ## 0x2c .space 4 .quad L_.str.30 .long 1 ## 0x1 .space 4 .quad L_.str.31 .long 84 ## 0x54 .space 4 .section __TEXT,__cstring,cstring_literals L_.str.32: ## @.str.32 .asciz "Enter a dialing code and you shall receive the country name: " L_.str.33: ## @.str.33 .asciz "%d" L_.str.34: ## @.str.34 .asciz "The country is %s\n" L_str: ## @str .asciz "This code is invalid." .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.32@PAGE Lloh1: add x0, x0, l_.str.32@PAGEOFF bl _printf sub x8, x29, #4 str x8, [sp] Lloh2: adrp x0, l_.str.33@PAGE Lloh3: add x0, x0, l_.str.33@PAGEOFF bl _scanf mov x8, #0 ldur w10, [x29, #-4] Lloh4: adrp x9, l___const.main.country_codes@PAGE Lloh5: add x9, x9, l___const.main.country_codes@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 add x11, x9, x8 ldr w11, [x11, #8] cmp w10, w11 b.eq LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 add x8, x8, #16 cmp x8, #512 b.ne LBB0_1 ; %bb.3: Lloh6: adrp x0, l_str@PAGE Lloh7: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #1 b LBB0_5 LBB0_4: ldr x8, [x9, x8] str x8, [sp] Lloh8: adrp x0, l_.str.34@PAGE Lloh9: add x0, x0, l_.str.34@PAGEOFF bl _printf mov w0, #0 LBB0_5: 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 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Argentina" l_.str.1: ; @.str.1 .asciz "Bangladesh" l_.str.2: ; @.str.2 .asciz "Brazil" l_.str.3: ; @.str.3 .asciz "Burma (Myanmar)" l_.str.4: ; @.str.4 .asciz "China" l_.str.5: ; @.str.5 .asciz "Colombia" l_.str.6: ; @.str.6 .asciz "Congo, Dem. Rep. of" l_.str.7: ; @.str.7 .asciz "Egypt" l_.str.8: ; @.str.8 .asciz "Ethiopia" l_.str.9: ; @.str.9 .asciz "France" l_.str.10: ; @.str.10 .asciz "Germany" l_.str.11: ; @.str.11 .asciz "India" l_.str.12: ; @.str.12 .asciz "Indonesia" l_.str.13: ; @.str.13 .asciz "Iran" l_.str.14: ; @.str.14 .asciz "Italy" l_.str.15: ; @.str.15 .asciz "Japan" l_.str.16: ; @.str.16 .asciz "Mexico" l_.str.17: ; @.str.17 .asciz "Nigeria" l_.str.18: ; @.str.18 .asciz "Pakistan" l_.str.19: ; @.str.19 .asciz "Philippines" l_.str.20: ; @.str.20 .asciz "Poland" l_.str.21: ; @.str.21 .asciz "Russia" l_.str.22: ; @.str.22 .asciz "South Africa" l_.str.23: ; @.str.23 .asciz "South Korea" l_.str.24: ; @.str.24 .asciz "Spain" l_.str.25: ; @.str.25 .asciz "Sudan" l_.str.26: ; @.str.26 .asciz "Thailand" l_.str.27: ; @.str.27 .asciz "Turkey" l_.str.28: ; @.str.28 .asciz "Ukraine" l_.str.29: ; @.str.29 .asciz "United Kingdom" l_.str.30: ; @.str.30 .asciz "United States" l_.str.31: ; @.str.31 .asciz "Vietnam" .section __DATA,__const .p2align 3 ; @__const.main.country_codes l___const.main.country_codes: .quad l_.str .long 54 ; 0x36 .space 4 .quad l_.str.1 .long 880 ; 0x370 .space 4 .quad l_.str.2 .long 55 ; 0x37 .space 4 .quad l_.str.3 .long 95 ; 0x5f .space 4 .quad l_.str.4 .long 86 ; 0x56 .space 4 .quad l_.str.5 .long 57 ; 0x39 .space 4 .quad l_.str.6 .long 243 ; 0xf3 .space 4 .quad l_.str.7 .long 20 ; 0x14 .space 4 .quad l_.str.8 .long 251 ; 0xfb .space 4 .quad l_.str.9 .long 33 ; 0x21 .space 4 .quad l_.str.10 .long 49 ; 0x31 .space 4 .quad l_.str.11 .long 91 ; 0x5b .space 4 .quad l_.str.12 .long 62 ; 0x3e .space 4 .quad l_.str.13 .long 98 ; 0x62 .space 4 .quad l_.str.14 .long 39 ; 0x27 .space 4 .quad l_.str.15 .long 81 ; 0x51 .space 4 .quad l_.str.16 .long 52 ; 0x34 .space 4 .quad l_.str.17 .long 234 ; 0xea .space 4 .quad l_.str.18 .long 92 ; 0x5c .space 4 .quad l_.str.19 .long 63 ; 0x3f .space 4 .quad l_.str.20 .long 48 ; 0x30 .space 4 .quad l_.str.21 .long 7 ; 0x7 .space 4 .quad l_.str.22 .long 27 ; 0x1b .space 4 .quad l_.str.23 .long 82 ; 0x52 .space 4 .quad l_.str.24 .long 34 ; 0x22 .space 4 .quad l_.str.25 .long 249 ; 0xf9 .space 4 .quad l_.str.26 .long 66 ; 0x42 .space 4 .quad l_.str.27 .long 90 ; 0x5a .space 4 .quad l_.str.28 .long 380 ; 0x17c .space 4 .quad l_.str.29 .long 44 ; 0x2c .space 4 .quad l_.str.30 .long 1 ; 0x1 .space 4 .quad l_.str.31 .long 84 ; 0x54 .space 4 .section __TEXT,__cstring,cstring_literals l_.str.32: ; @.str.32 .asciz "Enter a dialing code and you shall receive the country name: " l_.str.33: ; @.str.33 .asciz "%d" l_.str.34: ; @.str.34 .asciz "The country is %s\n" l_str: ; @str .asciz "This code is invalid." .subsections_via_symbols
the_stack_data/123313.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rpza_decode_frame _rpza_decode_frame: ## @rpza_decode_frame .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 %rcx, %r12 movq %rdx, %r14 movq %rsi, %r15 movq (%rdi), %rbx leaq 4(%rbx), %rdi movl (%rcx), %edx movl 4(%rcx), %esi callq _bytestream2_init movq %rbx, %rdi callq _rpza_decode_stream testl %eax, %eax js LBB0_3 ## %bb.1: movl (%rbx), %esi movq %r15, %rdi callq _av_frame_ref testl %eax, %eax js LBB0_3 ## %bb.2: movl $1, (%r14) movl (%r12), %eax LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _rpza_decode_frame .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rpza_decode_frame _rpza_decode_frame: ; @rpza_decode_frame .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 x19, x3 mov x20, x2 mov x21, x1 ldr x22, [x0] add x0, x22, #4 ldp w2, w1, [x3] bl _bytestream2_init mov x0, x22 bl _rpza_decode_stream tbnz w0, #31, LBB0_3 ; %bb.1: ldr w1, [x22] mov x0, x21 bl _av_frame_ref tbnz w0, #31, LBB0_3 ; %bb.2: mov w8, #1 str w8, [x20] ldr w0, [x19] LBB0_3: 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 _rpza_decode_frame .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/extr_rpza.c_rpza_decode_frame.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ZSTDMT_freeBufferPool _ZSTDMT_freeBufferPool: ## @ZSTDMT_freeBufferPool .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 %rdi, %r15 leaq L_.str(%rip), %rsi movl $3, %edi movl %r15d, %edx xorl %eax, %eax callq _DEBUGLOG testq %r15, %r15 je LBB0_5 ## %bb.1: cmpl $0, (%r15) je LBB0_4 ## %bb.2: leaq L_.str.1(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 16(%r15), %rax movl (%rax,%rbx,8), %ecx movl $4, %edi movq %r14, %rsi movl %ebx, %edx xorl %eax, %eax callq _DEBUGLOG movq 16(%r15), %rax movq (%rax,%rbx,8), %rdi movl 4(%r15), %esi callq _ZSTD_free incq %rbx movl (%r15), %eax cmpq %rax, %rbx jb LBB0_3 LBB0_4: leaq 8(%r15), %rdi callq _ZSTD_pthread_mutex_destroy movl 4(%r15), %esi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _ZSTD_free ## TAILCALL LBB0_5: 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 "ZSTDMT_freeBufferPool (address:%08X)" L_.str.1: ## @.str.1 .asciz "free buffer %2u (address:%08X)" .no_dead_strip _ZSTDMT_freeBufferPool .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ZSTDMT_freeBufferPool _ZSTDMT_freeBufferPool: ; @ZSTDMT_freeBufferPool .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, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #3 mov x2, x19 bl _DEBUGLOG cbz x19, LBB0_5 ; %bb.1: ldr w8, [x19] cbz w8, LBB0_4 ; %bb.2: mov x20, #0 Lloh2: adrp x21, l_.str.1@PAGE Lloh3: add x21, x21, l_.str.1@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #16] lsl x22, x20, #3 ldr x8, [x8, x22] str x8, [sp] mov w0, #4 mov x1, x21 mov x2, x20 bl _DEBUGLOG ldr x8, [x19, #16] ldr x0, [x8, x22] ldr w1, [x19, #4] bl _ZSTD_free add x20, x20, #1 ldr w8, [x19] cmp x20, x8 b.lo LBB0_3 LBB0_4: add x0, x19, #8 bl _ZSTD_pthread_mutex_destroy ldr w1, [x19, #4] mov x0, 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 add sp, sp, #64 b _ZSTD_free LBB0_5: 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 "ZSTDMT_freeBufferPool (address:%08X)" l_.str.1: ; @.str.1 .asciz "free buffer %2u (address:%08X)" .no_dead_strip _ZSTDMT_freeBufferPool .subsections_via_symbols
AnghaBench/zstd/lib/compress/extr_zstdmt_compress.c_ZSTDMT_freeBufferPool.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function asus_als_switch _asus_als_switch: ## @asus_als_switch .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 cmpq $0, 8(%rdi) je LBB0_3 ## %bb.1: movq _PEGA_ALS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _asus_pega_lucid_set testl %eax, %eax jne LBB0_5 ## %bb.2: movq _PEGA_ALS_POWER@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _asus_pega_lucid_set testl %eax, %eax jne LBB0_5 jmp LBB0_6 LBB0_3: movl 4(%rbx), %edi movq _METHOD_ALS_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r14d, %edx callq _write_acpi_int testl %eax, %eax je LBB0_6 LBB0_5: leaq L_.str(%rip), %rdi callq _pr_warning LBB0_6: movl %r14d, (%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _PEGA_ALS,4,2 ## @PEGA_ALS .comm _PEGA_ALS_POWER,4,2 ## @PEGA_ALS_POWER .comm _METHOD_ALS_CONTROL,4,2 ## @METHOD_ALS_CONTROL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Error setting light sensor switch\n" .no_dead_strip _asus_als_switch .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function asus_als_switch _asus_als_switch: ; @asus_als_switch .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 x8, [x0, #8] cbz x8, LBB0_3 ; %bb.1: Lloh0: adrp x8, _PEGA_ALS@GOTPAGE Lloh1: ldr x8, [x8, _PEGA_ALS@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x20 mov x2, x19 bl _asus_pega_lucid_set cbnz w0, LBB0_4 ; %bb.2: Lloh3: adrp x8, _PEGA_ALS_POWER@GOTPAGE Lloh4: ldr x8, [x8, _PEGA_ALS_POWER@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x20 mov x2, x19 bl _asus_pega_lucid_set cbnz w0, LBB0_4 b LBB0_5 LBB0_3: ldr w0, [x20, #4] Lloh6: adrp x8, _METHOD_ALS_CONTROL@GOTPAGE Lloh7: ldr x8, [x8, _METHOD_ALS_CONTROL@GOTPAGEOFF] Lloh8: ldr w1, [x8] mov x2, x19 bl _write_acpi_int cbz w0, LBB0_5 LBB0_4: Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF bl _pr_warning LBB0_5: str w19, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _PEGA_ALS,4,2 ; @PEGA_ALS .comm _PEGA_ALS_POWER,4,2 ; @PEGA_ALS_POWER .comm _METHOD_ALS_CONTROL,4,2 ; @METHOD_ALS_CONTROL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Error setting light sensor switch\n" .no_dead_strip _asus_als_switch .subsections_via_symbols
AnghaBench/linux/drivers/platform/x86/extr_asus-laptop.c_asus_als_switch.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function kputc _kputc: ## @kputc .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 movl %edi, %ebx movl (%rsi), %edi leal 1(%rdi), %eax cmpl 4(%rsi), %eax jge LBB0_2 ## %bb.1: movq 8(%r14), %rax jmp LBB0_3 LBB0_2: addl $2, %edi movl %edi, 4(%r14) ## kill: def $edi killed $edi killed $rdi callq _kroundup32 movq 8(%r14), %rdi movl 4(%r14), %esi callq _realloc movq %rax, 8(%r14) movl (%r14), %edi LBB0_3: leal -1(%rdi), %ecx movl %ecx, (%r14) movslq %edi, %rcx movb %bl, (%rax,%rcx) movq 8(%r14), %rax movslq (%r14), %rcx movb $0, (%rax,%rcx) movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _kputc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function kputc _kputc: ; @kputc .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, x1 ldp w9, w8, [x1] add w10, w9, #1 cmp w10, w8 b.ge LBB0_2 ; %bb.1: ldr x8, [x19, #8] b LBB0_3 LBB0_2: add w8, w9, #2 str w8, [x19, #4] mov x20, x0 mov x0, x8 bl _kroundup32 ldr x0, [x19, #8] ldr w1, [x19, #4] bl _realloc mov x8, x0 mov x0, x20 str x8, [x19, #8] ldr w9, [x19] LBB0_3: sub w10, w9, #1 str w10, [x19] strb w0, [x8, w9, sxtw] ldr x8, [x19, #8] ldrsw x9, [x19] strb wzr, [x8, x9] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _kputc .subsections_via_symbols
assembly_file_49129.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lock_impl_init _lock_impl_init: ## @lock_impl_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $0, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _lock_impl_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lock_impl_init _lock_impl_init: ; @lock_impl_init .cfi_startproc ; %bb.0: str wzr, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _lock_impl_init .subsections_via_symbols
AnghaBench/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/extr_locks.h_lock_impl_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Add_Terminal_To_List ## -- Begin function Add_Terminal_To_List .p2align 4, 0x90 _Add_Terminal_To_List: ## @Add_Terminal_To_List .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 %ecx, %r15d movl %edi, %r14d movslq %edx, %rax imulq $100, %rax, %rbx addq %rsi, %rbx movq %rbx, %rdi callq _strlen cmpb $35, %r14b jne LBB0_2 ## %bb.1: cmpl $1, %r15d je LBB0_7 LBB0_2: testl %eax, %eax jle LBB0_6 ## %bb.3: movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpb %r14b, (%rbx,%rdx) je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_5 Depth=1 incq %rdx cmpq %rdx, %rcx jne LBB0_5 LBB0_6: cltq movb %r14b, (%rax,%rbx) incl %eax cltq movb $0, (%rax,%rbx) LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _AddProductionsToList ## -- Begin function AddProductionsToList .p2align 4, 0x90 _AddProductionsToList: ## @AddProductionsToList .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, %r15 movl %edi, %r14d movq %rsi, %rdi callq _strlen testl %eax, %eax jle LBB1_1 ## %bb.2: movslq %r14d, %rcx movl %eax, %r8d xorl %edx, %edx imulq $10000, %rcx, %r9 ## imm = 0x2710 addq _Productions_List@GOTPCREL(%rip), %r9 xorl %eax, %eax xorl %edi, %edi jmp LBB1_3 .p2align 4, 0x90 LBB1_5: ## in Loop: Header=BB1_3 Depth=1 movb %bl, (%rcx) incl %edi LBB1_6: ## in Loop: Header=BB1_3 Depth=1 incq %rdx cmpq %rdx, %r8 je LBB1_7 LBB1_3: ## =>This Inner Loop Header: Depth=1 movzbl (%r15,%rdx), %ebx movslq %eax, %rcx movslq %edi, %rsi imulq $100, %rcx, %rcx addq %r9, %rcx addq %rsi, %rcx cmpb $124, %bl jne LBB1_5 ## %bb.4: ## in Loop: Header=BB1_3 Depth=1 movb $0, (%rcx) incl %eax xorl %edi, %edi jmp LBB1_6 LBB1_1: xorl %eax, %eax LBB1_7: incl %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _DisplayTransitions ## -- Begin function DisplayTransitions .p2align 4, 0x90 _DisplayTransitions: ## @DisplayTransitions .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, -64(%rbp) ## 8-byte Spill testl %edx, %edx jle LBB2_9 ## %bb.1: movq %rsi, %rbx movq _Productions_List@GOTPCREL(%rip), %rax incq %rax movq %rax, -48(%rbp) ## 8-byte Spill movl %edx, %eax movq %rax, -56(%rbp) ## 8-byte Spill xorl %r13d, %r13d jmp LBB2_2 .p2align 4, 0x90 LBB2_8: ## in Loop: Header=BB2_2 Depth=1 incq %r13 addq $10000, -48(%rbp) ## 8-byte Folded Spill ## imm = 0x2710 cmpq -56(%rbp), %r13 ## 8-byte Folded Reload je LBB2_9 LBB2_2: ## =>This Loop Header: Depth=1 ## Child Loop BB2_4 Depth 2 ## Child Loop BB2_6 Depth 3 cmpl $0, (%rbx,%r13,4) jle LBB2_8 ## %bb.3: ## in Loop: Header=BB2_2 Depth=1 movq -48(%rbp), %r14 ## 8-byte Reload xorl %r15d, %r15d jmp LBB2_4 .p2align 4, 0x90 LBB2_7: ## in Loop: Header=BB2_4 Depth=2 movl $10, %edi callq _putchar incq %r15 movslq (%rbx,%r13,4), %rax addq $100, %r14 cmpq %rax, %r15 jge LBB2_8 LBB2_4: ## Parent Loop BB2_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_6 Depth 3 movq -64(%rbp), %rax ## 8-byte Reload movsbl (%rax,%r13), %esi leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf imulq $100, %r15, %rax imulq $10000, %r13, %rcx ## imm = 0x2710 addq _Productions_List@GOTPCREL(%rip), %rcx movb (%rax,%rcx), %al testb %al, %al je LBB2_7 ## %bb.5: ## in Loop: Header=BB2_4 Depth=2 movq %r14, %r12 .p2align 4, 0x90 LBB2_6: ## Parent Loop BB2_2 Depth=1 ## Parent Loop BB2_4 Depth=2 ## => This Inner Loop Header: Depth=3 movsbl %al, %edi callq _putchar movzbl (%r12), %eax incq %r12 testb %al, %al jne LBB2_6 jmp LBB2_7 LBB2_9: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _GetVariableNumber ## -- Begin function GetVariableNumber .p2align 4, 0x90 _GetVariableNumber: ## @GetVariableNumber .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %edx, %edx jle LBB3_1 ## %bb.2: movl %edx, %r8d leaq -1(%r8), %rax movl %r8d, %r9d andl $3, %r9d cmpq $3, %rax jae LBB3_4 ## %bb.3: xorl %edx, %edx xorl %eax, %eax jmp LBB3_6 LBB3_1: xorl %eax, %eax popq %rbp retq LBB3_4: andl $-4, %r8d xorl %edx, %edx xorl %eax, %eax .p2align 4, 0x90 LBB3_5: ## =>This Inner Loop Header: Depth=1 cmpb %dil, (%rsi,%rdx) cmovel %edx, %eax cmpb %dil, 1(%rsi,%rdx) leal 1(%rdx), %ecx cmovnel %eax, %ecx leal 2(%rdx), %r10d cmpb %dil, 2(%rsi,%rdx) cmovnel %ecx, %r10d leal 3(%rdx), %eax cmpb %dil, 3(%rsi,%rdx) cmovnel %r10d, %eax addq $4, %rdx cmpq %r8, %rdx jne LBB3_5 LBB3_6: testq %r9, %r9 je LBB3_8 .p2align 4, 0x90 LBB3_7: ## =>This Inner Loop Header: Depth=1 cmpb %dil, (%rsi,%rdx) cmovel %edx, %eax incq %rdx decq %r9 jne LBB3_7 LBB3_8: popq %rbp retq .cfi_endproc ## -- End function .globl _Find_First ## -- Begin function Find_First .p2align 4, 0x90 _Find_First: ## @Find_First .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 $120, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r14d movq %r8, -72(%rbp) ## 8-byte Spill movq %rdx, %rbx movq %rsi, -112(%rbp) ## 8-byte Spill movq %rdi, %r15 xorl %esi, %esi testl %r9d, %r9d jle LBB4_8 ## %bb.1: movl %r14d, %r8d leaq -1(%r8), %rdx movl %r8d, %r9d andl $3, %r9d cmpq $3, %rdx jae LBB4_3 ## %bb.2: xorl %edx, %edx jmp LBB4_5 LBB4_3: andl $-4, %r8d xorl %edx, %edx xorl %esi, %esi .p2align 4, 0x90 LBB4_4: ## =>This Inner Loop Header: Depth=1 cmpb %cl, (%rbx,%rdx) cmovel %edx, %esi cmpb %cl, 1(%rbx,%rdx) leal 1(%rdx), %edi cmovnel %esi, %edi leal 2(%rdx), %eax cmpb %cl, 2(%rbx,%rdx) cmovnel %edi, %eax leal 3(%rdx), %esi cmpb %cl, 3(%rbx,%rdx) cmovnel %eax, %esi addq $4, %rdx cmpq %r8, %rdx jne LBB4_4 LBB4_5: testq %r9, %r9 je LBB4_7 .p2align 4, 0x90 LBB4_6: ## =>This Inner Loop Header: Depth=1 cmpb %cl, (%rbx,%rdx) cmovel %edx, %esi incq %rdx decq %r9 jne LBB4_6 LBB4_7: movslq %esi, %rsi LBB4_8: movq -72(%rbp), %rax ## 8-byte Reload movl (%rax,%rsi,4), %eax cmpl $-1, %eax je LBB4_9 ## %bb.10: cmpl $1, %eax jne LBB4_12 ## %bb.11: movl $1, -44(%rbp) ## 4-byte Folded Spill jmp LBB4_55 LBB4_9: movl %eax, -44(%rbp) ## 4-byte Spill LBB4_55: movl -44(%rbp), %eax ## 4-byte Reload addq $120, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_12: movq -112(%rbp), %rax ## 8-byte Reload movl (%rax,%rsi,4), %eax movq %rax, -128(%rbp) ## 8-byte Spill movl %r14d, %eax imulq $100, %rsi, %r12 addq %r15, %r12 leaq -1(%rax), %rcx movq %rcx, -144(%rbp) ## 8-byte Spill movl %eax, %ecx andl $3, %ecx movq %rcx, -120(%rbp) ## 8-byte Spill andl $-4, %eax movq %rax, -136(%rbp) ## 8-byte Spill xorl %eax, %eax movq %rax, -88(%rbp) ## 8-byte Spill movl $0, -44(%rbp) ## 4-byte Folded Spill movl $0, -48(%rbp) ## 4-byte Folded Spill movl %r14d, -52(%rbp) ## 4-byte Spill movq %rbx, -104(%rbp) ## 8-byte Spill movq %r15, -96(%rbp) ## 8-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill jmp LBB4_13 .p2align 4, 0x90 LBB4_54: ## in Loop: Header=BB4_13 Depth=1 movq -88(%rbp), %rdx ## 8-byte Reload leaq 1(%rdx), %rax movslq -48(%rbp), %rcx ## 4-byte Folded Reload cmpq %rcx, %rdx movq %rax, -88(%rbp) ## 8-byte Spill jge LBB4_55 LBB4_13: ## =>This Loop Header: Depth=1 ## Child Loop BB4_15 Depth 2 ## Child Loop BB4_24 Depth 3 ## Child Loop BB4_27 Depth 3 ## Child Loop BB4_30 Depth 3 ## Child Loop BB4_33 Depth 4 ## Child Loop BB4_49 Depth 3 ## Child Loop BB4_43 Depth 3 cmpl $0, -128(%rbp) ## 4-byte Folded Reload jle LBB4_54 ## %bb.14: ## in Loop: Header=BB4_13 Depth=1 xorl %edi, %edi jmp LBB4_15 .p2align 4, 0x90 LBB4_36: ## in Loop: Header=BB4_15 Depth=2 cmpl $-1, -44(%rbp) ## 4-byte Folded Reload je LBB4_38 LBB4_37: ## in Loop: Header=BB4_15 Depth=2 movl -52(%rbp), %r14d ## 4-byte Reload movq -104(%rbp), %rbx ## 8-byte Reload movq -96(%rbp), %r15 ## 8-byte Reload movq -64(%rbp), %rsi ## 8-byte Reload LBB4_52: ## in Loop: Header=BB4_15 Depth=2 movq -80(%rbp), %rdi ## 8-byte Reload LBB4_53: ## in Loop: Header=BB4_15 Depth=2 incq %rdi cmpq -128(%rbp), %rdi ## 8-byte Folded Reload je LBB4_54 LBB4_15: ## Parent Loop BB4_13 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB4_24 Depth 3 ## Child Loop BB4_27 Depth 3 ## Child Loop BB4_30 Depth 3 ## Child Loop BB4_33 Depth 4 ## Child Loop BB4_49 Depth 3 ## Child Loop BB4_43 Depth 3 movq %rdi, -80(%rbp) ## 8-byte Spill imulq $100, %rdi, %rax imulq $10000, %rsi, %rcx ## imm = 0x2710 addq _Productions_List@GOTPCREL(%rip), %rcx addq %rax, %rcx movq -88(%rbp), %rax ## 8-byte Reload movq %rcx, -152(%rbp) ## 8-byte Spill movsbl (%rax,%rcx), %r13d testl %r13d, %r13d js LBB4_17 ## %bb.16: ## in Loop: Header=BB4_15 Depth=2 movl %r13d, %eax movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx movl 60(%rcx,%rax,4), %eax movl $32768, %ecx ## imm = 0x8000 andl %ecx, %eax testl %eax, %eax je LBB4_39 LBB4_19: ## in Loop: Header=BB4_15 Depth=2 movsbl %r13b, %ecx movq %r15, %rdi movq -112(%rbp), %rsi ## 8-byte Reload movq %rbx, %rdx movq -72(%rbp), %r8 ## 8-byte Reload movl %r14d, %r9d callq _Find_First movl %eax, -44(%rbp) ## 4-byte Spill testl %r14d, %r14d jle LBB4_20 ## %bb.21: ## in Loop: Header=BB4_15 Depth=2 cmpq $3, -144(%rbp) ## 8-byte Folded Reload jae LBB4_23 ## %bb.22: ## in Loop: Header=BB4_15 Depth=2 xorl %eax, %eax xorl %ecx, %ecx jmp LBB4_25 .p2align 4, 0x90 LBB4_17: ## in Loop: Header=BB4_15 Depth=2 movl $32768, %esi ## imm = 0x8000 movl %r13d, %edi callq ___maskrune testl %eax, %eax jne LBB4_19 LBB4_39: ## in Loop: Header=BB4_15 Depth=2 movq %r12, %rdi callq _strlen cmpb $35, %r13b jne LBB4_46 ## %bb.40: ## in Loop: Header=BB4_15 Depth=2 testl %eax, %eax movq -64(%rbp), %rsi ## 8-byte Reload movq -80(%rbp), %rdi ## 8-byte Reload jle LBB4_44 ## %bb.41: ## in Loop: Header=BB4_15 Depth=2 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB4_43: ## Parent Loop BB4_13 Depth=1 ## Parent Loop BB4_15 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb $35, (%r12,%rdx) je LBB4_45 ## %bb.42: ## in Loop: Header=BB4_43 Depth=3 incq %rdx cmpq %rdx, %rcx jne LBB4_43 LBB4_44: ## in Loop: Header=BB4_15 Depth=2 movq %rax, %rcx shlq $32, %rcx cltq movb $35, (%rax,%r12) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r12) LBB4_45: ## in Loop: Header=BB4_15 Depth=2 movq -72(%rbp), %rax ## 8-byte Reload movl $-1, (%rax,%rsi,4) movl $-1, -44(%rbp) ## 4-byte Folded Spill jmp LBB4_53 .p2align 4, 0x90 LBB4_38: ## in Loop: Header=BB4_15 Depth=2 movq -152(%rbp), %rdi ## 8-byte Reload callq _strlen xorl %ecx, %ecx movl -48(%rbp), %edx ## 4-byte Reload cmpl %eax, %edx setl %cl addl %ecx, %edx movl %edx, -48(%rbp) ## 4-byte Spill movl $-1, -44(%rbp) ## 4-byte Folded Spill jmp LBB4_37 .p2align 4, 0x90 LBB4_20: ## in Loop: Header=BB4_15 Depth=2 xorl %ecx, %ecx jmp LBB4_28 LBB4_23: ## in Loop: Header=BB4_15 Depth=2 xorl %eax, %eax xorl %ecx, %ecx movq -136(%rbp), %rdi ## 8-byte Reload .p2align 4, 0x90 LBB4_24: ## Parent Loop BB4_13 Depth=1 ## Parent Loop BB4_15 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb %r13b, (%rbx,%rax) cmovel %eax, %ecx cmpb %r13b, 1(%rbx,%rax) leal 1(%rax), %edx cmovnel %ecx, %edx leal 2(%rax), %esi cmpb %r13b, 2(%rbx,%rax) cmovnel %edx, %esi leal 3(%rax), %ecx cmpb %r13b, 3(%rbx,%rax) cmovnel %esi, %ecx addq $4, %rax cmpq %rdi, %rax jne LBB4_24 LBB4_25: ## in Loop: Header=BB4_15 Depth=2 cmpq $0, -120(%rbp) ## 8-byte Folded Reload je LBB4_28 ## %bb.26: ## in Loop: Header=BB4_15 Depth=2 movq -120(%rbp), %rdx ## 8-byte Reload .p2align 4, 0x90 LBB4_27: ## Parent Loop BB4_13 Depth=1 ## Parent Loop BB4_15 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb %r13b, (%rbx,%rax) cmovel %eax, %ecx incq %rax decq %rdx jne LBB4_27 LBB4_28: ## in Loop: Header=BB4_15 Depth=2 movslq %ecx, %rax imulq $100, %rax, %r13 addq %r15, %r13 movq %r13, %rdi callq _strlen movq %rax, %rbx testl $-2147483648, %ebx ## imm = 0x80000000 jne LBB4_36 ## %bb.29: ## in Loop: Header=BB4_15 Depth=2 incl %ebx xorl %r15d, %r15d jmp LBB4_30 .p2align 4, 0x90 LBB4_34: ## in Loop: Header=BB4_30 Depth=3 movq %rax, %rcx shlq $32, %rcx cltq movb %r14b, (%rax,%r12) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r12) LBB4_35: ## in Loop: Header=BB4_30 Depth=3 incq %r15 cmpq %rbx, %r15 je LBB4_36 LBB4_30: ## Parent Loop BB4_13 Depth=1 ## Parent Loop BB4_15 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB4_33 Depth 4 movb (%r15,%r13), %r14b movq %r12, %rdi callq _strlen testl %eax, %eax jle LBB4_34 ## %bb.31: ## in Loop: Header=BB4_30 Depth=3 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB4_33: ## Parent Loop BB4_13 Depth=1 ## Parent Loop BB4_15 Depth=2 ## Parent Loop BB4_30 Depth=3 ## => This Inner Loop Header: Depth=4 cmpb %r14b, (%r12,%rdx) je LBB4_35 ## %bb.32: ## in Loop: Header=BB4_33 Depth=4 incq %rdx cmpq %rdx, %rcx jne LBB4_33 jmp LBB4_34 LBB4_46: ## in Loop: Header=BB4_15 Depth=2 testl %eax, %eax jle LBB4_50 ## %bb.47: ## in Loop: Header=BB4_15 Depth=2 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB4_49: ## Parent Loop BB4_13 Depth=1 ## Parent Loop BB4_15 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb %r13b, (%r12,%rdx) je LBB4_51 ## %bb.48: ## in Loop: Header=BB4_49 Depth=3 incq %rdx cmpq %rdx, %rcx jne LBB4_49 LBB4_50: ## in Loop: Header=BB4_15 Depth=2 movq %rax, %rcx shlq $32, %rcx cltq movb %r13b, (%rax,%r12) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r12) LBB4_51: ## in Loop: Header=BB4_15 Depth=2 movq -72(%rbp), %rax ## 8-byte Reload movq -64(%rbp), %rsi ## 8-byte Reload movl $1, (%rax,%rsi,4) jmp LBB4_52 .cfi_endproc ## -- End function .globl _Follow_Of ## -- Begin function Follow_Of .p2align 4, 0x90 _Follow_Of: ## @Follow_Of .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 $168, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -128(%rbp) ## 8-byte Spill movl %r8d, -84(%rbp) ## 4-byte Spill movq %rcx, %r12 movq %rsi, -104(%rbp) ## 8-byte Spill movq %rdi, -120(%rbp) ## 8-byte Spill movslq %edx, %rax leaq _FollowFound(%rip), %rcx cmpl $0, (%rcx,%rax,4) je LBB5_2 LBB5_1: addq $168, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB5_2: movl $1, (%rcx,%rax,4) cmpl $0, -84(%rbp) ## 4-byte Folded Reload jle LBB5_1 ## %bb.3: movb (%r12,%rax), %cl movb %cl, -57(%rbp) ## 1-byte Spill movl -84(%rbp), %ecx ## 4-byte Reload imulq $100, %rax, %r14 addq -120(%rbp), %r14 ## 8-byte Folded Reload leaq -1(%rcx), %rax movq %rax, -176(%rbp) ## 8-byte Spill movl %ecx, %eax andl $3, %eax movq %rax, -152(%rbp) ## 8-byte Spill movq %rcx, -168(%rbp) ## 8-byte Spill movl %ecx, %edi andl $-4, %edi xorl %ecx, %ecx movq %rdi, -56(%rbp) ## 8-byte Spill jmp LBB5_5 .p2align 4, 0x90 LBB5_4: ## in Loop: Header=BB5_5 Depth=1 incq %rcx cmpq -168(%rbp), %rcx ## 8-byte Folded Reload je LBB5_1 LBB5_5: ## =>This Loop Header: Depth=1 ## Child Loop BB5_9 Depth 2 ## Child Loop BB5_19 Depth 3 ## Child Loop BB5_22 Depth 3 ## Child Loop BB5_28 Depth 3 ## Child Loop BB5_31 Depth 4 ## Child Loop BB5_37 Depth 3 ## Child Loop BB5_45 Depth 4 ## Child Loop BB5_48 Depth 4 ## Child Loop BB5_54 Depth 4 ## Child Loop BB5_57 Depth 5 ## Child Loop BB5_64 Depth 4 ## Child Loop BB5_67 Depth 5 ## Child Loop BB5_79 Depth 3 ## Child Loop BB5_82 Depth 4 ## Child Loop BB5_91 Depth 3 ## Child Loop BB5_106 Depth 3 ## Child Loop BB5_98 Depth 3 ## Child Loop BB5_101 Depth 4 movq -128(%rbp), %rax ## 8-byte Reload movl (%rax,%rcx,4), %eax movq %rax, -184(%rbp) ## 8-byte Spill testl %eax, %eax jle LBB5_4 ## %bb.6: ## in Loop: Header=BB5_5 Depth=1 imulq $100, %rcx, %r13 addq -120(%rbp), %r13 ## 8-byte Folded Reload xorl %eax, %eax movq %rcx, -136(%rbp) ## 8-byte Spill movq %r13, -160(%rbp) ## 8-byte Spill jmp LBB5_9 LBB5_7: ## in Loop: Header=BB5_9 Depth=2 movq %rax, %rcx shlq $32, %rcx cltq movb %bl, (%rax,%r14) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r14) .p2align 4, 0x90 LBB5_8: ## in Loop: Header=BB5_9 Depth=2 movq -192(%rbp), %rax ## 8-byte Reload incq %rax cmpq -184(%rbp), %rax ## 8-byte Folded Reload movq -136(%rbp), %rcx ## 8-byte Reload je LBB5_4 LBB5_9: ## Parent Loop BB5_5 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB5_19 Depth 3 ## Child Loop BB5_22 Depth 3 ## Child Loop BB5_28 Depth 3 ## Child Loop BB5_31 Depth 4 ## Child Loop BB5_37 Depth 3 ## Child Loop BB5_45 Depth 4 ## Child Loop BB5_48 Depth 4 ## Child Loop BB5_54 Depth 4 ## Child Loop BB5_57 Depth 5 ## Child Loop BB5_64 Depth 4 ## Child Loop BB5_67 Depth 5 ## Child Loop BB5_79 Depth 3 ## Child Loop BB5_82 Depth 4 ## Child Loop BB5_91 Depth 3 ## Child Loop BB5_106 Depth 3 ## Child Loop BB5_98 Depth 3 ## Child Loop BB5_101 Depth 4 movq %rax, -192(%rbp) ## 8-byte Spill imulq $100, %rax, %rax imulq $10000, %rcx, %r15 ## imm = 0x2710 addq _Productions_List@GOTPCREL(%rip), %r15 movb (%rax,%r15), %cl testb %cl, %cl je LBB5_8 ## %bb.10: ## in Loop: Header=BB5_9 Depth=2 addq %rax, %r15 movl $1, %eax xorl %r13d, %r13d movq %r15, -72(%rbp) ## 8-byte Spill cmpb -57(%rbp), %cl ## 1-byte Folded Reload je LBB5_11 .p2align 4, 0x90 LBB5_14: ## in Loop: Header=BB5_9 Depth=2 incq %r13 movq %r13, %rbx jmp LBB5_87 .p2align 4, 0x90 LBB5_11: ## in Loop: Header=BB5_9 Depth=2 movsbl 1(%r13,%r15), %ebx testl %ebx, %ebx je LBB5_94 ## %bb.12: ## in Loop: Header=BB5_9 Depth=2 movq %rax, -80(%rbp) ## 8-byte Spill movb %cl, -41(%rbp) ## 1-byte Spill testb %bl, %bl js LBB5_15 ## %bb.13: ## in Loop: Header=BB5_9 Depth=2 movl %ebx, %eax movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx movl 60(%rcx,%rax,4), %eax movl $32768, %ecx ## imm = 0x8000 andl %ecx, %eax testl %eax, %eax jne LBB5_16 jmp LBB5_103 .p2align 4, 0x90 LBB5_15: ## in Loop: Header=BB5_9 Depth=2 movl $32768, %esi ## imm = 0x8000 movl %ebx, %edi callq ___maskrune movq -56(%rbp), %rdi ## 8-byte Reload testl %eax, %eax je LBB5_103 LBB5_16: ## in Loop: Header=BB5_9 Depth=2 cmpq $3, -176(%rbp) ## 8-byte Folded Reload jae LBB5_18 ## %bb.17: ## in Loop: Header=BB5_9 Depth=2 xorl %eax, %eax xorl %ecx, %ecx jmp LBB5_20 .p2align 4, 0x90 LBB5_18: ## in Loop: Header=BB5_9 Depth=2 xorl %eax, %eax xorl %ecx, %ecx .p2align 4, 0x90 LBB5_19: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb %bl, (%r12,%rax) cmovel %eax, %ecx cmpb %bl, 1(%r12,%rax) leal 1(%rax), %edx cmovnel %ecx, %edx leal 2(%rax), %esi cmpb %bl, 2(%r12,%rax) cmovnel %edx, %esi leal 3(%rax), %ecx cmpb %bl, 3(%r12,%rax) cmovnel %esi, %ecx addq $4, %rax cmpq %rdi, %rax jne LBB5_19 LBB5_20: ## in Loop: Header=BB5_9 Depth=2 cmpq $0, -152(%rbp) ## 8-byte Folded Reload je LBB5_23 ## %bb.21: ## in Loop: Header=BB5_9 Depth=2 movq -152(%rbp), %rdx ## 8-byte Reload .p2align 4, 0x90 LBB5_22: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb %bl, (%r12,%rax) cmovel %eax, %ecx incq %rax decq %rdx jne LBB5_22 LBB5_23: ## in Loop: Header=BB5_9 Depth=2 leaq 1(%r13), %rbx movslq %ecx, %rax movq 16(%rbp), %rcx cmpl $-1, (%rcx,%rax,4) movq %rbx, -96(%rbp) ## 8-byte Spill je LBB5_33 ## %bb.24: ## in Loop: Header=BB5_9 Depth=2 imulq $100, %rax, %r15 addq -104(%rbp), %r15 ## 8-byte Folded Reload movq %r15, %rdi callq _strlen testq %rax, %rax je LBB5_75 ## %bb.25: ## in Loop: Header=BB5_9 Depth=2 xorl %r13d, %r13d jmp LBB5_28 .p2align 4, 0x90 LBB5_26: ## in Loop: Header=BB5_28 Depth=3 movq %rax, %rcx shlq $32, %rcx cltq movb %bl, (%rax,%r14) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r14) LBB5_27: ## in Loop: Header=BB5_28 Depth=3 incq %r13 movq %r15, %rdi callq _strlen cmpq %r13, %rax jbe LBB5_84 LBB5_28: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB5_31 Depth 4 movb (%r13,%r15), %bl movq %r14, %rdi callq _strlen cmpb $35, %bl je LBB5_27 ## %bb.29: ## in Loop: Header=BB5_28 Depth=3 testl %eax, %eax jle LBB5_26 ## %bb.30: ## in Loop: Header=BB5_28 Depth=3 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB5_31: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_28 Depth=3 ## => This Inner Loop Header: Depth=4 cmpb %bl, (%r14,%rdx) je LBB5_27 ## %bb.32: ## in Loop: Header=BB5_31 Depth=4 incq %rdx cmpq %rdx, %rcx jne LBB5_31 jmp LBB5_26 .p2align 4, 0x90 LBB5_33: ## in Loop: Header=BB5_9 Depth=2 leaq (%r15,%r13), %rbx incq %rbx movq %r15, %rdi callq _strlen movq %rax, -144(%rbp) ## 8-byte Spill cmpb $0, (%rbx) je LBB5_69 ## %bb.34: ## in Loop: Header=BB5_9 Depth=2 movq -80(%rbp), %rax ## 8-byte Reload movb (%rax,%r15), %r15b testb %r15b, %r15b je LBB5_70 ## %bb.35: ## in Loop: Header=BB5_9 Depth=2 notl %r13d movq -144(%rbp), %rcx ## 8-byte Reload addl %r13d, %ecx movq %rcx, -144(%rbp) ## 8-byte Spill movl $0, -108(%rbp) ## 4-byte Folded Spill movq %rax, %rcx jmp LBB5_37 .p2align 4, 0x90 LBB5_36: ## in Loop: Header=BB5_37 Depth=3 movq -72(%rbp), %rax ## 8-byte Reload movq -200(%rbp), %rcx ## 8-byte Reload movb 1(%rcx,%rax), %r15b incq %rcx testb %r15b, %r15b movq -80(%rbp), %rax ## 8-byte Reload je LBB5_70 LBB5_37: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB5_45 Depth 4 ## Child Loop BB5_48 Depth 4 ## Child Loop BB5_54 Depth 4 ## Child Loop BB5_57 Depth 5 ## Child Loop BB5_64 Depth 4 ## Child Loop BB5_67 Depth 5 movsbl %r15b, %ebx testb %bl, %bl movq -56(%rbp), %rdi ## 8-byte Reload movq %rcx, -200(%rbp) ## 8-byte Spill js LBB5_40 ## %bb.38: ## in Loop: Header=BB5_37 Depth=3 movl %ebx, %eax movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx movl 60(%rcx,%rax,4), %eax testl $4096, %eax ## imm = 0x1000 movq -96(%rbp), %rbx ## 8-byte Reload jne LBB5_71 ## %bb.39: ## in Loop: Header=BB5_37 Depth=3 andl $1280, %eax ## imm = 0x500 testl %eax, %eax jne LBB5_42 jmp LBB5_71 .p2align 4, 0x90 LBB5_40: ## in Loop: Header=BB5_37 Depth=3 movl $4096, %esi ## imm = 0x1000 movl %ebx, %edi callq ___maskrune testl %eax, %eax jne LBB5_89 ## %bb.41: ## in Loop: Header=BB5_37 Depth=3 movl $1280, %esi ## imm = 0x500 movl %ebx, %edi callq ___maskrune movq -56(%rbp), %rdi ## 8-byte Reload movq -96(%rbp), %rbx ## 8-byte Reload testl %eax, %eax je LBB5_71 LBB5_42: ## in Loop: Header=BB5_37 Depth=3 cmpq $3, -176(%rbp) ## 8-byte Folded Reload jae LBB5_44 ## %bb.43: ## in Loop: Header=BB5_37 Depth=3 xorl %eax, %eax xorl %ecx, %ecx jmp LBB5_46 .p2align 4, 0x90 LBB5_44: ## in Loop: Header=BB5_37 Depth=3 xorl %eax, %eax xorl %ecx, %ecx .p2align 4, 0x90 LBB5_45: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_37 Depth=3 ## => This Inner Loop Header: Depth=4 cmpb %r15b, (%r12,%rax) cmovel %eax, %ecx cmpb %r15b, 1(%r12,%rax) leal 1(%rax), %edx cmovnel %ecx, %edx leal 2(%rax), %esi cmpb %r15b, 2(%r12,%rax) cmovnel %edx, %esi leal 3(%rax), %ecx cmpb %r15b, 3(%r12,%rax) cmovnel %esi, %ecx addq $4, %rax cmpq %rdi, %rax jne LBB5_45 LBB5_46: ## in Loop: Header=BB5_37 Depth=3 testb $3, -168(%rbp) ## 1-byte Folded Reload je LBB5_49 ## %bb.47: ## in Loop: Header=BB5_37 Depth=3 movq -152(%rbp), %rdx ## 8-byte Reload .p2align 4, 0x90 LBB5_48: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_37 Depth=3 ## => This Inner Loop Header: Depth=4 cmpb %r15b, (%r12,%rax) cmovel %eax, %ecx incq %rax decq %rdx jne LBB5_48 LBB5_49: ## in Loop: Header=BB5_37 Depth=3 movslq %ecx, %rax movq 16(%rbp), %rcx cmpl $-1, (%rcx,%rax,4) jne LBB5_73 ## %bb.50: ## in Loop: Header=BB5_37 Depth=3 incl -108(%rbp) ## 4-byte Folded Spill imulq $100, %rax, %r15 addq -104(%rbp), %r15 ## 8-byte Folded Reload movq %r15, %rdi callq _strlen testq %rax, %rax je LBB5_59 ## %bb.51: ## in Loop: Header=BB5_37 Depth=3 xorl %r13d, %r13d jmp LBB5_54 .p2align 4, 0x90 LBB5_52: ## in Loop: Header=BB5_54 Depth=4 movq %rax, %rcx shlq $32, %rcx cltq movb %bl, (%rax,%r14) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r14) LBB5_53: ## in Loop: Header=BB5_54 Depth=4 incq %r13 movq %r15, %rdi callq _strlen cmpq %r13, %rax jbe LBB5_59 LBB5_54: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_37 Depth=3 ## => This Loop Header: Depth=4 ## Child Loop BB5_57 Depth 5 movb (%r13,%r15), %bl movq %r14, %rdi callq _strlen cmpb $35, %bl je LBB5_53 ## %bb.55: ## in Loop: Header=BB5_54 Depth=4 testl %eax, %eax jle LBB5_52 ## %bb.56: ## in Loop: Header=BB5_54 Depth=4 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB5_57: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_37 Depth=3 ## Parent Loop BB5_54 Depth=4 ## => This Inner Loop Header: Depth=5 cmpb %bl, (%r14,%rdx) je LBB5_53 ## %bb.58: ## in Loop: Header=BB5_57 Depth=5 incq %rdx cmpq %rdx, %rcx jne LBB5_57 jmp LBB5_52 .p2align 4, 0x90 LBB5_59: ## in Loop: Header=BB5_37 Depth=3 movl -108(%rbp), %eax ## 4-byte Reload cmpl %eax, -144(%rbp) ## 4-byte Folded Reload movq -160(%rbp), %r13 ## 8-byte Reload jne LBB5_36 ## %bb.60: ## in Loop: Header=BB5_37 Depth=3 movq 16(%rbp), %rax movq %rax, (%rsp) movq -120(%rbp), %rdi ## 8-byte Reload movq -104(%rbp), %rsi ## 8-byte Reload movq -136(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx movq %r12, %rcx movl -84(%rbp), %r8d ## 4-byte Reload movq -128(%rbp), %r9 ## 8-byte Reload callq _Follow_Of movq %r13, %rdi callq _strlen testq %rax, %rax je LBB5_36 ## %bb.61: ## in Loop: Header=BB5_37 Depth=3 xorl %r15d, %r15d jmp LBB5_64 .p2align 4, 0x90 LBB5_62: ## in Loop: Header=BB5_64 Depth=4 movq %rax, %rcx shlq $32, %rcx cltq movb %bl, (%rax,%r14) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r14) LBB5_63: ## in Loop: Header=BB5_64 Depth=4 incq %r15 movq %r13, %rdi callq _strlen cmpq %r15, %rax jbe LBB5_36 LBB5_64: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_37 Depth=3 ## => This Loop Header: Depth=4 ## Child Loop BB5_67 Depth 5 movb (%r15,%r13), %bl movq %r14, %rdi callq _strlen cmpb $35, %bl je LBB5_63 ## %bb.65: ## in Loop: Header=BB5_64 Depth=4 testl %eax, %eax jle LBB5_62 ## %bb.66: ## in Loop: Header=BB5_64 Depth=4 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB5_67: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_37 Depth=3 ## Parent Loop BB5_64 Depth=4 ## => This Inner Loop Header: Depth=5 cmpb %bl, (%r14,%rdx) je LBB5_63 ## %bb.68: ## in Loop: Header=BB5_67 Depth=5 incq %rdx cmpq %rdx, %rcx jne LBB5_67 jmp LBB5_62 LBB5_69: ## in Loop: Header=BB5_9 Depth=2 movq -56(%rbp), %rdi ## 8-byte Reload jmp LBB5_85 LBB5_70: ## in Loop: Header=BB5_9 Depth=2 movq -56(%rbp), %rdi ## 8-byte Reload movq -72(%rbp), %r15 ## 8-byte Reload movb -41(%rbp), %cl ## 1-byte Reload jmp LBB5_86 LBB5_71: ## in Loop: Header=BB5_9 Depth=2 movq %r14, %rdi callq _strlen cmpb $35, %r15b je LBB5_75 ## %bb.72: ## in Loop: Header=BB5_9 Depth=2 movq -56(%rbp), %rdi ## 8-byte Reload testl %eax, %eax jg LBB5_90 jmp LBB5_93 LBB5_73: ## in Loop: Header=BB5_9 Depth=2 imulq $100, %rax, %r15 addq -104(%rbp), %r15 ## 8-byte Folded Reload movq %r15, %rdi callq _strlen testq %rax, %rax je LBB5_75 ## %bb.74: ## in Loop: Header=BB5_9 Depth=2 xorl %r13d, %r13d jmp LBB5_79 .p2align 4, 0x90 LBB5_75: ## in Loop: Header=BB5_9 Depth=2 movq -56(%rbp), %rdi ## 8-byte Reload LBB5_76: ## in Loop: Header=BB5_9 Depth=2 movq -72(%rbp), %r15 ## 8-byte Reload movb -41(%rbp), %cl ## 1-byte Reload movq -80(%rbp), %rax ## 8-byte Reload jmp LBB5_87 .p2align 4, 0x90 LBB5_77: ## in Loop: Header=BB5_79 Depth=3 movq %rax, %rcx shlq $32, %rcx cltq movb %bl, (%rax,%r14) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r14) LBB5_78: ## in Loop: Header=BB5_79 Depth=3 incq %r13 movq %r15, %rdi callq _strlen cmpq %r13, %rax jbe LBB5_84 LBB5_79: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB5_82 Depth 4 movb (%r13,%r15), %bl movq %r14, %rdi callq _strlen cmpb $35, %bl je LBB5_78 ## %bb.80: ## in Loop: Header=BB5_79 Depth=3 testl %eax, %eax jle LBB5_77 ## %bb.81: ## in Loop: Header=BB5_79 Depth=3 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB5_82: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_79 Depth=3 ## => This Inner Loop Header: Depth=4 cmpb %bl, (%r14,%rdx) je LBB5_78 ## %bb.83: ## in Loop: Header=BB5_82 Depth=4 incq %rdx cmpq %rdx, %rcx jne LBB5_82 jmp LBB5_77 .p2align 4, 0x90 LBB5_84: ## in Loop: Header=BB5_9 Depth=2 movq -56(%rbp), %rdi ## 8-byte Reload movq -72(%rbp), %r15 ## 8-byte Reload LBB5_85: ## in Loop: Header=BB5_9 Depth=2 movb -41(%rbp), %cl ## 1-byte Reload movq -80(%rbp), %rax ## 8-byte Reload LBB5_86: ## in Loop: Header=BB5_9 Depth=2 movq -96(%rbp), %rbx ## 8-byte Reload LBB5_87: ## in Loop: Header=BB5_9 Depth=2 testb %cl, %cl je LBB5_8 ## %bb.88: ## in Loop: Header=BB5_9 Depth=2 incq %rax movb (%rbx,%r15), %cl movq %rbx, %r13 cmpb -57(%rbp), %cl ## 1-byte Folded Reload je LBB5_11 jmp LBB5_14 LBB5_89: ## in Loop: Header=BB5_9 Depth=2 movq %r14, %rdi callq _strlen movq -56(%rbp), %rdi ## 8-byte Reload movq -96(%rbp), %rbx ## 8-byte Reload testl %eax, %eax jle LBB5_93 LBB5_90: ## in Loop: Header=BB5_9 Depth=2 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB5_91: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb %r15b, (%r14,%rdx) je LBB5_76 ## %bb.92: ## in Loop: Header=BB5_91 Depth=3 incq %rdx cmpq %rdx, %rcx jne LBB5_91 LBB5_93: ## in Loop: Header=BB5_9 Depth=2 movq %rax, %rcx shlq $32, %rcx cltq movb %r15b, (%rax,%r14) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r14) jmp LBB5_76 LBB5_94: ## in Loop: Header=BB5_9 Depth=2 movq 16(%rbp), %rax movq %rax, (%rsp) movq -120(%rbp), %rdi ## 8-byte Reload movq -104(%rbp), %rsi ## 8-byte Reload movq -136(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx movq %r12, %rcx movl -84(%rbp), %r8d ## 4-byte Reload movq -128(%rbp), %r9 ## 8-byte Reload callq _Follow_Of movq -160(%rbp), %r13 ## 8-byte Reload movq %r13, %rdi callq _strlen movq -56(%rbp), %rdi ## 8-byte Reload testq %rax, %rax je LBB5_8 ## %bb.95: ## in Loop: Header=BB5_9 Depth=2 xorl %r15d, %r15d jmp LBB5_98 .p2align 4, 0x90 LBB5_96: ## in Loop: Header=BB5_98 Depth=3 movq %rax, %rcx shlq $32, %rcx cltq movb %bl, (%rax,%r14) movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %rcx sarq $32, %rcx movb $0, (%rcx,%r14) LBB5_97: ## in Loop: Header=BB5_98 Depth=3 incq %r15 movq %r13, %rdi callq _strlen cmpq %r15, %rax movq -56(%rbp), %rdi ## 8-byte Reload jbe LBB5_8 LBB5_98: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB5_101 Depth 4 movb (%r15,%r13), %bl movq %r14, %rdi callq _strlen cmpb $35, %bl je LBB5_97 ## %bb.99: ## in Loop: Header=BB5_98 Depth=3 testl %eax, %eax jle LBB5_96 ## %bb.100: ## in Loop: Header=BB5_98 Depth=3 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB5_101: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## Parent Loop BB5_98 Depth=3 ## => This Inner Loop Header: Depth=4 cmpb %bl, (%r14,%rdx) je LBB5_97 ## %bb.102: ## in Loop: Header=BB5_101 Depth=4 incq %rdx cmpq %rdx, %rcx jne LBB5_101 jmp LBB5_96 LBB5_103: ## in Loop: Header=BB5_9 Depth=2 movq %r14, %rdi callq _strlen movq -56(%rbp), %rdi ## 8-byte Reload cmpb $35, %bl je LBB5_8 ## %bb.104: ## in Loop: Header=BB5_9 Depth=2 testl %eax, %eax jle LBB5_7 ## %bb.105: ## in Loop: Header=BB5_9 Depth=2 movl %eax, %ecx xorl %edx, %edx .p2align 4, 0x90 LBB5_106: ## Parent Loop BB5_5 Depth=1 ## Parent Loop BB5_9 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb %bl, (%r14,%rdx) je LBB5_8 ## %bb.107: ## in Loop: Header=BB5_106 Depth=3 incq %rdx cmpq %rdx, %rcx jne LBB5_106 jmp LBB5_7 .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 movl $21080, %eax ## imm = 0x5258 callq ____chkstk_darwin subq %rax, %rsp popq %rax .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.3(%rip), %rdi xorl %r14d, %r14d xorl %eax, %eax callq _printf leaq L_.str.4(%rip), %rdi leaq -21076(%rbp), %rsi xorl %eax, %eax callq _scanf leaq L_str(%rip), %rdi callq _puts leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.7(%rip), %rdi leaq -160(%rbp), %rbx movq %rbx, %rsi xorl %eax, %eax callq _scanf movb $83, -272(%rbp) movq %rbx, %rdi callq _strlen testl %eax, %eax jle LBB6_6 ## %bb.1: movl %eax, %eax xorl %ecx, %ecx movq _Productions_List@GOTPCREL(%rip), %r8 xorl %r14d, %r14d xorl %esi, %esi jmp LBB6_2 .p2align 4, 0x90 LBB6_4: ## in Loop: Header=BB6_2 Depth=1 movb %bl, (%rdi) incl %esi LBB6_5: ## in Loop: Header=BB6_2 Depth=1 incq %rcx cmpq %rcx, %rax je LBB6_6 LBB6_2: ## =>This Inner Loop Header: Depth=1 movzbl -160(%rbp,%rcx), %ebx movslq %r14d, %rdi movslq %esi, %rdx imulq $100, %rdi, %rdi addq %r8, %rdi addq %rdx, %rdi cmpb $124, %bl jne LBB6_4 ## %bb.3: ## in Loop: Header=BB6_2 Depth=1 movb $0, (%rdi) incl %r14d xorl %esi, %esi jmp LBB6_5 LBB6_6: incl %r14d movl %r14d, -21084(%rbp) ## 4-byte Spill movl %r14d, -21072(%rbp) cmpl $2, -21076(%rbp) jl LBB6_15 ## %bb.7: movl $1, %r12d leaq -160(%rbp), %r13 movq _Productions_List@GOTPCREL(%rip), %r14 jmp LBB6_8 .p2align 4, 0x90 LBB6_14: ## in Loop: Header=BB6_8 Depth=1 incl %r15d movl %r15d, -21072(%rbp,%r12,4) incq %r12 cmpl %r12d, -21076(%rbp) jle LBB6_15 LBB6_8: ## =>This Loop Header: Depth=1 ## Child Loop BB6_10 Depth 2 xorl %r15d, %r15d leaq L_.str.8(%rip), %rdi leaq -21077(%rbp), %rsi movq %r13, %rdx xorl %eax, %eax callq _scanf movb -21077(%rbp), %al movb %al, -272(%rbp,%r12) movq %r13, %rdi callq _strlen testl %eax, %eax jle LBB6_14 ## %bb.9: ## in Loop: Header=BB6_8 Depth=1 movl %eax, %r8d xorl %ecx, %ecx xorl %r15d, %r15d xorl %edx, %edx jmp LBB6_10 .p2align 4, 0x90 LBB6_12: ## in Loop: Header=BB6_10 Depth=2 movb %al, (%rdi) incl %edx LBB6_13: ## in Loop: Header=BB6_10 Depth=2 incq %rcx cmpq %rcx, %r8 je LBB6_14 LBB6_10: ## Parent Loop BB6_8 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl -160(%rbp,%rcx), %eax movslq %r15d, %rdi movslq %edx, %rsi imulq $100, %rdi, %rbx imulq $10000, %r12, %rdi ## imm = 0x2710 addq %r14, %rdi addq %rbx, %rdi addq %rsi, %rdi cmpb $124, %al jne LBB6_12 ## %bb.11: ## in Loop: Header=BB6_10 Depth=2 movb $0, (%rdi) incl %r15d xorl %edx, %edx jmp LBB6_13 LBB6_15: leaq L_str.17(%rip), %rdi callq _puts movl -21076(%rbp), %eax movq %rax, -21104(%rbp) ## 8-byte Spill testl %eax, %eax jle LBB6_25 ## %bb.16: movq _Productions_List@GOTPCREL(%rip), %rax incq %rax movq %rax, -21096(%rbp) ## 8-byte Spill xorl %r12d, %r12d movl -21084(%rbp), %eax ## 4-byte Reload testl %eax, %eax jle LBB6_23 .p2align 4, 0x90 LBB6_18: movsbl -272(%rbp,%r12), %ecx movl %ecx, -21084(%rbp) ## 4-byte Spill movslq %eax, %r15 movq -21096(%rbp), %rbx ## 8-byte Reload xorl %r14d, %r14d jmp LBB6_19 .p2align 4, 0x90 LBB6_22: ## in Loop: Header=BB6_19 Depth=1 movl $10, %edi callq _putchar incq %r14 addq $100, %rbx cmpq %r15, %r14 jge LBB6_23 LBB6_19: ## =>This Loop Header: Depth=1 ## Child Loop BB6_21 Depth 2 leaq L_.str(%rip), %rdi movl -21084(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _printf imulq $100, %r14, %rax imulq $10000, %r12, %rcx ## imm = 0x2710 addq _Productions_List@GOTPCREL(%rip), %rcx movb (%rax,%rcx), %al testb %al, %al je LBB6_22 ## %bb.20: ## in Loop: Header=BB6_19 Depth=1 movq %rbx, %r13 .p2align 4, 0x90 LBB6_21: ## Parent Loop BB6_19 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl %al, %edi callq _putchar movzbl (%r13), %eax incq %r13 testb %al, %al jne LBB6_21 jmp LBB6_22 .p2align 4, 0x90 LBB6_23: ## =>This Inner Loop Header: Depth=1 incq %r12 cmpq -21104(%rbp), %r12 ## 8-byte Folded Reload je LBB6_25 ## %bb.24: ## in Loop: Header=BB6_23 Depth=1 movl -21072(%rbp,%r12,4), %eax addq $10000, -21096(%rbp) ## 8-byte Folded Spill ## imm = 0x2710 testl %eax, %eax jg LBB6_18 jmp LBB6_23 LBB6_25: leaq L_str.17(%rip), %rdi callq _puts cmpl $0, -21076(%rbp) jle LBB6_42 ## %bb.26: movl -21076(%rbp), %r9d movslq %r9d, %rax leaq -10272(%rbp), %rcx xorl %edx, %edx .p2align 4, 0x90 LBB6_27: ## =>This Inner Loop Header: Depth=1 movb $0, (%rcx) movl $0, -20672(%rbp,%rdx,4) incq %rdx addq $100, %rcx cmpq %rax, %rdx jl LBB6_27 ## %bb.28: testl %r9d, %r9d jle LBB6_42 ## %bb.29: xorl %ebx, %ebx leaq -10272(%rbp), %r13 leaq -21072(%rbp), %r15 leaq -272(%rbp), %r14 leaq -20672(%rbp), %r12 jmp LBB6_30 .p2align 4, 0x90 LBB6_32: ## in Loop: Header=BB6_30 Depth=1 incq %rbx movslq %r9d, %rax cmpq %rax, %rbx jge LBB6_33 LBB6_30: ## =>This Inner Loop Header: Depth=1 cmpl $0, -20672(%rbp,%rbx,4) jne LBB6_32 ## %bb.31: ## in Loop: Header=BB6_30 Depth=1 movsbl -272(%rbp,%rbx), %ecx movq %r13, %rdi movq %r15, %rsi movq %r14, %rdx movq %r12, %r8 callq _Find_First movl -21076(%rbp), %r9d jmp LBB6_32 LBB6_33: testl %r9d, %r9d jle LBB6_42 ## %bb.34: movb $83, %al leaq L_.str.12(%rip), %r12 xorl %r14d, %r14d .p2align 4, 0x90 LBB6_35: ## =>This Loop Header: Depth=1 ## Child Loop BB6_37 Depth 2 movsbl %al, %esi leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _printf imulq $100, %r14, %rax leaq (%rax,%rbp), %rbx addq $-10272, %rbx ## imm = 0xD7E0 movq %rbx, %rdi callq _strlen testq %rax, %rax je LBB6_40 ## %bb.36: ## in Loop: Header=BB6_35 Depth=1 xorl %r15d, %r15d jmp LBB6_37 .p2align 4, 0x90 LBB6_39: ## in Loop: Header=BB6_37 Depth=2 incq %r15 movq %rbx, %rdi callq _strlen cmpq %r15, %rax jbe LBB6_40 LBB6_37: ## Parent Loop BB6_35 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%r13,%r15), %esi movq %r12, %rdi xorl %eax, %eax callq _printf cmpb $35, (%r13,%r15) jne LBB6_39 ## %bb.38: ## in Loop: Header=BB6_37 Depth=2 movl $-1, -20672(%rbp,%r14,4) jmp LBB6_39 .p2align 4, 0x90 LBB6_40: ## in Loop: Header=BB6_35 Depth=1 movl $10, %edi callq _putchar incq %r14 movslq -21076(%rbp), %r8 cmpq %r8, %r14 jge LBB6_43 ## %bb.41: ## in Loop: Header=BB6_35 Depth=1 movb -272(%rbp,%r14), %al addq $100, %r13 jmp LBB6_35 LBB6_42: movw $36, -20272(%rbp) LBB6_49: leaq L_str.17(%rip), %rdi callq _puts cmpl $0, -21076(%rbp) jle LBB6_55 ## %bb.50: leaq -20272(%rbp), %r12 leaq L_.str.12(%rip), %r15 xorl %r13d, %r13d jmp LBB6_51 .p2align 4, 0x90 LBB6_54: ## in Loop: Header=BB6_51 Depth=1 movl $10, %edi callq _putchar incq %r13 movslq -21076(%rbp), %rax addq $100, %r12 cmpq %rax, %r13 jge LBB6_55 LBB6_51: ## =>This Loop Header: Depth=1 ## Child Loop BB6_53 Depth 2 movsbl -272(%rbp,%r13), %esi leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _printf imulq $100, %r13, %rax leaq (%rax,%rbp), %rbx addq $-20272, %rbx ## imm = 0xB0D0 movq %rbx, %rdi callq _strlen testq %rax, %rax je LBB6_54 ## %bb.52: ## in Loop: Header=BB6_51 Depth=1 xorl %r14d, %r14d .p2align 4, 0x90 LBB6_53: ## Parent Loop BB6_51 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%r12,%r14), %esi movq %r15, %rdi xorl %eax, %eax callq _printf incq %r14 movq %rbx, %rdi callq _strlen cmpq %r14, %rax ja LBB6_53 jmp LBB6_54 LBB6_55: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB6_57 ## %bb.56: addq $21080, %rsp ## imm = 0x5258 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB6_43: movw $36, -20272(%rbp) cmpl $2, %r8d jl LBB6_46 ## %bb.44: movl -21076(%rbp), %r8d movslq %r8d, %rax leaq -20172(%rbp), %rcx movl $1, %edx .p2align 4, 0x90 LBB6_45: ## =>This Inner Loop Header: Depth=1 movb $0, (%rcx) incq %rdx addq $100, %rcx cmpq %rax, %rdx jl LBB6_45 LBB6_46: testl %r8d, %r8d leaq -20672(%rbp), %r15 jle LBB6_49 ## %bb.47: xorl %ebx, %ebx leaq -10272(%rbp), %r12 leaq -272(%rbp), %r13 leaq -21072(%rbp), %r14 .p2align 4, 0x90 LBB6_48: ## =>This Inner Loop Header: Depth=1 movq %r15, (%rsp) leaq -20272(%rbp), %rdi movq %r12, %rsi movl %ebx, %edx movq %r13, %rcx ## kill: def $r8d killed $r8d killed $r8 movq %r14, %r9 callq _Follow_Of incl %ebx movl -21076(%rbp), %r8d cmpl %r8d, %ebx jl LBB6_48 jmp LBB6_49 LBB6_57: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _FollowFound ## @FollowFound .zerofill __DATA,__common,_FollowFound,400,4 .comm _Productions_List,1000000,4 ## @Productions_List .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\t%c -> " L_.str.3: ## @.str.3 .asciz "Enter number of Productions:" L_.str.4: ## @.str.4 .asciz "%d" L_.str.6: ## @.str.6 .asciz "S -> " L_.str.7: ## @.str.7 .asciz "%s" L_.str.8: ## @.str.8 .asciz "\n%c -> %s" L_.str.11: ## @.str.11 .asciz "First(%c) -> " L_.str.12: ## @.str.12 .asciz "%c " L_.str.14: ## @.str.14 .asciz "Follow(%c) -> " L_str: ## @str .asciz "Enter The Productions:\nFormat:\tVariable -> Production1|...|Production N\n# is Epsilon \316\265" L_str.17: ## @str.17 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _Add_Terminal_To_List ; -- Begin function Add_Terminal_To_List .p2align 2 _Add_Terminal_To_List: ; @Add_Terminal_To_List .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, x3 mov x20, x2 mov x19, x1 mov x21, x0 mov w8, #100 smaddl x0, w2, w8, x1 bl _strlen cmp w21, #35 b.ne LBB0_2 ; %bb.1: cmp w22, #1 b.eq LBB0_7 LBB0_2: and w8, w21, #0xff sxtw x9, w20 cmp w0, #1 b.lt LBB0_6 ; %bb.3: and x10, x0, #0xffffffff mov w11, #100 madd x11, x9, x11, x19 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldrb w12, [x11] cmp w12, w8 b.eq LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x11, x11, #1 subs x10, x10, #1 b.ne LBB0_4 LBB0_6: mov w10, #100 madd x9, x9, x10, x19 strb w8, [x9, w0, sxtw] add w8, w0, #1 strb wzr, [x9, w8, sxtw] LBB0_7: 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 .globl _AddProductionsToList ; -- Begin function AddProductionsToList .p2align 2 _AddProductionsToList: ; @AddProductionsToList .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 mov x0, x1 bl _strlen cmp w0, #1 b.lt LBB1_6 ; %bb.1: mov w8, #0 mov w9, #0 sxtw x11, w20 and x10, x0, #0xffffffff mov w12, #10000 Lloh0: adrp x13, _Productions_List@GOTPAGE Lloh1: ldr x13, [x13, _Productions_List@GOTPAGEOFF] madd x11, x11, x12, x13 mov w12, #100 b LBB1_4 LBB1_2: ; in Loop: Header=BB1_4 Depth=1 strb w14, [x13] add w9, w9, #1 LBB1_3: ; in Loop: Header=BB1_4 Depth=1 add x19, x19, #1 subs x10, x10, #1 b.eq LBB1_7 LBB1_4: ; =>This Inner Loop Header: Depth=1 ldrb w14, [x19] smaddl x13, w8, w12, x11 add x13, x13, w9, sxtw cmp w14, #124 b.ne LBB1_2 ; %bb.5: ; in Loop: Header=BB1_4 Depth=1 mov w9, #0 strb wzr, [x13] add w8, w8, #1 b LBB1_3 LBB1_6: mov w8, #0 LBB1_7: add w0, w8, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _DisplayTransitions ; -- Begin function DisplayTransitions .p2align 2 _DisplayTransitions: ; @DisplayTransitions .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 cmp w2, #1 b.lt LBB2_9 ; %bb.1: mov x19, x1 mov x20, x0 mov x22, #0 Lloh2: adrp x23, _Productions_List@GOTPAGE Lloh3: ldr x23, [x23, _Productions_List@GOTPAGEOFF] add x9, x23, #1 mov w8, w2 stp x8, x9, [sp, #16] ; 16-byte Folded Spill Lloh4: adrp x21, l_.str@PAGE Lloh5: add x21, x21, l_.str@PAGEOFF mov w26, #100 mov w27, #10000 b LBB2_3 LBB2_2: ; in Loop: Header=BB2_3 Depth=1 add x22, x22, #1 ldr x8, [sp, #24] ; 8-byte Folded Reload add x8, x8, x27 str x8, [sp, #24] ; 8-byte Folded Spill ldr x8, [sp, #16] ; 8-byte Folded Reload cmp x22, x8 b.eq LBB2_9 LBB2_3: ; =>This Loop Header: Depth=1 ; Child Loop BB2_6 Depth 2 ; Child Loop BB2_8 Depth 3 ldr w8, [x19, x22, lsl #2] cmp w8, #1 b.lt LBB2_2 ; %bb.4: ; in Loop: Header=BB2_3 Depth=1 mov x28, #0 ldr x25, [sp, #24] ; 8-byte Folded Reload b LBB2_6 LBB2_5: ; in Loop: Header=BB2_6 Depth=2 mov w0, #10 bl _putchar add x28, x28, #1 ldrsw x8, [x19, x22, lsl #2] add x25, x25, #100 cmp x28, x8 b.ge LBB2_2 LBB2_6: ; Parent Loop BB2_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_8 Depth 3 ldrsb x8, [x20, x22] str x8, [sp] mov x0, x21 bl _printf mul x8, x28, x26 madd x9, x22, x27, x23 ldrb w8, [x9, x8] cbz w8, LBB2_5 ; %bb.7: ; in Loop: Header=BB2_6 Depth=2 mov x24, x25 LBB2_8: ; Parent Loop BB2_3 Depth=1 ; Parent Loop BB2_6 Depth=2 ; => This Inner Loop Header: Depth=3 sxtb w0, w8 bl _putchar ldrb w8, [x24], #1 cbnz w8, LBB2_8 b LBB2_5 LBB2_9: 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 AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .globl _GetVariableNumber ; -- Begin function GetVariableNumber .p2align 2 _GetVariableNumber: ; @GetVariableNumber .cfi_startproc ; %bb.0: cmp w2, #1 b.lt LBB3_4 ; %bb.1: mov x8, x0 mov x9, #0 mov w0, #0 mov w10, w2 LBB3_2: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x1, x9] cmp w11, w8, uxtb csel w0, w9, w0, eq add x9, x9, #1 cmp x10, x9 b.ne LBB3_2 ; %bb.3: ret LBB3_4: mov w0, #0 ret .cfi_endproc ; -- End function .globl _Find_First ; -- Begin function Find_First .p2align 2 _Find_First: ; @Find_First .cfi_startproc ; %bb.0: sub sp, sp, #160 .cfi_def_cfa_offset 160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill 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 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x25, x5 str x4, [sp, #24] ; 8-byte Folded Spill mov x21, x2 str x1, [sp, #8] ; 8-byte Folded Spill mov x23, x0 cmp w5, #1 b.lt LBB4_4 ; %bb.1: mov x9, #0 mov w8, #0 mov w10, w25 LBB4_2: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x21, x9] cmp w11, w3, uxtb csel w8, w9, w8, eq add x9, x9, #1 cmp x10, x9 b.ne LBB4_2 ; %bb.3: sxtw x27, w8 b LBB4_5 LBB4_4: mov x27, #0 LBB4_5: ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w28, [x8, x27, lsl #2] cmn w28, #1 b.eq LBB4_7 ; %bb.6: cmp w28, #1 b.ne LBB4_8 LBB4_7: mov x0, x28 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 ldp x28, x27, [sp, #64] ; 16-byte Folded Reload add sp, sp, #160 ret LBB4_8: mov w28, #0 str wzr, [sp] ; 4-byte Folded Spill ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8, x27, lsl #2] stp x8, xzr, [sp, #32] ; 16-byte Folded Spill mov w20, w25 mov w22, #100 madd x24, x27, x22, x23 Lloh6: adrp x8, _Productions_List@GOTPAGE Lloh7: ldr x8, [x8, _Productions_List@GOTPAGEOFF] mov w9, #10000 madd x8, x27, x9, x8 str x8, [sp, #16] ; 8-byte Folded Spill str w25, [sp, #4] ; 4-byte Folded Spill str x27, [sp, #56] ; 8-byte Folded Spill b LBB4_10 LBB4_9: ; in Loop: Header=BB4_10 Depth=1 ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w9, [sp] ; 4-byte Folded Reload cmp x8, w9, sxtw add x8, x8, #1 str x8, [sp, #40] ; 8-byte Folded Spill b.ge LBB4_7 LBB4_10: ; =>This Loop Header: Depth=1 ; Child Loop BB4_14 Depth 2 ; Child Loop BB4_18 Depth 3 ; Child Loop BB4_32 Depth 3 ; Child Loop BB4_34 Depth 4 ; Child Loop BB4_40 Depth 3 ; Child Loop BB4_23 Depth 3 ldr x8, [sp, #32] ; 8-byte Folded Reload cmp w8, #1 b.lt LBB4_9 ; %bb.11: ; in Loop: Header=BB4_10 Depth=1 mov x19, #0 b LBB4_14 LBB4_12: ; in Loop: Header=BB4_14 Depth=2 ldr x27, [sp, #56] ; 8-byte Folded Reload Lloh8: adrp x8, _Productions_List@GOTPAGE Lloh9: ldr x8, [x8, _Productions_List@GOTPAGEOFF] mov w9, #10000 madd x8, x27, x9, x8 madd x0, x19, x22, x8 bl _strlen ldp w8, w25, [sp] ; 8-byte Folded Reload cmp w8, w0 cinc w8, w8, lt str w8, [sp] ; 4-byte Folded Spill LBB4_13: ; in Loop: Header=BB4_14 Depth=2 add x19, x19, #1 ldr x8, [sp, #32] ; 8-byte Folded Reload cmp x19, x8 b.eq LBB4_9 LBB4_14: ; Parent Loop BB4_10 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB4_18 Depth 3 ; Child Loop BB4_32 Depth 3 ; Child Loop BB4_34 Depth 4 ; Child Loop BB4_40 Depth 3 ; Child Loop BB4_23 Depth 3 ldr x8, [sp, #16] ; 8-byte Folded Reload madd x8, x19, x22, x8 ldr x9, [sp, #40] ; 8-byte Folded Reload ldrsb w26, [x8, x9] tbnz w26, #31, LBB4_19 ; %bb.15: ; in Loop: Header=BB4_14 Depth=2 Lloh10: adrp x8, __DefaultRuneLocale@GOTPAGE Lloh11: ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF] add x8, x8, w26, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x8000 cbz w0, LBB4_20 LBB4_16: ; in Loop: Header=BB4_14 Depth=2 mov x0, x23 ldr x1, [sp, #8] ; 8-byte Folded Reload mov x2, x21 mov x3, x26 ldr x4, [sp, #24] ; 8-byte Folded Reload mov x5, x25 bl _Find_First cmp w25, #1 str w0, [sp, #52] ; 4-byte Folded Spill b.lt LBB4_27 ; %bb.17: ; in Loop: Header=BB4_14 Depth=2 mov x8, #0 mov w25, #0 LBB4_18: ; Parent Loop BB4_10 Depth=1 ; Parent Loop BB4_14 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w9, [x21, x8] cmp w9, w26, uxtb csel w25, w8, w25, eq add x8, x8, #1 cmp x20, x8 b.ne LBB4_18 b LBB4_28 LBB4_19: ; in Loop: Header=BB4_14 Depth=2 mov x0, x26 mov w1, #32768 bl ___maskrune cbnz w0, LBB4_16 LBB4_20: ; in Loop: Header=BB4_14 Depth=2 mov x0, x24 bl _strlen cmp w26, #35 b.ne LBB4_38 ; %bb.21: ; in Loop: Header=BB4_14 Depth=2 cmp w0, #1 b.lt LBB4_25 ; %bb.22: ; in Loop: Header=BB4_14 Depth=2 and x8, x0, #0xffffffff mov x9, x24 LBB4_23: ; Parent Loop BB4_10 Depth=1 ; Parent Loop BB4_14 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w10, [x9] cmp w10, #35 b.eq LBB4_26 ; %bb.24: ; in Loop: Header=BB4_23 Depth=3 add x9, x9, #1 subs x8, x8, #1 b.ne LBB4_23 LBB4_25: ; in Loop: Header=BB4_14 Depth=2 madd x8, x27, x22, x23 mov w9, #35 strb w9, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB4_26: ; in Loop: Header=BB4_14 Depth=2 mov w28, #-1 ldr x8, [sp, #24] ; 8-byte Folded Reload str w28, [x8, x27, lsl #2] b LBB4_13 LBB4_27: ; in Loop: Header=BB4_14 Depth=2 mov w25, #0 LBB4_28: ; in Loop: Header=BB4_14 Depth=2 smaddl x0, w25, w22, x23 bl _strlen tbnz w0, #31, LBB4_36 ; %bb.29: ; in Loop: Header=BB4_14 Depth=2 mov x26, #0 sxtw x28, w25 add w25, w0, #1 b LBB4_32 LBB4_30: ; in Loop: Header=BB4_32 Depth=3 ldr x8, [sp, #56] ; 8-byte Folded Reload madd x8, x8, x22, x23 strb w27, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB4_31: ; in Loop: Header=BB4_32 Depth=3 add x26, x26, #1 cmp x26, x25 b.eq LBB4_36 LBB4_32: ; Parent Loop BB4_10 Depth=1 ; Parent Loop BB4_14 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB4_34 Depth 4 madd x8, x28, x22, x23 ldrb w27, [x8, x26] mov x0, x24 bl _strlen cmp w0, #1 b.lt LBB4_30 ; %bb.33: ; in Loop: Header=BB4_32 Depth=3 and x8, x0, #0xffffffff mov x9, x24 LBB4_34: ; Parent Loop BB4_10 Depth=1 ; Parent Loop BB4_14 Depth=2 ; Parent Loop BB4_32 Depth=3 ; => This Inner Loop Header: Depth=4 ldrb w10, [x9] cmp w10, w27 b.eq LBB4_31 ; %bb.35: ; in Loop: Header=BB4_34 Depth=4 add x9, x9, #1 subs x8, x8, #1 b.ne LBB4_34 b LBB4_30 LBB4_36: ; in Loop: Header=BB4_14 Depth=2 ldr w28, [sp, #52] ; 4-byte Folded Reload cmn w28, #1 b.eq LBB4_12 ; %bb.37: ; in Loop: Header=BB4_14 Depth=2 ldr w25, [sp, #4] ; 4-byte Folded Reload ldr x27, [sp, #56] ; 8-byte Folded Reload b LBB4_13 LBB4_38: ; in Loop: Header=BB4_14 Depth=2 cmp w0, #1 b.lt LBB4_42 ; %bb.39: ; in Loop: Header=BB4_14 Depth=2 and x8, x0, #0xffffffff mov x9, x24 LBB4_40: ; Parent Loop BB4_10 Depth=1 ; Parent Loop BB4_14 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w10, [x9] cmp w10, w26, uxtb b.eq LBB4_43 ; %bb.41: ; in Loop: Header=BB4_40 Depth=3 add x9, x9, #1 subs x8, x8, #1 b.ne LBB4_40 LBB4_42: ; in Loop: Header=BB4_14 Depth=2 madd x8, x27, x22, x23 strb w26, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB4_43: ; in Loop: Header=BB4_14 Depth=2 ldr x8, [sp, #24] ; 8-byte Folded Reload mov w9, #1 str w9, [x8, x27, lsl #2] b LBB4_13 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _Follow_Of ; -- Begin function Follow_Of .p2align 2 _Follow_Of: ; @Follow_Of .cfi_startproc ; %bb.0: sub sp, sp, #224 .cfi_def_cfa_offset 224 stp x28, x27, [sp, #128] ; 16-byte Folded Spill stp x26, x25, [sp, #144] ; 16-byte Folded Spill stp x24, x23, [sp, #160] ; 16-byte Folded Spill stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .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 str x6, [sp, #104] ; 8-byte Folded Spill str x5, [sp, #32] ; 8-byte Folded Spill str w4, [sp, #12] ; 4-byte Folded Spill ; kill: def $w2 killed $w2 def $x2 Lloh12: adrp x8, _FollowFound@PAGE Lloh13: add x8, x8, _FollowFound@PAGEOFF ldr w9, [x8, w2, sxtw #2] cbz w9, LBB5_2 LBB5_1: ldp x29, x30, [sp, #208] ; 16-byte Folded Reload ldp x20, x19, [sp, #192] ; 16-byte Folded Reload ldp x22, x21, [sp, #176] ; 16-byte Folded Reload ldp x24, x23, [sp, #160] ; 16-byte Folded Reload ldp x26, x25, [sp, #144] ; 16-byte Folded Reload ldp x28, x27, [sp, #128] ; 16-byte Folded Reload add sp, sp, #224 ret LBB5_2: sxtw x10, w2 mov w9, #1 stur x10, [x29, #-88] ; 8-byte Folded Spill str w9, [x8, x10, lsl #2] ldr w8, [sp, #12] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB5_1 ; %bb.3: mov x22, x3 mov x23, x1 mov x24, x0 mov x28, #0 ldur x8, [x29, #-88] ; 8-byte Folded Reload ldrb w9, [x3, x8] str w9, [sp, #76] ; 4-byte Folded Spill mov w19, #100 madd x26, x8, x19, x0 ldr w8, [sp, #12] ; 4-byte Folded Reload mov w27, w8 b LBB5_5 LBB5_4: ; in Loop: Header=BB5_5 Depth=1 add x28, x28, #1 cmp x28, x27 b.eq LBB5_1 LBB5_5: ; =>This Loop Header: Depth=1 ; Child Loop BB5_9 Depth 2 ; Child Loop BB5_11 Depth 3 ; Child Loop BB5_18 Depth 4 ; Child Loop BB5_24 Depth 4 ; Child Loop BB5_27 Depth 5 ; Child Loop BB5_33 Depth 4 ; Child Loop BB5_39 Depth 5 ; Child Loop BB5_45 Depth 5 ; Child Loop BB5_48 Depth 6 ; Child Loop BB5_55 Depth 5 ; Child Loop BB5_58 Depth 6 ; Child Loop BB5_67 Depth 4 ; Child Loop BB5_70 Depth 5 ; Child Loop BB5_78 Depth 4 ; Child Loop BB5_93 Depth 3 ; Child Loop BB5_85 Depth 3 ; Child Loop BB5_88 Depth 4 ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w8, [x8, x28, lsl #2] str x8, [sp, #16] ; 8-byte Folded Spill cmp w8, #1 b.lt LBB5_4 ; %bb.6: ; in Loop: Header=BB5_5 Depth=1 mov x11, #0 madd x25, x28, x19, x24 str x28, [sp, #56] ; 8-byte Folded Spill str x25, [sp, #40] ; 8-byte Folded Spill b LBB5_9 LBB5_7: ; in Loop: Header=BB5_9 Depth=2 ldur x8, [x29, #-88] ; 8-byte Folded Reload madd x8, x8, x19, x24 strb w20, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB5_8: ; in Loop: Header=BB5_9 Depth=2 add x11, x11, #1 ldr x8, [sp, #16] ; 8-byte Folded Reload cmp x11, x8 b.eq LBB5_4 LBB5_9: ; Parent Loop BB5_5 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB5_11 Depth 3 ; Child Loop BB5_18 Depth 4 ; Child Loop BB5_24 Depth 4 ; Child Loop BB5_27 Depth 5 ; Child Loop BB5_33 Depth 4 ; Child Loop BB5_39 Depth 5 ; Child Loop BB5_45 Depth 5 ; Child Loop BB5_48 Depth 6 ; Child Loop BB5_55 Depth 5 ; Child Loop BB5_58 Depth 6 ; Child Loop BB5_67 Depth 4 ; Child Loop BB5_70 Depth 5 ; Child Loop BB5_78 Depth 4 ; Child Loop BB5_93 Depth 3 ; Child Loop BB5_85 Depth 3 ; Child Loop BB5_88 Depth 4 mov w8, #10000 Lloh14: adrp x9, _Productions_List@GOTPAGE Lloh15: ldr x9, [x9, _Productions_List@GOTPAGEOFF] madd x8, x28, x8, x9 madd x8, x11, x19, x8 str x8, [sp, #24] ; 8-byte Folded Spill ldrb w10, [x8] cbz w10, LBB5_8 ; %bb.10: ; in Loop: Header=BB5_9 Depth=2 mov x25, #0 mov w12, #1 stur x11, [x29, #-96] ; 8-byte Folded Spill LBB5_11: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB5_18 Depth 4 ; Child Loop BB5_24 Depth 4 ; Child Loop BB5_27 Depth 5 ; Child Loop BB5_33 Depth 4 ; Child Loop BB5_39 Depth 5 ; Child Loop BB5_45 Depth 5 ; Child Loop BB5_48 Depth 6 ; Child Loop BB5_55 Depth 5 ; Child Loop BB5_58 Depth 6 ; Child Loop BB5_67 Depth 4 ; Child Loop BB5_70 Depth 5 ; Child Loop BB5_78 Depth 4 ldr w8, [sp, #76] ; 4-byte Folded Reload cmp w10, w8 b.ne LBB5_15 ; %bb.12: ; in Loop: Header=BB5_11 Depth=3 str x12, [sp, #80] ; 8-byte Folded Spill add x12, x25, #1 mov w8, #10000 Lloh16: adrp x9, _Productions_List@GOTPAGE Lloh17: ldr x9, [x9, _Productions_List@GOTPAGEOFF] madd x8, x28, x8, x9 madd x8, x11, x19, x8 add x21, x8, x12 ldrsb w20, [x21] cbz w20, LBB5_81 ; %bb.13: ; in Loop: Header=BB5_11 Depth=3 str x12, [sp, #64] ; 8-byte Folded Spill str w10, [sp, #72] ; 4-byte Folded Spill tbnz w20, #31, LBB5_16 ; %bb.14: ; in Loop: Header=BB5_11 Depth=3 Lloh18: adrp x8, __DefaultRuneLocale@GOTPAGE Lloh19: ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF] add x8, x8, w20, uxtw #2 ldr w8, [x8, #60] and w0, w8, #0x8000 cbnz w0, LBB5_17 b LBB5_90 LBB5_15: ; in Loop: Header=BB5_11 Depth=3 add x13, x25, #1 cbnz w10, LBB5_75 b LBB5_8 LBB5_16: ; in Loop: Header=BB5_11 Depth=3 mov x0, x20 mov w1, #32768 bl ___maskrune cbz w0, LBB5_90 LBB5_17: ; in Loop: Header=BB5_11 Depth=3 mov x9, #0 mov w8, #0 mvn w25, w25 LBB5_18: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; => This Inner Loop Header: Depth=4 ldrb w10, [x22, x9] cmp w10, w20, uxtb csel w8, w9, w8, eq add x9, x9, #1 cmp x27, x9 b.ne LBB5_18 ; %bb.19: ; in Loop: Header=BB5_11 Depth=3 ldr x9, [sp, #104] ; 8-byte Folded Reload ldr w9, [x9, w8, sxtw #2] cmn w9, #1 b.eq LBB5_29 ; %bb.20: ; in Loop: Header=BB5_11 Depth=3 sxtw x21, w8 madd x20, x21, x19, x23 mov x0, x20 bl _strlen cbz x0, LBB5_73 ; %bb.21: ; in Loop: Header=BB5_11 Depth=3 mov x25, #0 b LBB5_24 LBB5_22: ; in Loop: Header=BB5_24 Depth=4 ldur x8, [x29, #-88] ; 8-byte Folded Reload madd x8, x8, x19, x24 strb w28, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB5_23: ; in Loop: Header=BB5_24 Depth=4 add x25, x25, #1 mov x0, x20 bl _strlen cmp x0, x25 b.ls LBB5_72 LBB5_24: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; => This Loop Header: Depth=4 ; Child Loop BB5_27 Depth 5 mul x8, x21, x19 add x8, x23, x8 ldrb w28, [x8, x25] mov x0, x26 bl _strlen cmp w28, #35 b.eq LBB5_23 ; %bb.25: ; in Loop: Header=BB5_24 Depth=4 cmp w0, #1 b.lt LBB5_22 ; %bb.26: ; in Loop: Header=BB5_24 Depth=4 and x8, x0, #0xffffffff mov x9, x26 LBB5_27: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; Parent Loop BB5_24 Depth=4 ; => This Inner Loop Header: Depth=5 ldrb w10, [x9] cmp w10, w28 b.eq LBB5_23 ; %bb.28: ; in Loop: Header=BB5_27 Depth=5 add x9, x9, #1 subs x8, x8, #1 b.ne LBB5_27 b LBB5_22 LBB5_29: ; in Loop: Header=BB5_11 Depth=3 ldr x0, [sp, #24] ; 8-byte Folded Reload bl _strlen ldrb w8, [x21] cbz w8, LBB5_73 ; %bb.30: ; in Loop: Header=BB5_11 Depth=3 mov w8, #10000 Lloh20: adrp x9, _Productions_List@GOTPAGE Lloh21: ldr x9, [x9, _Productions_List@GOTPAGEOFF] madd x8, x28, x8, x9 ldur x9, [x29, #-96] ; 8-byte Folded Reload madd x8, x9, x19, x8 ldr x12, [sp, #80] ; 8-byte Folded Reload ldrb w21, [x8, x12] cbz w21, LBB5_60 ; %bb.31: ; in Loop: Header=BB5_11 Depth=3 str wzr, [sp, #100] ; 4-byte Folded Spill add w8, w25, w0 str w8, [sp, #52] ; 4-byte Folded Spill b LBB5_33 LBB5_32: ; in Loop: Header=BB5_33 Depth=4 ldr x12, [sp, #88] ; 8-byte Folded Reload add x12, x12, #1 mov w8, #10000 Lloh22: adrp x9, _Productions_List@GOTPAGE Lloh23: ldr x9, [x9, _Productions_List@GOTPAGEOFF] madd x8, x28, x8, x9 ldur x9, [x29, #-96] ; 8-byte Folded Reload madd x8, x9, x19, x8 ldrb w21, [x8, x12] cbz w21, LBB5_73 LBB5_33: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; => This Loop Header: Depth=4 ; Child Loop BB5_39 Depth 5 ; Child Loop BB5_45 Depth 5 ; Child Loop BB5_48 Depth 6 ; Child Loop BB5_55 Depth 5 ; Child Loop BB5_58 Depth 6 sxtb w20, w21 str x12, [sp, #88] ; 8-byte Folded Spill tbnz w21, #7, LBB5_36 ; %bb.34: ; in Loop: Header=BB5_33 Depth=4 Lloh24: adrp x8, __DefaultRuneLocale@GOTPAGE Lloh25: ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF] add x8, x8, w20, uxtw #2 ldr w8, [x8, #60] tbnz w8, #12, LBB5_61 ; %bb.35: ; in Loop: Header=BB5_33 Depth=4 mov w9, #1280 and w0, w8, w9 cbnz w0, LBB5_38 b LBB5_61 LBB5_36: ; in Loop: Header=BB5_33 Depth=4 mov x0, x20 mov w1, #4096 bl ___maskrune cbnz w0, LBB5_76 ; %bb.37: ; in Loop: Header=BB5_33 Depth=4 mov x0, x20 mov w1, #1280 bl ___maskrune cbz w0, LBB5_61 LBB5_38: ; in Loop: Header=BB5_33 Depth=4 mov x9, #0 mov w8, #0 LBB5_39: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; Parent Loop BB5_33 Depth=4 ; => This Inner Loop Header: Depth=5 ldrb w10, [x22, x9] cmp w10, w21, uxtb csel w8, w9, w8, eq add x9, x9, #1 cmp x27, x9 b.ne LBB5_39 ; %bb.40: ; in Loop: Header=BB5_33 Depth=4 sxtw x21, w8 ldr x9, [sp, #104] ; 8-byte Folded Reload ldr w8, [x9, w8, sxtw #2] madd x20, x21, x19, x23 mov x0, x20 cmn w8, #1 b.ne LBB5_63 ; %bb.41: ; in Loop: Header=BB5_33 Depth=4 bl _strlen cbz x0, LBB5_50 ; %bb.42: ; in Loop: Header=BB5_33 Depth=4 mov x25, #0 b LBB5_45 LBB5_43: ; in Loop: Header=BB5_45 Depth=5 ldur x8, [x29, #-88] ; 8-byte Folded Reload madd x8, x8, x19, x24 strb w28, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB5_44: ; in Loop: Header=BB5_45 Depth=5 add x25, x25, #1 mov x0, x20 bl _strlen cmp x0, x25 b.ls LBB5_50 LBB5_45: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; Parent Loop BB5_33 Depth=4 ; => This Loop Header: Depth=5 ; Child Loop BB5_48 Depth 6 mul x8, x21, x19 add x8, x23, x8 ldrb w28, [x8, x25] mov x0, x26 bl _strlen cmp w28, #35 b.eq LBB5_44 ; %bb.46: ; in Loop: Header=BB5_45 Depth=5 cmp w0, #1 b.lt LBB5_43 ; %bb.47: ; in Loop: Header=BB5_45 Depth=5 and x8, x0, #0xffffffff mov x9, x26 LBB5_48: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; Parent Loop BB5_33 Depth=4 ; Parent Loop BB5_45 Depth=5 ; => This Inner Loop Header: Depth=6 ldrb w10, [x9] cmp w10, w28 b.eq LBB5_44 ; %bb.49: ; in Loop: Header=BB5_48 Depth=6 add x9, x9, #1 subs x8, x8, #1 b.ne LBB5_48 b LBB5_43 LBB5_50: ; in Loop: Header=BB5_33 Depth=4 ldr w8, [sp, #100] ; 4-byte Folded Reload add w8, w8, #1 str w8, [sp, #100] ; 4-byte Folded Spill ldr w9, [sp, #52] ; 4-byte Folded Reload cmp w9, w8 ldr x28, [sp, #56] ; 8-byte Folded Reload ldr x25, [sp, #40] ; 8-byte Folded Reload b.ne LBB5_32 ; %bb.51: ; in Loop: Header=BB5_33 Depth=4 mov x0, x24 mov x1, x23 mov x2, x28 mov x3, x22 mov x4, x27 ldr x5, [sp, #32] ; 8-byte Folded Reload ldr x6, [sp, #104] ; 8-byte Folded Reload bl _Follow_Of mov x0, x25 bl _strlen cbz x0, LBB5_32 ; %bb.52: ; in Loop: Header=BB5_33 Depth=4 mov x20, #0 b LBB5_55 LBB5_53: ; in Loop: Header=BB5_55 Depth=5 ldur x8, [x29, #-88] ; 8-byte Folded Reload madd x8, x8, x19, x24 strb w21, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB5_54: ; in Loop: Header=BB5_55 Depth=5 add x20, x20, #1 mov x0, x25 bl _strlen cmp x0, x20 b.ls LBB5_32 LBB5_55: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; Parent Loop BB5_33 Depth=4 ; => This Loop Header: Depth=5 ; Child Loop BB5_58 Depth 6 madd x8, x28, x19, x24 ldrb w21, [x8, x20] mov x0, x26 bl _strlen cmp w21, #35 b.eq LBB5_54 ; %bb.56: ; in Loop: Header=BB5_55 Depth=5 cmp w0, #1 b.lt LBB5_53 ; %bb.57: ; in Loop: Header=BB5_55 Depth=5 and x8, x0, #0xffffffff mov x9, x26 LBB5_58: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; Parent Loop BB5_33 Depth=4 ; Parent Loop BB5_55 Depth=5 ; => This Inner Loop Header: Depth=6 ldrb w10, [x9] cmp w10, w21 b.eq LBB5_54 ; %bb.59: ; in Loop: Header=BB5_58 Depth=6 add x9, x9, #1 subs x8, x8, #1 b.ne LBB5_58 b LBB5_53 LBB5_60: ; in Loop: Header=BB5_11 Depth=3 ldur x11, [x29, #-96] ; 8-byte Folded Reload ldr w10, [sp, #72] ; 4-byte Folded Reload b LBB5_74 LBB5_61: ; in Loop: Header=BB5_11 Depth=3 mov x0, x26 bl _strlen and w8, w21, #0xff cmp w8, #35 b.eq LBB5_73 ; %bb.62: ; in Loop: Header=BB5_11 Depth=3 cmp w0, #1 b.ge LBB5_77 b LBB5_80 LBB5_63: ; in Loop: Header=BB5_11 Depth=3 bl _strlen cbz x0, LBB5_72 ; %bb.64: ; in Loop: Header=BB5_11 Depth=3 mov x25, #0 b LBB5_67 LBB5_65: ; in Loop: Header=BB5_67 Depth=4 ldur x8, [x29, #-88] ; 8-byte Folded Reload madd x8, x8, x19, x24 strb w28, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB5_66: ; in Loop: Header=BB5_67 Depth=4 add x25, x25, #1 mov x0, x20 bl _strlen cmp x0, x25 b.ls LBB5_72 LBB5_67: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; => This Loop Header: Depth=4 ; Child Loop BB5_70 Depth 5 mul x8, x21, x19 add x8, x23, x8 ldrb w28, [x8, x25] mov x0, x26 bl _strlen cmp w28, #35 b.eq LBB5_66 ; %bb.68: ; in Loop: Header=BB5_67 Depth=4 cmp w0, #1 b.lt LBB5_65 ; %bb.69: ; in Loop: Header=BB5_67 Depth=4 and x8, x0, #0xffffffff mov x9, x26 LBB5_70: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; Parent Loop BB5_67 Depth=4 ; => This Inner Loop Header: Depth=5 ldrb w10, [x9] cmp w10, w28 b.eq LBB5_66 ; %bb.71: ; in Loop: Header=BB5_70 Depth=5 add x9, x9, #1 subs x8, x8, #1 b.ne LBB5_70 b LBB5_65 LBB5_72: ; in Loop: Header=BB5_11 Depth=3 ldr x28, [sp, #56] ; 8-byte Folded Reload LBB5_73: ; in Loop: Header=BB5_11 Depth=3 ldur x11, [x29, #-96] ; 8-byte Folded Reload ldr w10, [sp, #72] ; 4-byte Folded Reload ldr x12, [sp, #80] ; 8-byte Folded Reload LBB5_74: ; in Loop: Header=BB5_11 Depth=3 ldr x13, [sp, #64] ; 8-byte Folded Reload cbz w10, LBB5_8 LBB5_75: ; in Loop: Header=BB5_11 Depth=3 add x12, x12, #1 mov w8, #10000 Lloh26: adrp x9, _Productions_List@GOTPAGE Lloh27: ldr x9, [x9, _Productions_List@GOTPAGEOFF] madd x8, x28, x8, x9 madd x8, x11, x19, x8 ldrb w10, [x8, x13] mov x25, x13 b LBB5_11 LBB5_76: ; in Loop: Header=BB5_11 Depth=3 mov x0, x26 bl _strlen cmp w0, #1 b.lt LBB5_80 LBB5_77: ; in Loop: Header=BB5_11 Depth=3 and x8, x0, #0xffffffff mov x9, x26 LBB5_78: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_11 Depth=3 ; => This Inner Loop Header: Depth=4 ldrb w10, [x9] cmp w10, w21, uxtb b.eq LBB5_73 ; %bb.79: ; in Loop: Header=BB5_78 Depth=4 add x9, x9, #1 subs x8, x8, #1 b.ne LBB5_78 LBB5_80: ; in Loop: Header=BB5_11 Depth=3 ldur x8, [x29, #-88] ; 8-byte Folded Reload madd x8, x8, x19, x24 strb w21, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] b LBB5_73 LBB5_81: ; in Loop: Header=BB5_9 Depth=2 mov x0, x24 mov x1, x23 mov x2, x28 mov x3, x22 ldr w4, [sp, #12] ; 4-byte Folded Reload ldr x5, [sp, #32] ; 8-byte Folded Reload ldr x6, [sp, #104] ; 8-byte Folded Reload bl _Follow_Of ldr x25, [sp, #40] ; 8-byte Folded Reload mov x0, x25 bl _strlen ldur x11, [x29, #-96] ; 8-byte Folded Reload cbz x0, LBB5_8 ; %bb.82: ; in Loop: Header=BB5_9 Depth=2 mov x20, #0 b LBB5_85 LBB5_83: ; in Loop: Header=BB5_85 Depth=3 ldur x8, [x29, #-88] ; 8-byte Folded Reload madd x8, x8, x19, x24 strb w21, [x8, w0, sxtw] add w9, w0, #1 strb wzr, [x8, w9, sxtw] LBB5_84: ; in Loop: Header=BB5_85 Depth=3 add x20, x20, #1 mov x0, x25 bl _strlen cmp x0, x20 ldur x11, [x29, #-96] ; 8-byte Folded Reload b.ls LBB5_8 LBB5_85: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB5_88 Depth 4 madd x8, x28, x19, x24 ldrb w21, [x8, x20] mov x0, x26 bl _strlen cmp w21, #35 b.eq LBB5_84 ; %bb.86: ; in Loop: Header=BB5_85 Depth=3 cmp w0, #1 b.lt LBB5_83 ; %bb.87: ; in Loop: Header=BB5_85 Depth=3 and x8, x0, #0xffffffff mov x9, x26 LBB5_88: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; Parent Loop BB5_85 Depth=3 ; => This Inner Loop Header: Depth=4 ldrb w10, [x9] cmp w10, w21 b.eq LBB5_84 ; %bb.89: ; in Loop: Header=BB5_88 Depth=4 add x9, x9, #1 subs x8, x8, #1 b.ne LBB5_88 b LBB5_83 LBB5_90: ; in Loop: Header=BB5_9 Depth=2 mov x0, x26 bl _strlen cmp w20, #35 ldur x11, [x29, #-96] ; 8-byte Folded Reload b.eq LBB5_8 ; %bb.91: ; in Loop: Header=BB5_9 Depth=2 cmp w0, #1 b.lt LBB5_7 ; %bb.92: ; in Loop: Header=BB5_9 Depth=2 and x8, x0, #0xffffffff mov x9, x26 LBB5_93: ; Parent Loop BB5_5 Depth=1 ; Parent Loop BB5_9 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w10, [x9] cmp w10, w20, uxtb b.eq LBB5_8 ; %bb.94: ; in Loop: Header=BB5_93 Depth=3 add x9, x9, #1 subs x8, x8, #1 b.ne LBB5_93 b LBB5_7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .cfi_endproc ; -- End function .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 mov w9, #21056 Lloh28: adrp x16, ___chkstk_darwin@GOTPAGE Lloh29: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #5, lsl #12 ; =20480 sub sp, sp, #576 add x19, sp, #5, lsl #12 ; =20480 add x19, x19, #360 Lloh30: adrp x8, ___stack_chk_guard@GOTPAGE Lloh31: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh32: ldr x8, [x8] stur x8, [x29, #-96] Lloh33: adrp x0, l_.str.3@PAGE Lloh34: add x0, x0, l_.str.3@PAGEOFF bl _printf add x8, sp, #36 str x8, [sp] Lloh35: adrp x0, l_.str.4@PAGE Lloh36: add x0, x0, l_.str.4@PAGEOFF bl _scanf Lloh37: adrp x0, l_str@PAGE Lloh38: add x0, x0, l_str@PAGEOFF bl _puts Lloh39: adrp x0, l_.str.6@PAGE Lloh40: add x0, x0, l_.str.6@PAGEOFF bl _printf sub x8, x29, #196 str x8, [sp] Lloh41: adrp x0, l_.str.7@PAGE Lloh42: add x0, x0, l_.str.7@PAGEOFF bl _scanf mov w8, #83 strb w8, [x19] sub x0, x29, #196 bl _strlen Lloh43: adrp x20, _Productions_List@GOTPAGE Lloh44: ldr x20, [x20, _Productions_List@GOTPAGEOFF] cmp w0, #1 b.lt LBB6_6 ; %bb.1: mov w8, #0 mov w10, #0 and x9, x0, #0xffffffff sub x11, x29, #196 mov w12, #100 b LBB6_4 LBB6_2: ; in Loop: Header=BB6_4 Depth=1 strb w14, [x13] add w10, w10, #1 LBB6_3: ; in Loop: Header=BB6_4 Depth=1 add x11, x11, #1 subs x9, x9, #1 b.eq LBB6_7 LBB6_4: ; =>This Inner Loop Header: Depth=1 ldrb w14, [x11] smaddl x13, w8, w12, x20 add x13, x13, w10, sxtw cmp w14, #124 b.ne LBB6_2 ; %bb.5: ; in Loop: Header=BB6_4 Depth=1 mov w10, #0 strb wzr, [x13] add w8, w8, #1 b LBB6_3 LBB6_6: mov w8, #0 LBB6_7: add w21, w8, #1 str w21, [sp, #40] ldr w8, [sp, #36] cmp w8, #1 b.le LBB6_17 ; %bb.8: mov w22, #1 sub x23, x29, #196 add x24, sp, #35 add x25, sp, #5, lsl #12 ; =20480 add x25, x25, #360 mov w26, #10000 mov w27, #100 add x28, sp, #40 Lloh45: adrp x19, l_.str.8@PAGE Lloh46: add x19, x19, l_.str.8@PAGEOFF b LBB6_11 LBB6_9: ; in Loop: Header=BB6_11 Depth=1 mov w8, #0 LBB6_10: ; in Loop: Header=BB6_11 Depth=1 add w8, w8, #1 str w8, [x28, x22, lsl #2] add x22, x22, #1 ldr w8, [sp, #36] cmp w8, w22 b.le LBB6_17 LBB6_11: ; =>This Loop Header: Depth=1 ; Child Loop BB6_15 Depth 2 stp x24, x23, [sp] mov x0, x19 bl _scanf ldrb w8, [sp, #35] strb w8, [x25, x22] sub x0, x29, #196 bl _strlen cmp w0, #1 b.lt LBB6_9 ; %bb.12: ; in Loop: Header=BB6_11 Depth=1 mov w8, #0 mov w10, #0 and x9, x0, #0xffffffff sub x11, x29, #196 b LBB6_15 LBB6_13: ; in Loop: Header=BB6_15 Depth=2 strb w12, [x13] add w10, w10, #1 LBB6_14: ; in Loop: Header=BB6_15 Depth=2 add x11, x11, #1 subs x9, x9, #1 b.eq LBB6_10 LBB6_15: ; Parent Loop BB6_11 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w12, [x11] madd x13, x22, x26, x20 smaddl x13, w8, w27, x13 add x13, x13, w10, sxtw cmp w12, #124 b.ne LBB6_13 ; %bb.16: ; in Loop: Header=BB6_15 Depth=2 mov w10, #0 strb wzr, [x13] add w8, w8, #1 b LBB6_14 LBB6_17: Lloh47: adrp x0, l_str.17@PAGE Lloh48: add x0, x0, l_str.17@PAGEOFF bl _puts ldr w8, [sp, #36] str x8, [sp, #16] ; 8-byte Folded Spill cmp w8, #1 b.lt LBB6_26 ; %bb.18: mov x23, #0 add x8, x20, #1 str x8, [sp, #24] ; 8-byte Folded Spill mov w26, #100 mov w27, #10000 Lloh49: adrp x19, l_.str@PAGE Lloh50: add x19, x19, l_.str@PAGEOFF cmp w21, #1 b.lt LBB6_24 LBB6_19: mov x25, #0 add x8, sp, #5, lsl #12 ; =20480 add x8, x8, #360 ldrsb w28, [x8, x23] sxtw x21, w21 ldr x22, [sp, #24] ; 8-byte Folded Reload b LBB6_21 LBB6_20: ; in Loop: Header=BB6_21 Depth=1 mov w0, #10 bl _putchar add x25, x25, #1 add x22, x22, #100 cmp x25, x21 b.ge LBB6_24 LBB6_21: ; =>This Loop Header: Depth=1 ; Child Loop BB6_23 Depth 2 str x28, [sp] mov x0, x19 bl _printf mul x8, x25, x26 madd x9, x23, x27, x20 ldrb w8, [x9, x8] cbz w8, LBB6_20 ; %bb.22: ; in Loop: Header=BB6_21 Depth=1 mov x24, x22 LBB6_23: ; Parent Loop BB6_21 Depth=1 ; => This Inner Loop Header: Depth=2 sxtb w0, w8 bl _putchar ldrb w8, [x24], #1 cbnz w8, LBB6_23 b LBB6_20 LBB6_24: ; =>This Inner Loop Header: Depth=1 add x23, x23, #1 ldr x8, [sp, #16] ; 8-byte Folded Reload cmp x23, x8 b.eq LBB6_26 ; %bb.25: ; in Loop: Header=BB6_24 Depth=1 add x8, sp, #40 ldr w21, [x8, x23, lsl #2] ldr x8, [sp, #24] ; 8-byte Folded Reload add x8, x8, x27 str x8, [sp, #24] ; 8-byte Folded Spill cmp w21, #1 b.ge LBB6_19 b LBB6_24 LBB6_26: add x22, sp, #840 Lloh51: adrp x0, l_str.17@PAGE Lloh52: add x0, x0, l_str.17@PAGEOFF bl _puts ldr w8, [sp, #36] cmp w8, #1 b.lt LBB6_43 ; %bb.27: mov x8, #0 ldr w5, [sp, #36] sxtw x9, w5 add x10, sp, #2, lsl #12 ; =8192 add x10, x10, #2648 add x11, sp, #440 LBB6_28: ; =>This Inner Loop Header: Depth=1 strb wzr, [x10], #100 str wzr, [x11, x8, lsl #2] add x8, x8, #1 cmp x8, x9 b.lt LBB6_28 ; %bb.29: cmp w5, #1 b.lt LBB6_43 ; %bb.30: mov x19, #0 add x20, sp, #440 add x21, sp, #5, lsl #12 ; =20480 add x21, x21, #360 b LBB6_32 LBB6_31: ; in Loop: Header=BB6_32 Depth=1 add x19, x19, #1 cmp x19, w5, sxtw b.ge LBB6_34 LBB6_32: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20, x19, lsl #2] cbnz w8, LBB6_31 ; %bb.33: ; in Loop: Header=BB6_32 Depth=1 ldrsb w3, [x21, x19] add x0, sp, #2, lsl #12 ; =8192 add x0, x0, #2648 add x1, sp, #40 add x2, sp, #5, lsl #12 ; =20480 add x2, x2, #360 add x4, sp, #440 ; kill: def $w5 killed $w5 killed $x5 bl _Find_First ldr w5, [sp, #36] b LBB6_31 LBB6_34: cmp w5, #1 b.lt LBB6_43 ; %bb.35: mov x23, #0 mov w8, #83 Lloh53: adrp x19, l_.str.11@PAGE Lloh54: add x19, x19, l_.str.11@PAGEOFF mov w25, #100 add x26, sp, #5, lsl #12 ; =20480 add x26, x26, #360 add x27, sp, #440 mov w28, #-1 add x22, sp, #2, lsl #12 ; =8192 add x22, x22, #2648 Lloh55: adrp x20, l_.str.12@PAGE Lloh56: add x20, x20, l_.str.12@PAGEOFF LBB6_36: ; =>This Loop Header: Depth=1 ; Child Loop BB6_39 Depth 2 sxtb x8, w8 str x8, [sp] mov x0, x19 bl _printf add x8, sp, #2, lsl #12 ; =8192 add x8, x8, #2648 madd x21, x23, x25, x8 mov x0, x21 bl _strlen cbz x0, LBB6_41 ; %bb.37: ; in Loop: Header=BB6_36 Depth=1 mov x24, #0 b LBB6_39 LBB6_38: ; in Loop: Header=BB6_39 Depth=2 add x24, x24, #1 mov x0, x21 bl _strlen cmp x0, x24 b.ls LBB6_41 LBB6_39: ; Parent Loop BB6_36 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb x8, [x22, x24] str x8, [sp] mov x0, x20 bl _printf ldrb w8, [x22, x24] cmp w8, #35 b.ne LBB6_38 ; %bb.40: ; in Loop: Header=BB6_39 Depth=2 str w28, [x27, x23, lsl #2] b LBB6_38 LBB6_41: ; in Loop: Header=BB6_36 Depth=1 mov w0, #10 bl _putchar add x23, x23, #1 ldrsw x4, [sp, #36] cmp x23, x4 b.ge LBB6_52 ; %bb.42: ; in Loop: Header=BB6_36 Depth=1 ldrb w8, [x26, x23] add x22, x22, #100 b LBB6_36 LBB6_43: mov w8, #36 strh w8, [x22] LBB6_44: Lloh57: adrp x0, l_str.17@PAGE Lloh58: add x0, x0, l_str.17@PAGEOFF bl _puts ldr w8, [sp, #36] cmp w8, #1 b.lt LBB6_50 ; %bb.45: mov x22, #0 add x23, sp, #840 add x24, sp, #5, lsl #12 ; =20480 add x24, x24, #360 Lloh59: adrp x19, l_.str.14@PAGE Lloh60: add x19, x19, l_.str.14@PAGEOFF mov w25, #100 add x26, sp, #840 Lloh61: adrp x20, l_.str.12@PAGE Lloh62: add x20, x20, l_.str.12@PAGEOFF b LBB6_47 LBB6_46: ; in Loop: Header=BB6_47 Depth=1 mov w0, #10 bl _putchar add x22, x22, #1 ldrsw x8, [sp, #36] add x26, x26, #100 cmp x22, x8 b.ge LBB6_50 LBB6_47: ; =>This Loop Header: Depth=1 ; Child Loop BB6_49 Depth 2 ldrsb x8, [x24, x22] str x8, [sp] mov x0, x19 bl _printf madd x21, x22, x25, x23 mov x0, x21 bl _strlen cbz x0, LBB6_46 ; %bb.48: ; in Loop: Header=BB6_47 Depth=1 mov x27, #0 LBB6_49: ; Parent Loop BB6_47 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb x8, [x26, x27] str x8, [sp] mov x0, x20 bl _printf add x27, x27, #1 mov x0, x21 bl _strlen cmp x0, x27 b.hi LBB6_49 b LBB6_46 LBB6_50: ldur x8, [x29, #-96] Lloh63: adrp x9, ___stack_chk_guard@GOTPAGE Lloh64: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh65: ldr x9, [x9] cmp x9, x8 b.ne LBB6_58 ; %bb.51: add sp, sp, #5, lsl #12 ; =20480 add sp, sp, #576 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 LBB6_52: mov w8, #36 add x9, sp, #840 strh w8, [x9] cmp w4, #1 b.le LBB6_55 ; %bb.53: ldr w4, [sp, #36] mov x8, x4 sxtw x8, w8 add x9, sp, #840 add x9, x9, #100 mov w10, #1 LBB6_54: ; =>This Inner Loop Header: Depth=1 strb wzr, [x9], #100 add x10, x10, #1 cmp x10, x8 b.lt LBB6_54 LBB6_55: cmp w4, #1 b.lt LBB6_44 ; %bb.56: mov w19, #0 LBB6_57: ; =>This Inner Loop Header: Depth=1 add x0, sp, #840 add x1, sp, #2, lsl #12 ; =8192 add x1, x1, #2648 add x3, sp, #5, lsl #12 ; =20480 add x3, x3, #360 add x5, sp, #40 add x6, sp, #440 mov x2, x19 ; kill: def $w4 killed $w4 killed $x4 bl _Follow_Of add w19, w19, #1 ldr w4, [sp, #36] cmp w19, w4 b.lt LBB6_57 b LBB6_44 LBB6_58: bl ___stack_chk_fail .loh AdrpLdrGot Lloh43, Lloh44 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .cfi_endproc ; -- End function .globl _FollowFound ; @FollowFound .zerofill __DATA,__common,_FollowFound,400,2 .comm _Productions_List,1000000,0 ; @Productions_List .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\t%c -> " l_.str.3: ; @.str.3 .asciz "Enter number of Productions:" l_.str.4: ; @.str.4 .asciz "%d" l_.str.6: ; @.str.6 .asciz "S -> " l_.str.7: ; @.str.7 .asciz "%s" l_.str.8: ; @.str.8 .asciz "\n%c -> %s" l_.str.11: ; @.str.11 .asciz "First(%c) -> " l_.str.12: ; @.str.12 .asciz "%c " l_.str.14: ; @.str.14 .asciz "Follow(%c) -> " l_str: ; @str .asciz "Enter The Productions:\nFormat:\tVariable -> Production1|...|Production N\n# is Epsilon \316\265" l_str.17: ; @str.17 .asciz "\n" .subsections_via_symbols
the_stack_data/136585.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 leaq L_.str(%rip), %rdi movl $20, %esi movl $20, %edx xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d %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, #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 mov w8, #20 stp x8, x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d %d" .subsections_via_symbols
the_stack_data/122408.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m_copym ## -- Begin function m_copym .p2align 4, 0x90 _m_copym: ## @m_copym .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _M_COPYM_MOVE_HDR@GOTPCREL(%rip), %rax movl (%rax), %r8d popq %rbp jmp _m_copym_mode ## TAILCALL .cfi_endproc ## -- End function .comm _M_COPYM_MOVE_HDR,4,2 ## @M_COPYM_MOVE_HDR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _m_copym ; -- Begin function m_copym .p2align 2 _m_copym: ; @m_copym .cfi_startproc ; %bb.0: Lloh0: adrp x8, _M_COPYM_MOVE_HDR@GOTPAGE Lloh1: ldr x8, [x8, _M_COPYM_MOVE_HDR@GOTPAGEOFF] Lloh2: ldr w4, [x8] b _m_copym_mode .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _M_COPYM_MOVE_HDR,4,2 ; @M_COPYM_MOVE_HDR .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/kern/extr_uipc_mbuf.c_m_copym.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _amdgpu_vram_mgr_vis_usage ## -- Begin function amdgpu_vram_mgr_vis_usage .p2align 4, 0x90 _amdgpu_vram_mgr_vis_usage: ## @amdgpu_vram_mgr_vis_usage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rdi popq %rbp jmp _atomic64_read ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _amdgpu_vram_mgr_vis_usage ; -- Begin function amdgpu_vram_mgr_vis_usage .p2align 2 _amdgpu_vram_mgr_vis_usage: ; @amdgpu_vram_mgr_vis_usage .cfi_startproc ; %bb.0: ldr x0, [x0] b _atomic64_read .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_vram_mgr.c_amdgpu_vram_mgr_vis_usage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___ibv_open_device_1_0 ## -- Begin function __ibv_open_device_1_0 .p2align 4, 0x90 ___ibv_open_device_1_0: ## @__ibv_open_device_1_0 .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 movl $40, %edi callq _malloc testq %rax, %rax je LBB0_5 ## %bb.1: movq %rax, %rbx movl (%r14), %edi callq _ibv_open_device testq %rax, %rax je LBB0_4 ## %bb.2: movq %r14, 32(%rbx) movq %rax, 24(%rbx) movq _poll_cq_wrapper_1_0@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rbx) movq _req_notify_cq_wrapper_1_0@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 12(%rbx) movq _post_send_wrapper_1_0@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) movq _post_recv_wrapper_1_0@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%rbx) movq _post_srq_recv_wrapper_1_0@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) jmp LBB0_6 LBB0_4: movq %rbx, %rdi callq _free LBB0_5: xorl %ebx, %ebx LBB0_6: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _poll_cq_wrapper_1_0,4,2 ## @poll_cq_wrapper_1_0 .comm _req_notify_cq_wrapper_1_0,4,2 ## @req_notify_cq_wrapper_1_0 .comm _post_send_wrapper_1_0,4,2 ## @post_send_wrapper_1_0 .comm _post_recv_wrapper_1_0,4,2 ## @post_recv_wrapper_1_0 .comm _post_srq_recv_wrapper_1_0,4,2 ## @post_srq_recv_wrapper_1_0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___ibv_open_device_1_0 ; -- Begin function __ibv_open_device_1_0 .p2align 2 ___ibv_open_device_1_0: ; @__ibv_open_device_1_0 .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, x0 mov w0, #40 bl _malloc mov x19, x0 cbz x0, LBB0_4 ; %bb.1: ldr w0, [x20] bl _ibv_open_device cbz x0, LBB0_3 ; %bb.2: stp x0, x20, [x19, #24] Lloh0: adrp x8, _poll_cq_wrapper_1_0@GOTPAGE Lloh1: ldr x8, [x8, _poll_cq_wrapper_1_0@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x19, #16] Lloh3: adrp x8, _req_notify_cq_wrapper_1_0@GOTPAGE Lloh4: ldr x8, [x8, _req_notify_cq_wrapper_1_0@GOTPAGEOFF] Lloh5: adrp x9, _post_send_wrapper_1_0@GOTPAGE Lloh6: ldr x9, [x9, _post_send_wrapper_1_0@GOTPAGEOFF] Lloh7: ldr w8, [x8] Lloh8: ldr w9, [x9] stp w9, w8, [x19, #8] Lloh9: adrp x8, _post_recv_wrapper_1_0@GOTPAGE Lloh10: ldr x8, [x8, _post_recv_wrapper_1_0@GOTPAGEOFF] Lloh11: ldr w8, [x8] Lloh12: adrp x9, _post_srq_recv_wrapper_1_0@GOTPAGE Lloh13: ldr x9, [x9, _post_srq_recv_wrapper_1_0@GOTPAGEOFF] Lloh14: ldr w9, [x9] stp w9, w8, [x19] b LBB0_4 LBB0_3: mov x0, x19 bl _free mov x19, #0 LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _poll_cq_wrapper_1_0,4,2 ; @poll_cq_wrapper_1_0 .comm _req_notify_cq_wrapper_1_0,4,2 ; @req_notify_cq_wrapper_1_0 .comm _post_send_wrapper_1_0,4,2 ; @post_send_wrapper_1_0 .comm _post_recv_wrapper_1_0,4,2 ; @post_recv_wrapper_1_0 .comm _post_srq_recv_wrapper_1_0,4,2 ; @post_srq_recv_wrapper_1_0 .subsections_via_symbols
AnghaBench/freebsd/contrib/ofed/libibverbs/extr_compat-1_0.c___ibv_open_device_1_0.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function btu_hcif_link_key_request_evt _btu_hcif_link_key_request_evt: ## @btu_hcif_link_key_request_evt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi callq _STREAM_TO_BDADDR popq %rbp jmp _btm_sec_link_key_request ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _btu_hcif_link_key_request_evt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function btu_hcif_link_key_request_evt _btu_hcif_link_key_request_evt: ; @btu_hcif_link_key_request_evt .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 x1, x0 bl _STREAM_TO_BDADDR ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _btm_sec_link_key_request .cfi_endproc ; -- End function .no_dead_strip _btu_hcif_link_key_request_evt .subsections_via_symbols
AnghaBench/esp-idf/components/bt/host/bluedroid/stack/btu/extr_btu_hcif.c_btu_hcif_link_key_request_evt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_avail_vl_in_subn _get_avail_vl_in_subn: ## @get_avail_vl_in_subn .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), %rbx movq %rbx, %rdi callq _cl_qmap_head movq %rax, %r15 movq %rbx, %rdi callq _cl_qmap_end cmpq %rax, %r15 je LBB0_1 ## %bb.2: movl $255, %r14d jmp LBB0_3 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %rdi callq _cl_qmap_next movq %rax, %r15 movq %rbx, %rdi callq _cl_qmap_end cmpq %rax, %r15 je LBB0_10 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movl (%r15), %edi callq _osm_node_get_num_physp testl %eax, %eax jle LBB0_9 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 xorl %r12d, %r12d jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=2 movq %rax, %rdi callq _ib_port_info_get_op_vls cmpl %r14d, %eax movl %r14d, %ecx cmovll %eax, %ecx testl %eax, %eax cmovnel %ecx, %r14d LBB0_8: ## in Loop: Header=BB0_5 Depth=2 movl (%r15), %edi callq _osm_node_get_num_physp cmpl %eax, %r12d jge LBB0_9 LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 incl %r12d movl (%r15), %edi movl %r12d, %esi callq _osm_node_get_physp_ptr testq %rax, %rax jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 cmpq $0, 8 jne LBB0_7 jmp LBB0_8 LBB0_10: incl %r14d jmp LBB0_11 LBB0_1: movl $256, %r14d ## imm = 0x100 LBB0_11: movl $1, %edx movl $1, %esi movl %r14d, %ecx shll %cl, %esi cmpl $15, %esi movl $15, %eax cmovll %esi, %eax cmpl $2, %eax cmovll %edx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_avail_vl_in_subn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_avail_vl_in_subn _get_avail_vl_in_subn: ; @get_avail_vl_in_subn .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill 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 ldr x19, [x0] mov x0, x19 bl _cl_qmap_head mov x20, x0 mov x0, x19 bl _cl_qmap_end cmp x20, x0 b.eq LBB0_10 ; %bb.1: mov w21, #255 ; =0xff mov w22, #8 ; =0x8 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _cl_qmap_next mov x20, x0 mov x0, x19 bl _cl_qmap_end cmp x20, x0 b.eq LBB0_9 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ldr w0, [x20] bl _osm_node_get_num_physp cmp w0, #1 b.lt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w23, #0 ; =0x0 b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=2 bl _ib_port_info_get_op_vls cmp w0, w21 csel w8, w0, w21, lt cmp w0, #0 csel w21, w21, w8, eq LBB0_6: ; in Loop: Header=BB0_7 Depth=2 ldr w0, [x20] bl _osm_node_get_num_physp add w23, w23, #1 cmp w23, w0 b.ge LBB0_2 LBB0_7: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w0, [x20] add w1, w23, #1 bl _osm_node_get_physp_ptr cbnz x0, LBB0_5 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 ldr x8, [x22] cbnz x8, LBB0_5 b LBB0_6 LBB0_9: add w8, w21, #1 b LBB0_11 LBB0_10: mov w8, #256 ; =0x100 LBB0_11: mov w9, #1 ; =0x1 lsl w8, w9, w8 mov w9, #15 ; =0xf cmp w8, #15 csel w8, w8, w9, lt cmp w8, #1 csinc w0, w8, wzr, gt 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 _get_avail_vl_in_subn .subsections_via_symbols
assembly_file_133867.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function read_palette _read_palette: ## @read_palette .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, %r15d movq %rsi, %r13 movq %rdi, %r14 movq $0, -64(%rbp) movl $-1, (%rsi) leaq -64(%rbp), %rdx movl %r15d, %edi movl %ecx, %esi movq %r13, %rcx callq _png_get_PLTE movq _PNG_INFO_PLTE@GOTPCREL(%rip), %rcx movl (%r13), %ebx testl %eax, (%rcx) je LBB0_6 ## %bb.1: leal -257(%rbx), %eax cmpl $-257, %eax ## imm = 0xFEFF ja LBB0_3 ## %bb.2: leaq L_.str(%rip), %rsi movl %r15d, %edi callq _png_error testl %ebx, %ebx jle LBB0_5 LBB0_3: movq -64(%rbp), %rax incq %rbx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 leal -2(%rbx), %ecx leaq (%rcx,%rcx,2), %rdx movl 8(%rax,%rdx,4), %esi shlq $4, %rcx movl %esi, 12(%r14,%rcx) movl 4(%rax,%rdx,4), %esi movl %esi, 8(%r14,%rcx) movl (%rax,%rdx,4), %edx movl %edx, 4(%r14,%rcx) decq %rbx cmpq $1, %rbx ja LBB0_4 LBB0_5: movq %r13, %rbx movslq (%r13), %rax movq %rax, %rdi shlq $4, %rdi addq %r14, %rdi shll $4, %eax movl $4096, %edx ## imm = 0x1000 subl %eax, %edx movl $126, %esi jmp LBB0_9 LBB0_6: cmpl $-1, %ebx je LBB0_8 ## %bb.7: leaq L_.str.1(%rip), %rsi movl %r15d, %edi callq _png_error LBB0_8: movq %r13, %rbx movl $0, (%r13) movq %r14, %rdi movl $113, %esi movl $8, %edx LBB0_9: callq _memset movq $0, -56(%rbp) movl $2, -44(%rbp) leaq -56(%rbp), %rdx leaq -44(%rbp), %rcx xorl %r13d, %r13d movl %r15d, %edi movl %r12d, %esi xorl %r8d, %r8d callq _png_get_tRNS movq _PNG_INFO_tRNS@GOTPCREL(%rip), %rcx testl %eax, (%rcx) je LBB0_11 ## %bb.10: movq -56(%rbp), %rax movl -44(%rbp), %r9d xorl %ecx, %ecx cmpl $1, %r9d sete %cl xorl %edx, %edx testl %r9d, %r9d sete %dl testq %rax, %rax cmovel %ecx, %edx testb %dl, %dl je LBB0_14 LBB0_11: movl (%rbx), %ecx testl %ecx, %ecx jle LBB0_27 ## %bb.12: leaq -1(%rcx), %rdx movl %ecx, %eax andl $3, %eax cmpq $3, %rdx jae LBB0_21 ## %bb.13: xorl %edx, %edx jmp LBB0_23 LBB0_14: testq %rax, %rax movq %rbx, %r12 je LBB0_18 ## %bb.15: testl %r9d, %r9d jle LBB0_18 ## %bb.16: cmpl $256, %r9d ## imm = 0x100 jg LBB0_18 ## %bb.17: cmpl (%r12), %r9d jle LBB0_19 LBB0_18: leaq L_.str.2(%rip), %rsi movl %r15d, %edi callq _png_error movl -44(%rbp), %r9d testl %r9d, %r9d jle LBB0_37 LBB0_19: movq -56(%rbp), %rax movl %r9d, %r10d cmpl $8, %r9d jb LBB0_20 ## %bb.34: leaq (%rax,%r10,4), %rcx cmpq %r14, %rcx jbe LBB0_38 ## %bb.35: movq %r10, %rcx shlq $4, %rcx addq %r14, %rcx addq $-12, %rcx cmpq %rcx, %rax jae LBB0_38 LBB0_20: xorl %esi, %esi LBB0_41: movq %rsi, %r8 notq %r8 addq %r10, %r8 movq %r10, %rdx andq $3, %rdx je LBB0_44 ## %bb.42: movq %rsi, %rdi shlq $4, %rdi addq %r14, %rdi shlq $4, %rdx xorl %ecx, %ecx .p2align 4, 0x90 LBB0_43: ## =>This Inner Loop Header: Depth=1 movl (%rax,%rsi,4), %ebx movl %ebx, (%rdi,%rcx) incq %rsi addq $16, %rcx cmpq %rcx, %rdx jne LBB0_43 LBB0_44: cmpq $3, %r8 jb LBB0_47 ## %bb.45: movq %rsi, %rcx shlq $4, %rcx leaq (%rcx,%r14), %rdx addq $48, %rdx .p2align 4, 0x90 LBB0_46: ## =>This Inner Loop Header: Depth=1 movl (%rax,%rsi,4), %ecx movl %ecx, -48(%rdx) movl 4(%rax,%rsi,4), %ecx movl %ecx, -32(%rdx) movl 8(%rax,%rsi,4), %ecx movl %ecx, -16(%rdx) movl 12(%rax,%rsi,4), %ecx movl %ecx, (%rdx) addq $4, %rsi addq $64, %rdx cmpq %rsi, %r10 jne LBB0_46 jmp LBB0_47 LBB0_21: movl %ecx, %esi andl $-4, %esi leaq 48(%r14), %rdi xorl %edx, %edx .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movl $255, -48(%rdi) movl $255, -32(%rdi) movl $255, -16(%rdi) movl $255, (%rdi) addq $4, %rdx addq $64, %rdi cmpq %rdx, %rsi jne LBB0_22 LBB0_23: testq %rax, %rax je LBB0_26 ## %bb.24: shlq $4, %rdx addq %r14, %rdx shlq $4, %rax xorl %esi, %esi .p2align 4, 0x90 LBB0_25: ## =>This Inner Loop Header: Depth=1 movl $255, (%rdx,%rsi) addq $16, %rsi cmpq %rsi, %rax jne LBB0_25 LBB0_26: xorl %eax, %eax movl %ecx, %r13d cmpl $255, %ecx ja LBB0_64 LBB0_27: movl %r13d, %ecx negl %r13d movq %rcx, %rdx andq $3, %r13 je LBB0_31 ## %bb.28: movq %rcx, %rax shlq $4, %rax addq %r14, %rax negq %r13 xorl %esi, %esi .p2align 4, 0x90 LBB0_29: ## =>This Inner Loop Header: Depth=1 movl $55, (%rax) decq %rsi addq $16, %rax cmpq %rsi, %r13 jne LBB0_29 ## %bb.30: movq %rcx, %rdx subq %rsi, %rdx LBB0_31: addq $-253, %rcx xorl %eax, %eax cmpq $3, %rcx jb LBB0_64 ## %bb.32: shlq $4, %rdx .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movl $55, (%r14,%rdx) movl $55, 16(%r14,%rdx) movl $55, 32(%r14,%rdx) movl $55, 48(%r14,%rdx) addq $64, %rdx cmpq $4096, %rdx ## imm = 0x1000 jne LBB0_33 jmp LBB0_64 LBB0_37: xorl %r9d, %r9d jmp LBB0_47 LBB0_38: movl %r10d, %esi andl $-8, %esi leaq (,%r10,4), %rdx andq $-32, %rdx xorl %edi, %edi .p2align 4, 0x90 LBB0_39: ## =>This Inner Loop Header: Depth=1 movups (%rax,%rdi), %xmm0 movups 16(%rax,%rdi), %xmm1 movss %xmm0, (%r14,%rdi,4) extractps $1, %xmm0, 16(%r14,%rdi,4) extractps $2, %xmm0, 32(%r14,%rdi,4) extractps $3, %xmm0, 48(%r14,%rdi,4) movss %xmm1, 64(%r14,%rdi,4) extractps $1, %xmm1, 80(%r14,%rdi,4) extractps $2, %xmm1, 96(%r14,%rdi,4) extractps $3, %xmm1, 112(%r14,%rdi,4) addq $32, %rdi cmpq %rdi, %rdx jne LBB0_39 ## %bb.40: cmpq %r10, %rsi jne LBB0_41 LBB0_47: movl (%r12), %eax cmpl %eax, %r9d jge LBB0_56 ## %bb.48: movl %r9d, %edx movl %eax, %esi subl %r9d, %esi movq %rdx, %rcx notq %rcx addq %rax, %rcx andq $3, %rsi je LBB0_52 ## %bb.49: movq %rdx, %rdi shlq $4, %rdi addq %r14, %rdi negq %rsi xorl %ebx, %ebx .p2align 4, 0x90 LBB0_50: ## =>This Inner Loop Header: Depth=1 movl $255, (%rdi) decq %rbx addq $16, %rdi cmpq %rbx, %rsi jne LBB0_50 ## %bb.51: subq %rbx, %rdx LBB0_52: cmpq $3, %rcx jb LBB0_55 ## %bb.53: movq %rax, %rcx subq %rdx, %rcx shlq $4, %rdx addq %r14, %rdx addq $48, %rdx .p2align 4, 0x90 LBB0_54: ## =>This Inner Loop Header: Depth=1 movl $255, -48(%rdx) movl $255, -32(%rdx) movl $255, -16(%rdx) movl $255, (%rdx) addq $64, %rdx addq $-4, %rcx jne LBB0_54 LBB0_55: movl %eax, %r9d LBB0_56: movl $1, %eax cmpl $255, %r9d ja LBB0_64 ## %bb.57: movl %r9d, %edx movl %r9d, %esi negl %esi andl $3, %esi je LBB0_61 ## %bb.58: movq %rdx, %rdi shlq $4, %rdi addq %r14, %rdi negl %esi xorl %ebx, %ebx .p2align 4, 0x90 LBB0_59: ## =>This Inner Loop Header: Depth=1 movl $33, (%rdi) decq %rbx addq $16, %rdi cmpl %ebx, %esi jne LBB0_59 ## %bb.60: subq %rbx, %rdx LBB0_61: addl $-253, %r9d cmpl $3, %r9d jb LBB0_64 ## %bb.62: leal -256(%rdx), %ecx shlq $4, %rdx addq %r14, %rdx addq $48, %rdx .p2align 4, 0x90 LBB0_63: ## =>This Inner Loop Header: Depth=1 movl $33, -48(%rdx) movl $33, -32(%rdx) movl $33, -16(%rdx) movl $33, (%rdx) addq $64, %rdx addl $4, %ecx jne LBB0_63 LBB0_64: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PNG_INFO_PLTE,4,2 ## @PNG_INFO_PLTE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "validate: invalid PLTE count" L_.str.1: ## @.str.1 .asciz "validate: invalid PLTE result" .comm _PNG_INFO_tRNS,4,2 ## @PNG_INFO_tRNS L_.str.2: ## @.str.2 .asciz "validate: unexpected png_get_tRNS (palette) result" .no_dead_strip _read_palette .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function read_palette _read_palette: ; @read_palette .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 x22, x3 mov x21, x2 mov x20, x1 mov x19, x0 str xzr, [sp, #24] mov w8, #-1 str w8, [x1] add x2, sp, #24 mov x0, x21 mov x1, x3 mov x3, x20 bl _png_get_PLTE Lloh0: adrp x8, _PNG_INFO_PLTE@GOTPAGE Lloh1: ldr x8, [x8, _PNG_INFO_PLTE@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr w23, [x20] tst w8, w0 b.eq LBB0_6 ; %bb.1: sub w8, w23, #257 cmn w8, #257 b.hi LBB0_3 ; %bb.2: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _png_error cmp w23, #1 b.lt LBB0_5 LBB0_3: ldr x8, [sp, #24] add x9, x23, #1 mov w10, #12 LBB0_4: ; =>This Inner Loop Header: Depth=1 sub w11, w9, #2 umaddl x12, w11, w10, x8 ldr w13, [x12, #8] add x11, x19, w11, uxtw #4 str w13, [x11, #12] ldr d0, [x12] stur d0, [x11, #4] sub x9, x9, #1 cmp x9, #1 b.hi LBB0_4 LBB0_5: ldrsw x8, [x20] add x0, x19, x8, lsl #4 mov w9, #4096 sub w2, w9, w8, lsl #4 mov w1, #126 b LBB0_9 LBB0_6: cmn w23, #1 b.eq LBB0_8 ; %bb.7: Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x21 bl _png_error LBB0_8: str wzr, [x20] mov x0, x19 mov w1, #113 mov w2, #8 LBB0_9: bl _memset str xzr, [sp, #16] mov w8, #2 str w8, [sp, #12] add x2, sp, #16 add x3, sp, #12 mov x0, x21 mov x1, x22 mov w4, #0 bl _png_get_tRNS Lloh7: adrp x8, _PNG_INFO_tRNS@GOTPAGE Lloh8: ldr x8, [x8, _PNG_INFO_tRNS@GOTPAGEOFF] Lloh9: ldr w8, [x8] tst w8, w0 b.eq LBB0_11 ; %bb.10: ldr x9, [sp, #16] ldr w8, [sp, #12] cmp w8, #1 cset w10, eq cmp w8, #0 cset w11, eq cmp x9, #0 csel w10, w10, w11, eq tbz w10, #0, LBB0_14 LBB0_11: ldr w8, [x20] cmp w8, #1 b.lt LBB0_21 ; %bb.12: cmp w8, #4 b.hs LBB0_22 ; %bb.13: mov x9, #0 b LBB0_25 LBB0_14: cbz x9, LBB0_18 ; %bb.15: cmp w8, #1 b.lt LBB0_18 ; %bb.16: cmp w8, #256 b.gt LBB0_18 ; %bb.17: ldr w9, [x20] cmp w8, w9 b.le LBB0_19 LBB0_18: Lloh10: adrp x1, l_.str.2@PAGE Lloh11: add x1, x1, l_.str.2@PAGEOFF mov x0, x21 bl _png_error ldr w8, [sp, #12] cmp w8, #1 b.lt LBB0_36 LBB0_19: ldr x9, [sp, #16] mov w10, w8 mov x11, x19 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr w12, [x9], #4 str w12, [x11], #16 subs x10, x10, #1 b.ne LBB0_20 b LBB0_37 LBB0_21: mov w8, #0 b LBB0_28 LBB0_22: and x9, x8, #0xfffffffc add x10, x19, #32 mov w11, #255 mov x12, x9 LBB0_23: ; =>This Inner Loop Header: Depth=1 stur w11, [x10, #-32] stur w11, [x10, #-16] str w11, [x10] str w11, [x10, #16] add x10, x10, #64 subs x12, x12, #4 b.ne LBB0_23 ; %bb.24: cmp x9, x8 b.eq LBB0_27 LBB0_25: add x10, x19, x9, lsl #4 sub x9, x8, x9 mov w11, #255 LBB0_26: ; =>This Inner Loop Header: Depth=1 str w11, [x10], #16 subs x9, x9, #1 b.ne LBB0_26 LBB0_27: cmp w8, #255 b.hi LBB0_35 LBB0_28: mov w11, w8 mov w8, #256 sub x9, x8, x11 cmp x9, #4 b.hs LBB0_30 ; %bb.29: mov x8, x11 b LBB0_33 LBB0_30: and x10, x9, #0xfffffffffffffffc add x8, x10, x11 add x11, x19, x11, lsl #4 add x11, x11, #32 mov w12, #55 mov x13, x10 LBB0_31: ; =>This Inner Loop Header: Depth=1 stur w12, [x11, #-32] stur w12, [x11, #-16] str w12, [x11] str w12, [x11, #16] add x11, x11, #64 subs x13, x13, #4 b.ne LBB0_31 ; %bb.32: cmp x9, x10 b.eq LBB0_35 LBB0_33: add x9, x19, x8, lsl #4 sub x8, x8, #256 mov w10, #55 LBB0_34: ; =>This Inner Loop Header: Depth=1 str w10, [x9], #16 adds x8, x8, #1 b.lo LBB0_34 LBB0_35: mov w0, #0 b LBB0_55 LBB0_36: mov w8, #0 LBB0_37: ldr w9, [x20] cmp w8, w9 b.ge LBB0_46 ; %bb.38: mov w12, w8 sub x10, x9, x12 cmp x10, #4 b.hs LBB0_40 ; %bb.39: mov x8, x12 b LBB0_43 LBB0_40: and x11, x10, #0xfffffffffffffffc add x8, x11, x12 add x12, x19, x12, lsl #4 add x12, x12, #32 mov w13, #255 mov x14, x11 LBB0_41: ; =>This Inner Loop Header: Depth=1 stur w13, [x12, #-32] stur w13, [x12, #-16] str w13, [x12] str w13, [x12, #16] add x12, x12, #64 subs x14, x14, #4 b.ne LBB0_41 ; %bb.42: cmp x10, x11 b.eq LBB0_45 LBB0_43: add x10, x19, x8, lsl #4 sub x8, x9, x8 mov w11, #255 LBB0_44: ; =>This Inner Loop Header: Depth=1 str w11, [x10], #16 subs x8, x8, #1 b.ne LBB0_44 LBB0_45: mov x8, x9 LBB0_46: cmp w8, #255 b.hi LBB0_54 ; %bb.47: mov w11, w8 mov w9, #255 sub w8, w9, w8 cmp w8, #3 b.hs LBB0_49 ; %bb.48: mov x8, x11 b LBB0_52 LBB0_49: add x9, x8, #1 and x10, x9, #0x1fffffffc add x8, x10, x11 add x11, x19, x11, lsl #4 add x11, x11, #32 mov w12, #33 mov x13, x10 LBB0_50: ; =>This Inner Loop Header: Depth=1 stur w12, [x11, #-32] stur w12, [x11, #-16] str w12, [x11] str w12, [x11, #16] add x11, x11, #64 subs x13, x13, #4 b.ne LBB0_50 ; %bb.51: cmp x9, x10 b.eq LBB0_54 LBB0_52: add x9, x19, x8, lsl #4 sub w8, w8, #256 mov w10, #33 LBB0_53: ; =>This Inner Loop Header: Depth=1 str w10, [x9], #16 adds w8, w8, #1 b.lo LBB0_53 LBB0_54: mov w0, #1 LBB0_55: 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _PNG_INFO_PLTE,4,2 ; @PNG_INFO_PLTE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "validate: invalid PLTE count" l_.str.1: ; @.str.1 .asciz "validate: invalid PLTE result" .comm _PNG_INFO_tRNS,4,2 ; @PNG_INFO_tRNS l_.str.2: ; @.str.2 .asciz "validate: unexpected png_get_tRNS (palette) result" .no_dead_strip _read_palette .subsections_via_symbols
AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/libtests/extr_pngvalid.c_read_palette.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function toshiba_acpi_query_hotkey _toshiba_acpi_query_hotkey: ## @toshiba_acpi_query_hotkey .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), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi xorl %ebx, %ebx leaq -16(%rbp), %rcx xorl %edx, %edx callq _acpi_evaluate_integer movl %eax, %edi callq _ACPI_FAILURE testq %rax, %rax je LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rdi callq _pr_err movq _EIO@GOTPCREL(%rip), %rax subl (%rax), %ebx jmp LBB0_3 LBB0_2: movl -16(%rbp), %ebx LBB0_3: movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "INFO" L_.str.1: ## @.str.1 .asciz "ACPI INFO method execution failed\n" .comm _EIO,4,2 ## @EIO .no_dead_strip _toshiba_acpi_query_hotkey .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function toshiba_acpi_query_hotkey _toshiba_acpi_query_hotkey: ; @toshiba_acpi_query_hotkey .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 ldr x8, [x0] ldr w0, [x8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x3, sp, #8 mov x2, #0 bl _acpi_evaluate_integer bl _ACPI_FAILURE cbz x0, LBB0_2 ; %bb.1: Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _pr_err Lloh4: adrp x8, _EIO@GOTPAGE Lloh5: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w0, w8 b LBB0_3 LBB0_2: ldr w0, [sp, #8] LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "INFO" l_.str.1: ; @.str.1 .asciz "ACPI INFO method execution failed\n" .comm _EIO,4,2 ; @EIO .no_dead_strip _toshiba_acpi_query_hotkey .subsections_via_symbols
AnghaBench/linux/drivers/platform/x86/extr_toshiba_acpi.c_toshiba_acpi_query_hotkey.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parse_diag_msg ## -- Begin function parse_diag_msg .p2align 4, 0x90 _parse_diag_msg: ## @parse_diag_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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx movq (%rdi), %rax movq _AF_INET@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movq _AF_INET6@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.9: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _fprintf ## TAILCALL LBB0_2: testl %r14d, %r14d jle LBB0_8 ## %bb.3: addq $8, %rbx movq %rbx, %rdi movl %r14d, %esi callq _RTA_OK testq %rax, %rax je LBB0_8 ## %bb.4: movq _INET_DIAG_INFO@GOTPCREL(%rip), %r12 leaq L_.str.1(%rip), %r15 jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq %rbx, %rdi movl %r14d, %esi callq _RTA_NEXT movq %rax, %rbx movq %rax, %rdi movl %r14d, %esi callq _RTA_OK testq %rax, %rax je LBB0_8 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax cmpq (%r12), %rax jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq %rbx, %rdi callq _RTA_DATA movq 32(%rax), %rsi movq %r15, %rdi callq _printf jmp LBB0_7 LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AF_INET,8,3 ## @AF_INET .comm _AF_INET6,8,3 ## @AF_INET6 .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unknown family\n" .comm _INET_DIAG_INFO,8,3 ## @INET_DIAG_INFO L_.str.1: ## @.str.1 .asciz "[] sctp_af_inet address : %lx\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _parse_diag_msg ; -- Begin function parse_diag_msg .p2align 2 _parse_diag_msg: ; @parse_diag_msg .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 ldr x8, [x0] Lloh0: adrp x9, _AF_INET@GOTPAGE Lloh1: ldr x9, [x9, _AF_INET@GOTPAGEOFF] Lloh2: ldr x9, [x9] Lloh3: adrp x10, _AF_INET6@GOTPAGE Lloh4: ldr x10, [x10, _AF_INET6@GOTPAGEOFF] Lloh5: ldr x10, [x10] cmp x8, x9 ccmp x8, x10, #4, ne b.ne LBB0_7 ; %bb.1: mov x19, x1 cmp w1, #1 b.lt LBB0_8 ; %bb.2: add x20, x0, #8 mov x0, x20 mov x1, x19 bl _RTA_OK cbz x0, LBB0_8 ; %bb.3: Lloh6: adrp x22, _INET_DIAG_INFO@GOTPAGE Lloh7: ldr x22, [x22, _INET_DIAG_INFO@GOTPAGEOFF] Lloh8: adrp x21, l_.str.1@PAGE Lloh9: add x21, x21, l_.str.1@PAGEOFF b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x20 mov x1, x19 bl _RTA_NEXT mov x20, x0 mov x1, x19 bl _RTA_OK cbz x0, LBB0_8 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20] ldr x9, [x22] cmp x8, x9 b.ne LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x0, x20 bl _RTA_DATA ldr x1, [x0, #32] mov x0, x21 bl _printf b LBB0_4 LBB0_7: Lloh10: adrp x8, _stderr@GOTPAGE Lloh11: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh12: ldr w0, [x8] Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF 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 _fprintf 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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _AF_INET,8,3 ; @AF_INET .comm _AF_INET6,8,3 ; @AF_INET6 .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unknown family\n" .comm _INET_DIAG_INFO,8,3 ; @INET_DIAG_INFO l_.str.1: ; @.str.1 .asciz "[] sctp_af_inet address : %lx\n" .subsections_via_symbols
AnghaBench/exploitdb/exploits/linux/dos/extr_45919.c_parse_diag_msg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vhba_fini ## -- Begin function vhba_fini .p2align 4, 0x90 _vhba_fini: ## @vhba_fini .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq $0, (%rdi) movl (%rax), %edi movq _M_DEVBUF@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .comm _M_DEVBUF,4,2 ## @M_DEVBUF .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vhba_fini ; -- Begin function vhba_fini .p2align 2 _vhba_fini: ; @vhba_fini .cfi_startproc ; %bb.0: ldr x8, [x0] str xzr, [x0] ldr w0, [x8] Lloh0: adrp x8, _M_DEVBUF@GOTPAGE Lloh1: ldr x8, [x8, _M_DEVBUF@GOTPAGEOFF] Lloh2: ldr w1, [x8] b _free .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _M_DEVBUF,4,2 ; @M_DEVBUF .subsections_via_symbols
AnghaBench/freebsd/tools/tools/vhba/medium/extr_vhba_medium.c_vhba_fini.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function io_tmpfile _io_tmpfile: ## @io_tmpfile .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 callq _newfile movq %rax, %rbx xorl %eax, %eax callq _tmpfile movq %rax, (%rbx) testq %rax, %rax je LBB0_2 ## %bb.1: movl $1, %eax popq %rbx popq %r14 popq %rbp retq LBB0_2: movq %r14, %rdi xorl %esi, %esi xorl %edx, %edx popq %rbx popq %r14 popq %rbp jmp _luaL_fileresult ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _io_tmpfile .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function io_tmpfile _io_tmpfile: ; @io_tmpfile .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 bl _newfile mov x20, x0 bl _tmpfile str x0, [x20] cbz x0, LBB0_2 ; %bb.1: mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: mov x0, x19 mov w1, #0 mov x2, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _luaL_fileresult .cfi_endproc ; -- End function .no_dead_strip _io_tmpfile .subsections_via_symbols
AnghaBench/mjolnir/Mjolnir/lua/extr_liolib.c_io_tmpfile.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformGetVideoMode ## -- Begin function _glfwPlatformGetVideoMode .p2align 4, 0x90 __glfwPlatformGetVideoMode: ## @_glfwPlatformGetVideoMode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq 8(%rdi), %rcx movl (%rcx,%rax,4), %eax movl %eax, (%rsi) 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 __glfwPlatformGetVideoMode ; -- Begin function _glfwPlatformGetVideoMode .p2align 2 __glfwPlatformGetVideoMode: ; @_glfwPlatformGetVideoMode .cfi_startproc ; %bb.0: ldp x9, x8, [x0] ldr w8, [x8, x9, lsl #2] str w8, [x1] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/glfw/src/extr_wl_monitor.c__glfwPlatformGetVideoMode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gx_priv_destroy ## -- Begin function gx_priv_destroy .p2align 4, 0x90 _gx_priv_destroy: ## @gx_priv_destroy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _gx@GOTPCREL(%rip), %rdi popq %rbp jmp _vcos_mutex_delete ## TAILCALL .cfi_endproc ## -- End function .comm _gx,4,2 ## @gx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gx_priv_destroy ; -- Begin function gx_priv_destroy .p2align 2 _gx_priv_destroy: ; @gx_priv_destroy .cfi_startproc ; %bb.0: Lloh0: adrp x0, _gx@GOTPAGE Lloh1: ldr x0, [x0, _gx@GOTPAGEOFF] b _vcos_mutex_delete .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _gx,4,2 ; @gx .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/host_applications/linux/apps/hello_pi/libs/vgfont/extr_graphics.c_gx_priv_destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uwb_mac_addr_unset _uwb_mac_addr_unset: ## @uwb_mac_addr_unset .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 movl $0, -8(%rbp) leaq -8(%rbp), %rsi callq _uwb_mac_addr_cmp xorl %ecx, %ecx testl %eax, %eax sete %cl movl %ecx, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _uwb_mac_addr_unset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uwb_mac_addr_unset _uwb_mac_addr_unset: ; @uwb_mac_addr_unset .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 wzr, [sp, #8] add x1, sp, #8 bl _uwb_mac_addr_cmp cmp w0, #0 cset w0, eq ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _uwb_mac_addr_unset .subsections_via_symbols
AnghaBench/linux/drivers/staging/wusbcore/extr_..uwbuwb.h_uwb_mac_addr_unset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function wpas_global_ctrl_iface_redir_p2p _wpas_global_ctrl_iface_redir_p2p: ## @wpas_global_ctrl_iface_redir_p2p .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 _wpas_global_ctrl_iface_redir_p2p .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function wpas_global_ctrl_iface_redir_p2p _wpas_global_ctrl_iface_redir_p2p: ; @wpas_global_ctrl_iface_redir_p2p .cfi_startproc ; %bb.0: mov x0, #0 ; =0x0 ret .cfi_endproc ; -- End function .no_dead_strip _wpas_global_ctrl_iface_redir_p2p .subsections_via_symbols
assembly_file_78804.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function Destroy _Destroy: ## @Destroy .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 (%rbx), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.1: callq _image_HandlerDelete LBB0_2: movq $0, (%rbx) movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _Destroy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function Destroy _Destroy: ; @Destroy .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 ldr x19, [x0] ldr x0, [x19] cbz x0, LBB0_2 ; %bb.1: bl _image_HandlerDelete LBB0_2: str xzr, [x19] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _free .cfi_endproc ; -- End function .no_dead_strip _Destroy .subsections_via_symbols
AnghaBench/vlc/modules/video_filter/extr_psychedelic.c_Destroy.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CG_ParticleSnow ## -- Begin function CG_ParticleSnow .p2align 4, 0x90 _CG_ParticleSnow: ## @CG_ParticleSnow .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 %r8d, -52(%rbp) ## 4-byte Spill movss %xmm0, -48(%rbp) ## 4-byte Spill movl %ecx, %r15d movq %rdx, %r13 movq %rsi, %r12 movq %rdi, %rbx testq %rdi, %rdi jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _CG_Printf LBB0_2: movq _free_particles@GOTPCREL(%rip), %rax movq (%rax), %r14 testq %r14, %r14 je LBB0_9 ## %bb.3: movq 96(%r14), %rcx movq %rcx, (%rax) movq _active_particles@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %rcx, 96(%r14) movq %r14, (%rax) movq _cg@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 88(%r14) movl $1053609165, (%r14) ## imm = 0x3ECCCCCD xorps %xmm0, %xmm0 movups %xmm0, 72(%r14) movl 16(%r12), %eax movl %eax, 4(%r14) movl 16(%r13), %eax movl %eax, 8(%r14) movq %rbx, 64(%r14) movabsq $4294967297, %rax ## imm = 0x100000001 movq %rax, 12(%r14) movq 24(%r14), %rax movl $-50, 8(%rax) testl %r15d, %r15d je LBB0_5 ## %bb.4: movq _P_WEATHER_TURBULENT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 56(%r14) movl $-65, 8(%rax) jmp LBB0_6 LBB0_5: movq _P_WEATHER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 56(%r14) LBB0_6: movq 48(%r14), %rsi movq %r12, %rdi callq _VectorCopy movq 48(%r14), %rax xorps %xmm0, %xmm0 cvtsi2ssq (%rax), %xmm0 movss %xmm0, -44(%rbp) ## 4-byte Spill xorl %eax, %eax callq _crandom xorps %xmm0, %xmm0 cvtsi2ss %eax, %xmm0 mulss -48(%rbp), %xmm0 ## 4-byte Folded Reload addss -44(%rbp), %xmm0 ## 4-byte Folded Reload cvttss2si %xmm0, %rax movq 48(%r14), %rcx movq %rax, (%rcx) xorps %xmm0, %xmm0 cvtsi2ssq 8(%rcx), %xmm0 movss %xmm0, -44(%rbp) ## 4-byte Spill xorl %eax, %eax callq _crandom xorps %xmm0, %xmm0 cvtsi2ss %eax, %xmm0 mulss -48(%rbp), %xmm0 ## 4-byte Folded Reload addss -44(%rbp), %xmm0 ## 4-byte Folded Reload cvttss2si %xmm0, %rax movq 48(%r14), %rcx movq %rax, 8(%rcx) movq 16(%rcx), %rbx xorl %eax, %eax callq _crandom movl 4(%r14), %ecx subl 8(%r14), %ecx imull %eax, %ecx movslq %ecx, %rax addq %rbx, %rax movq 48(%r14), %rcx movq %rax, 16(%rcx) movq 24(%r14), %rax movq $0, (%rax) movq 40(%r14), %rax xorps %xmm0, %xmm0 movups %xmm0, (%rax) movq $0, 16(%rax) testl %r15d, %r15d je LBB0_8 ## %bb.7: xorl %eax, %eax callq _crandom shll $4, %eax movq 24(%r14), %rcx movl %eax, (%rcx) xorl %eax, %eax callq _crandom shll $4, %eax movq 24(%r14), %rcx movl %eax, 4(%rcx) LBB0_8: movl -52(%rbp), %eax ## 4-byte Reload movl %eax, 32(%r14) movq _qtrue@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 36(%r14) LBB0_9: 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 "CG_ParticleSnow pshader == ZERO!\n" .comm _free_particles,8,3 ## @free_particles .comm _active_particles,8,3 ## @active_particles .comm _cg,4,2 ## @cg .comm _P_WEATHER_TURBULENT,4,2 ## @P_WEATHER_TURBULENT .comm _P_WEATHER,4,2 ## @P_WEATHER .comm _qtrue,4,2 ## @qtrue .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CG_ParticleSnow ; -- Begin function CG_ParticleSnow .p2align 2 _CG_ParticleSnow: ; @CG_ParticleSnow .cfi_startproc ; %bb.0: stp d9, d8, [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 b8, -72 .cfi_offset b9, -80 mov x19, x4 fmov s8, s0 mov x20, x3 mov x23, x2 mov x21, x1 mov x22, x0 cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _CG_Printf LBB0_2: Lloh2: adrp x8, _free_particles@GOTPAGE Lloh3: ldr x8, [x8, _free_particles@GOTPAGEOFF] ldr x24, [x8] cbz x24, LBB0_9 ; %bb.3: ldr x9, [x24, #96] str x9, [x8] Lloh4: adrp x8, _active_particles@GOTPAGE Lloh5: ldr x8, [x8, _active_particles@GOTPAGEOFF] ldr x9, [x8] str x9, [x24, #96] str x24, [x8] Lloh6: adrp x8, _cg@GOTPAGE Lloh7: ldr x8, [x8, _cg@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x24, #88] mov w8, #52429 movk w8, #16076, lsl #16 stp xzr, xzr, [x24, #72] ldr x9, [x21, #16] stp w8, w9, [x24] ldr x8, [x23, #16] str w8, [x24, #8] str x22, [x24, #64] movi.2s v0, #1 stur d0, [x24, #12] ldr x8, [x24, #24] mov w9, #-50 str w9, [x8, #8] cbz w20, LBB0_5 ; %bb.4: Lloh9: adrp x9, _P_WEATHER_TURBULENT@GOTPAGE Lloh10: ldr x9, [x9, _P_WEATHER_TURBULENT@GOTPAGEOFF] Lloh11: ldr w9, [x9] str w9, [x24, #56] mov w9, #-65 str w9, [x8, #8] b LBB0_6 LBB0_5: Lloh12: adrp x8, _P_WEATHER@GOTPAGE Lloh13: ldr x8, [x8, _P_WEATHER@GOTPAGEOFF] Lloh14: ldr w8, [x8] str w8, [x24, #56] LBB0_6: ldr x1, [x24, #48] mov x0, x21 bl _VectorCopy ldr x8, [x24, #48] ldr x8, [x8] scvtf s9, x8 bl _crandom scvtf s0, w0 fmadd s0, s0, s8, s9 fcvtzs x8, s0 ldr x9, [x24, #48] str x8, [x9] ldr x8, [x9, #8] scvtf s9, x8 bl _crandom scvtf s0, w0 fmadd s0, s0, s8, s9 fcvtzs x8, s0 ldr x9, [x24, #48] str x8, [x9, #8] ldr x21, [x9, #16] bl _crandom ldp w8, w9, [x24, #4] sub w8, w8, w9 mul w8, w8, w0 add x8, x21, w8, sxtw ldr x9, [x24, #48] str x8, [x9, #16] ldr x8, [x24, #24] str xzr, [x8] ldr x8, [x24, #40] stp xzr, xzr, [x8] str xzr, [x8, #16] cbz w20, LBB0_8 ; %bb.7: bl _crandom lsl w8, w0, #4 ldr x9, [x24, #24] str w8, [x9] bl _crandom lsl w8, w0, #4 ldr x9, [x24, #24] str w8, [x9, #4] LBB0_8: Lloh15: adrp x8, _qtrue@GOTPAGE Lloh16: ldr x8, [x8, _qtrue@GOTPAGEOFF] Lloh17: ldr w8, [x8] stp w19, w8, [x24, #32] LBB0_9: 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 d9, d8, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CG_ParticleSnow pshader == ZERO!\n" .comm _free_particles,8,3 ; @free_particles .comm _active_particles,8,3 ; @active_particles .comm _cg,4,2 ; @cg .comm _P_WEATHER_TURBULENT,4,2 ; @P_WEATHER_TURBULENT .comm _P_WEATHER,4,2 ; @P_WEATHER .comm _qtrue,4,2 ; @qtrue .subsections_via_symbols
AnghaBench/Quake-III-Arena/code/cgame/extr_cg_particles.c_CG_ParticleSnow.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _X509_LOOKUP_meth_get_get_by_subject ## -- Begin function X509_LOOKUP_meth_get_get_by_subject .p2align 4, 0x90 _X509_LOOKUP_meth_get_get_by_subject: ## @X509_LOOKUP_meth_get_get_by_subject .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), %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 _X509_LOOKUP_meth_get_get_by_subject ; -- Begin function X509_LOOKUP_meth_get_get_by_subject .p2align 2 _X509_LOOKUP_meth_get_get_by_subject: ; @X509_LOOKUP_meth_get_get_by_subject .cfi_startproc ; %bb.0: ldr w0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/openssl/crypto/x509/extr_x509_meth.c_X509_LOOKUP_meth_get_get_by_subject.c
anghabench