arm
stringlengths
122
210k
x86
stringlengths
122
207k
filename
stringlengths
30
197
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rx1950_is_ac_online _rx1950_is_ac_online: ; @rx1950_is_ac_online .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #2 bl _S3C2410_GPF bl _gpio_get_value subs w8, w0, #0 cset w8, eq and w0, w8, #0x1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _rx1950_is_ac_online .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rx1950_is_ac_online _rx1950_is_ac_online: ## @rx1950_is_ac_online .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $2, %edi callq _S3C2410_GPF movl %eax, %edi callq _gpio_get_value cmpl $0, %eax setne %al xorb $-1, %al andb $1, %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _rx1950_is_ac_online .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_mach-rx1950.c_rx1950_is_ac_online.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rx1950_lcd_power _rx1950_lcd_power: ; @rx1950_lcd_power .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, _lcd_pwm@GOTPAGE ldr x8, [x8, _lcd_pwm@GOTPAGEOFF] stur x8, [x29, #-16] ; 8-byte Folded Spill stur w0, [x29, #-4] adrp x8, _rx1950_lcd_power.enabled@PAGE ldr w8, [x8, _rx1950_lcd_power.enabled@PAGEOFF] ldur w9, [x29, #-4] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_50 LBB0_2: ldur w8, [x29, #-4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_32 b LBB0_3 LBB0_3: mov w8, #11 stur w8, [x29, #-8] b LBB0_4 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_7 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_4 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPC mov w1, #1 bl _gpio_direction_output b LBB0_6 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_4 LBB0_7: mov w0, #100 bl _mdelay mov w8, #2 stur w8, [x29, #-8] b LBB0_8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPD mov w1, #1 bl _gpio_direction_output b LBB0_10 LBB0_10: ; in Loop: Header=BB0_8 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_8 LBB0_11: mov w8, #11 stur w8, [x29, #-8] b LBB0_12 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_15 b LBB0_13 LBB0_13: ; in Loop: Header=BB0_12 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPD mov w1, #1 bl _gpio_direction_output b LBB0_14 LBB0_14: ; in Loop: Header=BB0_12 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_12 LBB0_15: mov w0, #100 bl _mdelay mov w0, #0 stur w0, [x29, #-20] ; 4-byte Folded Spill bl _S3C2410_GPB ldur w1, [x29, #-20] ; 4-byte Folded Reload bl _gpio_direction_output mov w8, #1 stur w8, [x29, #-8] b LBB0_16 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #5 cset w8, ge tbnz w8, #0, LBB0_19 b LBB0_17 LBB0_17: ; in Loop: Header=BB0_16 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPC mov w1, #0 bl _gpio_direction_output b LBB0_18 LBB0_18: ; in Loop: Header=BB0_16 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_16 LBB0_19: mov w8, #11 stur w8, [x29, #-8] b LBB0_20 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_23 b LBB0_21 LBB0_21: ; in Loop: Header=BB0_20 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPC mov w1, #0 bl _gpio_direction_output b LBB0_22 LBB0_22: ; in Loop: Header=BB0_20 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_20 LBB0_23: mov w8, #11 stur w8, [x29, #-8] b LBB0_24 LBB0_24: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_27 b LBB0_25 LBB0_25: ; in Loop: Header=BB0_24 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPD mov w1, #0 bl _gpio_direction_output b LBB0_26 LBB0_26: ; in Loop: Header=BB0_24 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_24 LBB0_27: mov w8, #2 stur w8, [x29, #-8] b LBB0_28 LBB0_28: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_31 b LBB0_29 LBB0_29: ; in Loop: Header=BB0_28 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPD mov w1, #0 bl _gpio_direction_output b LBB0_30 LBB0_30: ; in Loop: Header=BB0_28 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_28 LBB0_31: mov w0, #6 bl _S3C2410_GPC mov w1, #0 str w1, [sp, #24] ; 4-byte Folded Spill bl _gpio_direction_output mov w0, #7 bl _S3C2410_GPC ldr w1, [sp, #24] ; 4-byte Folded Reload bl _gpio_direction_output mov w0, #5 bl _S3C2410_GPC ldr w1, [sp, #24] ; 4-byte Folded Reload bl _gpio_direction_output mov w0, #1 bl _S3C2410_GPB ldr w1, [sp, #24] ; 4-byte Folded Reload bl _gpio_direction_output ldur x8, [x29, #-16] ; 8-byte Folded Reload ldr w1, [sp, #24] ; 4-byte Folded Reload ldr w0, [x8] adrp x8, _LCD_PWM_PERIOD@GOTPAGE ldr x8, [x8, _LCD_PWM_PERIOD@GOTPAGEOFF] ldr w2, [x8] bl _pwm_config ldur x8, [x29, #-16] ; 8-byte Folded Reload ldr w0, [x8] bl _pwm_disable ldr w0, [sp, #24] ; 4-byte Folded Reload bl _S3C2410_GPC ldr w1, [sp, #24] ; 4-byte Folded Reload bl _gpio_direction_output mov w0, #10 bl _S3C2410_GPC ldr w1, [sp, #24] ; 4-byte Folded Reload bl _gpio_direction_output b LBB0_49 LBB0_32: ldur x8, [x29, #-16] ; 8-byte Folded Reload ldr w0, [x8] adrp x8, _LCD_PWM_DUTY@GOTPAGE ldr x8, [x8, _LCD_PWM_DUTY@GOTPAGEOFF] ldr w1, [x8] adrp x8, _LCD_PWM_PERIOD@GOTPAGE ldr x8, [x8, _LCD_PWM_PERIOD@GOTPAGEOFF] ldr w2, [x8] bl _pwm_config ldur x8, [x29, #-16] ; 8-byte Folded Reload ldr w0, [x8] bl _pwm_enable mov w0, #0 bl _S3C2410_GPC mov w1, #1 str w1, [sp, #20] ; 4-byte Folded Spill bl _gpio_direction_output mov w0, #5 bl _S3C2410_GPC ldr w1, [sp, #20] ; 4-byte Folded Reload bl _gpio_direction_output ldr w0, [sp, #20] ; 4-byte Folded Reload bl _S3C2410_GPB adrp x8, _S3C2410_GPB1_TOUT1@GOTPAGE ldr x8, [x8, _S3C2410_GPB1_TOUT1@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_cfgpin mov w0, #7 bl _S3C2410_GPC ldr w1, [sp, #20] ; 4-byte Folded Reload bl _gpio_direction_output ldr w8, [sp, #20] ; 4-byte Folded Reload stur w8, [x29, #-8] b LBB0_33 LBB0_33: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #5 cset w8, ge tbnz w8, #0, LBB0_36 b LBB0_34 LBB0_34: ; in Loop: Header=BB0_33 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPC str w0, [sp, #16] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin b LBB0_35 LBB0_35: ; in Loop: Header=BB0_33 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_33 LBB0_36: mov w8, #11 stur w8, [x29, #-8] b LBB0_37 LBB0_37: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_40 b LBB0_38 LBB0_38: ; in Loop: Header=BB0_37 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPC str w0, [sp, #12] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin b LBB0_39 LBB0_39: ; in Loop: Header=BB0_37 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_37 LBB0_40: mov w8, #2 stur w8, [x29, #-8] b LBB0_41 LBB0_41: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #8 cset w8, ge tbnz w8, #0, LBB0_44 b LBB0_42 LBB0_42: ; in Loop: Header=BB0_41 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPD str w0, [sp, #8] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin b LBB0_43 LBB0_43: ; in Loop: Header=BB0_41 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_41 LBB0_44: mov w8, #11 stur w8, [x29, #-8] b LBB0_45 LBB0_45: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-8] subs w8, w8, #16 cset w8, ge tbnz w8, #0, LBB0_48 b LBB0_46 LBB0_46: ; in Loop: Header=BB0_45 Depth=1 ldur w0, [x29, #-8] bl _S3C2410_GPD str w0, [sp, #4] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin b LBB0_47 LBB0_47: ; in Loop: Header=BB0_45 Depth=1 ldur w8, [x29, #-8] add w8, w8, #1 stur w8, [x29, #-8] b LBB0_45 LBB0_48: mov w0, #10 bl _S3C2410_GPC mov w1, #1 str w1, [sp] ; 4-byte Folded Spill bl _gpio_direction_output mov w0, #6 bl _S3C2410_GPC ldr w1, [sp] ; 4-byte Folded Reload bl _gpio_direction_output b LBB0_49 LBB0_49: ldur w8, [x29, #-4] adrp x9, _rx1950_lcd_power.enabled@PAGE str w8, [x9, _rx1950_lcd_power.enabled@PAGEOFF] b LBB0_50 LBB0_50: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .zerofill __DATA,__bss,_rx1950_lcd_power.enabled,4,2 ; @rx1950_lcd_power.enabled .comm _lcd_pwm,4,2 ; @lcd_pwm .comm _LCD_PWM_PERIOD,4,2 ; @LCD_PWM_PERIOD .comm _LCD_PWM_DUTY,4,2 ; @LCD_PWM_DUTY .comm _S3C2410_GPB1_TOUT1,4,2 ; @S3C2410_GPB1_TOUT1 .no_dead_strip _rx1950_lcd_power .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rx1950_lcd_power _rx1950_lcd_power: ## @rx1950_lcd_power .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 _rx1950_lcd_power.enabled(%rip), %eax cmpl -4(%rbp), %eax jne LBB0_2 ## %bb.1: jmp LBB0_50 LBB0_2: cmpl $0, -4(%rbp) jne LBB0_32 ## %bb.3: movl $11, -8(%rbp) LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpl $16, -8(%rbp) jge LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPC movl %eax, %edi movl $1, %esi callq _gpio_direction_output ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_4 LBB0_7: movl $100, %edi callq _mdelay movl $2, -8(%rbp) LBB0_8: ## =>This Inner Loop Header: Depth=1 cmpl $8, -8(%rbp) jge LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPD movl %eax, %edi movl $1, %esi callq _gpio_direction_output ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_8 LBB0_11: movl $11, -8(%rbp) LBB0_12: ## =>This Inner Loop Header: Depth=1 cmpl $16, -8(%rbp) jge LBB0_15 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPD movl %eax, %edi movl $1, %esi callq _gpio_direction_output ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_12 LBB0_15: movl $100, %edi callq _mdelay xorl %edi, %edi callq _S3C2410_GPB movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movl $1, -8(%rbp) LBB0_16: ## =>This Inner Loop Header: Depth=1 cmpl $5, -8(%rbp) jge LBB0_19 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPC movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output ## %bb.18: ## in Loop: Header=BB0_16 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_16 LBB0_19: movl $11, -8(%rbp) LBB0_20: ## =>This Inner Loop Header: Depth=1 cmpl $16, -8(%rbp) jge LBB0_23 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPC movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_20 LBB0_23: movl $11, -8(%rbp) LBB0_24: ## =>This Inner Loop Header: Depth=1 cmpl $16, -8(%rbp) jge LBB0_27 ## %bb.25: ## in Loop: Header=BB0_24 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPD movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output ## %bb.26: ## in Loop: Header=BB0_24 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_24 LBB0_27: movl $2, -8(%rbp) LBB0_28: ## =>This Inner Loop Header: Depth=1 cmpl $8, -8(%rbp) jge LBB0_31 ## %bb.29: ## in Loop: Header=BB0_28 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPD movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output ## %bb.30: ## in Loop: Header=BB0_28 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_28 LBB0_31: movl $6, %edi callq _S3C2410_GPC movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movl $7, %edi callq _S3C2410_GPC movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movl $5, %edi callq _S3C2410_GPC movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movl $1, %edi callq _S3C2410_GPB movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movq _lcd_pwm@GOTPCREL(%rip), %rax movl (%rax), %edi movq _LCD_PWM_PERIOD@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _pwm_config movq _lcd_pwm@GOTPCREL(%rip), %rax movl (%rax), %edi callq _pwm_disable xorl %edi, %edi callq _S3C2410_GPC movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movl $10, %edi callq _S3C2410_GPC movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output jmp LBB0_49 LBB0_32: movq _lcd_pwm@GOTPCREL(%rip), %rax movl (%rax), %edi movq _LCD_PWM_DUTY@GOTPCREL(%rip), %rax movl (%rax), %esi movq _LCD_PWM_PERIOD@GOTPCREL(%rip), %rax movl (%rax), %edx callq _pwm_config movq _lcd_pwm@GOTPCREL(%rip), %rax movl (%rax), %edi callq _pwm_enable xorl %edi, %edi callq _S3C2410_GPC movl %eax, %edi movl $1, %esi callq _gpio_direction_output movl $5, %edi callq _S3C2410_GPC movl %eax, %edi movl $1, %esi callq _gpio_direction_output movl $1, %edi callq _S3C2410_GPB movl %eax, %edi movq _S3C2410_GPB1_TOUT1@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_cfgpin movl $7, %edi callq _S3C2410_GPC movl %eax, %edi movl $1, %esi callq _gpio_direction_output movl $1, -8(%rbp) LBB0_33: ## =>This Inner Loop Header: Depth=1 cmpl $5, -8(%rbp) jge LBB0_36 ## %bb.34: ## in Loop: Header=BB0_33 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPC movl %eax, -12(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin ## %bb.35: ## in Loop: Header=BB0_33 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_33 LBB0_36: movl $11, -8(%rbp) LBB0_37: ## =>This Inner Loop Header: Depth=1 cmpl $16, -8(%rbp) jge LBB0_40 ## %bb.38: ## in Loop: Header=BB0_37 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPC movl %eax, -16(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -16(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin ## %bb.39: ## in Loop: Header=BB0_37 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_37 LBB0_40: movl $2, -8(%rbp) LBB0_41: ## =>This Inner Loop Header: Depth=1 cmpl $8, -8(%rbp) jge LBB0_44 ## %bb.42: ## in Loop: Header=BB0_41 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPD movl %eax, -20(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -20(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin ## %bb.43: ## in Loop: Header=BB0_41 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_41 LBB0_44: movl $11, -8(%rbp) LBB0_45: ## =>This Inner Loop Header: Depth=1 cmpl $16, -8(%rbp) jge LBB0_48 ## %bb.46: ## in Loop: Header=BB0_45 Depth=1 movl -8(%rbp), %edi callq _S3C2410_GPD movl %eax, -24(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -24(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin ## %bb.47: ## in Loop: Header=BB0_45 Depth=1 movl -8(%rbp), %eax addl $1, %eax movl %eax, -8(%rbp) jmp LBB0_45 LBB0_48: movl $10, %edi callq _S3C2410_GPC movl %eax, %edi movl $1, %esi callq _gpio_direction_output movl $6, %edi callq _S3C2410_GPC movl %eax, %edi movl $1, %esi callq _gpio_direction_output LBB0_49: movl -4(%rbp), %eax movl %eax, _rx1950_lcd_power.enabled(%rip) LBB0_50: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_rx1950_lcd_power.enabled,4,2 ## @rx1950_lcd_power.enabled .comm _lcd_pwm,4,2 ## @lcd_pwm .comm _LCD_PWM_PERIOD,4,2 ## @LCD_PWM_PERIOD .comm _LCD_PWM_DUTY,4,2 ## @LCD_PWM_DUTY .comm _S3C2410_GPB1_TOUT1,4,2 ## @S3C2410_GPB1_TOUT1 .no_dead_strip _rx1950_lcd_power .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_mach-rx1950.c_rx1950_lcd_power.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2416_fb_gpio_setup_24bpp _s3c2416_fb_gpio_setup_24bpp: ; @s3c2416_fb_gpio_setup_24bpp .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, _S3C_GPIO_PULL_NONE@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_NONE@GOTPAGEOFF] stur x8, [x29, #-16] ; 8-byte Folded Spill mov w0, #1 bl _S3C2410_GPC stur w0, [x29, #-4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] stur w8, [x29, #-20] ; 4-byte Folded Spill mov w0, #4 bl _S3C2410_GPC ldur w8, [x29, #-20] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, hi tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-4] str w8, [sp, #24] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #24] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin ldur x8, [x29, #-16] ; 8-byte Folded Reload ldur w0, [x29, #-4] ldr w1, [x8] bl _s3c_gpio_setpull b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_1 LBB0_4: mov w0, #8 bl _S3C2410_GPC stur w0, [x29, #-4] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] str w8, [sp, #20] ; 4-byte Folded Spill mov w0, #15 bl _S3C2410_GPC ldr w8, [sp, #20] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, hi tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-4] str w8, [sp, #16] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin ldur x8, [x29, #-16] ; 8-byte Folded Reload ldur w0, [x29, #-4] ldr w1, [x8] bl _s3c_gpio_setpull b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_8: mov w0, #0 bl _S3C2410_GPD stur w0, [x29, #-4] b LBB0_9 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] str w8, [sp, #12] ; 4-byte Folded Spill mov w0, #15 bl _S3C2410_GPD ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, hi tbnz w8, #0, LBB0_12 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_9 Depth=1 ldur w8, [x29, #-4] str w8, [sp, #8] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin ldur x8, [x29, #-16] ; 8-byte Folded Reload ldur w0, [x29, #-4] ldr w1, [x8] bl _s3c_gpio_setpull b LBB0_11 LBB0_11: ; in Loop: Header=BB0_9 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_9 LBB0_12: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _S3C_GPIO_PULL_NONE,4,2 ; @S3C_GPIO_PULL_NONE .no_dead_strip _s3c2416_fb_gpio_setup_24bpp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2416_fb_gpio_setup_24bpp _s3c2416_fb_gpio_setup_24bpp: ## @s3c2416_fb_gpio_setup_24bpp .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 $1, %edi callq _S3C2410_GPC movl %eax, -4(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movl %eax, -8(%rbp) ## 4-byte Spill movl $4, %edi callq _S3C2410_GPC movl %eax, %ecx movl -8(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax ja LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin movl -4(%rbp), %edi movq _S3C_GPIO_PULL_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_1 LBB0_4: movl $8, %edi callq _S3C2410_GPC movl %eax, -4(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movl %eax, -16(%rbp) ## 4-byte Spill movl $15, %edi callq _S3C2410_GPC movl %eax, %ecx movl -16(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax ja LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl -4(%rbp), %eax movl %eax, -20(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -20(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin movl -4(%rbp), %edi movq _S3C_GPIO_PULL_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_8: xorl %edi, %edi callq _S3C2410_GPD movl %eax, -4(%rbp) LBB0_9: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movl %eax, -24(%rbp) ## 4-byte Spill movl $15, %edi callq _S3C2410_GPD movl %eax, %ecx movl -24(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax ja LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movl -4(%rbp), %eax movl %eax, -28(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -28(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin movl -4(%rbp), %edi movq _S3C_GPIO_PULL_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_9 LBB0_12: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_GPIO_PULL_NONE,4,2 ## @S3C_GPIO_PULL_NONE .no_dead_strip _s3c2416_fb_gpio_setup_24bpp .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_mach-smdk2416.c_s3c2416_fb_gpio_setup_24bpp.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rx1950_set_mmc_power _rx1950_set_mmc_power: ; @rx1950_set_mmc_power .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 sturb w0, [x29, #-1] sturh w1, [x29, #-4] ldurb w8, [x29, #-1] str w8, [sp, #8] ; 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, #8] ; 4-byte Folded Reload subs w8, w8, #130 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: mov w0, #1 bl _S3C2410_GPJ mov w1, #0 bl _gpio_direction_output b LBB0_5 LBB0_3: mov w0, #1 str w0, [sp, #4] ; 4-byte Folded Spill bl _S3C2410_GPJ ldr w1, [sp, #4] ; 4-byte Folded Reload bl _gpio_direction_output b LBB0_5 LBB0_4: b LBB0_5 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _rx1950_set_mmc_power .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rx1950_set_mmc_power _rx1950_set_mmc_power: ## @rx1950_set_mmc_power .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 movw %si, %ax movb %dil, %cl movb %cl, -1(%rbp) movw %ax, -4(%rbp) movzbl -1(%rbp), %eax movl %eax, -8(%rbp) ## 4-byte Spill addl $-128, %eax subl $2, %eax jb LBB0_2 jmp LBB0_5 LBB0_5: movl -8(%rbp), %eax ## 4-byte Reload subl $130, %eax jne LBB0_3 jmp LBB0_1 LBB0_1: movl $1, %edi callq _S3C2410_GPJ movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output jmp LBB0_4 LBB0_2: movl $1, %edi callq _S3C2410_GPJ movl %eax, %edi movl $1, %esi callq _gpio_direction_output jmp LBB0_4 LBB0_3: jmp LBB0_4 LBB0_4: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _rx1950_set_mmc_power .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_mach-rx1950.c_rx1950_set_mmc_power.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smdk2416_hsudc_gpio_init _smdk2416_hsudc_gpio_init: ; @smdk2416_hsudc_gpio_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 mov w0, #14 str w0, [sp, #8] ; 4-byte Folded Spill bl _S3C2410_GPH adrp x8, _S3C_GPIO_PULL_UP@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_UP@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_setpull mov w0, #2 bl _S3C2410_GPF adrp x8, _S3C_GPIO_PULL_NONE@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_NONE@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_setpull ldr w0, [sp, #8] ; 4-byte Folded Reload bl _S3C2410_GPH stur w0, [x29, #-4] ; 4-byte Folded Spill mov w0, #1 bl _S3C_GPIO_SFN mov x1, x0 ldur w0, [x29, #-4] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin adrp x8, _S3C2416_MISCCR_SEL_SUSPND@GOTPAGE ldr x8, [x8, _S3C2416_MISCCR_SEL_SUSPND@GOTPAGEOFF] ldr w0, [x8] mov w1, #0 bl _s3c2410_modify_misccr ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C_GPIO_PULL_UP,4,2 ; @S3C_GPIO_PULL_UP .comm _S3C_GPIO_PULL_NONE,4,2 ; @S3C_GPIO_PULL_NONE .comm _S3C2416_MISCCR_SEL_SUSPND,4,2 ; @S3C2416_MISCCR_SEL_SUSPND .no_dead_strip _smdk2416_hsudc_gpio_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smdk2416_hsudc_gpio_init _smdk2416_hsudc_gpio_init: ## @smdk2416_hsudc_gpio_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 movl $14, %edi callq _S3C2410_GPH movl %eax, %edi movq _S3C_GPIO_PULL_UP@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull movl $2, %edi callq _S3C2410_GPF movl %eax, %edi movq _S3C_GPIO_PULL_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull movl $14, %edi callq _S3C2410_GPH movl %eax, -4(%rbp) ## 4-byte Spill movl $1, %edi callq _S3C_GPIO_SFN movl -4(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin movq _S3C2416_MISCCR_SEL_SUSPND@GOTPCREL(%rip), %rax movl (%rax), %edi xorl %esi, %esi callq _s3c2410_modify_misccr addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_GPIO_PULL_UP,4,2 ## @S3C_GPIO_PULL_UP .comm _S3C_GPIO_PULL_NONE,4,2 ## @S3C_GPIO_PULL_NONE .comm _S3C2416_MISCCR_SEL_SUSPND,4,2 ## @S3C2416_MISCCR_SEL_SUSPND .no_dead_strip _smdk2416_hsudc_gpio_init .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_mach-smdk2416.c_smdk2416_hsudc_gpio_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smdk2416_hsudc_gpio_uninit _smdk2416_hsudc_gpio_uninit: ; @smdk2416_hsudc_gpio_uninit .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, _S3C2416_MISCCR_SEL_SUSPND@GOTPAGE ldr x8, [x8, _S3C2416_MISCCR_SEL_SUSPND@GOTPAGEOFF] ldr w0, [x8] mov w1, #1 bl _s3c2410_modify_misccr mov w0, #14 str w0, [sp, #8] ; 4-byte Folded Spill bl _S3C2410_GPH adrp x8, _S3C_GPIO_PULL_NONE@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_NONE@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_setpull ldr w0, [sp, #8] ; 4-byte Folded Reload bl _S3C2410_GPH stur w0, [x29, #-4] ; 4-byte Folded Spill mov w0, #0 bl _S3C_GPIO_SFN mov x1, x0 ldur w0, [x29, #-4] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C2416_MISCCR_SEL_SUSPND,4,2 ; @S3C2416_MISCCR_SEL_SUSPND .comm _S3C_GPIO_PULL_NONE,4,2 ; @S3C_GPIO_PULL_NONE .no_dead_strip _smdk2416_hsudc_gpio_uninit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smdk2416_hsudc_gpio_uninit _smdk2416_hsudc_gpio_uninit: ## @smdk2416_hsudc_gpio_uninit .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 _S3C2416_MISCCR_SEL_SUSPND@GOTPCREL(%rip), %rax movl (%rax), %edi movl $1, %esi callq _s3c2410_modify_misccr movl $14, %edi callq _S3C2410_GPH movl %eax, %edi movq _S3C_GPIO_PULL_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull movl $14, %edi callq _S3C2410_GPH movl %eax, -4(%rbp) ## 4-byte Spill xorl %edi, %edi callq _S3C_GPIO_SFN movl -4(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C2416_MISCCR_SEL_SUSPND,4,2 ## @S3C2416_MISCCR_SEL_SUSPND .comm _S3C_GPIO_PULL_NONE,4,2 ## @S3C_GPIO_PULL_NONE .no_dead_strip _smdk2416_hsudc_gpio_uninit .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_mach-smdk2416.c_smdk2416_hsudc_gpio_uninit.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vr1000_power_off _vr1000_power_off: ; @vr1000_power_off .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #9 bl _S3C2410_GPB mov w1, #1 bl _gpio_direction_output ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _vr1000_power_off .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vr1000_power_off _vr1000_power_off: ## @vr1000_power_off .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $9, %edi callq _S3C2410_GPB movl %eax, %edi movl $1, %esi callq _gpio_direction_output popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _vr1000_power_off .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_mach-vr1000.c_vr1000_power_off.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_nand_setname _s3c_nand_setname: ; @s3c_nand_setname .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _s3c_device_nand,8,3 ; @s3c_device_nand .no_dead_strip _s3c_nand_setname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_nand_setname _s3c_nand_setname: ## @s3c_nand_setname .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) popq %rbp retq .cfi_endproc ## -- End function .comm _s3c_device_nand,8,3 ## @s3c_device_nand .no_dead_strip _s3c_nand_setname .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_nand-core.h_s3c_nand_setname.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2410_plls_add _s3c2410_plls_add: ; @s3c2410_plls_add .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] adrp x8, _pll_vals_12MHz@GOTPAGE ldr x8, [x8, _pll_vals_12MHz@GOTPAGEOFF] ldr w9, [x8] str w9, [sp, #12] ; 4-byte Folded Spill ldr w0, [x8] bl _ARRAY_SIZE mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload bl _s3c_plltab_register ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _pll_vals_12MHz,4,2 ; @pll_vals_12MHz .no_dead_strip _s3c2410_plls_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2410_plls_add _s3c2410_plls_add: ## @s3c2410_plls_add .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 _pll_vals_12MHz@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -20(%rbp) ## 4-byte Spill movq _pll_vals_12MHz@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ARRAY_SIZE movl -20(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_plltab_register addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _pll_vals_12MHz,4,2 ## @pll_vals_12MHz .no_dead_strip _s3c2410_plls_add .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pll-s3c2410.c_s3c2410_plls_add.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2410_pm_add _s3c2410_pm_add: ; @s3c2410_pm_add .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str x1, [sp] adrp x8, _s3c2410_pm_prepare@GOTPAGE ldr x8, [x8, _s3c2410_pm_prepare@GOTPAGEOFF] ldr w8, [x8] adrp x9, _pm_cpu_prep@GOTPAGE ldr x9, [x9, _pm_cpu_prep@GOTPAGEOFF] str w8, [x9] adrp x8, _s3c2410_cpu_suspend@GOTPAGE ldr x8, [x8, _s3c2410_cpu_suspend@GOTPAGEOFF] ldr w8, [x8] adrp x9, _pm_cpu_sleep@GOTPAGE ldr x9, [x9, _pm_cpu_sleep@GOTPAGEOFF] str w8, [x9] mov w0, #0 add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _s3c2410_pm_prepare,4,2 ; @s3c2410_pm_prepare .comm _pm_cpu_prep,4,2 ; @pm_cpu_prep .comm _s3c2410_cpu_suspend,4,2 ; @s3c2410_cpu_suspend .comm _pm_cpu_sleep,4,2 ; @pm_cpu_sleep .no_dead_strip _s3c2410_pm_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2410_pm_add _s3c2410_pm_add: ## @s3c2410_pm_add .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) movq _s3c2410_pm_prepare@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _pm_cpu_prep@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _s3c2410_cpu_suspend@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _pm_cpu_sleep@GOTPCREL(%rip), %rax movl %ecx, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _s3c2410_pm_prepare,4,2 ## @s3c2410_pm_prepare .comm _pm_cpu_prep,4,2 ## @pm_cpu_prep .comm _s3c2410_cpu_suspend,4,2 ## @s3c2410_cpu_suspend .comm _pm_cpu_sleep,4,2 ## @pm_cpu_sleep .no_dead_strip _s3c2410_pm_add .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2410.c_s3c2410_pm_add.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2410_pm_prepare _s3c2410_pm_prepare: ; @s3c2410_pm_prepare .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, _S3C2410_GPIO_INPUT@GOTPAGE ldr x8, [x8, _S3C2410_GPIO_INPUT@GOTPAGEOFF] str x8, [sp, #32] ; 8-byte Folded Spill adrp x8, _s3c_cpu_resume@GOTPAGE ldr x8, [x8, _s3c_cpu_resume@GOTPAGEOFF] ldr w0, [x8] bl ___pa_symbol adrp x8, _S3C2410_GSTATUS3@GOTPAGE ldr x8, [x8, _S3C2410_GSTATUS3@GOTPAGEOFF] str x8, [sp, #40] ; 8-byte Folded Spill ldr x1, [x8] bl ___raw_writel ldr x8, [sp, #40] ; 8-byte Folded Reload ldr x0, [x8] bl ___raw_readl mov x1, x0 adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _S3C_PMDBG adrp x8, _S3C2410_GSTATUS4@GOTPAGE ldr x8, [x8, _S3C2410_GSTATUS4@GOTPAGEOFF] ldr x0, [x8] bl ___raw_readl mov x1, x0 adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _S3C_PMDBG bl _machine_is_h1940 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_1 LBB0_1: adrp x8, _H1940_SUSPEND_CHECK@GOTPAGE ldr x8, [x8, _H1940_SUSPEND_CHECK@GOTPAGEOFF] ldr w0, [x8] bl _phys_to_virt stur x0, [x29, #-8] stur xzr, [x29, #-24] stur xzr, [x29, #-16] b LBB0_2 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-16] subs x8, x8, #64, lsl #12 ; =262144 cset w8, hs tbnz w8, #0, LBB0_5 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x29, #-8] ldur x9, [x29, #-16] add x0, x8, x9 bl ___raw_readl ldur x8, [x29, #-24] add x8, x8, x0 stur x8, [x29, #-24] b LBB0_4 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 ldur x8, [x29, #-16] add x8, x8, #1024 stur x8, [x29, #-16] b LBB0_2 LBB0_5: ldur x8, [x29, #-24] str x8, [sp, #24] ; 8-byte Folded Spill adrp x8, _H1940_SUSPEND_CHECKSUM@GOTPAGE ldr x8, [x8, _H1940_SUSPEND_CHECKSUM@GOTPAGEOFF] ldr w0, [x8] bl _phys_to_virt mov x1, x0 ldr x0, [sp, #24] ; 8-byte Folded Reload bl ___raw_writel b LBB0_6 LBB0_6: bl _machine_is_rx3715 subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: bl _machine_is_rx1950 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_13 b LBB0_8 LBB0_8: adrp x8, _H1940_SUSPEND_CHECK@GOTPAGE ldr x8, [x8, _H1940_SUSPEND_CHECK@GOTPAGEOFF] ldr w0, [x8] bl _phys_to_virt stur x0, [x29, #-32] str xzr, [sp, #48] stur xzr, [x29, #-40] b LBB0_9 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldur x8, [x29, #-40] subs x8, x8, #64, lsl #12 ; =262144 cset w8, hs tbnz w8, #0, LBB0_12 b LBB0_10 LBB0_10: ; in Loop: Header=BB0_9 Depth=1 ldur x8, [x29, #-32] ldur x9, [x29, #-40] add x0, x8, x9 bl ___raw_readl ldr x8, [sp, #48] add x8, x8, x0 str x8, [sp, #48] b LBB0_11 LBB0_11: ; in Loop: Header=BB0_9 Depth=1 ldur x8, [x29, #-40] add x8, x8, #4 stur x8, [x29, #-40] b LBB0_9 LBB0_12: ldr x8, [sp, #48] str x8, [sp, #16] ; 8-byte Folded Spill adrp x8, _H1940_SUSPEND_CHECKSUM@GOTPAGE ldr x8, [x8, _H1940_SUSPEND_CHECKSUM@GOTPAGEOFF] ldr w0, [x8] bl _phys_to_virt mov x1, x0 ldr x0, [sp, #16] ; 8-byte Folded Reload bl ___raw_writel b LBB0_13 LBB0_13: bl _machine_is_aml_m5900 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: mov w0, #2 str w0, [sp, #12] ; 4-byte Folded Spill bl _S3C2410_GPF adrp x8, _GPIOF_OUT_INIT_HIGH@GOTPAGE ldr x8, [x8, _GPIOF_OUT_INIT_HIGH@GOTPAGEOFF] ldr w1, [x8] mov x2, #0 bl _gpio_request_one ldr w0, [sp, #12] ; 4-byte Folded Reload bl _S3C2410_GPF bl _gpio_free b LBB0_15 LBB0_15: bl _machine_is_rx1950 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_17 b LBB0_16 LBB0_16: mov w0, #13 bl _S3C2410_GPG ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w1, [x8] bl _s3c_gpio_cfgpin mov w0, #14 bl _S3C2410_GPG ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w1, [x8] bl _s3c_gpio_cfgpin mov w0, #15 bl _S3C2410_GPG ldr x8, [sp, #32] ; 8-byte Folded Reload ldr w1, [x8] bl _s3c_gpio_cfgpin b LBB0_17 LBB0_17: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload add sp, sp, #112 ret .cfi_endproc ; -- End function .comm _s3c_cpu_resume,4,2 ; @s3c_cpu_resume .comm _S3C2410_GSTATUS3,8,3 ; @S3C2410_GSTATUS3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GSTATUS3 0x%08x\n" l_.str.1: ; @.str.1 .asciz "GSTATUS4 0x%08x\n" .comm _S3C2410_GSTATUS4,8,3 ; @S3C2410_GSTATUS4 .comm _H1940_SUSPEND_CHECK,4,2 ; @H1940_SUSPEND_CHECK .comm _H1940_SUSPEND_CHECKSUM,4,2 ; @H1940_SUSPEND_CHECKSUM .comm _GPIOF_OUT_INIT_HIGH,4,2 ; @GPIOF_OUT_INIT_HIGH .comm _S3C2410_GPIO_INPUT,4,2 ; @S3C2410_GPIO_INPUT .no_dead_strip _s3c2410_pm_prepare .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2410_pm_prepare _s3c2410_pm_prepare: ## @s3c2410_pm_prepare .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 _s3c_cpu_resume@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___pa_symbol movq %rax, %rdi movq _S3C2410_GSTATUS3@GOTPCREL(%rip), %rax movq (%rax), %rsi callq ___raw_writel movq _S3C2410_GSTATUS3@GOTPCREL(%rip), %rax movq (%rax), %rdi callq ___raw_readl movq %rax, %rsi leaq L_.str(%rip), %rdi callq _S3C_PMDBG movq _S3C2410_GSTATUS4@GOTPCREL(%rip), %rax movq (%rax), %rdi callq ___raw_readl movq %rax, %rsi leaq L_.str.1(%rip), %rdi callq _S3C_PMDBG movb $0, %al callq _machine_is_h1940 cmpq $0, %rax je LBB0_6 ## %bb.1: movq _H1940_SUSPEND_CHECK@GOTPCREL(%rip), %rax movl (%rax), %edi callq _phys_to_virt movq %rax, -8(%rbp) movq $0, -24(%rbp) movq $0, -16(%rbp) LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpq $262144, -16(%rbp) ## imm = 0x40000 jae LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -8(%rbp), %rdi addq -16(%rbp), %rdi callq ___raw_readl addq -24(%rbp), %rax movq %rax, -24(%rbp) ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq -16(%rbp), %rax addq $1024, %rax ## imm = 0x400 movq %rax, -16(%rbp) jmp LBB0_2 LBB0_5: movq -24(%rbp), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq _H1940_SUSPEND_CHECKSUM@GOTPCREL(%rip), %rax movl (%rax), %edi callq _phys_to_virt movq -56(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi callq ___raw_writel LBB0_6: movb $0, %al callq _machine_is_rx3715 cmpq $0, %rax jne LBB0_8 ## %bb.7: movb $0, %al callq _machine_is_rx1950 cmpq $0, %rax je LBB0_13 LBB0_8: movq _H1940_SUSPEND_CHECK@GOTPCREL(%rip), %rax movl (%rax), %edi callq _phys_to_virt movq %rax, -32(%rbp) movq $0, -48(%rbp) movq $0, -40(%rbp) LBB0_9: ## =>This Inner Loop Header: Depth=1 cmpq $262144, -40(%rbp) ## imm = 0x40000 jae LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq -32(%rbp), %rdi addq -40(%rbp), %rdi callq ___raw_readl addq -48(%rbp), %rax movq %rax, -48(%rbp) ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movq -40(%rbp), %rax addq $4, %rax movq %rax, -40(%rbp) jmp LBB0_9 LBB0_12: movq -48(%rbp), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq _H1940_SUSPEND_CHECKSUM@GOTPCREL(%rip), %rax movl (%rax), %edi callq _phys_to_virt movq -64(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi callq ___raw_writel LBB0_13: movb $0, %al callq _machine_is_aml_m5900 cmpq $0, %rax je LBB0_15 ## %bb.14: movl $2, %edi callq _S3C2410_GPF movl %eax, %edi movq _GPIOF_OUT_INIT_HIGH@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %edx callq _gpio_request_one movl $2, %edi callq _S3C2410_GPF movl %eax, %edi callq _gpio_free LBB0_15: movb $0, %al callq _machine_is_rx1950 cmpq $0, %rax je LBB0_17 ## %bb.16: movl $13, %edi callq _S3C2410_GPG movl %eax, %edi movq _S3C2410_GPIO_INPUT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_cfgpin movl $14, %edi callq _S3C2410_GPG movl %eax, %edi movq _S3C2410_GPIO_INPUT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_cfgpin movl $15, %edi callq _S3C2410_GPG movl %eax, %edi movq _S3C2410_GPIO_INPUT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_cfgpin LBB0_17: addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _s3c_cpu_resume,4,2 ## @s3c_cpu_resume .comm _S3C2410_GSTATUS3,8,3 ## @S3C2410_GSTATUS3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GSTATUS3 0x%08x\n" L_.str.1: ## @.str.1 .asciz "GSTATUS4 0x%08x\n" .comm _S3C2410_GSTATUS4,8,3 ## @S3C2410_GSTATUS4 .comm _H1940_SUSPEND_CHECK,4,2 ## @H1940_SUSPEND_CHECK .comm _H1940_SUSPEND_CHECKSUM,4,2 ## @H1940_SUSPEND_CHECKSUM .comm _GPIOF_OUT_INIT_HIGH,4,2 ## @GPIOF_OUT_INIT_HIGH .comm _S3C2410_GPIO_INPUT,4,2 ## @S3C2410_GPIO_INPUT .no_dead_strip _s3c2410_pm_prepare .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2410.c_s3c2410_pm_prepare.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2410_pm_resume _s3c2410_pm_resume: ; @s3c2410_pm_resume .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, _S3C2410_GSTATUS2@GOTPAGE ldr x8, [x8, _S3C2410_GSTATUS2@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp, #16] ; 8-byte Folded Reload stur x0, [x29, #-8] adrp x9, _S3C2410_GSTATUS2_OFFRESET@GOTPAGE ldr x9, [x9, _S3C2410_GSTATUS2_OFFRESET@GOTPAGEOFF] ldr x10, [x9] ldur x9, [x29, #-8] and x9, x9, x10 stur x9, [x29, #-8] ldur x0, [x29, #-8] ldr w1, [x8] bl ___raw_writel bl _machine_is_aml_m5900 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w0, #2 str w0, [sp, #12] ; 4-byte Folded Spill bl _S3C2410_GPF adrp x8, _GPIOF_OUT_INIT_LOW@GOTPAGE ldr x8, [x8, _GPIOF_OUT_INIT_LOW@GOTPAGEOFF] ldr w1, [x8] mov x2, #0 bl _gpio_request_one ldr w0, [sp, #12] ; 4-byte Folded Reload bl _S3C2410_GPF bl _gpio_free b LBB0_2 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _S3C2410_GSTATUS2,4,2 ; @S3C2410_GSTATUS2 .comm _S3C2410_GSTATUS2_OFFRESET,8,3 ; @S3C2410_GSTATUS2_OFFRESET .comm _GPIOF_OUT_INIT_LOW,4,2 ; @GPIOF_OUT_INIT_LOW .no_dead_strip _s3c2410_pm_resume .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2410_pm_resume _s3c2410_pm_resume: ## @s3c2410_pm_resume .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 _S3C2410_GSTATUS2@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movq %rax, -8(%rbp) movq _S3C2410_GSTATUS2_OFFRESET@GOTPCREL(%rip), %rax movq (%rax), %rax andq -8(%rbp), %rax movq %rax, -8(%rbp) movq -8(%rbp), %rdi movq _S3C2410_GSTATUS2@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movb $0, %al callq _machine_is_aml_m5900 cmpq $0, %rax je LBB0_2 ## %bb.1: movl $2, %edi callq _S3C2410_GPF movl %eax, %edi movq _GPIOF_OUT_INIT_LOW@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %eax, %eax movl %eax, %edx callq _gpio_request_one movl $2, %edi callq _S3C2410_GPF movl %eax, %edi callq _gpio_free LBB0_2: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C2410_GSTATUS2,4,2 ## @S3C2410_GSTATUS2 .comm _S3C2410_GSTATUS2_OFFRESET,8,3 ## @S3C2410_GSTATUS2_OFFRESET .comm _GPIOF_OUT_INIT_LOW,4,2 ## @GPIOF_OUT_INIT_LOW .no_dead_strip _s3c2410_pm_resume .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2410.c_s3c2410_pm_resume.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2412_pm_add _s3c2412_pm_add: ; @s3c2412_pm_add .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str x1, [sp] adrp x8, _s3c2412_pm_prepare@GOTPAGE ldr x8, [x8, _s3c2412_pm_prepare@GOTPAGEOFF] ldr w8, [x8] adrp x9, _pm_cpu_prep@GOTPAGE ldr x9, [x9, _pm_cpu_prep@GOTPAGEOFF] str w8, [x9] adrp x8, _s3c2412_cpu_suspend@GOTPAGE ldr x8, [x8, _s3c2412_cpu_suspend@GOTPAGEOFF] ldr w8, [x8] adrp x9, _pm_cpu_sleep@GOTPAGE ldr x9, [x9, _pm_cpu_sleep@GOTPAGEOFF] str w8, [x9] mov w0, #0 add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _s3c2412_pm_prepare,4,2 ; @s3c2412_pm_prepare .comm _pm_cpu_prep,4,2 ; @pm_cpu_prep .comm _s3c2412_cpu_suspend,4,2 ; @s3c2412_cpu_suspend .comm _pm_cpu_sleep,4,2 ; @pm_cpu_sleep .no_dead_strip _s3c2412_pm_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2412_pm_add _s3c2412_pm_add: ## @s3c2412_pm_add .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) movq _s3c2412_pm_prepare@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _pm_cpu_prep@GOTPCREL(%rip), %rax movl %ecx, (%rax) movq _s3c2412_cpu_suspend@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _pm_cpu_sleep@GOTPCREL(%rip), %rax movl %ecx, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _s3c2412_pm_prepare,4,2 ## @s3c2412_pm_prepare .comm _pm_cpu_prep,4,2 ## @pm_cpu_prep .comm _s3c2412_cpu_suspend,4,2 ## @s3c2412_cpu_suspend .comm _pm_cpu_sleep,4,2 ## @pm_cpu_sleep .no_dead_strip _s3c2412_pm_add .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2412.c_s3c2412_pm_add.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2412_cpu_suspend _s3c2412_cpu_suspend: ; @s3c2412_cpu_suspend .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] adrp x8, _S3C2412_PWRCFG@GOTPAGE ldr x8, [x8, _S3C2412_PWRCFG@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp, #8] ; 8-byte Folded Reload str x0, [sp, #16] adrp x9, _S3C2412_PWRCFG_STANDBYWFI_SLEEP@GOTPAGE ldr x9, [x9, _S3C2412_PWRCFG_STANDBYWFI_SLEEP@GOTPAGEOFF] ldr x10, [x9] ldr x9, [sp, #16] orr x9, x9, x10 str x9, [sp, #16] ldr x0, [sp, #16] ldr w1, [x8] bl ___raw_writel bl _s3c2412_sleep_enter adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _pr_info mov w0, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _S3C2412_PWRCFG,4,2 ; @S3C2412_PWRCFG .comm _S3C2412_PWRCFG_STANDBYWFI_SLEEP,8,3 ; @S3C2412_PWRCFG_STANDBYWFI_SLEEP .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to suspend the system\n" .no_dead_strip _s3c2412_cpu_suspend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2412_cpu_suspend _s3c2412_cpu_suspend: ## @s3c2412_cpu_suspend .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 _S3C2412_PWRCFG@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movq %rax, -16(%rbp) movq _S3C2412_PWRCFG_STANDBYWFI_SLEEP@GOTPCREL(%rip), %rax movq (%rax), %rax orq -16(%rbp), %rax movq %rax, -16(%rbp) movq -16(%rbp), %rdi movq _S3C2412_PWRCFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movb $0, %al callq _s3c2412_sleep_enter leaq L_.str(%rip), %rdi callq _pr_info movl $1, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C2412_PWRCFG,4,2 ## @S3C2412_PWRCFG .comm _S3C2412_PWRCFG_STANDBYWFI_SLEEP,8,3 ## @S3C2412_PWRCFG_STANDBYWFI_SLEEP .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to suspend the system\n" .no_dead_strip _s3c2412_cpu_suspend .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2412.c_s3c2412_cpu_suspend.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2412_pm_prepare _s3c2412_pm_prepare: ; @s3c2412_pm_prepare .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, _S3C2412_PWRCFG@GOTPAGE ldr x8, [x8, _S3C2412_PWRCFG@GOTPAGEOFF] ldr w8, [x8] stur w8, [x29, #-4] ; 4-byte Folded Spill adrp x8, _wake_irqs@GOTPAGE ldr x8, [x8, _wake_irqs@GOTPAGEOFF] ldr w9, [x8] str w9, [sp, #8] ; 4-byte Folded Spill ldr w0, [x8] bl _ARRAY_SIZE ldr w1, [sp, #8] ; 4-byte Folded Reload mov x2, x0 ldur w0, [x29, #-4] ; 4-byte Folded Reload bl _samsung_sync_wakemask ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C2412_PWRCFG,4,2 ; @S3C2412_PWRCFG .comm _wake_irqs,4,2 ; @wake_irqs .no_dead_strip _s3c2412_pm_prepare .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2412_pm_prepare _s3c2412_pm_prepare: ## @s3c2412_pm_prepare .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 _S3C2412_PWRCFG@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -8(%rbp) ## 4-byte Spill movq _wake_irqs@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) ## 4-byte Spill movq _wake_irqs@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ARRAY_SIZE movl -8(%rbp), %edi ## 4-byte Reload movl -4(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _samsung_sync_wakemask addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C2412_PWRCFG,4,2 ## @S3C2412_PWRCFG .comm _wake_irqs,4,2 ## @wake_irqs .no_dead_strip _s3c2412_pm_prepare .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2412.c_s3c2412_pm_prepare.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2412_pm_resume _s3c2412_pm_resume: ; @s3c2412_pm_resume .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, _S3C2412_PWRCFG@GOTPAGE ldr x8, [x8, _S3C2412_PWRCFG@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp, #8] ; 8-byte Folded Reload stur x0, [x29, #-8] adrp x9, _S3C2412_PWRCFG_STANDBYWFI_MASK@GOTPAGE ldr x9, [x9, _S3C2412_PWRCFG_STANDBYWFI_MASK@GOTPAGEOFF] ldr x10, [x9] ldur x9, [x29, #-8] bic x9, x9, x10 stur x9, [x29, #-8] adrp x9, _S3C2412_PWRCFG_STANDBYWFI_IDLE@GOTPAGE ldr x9, [x9, _S3C2412_PWRCFG_STANDBYWFI_IDLE@GOTPAGEOFF] ldr x10, [x9] ldur x9, [x29, #-8] orr x9, x9, x10 stur x9, [x29, #-8] ldur x0, [x29, #-8] ldr w1, [x8] bl ___raw_writel adrp x8, _s3c2412_sleep@GOTPAGE ldr x8, [x8, _s3c2412_sleep@GOTPAGEOFF] ldr w9, [x8] stur w9, [x29, #-12] ; 4-byte Folded Spill ldr w0, [x8] bl _ARRAY_SIZE mov x1, x0 ldur w0, [x29, #-12] ; 4-byte Folded Reload bl _s3c_pm_do_restore ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _S3C2412_PWRCFG,4,2 ; @S3C2412_PWRCFG .comm _S3C2412_PWRCFG_STANDBYWFI_MASK,8,3 ; @S3C2412_PWRCFG_STANDBYWFI_MASK .comm _S3C2412_PWRCFG_STANDBYWFI_IDLE,8,3 ; @S3C2412_PWRCFG_STANDBYWFI_IDLE .comm _s3c2412_sleep,4,2 ; @s3c2412_sleep .no_dead_strip _s3c2412_pm_resume .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2412_pm_resume _s3c2412_pm_resume: ## @s3c2412_pm_resume .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 _S3C2412_PWRCFG@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movq %rax, -8(%rbp) movq _S3C2412_PWRCFG_STANDBYWFI_MASK@GOTPCREL(%rip), %rax movq (%rax), %rax xorq $-1, %rax andq -8(%rbp), %rax movq %rax, -8(%rbp) movq _S3C2412_PWRCFG_STANDBYWFI_IDLE@GOTPCREL(%rip), %rax movq (%rax), %rax orq -8(%rbp), %rax movq %rax, -8(%rbp) movq -8(%rbp), %rdi movq _S3C2412_PWRCFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movq _s3c2412_sleep@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -12(%rbp) ## 4-byte Spill movq _s3c2412_sleep@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ARRAY_SIZE movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_pm_do_restore addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C2412_PWRCFG,4,2 ## @S3C2412_PWRCFG .comm _S3C2412_PWRCFG_STANDBYWFI_MASK,8,3 ## @S3C2412_PWRCFG_STANDBYWFI_MASK .comm _S3C2412_PWRCFG_STANDBYWFI_IDLE,8,3 ## @S3C2412_PWRCFG_STANDBYWFI_IDLE .comm _s3c2412_sleep,4,2 ## @s3c2412_sleep .no_dead_strip _s3c2412_pm_resume .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2412.c_s3c2412_pm_resume.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2412_pm_suspend _s3c2412_pm_suspend: ; @s3c2412_pm_suspend .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, _s3c2412_sleep@GOTPAGE ldr x8, [x8, _s3c2412_sleep@GOTPAGEOFF] ldr w9, [x8] stur w9, [x29, #-4] ; 4-byte Folded Spill ldr w0, [x8] bl _ARRAY_SIZE mov x1, x0 ldur w0, [x29, #-4] ; 4-byte Folded Reload bl _s3c_pm_do_save mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _s3c2412_sleep,4,2 ; @s3c2412_sleep .no_dead_strip _s3c2412_pm_suspend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2412_pm_suspend _s3c2412_pm_suspend: ## @s3c2412_pm_suspend .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 _s3c2412_sleep@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) ## 4-byte Spill movq _s3c2412_sleep@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ARRAY_SIZE movl -4(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_pm_do_save xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _s3c2412_sleep,4,2 ## @s3c2412_sleep .no_dead_strip _s3c2412_pm_suspend .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2412.c_s3c2412_pm_suspend.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2416_pm_resume _s3c2416_pm_resume: ; @s3c2416_pm_resume .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, _S3C2443_PWRMODE@GOTPAGE ldr x8, [x8, _S3C2443_PWRMODE@GOTPAGEOFF] ldr w1, [x8] mov w0, #0 stur w0, [x29, #-4] ; 4-byte Folded Spill bl ___raw_writel ldur w0, [x29, #-4] ; 4-byte Folded Reload adrp x8, _S3C2412_INFORM0@GOTPAGE ldr x8, [x8, _S3C2412_INFORM0@GOTPAGEOFF] ldr w1, [x8] bl ___raw_writel ldur w0, [x29, #-4] ; 4-byte Folded Reload adrp x8, _S3C2412_INFORM1@GOTPAGE ldr x8, [x8, _S3C2412_INFORM1@GOTPAGEOFF] ldr w1, [x8] bl ___raw_writel ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C2443_PWRMODE,4,2 ; @S3C2443_PWRMODE .comm _S3C2412_INFORM0,4,2 ; @S3C2412_INFORM0 .comm _S3C2412_INFORM1,4,2 ; @S3C2412_INFORM1 .no_dead_strip _s3c2416_pm_resume .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2416_pm_resume _s3c2416_pm_resume: ## @s3c2416_pm_resume .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _S3C2443_PWRMODE@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq ___raw_writel movq _S3C2412_INFORM0@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq ___raw_writel movq _S3C2412_INFORM1@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi callq ___raw_writel popq %rbp retq .cfi_endproc ## -- End function .comm _S3C2443_PWRMODE,4,2 ## @S3C2443_PWRMODE .comm _S3C2412_INFORM0,4,2 ## @S3C2412_INFORM0 .comm _S3C2412_INFORM1,4,2 ## @S3C2412_INFORM1 .no_dead_strip _s3c2416_pm_resume .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm-s3c2416.c_s3c2416_pm_resume.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_pm_check_resume_pin _s3c_pm_check_resume_pin: ; @s3c_pm_check_resume_pin .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] stur w1, [x29, #-8] ldur w0, [x29, #-4] bl _gpio_to_irq str w0, [sp, #4] ldur w8, [x29, #-8] subs w8, w8, #4 cset w8, hs tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x8, _s3c_irqwake_intmask@GOTPAGE ldr x8, [x8, _s3c_irqwake_intmask@GOTPAGEOFF] ldr x8, [x8] ldur w9, [x29, #-8] mov x10, x9 mov x9, #1 lsl x9, x9, x10 and x8, x8, x9 str x8, [sp, #16] b LBB0_3 LBB0_2: adrp x8, _s3c_irqwake_eintmask@GOTPAGE ldr x8, [x8, _s3c_irqwake_eintmask@GOTPAGEOFF] ldr x8, [x8] ldur w9, [x29, #-8] mov x10, x9 mov x9, #1 lsl x9, x9, x10 and x8, x8, x9 str x8, [sp, #16] b LBB0_3 LBB0_3: ldur w0, [x29, #-4] bl _s3c_gpio_getcfg str x0, [sp, #8] ldr x8, [sp, #16] subs x8, x8, #0 cset w8, ne tbnz w8, #0, LBB0_7 b LBB0_4 LBB0_4: ldr x8, [sp, #8] adrp x9, _S3C2410_GPIO_IRQ@GOTPAGE ldr x9, [x9, _S3C2410_GPIO_IRQ@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ldr w1, [sp, #4] ldur w2, [x29, #-4] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _S3C_PMDBG b LBB0_6 LBB0_6: b LBB0_10 LBB0_7: ldr x8, [sp, #8] adrp x9, _S3C2410_GPIO_IRQ@GOTPAGE ldr x9, [x9, _S3C2410_GPIO_IRQ@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_9 b LBB0_8 LBB0_8: ldr w1, [sp, #4] ldur w2, [x29, #-4] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _S3C_PMDBG ldur w0, [x29, #-4] adrp x8, _S3C2410_GPIO_INPUT@GOTPAGE ldr x8, [x8, _S3C2410_GPIO_INPUT@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_cfgpin b LBB0_9 LBB0_9: b LBB0_10 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _s3c_irqwake_intmask,8,3 ; @s3c_irqwake_intmask .comm _s3c_irqwake_eintmask,8,3 ; @s3c_irqwake_eintmask .comm _S3C2410_GPIO_IRQ,8,3 ; @S3C2410_GPIO_IRQ .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Leaving IRQ %d (pin %d) as is\n" l_.str.1: ; @.str.1 .asciz "Disabling IRQ %d (pin %d)\n" .comm _S3C2410_GPIO_INPUT,4,2 ; @S3C2410_GPIO_INPUT .no_dead_strip _s3c_pm_check_resume_pin .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_pm_check_resume_pin _s3c_pm_check_resume_pin: ## @s3c_pm_check_resume_pin .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 %esi, -8(%rbp) movl -4(%rbp), %edi callq _gpio_to_irq movl %eax, -28(%rbp) cmpl $4, -8(%rbp) jae LBB0_2 ## %bb.1: movq _s3c_irqwake_intmask@GOTPCREL(%rip), %rax movq (%rax), %rax movl -8(%rbp), %ecx ## kill: def $rcx killed $ecx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq %rdx, %rcx andq %rcx, %rax movq %rax, -16(%rbp) jmp LBB0_3 LBB0_2: movq _s3c_irqwake_eintmask@GOTPCREL(%rip), %rax movq (%rax), %rax movl -8(%rbp), %ecx ## kill: def $rcx killed $ecx movl $1, %edx ## kill: def $cl killed $rcx shlq %cl, %rdx movq %rdx, %rcx andq %rcx, %rax movq %rax, -16(%rbp) LBB0_3: movl -4(%rbp), %edi callq _s3c_gpio_getcfg movq %rax, -24(%rbp) cmpq $0, -16(%rbp) jne LBB0_7 ## %bb.4: movq -24(%rbp), %rax movq _S3C2410_GPIO_IRQ@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_6 ## %bb.5: movl -28(%rbp), %esi movl -4(%rbp), %edx leaq L_.str(%rip), %rdi callq _S3C_PMDBG LBB0_6: jmp LBB0_10 LBB0_7: movq -24(%rbp), %rax movq _S3C2410_GPIO_IRQ@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_9 ## %bb.8: movl -28(%rbp), %esi movl -4(%rbp), %edx leaq L_.str.1(%rip), %rdi callq _S3C_PMDBG movl -4(%rbp), %edi movq _S3C2410_GPIO_INPUT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_cfgpin LBB0_9: jmp LBB0_10 LBB0_10: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _s3c_irqwake_intmask,8,3 ## @s3c_irqwake_intmask .comm _s3c_irqwake_eintmask,8,3 ## @s3c_irqwake_eintmask .comm _S3C2410_GPIO_IRQ,8,3 ## @S3C2410_GPIO_IRQ .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Leaving IRQ %d (pin %d) as is\n" L_.str.1: ## @.str.1 .asciz "Disabling IRQ %d (pin %d)\n" .comm _S3C2410_GPIO_INPUT,4,2 ## @S3C2410_GPIO_INPUT .no_dead_strip _s3c_pm_check_resume_pin .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm.c_s3c_pm_check_resume_pin.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_pm_configure_extint ; -- Begin function s3c_pm_configure_extint .p2align 2 _s3c_pm_configure_extint: ; @s3c_pm_configure_extint .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 mov w0, #0 bl _S3C2410_GPF stur w0, [x29, #-4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] stur w8, [x29, #-8] ; 4-byte Folded Spill mov w0, #7 bl _S3C2410_GPF ldur w8, [x29, #-8] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, gt tbnz w8, #0, LBB0_4 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-4] stur w8, [x29, #-12] ; 4-byte Folded Spill ldur w8, [x29, #-4] str w8, [sp, #16] ; 4-byte Folded Spill mov w0, #0 bl _S3C2410_GPF ldr w8, [sp, #16] ; 4-byte Folded Reload mov x9, x0 ldur w0, [x29, #-12] ; 4-byte Folded Reload subs w1, w8, w9 bl _s3c_pm_check_resume_pin b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_1 LBB0_4: mov w0, #0 bl _S3C2410_GPG stur w0, [x29, #-4] b LBB0_5 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] str w8, [sp, #12] ; 4-byte Folded Spill mov w0, #7 bl _S3C2410_GPG ldr w8, [sp, #12] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, gt tbnz w8, #0, LBB0_8 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-4] str w8, [sp, #8] ; 4-byte Folded Spill ldur w8, [x29, #-4] str w8, [sp, #4] ; 4-byte Folded Spill mov w0, #0 bl _S3C2410_GPG ldr w8, [sp, #4] ; 4-byte Folded Reload mov x9, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload subs w8, w8, w9 add w1, w8, #8 bl _s3c_pm_check_resume_pin b LBB0_7 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_5 LBB0_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 _s3c_pm_configure_extint ## -- Begin function s3c_pm_configure_extint .p2align 4, 0x90 _s3c_pm_configure_extint: ## @s3c_pm_configure_extint .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 xorl %edi, %edi callq _S3C2410_GPF movl %eax, -4(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movl %eax, -8(%rbp) ## 4-byte Spill movl $7, %edi callq _S3C2410_GPF movl %eax, %ecx movl -8(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jg LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill movl -4(%rbp), %eax movl %eax, -16(%rbp) ## 4-byte Spill xorl %edi, %edi callq _S3C2410_GPF movl -16(%rbp), %esi ## 4-byte Reload movl -12(%rbp), %edi ## 4-byte Reload subl %eax, %esi callq _s3c_pm_check_resume_pin ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_1 LBB0_4: xorl %edi, %edi callq _S3C2410_GPG movl %eax, -4(%rbp) LBB0_5: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movl %eax, -20(%rbp) ## 4-byte Spill movl $7, %edi callq _S3C2410_GPG movl %eax, %ecx movl -20(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jg LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl -4(%rbp), %eax movl %eax, -24(%rbp) ## 4-byte Spill movl -4(%rbp), %eax movl %eax, -28(%rbp) ## 4-byte Spill xorl %edi, %edi callq _S3C2410_GPG movl -28(%rbp), %esi ## 4-byte Reload movl -24(%rbp), %edi ## 4-byte Reload subl %eax, %esi addl $8, %esi callq _s3c_pm_check_resume_pin ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_5 LBB0_8: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_pm.c_s3c_pm_configure_extint.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c2412_init_gpio2 _s3c2412_init_gpio2: ; @s3c2412_init_gpio2 .cfi_startproc ; %bb.0: adrp x8, _S3C24XX_VA_GPIO@GOTPAGE ldr x8, [x8, _S3C24XX_VA_GPIO@GOTPAGEOFF] ldr x8, [x8] add x8, x8, #16 adrp x9, _s3c24xx_va_gpio2@GOTPAGE ldr x9, [x9, _s3c24xx_va_gpio2@GOTPAGEOFF] str x8, [x9] ret .cfi_endproc ; -- End function .comm _S3C24XX_VA_GPIO,8,3 ; @S3C24XX_VA_GPIO .comm _s3c24xx_va_gpio2,8,3 ; @s3c24xx_va_gpio2 .no_dead_strip _s3c2412_init_gpio2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c2412_init_gpio2 _s3c2412_init_gpio2: ## @s3c2412_init_gpio2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _S3C24XX_VA_GPIO@GOTPCREL(%rip), %rax movq (%rax), %rcx addq $16, %rcx movq _s3c24xx_va_gpio2@GOTPCREL(%rip), %rax movq %rcx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _S3C24XX_VA_GPIO,8,3 ## @S3C24XX_VA_GPIO .comm _s3c24xx_va_gpio2,8,3 ## @s3c24xx_va_gpio2 .no_dead_strip _s3c2412_init_gpio2 .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_s3c2412.c_s3c2412_init_gpio2.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function camif_get_gpios _camif_get_gpios: ; @camif_get_gpios .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] mov w0, #0 bl _S3C64XX_GPF ldr x8, [sp, #8] str w0, [x8] mov w0, #3 bl _S3C64XX_GPF ldr x8, [sp] str w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _camif_get_gpios .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function camif_get_gpios _camif_get_gpios: ## @camif_get_gpios .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) xorl %edi, %edi callq _S3C64XX_GPF movl %eax, %ecx movq -8(%rbp), %rax movl %ecx, (%rax) movl $3, %edi callq _S3C64XX_GPF movl %eax, %ecx movq -16(%rbp), %rax movl %ecx, (%rax) addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _camif_get_gpios .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-camif.c_camif_get_gpios.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_camif_gpio_get ; -- Begin function s3c_camif_gpio_get .p2align 2 _s3c_camif_gpio_get: ; @s3c_camif_gpio_get .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 sub x0, x29, #8 sub x1, x29, #12 bl _camif_get_gpios str wzr, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] adrp x9, _S3C_CAMIF_NUM_GPIOS@GOTPAGE ldr x9, [x9, _S3C_CAMIF_NUM_GPIOS@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ge tbnz w8, #0, LBB0_14 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-8] ldr w9, [sp, #12] add w8, w8, w9 str w8, [sp, #8] ldr w8, [sp, #8] ldur w9, [x29, #-12] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 b LBB0_13 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [sp, #8] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _gpio_request str w0, [sp, #16] ldr w8, [sp, #16] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_6 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #8] str w8, [sp, #4] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin str w0, [sp, #16] b LBB0_6 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #16] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_12 b LBB0_7 LBB0_7: ldr w1, [sp, #8] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_err ldr w8, [sp, #12] subs w8, w8, #1 str w8, [sp, #12] b LBB0_8 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] subs w8, w8, #0 cset w8, lt tbnz w8, #0, LBB0_11 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_8 Depth=1 ldr w0, [sp, #8] subs w8, w0, #1 str w8, [sp, #8] bl _gpio_free b LBB0_10 LBB0_10: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [sp, #12] subs w8, w8, #1 str w8, [sp, #12] b LBB0_8 LBB0_11: ldr w8, [sp, #16] stur w8, [x29, #-4] b LBB0_15 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [sp, #8] adrp x8, _S3C_GPIO_PULL_NONE@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_NONE@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_setpull b LBB0_13 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 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 _S3C_CAMIF_NUM_GPIOS,4,2 ; @S3C_CAMIF_NUM_GPIOS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "camif" l_.str.1: ; @.str.1 .asciz "failed to configure GPIO %d\n" .comm _S3C_GPIO_PULL_NONE,4,2 ; @S3C_GPIO_PULL_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_camif_gpio_get ## -- Begin function s3c_camif_gpio_get .p2align 4, 0x90 _s3c_camif_gpio_get: ## @s3c_camif_gpio_get .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 leaq -8(%rbp), %rdi leaq -12(%rbp), %rsi callq _camif_get_gpios movl $0, -20(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %eax movq _S3C_CAMIF_NUM_GPIOS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_14 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl -20(%rbp), %eax movl %eax, -24(%rbp) movl -24(%rbp), %eax cmpl -12(%rbp), %eax jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_13 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %edi leaq L_.str(%rip), %rsi callq _gpio_request movl %eax, -16(%rbp) cmpl $0, -16(%rbp) jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %eax movl %eax, -28(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -28(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin movl %eax, -16(%rbp) LBB0_6: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, -16(%rbp) je LBB0_12 ## %bb.7: movl -24(%rbp), %esi leaq L_.str.1(%rip), %rdi callq _pr_err movl -20(%rbp), %eax addl $-1, %eax movl %eax, -20(%rbp) LBB0_8: ## =>This Inner Loop Header: Depth=1 cmpl $0, -20(%rbp) jl LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movl -24(%rbp), %edi movl %edi, %eax addl $-1, %eax movl %eax, -24(%rbp) callq _gpio_free ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movl -20(%rbp), %eax addl $-1, %eax movl %eax, -20(%rbp) jmp LBB0_8 LBB0_11: movl -16(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_15 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movl -24(%rbp), %edi movq _S3C_GPIO_PULL_NONE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull LBB0_13: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB0_1 LBB0_14: movl $0, -4(%rbp) LBB0_15: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_CAMIF_NUM_GPIOS,4,2 ## @S3C_CAMIF_NUM_GPIOS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "camif" L_.str.1: ## @.str.1 .asciz "failed to configure GPIO %d\n" .comm _S3C_GPIO_PULL_NONE,4,2 ## @S3C_GPIO_PULL_NONE .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-camif.c_s3c_camif_gpio_get.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_camif_gpio_put ; -- Begin function s3c_camif_gpio_put .p2align 2 _s3c_camif_gpio_put: ; @s3c_camif_gpio_put .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 add x0, sp, #8 add x1, sp, #4 bl _camif_get_gpios stur wzr, [x29, #-4] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldur w8, [x29, #-4] adrp x9, _S3C_CAMIF_NUM_GPIOS@GOTPAGE ldr x9, [x9, _S3C_CAMIF_NUM_GPIOS@GOTPAGEOFF] 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 ldr w8, [sp, #8] ldur w9, [x29, #-4] add w8, w8, w9 str w8, [sp] ldr w8, [sp] ldr w9, [sp, #4] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [sp] bl _gpio_free b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-4] add w8, w8, #1 stur w8, [x29, #-4] b LBB0_1 LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C_CAMIF_NUM_GPIOS,4,2 ; @S3C_CAMIF_NUM_GPIOS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_camif_gpio_put ## -- Begin function s3c_camif_gpio_put .p2align 4, 0x90 _s3c_camif_gpio_put: ## @s3c_camif_gpio_put .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp leaq -8(%rbp), %rdi leaq -12(%rbp), %rsi callq _camif_get_gpios movl $0, -4(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -4(%rbp), %eax movq _S3C_CAMIF_NUM_GPIOS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -8(%rbp), %eax addl -4(%rbp), %eax movl %eax, -16(%rbp) movl -16(%rbp), %eax cmpl -12(%rbp), %eax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -16(%rbp), %edi callq _gpio_free LBB0_4: ## in Loop: Header=BB0_1 Depth=1 jmp LBB0_5 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl -4(%rbp), %eax addl $1, %eax movl %eax, -4(%rbp) jmp LBB0_1 LBB0_6: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_CAMIF_NUM_GPIOS,4,2 ## @S3C_CAMIF_NUM_GPIOS .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-camif.c_s3c_camif_gpio_put.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_i2c0_cfg_gpio ; -- Begin function s3c_i2c0_cfg_gpio .p2align 2 _s3c_i2c0_cfg_gpio: ; @s3c_i2c0_cfg_gpio .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] mov w0, #15 bl _S3C2410_GPE adrp x8, _S3C2410_GPE15_IICSDA@GOTPAGE ldr x8, [x8, _S3C2410_GPE15_IICSDA@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_cfgpin mov w0, #14 bl _S3C2410_GPE adrp x8, _S3C2410_GPE14_IICSCL@GOTPAGE ldr x8, [x8, _S3C2410_GPE14_IICSCL@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_cfgpin ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C2410_GPE15_IICSDA,4,2 ; @S3C2410_GPE15_IICSDA .comm _S3C2410_GPE14_IICSCL,4,2 ; @S3C2410_GPE14_IICSCL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_i2c0_cfg_gpio ## -- Begin function s3c_i2c0_cfg_gpio .p2align 4, 0x90 _s3c_i2c0_cfg_gpio: ## @s3c_i2c0_cfg_gpio .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 $15, %edi callq _S3C2410_GPE movl %eax, %edi movq _S3C2410_GPE15_IICSDA@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_cfgpin movl $14, %edi callq _S3C2410_GPE movl %eax, %edi movq _S3C2410_GPE14_IICSCL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_cfgpin addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C2410_GPE15_IICSDA,4,2 ## @S3C2410_GPE15_IICSDA .comm _S3C2410_GPE14_IICSCL,4,2 ## @S3C2410_GPE14_IICSCL .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-i2c.c_s3c_i2c0_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c2416_setup_sdhci0_cfg_gpio ; -- Begin function s3c2416_setup_sdhci0_cfg_gpio .p2align 2 _s3c2416_setup_sdhci0_cfg_gpio: ; @s3c2416_setup_sdhci0_cfg_gpio .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] mov w0, #5 bl _S3C2410_GPE str w0, [sp, #16] ; 4-byte Folded Spill ldur w8, [x29, #-12] mov w0, #2 add w8, w8, #2 str w8, [sp, #12] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #12] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull 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 _s3c2416_setup_sdhci0_cfg_gpio ## -- Begin function s3c2416_setup_sdhci0_cfg_gpio .p2align 4, 0x90 _s3c2416_setup_sdhci0_cfg_gpio: ## @s3c2416_setup_sdhci0_cfg_gpio .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) movl $5, %edi callq _S3C2410_GPE movl %eax, -20(%rbp) ## 4-byte Spill movl -12(%rbp), %eax addl $2, %eax movl %eax, -16(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -20(%rbp), %edi ## 4-byte Reload movl -16(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-sdhci-gpio.c_s3c2416_setup_sdhci0_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c2416_setup_sdhci1_cfg_gpio ; -- Begin function s3c2416_setup_sdhci1_cfg_gpio .p2align 2 _s3c2416_setup_sdhci1_cfg_gpio: ; @s3c2416_setup_sdhci1_cfg_gpio .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] mov w0, #0 bl _S3C2410_GPL str w0, [sp, #8] ; 4-byte Folded Spill ldur w8, [x29, #-12] str w8, [sp, #4] ; 4-byte Folded Spill mov w0, #2 str w0, [sp, #12] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #4] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull mov w0, #8 bl _S3C2410_GPL mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload str w1, [sp, #16] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #12] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull 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 _s3c2416_setup_sdhci1_cfg_gpio ## -- Begin function s3c2416_setup_sdhci1_cfg_gpio .p2align 4, 0x90 _s3c2416_setup_sdhci1_cfg_gpio: ## @s3c2416_setup_sdhci1_cfg_gpio .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) xorl %edi, %edi callq _S3C2410_GPL movl %eax, -24(%rbp) ## 4-byte Spill movl -12(%rbp), %eax movl %eax, -20(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -24(%rbp), %edi ## 4-byte Reload movl -20(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull movl $8, %edi callq _S3C2410_GPL movl %eax, -16(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -16(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $2, %esi callq _s3c_gpio_cfgrange_nopull addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-sdhci-gpio.c_s3c2416_setup_sdhci1_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function simtec_audio_startup_lrroute _simtec_audio_startup_lrroute: ; @simtec_audio_startup_lrroute .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 ldr x0, [sp, #16] bl _local_irq_save adrp x8, _BAST_VA_CTRL1@GOTPAGE ldr x8, [x8, _BAST_VA_CTRL1@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readb ldr x8, [sp, #8] ; 8-byte Folded Reload stur w0, [x29, #-4] adrp x9, _BAST_CPLD_CTRL1_LRMASK@GOTPAGE ldr x9, [x9, _BAST_CPLD_CTRL1_LRMASK@GOTPAGEOFF] ldr w10, [x9] ldur w9, [x29, #-4] bic w9, w9, w10 stur w9, [x29, #-4] adrp x9, _BAST_CPLD_CTRL1_LRCDAC@GOTPAGE ldr x9, [x9, _BAST_CPLD_CTRL1_LRCDAC@GOTPAGEOFF] ldr w10, [x9] ldur w9, [x29, #-4] orr w9, w9, w10 stur w9, [x29, #-4] ldur w0, [x29, #-4] ldr w1, [x8] bl ___raw_writeb ldr x0, [sp, #16] bl _local_irq_restore ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _BAST_VA_CTRL1,4,2 ; @BAST_VA_CTRL1 .comm _BAST_CPLD_CTRL1_LRMASK,4,2 ; @BAST_CPLD_CTRL1_LRMASK .comm _BAST_CPLD_CTRL1_LRCDAC,4,2 ; @BAST_CPLD_CTRL1_LRCDAC .no_dead_strip _simtec_audio_startup_lrroute .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function simtec_audio_startup_lrroute _simtec_audio_startup_lrroute: ## @simtec_audio_startup_lrroute .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 -16(%rbp), %rdi callq _local_irq_save movq _BAST_VA_CTRL1@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readb movl %eax, -4(%rbp) movq _BAST_CPLD_CTRL1_LRMASK@GOTPCREL(%rip), %rax movl (%rax), %eax xorl $-1, %eax andl -4(%rbp), %eax movl %eax, -4(%rbp) movq _BAST_CPLD_CTRL1_LRCDAC@GOTPCREL(%rip), %rax movl (%rax), %eax orl -4(%rbp), %eax movl %eax, -4(%rbp) movl -4(%rbp), %edi movq _BAST_VA_CTRL1@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writeb movq -16(%rbp), %rdi callq _local_irq_restore addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _BAST_VA_CTRL1,4,2 ## @BAST_VA_CTRL1 .comm _BAST_CPLD_CTRL1_LRMASK,4,2 ## @BAST_CPLD_CTRL1_LRMASK .comm _BAST_CPLD_CTRL1_LRCDAC,4,2 ## @BAST_CPLD_CTRL1_LRCDAC .no_dead_strip _simtec_audio_startup_lrroute .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_simtec-audio.c_simtec_audio_startup_lrroute.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c24xx_ts_cfg_gpio ; -- Begin function s3c24xx_ts_cfg_gpio .p2align 2 _s3c24xx_ts_cfg_gpio: ; @s3c24xx_ts_cfg_gpio .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] mov w0, #12 bl _S3C2410_GPG str w0, [sp, #4] ; 4-byte Folded Spill mov w0, #3 bl _S3C_GPIO_SFN mov x2, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload mov w1, #4 bl _s3c_gpio_cfgpin_range 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 _s3c24xx_ts_cfg_gpio ## -- Begin function s3c24xx_ts_cfg_gpio .p2align 4, 0x90 _s3c24xx_ts_cfg_gpio: ## @s3c24xx_ts_cfg_gpio .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 $12, %edi callq _S3C2410_GPG movl %eax, -12(%rbp) ## 4-byte Spill movl $3, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $4, %esi callq _s3c_gpio_cfgpin_range addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_setup-ts.c_s3c24xx_ts_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c64xx_spi_setname _s3c64xx_spi_setname: ; @s3c64xx_spi_setname .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _s3c64xx_device_spi0,8,3 ; @s3c64xx_device_spi0 .comm _s3c64xx_device_spi1,8,3 ; @s3c64xx_device_spi1 .comm _s3c64xx_device_spi2,8,3 ; @s3c64xx_device_spi2 .no_dead_strip _s3c64xx_spi_setname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c64xx_spi_setname _s3c64xx_spi_setname: ## @s3c64xx_spi_setname .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) popq %rbp retq .cfi_endproc ## -- End function .comm _s3c64xx_device_spi0,8,3 ## @s3c64xx_device_spi0 .comm _s3c64xx_device_spi1,8,3 ## @s3c64xx_device_spi1 .comm _s3c64xx_device_spi2,8,3 ## @s3c64xx_device_spi2 .no_dead_strip _s3c64xx_spi_setname .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_spi-core.h_s3c64xx_spi_setname.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usb_simtec_ocirq _usb_simtec_ocirq: ; @usb_simtec_ocirq .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] ldr x8, [sp, #16] str x8, [sp, #8] mov w0, #10 bl _S3C2410_GPG bl _gpio_get_value subs x8, x0, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _pr_debug ldr x0, [sp, #8] mov w1, #3 bl _s3c2410_usb_report_oc b LBB0_3 LBB0_2: adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_debug ldr x0, [sp, #8] mov w1, #0 bl _s3c2410_usb_report_oc b LBB0_3 LBB0_3: adrp x8, _IRQ_HANDLED@GOTPAGE ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] ldr w0, [x8] 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 "usb_simtec: over-current irq (oc detected)\n" l_.str.1: ; @.str.1 .asciz "usb_simtec: over-current irq (oc cleared)\n" .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _usb_simtec_ocirq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usb_simtec_ocirq _usb_simtec_ocirq: ## @usb_simtec_ocirq .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 -16(%rbp), %rax movq %rax, -24(%rbp) movl $10, %edi callq _S3C2410_GPG movl %eax, %edi callq _gpio_get_value cmpq $0, %rax jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _pr_debug movq -24(%rbp), %rdi movl $3, %esi callq _s3c2410_usb_report_oc jmp LBB0_3 LBB0_2: leaq L_.str.1(%rip), %rdi callq _pr_debug movq -24(%rbp), %rdi xorl %esi, %esi callq _s3c2410_usb_report_oc LBB0_3: movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "usb_simtec: over-current irq (oc detected)\n" L_.str.1: ## @.str.1 .asciz "usb_simtec: over-current irq (oc cleared)\n" .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _usb_simtec_ocirq .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_simtec-usb.c_usb_simtec_ocirq.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usb_simtec_powercontrol _usb_simtec_powercontrol: ; @usb_simtec_powercontrol .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, _power_state@GOTPAGE ldr x8, [x8, _power_state@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill stur w0, [x29, #-4] str w1, [sp, #8] ldur w1, [x29, #-4] ldr w2, [sp, #8] adrp x0, l_.str@PAGE add x0, x0, l_.str@PAGEOFF bl _pr_debug ldr x8, [sp] ; 8-byte Folded Reload ldr w9, [sp, #8] ldr x10, [x8] ldursw x11, [x29, #-4] str w9, [x10, x11, lsl #2] ldr x8, [x8] ldr w8, [x8] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_1 LBB0_1: ldr x8, [sp] ; 8-byte Folded Reload ldr x8, [x8] ldr w8, [x8, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_3 b LBB0_2 LBB0_2: mov w0, #4 bl _S3C2410_GPB mov w1, #0 bl _gpio_set_value b LBB0_4 LBB0_3: mov w0, #4 bl _S3C2410_GPB mov w1, #1 bl _gpio_set_value b LBB0_4 LBB0_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 "usb_simtec_powercontrol(%d,%d)\n" .comm _power_state,8,3 ; @power_state .no_dead_strip _usb_simtec_powercontrol .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usb_simtec_powercontrol _usb_simtec_powercontrol: ## @usb_simtec_powercontrol .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), %esi movl -8(%rbp), %edx leaq L_.str(%rip), %rdi callq _pr_debug movl -8(%rbp), %edx movq _power_state@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -4(%rbp), %rcx movl %edx, (%rax,%rcx,4) movq _power_state@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $0, (%rax) je LBB0_3 ## %bb.1: movq _power_state@GOTPCREL(%rip), %rax movq (%rax), %rax cmpl $0, 4(%rax) je LBB0_3 ## %bb.2: movl $4, %edi callq _S3C2410_GPB movl %eax, %edi xorl %esi, %esi callq _gpio_set_value jmp LBB0_4 LBB0_3: movl $4, %edi callq _S3C2410_GPB movl %eax, %edi movl $1, %esi callq _gpio_set_value LBB0_4: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "usb_simtec_powercontrol(%d,%d)\n" .comm _power_state,8,3 ## @power_state .no_dead_strip _usb_simtec_powercontrol .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c24xx/extr_simtec-usb.c_usb_simtec_powercontrol.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_cfcon_setname _s3c_cfcon_setname: ; @s3c_cfcon_setname .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _s3c_device_cfcon,8,3 ; @s3c_device_cfcon .no_dead_strip _s3c_cfcon_setname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_cfcon_setname _s3c_cfcon_setname: ## @s3c_cfcon_setname .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) popq %rbp retq .cfi_endproc ## -- End function .comm _s3c_device_cfcon,8,3 ## @s3c_device_cfcon .no_dead_strip _s3c_cfcon_setname .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_ata-core.h_s3c_cfcon_setname.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_restart ; -- Begin function s3c64xx_restart .p2align 2 _s3c64xx_restart: ; @s3c64xx_restart .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 x1, [sp] ldur w8, [x29, #-4] adrp x9, _REBOOT_SOFT@GOTPAGE ldr x9, [x9, _REBOOT_SOFT@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: bl _samsung_wdt_reset b LBB0_2 LBB0_2: mov w0, #0 bl _soft_restart ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _REBOOT_SOFT,4,2 ; @REBOOT_SOFT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_restart ## -- Begin function s3c64xx_restart .p2align 4, 0x90 _s3c64xx_restart: ## @s3c64xx_restart .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) movq %rsi, -16(%rbp) movl -4(%rbp), %eax movq _REBOOT_SOFT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_2 ## %bb.1: movb $0, %al callq _samsung_wdt_reset LBB0_2: xorl %edi, %edi callq _soft_restart addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _REBOOT_SOFT,4,2 ## @REBOOT_SOFT .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_common.c_s3c64xx_restart.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_irq_demux_eint _s3c_irq_demux_eint: ; @s3c_irq_demux_eint .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] stur w1, [x29, #-8] adrp x8, _S3C64XX_EINT0PEND@GOTPAGE ldr x8, [x8, _S3C64XX_EINT0PEND@GOTPAGEOFF] ldr w0, [x8] bl ___raw_readl stur w0, [x29, #-12] adrp x8, _S3C64XX_EINT0MASK@GOTPAGE ldr x8, [x8, _S3C64XX_EINT0MASK@GOTPAGEOFF] ldr w0, [x8] bl ___raw_readl str w0, [sp, #16] ldr w9, [sp, #16] ldur w8, [x29, #-12] bic w8, w8, w9 stur w8, [x29, #-12] ldur w9, [x29, #-4] ldur w8, [x29, #-12] lsr w8, w8, w9 stur w8, [x29, #-12] ldur w8, [x29, #-8] ldur w9, [x29, #-4] subs w9, w8, w9 mov w8, #1 add w9, w9, #1 lsl w8, w8, w9 subs w9, w8, #1 ldur w8, [x29, #-12] and w8, w8, w9 stur w8, [x29, #-12] ldur w0, [x29, #-4] bl _IRQ_EINT str w0, [sp, #12] b LBB0_1 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w8, [sp, #12] str w8, [sp, #8] ; 4-byte Folded Spill ldur w0, [x29, #-8] bl _IRQ_EINT ldr w8, [sp, #8] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, hi tbnz w8, #0, LBB0_6 b LBB0_2 LBB0_2: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] ands w8, w8, #0x1 cset w8, eq tbnz w8, #0, LBB0_4 b LBB0_3 LBB0_3: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [sp, #12] bl _generic_handle_irq b LBB0_4 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 ldur w8, [x29, #-12] lsr w8, w8, #1 stur w8, [x29, #-12] b LBB0_5 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [sp, #12] add w8, w8, #1 str w8, [sp, #12] b LBB0_1 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _S3C64XX_EINT0PEND,4,2 ; @S3C64XX_EINT0PEND .comm _S3C64XX_EINT0MASK,4,2 ; @S3C64XX_EINT0MASK .no_dead_strip _s3c_irq_demux_eint .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_irq_demux_eint _s3c_irq_demux_eint: ## @s3c_irq_demux_eint .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 %esi, -8(%rbp) movq _S3C64XX_EINT0PEND@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movl %eax, -12(%rbp) movq _S3C64XX_EINT0MASK@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movl %eax, -16(%rbp) movl -16(%rbp), %eax xorl $-1, %eax andl -12(%rbp), %eax movl %eax, -12(%rbp) movl -4(%rbp), %ecx movl -12(%rbp), %eax ## kill: def $cl killed $ecx shrl %cl, %eax movl %eax, -12(%rbp) movl -8(%rbp), %ecx subl -4(%rbp), %ecx addl $1, %ecx movl $1, %eax ## kill: def $cl killed $ecx shll %cl, %eax subl $1, %eax andl -12(%rbp), %eax movl %eax, -12(%rbp) movl -4(%rbp), %edi callq _IRQ_EINT movl %eax, -20(%rbp) LBB0_1: ## =>This Inner Loop Header: Depth=1 movl -20(%rbp), %eax movl %eax, -24(%rbp) ## 4-byte Spill movl -8(%rbp), %edi callq _IRQ_EINT movl %eax, %ecx movl -24(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax ja LBB0_6 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax andl $1, %eax cmpl $0, %eax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %edi callq _generic_handle_irq LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl -12(%rbp), %eax shrl $1, %eax movl %eax, -12(%rbp) ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movl -20(%rbp), %eax addl $1, %eax movl %eax, -20(%rbp) jmp LBB0_1 LBB0_6: addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C64XX_EINT0PEND,4,2 ## @S3C64XX_EINT0PEND .comm _S3C64XX_EINT0MASK,4,2 ## @S3C64XX_EINT0MASK .no_dead_strip _s3c_irq_demux_eint .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_common.c_s3c_irq_demux_eint.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_irq_demux_eint0_3 _s3c_irq_demux_eint0_3: ; @s3c_irq_demux_eint0_3 .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] mov w0, #0 mov w1, #3 bl _s3c_irq_demux_eint ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _s3c_irq_demux_eint0_3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_irq_demux_eint0_3 _s3c_irq_demux_eint0_3: ## @s3c_irq_demux_eint0_3 .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) xorl %edi, %edi movl $3, %esi callq _s3c_irq_demux_eint addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s3c_irq_demux_eint0_3 .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_common.c_s3c_irq_demux_eint0_3.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_irq_demux_eint12_19 _s3c_irq_demux_eint12_19: ; @s3c_irq_demux_eint12_19 .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] mov w0, #12 mov w1, #19 bl _s3c_irq_demux_eint ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _s3c_irq_demux_eint12_19 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_irq_demux_eint12_19 _s3c_irq_demux_eint12_19: ## @s3c_irq_demux_eint12_19 .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 $12, %edi movl $19, %esi callq _s3c_irq_demux_eint addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s3c_irq_demux_eint12_19 .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_common.c_s3c_irq_demux_eint12_19.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_irq_demux_eint20_27 _s3c_irq_demux_eint20_27: ; @s3c_irq_demux_eint20_27 .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] mov w0, #20 mov w1, #27 bl _s3c_irq_demux_eint ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _s3c_irq_demux_eint20_27 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_irq_demux_eint20_27 _s3c_irq_demux_eint20_27: ## @s3c_irq_demux_eint20_27 .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 $20, %edi movl $27, %esi callq _s3c_irq_demux_eint addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s3c_irq_demux_eint20_27 .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_common.c_s3c_irq_demux_eint20_27.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c64xx_enter_idle _s3c64xx_enter_idle: ; @s3c64xx_enter_idle .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] adrp x8, _S3C64XX_PWR_CFG@GOTPAGE ldr x8, [x8, _S3C64XX_PWR_CFG@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp, #8] ; 8-byte Folded Reload str x0, [sp, #16] adrp x9, _S3C64XX_PWRCFG_CFG_WFI_MASK@GOTPAGE ldr x9, [x9, _S3C64XX_PWRCFG_CFG_WFI_MASK@GOTPAGEOFF] ldr x10, [x9] ldr x9, [sp, #16] bic x9, x9, x10 str x9, [sp, #16] adrp x9, _S3C64XX_PWRCFG_CFG_WFI_IDLE@GOTPAGE ldr x9, [x9, _S3C64XX_PWRCFG_CFG_WFI_IDLE@GOTPAGEOFF] ldr x10, [x9] ldr x9, [sp, #16] orr x9, x9, x10 str x9, [sp, #16] ldr x0, [sp, #16] ldr w1, [x8] bl ___raw_writel bl _cpu_do_idle ldur w0, [x29, #-20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _S3C64XX_PWR_CFG,4,2 ; @S3C64XX_PWR_CFG .comm _S3C64XX_PWRCFG_CFG_WFI_MASK,8,3 ; @S3C64XX_PWRCFG_CFG_WFI_MASK .comm _S3C64XX_PWRCFG_CFG_WFI_IDLE,8,3 ; @S3C64XX_PWRCFG_CFG_WFI_IDLE .no_dead_strip _s3c64xx_enter_idle .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c64xx_enter_idle _s3c64xx_enter_idle: ## @s3c64xx_enter_idle .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) movl %edx, -20(%rbp) movq _S3C64XX_PWR_CFG@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movq %rax, -32(%rbp) movq _S3C64XX_PWRCFG_CFG_WFI_MASK@GOTPCREL(%rip), %rax movq (%rax), %rax xorq $-1, %rax andq -32(%rbp), %rax movq %rax, -32(%rbp) movq _S3C64XX_PWRCFG_CFG_WFI_IDLE@GOTPCREL(%rip), %rax movq (%rax), %rax orq -32(%rbp), %rax movq %rax, -32(%rbp) movq -32(%rbp), %rdi movq _S3C64XX_PWR_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movb $0, %al callq _cpu_do_idle movl -20(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C64XX_PWR_CFG,4,2 ## @S3C64XX_PWR_CFG .comm _S3C64XX_PWRCFG_CFG_WFI_MASK,8,3 ## @S3C64XX_PWRCFG_CFG_WFI_MASK .comm _S3C64XX_PWRCFG_CFG_WFI_IDLE,8,3 ## @S3C64XX_PWRCFG_CFG_WFI_IDLE .no_dead_strip _s3c64xx_enter_idle .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_cpuidle.c_s3c64xx_enter_idle.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_irq_demux_eint4_11 _s3c_irq_demux_eint4_11: ; @s3c_irq_demux_eint4_11 .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] mov w0, #4 mov w1, #11 bl _s3c_irq_demux_eint ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _s3c_irq_demux_eint4_11 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_irq_demux_eint4_11 _s3c_irq_demux_eint4_11: ## @s3c_irq_demux_eint4_11 .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 $4, %edi movl $11, %esi callq _s3c_irq_demux_eint addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s3c_irq_demux_eint4_11 .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_common.c_s3c_irq_demux_eint4_11.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c64xx_ac97_cfg_gpd _s3c64xx_ac97_cfg_gpd: ; @s3c64xx_ac97_cfg_gpd .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] mov w0, #0 bl _S3C64XX_GPD str w0, [sp, #4] ; 4-byte Folded Spill mov w0, #4 bl _S3C_GPIO_SFN mov x2, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload mov w1, #5 bl _s3c_gpio_cfgpin_range ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _s3c64xx_ac97_cfg_gpd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c64xx_ac97_cfg_gpd _s3c64xx_ac97_cfg_gpd: ## @s3c64xx_ac97_cfg_gpd .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) xorl %edi, %edi callq _S3C64XX_GPD movl %eax, -12(%rbp) ## 4-byte Spill movl $4, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $5, %esi callq _s3c_gpio_cfgpin_range addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s3c64xx_ac97_cfg_gpd .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_dev-audio.c_s3c64xx_ac97_cfg_gpd.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c64xx_ac97_cfg_gpe _s3c64xx_ac97_cfg_gpe: ; @s3c64xx_ac97_cfg_gpe .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] mov w0, #0 bl _S3C64XX_GPE str w0, [sp, #4] ; 4-byte Folded Spill mov w0, #4 bl _S3C_GPIO_SFN mov x2, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload mov w1, #5 bl _s3c_gpio_cfgpin_range ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _s3c64xx_ac97_cfg_gpe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c64xx_ac97_cfg_gpe _s3c64xx_ac97_cfg_gpe: ## @s3c64xx_ac97_cfg_gpe .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) xorl %edi, %edi callq _S3C64XX_GPE movl %eax, -12(%rbp) ## 4-byte Spill movl $4, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $5, %esi callq _s3c_gpio_cfgpin_range addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s3c64xx_ac97_cfg_gpe .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_dev-audio.c_s3c64xx_ac97_cfg_gpe.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wlf_gf_module_probe _wlf_gf_module_probe: ; @wlf_gf_module_probe .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 adrp x8, _gf_mods@GOTPAGE ldr x8, [x8, _gf_mods@GOTPAGEOFF] str x8, [sp, #24] ; 8-byte Folded Spill stur x0, [x29, #-16] stur x1, [x29, #-24] ldur x0, [x29, #-16] mov w1, #0 bl _i2c_smbus_read_byte_data stur w0, [x29, #-28] ldur w8, [x29, #-28] subs w8, w8, #0 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldur x0, [x29, #-16] ldur w2, [x29, #-28] adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _dev_err ldur w8, [x29, #-28] stur w8, [x29, #-4] b LBB0_22 LBB0_2: ldur w8, [x29, #-28] and w8, w8, #0xfe asr w8, w8, #2 str w8, [sp, #40] ldur w8, [x29, #-28] and w8, w8, #0x3 str w8, [sp, #36] stur wzr, [x29, #-32] b LBB0_3 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #24] ; 8-byte Folded Reload ldur w9, [x29, #-32] str w9, [sp, #20] ; 4-byte Folded Spill ldr x0, [x8] bl _ARRAY_SIZE ldr w8, [sp, #20] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, ge tbnz w8, #0, LBB0_10 b LBB0_4 LBB0_4: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [sp, #24] ; 8-byte Folded Reload ldr w8, [sp, #40] ldr x9, [x9] ldursw x10, [x29, #-32] mov x11, #48 mul x10, x10, x11 ldr w9, [x9, x10] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_5 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-32] mov x10, #48 mul x9, x9, x10 add x8, x8, x9 ldr w8, [x8, #4] subs w8, w8, #255 cset w8, eq tbnz w8, #0, LBB0_7 b LBB0_6 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr x9, [sp, #24] ; 8-byte Folded Reload ldr w8, [sp, #36] ldr x9, [x9] ldursw x10, [x29, #-32] mov x11, #48 mul x10, x10, x11 add x9, x9, x10 ldr w9, [x9, #4] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_8 b LBB0_7 LBB0_7: b LBB0_10 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 b LBB0_9 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 ldur w8, [x29, #-32] add w8, w8, #1 stur w8, [x29, #-32] b LBB0_3 LBB0_10: adrp x0, _wm5102_reva_gpiod_table@GOTPAGE ldr x0, [x0, _wm5102_reva_gpiod_table@GOTPAGEOFF] bl _gpiod_add_lookup_table adrp x0, _wm5102_gpiod_table@GOTPAGE ldr x0, [x0, _wm5102_gpiod_table@GOTPAGEOFF] bl _gpiod_add_lookup_table adrp x0, _wm8994_gpiod_table@GOTPAGE ldr x0, [x0, _wm8994_gpiod_table@GOTPAGEOFF] bl _gpiod_add_lookup_table ldr x8, [sp, #24] ; 8-byte Folded Reload ldur w9, [x29, #-32] str w9, [sp, #16] ; 4-byte Folded Spill ldr x0, [x8] bl _ARRAY_SIZE ldr w8, [sp, #16] ; 4-byte Folded Reload subs w8, w8, w0 cset w8, ge tbnz w8, #0, LBB0_20 b LBB0_11 LBB0_11: ldr x8, [sp, #24] ; 8-byte Folded Reload ldur x0, [x29, #-16] ldr x8, [x8] ldursw x9, [x29, #-32] mov x10, #48 mul x9, x9, x10 add x8, x8, x9 ldr w2, [x8, #40] ldr w8, [sp, #36] add w3, w8, #1 adrp x1, l_.str.1@PAGE add x1, x1, l_.str.1@PAGEOFF bl _dev_info stur wzr, [x29, #-36] b LBB0_12 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x9, [sp, #24] ; 8-byte Folded Reload ldur w8, [x29, #-36] ldr x9, [x9] ldursw x10, [x29, #-32] mov x11, #48 mul x10, x10, x11 add x9, x9, x10 ldr w9, [x9, #8] 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 x8, [sp, #24] ; 8-byte Folded Reload ldur x9, [x29, #-16] ldr w0, [x9, #4] ldr x8, [x8] ldursw x9, [x29, #-32] mov x10, #48 mul x9, x9, x10 add x8, x8, x9 ldr x8, [x8, #32] ldursw x9, [x29, #-36] add x1, x8, x9, lsl #2 bl _i2c_new_device subs w8, w0, #0 cset w8, ne tbnz w8, #0, LBB0_15 b LBB0_14 LBB0_14: ; in Loop: Header=BB0_12 Depth=1 ldur x0, [x29, #-16] ldur w2, [x29, #-28] adrp x1, l_.str.2@PAGE add x1, x1, l_.str.2@PAGEOFF bl _dev_err b LBB0_15 LBB0_15: ; in Loop: Header=BB0_12 Depth=1 b LBB0_16 LBB0_16: ; in Loop: Header=BB0_12 Depth=1 ldur w8, [x29, #-36] add w8, w8, #1 stur w8, [x29, #-36] b LBB0_12 LBB0_17: ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x9, [x8] ldursw x11, [x29, #-32] mov x10, #48 str x10, [sp, #8] ; 8-byte Folded Spill mul x11, x11, x10 add x9, x9, x11 ldr w0, [x9, #28] ldr x8, [x8] ldursw x9, [x29, #-32] mul x9, x9, x10 add x8, x8, x9 ldr w1, [x8, #24] bl _spi_register_board_info ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-32] mul x9, x9, x10 add x8, x8, x9 ldr x8, [x8, #16] subs x8, x8, #0 cset w8, eq tbnz w8, #0, LBB0_19 b LBB0_18 LBB0_18: ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8] ldursw x9, [x29, #-32] mov x10, #48 mul x9, x9, x10 add x8, x8, x9 ldr x0, [x8, #16] bl _gpiod_add_lookup_table b LBB0_19 LBB0_19: b LBB0_21 LBB0_20: ldur x0, [x29, #-16] ldr w2, [sp, #40] ldr w8, [sp, #36] add w3, w8, #1 adrp x1, l_.str.3@PAGE add x1, x1, l_.str.3@PAGEOFF bl _dev_warn b LBB0_21 LBB0_21: stur wzr, [x29, #-4] b LBB0_22 LBB0_22: ldur w0, [x29, #-4] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload add sp, sp, #96 ret .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to read ID: %d\n" .comm _gf_mods,8,3 ; @gf_mods .comm _wm5102_reva_gpiod_table,4,2 ; @wm5102_reva_gpiod_table .comm _wm5102_gpiod_table,4,2 ; @wm5102_gpiod_table .comm _wm8994_gpiod_table,4,2 ; @wm8994_gpiod_table l_.str.1: ; @.str.1 .asciz "%s revision %d\n" l_.str.2: ; @.str.2 .asciz "Failed to register dev: %d\n" l_.str.3: ; @.str.3 .asciz "Unknown module ID 0x%x revision %d\n" .no_dead_strip _wlf_gf_module_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wlf_gf_module_probe _wlf_gf_module_probe: ## @wlf_gf_module_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) movq -16(%rbp), %rdi xorl %esi, %esi callq _i2c_smbus_read_byte_data movl %eax, -28(%rbp) cmpl $0, -28(%rbp) jge LBB0_2 ## %bb.1: movq -16(%rbp), %rdi movl -28(%rbp), %edx leaq L_.str(%rip), %rsi callq _dev_err movl -28(%rbp), %eax movl %eax, -4(%rbp) jmp LBB0_22 LBB0_2: movl -28(%rbp), %eax andl $254, %eax sarl $2, %eax movl %eax, -40(%rbp) movl -28(%rbp), %eax andl $3, %eax movl %eax, -44(%rbp) movl $0, -32(%rbp) LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -32(%rbp), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _ARRAY_SIZE movl %eax, %ecx movl -48(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jge LBB0_10 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl -40(%rbp), %eax movq _gf_mods@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -32(%rbp), %rdx imulq $48, %rdx, %rdx addq %rdx, %rcx cmpl (%rcx), %eax jne LBB0_8 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $48, %rcx, %rcx addq %rcx, %rax cmpl $255, 4(%rax) je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %eax movq _gf_mods@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -32(%rbp), %rdx imulq $48, %rdx, %rdx addq %rdx, %rcx cmpl 4(%rcx), %eax jne LBB0_8 LBB0_7: jmp LBB0_10 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 jmp LBB0_9 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movl -32(%rbp), %eax addl $1, %eax movl %eax, -32(%rbp) jmp LBB0_3 LBB0_10: movq _wm5102_reva_gpiod_table@GOTPCREL(%rip), %rdi callq _gpiod_add_lookup_table movq _wm5102_gpiod_table@GOTPCREL(%rip), %rdi callq _gpiod_add_lookup_table movq _wm8994_gpiod_table@GOTPCREL(%rip), %rdi callq _gpiod_add_lookup_table movl -32(%rbp), %eax movl %eax, -52(%rbp) ## 4-byte Spill movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _ARRAY_SIZE movl %eax, %ecx movl -52(%rbp), %eax ## 4-byte Reload cmpl %ecx, %eax jge LBB0_20 ## %bb.11: movq -16(%rbp), %rdi movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $48, %rcx, %rcx addq %rcx, %rax movl 40(%rax), %edx movl -44(%rbp), %ecx addl $1, %ecx leaq L_.str.1(%rip), %rsi callq _dev_info movl $0, -36(%rbp) LBB0_12: ## =>This Inner Loop Header: Depth=1 movl -36(%rbp), %eax movq _gf_mods@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq -32(%rbp), %rdx imulq $48, %rdx, %rdx addq %rdx, %rcx cmpl 8(%rcx), %eax jge LBB0_17 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movq -16(%rbp), %rax movl 4(%rax), %edi movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $48, %rcx, %rcx addq %rcx, %rax movq 32(%rax), %rsi movslq -36(%rbp), %rax shlq $2, %rax addq %rax, %rsi callq _i2c_new_device cmpl $0, %eax jne LBB0_15 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 movq -16(%rbp), %rdi movl -28(%rbp), %edx leaq L_.str.2(%rip), %rsi callq _dev_err 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: movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $48, %rcx, %rcx addq %rcx, %rax movl 28(%rax), %edi movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $48, %rcx, %rcx addq %rcx, %rax movl 24(%rax), %esi callq _spi_register_board_info movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $48, %rcx, %rcx addq %rcx, %rax cmpq $0, 16(%rax) je LBB0_19 ## %bb.18: movq _gf_mods@GOTPCREL(%rip), %rax movq (%rax), %rax movslq -32(%rbp), %rcx imulq $48, %rcx, %rcx addq %rcx, %rax movq 16(%rax), %rdi callq _gpiod_add_lookup_table LBB0_19: jmp LBB0_21 LBB0_20: movq -16(%rbp), %rdi movl -40(%rbp), %edx movl -44(%rbp), %ecx addl $1, %ecx leaq L_.str.3(%rip), %rsi callq _dev_warn LBB0_21: movl $0, -4(%rbp) LBB0_22: movl -4(%rbp), %eax addq $64, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to read ID: %d\n" .comm _gf_mods,8,3 ## @gf_mods .comm _wm5102_reva_gpiod_table,4,2 ## @wm5102_reva_gpiod_table .comm _wm5102_gpiod_table,4,2 ## @wm5102_gpiod_table .comm _wm8994_gpiod_table,4,2 ## @wm8994_gpiod_table L_.str.1: ## @.str.1 .asciz "%s revision %d\n" L_.str.2: ## @.str.2 .asciz "Failed to register dev: %d\n" L_.str.3: ## @.str.3 .asciz "Unknown module ID 0x%x revision %d\n" .no_dead_strip _wlf_gf_module_probe .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-crag6410-module.c_wlf_gf_module_probe.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function crag6410_cfg_sdhci0 _crag6410_cfg_sdhci0: ; @crag6410_cfg_sdhci0 .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] mov w0, #0 bl _S3C64XX_GPG str w0, [sp, #16] ; 4-byte Folded Spill ldur w8, [x29, #-12] mov w0, #2 add w8, w8, #2 str w8, [sp, #12] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #12] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull mov w0, #6 bl _S3C64XX_GPG adrp x8, _S3C_GPIO_PULL_DOWN@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_DOWN@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_setpull ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _S3C_GPIO_PULL_DOWN,4,2 ; @S3C_GPIO_PULL_DOWN .no_dead_strip _crag6410_cfg_sdhci0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function crag6410_cfg_sdhci0 _crag6410_cfg_sdhci0: ## @crag6410_cfg_sdhci0 .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) xorl %edi, %edi callq _S3C64XX_GPG movl %eax, -20(%rbp) ## 4-byte Spill movl -12(%rbp), %eax addl $2, %eax movl %eax, -16(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -20(%rbp), %edi ## 4-byte Reload movl -16(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull movl $6, %edi callq _S3C64XX_GPG movl %eax, %edi movq _S3C_GPIO_PULL_DOWN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_GPIO_PULL_DOWN,4,2 ## @S3C_GPIO_PULL_DOWN .no_dead_strip _crag6410_cfg_sdhci0 .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-crag6410.c_crag6410_cfg_sdhci0.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hmt_bl_exit _hmt_bl_exit: ; @hmt_bl_exit .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] mov w0, #4 bl _S3C64XX_GPB bl _gpio_free ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _hmt_bl_exit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hmt_bl_exit _hmt_bl_exit: ## @hmt_bl_exit .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 $4, %edi callq _S3C64XX_GPB movl %eax, %edi callq _gpio_free addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _hmt_bl_exit .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-hmt.c_hmt_bl_exit.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hmt_bl_init _hmt_bl_init: ; @hmt_bl_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 str x0, [sp, #8] mov w0, #4 bl _S3C64XX_GPB adrp x1, l_.str@PAGE add x1, x1, l_.str@PAGEOFF bl _gpio_request str w0, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w0, #4 bl _S3C64XX_GPB mov w1, #0 bl _gpio_direction_output str w0, [sp, #4] b LBB0_2 LBB0_2: 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 "lcd backlight enable" .no_dead_strip _hmt_bl_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hmt_bl_init _hmt_bl_init: ## @hmt_bl_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 %rdi, -8(%rbp) movl $4, %edi callq _S3C64XX_GPB movl %eax, %edi leaq L_.str(%rip), %rsi callq _gpio_request movl %eax, -12(%rbp) cmpl $0, -12(%rbp) jne LBB0_2 ## %bb.1: movl $4, %edi callq _S3C64XX_GPB movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movl %eax, -12(%rbp) LBB0_2: movl -12(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "lcd backlight enable" .no_dead_strip _hmt_bl_init .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-hmt.c_hmt_bl_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hmt_bl_notify _hmt_bl_notify: ; @hmt_bl_notify .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 w1, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #2048 cset w8, ge tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr w9, [sp, #4] mov w8, #25600 mul w8, w8, w9 mov w9, #50086 movk w9, #1, lsl #16 add w8, w8, w9 mov w9, #34637 movk w9, #3, lsl #16 sdiv w8, w8, w9 str w8, [sp, #4] b LBB0_3 LBB0_2: ldr w8, [sp, #4] lsl w8, w8, #2 add w8, w8, #4, lsl #12 ; =16384 add w8, w8, #58 mov w9, #116 sdiv w8, w8, w9 str w8, [sp] ldr w8, [sp] ldr w9, [sp] mul w8, w8, w9 ldr w9, [sp] mul w8, w8, w9 add w8, w8, #128, lsl #12 ; =524288 mov w9, #1048576 sdiv w9, w8, w9 mov w8, #25 mul w8, w8, w9 str w8, [sp, #4] b LBB0_3 LBB0_3: mov w0, #4 bl _S3C64XX_GPB ldr w1, [sp, #4] bl _gpio_set_value ldr w0, [sp, #4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _hmt_bl_notify .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hmt_bl_notify _hmt_bl_notify: ## @hmt_bl_notify .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) cmpl $2048, -12(%rbp) ## imm = 0x800 jge LBB0_2 ## %bb.1: imull $25600, -12(%rbp), %eax ## imm = 0x6400 addl $115622, %eax ## imm = 0x1C3A6 movl $231245, %ecx ## imm = 0x3874D cltd idivl %ecx movl %eax, -12(%rbp) jmp LBB0_3 LBB0_2: movl -12(%rbp), %eax shll $2, %eax addl $16384, %eax ## imm = 0x4000 addl $58, %eax movl $116, %ecx cltd idivl %ecx movl %eax, -16(%rbp) movl -16(%rbp), %eax imull -16(%rbp), %eax imull -16(%rbp), %eax addl $524288, %eax ## imm = 0x80000 movl $1048576, %ecx ## imm = 0x100000 cltd idivl %ecx imull $25, %eax, %eax movl %eax, -12(%rbp) LBB0_3: movl $4, %edi callq _S3C64XX_GPB movl %eax, %edi movl -12(%rbp), %esi callq _gpio_set_value movl -12(%rbp), %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _hmt_bl_notify .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-hmt.c_hmt_bl_notify.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mini6410_lcd_power_set _mini6410_lcd_power_set: ; @mini6410_lcd_power_set .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 w1, [sp, #4] ldr w8, [sp, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w0, #0 bl _S3C64XX_GPE mov w1, #1 bl _gpio_direction_output b LBB0_3 LBB0_2: mov w0, #0 str w0, [sp] ; 4-byte Folded Spill bl _S3C64XX_GPE ldr w1, [sp] ; 4-byte Folded Reload bl _gpio_direction_output b LBB0_3 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _mini6410_lcd_power_set .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mini6410_lcd_power_set _mini6410_lcd_power_set: ## @mini6410_lcd_power_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 $16, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) cmpl $0, -12(%rbp) je LBB0_2 ## %bb.1: xorl %edi, %edi callq _S3C64XX_GPE movl %eax, %edi movl $1, %esi callq _gpio_direction_output jmp LBB0_3 LBB0_2: xorl %edi, %edi callq _S3C64XX_GPE movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mini6410_lcd_power_set .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-mini6410.c_mini6410_lcd_power_set.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smartq_bl_init _smartq_bl_init: ; @smartq_bl_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 str x0, [sp, #8] mov w0, #15 bl _S3C64XX_GPF str w0, [sp, #4] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _smartq_bl_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smartq_bl_init _smartq_bl_init: ## @smartq_bl_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 %rdi, -8(%rbp) movl $15, %edi callq _S3C64XX_GPF movl %eax, -12(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _smartq_bl_init .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-smartq.c_smartq_bl_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smartq_lcd_power_set _smartq_lcd_power_set: ; @smartq_lcd_power_set .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 w1, [sp, #4] mov w0, #3 bl _S3C64XX_GPM ldr w1, [sp, #4] bl _gpio_direction_output ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .no_dead_strip _smartq_lcd_power_set .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smartq_lcd_power_set _smartq_lcd_power_set: ## @smartq_lcd_power_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 $16, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) movl $3, %edi callq _S3C64XX_GPM movl %eax, %edi movl -12(%rbp), %esi callq _gpio_direction_output addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _smartq_lcd_power_set .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-smartq.c_smartq_lcd_power_set.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smartq_usb_host_enableoc _smartq_usb_host_enableoc: ; @smartq_usb_host_enableoc .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 w1, [sp, #4] bl _machine_is_smartq5 subs x8, x0, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: b LBB0_7 LBB0_2: ldr w8, [sp, #4] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_6 b LBB0_3 LBB0_3: mov w0, #10 bl _S3C64XX_GPL bl _gpio_to_irq adrp x8, _smartq_usb_host_ocirq@GOTPAGE ldr x8, [x8, _smartq_usb_host_ocirq@GOTPAGEOFF] ldr w1, [x8] adrp x8, _IRQF_TRIGGER_RISING@GOTPAGE ldr x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF] ldr w8, [x8] adrp x9, _IRQF_TRIGGER_FALLING@GOTPAGE ldr x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF] ldr w9, [x9] orr w2, w8, w9 ldr x4, [sp, #8] adrp x3, l_.str@PAGE add x3, x3, l_.str@PAGEOFF bl _request_irq str w0, [sp] ldr w8, [sp] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_5 b LBB0_4 LBB0_4: ldr w1, [sp] adrp x0, l_.str.1@PAGE add x0, x0, l_.str.1@PAGEOFF bl _pr_err b LBB0_5 LBB0_5: b LBB0_7 LBB0_6: mov w0, #10 bl _S3C64XX_GPL bl _gpio_to_irq ldr x1, [sp, #8] bl _free_irq b LBB0_7 LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _smartq_usb_host_ocirq,4,2 ; @smartq_usb_host_ocirq .comm _IRQF_TRIGGER_RISING,4,2 ; @IRQF_TRIGGER_RISING .comm _IRQF_TRIGGER_FALLING,4,2 ; @IRQF_TRIGGER_FALLING .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "USB host overcurrent" l_.str.1: ; @.str.1 .asciz "failed to request usb oc irq: %d\n" .no_dead_strip _smartq_usb_host_enableoc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smartq_usb_host_enableoc _smartq_usb_host_enableoc: ## @smartq_usb_host_enableoc .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) movb $0, %al callq _machine_is_smartq5 cmpq $0, %rax je LBB0_2 ## %bb.1: jmp LBB0_7 LBB0_2: cmpl $0, -12(%rbp) je LBB0_6 ## %bb.3: movl $10, %edi callq _S3C64XX_GPL movl %eax, %edi callq _gpio_to_irq movl %eax, %edi movq _smartq_usb_host_ocirq@GOTPCREL(%rip), %rax movl (%rax), %esi movq _IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax movl (%rax), %edx movq _IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax orl (%rax), %edx movq -8(%rbp), %r8 leaq L_.str(%rip), %rcx callq _request_irq movl %eax, -16(%rbp) cmpl $0, -16(%rbp) je LBB0_5 ## %bb.4: movl -16(%rbp), %esi leaq L_.str.1(%rip), %rdi callq _pr_err LBB0_5: jmp LBB0_7 LBB0_6: movl $10, %edi callq _S3C64XX_GPL movl %eax, %edi callq _gpio_to_irq movl %eax, %edi movq -8(%rbp), %rsi callq _free_irq LBB0_7: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _smartq_usb_host_ocirq,4,2 ## @smartq_usb_host_ocirq .comm _IRQF_TRIGGER_RISING,4,2 ## @IRQF_TRIGGER_RISING .comm _IRQF_TRIGGER_FALLING,4,2 ## @IRQF_TRIGGER_FALLING .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "USB host overcurrent" L_.str.1: ## @.str.1 .asciz "failed to request usb oc irq: %d\n" .no_dead_strip _smartq_usb_host_enableoc .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-smartq.c_smartq_usb_host_enableoc.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function smdk6410_lcd_power_set _smdk6410_lcd_power_set: ; @smdk6410_lcd_power_set .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 w8, [x29, #-12] subs w8, w8, #0 cset w8, eq tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w0, #13 bl _S3C64XX_GPF mov w1, #1 str w1, [sp, #16] ; 4-byte Folded Spill bl _gpio_direction_output mov w0, #5 str w0, [sp, #12] ; 4-byte Folded Spill bl _S3C64XX_GPN mov w1, #0 bl _gpio_direction_output mov w0, #10 bl _msleep ldr w0, [sp, #12] ; 4-byte Folded Reload bl _S3C64XX_GPN ldr w1, [sp, #16] ; 4-byte Folded Reload bl _gpio_direction_output ldr w0, [sp, #16] ; 4-byte Folded Reload bl _msleep b LBB0_3 LBB0_2: mov w0, #13 bl _S3C64XX_GPF mov w1, #0 bl _gpio_direction_output b LBB0_3 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .no_dead_strip _smdk6410_lcd_power_set .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function smdk6410_lcd_power_set _smdk6410_lcd_power_set: ## @smdk6410_lcd_power_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 $16, %rsp movq %rdi, -8(%rbp) movl %esi, -12(%rbp) cmpl $0, -12(%rbp) je LBB0_2 ## %bb.1: movl $13, %edi callq _S3C64XX_GPF movl %eax, %edi movl $1, %esi callq _gpio_direction_output movl $5, %edi callq _S3C64XX_GPN movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output movl $10, %edi callq _msleep movl $5, %edi callq _S3C64XX_GPN movl %eax, %edi movl $1, %esi callq _gpio_direction_output movl $1, %edi callq _msleep jmp LBB0_3 LBB0_2: movl $13, %edi callq _S3C64XX_GPF movl %eax, %edi xorl %esi, %esi callq _gpio_direction_output LBB0_3: addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _smdk6410_lcd_power_set .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_mach-smdk6410.c_smdk6410_lcd_power_set.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c64xx_onenand1_setname _s3c64xx_onenand1_setname: ; @s3c64xx_onenand1_setname .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _s3c64xx_device_onenand1,8,3 ; @s3c64xx_device_onenand1 .no_dead_strip _s3c64xx_onenand1_setname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c64xx_onenand1_setname _s3c64xx_onenand1_setname: ## @s3c64xx_onenand1_setname .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) popq %rbp retq .cfi_endproc ## -- End function .comm _s3c64xx_device_onenand1,8,3 ## @s3c64xx_device_onenand1 .no_dead_strip _s3c64xx_onenand1_setname .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_onenand-core.h_s3c64xx_onenand1_setname.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_onenand_setname _s3c_onenand_setname: ; @s3c_onenand_setname .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] add sp, sp, #16 ret .cfi_endproc ; -- End function .comm _s3c_device_onenand,8,3 ; @s3c_device_onenand .no_dead_strip _s3c_onenand_setname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_onenand_setname _s3c_onenand_setname: ## @s3c_onenand_setname .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) popq %rbp retq .cfi_endproc ## -- End function .comm _s3c_device_onenand,8,3 ## @s3c_device_onenand .no_dead_strip _s3c_onenand_setname .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_onenand-core.h_s3c_onenand_setname.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pl08x_get_xfer_signal _pl08x_get_xfer_signal: ; @pl08x_get_xfer_signal .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] ldr x8, [sp, #8] ldr w0, [x8] add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _pl08x_get_xfer_signal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pl08x_get_xfer_signal _pl08x_get_xfer_signal: ## @pl08x_get_xfer_signal .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 -8(%rbp), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pl08x_get_xfer_signal .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_pl080.c_pl08x_get_xfer_signal.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pl08x_put_xfer_signal _pl08x_put_xfer_signal: ; @pl08x_put_xfer_signal .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str x0, [sp, #8] str w1, [sp, #4] add sp, sp, #16 ret .cfi_endproc ; -- End function .no_dead_strip _pl08x_put_xfer_signal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pl08x_put_xfer_signal _pl08x_put_xfer_signal: ## @pl08x_put_xfer_signal .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) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _pl08x_put_xfer_signal .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_pl080.c_pl08x_put_xfer_signal.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c64xx_pm_prepare _s3c64xx_pm_prepare: ; @s3c64xx_pm_prepare .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, _S3C64XX_PWR_CFG@GOTPAGE ldr x8, [x8, _S3C64XX_PWR_CFG@GOTPAGEOFF] ldr w8, [x8] str w8, [sp, #4] ; 4-byte Folded Spill adrp x8, _wake_irqs@GOTPAGE ldr x8, [x8, _wake_irqs@GOTPAGEOFF] ldr w9, [x8] str w9, [sp] ; 4-byte Folded Spill ldr w0, [x8] bl _ARRAY_SIZE ldr w1, [sp] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload bl _samsung_sync_wakemask adrp x8, _s3c_cpu_resume@GOTPAGE ldr x8, [x8, _s3c_cpu_resume@GOTPAGEOFF] ldr w0, [x8] bl ___pa_symbol adrp x8, _S3C64XX_INFORM0@GOTPAGE ldr x8, [x8, _S3C64XX_INFORM0@GOTPAGEOFF] ldr w1, [x8] bl ___raw_writel adrp x8, _S3C64XX_WAKEUP_STAT@GOTPAGE ldr x8, [x8, _S3C64XX_WAKEUP_STAT@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w1, [x8] bl ___raw_writel ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C64XX_PWR_CFG,4,2 ; @S3C64XX_PWR_CFG .comm _wake_irqs,4,2 ; @wake_irqs .comm _s3c_cpu_resume,4,2 ; @s3c_cpu_resume .comm _S3C64XX_INFORM0,4,2 ; @S3C64XX_INFORM0 .comm _S3C64XX_WAKEUP_STAT,4,2 ; @S3C64XX_WAKEUP_STAT .no_dead_strip _s3c64xx_pm_prepare .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c64xx_pm_prepare _s3c64xx_pm_prepare: ## @s3c64xx_pm_prepare .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 _S3C64XX_PWR_CFG@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -8(%rbp) ## 4-byte Spill movq _wake_irqs@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) ## 4-byte Spill movq _wake_irqs@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ARRAY_SIZE movl -8(%rbp), %edi ## 4-byte Reload movl -4(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _samsung_sync_wakemask movq _s3c_cpu_resume@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___pa_symbol movl %eax, %edi movq _S3C64XX_INFORM0@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movq _S3C64XX_WAKEUP_STAT@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movl %eax, %edi movq _S3C64XX_WAKEUP_STAT@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C64XX_PWR_CFG,4,2 ## @S3C64XX_PWR_CFG .comm _wake_irqs,4,2 ## @wake_irqs .comm _s3c_cpu_resume,4,2 ## @s3c_cpu_resume .comm _S3C64XX_INFORM0,4,2 ## @S3C64XX_INFORM0 .comm _S3C64XX_WAKEUP_STAT,4,2 ## @S3C64XX_WAKEUP_STAT .no_dead_strip _s3c64xx_pm_prepare .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_pm.c_s3c64xx_pm_prepare.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_fb_gpio_setup_24bpp ; -- Begin function s3c64xx_fb_gpio_setup_24bpp .p2align 2 _s3c64xx_fb_gpio_setup_24bpp: ; @s3c64xx_fb_gpio_setup_24bpp .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 mov w0, #0 str w0, [sp, #4] ; 4-byte Folded Spill bl _S3C64XX_GPI str w0, [sp] ; 4-byte Folded Spill mov w0, #2 str w0, [sp, #8] ; 4-byte Folded Spill bl _S3C_GPIO_SFN mov x2, x0 ldr w0, [sp] ; 4-byte Folded Reload mov w1, #16 bl _s3c_gpio_cfgrange_nopull ldr w0, [sp, #4] ; 4-byte Folded Reload bl _S3C64XX_GPJ mov x1, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload stur w1, [x29, #-4] ; 4-byte Folded Spill bl _S3C_GPIO_SFN mov x2, x0 ldur w0, [x29, #-4] ; 4-byte Folded Reload mov w1, #12 bl _s3c_gpio_cfgrange_nopull 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 _s3c64xx_fb_gpio_setup_24bpp ## -- Begin function s3c64xx_fb_gpio_setup_24bpp .p2align 4, 0x90 _s3c64xx_fb_gpio_setup_24bpp: ## @s3c64xx_fb_gpio_setup_24bpp .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 xorl %edi, %edi callq _S3C64XX_GPI movl %eax, -8(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -8(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $16, %esi callq _s3c_gpio_cfgrange_nopull xorl %edi, %edi callq _S3C64XX_GPJ movl %eax, -4(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -4(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $12, %esi callq _s3c_gpio_cfgrange_nopull addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-fb-24bpp.c_s3c64xx_fb_gpio_setup_24bpp.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_i2c0_cfg_gpio ; -- Begin function s3c_i2c0_cfg_gpio .p2align 2 _s3c_i2c0_cfg_gpio: ; @s3c_i2c0_cfg_gpio .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] mov w0, #5 bl _S3C64XX_GPB str w0, [sp, #4] ; 4-byte Folded Spill mov w0, #2 str w0, [sp] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload adrp x8, _S3C_GPIO_PULL_UP@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_UP@GOTPAGEOFF] ldr w3, [x8] bl _s3c_gpio_cfgall_range ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C_GPIO_PULL_UP,4,2 ; @S3C_GPIO_PULL_UP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_i2c0_cfg_gpio ## -- Begin function s3c_i2c0_cfg_gpio .p2align 4, 0x90 _s3c_i2c0_cfg_gpio: ## @s3c_i2c0_cfg_gpio .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 $5, %edi callq _S3C64XX_GPB movl %eax, -12(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %edx movq _S3C_GPIO_PULL_UP@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $2, %esi callq _s3c_gpio_cfgall_range addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_GPIO_PULL_UP,4,2 ## @S3C_GPIO_PULL_UP .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-i2c0.c_s3c_i2c0_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_i2c1_cfg_gpio ; -- Begin function s3c_i2c1_cfg_gpio .p2align 2 _s3c_i2c1_cfg_gpio: ; @s3c_i2c1_cfg_gpio .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] mov w0, #2 str w0, [sp] ; 4-byte Folded Spill bl _S3C64XX_GPB str w0, [sp, #4] ; 4-byte Folded Spill mov w0, #6 bl _S3C_GPIO_SFN ldr w1, [sp] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #4] ; 4-byte Folded Reload adrp x8, _S3C_GPIO_PULL_UP@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_UP@GOTPAGEOFF] ldr w3, [x8] bl _s3c_gpio_cfgall_range ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _S3C_GPIO_PULL_UP,4,2 ; @S3C_GPIO_PULL_UP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c_i2c1_cfg_gpio ## -- Begin function s3c_i2c1_cfg_gpio .p2align 4, 0x90 _s3c_i2c1_cfg_gpio: ## @s3c_i2c1_cfg_gpio .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 $2, %edi callq _S3C64XX_GPB movl %eax, -12(%rbp) ## 4-byte Spill movl $6, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %edx movq _S3C_GPIO_PULL_UP@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $2, %esi callq _s3c_gpio_cfgall_range addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_GPIO_PULL_UP,4,2 ## @S3C_GPIO_PULL_UP .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-i2c1.c_s3c_i2c1_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_ide_setup_gpio ; -- Begin function s3c64xx_ide_setup_gpio .p2align 2 _s3c64xx_ide_setup_gpio: ; @s3c64xx_ide_setup_gpio .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, _S3C_MEM_SYS_CFG@GOTPAGE ldr x8, [x8, _S3C_MEM_SYS_CFG@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill ldr w0, [x8] bl _readl ldr x8, [sp] ; 8-byte Folded Reload and w9, w0, #0xffffffc0 stur w9, [x29, #-4] ldur w9, [x29, #-4] adrp x10, _MEM_SYS_CFG_INDEP_CF@GOTPAGE ldr x10, [x10, _MEM_SYS_CFG_INDEP_CF@GOTPAGEOFF] ldr w10, [x10] orr w9, w9, w10 adrp x10, _MEM_SYS_CFG_EBI_FIX_PRI_CFCON@GOTPAGE ldr x10, [x10, _MEM_SYS_CFG_EBI_FIX_PRI_CFCON@GOTPAGEOFF] ldr w10, [x10] orr w0, w9, w10 ldr w1, [x8] bl _writel mov w0, #4 str w0, [sp, #8] ; 4-byte Folded Spill bl _S3C64XX_GPB mov x1, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload str w1, [sp, #12] ; 4-byte Folded Spill bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin mov w0, #0 stur w0, [x29, #-20] ; 4-byte Folded Spill bl _S3C64XX_GPK str w0, [sp, #16] ; 4-byte Folded Spill mov w0, #5 stur w0, [x29, #-12] ; 4-byte Folded Spill bl _S3C_GPIO_SFN mov x2, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload mov w1, #16 bl _s3c_gpio_cfgpin_range ldur w0, [x29, #-20] ; 4-byte Folded Reload bl _S3C64XX_GPL str w0, [sp, #20] ; 4-byte Folded Spill mov w0, #6 stur w0, [x29, #-16] ; 4-byte Folded Spill bl _S3C_GPIO_SFN mov x2, x0 ldr w0, [sp, #20] ; 4-byte Folded Reload mov w1, #3 bl _s3c_gpio_cfgpin_range ldur w0, [x29, #-12] ; 4-byte Folded Reload bl _S3C64XX_GPM str w0, [sp, #24] ; 4-byte Folded Spill mov w0, #1 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #24] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin ldur w0, [x29, #-20] ; 4-byte Folded Reload bl _S3C64XX_GPM mov x1, x0 ldur w0, [x29, #-16] ; 4-byte Folded Reload stur w1, [x29, #-8] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldur w1, [x29, #-12] ; 4-byte Folded Reload mov x2, x0 ldur w0, [x29, #-8] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin_range ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _S3C_MEM_SYS_CFG,4,2 ; @S3C_MEM_SYS_CFG .comm _MEM_SYS_CFG_INDEP_CF,4,2 ; @MEM_SYS_CFG_INDEP_CF .comm _MEM_SYS_CFG_EBI_FIX_PRI_CFCON,4,2 ; @MEM_SYS_CFG_EBI_FIX_PRI_CFCON .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_ide_setup_gpio ## -- Begin function s3c64xx_ide_setup_gpio .p2align 4, 0x90 _s3c64xx_ide_setup_gpio: ## @s3c64xx_ide_setup_gpio .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 _S3C_MEM_SYS_CFG@GOTPCREL(%rip), %rax movl (%rax), %edi callq _readl andl $-64, %eax movl %eax, -4(%rbp) movl -4(%rbp), %edi movq _MEM_SYS_CFG_INDEP_CF@GOTPCREL(%rip), %rax orl (%rax), %edi movq _MEM_SYS_CFG_EBI_FIX_PRI_CFCON@GOTPCREL(%rip), %rax orl (%rax), %edi movq _S3C_MEM_SYS_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq _writel movl $4, %edi callq _S3C64XX_GPB movl %eax, -24(%rbp) ## 4-byte Spill movl $4, %edi callq _S3C_GPIO_SFN movl -24(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin xorl %edi, %edi callq _S3C64XX_GPK movl %eax, -20(%rbp) ## 4-byte Spill movl $5, %edi callq _S3C_GPIO_SFN movl -20(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $16, %esi callq _s3c_gpio_cfgpin_range xorl %edi, %edi callq _S3C64XX_GPL movl %eax, -16(%rbp) ## 4-byte Spill movl $6, %edi callq _S3C_GPIO_SFN movl -16(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $3, %esi callq _s3c_gpio_cfgpin_range movl $5, %edi callq _S3C64XX_GPM movl %eax, -12(%rbp) ## 4-byte Spill movl $1, %edi callq _S3C_GPIO_SFN movl -12(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin xorl %edi, %edi callq _S3C64XX_GPM movl %eax, -8(%rbp) ## 4-byte Spill movl $6, %edi callq _S3C_GPIO_SFN movl -8(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $5, %esi callq _s3c_gpio_cfgpin_range addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_MEM_SYS_CFG,4,2 ## @S3C_MEM_SYS_CFG .comm _MEM_SYS_CFG_INDEP_CF,4,2 ## @MEM_SYS_CFG_INDEP_CF .comm _MEM_SYS_CFG_EBI_FIX_PRI_CFCON,4,2 ## @MEM_SYS_CFG_EBI_FIX_PRI_CFCON .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-ide.c_s3c64xx_ide_setup_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _samsung_keypad_cfg_gpio ; -- Begin function samsung_keypad_cfg_gpio .p2align 2 _samsung_keypad_cfg_gpio: ; @samsung_keypad_cfg_gpio .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] stur w1, [x29, #-8] mov w0, #8 bl _S3C64XX_GPK str w0, [sp, #8] ; 4-byte Folded Spill ldur w8, [x29, #-4] str w8, [sp, #4] ; 4-byte Folded Spill mov w0, #3 str w0, [sp, #12] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #4] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull mov w0, #0 bl _S3C64XX_GPL mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload stur w1, [x29, #-12] ; 4-byte Folded Spill ldur w8, [x29, #-8] str w8, [sp, #16] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #16] ; 4-byte Folded Reload mov x2, x0 ldur w0, [x29, #-12] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull 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 _samsung_keypad_cfg_gpio ## -- Begin function samsung_keypad_cfg_gpio .p2align 4, 0x90 _samsung_keypad_cfg_gpio: ## @samsung_keypad_cfg_gpio .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 %esi, -8(%rbp) movl $8, %edi callq _S3C64XX_GPK movl %eax, -24(%rbp) ## 4-byte Spill movl -4(%rbp), %eax movl %eax, -20(%rbp) ## 4-byte Spill movl $3, %edi callq _S3C_GPIO_SFN movl -24(%rbp), %edi ## 4-byte Reload movl -20(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull xorl %edi, %edi callq _S3C64XX_GPL movl %eax, -16(%rbp) ## 4-byte Spill movl -8(%rbp), %eax movl %eax, -12(%rbp) ## 4-byte Spill movl $3, %edi callq _S3C_GPIO_SFN movl -16(%rbp), %edi ## 4-byte Reload movl -12(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-keypad.c_samsung_keypad_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_setup_sdhci0_cfg_gpio ; -- Begin function s3c64xx_setup_sdhci0_cfg_gpio .p2align 2 _s3c64xx_setup_sdhci0_cfg_gpio: ; @s3c64xx_setup_sdhci0_cfg_gpio .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] str x8, [sp, #24] mov w0, #0 bl _S3C64XX_GPG str w0, [sp, #20] ; 4-byte Folded Spill ldur w8, [x29, #-12] mov w0, #2 add w8, w8, #2 str w8, [sp, #16] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #16] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #20] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull ldr x8, [sp, #24] ldr x8, [x8] adrp x9, _S3C_SDHCI_CD_INTERNAL@GOTPAGE ldr x9, [x9, _S3C_SDHCI_CD_INTERNAL@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w0, #6 str w0, [sp, #8] ; 4-byte Folded Spill bl _S3C64XX_GPG adrp x8, _S3C_GPIO_PULL_UP@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_UP@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_setpull ldr w0, [sp, #8] ; 4-byte Folded Reload bl _S3C64XX_GPG str w0, [sp, #12] ; 4-byte Folded Spill mov w0, #2 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin b LBB0_2 LBB0_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _S3C_SDHCI_CD_INTERNAL,8,3 ; @S3C_SDHCI_CD_INTERNAL .comm _S3C_GPIO_PULL_UP,4,2 ; @S3C_GPIO_PULL_UP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_setup_sdhci0_cfg_gpio ## -- Begin function s3c64xx_setup_sdhci0_cfg_gpio .p2align 4, 0x90 _s3c64xx_setup_sdhci0_cfg_gpio: ## @s3c64xx_setup_sdhci0_cfg_gpio .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 movq %rax, -24(%rbp) xorl %edi, %edi callq _S3C64XX_GPG movl %eax, -32(%rbp) ## 4-byte Spill movl -12(%rbp), %eax addl $2, %eax movl %eax, -28(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -32(%rbp), %edi ## 4-byte Reload movl -28(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull movq -24(%rbp), %rax movq (%rax), %rax movq _S3C_SDHCI_CD_INTERNAL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movl $6, %edi callq _S3C64XX_GPG movl %eax, %edi movq _S3C_GPIO_PULL_UP@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull movl $6, %edi callq _S3C64XX_GPG movl %eax, -36(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -36(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin LBB0_2: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_SDHCI_CD_INTERNAL,8,3 ## @S3C_SDHCI_CD_INTERNAL .comm _S3C_GPIO_PULL_UP,4,2 ## @S3C_GPIO_PULL_UP .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-sdhci-gpio.c_s3c64xx_setup_sdhci0_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_setup_sdhci1_cfg_gpio ; -- Begin function s3c64xx_setup_sdhci1_cfg_gpio .p2align 2 _s3c64xx_setup_sdhci1_cfg_gpio: ; @s3c64xx_setup_sdhci1_cfg_gpio .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] str x8, [sp, #24] mov w0, #0 bl _S3C64XX_GPH str w0, [sp, #20] ; 4-byte Folded Spill ldur w8, [x29, #-12] mov w0, #2 add w8, w8, #2 str w8, [sp, #16] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #16] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #20] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull ldr x8, [sp, #24] ldr x8, [x8] adrp x9, _S3C_SDHCI_CD_INTERNAL@GOTPAGE ldr x9, [x9, _S3C_SDHCI_CD_INTERNAL@GOTPAGEOFF] ldr x9, [x9] subs x8, x8, x9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: mov w0, #6 str w0, [sp, #8] ; 4-byte Folded Spill bl _S3C64XX_GPG adrp x8, _S3C_GPIO_PULL_UP@GOTPAGE ldr x8, [x8, _S3C_GPIO_PULL_UP@GOTPAGEOFF] ldr w1, [x8] bl _s3c_gpio_setpull ldr w0, [sp, #8] ; 4-byte Folded Reload bl _S3C64XX_GPG str w0, [sp, #12] ; 4-byte Folded Spill mov w0, #3 bl _S3C_GPIO_SFN mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload bl _s3c_gpio_cfgpin b LBB0_2 LBB0_2: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .comm _S3C_SDHCI_CD_INTERNAL,8,3 ; @S3C_SDHCI_CD_INTERNAL .comm _S3C_GPIO_PULL_UP,4,2 ; @S3C_GPIO_PULL_UP .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_setup_sdhci1_cfg_gpio ## -- Begin function s3c64xx_setup_sdhci1_cfg_gpio .p2align 4, 0x90 _s3c64xx_setup_sdhci1_cfg_gpio: ## @s3c64xx_setup_sdhci1_cfg_gpio .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 movq %rax, -24(%rbp) xorl %edi, %edi callq _S3C64XX_GPH movl %eax, -32(%rbp) ## 4-byte Spill movl -12(%rbp), %eax addl $2, %eax movl %eax, -28(%rbp) ## 4-byte Spill movl $2, %edi callq _S3C_GPIO_SFN movl -32(%rbp), %edi ## 4-byte Reload movl -28(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull movq -24(%rbp), %rax movq (%rax), %rax movq _S3C_SDHCI_CD_INTERNAL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movl $6, %edi callq _S3C64XX_GPG movl %eax, %edi movq _S3C_GPIO_PULL_UP@GOTPCREL(%rip), %rax movl (%rax), %esi callq _s3c_gpio_setpull movl $6, %edi callq _S3C64XX_GPG movl %eax, -36(%rbp) ## 4-byte Spill movl $3, %edi callq _S3C_GPIO_SFN movl -36(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_gpio_cfgpin LBB0_2: addq $48, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_SDHCI_CD_INTERNAL,8,3 ## @S3C_SDHCI_CD_INTERNAL .comm _S3C_GPIO_PULL_UP,4,2 ## @S3C_GPIO_PULL_UP .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-sdhci-gpio.c_s3c64xx_setup_sdhci1_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s3c64xx_setup_sdhci2_cfg_gpio ; -- Begin function s3c64xx_setup_sdhci2_cfg_gpio .p2align 2 _s3c64xx_setup_sdhci2_cfg_gpio: ; @s3c64xx_setup_sdhci2_cfg_gpio .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] mov w0, #6 bl _S3C64XX_GPH str w0, [sp, #8] ; 4-byte Folded Spill ldur w8, [x29, #-12] str w8, [sp, #4] ; 4-byte Folded Spill mov w0, #3 str w0, [sp, #12] ; 4-byte Folded Spill bl _S3C_GPIO_SFN ldr w1, [sp, #4] ; 4-byte Folded Reload mov x2, x0 ldr w0, [sp, #8] ; 4-byte Folded Reload bl _s3c_gpio_cfgrange_nopull mov w0, #4 bl _S3C64XX_GPC mov x1, x0 ldr w0, [sp, #12] ; 4-byte Folded Reload str w1, [sp, #16] ; 4-byte Folded Spill bl _S3C_GPIO_SFN mov x2, x0 ldr w0, [sp, #16] ; 4-byte Folded Reload mov w1, #2 bl _s3c_gpio_cfgrange_nopull 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 _s3c64xx_setup_sdhci2_cfg_gpio ## -- Begin function s3c64xx_setup_sdhci2_cfg_gpio .p2align 4, 0x90 _s3c64xx_setup_sdhci2_cfg_gpio: ## @s3c64xx_setup_sdhci2_cfg_gpio .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) movl $6, %edi callq _S3C64XX_GPH movl %eax, -24(%rbp) ## 4-byte Spill movl -12(%rbp), %eax movl %eax, -20(%rbp) ## 4-byte Spill movl $3, %edi callq _S3C_GPIO_SFN movl -24(%rbp), %edi ## 4-byte Reload movl -20(%rbp), %esi ## 4-byte Reload movl %eax, %edx callq _s3c_gpio_cfgrange_nopull movl $4, %edi callq _S3C64XX_GPC movl %eax, -16(%rbp) ## 4-byte Spill movl $3, %edi callq _S3C_GPIO_SFN movl -16(%rbp), %edi ## 4-byte Reload movl %eax, %edx movl $2, %esi callq _s3c_gpio_cfgrange_nopull addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-sdhci-gpio.c_s3c64xx_setup_sdhci2_cfg_gpio.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s3c_usb_otgphy_exit _s3c_usb_otgphy_exit: ; @s3c_usb_otgphy_exit .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] adrp x8, _S3C_PHYPWR@GOTPAGE ldr x8, [x8, _S3C_PHYPWR@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] bl _readl ldr x8, [sp, #8] ; 8-byte Folded Reload adrp x9, _S3C_PHYPWR_ANALOG_POWERDOWN@GOTPAGE ldr x9, [x9, _S3C_PHYPWR_ANALOG_POWERDOWN@GOTPAGEOFF] ldr w9, [x9] orr w9, w0, w9 adrp x10, _S3C_PHYPWR_OTG_DISABLE@GOTPAGE ldr x10, [x10, _S3C_PHYPWR_OTG_DISABLE@GOTPAGEOFF] ldr w10, [x10] orr w0, w9, w10 ldr w1, [x8] bl _writel adrp x8, _S3C64XX_OTHERS@GOTPAGE ldr x8, [x8, _S3C64XX_OTHERS@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill ldr w0, [x8] bl _readl ldr x8, [sp, #16] ; 8-byte Folded Reload adrp x9, _S3C64XX_OTHERS_USBMASK@GOTPAGE ldr x9, [x9, _S3C64XX_OTHERS_USBMASK@GOTPAGEOFF] ldr w9, [x9] bic w0, w0, w9 ldr w1, [x8] bl _writel mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _S3C_PHYPWR,4,2 ; @S3C_PHYPWR .comm _S3C_PHYPWR_ANALOG_POWERDOWN,4,2 ; @S3C_PHYPWR_ANALOG_POWERDOWN .comm _S3C_PHYPWR_OTG_DISABLE,4,2 ; @S3C_PHYPWR_OTG_DISABLE .comm _S3C64XX_OTHERS,4,2 ; @S3C64XX_OTHERS .comm _S3C64XX_OTHERS_USBMASK,4,2 ; @S3C64XX_OTHERS_USBMASK .no_dead_strip _s3c_usb_otgphy_exit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s3c_usb_otgphy_exit _s3c_usb_otgphy_exit: ## @s3c_usb_otgphy_exit .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 _S3C_PHYPWR@GOTPCREL(%rip), %rax movl (%rax), %edi callq _readl movl %eax, %edi movq _S3C_PHYPWR_ANALOG_POWERDOWN@GOTPCREL(%rip), %rax orl (%rax), %edi movq _S3C_PHYPWR_OTG_DISABLE@GOTPCREL(%rip), %rax orl (%rax), %edi movq _S3C_PHYPWR@GOTPCREL(%rip), %rax movl (%rax), %esi callq _writel movq _S3C64XX_OTHERS@GOTPCREL(%rip), %rax movl (%rax), %edi callq _readl movl %eax, %edi movq _S3C64XX_OTHERS_USBMASK@GOTPCREL(%rip), %rax movl (%rax), %eax xorl $-1, %eax andl %eax, %edi movq _S3C64XX_OTHERS@GOTPCREL(%rip), %rax movl (%rax), %esi callq _writel xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _S3C_PHYPWR,4,2 ## @S3C_PHYPWR .comm _S3C_PHYPWR_ANALOG_POWERDOWN,4,2 ## @S3C_PHYPWR_ANALOG_POWERDOWN .comm _S3C_PHYPWR_OTG_DISABLE,4,2 ## @S3C_PHYPWR_OTG_DISABLE .comm _S3C64XX_OTHERS,4,2 ## @S3C64XX_OTHERS .comm _S3C64XX_OTHERS_USBMASK,4,2 ## @S3C64XX_OTHERS_USBMASK .no_dead_strip _s3c_usb_otgphy_exit .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-usb-phy.c_s3c_usb_otgphy_exit.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s5p_usb_phy_exit ; -- Begin function s5p_usb_phy_exit .p2align 2 _s5p_usb_phy_exit: ; @s5p_usb_phy_exit .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 w8, [sp, #12] adrp x9, _USB_PHY_TYPE_DEVICE@GOTPAGE ldr x9, [x9, _USB_PHY_TYPE_DEVICE@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #16] bl _s3c_usb_otgphy_exit stur w0, [x29, #-4] b LBB0_3 LBB0_2: 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_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _USB_PHY_TYPE_DEVICE,4,2 ; @USB_PHY_TYPE_DEVICE .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s5p_usb_phy_exit ## -- Begin function s5p_usb_phy_exit .p2align 4, 0x90 _s5p_usb_phy_exit: ## @s5p_usb_phy_exit .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) movl -20(%rbp), %eax movq _USB_PHY_TYPE_DEVICE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_2 ## %bb.1: movq -16(%rbp), %rdi callq _s3c_usb_otgphy_exit movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _USB_PHY_TYPE_DEVICE,4,2 ## @USB_PHY_TYPE_DEVICE .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-usb-phy.c_s5p_usb_phy_exit.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s5p_usb_phy_init ; -- Begin function s5p_usb_phy_init .p2align 2 _s5p_usb_phy_init: ; @s5p_usb_phy_init .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 w8, [sp, #12] adrp x9, _USB_PHY_TYPE_DEVICE@GOTPAGE ldr x9, [x9, _USB_PHY_TYPE_DEVICE@GOTPAGEOFF] ldr w9, [x9] subs w8, w8, w9 cset w8, ne tbnz w8, #0, LBB0_2 b LBB0_1 LBB0_1: ldr x0, [sp, #16] bl _s3c_usb_otgphy_init stur w0, [x29, #-4] b LBB0_3 LBB0_2: 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_3 LBB0_3: ldur w0, [x29, #-4] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _USB_PHY_TYPE_DEVICE,4,2 ; @USB_PHY_TYPE_DEVICE .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _s5p_usb_phy_init ## -- Begin function s5p_usb_phy_init .p2align 4, 0x90 _s5p_usb_phy_init: ## @s5p_usb_phy_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 $32, %rsp movq %rdi, -16(%rbp) movl %esi, -20(%rbp) movl -20(%rbp), %eax movq _USB_PHY_TYPE_DEVICE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_2 ## %bb.1: movq -16(%rbp), %rdi callq _s3c_usb_otgphy_init movl %eax, -4(%rbp) jmp LBB0_3 LBB0_2: xorl %eax, %eax movq _EINVAL@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, -4(%rbp) LBB0_3: movl -4(%rbp), %eax addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _USB_PHY_TYPE_DEVICE,4,2 ## @USB_PHY_TYPE_DEVICE .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s3c64xx/extr_setup-usb-phy.c_s5p_usb_phy_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s5pv210_pm_init _s5pv210_pm_init: ; @s5pv210_pm_init .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .no_dead_strip _s5pv210_pm_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s5pv210_pm_init _s5pv210_pm_init: ## @s5pv210_pm_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _s5pv210_pm_init .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s5pv210/extr_common.h_s5pv210_pm_init.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s5pv210_pm_resume _s5pv210_pm_resume: ; @s5pv210_pm_resume .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, _s5pv210_core_save@GOTPAGE ldr x8, [x8, _s5pv210_core_save@GOTPAGEOFF] ldr w9, [x8] stur w9, [x29, #-4] ; 4-byte Folded Spill ldr w0, [x8] bl _ARRAY_SIZE mov x1, x0 ldur w0, [x29, #-4] ; 4-byte Folded Reload bl _s3c_pm_do_restore_core ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .cfi_endproc ; -- End function .comm _s5pv210_core_save,4,2 ; @s5pv210_core_save .no_dead_strip _s5pv210_pm_resume .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s5pv210_pm_resume _s5pv210_pm_resume: ## @s5pv210_pm_resume .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 _s5pv210_core_save@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) ## 4-byte Spill movq _s5pv210_core_save@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ARRAY_SIZE movl -4(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_pm_do_restore_core addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _s5pv210_core_save,4,2 ## @s5pv210_core_save .no_dead_strip _s5pv210_pm_resume .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s5pv210/extr_pm.c_s5pv210_pm_resume.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s5pv210_read_eint_wakeup_mask _s5pv210_read_eint_wakeup_mask: ; @s5pv210_read_eint_wakeup_mask .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 adrp x8, _S5P_EINT_WAKEUP_MASK@GOTPAGE ldr x8, [x8, _S5P_EINT_WAKEUP_MASK@GOTPAGEOFF] ldr w0, [x8] bl ___raw_readl ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _S5P_EINT_WAKEUP_MASK,4,2 ; @S5P_EINT_WAKEUP_MASK .no_dead_strip _s5pv210_read_eint_wakeup_mask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s5pv210_read_eint_wakeup_mask _s5pv210_read_eint_wakeup_mask: ## @s5pv210_read_eint_wakeup_mask .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _S5P_EINT_WAKEUP_MASK@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl popq %rbp retq .cfi_endproc ## -- End function .comm _S5P_EINT_WAKEUP_MASK,4,2 ## @S5P_EINT_WAKEUP_MASK .no_dead_strip _s5pv210_read_eint_wakeup_mask .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s5pv210/extr_pm.c_s5pv210_read_eint_wakeup_mask.c
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function s5pv210_pm_prepare _s5pv210_pm_prepare: ; @s5pv210_pm_prepare .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, _s5pv210_irqwake_intmask@GOTPAGE ldr x8, [x8, _s5pv210_irqwake_intmask@GOTPAGEOFF] ldr w0, [x8] adrp x8, _S5P_WAKEUP_MASK@GOTPAGE ldr x8, [x8, _S5P_WAKEUP_MASK@GOTPAGEOFF] ldr w1, [x8] bl ___raw_writel adrp x8, _s5pv210_cpu_resume@GOTPAGE ldr x8, [x8, _s5pv210_cpu_resume@GOTPAGEOFF] ldr w0, [x8] bl ___pa_symbol adrp x8, _S5P_INFORM0@GOTPAGE ldr x8, [x8, _S5P_INFORM0@GOTPAGEOFF] ldr w1, [x8] bl ___raw_writel adrp x8, _S5P_SLEEP_CFG@GOTPAGE ldr x8, [x8, _S5P_SLEEP_CFG@GOTPAGEOFF] str x8, [sp] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp] ; 8-byte Folded Reload stur w0, [x29, #-4] adrp x9, _S5P_SLEEP_CFG_OSC_EN@GOTPAGE ldr x9, [x9, _S5P_SLEEP_CFG_OSC_EN@GOTPAGEOFF] ldr w9, [x9] adrp x10, _S5P_SLEEP_CFG_USBOSC_EN@GOTPAGE ldr x10, [x10, _S5P_SLEEP_CFG_USBOSC_EN@GOTPAGEOFF] ldr w10, [x10] orr w10, w9, w10 ldur w9, [x29, #-4] bic w9, w9, w10 stur w9, [x29, #-4] ldur w0, [x29, #-4] ldr w1, [x8] bl ___raw_writel adrp x8, _S5P_PWR_CFG@GOTPAGE ldr x8, [x8, _S5P_PWR_CFG@GOTPAGEOFF] str x8, [sp, #8] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp, #8] ; 8-byte Folded Reload stur w0, [x29, #-4] adrp x9, _S5P_CFG_WFI_CLEAN@GOTPAGE ldr x9, [x9, _S5P_CFG_WFI_CLEAN@GOTPAGEOFF] ldr w10, [x9] ldur w9, [x29, #-4] and w9, w9, w10 stur w9, [x29, #-4] adrp x9, _S5P_CFG_WFI_SLEEP@GOTPAGE ldr x9, [x9, _S5P_CFG_WFI_SLEEP@GOTPAGEOFF] ldr w10, [x9] ldur w9, [x29, #-4] orr w9, w9, w10 stur w9, [x29, #-4] ldur w0, [x29, #-4] ldr w1, [x8] bl ___raw_writel adrp x8, _S5P_OTHERS@GOTPAGE ldr x8, [x8, _S5P_OTHERS@GOTPAGEOFF] str x8, [sp, #16] ; 8-byte Folded Spill ldr w0, [x8] bl ___raw_readl ldr x8, [sp, #16] ; 8-byte Folded Reload stur w0, [x29, #-4] adrp x9, _S5P_OTHER_SYSC_INTOFF@GOTPAGE ldr x9, [x9, _S5P_OTHER_SYSC_INTOFF@GOTPAGEOFF] ldr w10, [x9] ldur w9, [x29, #-4] orr w9, w9, w10 stur w9, [x29, #-4] ldur w0, [x29, #-4] ldr w1, [x8] bl ___raw_writel adrp x8, _s5pv210_core_save@GOTPAGE ldr x8, [x8, _s5pv210_core_save@GOTPAGEOFF] ldr w9, [x8] stur w9, [x29, #-8] ; 4-byte Folded Spill ldr w0, [x8] bl _ARRAY_SIZE mov x1, x0 ldur w0, [x29, #-8] ; 4-byte Folded Reload bl _s3c_pm_do_save ldp x29, x30, [sp, #32] ; 16-byte Folded Reload add sp, sp, #48 ret .cfi_endproc ; -- End function .comm _s5pv210_irqwake_intmask,4,2 ; @s5pv210_irqwake_intmask .comm _S5P_WAKEUP_MASK,4,2 ; @S5P_WAKEUP_MASK .comm _s5pv210_cpu_resume,4,2 ; @s5pv210_cpu_resume .comm _S5P_INFORM0,4,2 ; @S5P_INFORM0 .comm _S5P_SLEEP_CFG,4,2 ; @S5P_SLEEP_CFG .comm _S5P_SLEEP_CFG_OSC_EN,4,2 ; @S5P_SLEEP_CFG_OSC_EN .comm _S5P_SLEEP_CFG_USBOSC_EN,4,2 ; @S5P_SLEEP_CFG_USBOSC_EN .comm _S5P_PWR_CFG,4,2 ; @S5P_PWR_CFG .comm _S5P_CFG_WFI_CLEAN,4,2 ; @S5P_CFG_WFI_CLEAN .comm _S5P_CFG_WFI_SLEEP,4,2 ; @S5P_CFG_WFI_SLEEP .comm _S5P_OTHERS,4,2 ; @S5P_OTHERS .comm _S5P_OTHER_SYSC_INTOFF,4,2 ; @S5P_OTHER_SYSC_INTOFF .comm _s5pv210_core_save,4,2 ; @s5pv210_core_save .no_dead_strip _s5pv210_pm_prepare .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function s5pv210_pm_prepare _s5pv210_pm_prepare: ## @s5pv210_pm_prepare .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 _s5pv210_irqwake_intmask@GOTPCREL(%rip), %rax movl (%rax), %edi movq _S5P_WAKEUP_MASK@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movq _s5pv210_cpu_resume@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___pa_symbol movl %eax, %edi movq _S5P_INFORM0@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movq _S5P_SLEEP_CFG@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movl %eax, -4(%rbp) movq _S5P_SLEEP_CFG_OSC_EN@GOTPCREL(%rip), %rax movl (%rax), %eax movq _S5P_SLEEP_CFG_USBOSC_EN@GOTPCREL(%rip), %rcx orl (%rcx), %eax xorl $-1, %eax andl -4(%rbp), %eax movl %eax, -4(%rbp) movl -4(%rbp), %edi movq _S5P_SLEEP_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movq _S5P_PWR_CFG@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movl %eax, -4(%rbp) movq _S5P_CFG_WFI_CLEAN@GOTPCREL(%rip), %rax movl (%rax), %eax andl -4(%rbp), %eax movl %eax, -4(%rbp) movq _S5P_CFG_WFI_SLEEP@GOTPCREL(%rip), %rax movl (%rax), %eax orl -4(%rbp), %eax movl %eax, -4(%rbp) movl -4(%rbp), %edi movq _S5P_PWR_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movq _S5P_OTHERS@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___raw_readl movl %eax, -4(%rbp) movq _S5P_OTHER_SYSC_INTOFF@GOTPCREL(%rip), %rax movl (%rax), %eax orl -4(%rbp), %eax movl %eax, -4(%rbp) movl -4(%rbp), %edi movq _S5P_OTHERS@GOTPCREL(%rip), %rax movl (%rax), %esi callq ___raw_writel movq _s5pv210_core_save@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -8(%rbp) ## 4-byte Spill movq _s5pv210_core_save@GOTPCREL(%rip), %rax movl (%rax), %edi callq _ARRAY_SIZE movl -8(%rbp), %edi ## 4-byte Reload movl %eax, %esi callq _s3c_pm_do_save addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .comm _s5pv210_irqwake_intmask,4,2 ## @s5pv210_irqwake_intmask .comm _S5P_WAKEUP_MASK,4,2 ## @S5P_WAKEUP_MASK .comm _s5pv210_cpu_resume,4,2 ## @s5pv210_cpu_resume .comm _S5P_INFORM0,4,2 ## @S5P_INFORM0 .comm _S5P_SLEEP_CFG,4,2 ## @S5P_SLEEP_CFG .comm _S5P_SLEEP_CFG_OSC_EN,4,2 ## @S5P_SLEEP_CFG_OSC_EN .comm _S5P_SLEEP_CFG_USBOSC_EN,4,2 ## @S5P_SLEEP_CFG_USBOSC_EN .comm _S5P_PWR_CFG,4,2 ## @S5P_PWR_CFG .comm _S5P_CFG_WFI_CLEAN,4,2 ## @S5P_CFG_WFI_CLEAN .comm _S5P_CFG_WFI_SLEEP,4,2 ## @S5P_CFG_WFI_SLEEP .comm _S5P_OTHERS,4,2 ## @S5P_OTHERS .comm _S5P_OTHER_SYSC_INTOFF,4,2 ## @S5P_OTHER_SYSC_INTOFF .comm _s5pv210_core_save,4,2 ## @s5pv210_core_save .no_dead_strip _s5pv210_pm_prepare .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-s5pv210/extr_pm.c_s5pv210_pm_prepare.c