x86
stringlengths
122
9.39M
arm
stringlengths
122
9.33M
file
stringlengths
19
200
source
stringclasses
2 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scsi_device_resume ## -- Begin function scsi_device_resume .p2align 4, 0x90 _scsi_device_resume: ## @scsi_device_resume .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq 8(%rdi), %r14 movq %r14, %rdi callq _mutex_lock cmpq $0, 16(%rbx) je LBB0_2 ## %bb.1: movq $0, 16(%rbx) movl 12(%rbx), %edi callq _blk_clear_pm_only LBB0_2: movq (%rbx), %rax movq _SDEV_QUIESCE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: movq _SDEV_RUNNING@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _scsi_device_set_state LBB0_4: movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .comm _SDEV_QUIESCE,8,3 ## @SDEV_QUIESCE .comm _SDEV_RUNNING,4,2 ## @SDEV_RUNNING .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _scsi_device_resume ; -- Begin function scsi_device_resume .p2align 2 _scsi_device_resume: ; @scsi_device_resume .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 add x19, x0, #8 mov x0, x19 bl _mutex_lock ldr x8, [x20, #16] cbz x8, LBB0_2 ; %bb.1: str xzr, [x20, #16] ldr w0, [x20, #12] bl _blk_clear_pm_only LBB0_2: ldr x8, [x20] Lloh0: adrp x9, _SDEV_QUIESCE@GOTPAGE Lloh1: ldr x9, [x9, _SDEV_QUIESCE@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.3: Lloh3: adrp x8, _SDEV_RUNNING@GOTPAGE Lloh4: ldr x8, [x8, _SDEV_RUNNING@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x20 bl _scsi_device_set_state LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mutex_unlock .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _SDEV_QUIESCE,8,3 ; @SDEV_QUIESCE .comm _SDEV_RUNNING,4,2 ; @SDEV_RUNNING .subsections_via_symbols
AnghaBench/linux/drivers/scsi/extr_scsi_lib.c_scsi_device_resume.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function e1000_shift_in_ee_bits _e1000_shift_in_ee_bits: ## @e1000_shift_in_ee_bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq _EECD@GOTPCREL(%rip), %rax movl (%rax), %edi callq _er32 movq _E1000_EECD_DO@GOTPCREL(%rip), %rdx movq _E1000_EECD_DI@GOTPCREL(%rip), %r13 movq (%r13), %rcx orq (%rdx), %rcx notq %rcx andq %rax, %rcx movq %rcx, -48(%rbp) xorl %ebx, %ebx testq %r15, %r15 jle LBB0_3 ## %bb.1: leaq -48(%rbp), %r12 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq %r12, %rsi callq _e1000_raise_ee_clk movq _EECD@GOTPCREL(%rip), %rax movl (%rax), %edi callq _er32 movq (%r13), %rcx notq %rcx andq %rax, %rcx movq %rcx, -48(%rbp) xorl %eax, %eax movq _E1000_EECD_DO@GOTPCREL(%rip), %rdx andq (%rdx), %rcx setne %al leaq (%rax,%rbx,2), %rbx movq %r14, %rdi movq %r12, %rsi callq _e1000_lower_ee_clk decq %r15 jne LBB0_2 LBB0_3: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EECD,4,2 ## @EECD .comm _E1000_EECD_DO,8,3 ## @E1000_EECD_DO .comm _E1000_EECD_DI,8,3 ## @E1000_EECD_DI .no_dead_strip _e1000_shift_in_ee_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function e1000_shift_in_ee_bits _e1000_shift_in_ee_bits: ; @e1000_shift_in_ee_bits .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 Lloh0: adrp x22, _EECD@GOTPAGE Lloh1: ldr x22, [x22, _EECD@GOTPAGEOFF] ldr w0, [x22] bl _er32 Lloh2: adrp x23, _E1000_EECD_DO@GOTPAGE Lloh3: ldr x23, [x23, _E1000_EECD_DO@GOTPAGEOFF] Lloh4: adrp x24, _E1000_EECD_DI@GOTPAGE Lloh5: ldr x24, [x24, _E1000_EECD_DI@GOTPAGEOFF] ldr x8, [x23] ldr x9, [x24] orr x8, x9, x8 bic x8, x0, x8 str x8, [sp, #8] cmp x19, #1 b.lt LBB0_3 ; %bb.1: mov x25, #0 LBB0_2: ; =>This Inner Loop Header: Depth=1 add x1, sp, #8 mov x0, x20 bl _e1000_raise_ee_clk ldr w0, [x22] bl _er32 ldr x8, [x24] bic x8, x0, x8 str x8, [sp, #8] ldr x9, [x23] tst x9, x8 cset w21, ne bfi x21, x25, #1, #63 add x1, sp, #8 mov x0, x20 bl _e1000_lower_ee_clk mov x25, x21 subs x19, x19, #1 b.ne LBB0_2 b LBB0_4 LBB0_3: mov x21, #0 LBB0_4: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _EECD,4,2 ; @EECD .comm _E1000_EECD_DO,8,3 ; @E1000_EECD_DO .comm _E1000_EECD_DI,8,3 ; @E1000_EECD_DI .no_dead_strip _e1000_shift_in_ee_bits .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/intel/e1000/extr_e1000_hw.c_e1000_shift_in_ee_bits.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/263195.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformCreateStandardCursor ## -- Begin function _glfwPlatformCreateStandardCursor .p2align 4, 0x90 __glfwPlatformCreateStandardCursor: ## @_glfwPlatformCreateStandardCursor .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq _GLFW_ARROW_CURSOR@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_2 ## %bb.1: movq _XC_left_ptr@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_2: movq _GLFW_IBEAM_CURSOR@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_4 ## %bb.3: movq _XC_xterm@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_4: movq _GLFW_CROSSHAIR_CURSOR@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_6 ## %bb.5: movq _XC_crosshair@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_6: movq _GLFW_HAND_CURSOR@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_8 ## %bb.7: movq _XC_hand2@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_8: movq _GLFW_HRESIZE_CURSOR@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_10 ## %bb.9: movq _XC_sb_h_double_arrow@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_10: movq _GLFW_VRESIZE_CURSOR@GOTPCREL(%rip), %rax cmpl %esi, (%rax) jne LBB0_15 ## %bb.11: movq _XC_sb_v_double_arrow@GOTPCREL(%rip), %rax LBB0_12: movl (%rax), %esi movq __glfw@GOTPCREL(%rip), %rax movl (%rax), %edi callq _XCreateFontCursor movl %eax, (%rbx) testl %eax, %eax je LBB0_14 ## %bb.13: movq _GLFW_TRUE@GOTPCREL(%rip), %rax jmp LBB0_16 LBB0_14: movq _GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq __glfwInputError LBB0_15: movq _GLFW_FALSE@GOTPCREL(%rip), %rax LBB0_16: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLFW_ARROW_CURSOR,4,2 ## @GLFW_ARROW_CURSOR .comm _XC_left_ptr,4,2 ## @XC_left_ptr .comm _GLFW_IBEAM_CURSOR,4,2 ## @GLFW_IBEAM_CURSOR .comm _XC_xterm,4,2 ## @XC_xterm .comm _GLFW_CROSSHAIR_CURSOR,4,2 ## @GLFW_CROSSHAIR_CURSOR .comm _XC_crosshair,4,2 ## @XC_crosshair .comm _GLFW_HAND_CURSOR,4,2 ## @GLFW_HAND_CURSOR .comm _XC_hand2,4,2 ## @XC_hand2 .comm _GLFW_HRESIZE_CURSOR,4,2 ## @GLFW_HRESIZE_CURSOR .comm _XC_sb_h_double_arrow,4,2 ## @XC_sb_h_double_arrow .comm _GLFW_VRESIZE_CURSOR,4,2 ## @GLFW_VRESIZE_CURSOR .comm _XC_sb_v_double_arrow,4,2 ## @XC_sb_v_double_arrow .comm _GLFW_FALSE,4,2 ## @GLFW_FALSE .comm __glfw,4,2 ## @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ## @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "X11: Failed to create standard cursor" .comm _GLFW_TRUE,4,2 ## @GLFW_TRUE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl __glfwPlatformCreateStandardCursor ; -- Begin function _glfwPlatformCreateStandardCursor .p2align 2 __glfwPlatformCreateStandardCursor: ; @_glfwPlatformCreateStandardCursor .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _GLFW_ARROW_CURSOR@GOTPAGE Lloh1: ldr x8, [x8, _GLFW_ARROW_CURSOR@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w1 b.ne LBB0_2 ; %bb.1: Lloh3: adrp x8, _XC_left_ptr@GOTPAGE Lloh4: ldr x8, [x8, _XC_left_ptr@GOTPAGEOFF] b LBB0_12 LBB0_2: Lloh5: adrp x8, _GLFW_IBEAM_CURSOR@GOTPAGE Lloh6: ldr x8, [x8, _GLFW_IBEAM_CURSOR@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w8, w1 b.ne LBB0_4 ; %bb.3: Lloh8: adrp x8, _XC_xterm@GOTPAGE Lloh9: ldr x8, [x8, _XC_xterm@GOTPAGEOFF] b LBB0_12 LBB0_4: Lloh10: adrp x8, _GLFW_CROSSHAIR_CURSOR@GOTPAGE Lloh11: ldr x8, [x8, _GLFW_CROSSHAIR_CURSOR@GOTPAGEOFF] Lloh12: ldr w8, [x8] cmp w8, w1 b.ne LBB0_6 ; %bb.5: Lloh13: adrp x8, _XC_crosshair@GOTPAGE Lloh14: ldr x8, [x8, _XC_crosshair@GOTPAGEOFF] b LBB0_12 LBB0_6: Lloh15: adrp x8, _GLFW_HAND_CURSOR@GOTPAGE Lloh16: ldr x8, [x8, _GLFW_HAND_CURSOR@GOTPAGEOFF] Lloh17: ldr w8, [x8] cmp w8, w1 b.ne LBB0_8 ; %bb.7: Lloh18: adrp x8, _XC_hand2@GOTPAGE Lloh19: ldr x8, [x8, _XC_hand2@GOTPAGEOFF] b LBB0_12 LBB0_8: Lloh20: adrp x8, _GLFW_HRESIZE_CURSOR@GOTPAGE Lloh21: ldr x8, [x8, _GLFW_HRESIZE_CURSOR@GOTPAGEOFF] Lloh22: ldr w8, [x8] cmp w8, w1 b.ne LBB0_10 ; %bb.9: Lloh23: adrp x8, _XC_sb_h_double_arrow@GOTPAGE Lloh24: ldr x8, [x8, _XC_sb_h_double_arrow@GOTPAGEOFF] b LBB0_12 LBB0_10: Lloh25: adrp x8, _GLFW_VRESIZE_CURSOR@GOTPAGE Lloh26: ldr x8, [x8, _GLFW_VRESIZE_CURSOR@GOTPAGEOFF] Lloh27: ldr w8, [x8] cmp w8, w1 b.ne LBB0_15 ; %bb.11: Lloh28: adrp x8, _XC_sb_v_double_arrow@GOTPAGE Lloh29: ldr x8, [x8, _XC_sb_v_double_arrow@GOTPAGEOFF] LBB0_12: ldr w1, [x8] Lloh30: adrp x8, __glfw@GOTPAGE Lloh31: ldr x8, [x8, __glfw@GOTPAGEOFF] Lloh32: ldr w0, [x8] bl _XCreateFontCursor str w0, [x19] cbz w0, LBB0_14 ; %bb.13: Lloh33: adrp x8, _GLFW_TRUE@GOTPAGE Lloh34: ldr x8, [x8, _GLFW_TRUE@GOTPAGEOFF] b LBB0_16 LBB0_14: Lloh35: adrp x8, _GLFW_PLATFORM_ERROR@GOTPAGE Lloh36: ldr x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF] Lloh37: ldr w0, [x8] Lloh38: adrp x1, l_.str@PAGE Lloh39: add x1, x1, l_.str@PAGEOFF bl __glfwInputError LBB0_15: Lloh40: adrp x8, _GLFW_FALSE@GOTPAGE Lloh41: ldr x8, [x8, _GLFW_FALSE@GOTPAGEOFF] LBB0_16: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGot Lloh40, Lloh41 .cfi_endproc ; -- End function .comm _GLFW_ARROW_CURSOR,4,2 ; @GLFW_ARROW_CURSOR .comm _XC_left_ptr,4,2 ; @XC_left_ptr .comm _GLFW_IBEAM_CURSOR,4,2 ; @GLFW_IBEAM_CURSOR .comm _XC_xterm,4,2 ; @XC_xterm .comm _GLFW_CROSSHAIR_CURSOR,4,2 ; @GLFW_CROSSHAIR_CURSOR .comm _XC_crosshair,4,2 ; @XC_crosshair .comm _GLFW_HAND_CURSOR,4,2 ; @GLFW_HAND_CURSOR .comm _XC_hand2,4,2 ; @XC_hand2 .comm _GLFW_HRESIZE_CURSOR,4,2 ; @GLFW_HRESIZE_CURSOR .comm _XC_sb_h_double_arrow,4,2 ; @XC_sb_h_double_arrow .comm _GLFW_VRESIZE_CURSOR,4,2 ; @GLFW_VRESIZE_CURSOR .comm _XC_sb_v_double_arrow,4,2 ; @XC_sb_v_double_arrow .comm _GLFW_FALSE,4,2 ; @GLFW_FALSE .comm __glfw,4,2 ; @_glfw .comm _GLFW_PLATFORM_ERROR,4,2 ; @GLFW_PLATFORM_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "X11: Failed to create standard cursor" .comm _GLFW_TRUE,4,2 ; @GLFW_TRUE .subsections_via_symbols
AnghaBench/glfw/src/extr_x11_window.c__glfwPlatformCreateStandardCursor.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $10024, %eax ## imm = 0x2728 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -10064(%rbp), %rdi callq _gets testq %rax, %rax je LBB0_15 ## %bb.1: movq _p@GOTPCREL(%rip), %r13 leaq -10064(%rbp), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _gets testq %rax, %rax je LBB0_15 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_12 Depth 2 movb -10064(%rbp), %al xorl %r14d, %r14d testb %al, %al je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leaq -10063(%rbp), %rcx .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl %al, %eax addl %eax, %r14d movzbl (%rcx), %eax incq %rcx testb %al, %al jne LBB0_4 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movslq %r14d, %rax imulq $274877907, %rax, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $37, %rcx addl %edx, %ecx imull $500, %ecx, %ecx ## imm = 0x1F4 subl %ecx, %eax cltq movq _hashTable@GOTPCREL(%rip), %rcx leaq (%rcx,%rax,8), %rbx movq %rbx, (%r13) movq (%rcx,%rax,8), %r15 jmp LBB0_6 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_6 Depth=2 leaq 10008(%r15), %rax movq %rax, (%r13) movq 10008(%r15), %r15 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 testq %r15, %r15 je LBB0_11 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 cmpl %r14d, (%r15) jne LBB0_10 ## %bb.8: ## in Loop: Header=BB0_6 Depth=2 leaq 4(%r15), %rsi movq %r12, %rdi callq _strcmp testl %eax, %eax jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str(%rip), %rdi callq _puts jmp LBB0_14 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.1(%rip), %rdi callq _puts .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rbx, %rax movq (%rbx), %rcx leaq 10008(%rcx), %rbx testq %rcx, %rcx jne LBB0_12 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movq %rax, (%r13) movl $10016, %edi ## imm = 0x2720 callq _malloc movq %rax, %rbx movl %r14d, (%rax) movq $0, 10008(%rax) leaq 4(%rax), %rdi movl $10001, %edx ## imm = 0x2711 movq %r12, %rsi callq ___strcpy_chk movq (%r13), %rax movq %rbx, (%rax) jmp LBB0_14 LBB0_15: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_17 ## %bb.16: xorl %eax, %eax addq $10024, %rsp ## imm = 0x2728 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_17: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _hashTable,4000,4 ## @hashTable .comm _p,8,3 ## @p .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "YES" L_.str.1: ## @.str.1 .asciz "NO" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov w9, #10032 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #2, lsl #12 ; =8192 sub sp, sp, #1840 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-96] add x19, sp, #15 add x0, sp, #15 bl _gets cbz x0, LBB0_15 ; %bb.1: add x22, x19, #1 mov w23, #19923 movk w23, #4194, lsl #16 Lloh5: adrp x24, _hashTable@GOTPAGE Lloh6: ldr x24, [x24, _hashTable@GOTPAGEOFF] Lloh7: adrp x25, _p@GOTPAGE Lloh8: ldr x25, [x25, _p@GOTPAGEOFF] mov w26, #500 Lloh9: adrp x19, l_.str.1@PAGE Lloh10: add x19, x19, l_.str.1@PAGEOFF mov w27, #10008 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x0, sp, #15 bl _gets cbz x0, LBB0_15 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_12 Depth 2 ; Child Loop BB0_9 Depth 2 ldrb w8, [sp, #15] cbz w8, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov w28, #0 mov x9, x22 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 add w28, w28, w8, sxtb ldrb w8, [x9], #1 cbnz w8, LBB0_5 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 mov w28, #0 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 smull x8, w28, w23 lsr x9, x8, #63 asr x8, x8, #37 add w8, w8, w9 msub w8, w8, w26, w28 add x21, x24, w8, sxtw #3 str x21, [x25] ldr x20, [x21] cbnz x20, LBB0_12 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 mov x0, x19 bl _puts LBB0_9: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 mov x8, x21 ldr x9, [x21] add x21, x9, x27 cbnz x9, LBB0_9 ; %bb.10: ; in Loop: Header=BB0_3 Depth=1 str x8, [x25] mov w0, #10016 bl _malloc mov x21, x0 str w28, [x0] str xzr, [x0, #10008] add x0, x0, #4 add x1, sp, #15 mov w2, #10001 bl ___strcpy_chk ldr x8, [x25] str x21, [x8] b LBB0_2 LBB0_11: ; in Loop: Header=BB0_12 Depth=2 add x8, x20, x27 str x8, [x25] ldr x20, [x20, #10008] cbz x20, LBB0_8 LBB0_12: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x20] cmp w8, w28 b.ne LBB0_11 ; %bb.13: ; in Loop: Header=BB0_12 Depth=2 add x1, x20, #4 add x0, sp, #15 bl _strcmp cbnz w0, LBB0_11 ; %bb.14: ; in Loop: Header=BB0_3 Depth=1 Lloh11: adrp x0, l_.str@PAGE Lloh12: add x0, x0, l_.str@PAGEOFF bl _puts b LBB0_2 LBB0_15: ldur x8, [x29, #-96] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_17 ; %bb.16: mov w0, #0 add sp, sp, #2, lsl #12 ; =8192 add sp, sp, #1840 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_17: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _hashTable,4000,3 ; @hashTable .comm _p,8,3 ; @p .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "YES" l_.str.1: ; @.str.1 .asciz "NO" .subsections_via_symbols
the_stack_data/133855.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cleanup_urbs _cleanup_urbs: ## @cleanup_urbs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 movq (%rdi), %rdi testq %rdi, %rdi je LBB0_7 ## %bb.1: testl %esi, %esi jle LBB0_6 ## %bb.2: movl %esi, %r14d xorl %ebx, %ebx jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 incq %rbx movq (%r15), %rdi cmpq %rbx, %r14 je LBB0_6 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%rdi,%rbx,8), %rdi testq %rdi, %rdi je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 callq _usb_kill_urb movq (%r15), %rax movq (%rax,%rbx,8), %rdi callq _usb_free_urb jmp LBB0_5 LBB0_6: callq _kfree movq $0, (%r15) LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _cleanup_urbs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cleanup_urbs _cleanup_urbs: ; @cleanup_urbs .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x0, [x0] cbz x0, LBB0_7 ; %bb.1: cmp w1, #1 b.lt LBB0_6 ; %bb.2: mov x20, #0 mov w8, w1 lsl x21, x8, #3 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr x0, [x19] add x20, x20, #8 cmp x21, x20 b.eq LBB0_6 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x0, [x0, x20] cbz x0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 bl _usb_kill_urb ldr x8, [x19] ldr x0, [x8, x20] bl _usb_free_urb b LBB0_3 LBB0_6: bl _kfree str xzr, [x19] LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _cleanup_urbs .subsections_via_symbols
AnghaBench/linux/sound/usb/line6/extr_pcm.c_cleanup_urbs.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gxf_find_lines_index _gxf_find_lines_index: ## @gxf_find_lines_index .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq 8(%rdi), %rcx movq (%rax), %rdi movq _gxf_lines_tab@GOTPCREL(%rip), %rax movq (%rax), %rdx xorl %esi, %esi cmpq (%rdx), %rdi je LBB0_6 ## %bb.1: movl $1, %esi cmpq 16(%rdx), %rdi je LBB0_6 ## %bb.2: movl $2, %esi cmpq 32(%rdx), %rdi je LBB0_6 ## %bb.3: movl $3, %esi cmpq 48(%rdx), %rdi je LBB0_6 ## %bb.4: movl $4, %esi cmpq 64(%rdx), %rdi je LBB0_6 ## %bb.5: movl $-1, %eax movl $5, %esi cmpq 80(%rdx), %rdi jne LBB0_7 LBB0_6: shlq $4, %rsi movl 8(%rdx,%rsi), %eax movl %eax, (%rcx) xorl %eax, %eax LBB0_7: popq %rbp retq .cfi_endproc ## -- End function .comm _gxf_lines_tab,8,3 ## @gxf_lines_tab .no_dead_strip _gxf_find_lines_index .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gxf_find_lines_index _gxf_find_lines_index: ; @gxf_find_lines_index .cfi_startproc ; %bb.0: ldp x9, x8, [x0] ldr x10, [x9] Lloh0: adrp x9, _gxf_lines_tab@GOTPAGE Lloh1: ldr x9, [x9, _gxf_lines_tab@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr x11, [x9] cmp x10, x11 b.ne LBB0_2 ; %bb.1: mov x10, #0 b LBB0_12 LBB0_2: ldr x11, [x9, #16] cmp x10, x11 b.ne LBB0_4 ; %bb.3: mov w10, #1 b LBB0_12 LBB0_4: ldr x11, [x9, #32] cmp x10, x11 b.ne LBB0_6 ; %bb.5: mov w10, #2 b LBB0_12 LBB0_6: ldr x11, [x9, #48] cmp x10, x11 b.ne LBB0_8 ; %bb.7: mov w10, #3 b LBB0_12 LBB0_8: ldr x11, [x9, #64] cmp x10, x11 b.ne LBB0_10 ; %bb.9: mov w10, #4 b LBB0_12 LBB0_10: ldr x11, [x9, #80] cmp x10, x11 b.ne LBB0_13 ; %bb.11: mov w10, #5 LBB0_12: mov w0, #0 add x9, x9, x10, lsl #4 ldr w9, [x9, #8] str w9, [x8] ret LBB0_13: mov w0, #-1 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _gxf_lines_tab,8,3 ; @gxf_lines_tab .no_dead_strip _gxf_find_lines_index .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_gxfenc.c_gxf_find_lines_index.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hzto ## -- Begin function hzto .p2align 4, 0x90 _hzto: ## @hzto .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx subq $24, %rsp .cfi_offset %rbx, -24 movq %rdi, %rbx leaq -24(%rbp), %rdi callq _microtime movq (%rbx), %rcx subq -24(%rbp), %rcx cmpq $2146483, %rcx ## imm = 0x20C0B3 jg LBB0_4 ## %bb.1: imulq $1000, %rcx, %rcx ## imm = 0x3E8 movl 8(%rbx), %eax subl -16(%rbp), %eax cltq imulq $274877907, %rax, %rax ## imm = 0x10624DD3 movq %rax, %rdx shrq $63, %rdx sarq $38, %rax addl %edx, %eax cltq addq %rcx, %rax movq _tick@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx imulq $274877907, %rcx, %rcx ## imm = 0x10624DD3 movq %rcx, %rdx shrq $63, %rdx sarq $38, %rcx addl %edx, %ecx movslq %ecx, %rsi movq %rax, %rdx orq %rsi, %rdx shrq $32, %rdx je LBB0_2 ## %bb.3: cqto idivq %rsi jmp LBB0_6 LBB0_4: movq _hz@GOTPCREL(%rip), %rax movl (%rax), %esi movl $2147483647, %eax ## imm = 0x7FFFFFFF xorl %edx, %edx idivl %esi movslq %eax, %rdx movl $2147483647, %eax ## imm = 0x7FFFFFFF cmpq %rdx, %rcx jg LBB0_6 ## %bb.5: imulq %rsi, %rcx movq %rcx, %rax jmp LBB0_6 LBB0_2: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %ecx ## kill: def $eax killed $eax def $rax LBB0_6: ## kill: def $eax killed $eax killed $rax addq $24, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _tick,4,2 ## @tick .comm _hz,4,2 ## @hz .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _hzto ; -- Begin function hzto .p2align 2 _hzto: ; @hzto .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, sp bl _microtime ldr x8, [x19] ldr x9, [sp] mov w10, #49331 movk w10, #32, lsl #16 sub x8, x8, x9 cmp x8, x10 b.gt LBB0_2 ; %bb.1: mov w9, #1000 mul x8, x8, x9 ldr w9, [x19, #8] ldr w10, [sp, #8] sub w9, w9, w10 mov w10, #19923 movk w10, #4194, lsl #16 smull x9, w9, w10 lsr x11, x9, #63 asr x9, x9, #38 add w9, w9, w11 add x8, x8, w9, sxtw Lloh0: adrp x9, _tick@GOTPAGE Lloh1: ldr x9, [x9, _tick@GOTPAGEOFF] Lloh2: ldrsw x9, [x9] mul x9, x9, x10 lsr x10, x9, #63 asr x9, x9, #38 add w9, w9, w10 sxtw x9, w9 sdiv x0, x8, x9 b LBB0_4 LBB0_2: Lloh3: adrp x9, _hz@GOTPAGE Lloh4: ldr x9, [x9, _hz@GOTPAGEOFF] Lloh5: ldr w9, [x9] mov w0, #2147483647 sdiv w10, w0, w9 cmp x8, w10, sxtw b.gt LBB0_4 ; %bb.3: mul x0, x8, x9 LBB0_4: ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _tick,4,2 ; @tick .comm _hz,4,2 ; @hz .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/kern/extr_kern_clock.c_hzto.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _netlink_add_tap ## -- Begin function netlink_add_tap .p2align 4, 0x90 _netlink_add_tap: ## @netlink_add_tap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 8(%rdi), %rdi callq _dev_net movq _netlink_tap_net_id@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi callq _net_generic movq %rax, %r14 movq 8(%rbx), %rax movq (%rax), %rax movq _ARPHRD_NETLINK@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax setne %dil callq _unlikely testq %rax, %rax je LBB0_2 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_3 LBB0_2: movq %r14, %rdi callq _mutex_lock leaq 4(%rbx), %rdi movq %r14, %rsi addq $4, %rsi callq _list_add_rcu movq %r14, %rdi callq _mutex_unlock movl (%rbx), %edi callq ___module_get xorl %eax, %eax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _netlink_tap_net_id,4,2 ## @netlink_tap_net_id .comm _ARPHRD_NETLINK,8,3 ## @ARPHRD_NETLINK .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _netlink_add_tap ; -- Begin function netlink_add_tap .p2align 2 _netlink_add_tap: ; @netlink_add_tap .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0, #8] bl _dev_net Lloh0: adrp x8, _netlink_tap_net_id@GOTPAGE Lloh1: ldr x8, [x8, _netlink_tap_net_id@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _net_generic mov x20, x0 ldr x8, [x19, #8] ldr x8, [x8] Lloh3: adrp x9, _ARPHRD_NETLINK@GOTPAGE Lloh4: ldr x9, [x9, _ARPHRD_NETLINK@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 cset w0, ne bl _unlikely cbz x0, LBB0_2 ; %bb.1: Lloh6: adrp x8, _EINVAL@GOTPAGE Lloh7: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh8: ldr w8, [x8] neg w0, w8 b LBB0_3 LBB0_2: mov x0, x20 bl _mutex_lock add x0, x19, #4 add x1, x20, #4 bl _list_add_rcu mov x0, x20 bl _mutex_unlock ldr w0, [x19] bl ___module_get mov w0, #0 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _netlink_tap_net_id,4,2 ; @netlink_tap_net_id .comm _ARPHRD_NETLINK,8,3 ; @ARPHRD_NETLINK .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
AnghaBench/linux/net/netlink/extr_af_netlink.c_netlink_add_tap.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal4,4byte_literals .p2align 2 ## -- Begin function main LCPI0_0: .long 0x3f000000 ## float 0.5 LCPI0_1: .long 0x40e00000 ## float 7 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rbx leaq -16(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf leaq L_str.4(%rip), %rdi callq _puts leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero addss -12(%rbp), %xmm0 mulss LCPI0_0(%rip), %xmm0 ucomiss LCPI0_1(%rip), %xmm0 jb LBB0_2 ## %bb.1: leaq L_str.5(%rip), %rdi callq _puts LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%f" L_str: ## @str .asciz "Digite a primeira nota: " L_str.4: ## @str.4 .asciz "Digite a segunda nota> " L_str.5: ## @str.5 .asciz "Aluno aprovado! " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts add x8, sp, #12 str x8, [sp] Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF mov x0, x19 bl _scanf Lloh4: adrp x0, l_str.4@PAGE Lloh5: add x0, x0, l_str.4@PAGEOFF bl _puts add x8, sp, #8 str x8, [sp] mov x0, x19 bl _scanf ldp s1, s0, [sp, #8] fadd s0, s0, s1 fmov s1, #0.50000000 fmul s0, s0, s1 fmov s1, #7.00000000 fcmp s0, s1 b.lt LBB0_2 ; %bb.1: Lloh6: adrp x0, l_str.5@PAGE Lloh7: add x0, x0, l_str.5@PAGEOFF bl _puts LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%f" l_str: ; @str .asciz "Digite a primeira nota: " l_str.4: ; @str.4 .asciz "Digite a segunda nota> " l_str.5: ; @str.5 .asciz "Aluno aprovado! " .subsections_via_symbols
the_stack_data/106080.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function get_link_target _get_link_target: ## @get_link_target .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movq _objtree@GOTPCREL(%rip), %r12 movq (%r12), %rbx movq %rbx, %rdi callq _strlen movq %r15, %rdi movq %rbx, %rsi movl %eax, %edx callq _strncmp testq %rax, %rax je LBB0_1 ## %bb.6: movl 8(%r14), %edx xorl %edi, %edi movq %r15, %rsi jmp LBB0_5 LBB0_1: movq (%r12), %rdi callq _strlen cltq leaq (%r15,%rax), %rsi incq %rsi movq (%r14), %rax movq _SRC_TREE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 ## %bb.2: movq _srctree@GOTPCREL(%rip), %rax movq (%rax), %rdi jmp LBB0_4 LBB0_3: movq (%r12), %rdi LBB0_4: movl 8(%r14), %edx LBB0_5: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _link_target ## TAILCALL .cfi_endproc ## -- End function .comm _objtree,8,3 ## @objtree .comm _SRC_TREE,8,3 ## @SRC_TREE .comm _srctree,8,3 ## @srctree .no_dead_strip _get_link_target .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function get_link_target _get_link_target: ; @get_link_target .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x22, _objtree@GOTPAGE Lloh1: ldr x22, [x22, _objtree@GOTPAGEOFF] ldr x21, [x22] mov x0, x21 bl _strlen mov x2, x0 mov x0, x20 mov x1, x21 bl _strncmp cbz x0, LBB0_2 ; %bb.1: ldr w2, [x19, #8] mov x0, #0 mov x1, x20 b LBB0_6 LBB0_2: ldr x0, [x22] bl _strlen add x8, x20, w0, sxtw add x1, x8, #1 ldr x8, [x19] Lloh2: adrp x9, _SRC_TREE@GOTPAGE Lloh3: ldr x9, [x9, _SRC_TREE@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.3: Lloh5: adrp x8, _srctree@GOTPAGE Lloh6: ldr x8, [x8, _srctree@GOTPAGEOFF] Lloh7: ldr x0, [x8] b LBB0_5 LBB0_4: ldr x0, [x22] LBB0_5: ldr w2, [x19, #8] LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _link_target .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _objtree,8,3 ; @objtree .comm _SRC_TREE,8,3 ; @SRC_TREE .comm _srctree,8,3 ; @srctree .no_dead_strip _get_link_target .subsections_via_symbols
AnghaBench/fastsocket/kernel/kernel/gcov/extr_fs.c_get_link_target.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ad7766_trigger_handler _ad7766_trigger_handler: ## @ad7766_trigger_handler .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq 8(%rsi), %r15 movq %r15, %rdi callq _iio_priv movq %rax, %rbx movl 8(%rax), %edi leaq 4(%rax), %rsi callq _spi_sync testl %eax, %eax js LBB0_2 ## %bb.1: movl (%rbx), %esi movl (%r14), %edx movq %r15, %rdi callq _iio_push_to_buffers_with_timestamp LBB0_2: movl (%r15), %edi callq _iio_trigger_notify_done movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _ad7766_trigger_handler .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ad7766_trigger_handler _ad7766_trigger_handler: ; @ad7766_trigger_handler .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 ldr x19, [x1, #8] mov x0, x19 bl _iio_priv mov x21, x0 ldr w0, [x0, #8] add x1, x21, #4 bl _spi_sync tbnz w0, #31, LBB0_2 ; %bb.1: ldr w1, [x21] ldr w2, [x20] mov x0, x19 bl _iio_push_to_buffers_with_timestamp LBB0_2: ldr w0, [x19] bl _iio_trigger_notify_done Lloh0: adrp x8, _IRQ_HANDLED@GOTPAGE Lloh1: ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _ad7766_trigger_handler .subsections_via_symbols
AnghaBench/linux/drivers/iio/adc/extr_ad7766.c_ad7766_trigger_handler.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sws_context_to_name _sws_context_to_name: ## @sws_context_to_name .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "swscaler" .no_dead_strip _sws_context_to_name .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sws_context_to_name _sws_context_to_name: ; @sws_context_to_name .cfi_startproc ; %bb.0: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "swscaler" .no_dead_strip _sws_context_to_name .subsections_via_symbols
AnghaBench/FFmpeg/libswscale/extr_options.c_sws_context_to_name.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _audit_get_car ## -- Begin function audit_get_car .p2align 4, 0x90 _audit_get_car: ## @audit_get_car .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rdx movq %rdi, %rsi movq _A_GETCAR@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _auditon ## TAILCALL .cfi_endproc ## -- End function .comm _A_GETCAR,4,2 ## @A_GETCAR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _audit_get_car ; -- Begin function audit_get_car .p2align 2 _audit_get_car: ; @audit_get_car .cfi_startproc ; %bb.0: mov x2, x1 mov x1, x0 Lloh0: adrp x8, _A_GETCAR@GOTPAGE Lloh1: ldr x8, [x8, _A_GETCAR@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _auditon .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _A_GETCAR,4,2 ; @A_GETCAR .subsections_via_symbols
AnghaBench/freebsd/contrib/openbsm/libbsm/extr_bsm_wrappers.c_audit_get_car.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function amd76x_init_csrows _amd76x_init_csrows: ## @amd76x_init_csrows .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, -48(%rbp) ## 4-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill cmpl $0, (%rdi) jle LBB0_7 ## %bb.1: movq %rdi, %r15 xorl %r13d, %r13d xorl %r14d, %r14d movq %rdi, -72(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movl (%rax), %eax movl %eax, 24(%r12,%r13,8) movl -48(%rbp), %eax ## 4-byte Reload movl %eax, 20(%r12,%r13,8) movq -72(%rbp), %r15 ## 8-byte Reload LBB0_6: ## in Loop: Header=BB0_2 Depth=1 incq %r14 movslq (%r15), %rax addq $4, %r13 cmpq %rax, %r14 jge LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %r12 movq _AMD76X_MEM_BASE_ADDR@GOTPCREL(%rip), %rax movq (%rax), %rsi addq %r13, %rsi movq -64(%rbp), %rdi ## 8-byte Reload leaq -44(%rbp), %rdx callq _pci_read_config_dword movl -44(%rbp), %ebx xorl %edi, %edi callq _BIT testl %ebx, %eax je LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl -44(%rbp), %r15d movl %r15d, %ebx andl $-8388608, %ebx ## imm = 0xFF800000 shll $16, %r15d orl $8388607, %r15d ## imm = 0x7FFFFF movq _AMD76X_DRAM_MODE_STATUS@GOTPCREL(%rip), %rax movq (%rax), %rsi movq -64(%rbp), %rdi ## 8-byte Reload leaq -52(%rbp), %rdx callq _pci_read_config_dword movq _PAGE_SHIFT@GOTPCREL(%rip), %rdx movzbl (%rdx), %ecx sarl %cl, %ebx movl %ebx, (%r12,%r13,8) leal 1(%r15), %eax movzbl (%rdx), %ecx sarl %cl, %eax movl %eax, 4(%r12,%r13,8) leal (%rbx,%rax), %ecx decl %ecx movl %ecx, 8(%r12,%r13,8) movzbl (%rdx), %ecx sarl %cl, %r15d movl %r15d, 12(%r12,%r13,8) movzbl (%rdx), %ecx shll %cl, %eax movl %eax, 16(%r12,%r13,8) movq _MEM_RDDR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 28(%r12,%r13,8) movl -52(%rbp), %eax btl %r14d, %eax movq _DEV_X4@GOTPCREL(%rip), %rax jb LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq _DEV_UNKNOWN@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_7: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AMD76X_MEM_BASE_ADDR,8,3 ## @AMD76X_MEM_BASE_ADDR .comm _AMD76X_DRAM_MODE_STATUS,8,3 ## @AMD76X_DRAM_MODE_STATUS .comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT .comm _MEM_RDDR,4,2 ## @MEM_RDDR .comm _DEV_X4,4,2 ## @DEV_X4 .comm _DEV_UNKNOWN,4,2 ## @DEV_UNKNOWN .no_dead_strip _amd76x_init_csrows .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function amd76x_init_csrows _amd76x_init_csrows: ; @amd76x_init_csrows .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 ldr w8, [x0] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 mov x22, #0 mov x23, #0 mov w24, #16 Lloh0: adrp x27, _PAGE_SHIFT@GOTPAGE Lloh1: ldr x27, [x27, _PAGE_SHIFT@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x23, x23, #1 ldrsw x8, [x21] add x24, x24, #32 add x22, x22, #4 cmp x23, x8 b.ge LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x26, [x21, #8] Lloh2: adrp x8, _AMD76X_MEM_BASE_ADDR@GOTPAGE Lloh3: ldr x8, [x8, _AMD76X_MEM_BASE_ADDR@GOTPAGEOFF] Lloh4: ldr x8, [x8] add x1, x22, x8 add x2, sp, #12 mov x0, x20 bl _pci_read_config_dword ldr w28, [sp, #12] mov w0, #0 bl _BIT tst w0, w28 b.eq LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [sp, #12] and w28, w8, #0xff800000 lsl w8, w8, #16 orr w25, w8, #0x7fffff Lloh5: adrp x8, _AMD76X_DRAM_MODE_STATUS@GOTPAGE Lloh6: ldr x8, [x8, _AMD76X_DRAM_MODE_STATUS@GOTPAGEOFF] Lloh7: ldr x1, [x8] add x2, sp, #8 mov x0, x20 bl _pci_read_config_dword ldr w8, [x27] asr w8, w28, w8 add x9, x26, x24 stur w8, [x9, #-16] add w10, w25, #1 ldr w11, [x27] asr w10, w10, w11 add w8, w8, w10 sub w8, w8, #1 stp w10, w8, [x9, #-12] ldr w8, [x27] asr w8, w25, w8 stur w8, [x9, #-4] ldr w8, [x27] lsl w8, w10, w8 str w8, [x9] Lloh8: adrp x8, _MEM_RDDR@GOTPAGE Lloh9: ldr x8, [x8, _MEM_RDDR@GOTPAGEOFF] Lloh10: ldr w8, [x8] str w8, [x9, #12] ldr w8, [sp, #8] lsr w8, w8, w23 tst w8, #0x1 Lloh11: adrp x8, _DEV_X4@GOTPAGE Lloh12: ldr x8, [x8, _DEV_X4@GOTPAGEOFF] Lloh13: adrp x10, _DEV_UNKNOWN@GOTPAGE Lloh14: ldr x10, [x10, _DEV_UNKNOWN@GOTPAGEOFF] csel x8, x10, x8, eq ldr w8, [x8] stp w19, w8, [x9, #4] b LBB0_2 LBB0_5: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _AMD76X_MEM_BASE_ADDR,8,3 ; @AMD76X_MEM_BASE_ADDR .comm _AMD76X_DRAM_MODE_STATUS,8,3 ; @AMD76X_DRAM_MODE_STATUS .comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT .comm _MEM_RDDR,4,2 ; @MEM_RDDR .comm _DEV_X4,4,2 ; @DEV_X4 .comm _DEV_UNKNOWN,4,2 ; @DEV_UNKNOWN .no_dead_strip _amd76x_init_csrows .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/edac/extr_amd76x_edac.c_amd76x_init_csrows.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_str(%rip), %rdi callq _puts xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_str: ## @str .asciz "skipped" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_str: ; @str .asciz "skipped" .subsections_via_symbols
the_stack_data/93887792.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SEGGER_SYSVIEW_SendTaskInfo ## -- Begin function SEGGER_SYSVIEW_SendTaskInfo .p2align 4, 0x90 _SEGGER_SYSVIEW_SendTaskInfo: ## @SEGGER_SYSVIEW_SendTaskInfo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq _SEGGER_SYSVIEW_INFO_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rax movq _SEGGER_SYSVIEW_QUANTA_U32@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leaq (%rax,%rcx), %rdi addq $33, %rdi callq _RECORD_START movl 8(%rbx), %edi callq _SHRINK_ID movl %eax, %esi callq _ENCODE_U32 movl 16(%rbx), %esi callq _ENCODE_U32 movl 12(%rbx), %esi movl $32, %edx callq __EncodeStr movq _SYSVIEW_EVTID_TASK_INFO@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq %rax, %rsi callq __SendPacket movl 8(%rbx), %edi callq _SHRINK_ID movl %eax, %esi callq _ENCODE_U32 movl 4(%rbx), %esi callq _ENCODE_U32 movl (%rbx), %esi callq _ENCODE_U32 xorl %esi, %esi callq _ENCODE_U32 movq _SYSVIEW_EVTID_STACK_INFO@GOTPCREL(%rip), %rax movl (%rax), %edx callq __SendPacket xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _RECORD_END ## TAILCALL .cfi_endproc ## -- End function .comm _SEGGER_SYSVIEW_INFO_SIZE,8,3 ## @SEGGER_SYSVIEW_INFO_SIZE .comm _SEGGER_SYSVIEW_QUANTA_U32,8,3 ## @SEGGER_SYSVIEW_QUANTA_U32 .comm _SYSVIEW_EVTID_TASK_INFO,4,2 ## @SYSVIEW_EVTID_TASK_INFO .comm _SYSVIEW_EVTID_STACK_INFO,4,2 ## @SYSVIEW_EVTID_STACK_INFO .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SEGGER_SYSVIEW_SendTaskInfo ; -- Begin function SEGGER_SYSVIEW_SendTaskInfo .p2align 2 _SEGGER_SYSVIEW_SendTaskInfo: ; @SEGGER_SYSVIEW_SendTaskInfo .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _SEGGER_SYSVIEW_INFO_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _SEGGER_SYSVIEW_INFO_SIZE@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _SEGGER_SYSVIEW_QUANTA_U32@GOTPAGE Lloh4: ldr x9, [x9, _SEGGER_SYSVIEW_QUANTA_U32@GOTPAGEOFF] Lloh5: ldr x9, [x9] add x8, x8, x9 add x0, x8, #33 bl _RECORD_START ldr w0, [x19, #8] bl _SHRINK_ID mov x1, x0 bl _ENCODE_U32 ldr w1, [x19, #16] bl _ENCODE_U32 ldr w1, [x19, #12] mov w2, #32 bl __EncodeStr Lloh6: adrp x8, _SYSVIEW_EVTID_TASK_INFO@GOTPAGE Lloh7: ldr x8, [x8, _SYSVIEW_EVTID_TASK_INFO@GOTPAGEOFF] Lloh8: ldr w2, [x8] mov x1, x0 bl __SendPacket ldr w0, [x19, #8] bl _SHRINK_ID mov x1, x0 bl _ENCODE_U32 ldr w1, [x19, #4] bl _ENCODE_U32 ldr w1, [x19] bl _ENCODE_U32 mov w1, #0 bl _ENCODE_U32 Lloh9: adrp x8, _SYSVIEW_EVTID_STACK_INFO@GOTPAGE Lloh10: ldr x8, [x8, _SYSVIEW_EVTID_STACK_INFO@GOTPAGEOFF] Lloh11: ldr w2, [x8] bl __SendPacket ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _RECORD_END .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SEGGER_SYSVIEW_INFO_SIZE,8,3 ; @SEGGER_SYSVIEW_INFO_SIZE .comm _SEGGER_SYSVIEW_QUANTA_U32,8,3 ; @SEGGER_SYSVIEW_QUANTA_U32 .comm _SYSVIEW_EVTID_TASK_INFO,4,2 ; @SYSVIEW_EVTID_TASK_INFO .comm _SYSVIEW_EVTID_STACK_INFO,4,2 ; @SYSVIEW_EVTID_STACK_INFO .subsections_via_symbols
AnghaBench/esp-idf/components/app_trace/sys_view/SEGGER/extr_SEGGER_SYSVIEW.c_SEGGER_SYSVIEW_SendTaskInfo.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ve_spc_cpu_wakeup_irq ## -- Begin function ve_spc_cpu_wakeup_irq .p2align 4, 0x90 _ve_spc_cpu_wakeup_irq: ## @ve_spc_cpu_wakeup_irq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _MAX_CLUSTERS@GOTPCREL(%rip), %rax cmpq %rdi, (%rax) jle LBB0_1 ## %bb.2: movl %edx, %r14d movq %rdi, %rbx movq %rsi, %rdi callq _BIT movq %rax, %r15 movq %rbx, %rdi callq _cluster_is_a15 movq %r15, %rbx shlq $4, %rbx testl %eax, %eax cmovneq %r15, %rbx movq _info@GOTPCREL(%rip), %r15 movq (%r15), %rax movq _WAKE_INT_MASK@GOTPCREL(%rip), %r12 movq (%r12), %rdi addq (%rax), %rdi callq _readl_relaxed movq %rax, %rcx orq %rbx, %rcx notq %rbx andq %rax, %rbx testl %r14d, %r14d cmovneq %rcx, %rbx movq (%r15), %rax movq (%r12), %rsi addq (%rax), %rsi movq %rbx, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _writel_relaxed ## TAILCALL LBB0_1: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_CLUSTERS,8,3 ## @MAX_CLUSTERS .comm _info,8,3 ## @info .comm _WAKE_INT_MASK,8,3 ## @WAKE_INT_MASK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ve_spc_cpu_wakeup_irq ; -- Begin function ve_spc_cpu_wakeup_irq .p2align 2 _ve_spc_cpu_wakeup_irq: ; @ve_spc_cpu_wakeup_irq .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, _MAX_CLUSTERS@GOTPAGE Lloh1: ldr x8, [x8, _MAX_CLUSTERS@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x0 b.le LBB0_2 ; %bb.1: mov x19, x2 mov x20, x0 mov x0, x1 bl _BIT mov x21, x0 mov x0, x20 bl _cluster_is_a15 lsl x8, x21, #4 cmp w0, #0 csel x20, x8, x21, eq Lloh3: adrp x21, _info@GOTPAGE Lloh4: ldr x21, [x21, _info@GOTPAGEOFF] ldr x8, [x21] ldr x8, [x8] Lloh5: adrp x22, _WAKE_INT_MASK@GOTPAGE Lloh6: ldr x22, [x22, _WAKE_INT_MASK@GOTPAGEOFF] ldr x9, [x22] add x0, x9, x8 bl _readl_relaxed orr x8, x0, x20 bic x9, x0, x20 cmp w19, #0 csel x0, x9, x8, eq ldr x8, [x21] ldr x8, [x8] ldr x9, [x22] add x1, x9, x8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _writel_relaxed LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _MAX_CLUSTERS,8,3 ; @MAX_CLUSTERS .comm _info,8,3 ; @info .comm _WAKE_INT_MASK,8,3 ; @WAKE_INT_MASK .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-vexpress/extr_spc.c_ve_spc_cpu_wakeup_irq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _trap_PC_AddGlobalDefine ## -- Begin function trap_PC_AddGlobalDefine .p2align 4, 0x90 _trap_PC_AddGlobalDefine: ## @trap_PC_AddGlobalDefine .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi movq _CG_PC_ADD_GLOBAL_DEFINE@GOTPCREL(%rip), %rax movl (%rax), %edi popq %rbp jmp _syscall ## TAILCALL .cfi_endproc ## -- End function .comm _CG_PC_ADD_GLOBAL_DEFINE,4,2 ## @CG_PC_ADD_GLOBAL_DEFINE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _trap_PC_AddGlobalDefine ; -- Begin function trap_PC_AddGlobalDefine .p2align 2 _trap_PC_AddGlobalDefine: ; @trap_PC_AddGlobalDefine .cfi_startproc ; %bb.0: mov x1, x0 Lloh0: adrp x8, _CG_PC_ADD_GLOBAL_DEFINE@GOTPAGE Lloh1: ldr x8, [x8, _CG_PC_ADD_GLOBAL_DEFINE@GOTPAGEOFF] Lloh2: ldr w0, [x8] b _syscall .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CG_PC_ADD_GLOBAL_DEFINE,4,2 ; @CG_PC_ADD_GLOBAL_DEFINE .subsections_via_symbols
AnghaBench/lab/engine/code/cgame/extr_cg_syscalls.c_trap_PC_AddGlobalDefine.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen movq %rax, %rbx leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.3(%rip), %rdi leaq -80(%rbp), %r14 movq %r14, %rsi xorl %eax, %eax callq _scanf leaq L_.str.4(%rip), %rsi movq %r14, %rdi callq _fopen movq %rax, %r14 movq %rbx, %rdi callq _feof testl %eax, %eax je LBB0_1 LBB0_5: movq %rbx, %rdi callq _fclose movq %r14, %rdi callq _fclose movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_7 ## %bb.6: xorl %eax, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: leaq L_.str.3(%rip), %r15 leaq -112(%rbp), %r12 movabsq $28259048195583852, %r13 ## imm = 0x64657461636F6C jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _feof testl %eax, %eax jne LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movq %r15, %rsi movq %r12, %rdx xorl %eax, %eax callq _fscanf cmpq %r13, -112(%rbp) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi leaq L_.str.5(%rip), %rsi movq %r12, %rdx xorl %eax, %eax callq _fprintf jmp LBB0_4 LBB0_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "um6p.txt" L_.str.1: ## @.str.1 .asciz "r" L_.str.2: ## @.str.2 .asciz "entrer le nom du nouveau fichier: " L_.str.3: ## @.str.3 .asciz "%s" L_.str.4: ## @.str.4 .asciz "w" L_.str.5: ## @.str.5 .asciz "%s " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-56] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF bl _fopen mov x19, x0 Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf add x8, sp, #42 str x8, [sp] Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _scanf Lloh11: adrp x1, l_.str.4@PAGE Lloh12: add x1, x1, l_.str.4@PAGEOFF add x0, sp, #42 bl _fopen mov x20, x0 mov x0, x19 bl _feof cbz w0, LBB0_3 LBB0_1: mov x0, x19 bl _fclose mov x0, x20 bl _fclose ldur x8, [x29, #-56] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_7 ; %bb.2: mov w0, #0 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_3: add x23, sp, #12 Lloh16: adrp x21, l_.str.3@PAGE Lloh17: add x21, x21, l_.str.3@PAGEOFF mov x24, #28524 movk x24, #24931, lsl #16 movk x24, #25972, lsl #32 movk x24, #100, lsl #48 Lloh18: adrp x22, l_.str.5@PAGE Lloh19: add x22, x22, l_.str.5@PAGEOFF b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x0, x19 bl _feof cbnz w0, LBB0_1 LBB0_5: ; =>This Inner Loop Header: Depth=1 str x23, [sp] mov x0, x19 mov x1, x21 bl _fscanf ldur x8, [sp, #12] cmp x8, x24 b.eq LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 str x23, [sp] mov x0, x20 mov x1, x22 bl _fprintf b LBB0_4 LBB0_7: bl ___stack_chk_fail .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__const l___const.main.remove: ; @__const.main.remove .asciz "located\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000" .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "um6p.txt" l_.str.1: ; @.str.1 .asciz "r" l_.str.2: ; @.str.2 .asciz "entrer le nom du nouveau fichier: " l_.str.3: ; @.str.3 .asciz "%s" l_.str.4: ; @.str.4 .asciz "w" l_.str.5: ; @.str.5 .asciz "%s " .subsections_via_symbols
the_stack_data/118652.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function usage _usage: ## @usage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx leaq L_.str(%rip), %rdi xorl %eax, %eax callq _DISPLAY leaq L_.str.1(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _DISPLAY leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _DISPLAY leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _DISPLAY leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _DISPLAY leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _DISPLAY xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Usage :\n" L_.str.1: ## @.str.1 .asciz " %s [arg] file1 file2 ... fileX\n" L_.str.2: ## @.str.2 .asciz "Arguments :\n" L_.str.3: ## @.str.3 .asciz " -c : compression tests only\n" L_.str.4: ## @.str.4 .asciz " -d : decompression tests only\n" L_.str.5: ## @.str.5 .asciz " -H/-h : Help (this text + advanced options)\n" .no_dead_strip _usage .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function usage _usage: ; @usage .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _DISPLAY str x19, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _DISPLAY Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _DISPLAY Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _DISPLAY Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _DISPLAY Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _DISPLAY mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Usage :\n" l_.str.1: ; @.str.1 .asciz " %s [arg] file1 file2 ... fileX\n" l_.str.2: ; @.str.2 .asciz "Arguments :\n" l_.str.3: ; @.str.3 .asciz " -c : compression tests only\n" l_.str.4: ; @.str.4 .asciz " -d : decompression tests only\n" l_.str.5: ; @.str.5 .asciz " -H/-h : Help (this text + advanced options)\n" .no_dead_strip _usage .subsections_via_symbols
AnghaBench/lz4/tests/extr_fullbench.c_usage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_ssl_client_set_default_rsapub ## -- Begin function br_ssl_client_set_default_rsapub .p2align 4, 0x90 _br_ssl_client_set_default_rsapub: ## @br_ssl_client_set_default_rsapub .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq _br_rsa_public_get_default movq %rbx, %rdi movl %eax, %esi addq $8, %rsp popq %rbx popq %rbp jmp _br_ssl_client_set_rsapub ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _br_ssl_client_set_default_rsapub ; -- Begin function br_ssl_client_set_default_rsapub .p2align 2 _br_ssl_client_set_default_rsapub: ; @br_ssl_client_set_default_rsapub .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _br_rsa_public_get_default mov x1, x0 mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _br_ssl_client_set_rsapub .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/bearssl/src/ssl/extr_ssl_client_default_rsapub.c_br_ssl_client_set_default_rsapub.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _displaying ## -- Begin function displaying .p2align 4, 0x90 _displaying: ## @displaying .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx leaq L_.str.2(%rip), %r13 leaq L_.str.3(%rip), %r15 leaq L_.str.4(%rip), %r12 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl $500000, %edi ## imm = 0x7A120 callq _usleep leaq L_str(%rip), %rdi callq _puts movl (%rbx), %edx leaq L_.str.1(%rip), %rdi movl %edx, %esi xorl %eax, %eax callq _printf movl (%r14), %edx movq %r13, %rdi movl %edx, %esi xorl %eax, %eax callq _printf movq %r15, %rdi xorl %esi, %esi xorl %edx, %edx xorl %eax, %eax callq _printf movq %r12, %rdi xorl %esi, %esi xorl %edx, %edx xorl %eax, %eax callq _printf jmp LBB0_1 .cfi_endproc ## -- End function .globl _displaying2 ## -- Begin function displaying2 .p2align 4, 0x90 _displaying2: ## @displaying2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movl %edx, %r12d movq %rdi, %rbx movl %esi, -52(%rbp) ## 4-byte Spill movl %esi, %r13d movl %ecx, -48(%rbp) ## 4-byte Spill movl %edx, -44(%rbp) ## 4-byte Spill jmp LBB1_1 .p2align 4, 0x90 LBB1_16: ## in Loop: Header=BB1_1 Depth=1 leaq L_.str.8(%rip), %rdi movl %r14d, %esi movl -48(%rbp), %r14d ## 4-byte Reload movl %r14d, %edx xorl %eax, %eax callq _printf leaq L_.str.9(%rip), %rdi movl %r12d, %esi movl -44(%rbp), %r12d ## 4-byte Reload movl %r12d, %edx xorl %eax, %eax callq _printf leaq L_str.13(%rip), %rdi callq _puts LBB1_1: ## =>This Loop Header: Depth=1 ## Child Loop BB1_3 Depth 2 movl $20000, %edi ## imm = 0x4E20 callq _usleep cmpl $0, -52(%rbp) ## 4-byte Folded Reload jle LBB1_16 ## %bb.2: ## in Loop: Header=BB1_1 Depth=1 xorl %r15d, %r15d movl -44(%rbp), %r12d ## 4-byte Reload movl -48(%rbp), %r14d ## 4-byte Reload jmp LBB1_3 LBB1_13: ## in Loop: Header=BB1_3 Depth=2 movl (%rax), %esi leaq L_.str.7(%rip), %rdi .p2align 4, 0x90 LBB1_14: ## in Loop: Header=BB1_3 Depth=2 xorl %eax, %eax callq _printf LBB1_15: ## in Loop: Header=BB1_3 Depth=2 movq (%rbx,%r15,8), %rax subl 24(%rax), %r14d subl 28(%rax), %r12d incq %r15 cmpq %r15, %r13 je LBB1_16 LBB1_3: ## Parent Loop BB1_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%rbx,%r15,8), %rax movl 4(%rax), %ecx cmpq $7, %rcx ja LBB1_13 ## %bb.4: ## in Loop: Header=BB1_3 Depth=2 leaq LJTI1_0(%rip), %rdx movslq (%rdx,%rcx,4), %rax addq %rdx, %rax jmpq *%rax LBB1_5: ## in Loop: Header=BB1_3 Depth=2 leaq L_.str.5(%rip), %rdi xorl %esi, %esi jmp LBB1_14 LBB1_6: ## in Loop: Header=BB1_3 Depth=2 leaq L_.str.5(%rip), %rdi movl $1, %esi jmp LBB1_14 LBB1_7: ## in Loop: Header=BB1_3 Depth=2 leaq L_.str.5(%rip), %rdi movl $2, %esi jmp LBB1_14 LBB1_8: ## in Loop: Header=BB1_3 Depth=2 leaq L_.str.5(%rip), %rdi movl $3, %esi jmp LBB1_14 LBB1_9: ## in Loop: Header=BB1_3 Depth=2 leaq L_.str.5(%rip), %rdi movl $4, %esi jmp LBB1_14 LBB1_10: ## in Loop: Header=BB1_3 Depth=2 leaq L_.str.5(%rip), %rdi movl $5, %esi jmp LBB1_14 LBB1_11: ## in Loop: Header=BB1_3 Depth=2 leaq L_.str.5(%rip), %rdi movl $6, %esi jmp LBB1_14 LBB1_12: ## in Loop: Header=BB1_3 Depth=2 movl $32, %edi callq _putchar jmp LBB1_15 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L1_0_set_5, LBB1_5-LJTI1_0 .set L1_0_set_6, LBB1_6-LJTI1_0 .set L1_0_set_7, LBB1_7-LJTI1_0 .set L1_0_set_8, LBB1_8-LJTI1_0 .set L1_0_set_9, LBB1_9-LJTI1_0 .set L1_0_set_10, LBB1_10-LJTI1_0 .set L1_0_set_11, LBB1_11-LJTI1_0 .set L1_0_set_12, LBB1_12-LJTI1_0 LJTI1_0: .long L1_0_set_5 .long L1_0_set_6 .long L1_0_set_7 .long L1_0_set_8 .long L1_0_set_9 .long L1_0_set_10 .long L1_0_set_11 .long L1_0_set_12 .end_data_region ## -- End function .globl _clientFunction ## -- Begin function clientFunction .p2align 4, 0x90 _clientFunction: ## @clientFunction .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq $0, 24(%rdi) movl $2, 4(%rdi) movq 16(%rdi), %rdi callq _sem_wait movl $1, 28(%rbx) movl $1, 4(%rbx) movq 8(%rbx), %rdi callq _sem_wait movl $1, 24(%rbx) movl $3, 4(%rbx) movl $50000, %edi ## imm = 0xC350 callq _usleep movq 16(%rbx), %rdi callq _sem_post movl $0, 28(%rbx) movl $4, 4(%rbx) movl $50000, %edi ## imm = 0xC350 callq _usleep movl $5, 4(%rbx) movq 16(%rbx), %rdi callq _sem_wait movl $1, 28(%rbx) movl $3, 4(%rbx) movl $50000, %edi ## imm = 0xC350 callq _usleep movq 16(%rbx), %rdi callq _sem_post movl $0, 28(%rbx) movq 8(%rbx), %rdi callq _sem_post movl $0, 24(%rbx) movl $7, 4(%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _initSemaphores ## -- Begin function initSemaphores .p2align 4, 0x90 _initSemaphores: ## @initSemaphores .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %ecx, %r14d movq %rsi, %rbx xorl %esi, %esi callq _sem_init movq %rbx, %rdi xorl %esi, %esi movl %r14d, %edx popq %rbx popq %r14 popq %rbp jmp _sem_init ## TAILCALL .cfi_endproc ## -- End function .globl _startThreads ## -- Begin function startThreads .p2align 4, 0x90 _startThreads: ## @startThreads .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, -48(%rbp) ## 8-byte Spill testl %ecx, %ecx jle LBB4_3 ## %bb.1: movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx movl %ecx, %r13d xorl %r14d, %r14d .p2align 4, 0x90 LBB4_2: ## =>This Inner Loop Header: Depth=1 movl $32, %edi callq _malloc movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx,%r14,8) movl %r14d, (%rax) movl $0, 4(%rax) movq %r12, 16(%rax) movq %r15, 8(%rax) movq $0, 24(%rax) movq %rbx, %rdi xorl %esi, %esi leaq _clientFunction(%rip), %rdx movq %rax, %rcx callq _pthread_create incq %r14 addq $8, %rbx cmpq %r14, %r13 jne LBB4_2 LBB4_3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $168, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str.14(%rip), %rdi callq _puts leaq L_str.15(%rip), %rdi callq _puts movl $640, %edi ## imm = 0x280 callq _malloc movq %rax, %r12 leaq -44(%rbp), %rdi xorl %r14d, %r14d xorl %esi, %esi movl $2, %edx callq _sem_init leaq -48(%rbp), %r15 movq %r15, %rdi xorl %esi, %esi movl $4, %edx callq _sem_init leaq -208(%rbp), %rbx leaq _clientFunction(%rip), %r13 .p2align 4, 0x90 LBB5_1: ## =>This Inner Loop Header: Depth=1 movl $32, %edi callq _malloc movq %rax, (%r12,%r14,8) movl %r14d, (%rax) movl $0, 4(%rax) leaq -44(%rbp), %rcx movq %rcx, 16(%rax) movq %r15, 8(%rax) movq $0, 24(%rax) movq %rbx, %rdi xorl %esi, %esi movq %r13, %rdx movq %rax, %rcx callq _pthread_create incq %r14 addq $8, %rbx cmpq $20, %r14 jne LBB5_1 ## %bb.2: movq %r12, %rdi movl $20, %esi movl $2, %edx movl $4, %ecx callq _displaying2 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz " Cabines dispo : %d / %d\n" L_.str.2: ## @.str.2 .asciz " Paniers dispo : %d / %d\n" L_.str.3: ## @.str.3 .asciz " Client wianitng : %d / %d\n" L_.str.4: ## @.str.4 .asciz " Client swimming : %d / %d\n" L_.str.5: ## @.str.5 .asciz "%d" L_.str.7: ## @.str.7 .asciz "ZZZ %d ZZZ" L_.str.8: ## @.str.8 .asciz "|\tpaniers dispos %d/%d" L_.str.9: ## @.str.9 .asciz "\t|\tcabines dispos %d/%d" L_str: ## @str .asciz "\n\n------------------------------------------\n" L_str.13: ## @str.13 .asciz "\t|" L_str.14: ## @str.14 .asciz "*****************************\n* PRS - CTP - Lo\303\257c Bourgois *\n*****************************" L_str.15: ## @str.15 .asciz "L\303\251gende \n\t0 - Etat initial\n\t1 - En attente d'un panier\n\t2 - En attente d'une cabine\n\t3 - Se change\n\t4 - Se baigne\n\t5 - En attente d'une cabine apr\303\250s baignade\n\t6 - Se change apr\303\250s baignade\n\t\t- Termin\303\251\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _displaying ; -- Begin function displaying .p2align 2 _displaying: ; @displaying .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 Lloh0: adrp x21, l_str@PAGE Lloh1: add x21, x21, l_str@PAGEOFF Lloh2: adrp x22, l_.str.1@PAGE Lloh3: add x22, x22, l_.str.1@PAGEOFF Lloh4: adrp x23, l_.str.2@PAGE Lloh5: add x23, x23, l_.str.2@PAGEOFF Lloh6: adrp x24, l_.str.3@PAGE Lloh7: add x24, x24, l_.str.3@PAGEOFF Lloh8: adrp x25, l_.str.4@PAGE Lloh9: add x25, x25, l_.str.4@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 mov w0, #41248 movk w0, #7, lsl #16 bl _usleep mov x0, x21 bl _puts ldr w8, [x20] stp x8, x8, [sp] mov x0, x22 bl _printf ldr w8, [x19] stp x8, x8, [sp] mov x0, x23 bl _printf stp xzr, xzr, [sp] mov x0, x24 bl _printf stp xzr, xzr, [sp] mov x0, x25 bl _printf b LBB0_1 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _displaying2 ; -- Begin function displaying2 .p2align 2 _displaying2: ; @displaying2 .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x27, x3 mov x26, x2 str w1, [sp, #44] ; 4-byte Folded Spill mov w8, w1 stp x8, x0, [sp, #24] ; 16-byte Folded Spill Lloh10: adrp x25, lJTI1_0@PAGE Lloh11: add x25, x25, lJTI1_0@PAGEOFF Lloh12: adrp x24, l_.str.5@PAGE Lloh13: add x24, x24, l_.str.5@PAGEOFF mov w21, #5 mov w23, #6 b LBB1_2 LBB1_1: ; in Loop: Header=BB1_2 Depth=1 stp x19, x27, [sp] Lloh14: adrp x0, l_.str.8@PAGE Lloh15: add x0, x0, l_.str.8@PAGEOFF bl _printf stp x20, x26, [sp] Lloh16: adrp x0, l_.str.9@PAGE Lloh17: add x0, x0, l_.str.9@PAGEOFF bl _printf Lloh18: adrp x0, l_str.13@PAGE Lloh19: add x0, x0, l_str.13@PAGEOFF bl _puts LBB1_2: ; =>This Loop Header: Depth=1 ; Child Loop BB1_9 Depth 2 mov w0, #20000 bl _usleep mov x19, x27 mov x20, x26 ldr w8, [sp, #44] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB1_1 ; %bb.3: ; in Loop: Header=BB1_2 Depth=1 ldp x22, x28, [sp, #24] ; 16-byte Folded Reload mov x20, x26 mov x19, x27 b LBB1_9 LBB1_4: ; in Loop: Header=BB1_9 Depth=2 mov w8, #1 LBB1_5: ; in Loop: Header=BB1_9 Depth=2 str x8, [sp] LBB1_6: ; in Loop: Header=BB1_9 Depth=2 mov x0, x24 LBB1_7: ; in Loop: Header=BB1_9 Depth=2 bl _printf LBB1_8: ; in Loop: Header=BB1_9 Depth=2 ldr x8, [x28], #8 ldp w9, w8, [x8, #24] sub w19, w19, w9 sub w20, w20, w8 subs x22, x22, #1 b.eq LBB1_1 LBB1_9: ; Parent Loop BB1_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x28] ldr w9, [x8, #4] cmp w9, #7 b.hi LBB1_12 ; %bb.10: ; in Loop: Header=BB1_9 Depth=2 adr x8, LBB1_4 ldrb w10, [x25, x9] add x8, x8, x10, lsl #2 br x8 LBB1_11: ; in Loop: Header=BB1_9 Depth=2 str xzr, [sp] b LBB1_6 LBB1_12: ; in Loop: Header=BB1_9 Depth=2 ldr w8, [x8] str x8, [sp] Lloh20: adrp x0, l_.str.7@PAGE Lloh21: add x0, x0, l_.str.7@PAGEOFF b LBB1_7 LBB1_13: ; in Loop: Header=BB1_9 Depth=2 mov w8, #2 b LBB1_5 LBB1_14: ; in Loop: Header=BB1_9 Depth=2 mov w8, #3 b LBB1_5 LBB1_15: ; in Loop: Header=BB1_9 Depth=2 mov w8, #4 b LBB1_5 LBB1_16: ; in Loop: Header=BB1_9 Depth=2 str x21, [sp] b LBB1_6 LBB1_17: ; in Loop: Header=BB1_9 Depth=2 str x23, [sp] b LBB1_6 LBB1_18: ; in Loop: Header=BB1_9 Depth=2 mov w0, #32 bl _putchar b LBB1_8 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc .section __TEXT,__const lJTI1_0: .byte (LBB1_11-LBB1_4)>>2 .byte (LBB1_4-LBB1_4)>>2 .byte (LBB1_13-LBB1_4)>>2 .byte (LBB1_14-LBB1_4)>>2 .byte (LBB1_15-LBB1_4)>>2 .byte (LBB1_16-LBB1_4)>>2 .byte (LBB1_17-LBB1_4)>>2 .byte (LBB1_18-LBB1_4)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _clientFunction ; -- Begin function clientFunction .p2align 2 _clientFunction: ; @clientFunction .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 str xzr, [x0, #24] mov w8, #2 str w8, [x0, #4] ldr x0, [x0, #16] bl _sem_wait mov w20, #1 str w20, [x19, #28] str w20, [x19, #4] ldr x0, [x19, #8] bl _sem_wait str w20, [x19, #24] mov w21, #3 str w21, [x19, #4] mov w0, #50000 bl _usleep ldr x0, [x19, #16] bl _sem_post str wzr, [x19, #28] mov w8, #4 str w8, [x19, #4] mov w0, #50000 bl _usleep mov w8, #5 str w8, [x19, #4] ldr x0, [x19, #16] bl _sem_wait str w20, [x19, #28] str w21, [x19, #4] mov w0, #50000 bl _usleep ldr x0, [x19, #16] bl _sem_post str wzr, [x19, #28] ldr x0, [x19, #8] bl _sem_post str wzr, [x19, #24] mov w8, #7 str w8, [x19, #4] mov x0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _initSemaphores ; -- Begin function initSemaphores .p2align 2 _initSemaphores: ; @initSemaphores .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x3 mov x20, x1 mov w1, #0 bl _sem_init mov x0, x20 mov w1, #0 mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _sem_init .cfi_endproc ; -- End function .globl _startThreads ; -- Begin function startThreads .p2align 2 _startThreads: ; @startThreads .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 cmp w3, #1 b.lt LBB4_3 ; %bb.1: mov x19, x4 mov x20, x2 mov x21, x1 mov x22, x0 mov x24, #0 mov w25, w3 Lloh22: adrp x23, _clientFunction@PAGE Lloh23: add x23, x23, _clientFunction@PAGEOFF LBB4_2: ; =>This Inner Loop Header: Depth=1 mov w0, #32 bl _malloc mov x3, x0 str x0, [x19, x24, lsl #3] stp w24, wzr, [x0] stp x20, x21, [x0, #8] str xzr, [x0, #24] mov x0, x22 mov x1, #0 mov x2, x23 bl _pthread_create add x24, x24, #1 add x22, x22, #8 cmp x25, x24 b.ne LBB4_2 LBB4_3: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh22, Lloh23 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #240 .cfi_def_cfa_offset 240 stp x24, x23, [sp, #176] ; 16-byte Folded Spill stp x22, x21, [sp, #192] ; 16-byte Folded Spill stp x20, x19, [sp, #208] ; 16-byte Folded Spill stp x29, x30, [sp, #224] ; 16-byte Folded Spill add x29, sp, #224 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh24: adrp x0, l_str.14@PAGE Lloh25: add x0, x0, l_str.14@PAGEOFF bl _puts Lloh26: adrp x0, l_str.15@PAGE Lloh27: add x0, x0, l_str.15@PAGEOFF bl _puts mov w0, #640 bl _malloc mov x19, x0 sub x22, x29, #52 sub x0, x29, #52 mov w1, #0 mov w2, #2 bl _sem_init sub x23, x29, #56 sub x0, x29, #56 mov w1, #0 mov w2, #4 bl _sem_init mov x24, #0 add x20, sp, #8 Lloh28: adrp x21, _clientFunction@PAGE Lloh29: add x21, x21, _clientFunction@PAGEOFF LBB5_1: ; =>This Inner Loop Header: Depth=1 mov w0, #32 bl _malloc mov x3, x0 str x0, [x19, x24, lsl #3] stp w24, wzr, [x0] stp x23, x22, [x0, #8] str xzr, [x0, #24] mov x0, x20 mov x1, #0 mov x2, x21 bl _pthread_create add x24, x24, #1 add x20, x20, #8 cmp x24, #20 b.ne LBB5_1 ; %bb.2: mov x0, x19 mov w1, #20 mov w2, #2 mov w3, #4 bl _displaying2 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz " Cabines dispo : %d / %d\n" l_.str.2: ; @.str.2 .asciz " Paniers dispo : %d / %d\n" l_.str.3: ; @.str.3 .asciz " Client wianitng : %d / %d\n" l_.str.4: ; @.str.4 .asciz " Client swimming : %d / %d\n" l_.str.5: ; @.str.5 .asciz "%d" l_.str.7: ; @.str.7 .asciz "ZZZ %d ZZZ" l_.str.8: ; @.str.8 .asciz "|\tpaniers dispos %d/%d" l_.str.9: ; @.str.9 .asciz "\t|\tcabines dispos %d/%d" l_str: ; @str .asciz "\n\n------------------------------------------\n" l_str.13: ; @str.13 .asciz "\t|" l_str.14: ; @str.14 .asciz "*****************************\n* PRS - CTP - Lo\303\257c Bourgois *\n*****************************" l_str.15: ; @str.15 .asciz "L\303\251gende \n\t0 - Etat initial\n\t1 - En attente d'un panier\n\t2 - En attente d'une cabine\n\t3 - Se change\n\t4 - Se baigne\n\t5 - En attente d'une cabine apr\303\250s baignade\n\t6 - Se change apr\303\250s baignade\n\t\t- Termin\303\251\n" .subsections_via_symbols
the_stack_data/48575700.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function decon_te_irq_handler _decon_te_irq_handler: ## @decon_te_irq_handler .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rdi movq _DECON_TRIGCON@GOTPCREL(%rip), %rax movl (%rax), %esi movq _TRIGCON_SWTRIGCMD@GOTPCREL(%rip), %rax movl (%rax), %edx movl $-1, %ecx callq _decon_set_bits movq _IRQ_HANDLED@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _DECON_TRIGCON,4,2 ## @DECON_TRIGCON .comm _TRIGCON_SWTRIGCMD,4,2 ## @TRIGCON_SWTRIGCMD .comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED .no_dead_strip _decon_te_irq_handler .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function decon_te_irq_handler _decon_te_irq_handler: ; @decon_te_irq_handler .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 x0, x1 Lloh0: adrp x8, _DECON_TRIGCON@GOTPAGE Lloh1: ldr x8, [x8, _DECON_TRIGCON@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _TRIGCON_SWTRIGCMD@GOTPAGE Lloh4: ldr x8, [x8, _TRIGCON_SWTRIGCMD@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov w3, #-1 bl _decon_set_bits Lloh6: adrp x8, _IRQ_HANDLED@GOTPAGE Lloh7: ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF] Lloh8: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DECON_TRIGCON,4,2 ; @DECON_TRIGCON .comm _TRIGCON_SWTRIGCMD,4,2 ; @TRIGCON_SWTRIGCMD .comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED .no_dead_strip _decon_te_irq_handler .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/exynos/extr_exynos5433_drm_decon.c_decon_te_irq_handler.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function echo_can_disable_detector_update _echo_can_disable_detector_update: ## @echo_can_disable_detector_update .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq %rdi, %r14 addq $32, %rdi callq _biquad2 movl %ebx, %ecx negl %ecx cmovsl %ebx, %ecx movl (%r14), %edx movl 4(%r14), %esi subl %edx, %ecx sarl $5, %ecx addl %edx, %ecx movl %ecx, (%r14) movl %eax, %edx negl %edx cmovsl %eax, %edx subl %esi, %edx sarl $4, %edx addl %esi, %edx movl %edx, 4(%r14) cmpl $281, %ecx ## imm = 0x119 jl LBB0_10 ## %bb.1: addl %edx, %edx leal (%rdx,%rdx,2), %eax cmpl %ecx, %eax jge LBB0_9 ## %bb.2: cmpq $0, 24(%r14) jne LBB0_7 ## %bb.3: movl $-3400, %eax ## imm = 0xF2B8 addl 8(%r14), %eax cmpl $400, %eax ## imm = 0x190 ja LBB0_6 ## %bb.4: movl 12(%r14), %eax leal 1(%rax), %ecx movl %ecx, 12(%r14) cmpl $2, %eax jl LBB0_6 ## %bb.5: movq _TRUE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r14) LBB0_6: movl $0, 8(%r14) LBB0_7: movq _TRUE@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_10: movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 24(%r14) movq $0, 8(%r14) jmp LBB0_11 LBB0_9: movq _FALSE@GOTPCREL(%rip), %rax LBB0_8: movq (%rax), %rax movq %rax, 24(%r14) incl 8(%r14) LBB0_11: movl 16(%r14), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _TRUE,8,3 ## @TRUE .comm _FALSE,8,3 ## @FALSE .no_dead_strip _echo_can_disable_detector_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function echo_can_disable_detector_update lCPI0_0: .long 4294967291 ; 0xfffffffb .long 4294967292 ; 0xfffffffc .section __TEXT,__text,regular,pure_instructions .p2align 2 _echo_can_disable_detector_update: ; @echo_can_disable_detector_update .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 add x0, x0, #32 bl _biquad2 fmov s0, w20 mov.s v0[1], w0 abs.2s v0, v0 ldr d1, [x19] sub.2s v0, v0, v1 Lloh0: adrp x8, lCPI0_0@PAGE Lloh1: ldr d2, [x8, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v2 add.2s v0, v0, v1 str d0, [x19] fmov w8, s0 cmp w8, #281 b.lt LBB0_7 ; %bb.1: mov.s w9, v0[1] add w9, w9, w9, lsl #1 lsl w9, w9, #1 cmp w9, w8 b.ge LBB0_8 ; %bb.2: ldr x9, [x19, #24] Lloh2: adrp x8, _TRUE@GOTPAGE Lloh3: ldr x8, [x8, _TRUE@GOTPAGEOFF] cbnz x9, LBB0_9 ; %bb.3: ldr w9, [x19, #8] sub w9, w9, #3400 cmp w9, #400 b.hi LBB0_6 ; %bb.4: ldr w9, [x19, #12] add w10, w9, #1 str w10, [x19, #12] cmp w9, #2 b.lt LBB0_6 ; %bb.5: ldr x9, [x8] str w9, [x19, #16] LBB0_6: str wzr, [x19, #8] b LBB0_9 LBB0_7: Lloh4: adrp x8, _FALSE@GOTPAGE Lloh5: ldr x8, [x8, _FALSE@GOTPAGEOFF] Lloh6: ldr x8, [x8] str x8, [x19, #24] str xzr, [x19, #8] b LBB0_10 LBB0_8: Lloh7: adrp x8, _FALSE@GOTPAGE Lloh8: ldr x8, [x8, _FALSE@GOTPAGEOFF] LBB0_9: ldr x8, [x8] str x8, [x19, #24] ldr w8, [x19, #8] add w8, w8, #1 str w8, [x19, #8] LBB0_10: ldr w0, [x19, #16] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _TRUE,8,3 ; @TRUE .comm _FALSE,8,3 ; @FALSE .no_dead_strip _echo_can_disable_detector_update .subsections_via_symbols
AnghaBench/linux/drivers/isdn/mISDN/extr_dsp_ecdis.h_echo_can_disable_detector_update.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function macvlan_validate _macvlan_validate: ## @macvlan_validate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq _IFLA_ADDRESS@GOTPCREL(%rip), %r15 movq (%r15), %rax movq (%rdi,%rax,8), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.1: callq _nla_len movq _ETH_ALEN@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_7 ## %bb.2: movq (%r15), %rax movq (%rbx,%rax,8), %rdi callq _nla_data movl %eax, %edi callq _is_valid_ether_addr testl %eax, %eax je LBB0_3 LBB0_4: xorl %ebx, %ebx testq %r14, %r14 je LBB0_9 ## %bb.5: movq _IFLA_MACVLAN_MODE@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%r14,%rax,8), %rdi testq %rdi, %rdi je LBB0_9 ## %bb.6: callq _nla_get_u32 andl $-4, %eax cmpl $128, %eax je LBB0_9 LBB0_7: movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_3: movq _EADDRNOTAVAIL@GOTPCREL(%rip), %rax LBB0_8: xorl %ebx, %ebx subl (%rax), %ebx LBB0_9: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IFLA_ADDRESS,8,3 ## @IFLA_ADDRESS .comm _ETH_ALEN,8,3 ## @ETH_ALEN .comm _EINVAL,4,2 ## @EINVAL .comm _EADDRNOTAVAIL,4,2 ## @EADDRNOTAVAIL .comm _IFLA_MACVLAN_MODE,8,3 ## @IFLA_MACVLAN_MODE .no_dead_strip _macvlan_validate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function macvlan_validate _macvlan_validate: ; @macvlan_validate .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x21, _IFLA_ADDRESS@GOTPAGE Lloh1: ldr x21, [x21, _IFLA_ADDRESS@GOTPAGEOFF] ldr x8, [x21] ldr x0, [x0, x8, lsl #3] cbz x0, LBB0_3 ; %bb.1: bl _nla_len Lloh2: adrp x8, _ETH_ALEN@GOTPAGE Lloh3: ldr x8, [x8, _ETH_ALEN@GOTPAGEOFF] Lloh4: ldr x8, [x8] cmp x0, x8 b.ne LBB0_7 ; %bb.2: ldr x8, [x21] ldr x0, [x20, x8, lsl #3] bl _nla_data bl _is_valid_ether_addr cbz w0, LBB0_8 LBB0_3: cbz x19, LBB0_6 ; %bb.4: Lloh5: adrp x8, _IFLA_MACVLAN_MODE@GOTPAGE Lloh6: ldr x8, [x8, _IFLA_MACVLAN_MODE@GOTPAGEOFF] Lloh7: ldr x8, [x8] ldr x0, [x19, x8, lsl #3] cbz x0, LBB0_10 ; %bb.5: bl _nla_get_u32 and w8, w0, #0xfffffffc cmp w8, #128 b.ne LBB0_7 LBB0_6: mov w0, #0 b LBB0_10 LBB0_7: Lloh8: adrp x8, _EINVAL@GOTPAGE Lloh9: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_9 LBB0_8: Lloh10: adrp x8, _EADDRNOTAVAIL@GOTPAGE Lloh11: ldr x8, [x8, _EADDRNOTAVAIL@GOTPAGEOFF] LBB0_9: ldr w8, [x8] neg w0, w8 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _IFLA_ADDRESS,8,3 ; @IFLA_ADDRESS .comm _ETH_ALEN,8,3 ; @ETH_ALEN .comm _EINVAL,4,2 ; @EINVAL .comm _EADDRNOTAVAIL,4,2 ; @EADDRNOTAVAIL .comm _IFLA_MACVLAN_MODE,8,3 ; @IFLA_MACVLAN_MODE .no_dead_strip _macvlan_validate .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/extr_macvlan.c_macvlan_validate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hevc_parse_pic_parameter_set_rbsp _hevc_parse_pic_parameter_set_rbsp: ## @hevc_parse_pic_parameter_set_rbsp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r12 callq _bs_remain xorl %r14d, %r14d testl %eax, %eax jle LBB0_28 ## %bb.1: movq %r12, %rdi callq _bs_read_ue movq %rax, (%r15) movq _HEVC_PPS_ID_MAX@GOTPCREL(%rip), %rcx cmpq %rax, (%rcx) jl LBB0_28 ## %bb.2: movq %r12, %rdi callq _bs_remain testl %eax, %eax jle LBB0_28 ## %bb.3: movq %r12, %rdi callq _bs_read_ue movq %rax, 8(%r15) movq _HEVC_SPS_ID_MAX@GOTPCREL(%rip), %rcx cmpq %rax, (%rcx) jl LBB0_28 ## %bb.4: movq %r12, %rdi callq _bs_read1 movq %rax, 312(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 304(%r15) movq %r12, %rdi movl $3, %esi callq _bs_read movq %rax, 296(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 288(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 280(%r15) movq %r12, %rdi callq _bs_read_ue movq %rax, 272(%r15) movq %r12, %rdi callq _bs_read_ue movq %rax, 264(%r15) movq %r12, %rdi callq _bs_read_se movq %rax, 256(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 248(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 240(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 232(%r15) testq %rax, %rax je LBB0_6 ## %bb.5: movq %r12, %rdi callq _bs_read_ue movq %rax, 224(%r15) LBB0_6: movq %r12, %rdi callq _bs_remain testl %eax, %eax jle LBB0_28 ## %bb.7: movq %r12, %rdi callq _bs_read_se movq %rax, 216(%r15) movq %r12, %rdi callq _bs_read_se movq %rax, 208(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 200(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 192(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 184(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 176(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 160(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 168(%r15) cmpq $0, 160(%r15) je LBB0_18 ## %bb.8: movq %r12, %rdi callq _bs_read_ue movl %eax, 16(%r15) movq %r12, %rdi callq _bs_read_ue movl %eax, 20(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 152(%r15) testq %rax, %rax je LBB0_9 LBB0_17: movq %r12, %rdi callq _bs_read1 movq %rax, 144(%r15) LBB0_18: movq %r12, %rdi callq _bs_read1 movq %rax, 136(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 128(%r15) testq %rax, %rax je LBB0_21 ## %bb.19: movq %r12, %rdi callq _bs_read1 movq %rax, 120(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 112(%r15) testq %rax, %rax jne LBB0_21 ## %bb.20: movq %r12, %rdi callq _bs_read_se movq %rax, 104(%r15) movq %r12, %rdi callq _bs_read_se movq %rax, 96(%r15) LBB0_21: movq %r12, %rdi callq _bs_read1 movq %rax, 88(%r15) testq %rax, %rax je LBB0_23 ## %bb.22: movq %r12, %rdi callq _hevc_parse_scaling_list_rbsp testl %eax, %eax je LBB0_28 LBB0_23: movq %r12, %rdi callq _bs_read1 movq %rax, 80(%r15) movq %r12, %rdi callq _bs_read_ue movq %rax, 72(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 64(%r15) movq %r12, %rdi callq _bs_remain testl %eax, %eax jle LBB0_28 ## %bb.24: movq %r12, %rdi callq _bs_read1 movq %rax, 56(%r15) testq %rax, %rax je LBB0_27 ## %bb.25: movq %r12, %rdi callq _bs_read1 movq %rax, 48(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 40(%r15) movq %r12, %rdi callq _bs_read1 movq %rax, 32(%r15) movq %r12, %rdi callq _bs_remain cmpl $5, %eax jl LBB0_28 ## %bb.26: movq %r12, %rdi movl $5, %esi callq _bs_read movq %rax, 24(%r15) LBB0_27: movl $1, %r14d jmp LBB0_28 LBB0_9: movq %r12, %rdi callq _bs_remain movl 16(%r15), %edx movl 20(%r15), %ecx leal (%rcx,%rdx), %esi cmpl %esi, %eax jle LBB0_28 ## %bb.10: testl %edx, %edx je LBB0_14 ## %bb.11: xorl %ebx, %ebx LBB0_12: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi callq _bs_read_ue incl %ebx cmpl 16(%r15), %ebx jb LBB0_12 ## %bb.13: movl 20(%r15), %ecx LBB0_14: testl %ecx, %ecx je LBB0_17 ## %bb.15: xorl %ebx, %ebx LBB0_16: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi callq _bs_read_ue incl %ebx cmpl 20(%r15), %ebx jb LBB0_16 jmp LBB0_17 LBB0_28: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HEVC_PPS_ID_MAX,8,3 ## @HEVC_PPS_ID_MAX .comm _HEVC_SPS_ID_MAX,8,3 ## @HEVC_SPS_ID_MAX .no_dead_strip _hevc_parse_pic_parameter_set_rbsp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hevc_parse_pic_parameter_set_rbsp _hevc_parse_pic_parameter_set_rbsp: ; @hevc_parse_pic_parameter_set_rbsp .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 bl _bs_remain cmp w0, #1 b.lt LBB0_28 ; %bb.1: mov x0, x20 bl _bs_read_ue str x0, [x19] Lloh0: adrp x8, _HEVC_PPS_ID_MAX@GOTPAGE Lloh1: ldr x8, [x8, _HEVC_PPS_ID_MAX@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x0 b.lt LBB0_28 ; %bb.2: mov x0, x20 bl _bs_remain cmp w0, #1 b.lt LBB0_28 ; %bb.3: mov x0, x20 bl _bs_read_ue str x0, [x19, #8] Lloh3: adrp x8, _HEVC_SPS_ID_MAX@GOTPAGE Lloh4: ldr x8, [x8, _HEVC_SPS_ID_MAX@GOTPAGEOFF] Lloh5: ldr x8, [x8] cmp x8, x0 b.lt LBB0_28 ; %bb.4: mov x0, x20 bl _bs_read1 str x0, [x19, #312] mov x0, x20 bl _bs_read1 str x0, [x19, #304] mov x0, x20 mov w1, #3 bl _bs_read str x0, [x19, #296] mov x0, x20 bl _bs_read1 str x0, [x19, #288] mov x0, x20 bl _bs_read1 str x0, [x19, #280] mov x0, x20 bl _bs_read_ue str x0, [x19, #272] mov x0, x20 bl _bs_read_ue str x0, [x19, #264] mov x0, x20 bl _bs_read_se str x0, [x19, #256] mov x0, x20 bl _bs_read1 str x0, [x19, #248] mov x0, x20 bl _bs_read1 str x0, [x19, #240] mov x0, x20 bl _bs_read1 str x0, [x19, #232] cbz x0, LBB0_6 ; %bb.5: mov x0, x20 bl _bs_read_ue str x0, [x19, #224] LBB0_6: mov x0, x20 bl _bs_remain cmp w0, #1 b.lt LBB0_28 ; %bb.7: mov x0, x20 bl _bs_read_se str x0, [x19, #216] mov x0, x20 bl _bs_read_se str x0, [x19, #208] mov x0, x20 bl _bs_read1 str x0, [x19, #200] mov x0, x20 bl _bs_read1 str x0, [x19, #192] mov x0, x20 bl _bs_read1 str x0, [x19, #184] mov x0, x20 bl _bs_read1 str x0, [x19, #176] mov x0, x20 bl _bs_read1 str x0, [x19, #160] mov x0, x20 bl _bs_read1 str x0, [x19, #168] ldr x8, [x19, #160] cbz x8, LBB0_10 ; %bb.8: mov x0, x20 bl _bs_read_ue str w0, [x19, #16] mov x0, x20 bl _bs_read_ue str w0, [x19, #20] mov x0, x20 bl _bs_read1 str x0, [x19, #152] cbz x0, LBB0_20 LBB0_9: mov x0, x20 bl _bs_read1 str x0, [x19, #144] LBB0_10: mov x0, x20 bl _bs_read1 str x0, [x19, #136] mov x0, x20 bl _bs_read1 str x0, [x19, #128] cbz x0, LBB0_13 ; %bb.11: mov x0, x20 bl _bs_read1 str x0, [x19, #120] mov x0, x20 bl _bs_read1 str x0, [x19, #112] cbnz x0, LBB0_13 ; %bb.12: mov x0, x20 bl _bs_read_se str x0, [x19, #104] mov x0, x20 bl _bs_read_se str x0, [x19, #96] LBB0_13: mov x0, x20 bl _bs_read1 str x0, [x19, #88] cbz x0, LBB0_15 ; %bb.14: mov x0, x20 bl _hevc_parse_scaling_list_rbsp cbz w0, LBB0_29 LBB0_15: mov x0, x20 bl _bs_read1 str x0, [x19, #80] mov x0, x20 bl _bs_read_ue str x0, [x19, #72] mov x0, x20 bl _bs_read1 str x0, [x19, #64] mov x0, x20 bl _bs_remain cmp w0, #1 b.lt LBB0_28 ; %bb.16: mov x0, x20 bl _bs_read1 str x0, [x19, #56] cbz x0, LBB0_19 ; %bb.17: mov x0, x20 bl _bs_read1 str x0, [x19, #48] mov x0, x20 bl _bs_read1 str x0, [x19, #40] mov x0, x20 bl _bs_read1 str x0, [x19, #32] mov x0, x20 bl _bs_remain cmp w0, #5 b.lt LBB0_28 ; %bb.18: mov x0, x20 mov w1, #5 bl _bs_read str x0, [x19, #24] LBB0_19: mov w0, #1 b LBB0_29 LBB0_20: mov x0, x20 bl _bs_remain ldp w9, w8, [x19, #16] add w10, w8, w9 cmp w0, w10 b.le LBB0_28 ; %bb.21: cbz w9, LBB0_25 ; %bb.22: mov w21, #0 LBB0_23: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _bs_read_ue add w21, w21, #1 ldr w8, [x19, #16] cmp w21, w8 b.lo LBB0_23 ; %bb.24: ldr w8, [x19, #20] LBB0_25: cbz w8, LBB0_9 ; %bb.26: mov w21, #0 LBB0_27: ; =>This Inner Loop Header: Depth=1 mov x0, x20 bl _bs_read_ue add w21, w21, #1 ldr w8, [x19, #20] cmp w21, w8 b.lo LBB0_27 b LBB0_9 LBB0_28: mov w0, #0 LBB0_29: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _HEVC_PPS_ID_MAX,8,3 ; @HEVC_PPS_ID_MAX .comm _HEVC_SPS_ID_MAX,8,3 ; @HEVC_SPS_ID_MAX .no_dead_strip _hevc_parse_pic_parameter_set_rbsp .subsections_via_symbols
AnghaBench/vlc/modules/packetizer/extr_hevc_nal.c_hevc_parse_pic_parameter_set_rbsp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _VIDEO_MEMORY(%rip), %rax movb $72, (%rax) movq _VIDEO_MEMORY(%rip), %rax movb $101, 1(%rax) movq _VIDEO_MEMORY(%rip), %rax movb $108, 2(%rax) movq _VIDEO_MEMORY(%rip), %rax movb $108, 3(%rax) movq _VIDEO_MEMORY(%rip), %rax movb $111, 4(%rax) movq _VIDEO_MEMORY(%rip), %rax movb $32, 5(%rax) movq _VIDEO_MEMORY(%rip), %rax movb $87, 6(%rax) movq _VIDEO_MEMORY(%rip), %rax movb $111, 7(%rax) movq _VIDEO_MEMORY(%rip), %rax movb $114, 8(%rax) movb $108, 9(%rax) movb $100, 10(%rax) movb $33, 11(%rax) movb $88, 12(%rax) movl $42, %ecx movl $12, %eax jmp LBB0_1 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl _global(%rip), %ecx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl _global(%rip), %edx movl _global(%rip), %edx cmpl %ecx, %edx je LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, _controller_status(%rip) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq _VIDEO_MEMORY(%rip), %rcx cltq movb $32, (%rcx,%rax) movl _controller_status(%rip), %ecx testb $63, %al setne %dl andb %cl, %dl movzbl %dl, %ecx movl %eax, %edx subl %ecx, %edx negl %ecx cmpl $64, %edx leal -64(%rax,%rcx), %eax cmovll %edx, %eax testl $2, _controller_status(%rip) cmovel %edx, %eax leal 64(%rax), %ecx cmpl $2240, %eax ## imm = 0x8C0 cmovgel %eax, %ecx testl $4, _controller_status(%rip) cmovel %eax, %ecx movl _controller_status(%rip), %eax shrb $3, %al movl %ecx, %edx notl %edx testb $63, %dl setne %dl andb %al, %dl movzbl %dl, %eax addl %ecx, %eax movq _VIDEO_MEMORY(%rip), %rcx movslq %eax, %rdx movb $88, (%rcx,%rdx) jmp LBB0_4 .cfi_endproc ## -- End function .section __DATA,__data .globl _global ## @global .p2align 2 _global: .long 42 ## 0x2a .globl _controller_status ## @controller_status .zerofill __DATA,__common,_controller_status,4,2 .globl _VIDEO_MEMORY ## @VIDEO_MEMORY .p2align 3 _VIDEO_MEMORY: .quad 1343219712 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: adrp x8, _VIDEO_MEMORY@PAGE ldr x9, [x8, _VIDEO_MEMORY@PAGEOFF] mov w10, #72 strb w10, [x9] ldr x9, [x8, _VIDEO_MEMORY@PAGEOFF] mov w10, #101 strb w10, [x9, #1] ldr x9, [x8, _VIDEO_MEMORY@PAGEOFF] mov w10, #108 strb w10, [x9, #2] ldr x9, [x8, _VIDEO_MEMORY@PAGEOFF] strb w10, [x9, #3] ldr x9, [x8, _VIDEO_MEMORY@PAGEOFF] mov w11, #111 strb w11, [x9, #4] ldr x12, [x8, _VIDEO_MEMORY@PAGEOFF] mov w9, #32 strb w9, [x12, #5] ldr x12, [x8, _VIDEO_MEMORY@PAGEOFF] mov w13, #87 strb w13, [x12, #6] ldr x12, [x8, _VIDEO_MEMORY@PAGEOFF] strb w11, [x12, #7] ldr x11, [x8, _VIDEO_MEMORY@PAGEOFF] mov w12, #114 strb w12, [x11, #8] strb w10, [x11, #9] mov w10, #100 strb w10, [x11, #10] mov w12, #33 mov w10, #88 mov w15, #42 strb w12, [x11, #11] strb w10, [x11, #12] mov w14, #12 adrp x11, _global@PAGE adrp x12, _controller_status@PAGE mov w13, #63 b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 ldr w15, [x11, _global@PAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr wzr, [x11, _global@PAGEOFF] ldr w16, [x11, _global@PAGEOFF] cmp w16, w15 b.eq LBB0_2 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr w15, [x12, _controller_status@PAGEOFF] cbz w15, LBB0_1 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 ldr x15, [x8, _VIDEO_MEMORY@PAGEOFF] strb w9, [x15, w14, sxtw] ldr w15, [x12, _controller_status@PAGEOFF] tst w14, #0x3f cset w16, ne and w15, w15, w16 sub w14, w14, w15 ldr w15, [x12, _controller_status@PAGEOFF] cmp w14, #63 cset w16, gt sub w17, w14, #64 tst w16, w15, lsr #1 csel w14, w17, w14, ne ldr w15, [x12, _controller_status@PAGEOFF] cmp w14, #2240 cset w16, lt add w17, w14, #64 tst w16, w15, lsr #2 csel w14, w17, w14, ne ldr w15, [x12, _controller_status@PAGEOFF] bics wzr, w13, w14 cset w16, ne and w15, w16, w15, lsr #3 add w14, w14, w15 ldr x15, [x8, _VIDEO_MEMORY@PAGEOFF] strb w10, [x15, w14, sxtw] b LBB0_1 .cfi_endproc ; -- End function .section __DATA,__data .globl _global ; @global .p2align 2 _global: .long 42 ; 0x2a .globl _controller_status ; @controller_status .zerofill __DATA,__common,_controller_status,4,2 .globl _VIDEO_MEMORY ; @VIDEO_MEMORY .p2align 3 _VIDEO_MEMORY: .quad 1343219712 .subsections_via_symbols
the_stack_data/621635.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function stste_set_par _stste_set_par: ## @stste_set_par .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 12(%rdi), %eax movq _shifter_tt@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl 8(%rdi), %eax movq _shifter_st@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _current_par@GOTPCREL(%rip), %rax movq (%rdi), %rdi cmpq %rdi, (%rax) jne LBB0_2 ## %bb.1: popq %rbp retq LBB0_2: movq _fbhw@GOTPCREL(%rip), %rax movq (%rax), %rax popq %rbp jmpq *(%rax) ## TAILCALL .cfi_endproc ## -- End function .comm _shifter_tt,4,2 ## @shifter_tt .comm _shifter_st,4,2 ## @shifter_st .comm _current_par,8,3 ## @current_par .comm _fbhw,8,3 ## @fbhw .no_dead_strip _stste_set_par .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function stste_set_par _stste_set_par: ; @stste_set_par .cfi_startproc ; %bb.0: Lloh0: adrp x8, _shifter_tt@GOTPAGE Lloh1: ldr x8, [x8, _shifter_tt@GOTPAGEOFF] ldp w10, w9, [x0, #8] Lloh2: str w9, [x8] Lloh3: adrp x8, _shifter_st@GOTPAGE Lloh4: ldr x8, [x8, _shifter_st@GOTPAGEOFF] Lloh5: str w10, [x8] Lloh6: adrp x8, _current_par@GOTPAGE Lloh7: ldr x8, [x8, _current_par@GOTPAGEOFF] Lloh8: ldr x8, [x8] ldr x0, [x0] cmp x8, x0 b.ne LBB0_2 ; %bb.1: ret LBB0_2: Lloh9: adrp x8, _fbhw@GOTPAGE Lloh10: ldr x8, [x8, _fbhw@GOTPAGEOFF] Lloh11: ldr x8, [x8] ldr x1, [x8] br x1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _shifter_tt,4,2 ; @shifter_tt .comm _shifter_st,4,2 ; @shifter_st .comm _current_par,8,3 ; @current_par .comm _fbhw,8,3 ; @fbhw .no_dead_strip _stste_set_par .subsections_via_symbols
AnghaBench/linux/drivers/video/fbdev/extr_atafb.c_stste_set_par.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sqlTraceCallback _sqlTraceCallback: ## @sqlTraceCallback .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx callq _UNUSED_PARAMETER movq %rbx, %rdi callq _clipLength leaq L_.str(%rip), %rdi movl %eax, %esi movq %rbx, %rdx addq $8, %rsp popq %rbx popq %rbp jmp _logMessage ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "[%.*s]" .no_dead_strip _sqlTraceCallback .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sqlTraceCallback _sqlTraceCallback: ; @sqlTraceCallback .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _UNUSED_PARAMETER mov x0, x19 bl _clipLength mov x1, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF mov x2, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _logMessage .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "[%.*s]" .no_dead_strip _sqlTraceCallback .subsections_via_symbols
AnghaBench/sqlcipher/mptest/extr_mptest.c_sqlTraceCallback.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function io_http_check_persistent_connection _io_http_check_persistent_connection: ## @io_http_check_persistent_connection .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 _CONNECTION_NAME@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -4(%rbp) testq %rdi, %rdi je LBB0_4 ## %bb.1: leaq -8(%rbp), %rsi callq _vc_containers_list_find_entry testq %rax, %rax je LBB0_4 ## %bb.2: movl -8(%rbp), %edi leaq L_.str(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB0_3 LBB0_4: movl $1, %eax LBB0_5: addq $16, %rsp popq %rbp retq LBB0_3: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .comm _CONNECTION_NAME,4,2 ## @CONNECTION_NAME .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "close" .no_dead_strip _io_http_check_persistent_connection .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function io_http_check_persistent_connection _io_http_check_persistent_connection: ; @io_http_check_persistent_connection .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _CONNECTION_NAME@GOTPAGE Lloh1: ldr x8, [x8, _CONNECTION_NAME@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [sp, #12] cbz x0, LBB0_3 ; %bb.1: add x1, sp, #8 bl _vc_containers_list_find_entry cbz x0, LBB0_3 ; %bb.2: ldr w0, [sp, #8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _strcasecmp cbz w0, LBB0_4 LBB0_3: mov w0, #1 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _CONNECTION_NAME,4,2 ; @CONNECTION_NAME .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "close" .no_dead_strip _io_http_check_persistent_connection .subsections_via_symbols
AnghaBench/RetroArch/gfx/include/userland/containers/io/extr_io_http.c_io_http_check_persistent_connection.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _shellcode@GOTPCREL(%rip), %rbx movq (%rbx), %rdi callq _strlen leaq L_.str(%rip), %rdi movq %rax, %rsi callq _printf xorl %eax, %eax callq *(%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "shellcode length %ld" .comm _shellcode,8,3 ## @shellcode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _shellcode@GOTPAGE Lloh1: ldr x19, [x19, _shellcode@GOTPAGEOFF] ldr x0, [x19] bl _strlen mov x1, x0 Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF bl _printf ldr x8, [x19] blr x8 mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "shellcode length %ld" .comm _shellcode,8,3 ; @shellcode .subsections_via_symbols
AnghaBench/exploitdb/shellcodes/linux_x86-64/extr_39847.c_main.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert .p2align 4, 0x90 ___VERIFIER_assert: ## @__VERIFIER_assert .cfi_startproc ## %bb.0: testl %edi, %edi je LBB0_2 ## %bb.1: retq LBB0_2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax callq ___VERIFIER_error .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -32(%rbp) callq ___VERIFIER_nondet_int movq _N@GOTPCREL(%rip), %r15 movl %eax, (%r15) testl %eax, %eax jle LBB1_28 ## %bb.1: movq %rsp, %r14 movl %eax, %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx movl (%r15), %r15d testl %r15d, %r15d jle LBB1_27 ## %bb.2: leaq (,%r15,8), %rdx leaq L_.memset_pattern(%rip), %rsi movq %rbx, %rdi callq _memset_pattern16 cmpl $4, %r15d jae LBB1_5 ## %bb.3: xorl %eax, %eax xorl %ecx, %ecx jmp LBB1_4 LBB1_5: movl %r15d, %eax andl $-4, %eax leaq -4(%rax), %rdx movq %rdx, %rsi shrq $2, %rsi incq %rsi movl %esi, %ecx andl $3, %ecx cmpq $12, %rdx jae LBB1_7 ## %bb.6: pxor %xmm0, %xmm0 xorl %edx, %edx pxor %xmm1, %xmm1 jmp LBB1_9 LBB1_7: andq $-4, %rsi pxor %xmm0, %xmm0 xorl %edx, %edx pxor %xmm1, %xmm1 .p2align 4, 0x90 LBB1_8: ## =>This Inner Loop Header: Depth=1 paddq (%rbx,%rdx,8), %xmm0 paddq 16(%rbx,%rdx,8), %xmm1 paddq 32(%rbx,%rdx,8), %xmm0 paddq 48(%rbx,%rdx,8), %xmm1 paddq 64(%rbx,%rdx,8), %xmm0 paddq 80(%rbx,%rdx,8), %xmm1 paddq 96(%rbx,%rdx,8), %xmm0 paddq 112(%rbx,%rdx,8), %xmm1 addq $16, %rdx addq $-4, %rsi jne LBB1_8 LBB1_9: testq %rcx, %rcx je LBB1_12 ## %bb.10: leaq (%rbx,%rdx,8), %rdx addq $16, %rdx shlq $5, %rcx xorl %esi, %esi .p2align 4, 0x90 LBB1_11: ## =>This Inner Loop Header: Depth=1 paddq -16(%rdx,%rsi), %xmm0 paddq (%rdx,%rsi), %xmm1 addq $32, %rsi cmpq %rsi, %rcx jne LBB1_11 LBB1_12: paddq %xmm1, %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddq %xmm0, %xmm1 movq %xmm1, %rcx cmpq %r15, %rax je LBB1_13 .p2align 4, 0x90 LBB1_4: ## =>This Inner Loop Header: Depth=1 addq (%rbx,%rax,8), %rcx incq %rax cmpq %rax, %r15 jne LBB1_4 LBB1_13: cmpl $4, %r15d jae LBB1_16 ## %bb.14: xorl %eax, %eax jmp LBB1_15 LBB1_16: movl %r15d, %eax andl $-4, %eax movq %rcx, %xmm0 pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1] leaq -4(%rax), %rsi movq %rsi, %rdx shrq $2, %rdx incq %rdx testq %rsi, %rsi je LBB1_17 ## %bb.18: movabsq $9223372036854775804, %rdi ## imm = 0x7FFFFFFFFFFFFFFC orq $2, %rdi andq %rdx, %rdi xorl %esi, %esi .p2align 4, 0x90 LBB1_19: ## =>This Inner Loop Header: Depth=1 movdqa (%rbx,%rsi,8), %xmm1 paddq %xmm0, %xmm1 movdqa 16(%rbx,%rsi,8), %xmm2 paddq %xmm0, %xmm2 movdqa %xmm1, (%rbx,%rsi,8) movdqa %xmm2, 16(%rbx,%rsi,8) movdqa 32(%rbx,%rsi,8), %xmm1 paddq %xmm0, %xmm1 movdqa 48(%rbx,%rsi,8), %xmm2 paddq %xmm0, %xmm2 movdqa %xmm1, 32(%rbx,%rsi,8) movdqa %xmm2, 48(%rbx,%rsi,8) addq $8, %rsi addq $-2, %rdi jne LBB1_19 ## %bb.20: testb $1, %dl je LBB1_22 LBB1_21: movdqa (%rbx,%rsi,8), %xmm1 paddq %xmm0, %xmm1 paddq 16(%rbx,%rsi,8), %xmm0 movdqa %xmm1, (%rbx,%rsi,8) movdqa %xmm0, 16(%rbx,%rsi,8) LBB1_22: cmpq %r15, %rax je LBB1_23 .p2align 4, 0x90 LBB1_15: ## =>This Inner Loop Header: Depth=1 addq %rcx, (%rbx,%rax,8) incq %rax cmpq %rax, %r15 jne LBB1_15 LBB1_23: leaq 1(%r15), %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB1_25: ## =>This Inner Loop Header: Depth=1 cmpq %rax, (%rbx,%rcx,8) jne LBB1_26 ## %bb.24: ## in Loop: Header=BB1_25 Depth=1 incq %rcx cmpq %rcx, %r15 jne LBB1_25 LBB1_27: movq %r14, %rsp LBB1_28: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -32(%rbp), %rax jne LBB1_30 ## %bb.29: movl $1, %eax leaq -24(%rbp), %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB1_17: xorl %esi, %esi testb $1, %dl jne LBB1_21 jmp LBB1_22 LBB1_26: xorl %eax, %eax callq ___VERIFIER_error LBB1_30: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _N,4,2 ## @N .section __TEXT,__literal16,16byte_literals .p2align 4 ## @.memset_pattern L_.memset_pattern: .quad 1 ## 0x1 .quad 1 ## 0x1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert .p2align 2 ___VERIFIER_assert: ; @__VERIFIER_assert .cfi_startproc ; %bb.0: cbz w0, LBB0_2 ; %bb.1: ret LBB0_2: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl ___VERIFIER_error .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 sub sp, sp, #16 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] bl ___VERIFIER_nondet_int Lloh3: adrp x12, _N@GOTPAGE Lloh4: ldr x12, [x12, _N@GOTPAGEOFF] str w0, [x12] cmp w0, #1 b.lt LBB1_20 ; %bb.1: mov x20, sp mov w8, w0 lsl x8, x8, #3 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x19, x9, x8 mov sp, x19 ldr w21, [x12] cmp w21, #1 b.lt LBB1_19 ; %bb.2: lsl x2, x21, #3 Lloh7: adrp x1, l_.memset_pattern@PAGE Lloh8: add x1, x1, l_.memset_pattern@PAGEOFF mov x0, x19 bl _memset_pattern16 cmp w21, #8 b.hs LBB1_4 ; %bb.3: mov x9, #0 mov x8, #0 b LBB1_7 LBB1_4: and x9, x21, #0xfffffff8 add x8, x19, #32 movi.2d v0, #0000000000000000 mov x10, x9 movi.2d v1, #0000000000000000 movi.2d v2, #0000000000000000 movi.2d v3, #0000000000000000 LBB1_5: ; =>This Inner Loop Header: Depth=1 ldp q4, q5, [x8, #-32] ldp q6, q7, [x8], #64 add.2d v0, v4, v0 add.2d v1, v5, v1 add.2d v2, v6, v2 add.2d v3, v7, v3 subs x10, x10, #8 b.ne LBB1_5 ; %bb.6: add.2d v0, v1, v0 add.2d v0, v2, v0 add.2d v0, v3, v0 addp.2d d0, v0 fmov x8, d0 cmp x9, x21 b.eq LBB1_9 LBB1_7: add x10, x19, x9, lsl #3 sub x9, x21, x9 LBB1_8: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10], #8 add x8, x11, x8 subs x9, x9, #1 b.ne LBB1_8 LBB1_9: cmp w21, #8 b.hs LBB1_11 ; %bb.10: mov x9, #0 b LBB1_14 LBB1_11: and x9, x21, #0xfffffff8 dup.2d v0, x8 add x10, x19, #32 mov x11, x9 LBB1_12: ; =>This Inner Loop Header: Depth=1 ldp q1, q2, [x10, #-32] ldp q3, q4, [x10] add.2d v1, v1, v0 add.2d v2, v2, v0 add.2d v3, v3, v0 add.2d v4, v4, v0 stp q1, q2, [x10, #-32] stp q3, q4, [x10], #64 subs x11, x11, #8 b.ne LBB1_12 ; %bb.13: cmp x9, x21 b.eq LBB1_16 LBB1_14: add x10, x19, x9, lsl #3 sub x9, x21, x9 LBB1_15: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10] add x11, x11, x8 str x11, [x10], #8 subs x9, x9, #1 b.ne LBB1_15 LBB1_16: add x8, x21, #1 LBB1_17: ; =>This Inner Loop Header: Depth=1 ldr x9, [x19] cmp x9, x8 b.ne LBB1_22 ; %bb.18: ; in Loop: Header=BB1_17 Depth=1 add x19, x19, #8 subs x21, x21, #1 b.ne LBB1_17 LBB1_19: mov sp, x20 LBB1_20: ldur x8, [x29, #-40] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB1_23 ; %bb.21: mov w0, #1 sub sp, x29, #32 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB1_22: bl ___VERIFIER_error LBB1_23: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _N,4,2 ; @N .section __TEXT,__literal16,16byte_literals .p2align 4 ; @.memset_pattern l_.memset_pattern: .quad 1 ; 0x1 .quad 1 ; 0x1 .subsections_via_symbols
the_stack_data/1228201.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTDv06_getErrorName ## -- Begin function ZSTDv06_getErrorName .p2align 4, 0x90 _ZSTDv06_getErrorName: ## @ZSTDv06_getErrorName .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 jmp _ERR_getErrorName ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ZSTDv06_getErrorName ; -- Begin function ZSTDv06_getErrorName .p2align 2 _ZSTDv06_getErrorName: ; @ZSTDv06_getErrorName .cfi_startproc ; %bb.0: b _ERR_getErrorName .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/zstd/lib/legacy/extr_zstd_v06.c_ZSTDv06_getErrorName.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function free _free: ## @free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _skcipher_instance_ctx movl %eax, %edi callq _crypto_drop_skcipher movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _free .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function free _free: ; @free .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _skcipher_instance_ctx bl _crypto_drop_skcipher mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kfree .cfi_endproc ; -- End function .no_dead_strip _free .subsections_via_symbols
AnghaBench/linux/crypto/extr_xts.c_free.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ## -- Begin function f .p2align 4, 0x90 _f: ## @f .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax subl %esi, %eax cmpl $3, %edi cmovbl %esi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _g ## -- Begin function g .p2align 4, 0x90 _g: ## @g .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $102, %edi movl $208, %eax movl $8, %ecx cmovel %eax, %ecx cmpl $101, %edi movl $102, %eax cmovnel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _h ## -- Begin function h .p2align 4, 0x90 _h: ## @h .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax cmpl $102, %edi sete %al addl $3, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _j ## -- Begin function j .p2align 4, 0x90 _j: ## @j .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %ecx, %ecx cmpl $2, %edi sete %cl xorl $5, %ecx cmpl $1, %edi movl $3, %eax cmovnel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _k ## -- Begin function k .p2align 4, 0x90 _k: ## @k .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edi, %rax movl (%rsi,%rax,4), %eax xorl %ecx, %ecx cmpl $1, %eax sete %cl xorl $5, %ecx testl %eax, %eax movl $3, %eax cmovnel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ; -- Begin function f .p2align 2 _f: ; @f .cfi_startproc ; %bb.0: sub w8, w0, w1 cmp w0, #3 csel w0, w1, w8, lo ret .cfi_endproc ; -- End function .globl _g ; -- Begin function g .p2align 2 _g: ; @g .cfi_startproc ; %bb.0: mov w8, #8 mov w9, #208 cmp w0, #102 csel w8, w9, w8, eq mov w9, #102 cmp w0, #101 csel w0, w9, w8, eq ret .cfi_endproc ; -- End function .globl _h ; -- Begin function h .p2align 2 _h: ; @h .cfi_startproc ; %bb.0: cmp w0, #102 mov w8, #3 cinc w0, w8, eq ret .cfi_endproc ; -- End function .globl _j ; -- Begin function j .p2align 2 _j: ; @j .cfi_startproc ; %bb.0: cmp w0, #2 mov w8, #4 cinc w8, w8, ne mov w9, #3 cmp w0, #1 csel w0, w9, w8, eq ret .cfi_endproc ; -- End function .globl _k ; -- Begin function k .p2align 2 _k: ; @k .cfi_startproc ; %bb.0: ldr w8, [x1, w0, sxtw #2] cmp w8, #1 mov w9, #4 cinc w9, w9, ne mov w10, #3 cmp w8, #0 csel w0, w10, w9, eq ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/181392389.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function apds9300_set_intr_state _apds9300_set_intr_state: ## @apds9300_set_intr_state .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $0, 16(%rdi) je LBB0_1 ## %bb.2: movl %esi, %r14d movq %rdi, %r15 movq _APDS9300_INTR_ENABLE@GOTPCREL(%rip), %rax movq _APDS9300_THRESH_INTR@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx testl %esi, %esi cmovel %esi, %edx movq 8(%rdi), %rdi movq _APDS9300_INTERRUPT@GOTPCREL(%rip), %rax movq _APDS9300_CMD@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl (%rax), %esi callq _i2c_smbus_write_byte_data testl %eax, %eax je LBB0_4 ## %bb.3: movl %eax, %ebx movq 8(%r15), %rdi leaq L_.str(%rip), %rsi movl %r14d, %edx callq _dev_err jmp LBB0_5 LBB0_1: movq _EBUSY@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx jmp LBB0_5 LBB0_4: movl %r14d, (%r15) xorl %ebx, %ebx LBB0_5: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EBUSY,4,2 ## @EBUSY .comm _APDS9300_INTR_ENABLE,4,2 ## @APDS9300_INTR_ENABLE .comm _APDS9300_THRESH_INTR,4,2 ## @APDS9300_THRESH_INTR .comm _APDS9300_INTERRUPT,4,2 ## @APDS9300_INTERRUPT .comm _APDS9300_CMD,4,2 ## @APDS9300_CMD .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "failed to set interrupt state %d\n" .no_dead_strip _apds9300_set_intr_state .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function apds9300_set_intr_state _apds9300_set_intr_state: ; @apds9300_set_intr_state .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr w8, [x0, #16] cbz w8, LBB0_3 ; %bb.1: mov x19, x1 mov x20, x0 Lloh0: adrp x8, _APDS9300_INTR_ENABLE@GOTPAGE Lloh1: ldr x8, [x8, _APDS9300_INTR_ENABLE@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _APDS9300_THRESH_INTR@GOTPAGE Lloh4: ldr x9, [x9, _APDS9300_THRESH_INTR@GOTPAGEOFF] Lloh5: ldr w9, [x9] orr w8, w9, w8 cmp w1, #0 csel w2, wzr, w8, eq Lloh6: adrp x8, _APDS9300_INTERRUPT@GOTPAGE Lloh7: ldr x8, [x8, _APDS9300_INTERRUPT@GOTPAGEOFF] ldr x0, [x0, #8] Lloh8: ldr w8, [x8] Lloh9: adrp x9, _APDS9300_CMD@GOTPAGE Lloh10: ldr x9, [x9, _APDS9300_CMD@GOTPAGEOFF] Lloh11: ldr w9, [x9] orr w1, w9, w8 bl _i2c_smbus_write_byte_data mov x21, x0 cbz w0, LBB0_4 ; %bb.2: ldr x0, [x20, #8] Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF mov x2, x19 bl _dev_err b LBB0_5 LBB0_3: Lloh14: adrp x8, _EBUSY@GOTPAGE Lloh15: ldr x8, [x8, _EBUSY@GOTPAGEOFF] Lloh16: ldr w8, [x8] neg w21, w8 b LBB0_5 LBB0_4: str w19, [x20] LBB0_5: mov x0, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _EBUSY,4,2 ; @EBUSY .comm _APDS9300_INTR_ENABLE,4,2 ; @APDS9300_INTR_ENABLE .comm _APDS9300_THRESH_INTR,4,2 ; @APDS9300_THRESH_INTR .comm _APDS9300_INTERRUPT,4,2 ; @APDS9300_INTERRUPT .comm _APDS9300_CMD,4,2 ; @APDS9300_CMD .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "failed to set interrupt state %d\n" .no_dead_strip _apds9300_set_intr_state .subsections_via_symbols
AnghaBench/linux/drivers/iio/light/extr_apds9300.c_apds9300_set_intr_state.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radio_tea5777_exit ## -- Begin function radio_tea5777_exit .p2align 4, 0x90 _radio_tea5777_exit: ## @radio_tea5777_exit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _video_unregister_device movl (%rbx), %edi addq $8, %rsp popq %rbx popq %rbp jmp _v4l2_ctrl_handler_free ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _radio_tea5777_exit ; -- Begin function radio_tea5777_exit .p2align 2 _radio_tea5777_exit: ; @radio_tea5777_exit .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _video_unregister_device ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _v4l2_ctrl_handler_free .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/media/radio/extr_radio-tea5777.c_radio_tea5777_exit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _limc ## -- Begin function limc .p2align 4, 0x90 _limc: ## @limc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq -32768(%rdi), %rax leaq -12288(%rdi), %rcx cmpq $20480, %rcx ## imm = 0x5000 movl $12288, %ecx ## imm = 0x3000 cmovaeq %rdi, %rcx cmpq $20481, %rax ## imm = 0x5001 movl $53248, %eax ## imm = 0xD000 cmovaeq %rcx, %rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _limc ; -- Begin function limc .p2align 2 _limc: ; @limc .cfi_startproc ; %bb.0: sub x8, x0, #8, lsl #12 ; =32768 sub x9, x0, #3, lsl #12 ; =12288 mov w10, #12288 cmp x9, #5, lsl #12 ; =20480 csel x9, x10, x0, lo mov w10, #53248 cmp x8, #5, lsl #12 ; =20480 csel x0, x10, x9, ls ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/15763759.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _val_get_funcblock ## -- Begin function val_get_funcblock .p2align 4, 0x90 _val_get_funcblock: ## @val_get_funcblock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _val_block@GOTPCREL(%rip), %rax popq %rbp retq .cfi_endproc ## -- End function .comm _val_block,4,2 ## @val_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _val_get_funcblock ; -- Begin function val_get_funcblock .p2align 2 _val_get_funcblock: ; @val_get_funcblock .cfi_startproc ; %bb.0: Lloh0: adrp x0, _val_block@GOTPAGE Lloh1: ldr x0, [x0, _val_block@GOTPAGEOFF] ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _val_block,4,2 ; @val_block .subsections_via_symbols
AnghaBench/freebsd/contrib/unbound/validator/extr_validator.c_val_get_funcblock.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function crypt_iv_plain64_gen _crypt_iv_plain64_gen: ## @crypt_iv_plain64_gen .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edx, %r14d movq %rsi, %rbx movl (%rdi), %edx movq %rsi, %rdi xorl %esi, %esi callq _memset movl %r14d, %edi callq _cpu_to_le64 movl %eax, (%rbx) xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _crypt_iv_plain64_gen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function crypt_iv_plain64_gen _crypt_iv_plain64_gen: ; @crypt_iv_plain64_gen .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x1 ldr w2, [x0] mov x0, x1 mov w1, #0 bl _memset mov x0, x19 bl _cpu_to_le64 str w0, [x20] mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _crypt_iv_plain64_gen .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/md/extr_dm-crypt.c_crypt_iv_plain64_gen.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ## -- Begin function f .p2align 4, 0x90 _f: ## @f .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq 40(%rdi), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _f2 ## -- Begin function f2 .p2align 4, 0x90 _f2: ## @f2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _b1@GOTPCREL(%rip), %rax movslq 256(%rax), %rax movq _b2@GOTPCREL(%rip), %rcx movslq 160(%rcx), %rcx movq _s1@GOTPCREL(%rip), %rdx movslq 40(%rdx), %rdx shlq $2, %rax addq _a@GOTPCREL(%rip), %rax leaq (%rax,%rcx,4), %rax movq _ca@GOTPCREL(%rip), %rcx movslq 20(%rcx), %rcx leaq (%rax,%rcx,4), %rax movq _d@GOTPCREL(%rip), %rcx movslq 128(%rcx), %rcx leaq (%rax,%rcx,4), %rax leaq (%rax,%rdx,4), %rax movq _s2@GOTPCREL(%rip), %rcx movslq 12(%rcx), %rcx leaq (%rax,%rcx,4), %rax movq _a2@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx leaq (%rax,%rcx,4), %rax addq $64, %rax popq %rbp retq .cfi_endproc ## -- End function .globl _g ## -- Begin function g .p2align 4, 0x90 _g: ## @g .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq %edi, %rax shlq $2, %rax addq _x@GOTPCREL(%rip), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _h ## -- Begin function h .p2align 4, 0x90 _h: ## @h .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _c@GOTPCREL(%rip), %rax movsbl (%rax), %eax movq _x@GOTPCREL(%rip), %rcx addl 40(%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _b1,400,4 ## @b1 .comm _b2,400,4 ## @b2 .comm _s1,44,2 ## @s1 .comm _a,40,4 ## @a .comm _ca,40,4 ## @ca .comm _d,400,4 ## @d .comm _s2,44,2 ## @s2 .comm _a2,40,4 ## @a2 .comm _x,4,2 ## @x .comm _c,1,0 ## @c .comm _y,4,2 ## @y .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f ; -- Begin function f .p2align 2 _f: ; @f .cfi_startproc ; %bb.0: add x0, x0, #40 ret .cfi_endproc ; -- End function .globl _f2 ; -- Begin function f2 .p2align 2 _f2: ; @f2 .cfi_startproc ; %bb.0: Lloh0: adrp x8, _b1@GOTPAGE Lloh1: ldr x8, [x8, _b1@GOTPAGEOFF] Lloh2: ldrsw x8, [x8, #256] Lloh3: adrp x9, _b2@GOTPAGE Lloh4: ldr x9, [x9, _b2@GOTPAGEOFF] Lloh5: ldrsw x9, [x9, #160] Lloh6: adrp x10, _s1@GOTPAGE Lloh7: ldr x10, [x10, _s1@GOTPAGEOFF] Lloh8: ldrsw x10, [x10, #40] Lloh9: adrp x11, _a@GOTPAGE Lloh10: ldr x11, [x11, _a@GOTPAGEOFF] add x8, x11, x8, lsl #2 Lloh11: adrp x11, _ca@GOTPAGE Lloh12: ldr x11, [x11, _ca@GOTPAGEOFF] add x8, x8, x9, lsl #2 Lloh13: ldrsw x9, [x11, #20] add x8, x8, x9, lsl #2 Lloh14: adrp x9, _d@GOTPAGE Lloh15: ldr x9, [x9, _d@GOTPAGEOFF] Lloh16: ldrsw x9, [x9, #128] add x8, x8, x9, lsl #2 add x8, x8, x10, lsl #2 Lloh17: adrp x9, _s2@GOTPAGE Lloh18: ldr x9, [x9, _s2@GOTPAGEOFF] Lloh19: ldrsw x9, [x9, #12] add x8, x8, x9, lsl #2 Lloh20: adrp x9, _a2@GOTPAGE Lloh21: ldr x9, [x9, _a2@GOTPAGEOFF] Lloh22: ldrsw x9, [x9] add x8, x8, x9, lsl #2 add x0, x8, #64 ret .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .globl _g ; -- Begin function g .p2align 2 _g: ; @g .cfi_startproc ; %bb.0: Lloh23: adrp x8, _x@GOTPAGE Lloh24: ldr x8, [x8, _x@GOTPAGEOFF] add x0, x8, w0, sxtw #2 ret .loh AdrpLdrGot Lloh23, Lloh24 .cfi_endproc ; -- End function .globl _h ; -- Begin function h .p2align 2 _h: ; @h .cfi_startproc ; %bb.0: Lloh25: adrp x8, _c@GOTPAGE Lloh26: ldr x8, [x8, _c@GOTPAGEOFF] Lloh27: ldrsb w8, [x8] Lloh28: adrp x9, _x@GOTPAGE Lloh29: ldr x9, [x9, _x@GOTPAGEOFF] Lloh30: ldr w9, [x9, #40] add w0, w9, w8 ret .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .cfi_endproc ; -- End function .comm _b1,400,2 ; @b1 .comm _b2,400,2 ; @b2 .comm _s1,44,2 ; @s1 .comm _a,40,2 ; @a .comm _ca,40,2 ; @ca .comm _d,400,2 ; @d .comm _s2,44,2 ; @s2 .comm _a2,40,2 ; @a2 .comm _x,4,2 ; @x .comm _c,1,0 ; @c .comm _y,4,2 ; @y .subsections_via_symbols
the_stack_data/247018595.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _d2i_DHparams ## -- Begin function d2i_DHparams .p2align 4, 0x90 _d2i_DHparams: ## @d2i_DHparams .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _i2d_DHparams ## -- Begin function i2d_DHparams .p2align 4, 0x90 _i2d_DHparams: ## @i2d_DHparams .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _X509_free ## -- Begin function X509_free .p2align 4, 0x90 _X509_free: ## @X509_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .globl _SSLv3_server_method ## -- Begin function SSLv3_server_method .p2align 4, 0x90 _SSLv3_server_method: ## @SSLv3_server_method .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpb $0, _init(%rip) jne LBB3_2 ## %bb.1: callq _sslv3_base_method leaq _SSLv3_server_data(%rip), %rdi movq %rax, %rsi movl $200, %edx callq _memcpy leaq _ssl3_accept(%rip), %rax movq %rax, _SSLv3_server_data+32(%rip) leaq _ssl3_get_server_method(%rip), %rax movq %rax, _SSLv3_server_data+152(%rip) movb $1, _init(%rip) LBB3_2: leaq _SSLv3_server_data(%rip), %rax popq %rbp retq .cfi_endproc ## -- End function .globl _ssl3_accept ## -- Begin function ssl3_accept .p2align 4, 0x90 _ssl3_accept: ## @ssl3_accept .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _myState@GOTPCREL(%rip), %r15 movl $8464, (%r15) ## imm = 0x2110 xorl %eax, %eax callq _unknown incl 44(%r14) cmpq $0, 208(%r14) je LBB4_67 ## %bb.1: movl $0, -44(%rbp) ## 4-byte Folded Spill xorl %r13d, %r13d .p2align 4, 0x90 LBB4_2: ## =>This Inner Loop Header: Depth=1 movl (%r15), %eax movl $-1, %ebx cmpl $8447, %eax ## imm = 0x20FF jle LBB4_71 ## %bb.3: ## in Loop: Header=BB4_2 Depth=1 cmpl $12291, %eax ## imm = 0x3003 jg LBB4_74 ## %bb.4: ## in Loop: Header=BB4_2 Depth=1 addl $-8448, %eax ## imm = 0xDF00 cmpl $225, %eax ja LBB4_69 ## %bb.5: ## in Loop: Header=BB4_2 Depth=1 leaq LJTI4_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB4_6: ## in Loop: Header=BB4_2 Depth=1 movl $0, 68(%r14) xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.7: ## in Loop: Header=BB4_2 Depth=1 testl %r13d, %r13d movl $1, %eax movl $1, -44(%rbp) ## 4-byte Folded Spill cmovel %eax, %r13d movl $8496, (%r15) ## imm = 0x2130 jmp LBB4_55 LBB4_8: ## in Loop: Header=BB4_2 Depth=1 movl $0, 68(%r14) xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.9: ## in Loop: Header=BB4_2 Depth=1 movq _myStateNext@GOTPCREL(%rip), %rax movl $8482, (%rax) ## imm = 0x2122 jmp LBB4_23 LBB4_10: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.11: ## in Loop: Header=BB4_2 Depth=1 cmpl $1, %r13d movl $2, %eax cmovel %eax, %r13d cmpl $0, 132(%r14) movl $8656, %eax ## imm = 0x21D0 movl $8512, %ecx ## imm = 0x2140 cmovel %ecx, %eax movl %eax, (%r15) jmp LBB4_55 LBB4_12: ## in Loop: Header=BB4_2 Depth=1 movq 120(%r14), %rax movq 920(%rax), %rax movl $1, %r12d testb $1, 25(%rax) jne LBB4_14 ## %bb.13: ## in Loop: Header=BB4_2 Depth=1 xorl %r12d, %r12d xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 LBB4_14: ## in Loop: Header=BB4_2 Depth=1 movl $8528, (%r15) ## imm = 0x2150 movl $0, 88(%r14) jmp LBB4_57 LBB4_15: ## in Loop: Header=BB4_2 Depth=1 movq 120(%r14), %rcx testb $32, 354(%r14) jne LBB4_40 ## %bb.16: ## in Loop: Header=BB4_2 Depth=1 movq 920(%rcx), %rax movq 24(%rax), %rax movl $0, 968(%rcx) testb $30, %al jne LBB4_41 ## %bb.17: ## in Loop: Header=BB4_2 Depth=1 movl $1, %r12d testb $1, %al je LBB4_42 ## %bb.18: ## in Loop: Header=BB4_2 Depth=1 movq 208(%r14), %rax cmpq $0, 72(%rax) jne LBB4_42 jmp LBB4_41 LBB4_19: ## in Loop: Header=BB4_2 Depth=1 movl 264(%r14), %ecx testb $1, %cl jne LBB4_43 ## %bb.20: ## in Loop: Header=BB4_2 Depth=1 movq 120(%r14), %rax jmp LBB4_47 LBB4_21: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.22: ## in Loop: Header=BB4_2 Depth=1 movq _myStateNext@GOTPCREL(%rip), %rax movl $8576, (%rax) ## imm = 0x2180 LBB4_23: ## in Loop: Header=BB4_2 Depth=1 movl $8448, (%r15) ## imm = 0x2100 jmp LBB4_55 LBB4_24: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown movl %eax, %ebx testl %eax, %eax jle LBB4_69 ## %bb.25: ## in Loop: Header=BB4_2 Depth=1 cmpl $2, %ebx jne LBB4_48 ## %bb.26: ## in Loop: Header=BB4_2 Depth=1 movl $8466, (%r15) ## imm = 0x2112 jmp LBB4_56 LBB4_27: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.28: ## in Loop: Header=BB4_2 Depth=1 movl $8608, (%r15) ## imm = 0x21A0 jmp LBB4_55 LBB4_29: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.30: ## in Loop: Header=BB4_2 Depth=1 movl $8640, (%r15) ## imm = 0x21C0 jmp LBB4_55 LBB4_31: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown movl %eax, %ebx leal -4(%r13), %ecx cmpl $9, %ecx ja LBB4_60 ## %bb.32: ## in Loop: Header=BB4_2 Depth=1 movl $5, %eax leaq LJTI4_1(%rip), %rdx movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx LBB4_33: ## in Loop: Header=BB4_2 Depth=1 movl $8, %eax jmp LBB4_62 LBB4_34: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown movl %eax, %ebx cmpl $3, %r13d je LBB4_50 ## %bb.35: ## in Loop: Header=BB4_2 Depth=1 cmpl $9, %r13d je LBB4_51 ## %bb.36: ## in Loop: Header=BB4_2 Depth=1 cmpl $6, %r13d jne LBB4_52 ## %bb.37: ## in Loop: Header=BB4_2 Depth=1 movl $7, %r13d jmp LBB4_53 LBB4_38: ## in Loop: Header=BB4_2 Depth=1 movq _myStateNext@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) jmp LBB4_56 LBB4_39: ## in Loop: Header=BB4_2 Depth=1 movl $3, (%r15) jmp LBB4_56 LBB4_40: ## in Loop: Header=BB4_2 Depth=1 movl $1, 968(%rcx) LBB4_41: ## in Loop: Header=BB4_2 Depth=1 xorl %r12d, %r12d xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 LBB4_42: ## in Loop: Header=BB4_2 Depth=1 movl $8544, (%r15) ## imm = 0x2160 movl $0, 88(%r14) jmp LBB4_57 LBB4_43: ## in Loop: Header=BB4_2 Depth=1 movq 120(%r14), %rax movq 256(%r14), %rdx cmpq $0, 152(%rdx) je LBB4_45 ## %bb.44: ## in Loop: Header=BB4_2 Depth=1 movl %ecx, %edx andl $4, %edx jne LBB4_47 LBB4_45: ## in Loop: Header=BB4_2 Depth=1 movq 920(%rax), %rdx testb $1, 25(%rdx) je LBB4_64 ## %bb.46: ## in Loop: Header=BB4_2 Depth=1 andl $2, %ecx jne LBB4_64 LBB4_47: ## in Loop: Header=BB4_2 Depth=1 movl $0, 1008(%rax) movl $8560, (%r15) ## imm = 0x2170 movl $1, %r12d jmp LBB4_57 LBB4_48: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.49: ## in Loop: Header=BB4_2 Depth=1 movl $0, 88(%r14) movl $8592, (%r15) ## imm = 0x2190 jmp LBB4_56 LBB4_50: ## in Loop: Header=BB4_2 Depth=1 movl $4, %r13d jmp LBB4_53 LBB4_51: ## in Loop: Header=BB4_2 Depth=1 movl $10, %r13d jmp LBB4_53 LBB4_52: ## in Loop: Header=BB4_2 Depth=1 cmpl $12, %r13d movl $13, %eax cmovel %eax, %r13d LBB4_53: ## in Loop: Header=BB4_2 Depth=1 testl %ebx, %ebx jle LBB4_69 ## %bb.54: ## in Loop: Header=BB4_2 Depth=1 movl $8448, (%r15) ## imm = 0x2100 cmpl $0, 132(%r14) movl $8640, %eax ## imm = 0x21C0 movl $3, %ecx cmovel %ecx, %eax movq _myStateNext@GOTPCREL(%rip), %rcx movl %eax, (%rcx) .p2align 4, 0x90 LBB4_55: ## in Loop: Header=BB4_2 Depth=1 movl $0, 88(%r14) LBB4_56: ## in Loop: Header=BB4_2 Depth=1 xorl %r12d, %r12d LBB4_57: ## in Loop: Header=BB4_2 Depth=1 movq 120(%r14), %rax orl 940(%rax), %r12d jne LBB4_2 ## %bb.58: ## in Loop: Header=BB4_2 Depth=1 cmpl $0, 304(%r14) je LBB4_2 ## %bb.59: ## in Loop: Header=BB4_2 Depth=1 xorl %eax, %eax callq _unknown testl %eax, %eax jg LBB4_2 jmp LBB4_68 LBB4_60: ## in Loop: Header=BB4_2 Depth=1 movl %r13d, %eax jmp LBB4_62 LBB4_61: ## in Loop: Header=BB4_2 Depth=1 movl $11, %eax LBB4_62: ## in Loop: Header=BB4_2 Depth=1 testl %ebx, %ebx jle LBB4_69 ## %bb.63: ## in Loop: Header=BB4_2 Depth=1 cmpl $0, 132(%r14) movl $3, %ecx movl $8656, %edx ## imm = 0x21D0 cmovel %edx, %ecx movl %ecx, (%r15) movl $0, 88(%r14) xorl %r12d, %r12d movl %eax, %r13d jmp LBB4_57 LBB4_64: ## in Loop: Header=BB4_2 Depth=1 movl $1, 1008(%rax) xorl %eax, %eax callq _unknown testl %eax, %eax jle LBB4_68 ## %bb.65: ## in Loop: Header=BB4_2 Depth=1 movl $8448, (%r15) ## imm = 0x2100 movq _myStateNext@GOTPCREL(%rip), %rax movl $8576, (%rax) ## imm = 0x2180 jmp LBB4_55 .p2align 4, 0x90 LBB4_66: ## =>This Inner Loop Header: Depth=1 jmp LBB4_66 LBB4_67: movl $-1, %ebx jmp LBB4_70 LBB4_68: movl %eax, %ebx LBB4_69: decl 44(%r14) LBB4_70: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_71: cmpl $3, %eax je LBB4_82 ## %bb.72: cmpl $8192, %eax ## imm = 0x2000 je LBB4_78 ## %bb.73: cmpl $8195, %eax ## imm = 0x2003 je LBB4_78 jmp LBB4_69 LBB4_74: cmpl $24576, %eax ## imm = 0x6000 je LBB4_78 ## %bb.75: cmpl $16384, %eax ## imm = 0x4000 je LBB4_78 ## %bb.76: cmpl $12292, %eax ## imm = 0x3004 jne LBB4_69 ## %bb.77: movl $1, 60(%r14) LBB4_78: movl $1, 56(%r14) movl $-256, %eax andl (%r14), %eax movl $-1, %ebx cmpl $768, %eax ## imm = 0x300 jne LBB4_70 ## %bb.79: movl $8192, 4(%r14) ## imm = 0x2000 movl $-1, %ebx cmpq $0, 80(%r14) jne LBB4_69 ## %bb.80: xorl %eax, %eax callq _unknown jmp LBB4_69 LBB4_81: movq 120(%r14), %rax movq 256(%r14), %rcx movq 920(%rax), %rax movq %rax, 200(%rcx) jmp LBB4_69 LBB4_82: movq $0, 80(%r14) movl $0, 88(%r14) movl $1, %ebx cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB4_69 ## %bb.83: movl $0, 60(%r14) movq 296(%r14), %rax incl 140(%rax) leaq _ssl3_accept(%rip), %rax movq %rax, 48(%r14) jmp LBB4_69 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L4_0_set_38, LBB4_38-LJTI4_0 .set L4_0_set_69, LBB4_69-LJTI4_0 .set L4_0_set_6, LBB4_6-LJTI4_0 .set L4_0_set_8, LBB4_8-LJTI4_0 .set L4_0_set_39, LBB4_39-LJTI4_0 .set L4_0_set_10, LBB4_10-LJTI4_0 .set L4_0_set_12, LBB4_12-LJTI4_0 .set L4_0_set_15, LBB4_15-LJTI4_0 .set L4_0_set_19, LBB4_19-LJTI4_0 .set L4_0_set_21, LBB4_21-LJTI4_0 .set L4_0_set_24, LBB4_24-LJTI4_0 .set L4_0_set_27, LBB4_27-LJTI4_0 .set L4_0_set_29, LBB4_29-LJTI4_0 .set L4_0_set_31, LBB4_31-LJTI4_0 .set L4_0_set_81, LBB4_81-LJTI4_0 .set L4_0_set_34, LBB4_34-LJTI4_0 LJTI4_0: .long L4_0_set_38 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_6 .long L4_0_set_6 .long L4_0_set_6 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_8 .long L4_0_set_8 .long L4_0_set_39 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_10 .long L4_0_set_10 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_12 .long L4_0_set_12 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_15 .long L4_0_set_15 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_19 .long L4_0_set_19 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_21 .long L4_0_set_21 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_24 .long L4_0_set_24 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_27 .long L4_0_set_27 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_29 .long L4_0_set_29 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_31 .long L4_0_set_31 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_81 .long L4_0_set_81 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_69 .long L4_0_set_34 .long L4_0_set_34 .set L4_1_set_62, LBB4_62-LJTI4_1 .set L4_1_set_60, LBB4_60-LJTI4_1 .set L4_1_set_33, LBB4_33-LJTI4_1 .set L4_1_set_61, LBB4_61-LJTI4_1 .set L4_1_set_66, LBB4_66-LJTI4_1 LJTI4_1: .long L4_1_set_62 .long L4_1_set_60 .long L4_1_set_60 .long L4_1_set_33 .long L4_1_set_60 .long L4_1_set_60 .long L4_1_set_61 .long L4_1_set_60 .long L4_1_set_60 .long L4_1_set_66 .end_data_region ## -- End function .p2align 4, 0x90 ## -- Begin function ssl3_get_server_method _ssl3_get_server_method: ## @ssl3_get_server_method .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 cmpl $768, %edi ## imm = 0x300 jne LBB5_1 ## %bb.2: cmpb $0, _init(%rip) je LBB5_4 ## %bb.3: leaq _SSLv3_server_data(%rip), %rbx jmp LBB5_5 LBB5_1: xorl %ebx, %ebx jmp LBB5_5 LBB5_4: callq _sslv3_base_method leaq _SSLv3_server_data(%rip), %rbx movq %rbx, %rdi movq %rax, %rsi movl $200, %edx callq _memcpy leaq _ssl3_accept(%rip), %rax movq %rax, _SSLv3_server_data+32(%rip) leaq _ssl3_get_server_method(%rip), %rax movq %rax, _SSLv3_server_data+152(%rip) movb $1, _init(%rip) LBB5_5: movq %rbx, %rax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %edi, %edi popq %rbp jmp _ssl3_accept ## TAILCALL .cfi_endproc ## -- End function .globl _ssl3_send_server_certificate ## -- Begin function ssl3_send_server_certificate .p2align 4, 0x90 _ssl3_send_server_certificate: ## @ssl3_send_server_certificate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx cmpl $8512, 72(%rdi) ## imm = 0x2140 jne LBB7_3 ## %bb.1: movq %rbx, %rdi callq _ssl_get_server_send_cert testq %rax, %rax je LBB7_4 ## %bb.2: movq %rbx, %rdi movq %rax, %rsi callq _ssl3_output_cert_chain movl $8513, 72(%rbx) ## imm = 0x2141 movl %eax, 88(%rbx) movl $0, 92(%rbx) LBB7_3: movq %rbx, %rdi movl $22, %esi addq $8, %rsp popq %rbx popq %rbp jmp _ssl3_do_write ## TAILCALL LBB7_4: leaq L_.str(%rip), %rcx movl $20, %edi movl $154, %esi movl $157, %edx movl $1844, %r8d ## imm = 0x734 callq _ERR_put_error xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_init,1,2 ## @init .zerofill __DATA,__bss,_SSLv3_server_data,200,3 ## @SSLv3_server_data .comm _myState,4,2 ## @myState .comm _myStateNext,4,2 ## @myStateNext .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "s3_srvr.c" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _d2i_DHparams ; -- Begin function d2i_DHparams .p2align 2 _d2i_DHparams: ; @d2i_DHparams .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _i2d_DHparams ; -- Begin function i2d_DHparams .p2align 2 _i2d_DHparams: ; @i2d_DHparams .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _X509_free ; -- Begin function X509_free .p2align 2 _X509_free: ; @X509_free .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .globl _SSLv3_server_method ; -- Begin function SSLv3_server_method .p2align 2 _SSLv3_server_method: ; @SSLv3_server_method .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 adrp x20, _init@PAGE ldrb w8, [x20, _init@PAGEOFF] tbnz w8, #0, LBB3_2 ; %bb.1: bl _sslv3_base_method mov x1, x0 Lloh0: adrp x19, _SSLv3_server_data@PAGE Lloh1: add x19, x19, _SSLv3_server_data@PAGEOFF mov x0, x19 mov w2, #200 bl _memcpy Lloh2: adrp x8, _ssl3_accept@PAGE Lloh3: add x8, x8, _ssl3_accept@PAGEOFF str x8, [x19, #32] Lloh4: adrp x8, _ssl3_get_server_method@PAGE Lloh5: add x8, x8, _ssl3_get_server_method@PAGEOFF str x8, [x19, #152] mov w8, #1 strb w8, [x20, _init@PAGEOFF] LBB3_2: Lloh6: adrp x0, _SSLv3_server_data@PAGE Lloh7: add x0, x0, _SSLv3_server_data@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .globl _ssl3_accept ; -- Begin function ssl3_accept .p2align 2 _ssl3_accept: ; @ssl3_accept .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 Lloh8: adrp x20, _myState@GOTPAGE Lloh9: ldr x20, [x20, _myState@GOTPAGEOFF] mov w8, #8464 str w8, [x20] bl _unknown ldr w8, [x19, #44] add w8, w8, #1 str w8, [x19, #44] ldr x8, [x19, #208] cbz x8, LBB4_80 ; %bb.1: mov w27, #0 mov w26, #0 mov w21, #8447 mov w22, #12291 mov w23, #-8448 Lloh10: adrp x24, lJTI4_0@PAGE Lloh11: add x24, x24, lJTI4_0@PAGEOFF Lloh12: adrp x25, _myStateNext@GOTPAGE Lloh13: ldr x25, [x25, _myStateNext@GOTPAGEOFF] mov w28, #8448 LBB4_2: ; =>This Inner Loop Header: Depth=1 ldr w8, [x20] mov w0, #-1 cmp w8, w21 b.le LBB4_71 ; %bb.3: ; in Loop: Header=BB4_2 Depth=1 cmp w8, w22 b.gt LBB4_73 ; %bb.4: ; in Loop: Header=BB4_2 Depth=1 add w8, w8, w23 cmp w8, #225 b.hi LBB4_86 ; %bb.5: ; in Loop: Header=BB4_2 Depth=1 adr x9, LBB4_6 ldrh w10, [x24, x8, lsl #1] add x9, x9, x10, lsl #2 br x9 LBB4_6: ; in Loop: Header=BB4_2 Depth=1 str wzr, [x19, #68] bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.7: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 cmp w26, #0 csinc w26, w26, wzr, ne mov w9, #8496 str w9, [x20] str wzr, [x19, #88] mov w27, #1 b LBB4_65 LBB4_8: ; in Loop: Header=BB4_2 Depth=1 str wzr, [x19, #68] bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.9: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 mov w9, #8482 b LBB4_24 LBB4_10: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.11: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 cmp w26, #1 mov w9, #2 csel w26, w9, w26, eq ldr w9, [x19, #132] cmp w9, #0 mov w9, #8656 mov w10, #8512 csel w9, w10, w9, eq b LBB4_47 LBB4_12: ; in Loop: Header=BB4_2 Depth=1 ldr x8, [x19, #120] ldr x8, [x8, #920] ldrb w8, [x8, #25] tbnz w8, #0, LBB4_41 ; %bb.13: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.14: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 b LBB4_42 LBB4_15: ; in Loop: Header=BB4_2 Depth=1 ldr x8, [x19, #120] ldrb w9, [x19, #354] tbnz w9, #5, LBB4_43 ; %bb.16: ; in Loop: Header=BB4_2 Depth=1 ldr x9, [x8, #920] ldr x9, [x9, #24] str wzr, [x8, #968] tst x9, #0x1e b.ne LBB4_44 ; %bb.17: ; in Loop: Header=BB4_2 Depth=1 tbz w9, #0, LBB4_19 ; %bb.18: ; in Loop: Header=BB4_2 Depth=1 ldr x8, [x19, #208] ldr x8, [x8, #72] cbz x8, LBB4_44 LBB4_19: ; in Loop: Header=BB4_2 Depth=1 mov w8, #1 b LBB4_46 LBB4_20: ; in Loop: Header=BB4_2 Depth=1 ldr w9, [x19, #264] tbnz w9, #0, LBB4_48 ; %bb.21: ; in Loop: Header=BB4_2 Depth=1 ldr x8, [x19, #120] b LBB4_51 LBB4_22: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.23: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 mov w9, #8576 LBB4_24: ; in Loop: Header=BB4_2 Depth=1 str w9, [x25] str w28, [x20] str wzr, [x19, #88] b LBB4_65 LBB4_25: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.26: ; in Loop: Header=BB4_2 Depth=1 cmp w0, #2 b.ne LBB4_52 ; %bb.27: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 mov w9, #8466 b LBB4_54 LBB4_28: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.29: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 mov w9, #8608 b LBB4_47 LBB4_30: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.31: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 mov w9, #8640 b LBB4_47 LBB4_32: ; in Loop: Header=BB4_2 Depth=1 bl _unknown sub w8, w26, #4 cmp w8, #9 b.hi LBB4_61 ; %bb.33: ; in Loop: Header=BB4_2 Depth=1 mov w9, #5 Lloh14: adrp x12, lJTI4_1@PAGE Lloh15: add x12, x12, lJTI4_1@PAGEOFF adr x10, LBB4_34 ldrb w11, [x12, x8] add x10, x10, x11, lsl #2 br x10 LBB4_34: ; in Loop: Header=BB4_2 Depth=1 mov w9, #8 b LBB4_63 LBB4_35: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w26, #3 b.eq LBB4_55 ; %bb.36: ; in Loop: Header=BB4_2 Depth=1 cmp w26, #9 b.eq LBB4_56 ; %bb.37: ; in Loop: Header=BB4_2 Depth=1 cmp w26, #6 b.ne LBB4_57 ; %bb.38: ; in Loop: Header=BB4_2 Depth=1 mov w26, #7 b LBB4_58 LBB4_39: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 ldr w9, [x25] b LBB4_54 LBB4_40: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 mov w9, #3 b LBB4_54 LBB4_41: ; in Loop: Header=BB4_2 Depth=1 mov w8, #1 LBB4_42: ; in Loop: Header=BB4_2 Depth=1 mov w9, #8528 b LBB4_47 LBB4_43: ; in Loop: Header=BB4_2 Depth=1 mov w9, #1 str w9, [x8, #968] LBB4_44: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.45: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 LBB4_46: ; in Loop: Header=BB4_2 Depth=1 mov w9, #8544 LBB4_47: ; in Loop: Header=BB4_2 Depth=1 str w9, [x20] str wzr, [x19, #88] b LBB4_65 LBB4_48: ; in Loop: Header=BB4_2 Depth=1 ldr x8, [x19, #256] ldr x10, [x8, #152] and w11, w9, #0x4 ldr x8, [x19, #120] cmp x10, #0 ccmp w11, #0, #4, ne b.ne LBB4_51 ; %bb.49: ; in Loop: Header=BB4_2 Depth=1 ldr x10, [x8, #920] ldrb w10, [x10, #25] tbz w10, #0, LBB4_68 ; %bb.50: ; in Loop: Header=BB4_2 Depth=1 tbnz w9, #1, LBB4_68 LBB4_51: ; in Loop: Header=BB4_2 Depth=1 str wzr, [x8, #1008] mov w8, #8560 str w8, [x20] mov w8, #1 b LBB4_65 LBB4_52: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.53: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 str wzr, [x19, #88] mov w9, #8592 LBB4_54: ; in Loop: Header=BB4_2 Depth=1 str w9, [x20] b LBB4_65 LBB4_55: ; in Loop: Header=BB4_2 Depth=1 mov w26, #4 b LBB4_58 LBB4_56: ; in Loop: Header=BB4_2 Depth=1 mov w26, #10 b LBB4_58 LBB4_57: ; in Loop: Header=BB4_2 Depth=1 cmp w26, #12 mov w8, #13 csel w26, w8, w26, eq LBB4_58: ; in Loop: Header=BB4_2 Depth=1 cmp w0, #1 b.lt LBB4_86 ; %bb.59: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 str w28, [x20] ldr w9, [x19, #132] cmp w9, #0 mov w9, #3 mov w10, #8640 csel w9, w9, w10, eq LBB4_60: ; in Loop: Header=BB4_2 Depth=1 str w9, [x25] str wzr, [x19, #88] b LBB4_65 LBB4_61: ; in Loop: Header=BB4_2 Depth=1 mov x9, x26 b LBB4_63 LBB4_62: ; in Loop: Header=BB4_2 Depth=1 mov w9, #11 LBB4_63: ; in Loop: Header=BB4_2 Depth=1 cmp w0, #1 b.lt LBB4_86 ; %bb.64: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 ldr w10, [x19, #132] cmp w10, #0 mov w10, #3 mov w11, #8656 csel w10, w11, w10, eq str w10, [x20] str wzr, [x19, #88] mov x26, x9 LBB4_65: ; in Loop: Header=BB4_2 Depth=1 ldr x9, [x19, #120] ldr w9, [x9, #940] orr w8, w9, w8 cbnz w8, LBB4_2 ; %bb.66: ; in Loop: Header=BB4_2 Depth=1 ldr w8, [x19, #304] cbz w8, LBB4_2 ; %bb.67: ; in Loop: Header=BB4_2 Depth=1 bl _unknown cmp w0, #0 b.gt LBB4_2 b LBB4_86 LBB4_68: ; in Loop: Header=BB4_2 Depth=1 mov w9, #1 str w9, [x8, #1008] bl _unknown cmp w0, #1 b.lt LBB4_86 ; %bb.69: ; in Loop: Header=BB4_2 Depth=1 mov w8, #0 str w28, [x20] mov w9, #8576 b LBB4_60 LBB4_70: ; =>This Inner Loop Header: Depth=1 b LBB4_70 LBB4_71: cmp w8, #3 b.eq LBB4_82 ; %bb.72: cmp w8, #2, lsl #12 ; =8192 mov w9, #8195 ccmp w8, w9, #4, ne b.eq LBB4_77 b LBB4_86 LBB4_73: cmp w8, #6, lsl #12 ; =24576 b.eq LBB4_77 ; %bb.74: cmp w8, #4, lsl #12 ; =16384 b.eq LBB4_77 ; %bb.75: mov w9, #12292 cmp w8, w9 b.ne LBB4_86 ; %bb.76: mov w8, #1 str w8, [x19, #60] LBB4_77: mov w8, #1 str w8, [x19, #56] ldr w8, [x19] and w8, w8, #0xffffff00 cmp w8, #768 b.ne LBB4_80 ; %bb.78: mov w8, #8192 str w8, [x19, #4] ldr x8, [x19, #80] cbz x8, LBB4_85 ; %bb.79: mov w0, #-1 b LBB4_86 LBB4_80: mov w0, #-1 b LBB4_87 LBB4_81: ldr x8, [x19, #120] ldr x8, [x8, #920] ldr x9, [x19, #256] str x8, [x9, #200] mov w0, #-1 b LBB4_86 LBB4_82: str xzr, [x19, #80] str wzr, [x19, #88] cbz w27, LBB4_84 ; %bb.83: str wzr, [x19, #60] ldr x8, [x19, #296] ldr w9, [x8, #140] add w9, w9, #1 str w9, [x8, #140] Lloh16: adrp x8, _ssl3_accept@PAGE Lloh17: add x8, x8, _ssl3_accept@PAGEOFF str x8, [x19, #48] LBB4_84: mov w0, #1 b LBB4_86 LBB4_85: bl _unknown mov w0, #-1 LBB4_86: ldr w8, [x19, #44] sub w8, w8, #1 str w8, [x19, #44] LBB4_87: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc .section __TEXT,__const .p2align 1 lJTI4_0: .short (LBB4_39-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_6-LBB4_6)>>2 .short (LBB4_6-LBB4_6)>>2 .short (LBB4_6-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_8-LBB4_6)>>2 .short (LBB4_8-LBB4_6)>>2 .short (LBB4_40-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_10-LBB4_6)>>2 .short (LBB4_10-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_12-LBB4_6)>>2 .short (LBB4_12-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_15-LBB4_6)>>2 .short (LBB4_15-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_20-LBB4_6)>>2 .short (LBB4_20-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_22-LBB4_6)>>2 .short (LBB4_22-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_25-LBB4_6)>>2 .short (LBB4_25-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_28-LBB4_6)>>2 .short (LBB4_28-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_30-LBB4_6)>>2 .short (LBB4_30-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_32-LBB4_6)>>2 .short (LBB4_32-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_81-LBB4_6)>>2 .short (LBB4_81-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_86-LBB4_6)>>2 .short (LBB4_35-LBB4_6)>>2 .short (LBB4_35-LBB4_6)>>2 lJTI4_1: .byte (LBB4_63-LBB4_34)>>2 .byte (LBB4_61-LBB4_34)>>2 .byte (LBB4_61-LBB4_34)>>2 .byte (LBB4_34-LBB4_34)>>2 .byte (LBB4_61-LBB4_34)>>2 .byte (LBB4_61-LBB4_34)>>2 .byte (LBB4_62-LBB4_34)>>2 .byte (LBB4_61-LBB4_34)>>2 .byte (LBB4_61-LBB4_34)>>2 .byte (LBB4_70-LBB4_34)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .p2align 2 ; -- Begin function ssl3_get_server_method _ssl3_get_server_method: ; @ssl3_get_server_method .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp w0, #768 b.ne LBB5_3 ; %bb.1: adrp x20, _init@PAGE ldrb w8, [x20, _init@PAGEOFF] Lloh18: adrp x19, _SSLv3_server_data@PAGE Lloh19: add x19, x19, _SSLv3_server_data@PAGEOFF tbnz w8, #0, LBB5_4 ; %bb.2: bl _sslv3_base_method mov x1, x0 mov x0, x19 mov w2, #200 bl _memcpy Lloh20: adrp x8, _ssl3_accept@PAGE Lloh21: add x8, x8, _ssl3_accept@PAGEOFF str x8, [x19, #32] Lloh22: adrp x8, _ssl3_get_server_method@PAGE Lloh23: add x8, x8, _ssl3_get_server_method@PAGEOFF str x8, [x19, #152] mov w8, #1 strb w8, [x20, _init@PAGEOFF] b LBB5_4 LBB5_3: mov x19, #0 LBB5_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov x0, #0 b _ssl3_accept .cfi_endproc ; -- End function .globl _ssl3_send_server_certificate ; -- Begin function ssl3_send_server_certificate .p2align 2 _ssl3_send_server_certificate: ; @ssl3_send_server_certificate .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w8, [x0, #72] mov w9, #8512 cmp w8, w9 b.ne LBB7_3 ; %bb.1: mov x0, x19 bl _ssl_get_server_send_cert cbz x0, LBB7_4 ; %bb.2: mov x1, x0 mov x0, x19 bl _ssl3_output_cert_chain mov w8, #8513 str w8, [x19, #72] stp w0, wzr, [x19, #88] LBB7_3: mov x0, x19 mov w1, #22 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ssl3_do_write LBB7_4: Lloh24: adrp x3, l_.str@PAGE Lloh25: add x3, x3, l_.str@PAGEOFF mov w0, #20 mov w1, #154 mov w2, #157 mov w4, #1844 bl _ERR_put_error mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh24, Lloh25 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_init,1,2 ; @init .zerofill __DATA,__bss,_SSLv3_server_data,200,3 ; @SSLv3_server_data .comm _myState,4,2 ; @myState .comm _myStateNext,4,2 ; @myStateNext .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "s3_srvr.c" .subsections_via_symbols
the_stack_data/188990.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xgene_enet_ring_owner _xgene_enet_ring_owner: ## @xgene_enet_ring_owner .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edi, %eax movq _RING_OWNER_MASK@GOTPCREL(%rip), %rcx andl (%rcx), %eax sarl $6, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _RING_OWNER_MASK,4,2 ## @RING_OWNER_MASK .no_dead_strip _xgene_enet_ring_owner .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xgene_enet_ring_owner _xgene_enet_ring_owner: ; @xgene_enet_ring_owner .cfi_startproc ; %bb.0: Lloh0: adrp x8, _RING_OWNER_MASK@GOTPAGE Lloh1: ldr x8, [x8, _RING_OWNER_MASK@GOTPAGEOFF] Lloh2: ldr w8, [x8] and w8, w8, w0 asr w0, w8, #6 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _RING_OWNER_MASK,4,2 ; @RING_OWNER_MASK .no_dead_strip _xgene_enet_ring_owner .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/apm/xgene/extr_xgene_enet_hw.h_xgene_enet_ring_owner.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function compare_p2l_info_rev _compare_p2l_info_rev: ## @compare_p2l_info_rev .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq (%rsi), %rcx movq (%rax), %rax xorl %edx, %edx xorl %esi, %esi cmpq (%rcx), %rax setge %sil leal -1(%rsi,%rsi), %eax cmovel %edx, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _compare_p2l_info_rev .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function compare_p2l_info_rev _compare_p2l_info_rev: ; @compare_p2l_info_rev .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x9, [x1] ldr x8, [x8] ldr x9, [x9] cmp x8, x9 mov w8, #-1 cneg w8, w8, ge csel w0, wzr, w8, eq ret .cfi_endproc ; -- End function .no_dead_strip _compare_p2l_info_rev .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_pack.c_compare_p2l_info_rev.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function auto_decoder_get_check _auto_decoder_get_check: ## @auto_decoder_get_check .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movl (%rdi), %edi popq %rbp jmpq *%rax ## TAILCALL LBB0_1: movq _LZMA_CHECK_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _LZMA_CHECK_NONE,4,2 ## @LZMA_CHECK_NONE .no_dead_strip _auto_decoder_get_check .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function auto_decoder_get_check _auto_decoder_get_check: ; @auto_decoder_get_check .cfi_startproc ; %bb.0: ldr x1, [x0, #8] cbz x1, LBB0_2 ; %bb.1: ldr w0, [x0] br x1 LBB0_2: Lloh0: adrp x8, _LZMA_CHECK_NONE@GOTPAGE Lloh1: ldr x8, [x8, _LZMA_CHECK_NONE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LZMA_CHECK_NONE,4,2 ; @LZMA_CHECK_NONE .no_dead_strip _auto_decoder_get_check .subsections_via_symbols
AnghaBench/obs-studio/deps/lzma/liblzma/common/extr_auto_decoder.c_auto_decoder_get_check.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function rx_fifo_reset _rx_fifo_reset: ## @rx_fifo_reset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %esi movq _LTQ_SPI_RXFCON_RXFITL_S@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %esi movq _LTQ_SPI_RXFCON_RXFEN@GOTPCREL(%rip), %rax movq _LTQ_SPI_RXFCON_RXFLU@GOTPCREL(%rip), %rcx orl (%rax), %esi orl (%rcx), %esi movq _LTQ_SPI_RXFCON@GOTPCREL(%rip), %rax movl (%rax), %edx popq %rbp jmp _lantiq_ssc_writel ## TAILCALL .cfi_endproc ## -- End function .comm _LTQ_SPI_RXFCON_RXFITL_S,4,2 ## @LTQ_SPI_RXFCON_RXFITL_S .comm _LTQ_SPI_RXFCON_RXFEN,4,2 ## @LTQ_SPI_RXFCON_RXFEN .comm _LTQ_SPI_RXFCON_RXFLU,4,2 ## @LTQ_SPI_RXFCON_RXFLU .comm _LTQ_SPI_RXFCON,4,2 ## @LTQ_SPI_RXFCON .no_dead_strip _rx_fifo_reset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function rx_fifo_reset _rx_fifo_reset: ; @rx_fifo_reset .cfi_startproc ; %bb.0: ldr w8, [x0] Lloh0: adrp x9, _LTQ_SPI_RXFCON_RXFITL_S@GOTPAGE Lloh1: ldr x9, [x9, _LTQ_SPI_RXFCON_RXFITL_S@GOTPAGEOFF] Lloh2: ldr w9, [x9] lsl w8, w8, w9 Lloh3: adrp x9, _LTQ_SPI_RXFCON_RXFEN@GOTPAGE Lloh4: ldr x9, [x9, _LTQ_SPI_RXFCON_RXFEN@GOTPAGEOFF] Lloh5: ldr w9, [x9] Lloh6: adrp x10, _LTQ_SPI_RXFCON_RXFLU@GOTPAGE Lloh7: ldr x10, [x10, _LTQ_SPI_RXFCON_RXFLU@GOTPAGEOFF] Lloh8: ldr w10, [x10] orr w8, w8, w9 orr w1, w8, w10 Lloh9: adrp x8, _LTQ_SPI_RXFCON@GOTPAGE Lloh10: ldr x8, [x8, _LTQ_SPI_RXFCON@GOTPAGEOFF] Lloh11: ldr w2, [x8] b _lantiq_ssc_writel .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LTQ_SPI_RXFCON_RXFITL_S,4,2 ; @LTQ_SPI_RXFCON_RXFITL_S .comm _LTQ_SPI_RXFCON_RXFEN,4,2 ; @LTQ_SPI_RXFCON_RXFEN .comm _LTQ_SPI_RXFCON_RXFLU,4,2 ; @LTQ_SPI_RXFCON_RXFLU .comm _LTQ_SPI_RXFCON,4,2 ; @LTQ_SPI_RXFCON .no_dead_strip _rx_fifo_reset .subsections_via_symbols
AnghaBench/linux/drivers/spi/extr_spi-lantiq-ssc.c_rx_fifo_reset.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _reiserfs_add_ordered_list ## -- Begin function reiserfs_add_ordered_list .p2align 4, 0x90 _reiserfs_add_ordered_list: ## @reiserfs_add_ordered_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movl (%rdi), %edi callq _SB_JOURNAL movl %eax, %edi movq %rbx, %rsi xorl %edx, %edx addq $8, %rsp popq %rbx popq %rbp jmp ___add_jh ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _reiserfs_add_ordered_list ; -- Begin function reiserfs_add_ordered_list .p2align 2 _reiserfs_add_ordered_list: ; @reiserfs_add_ordered_list .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr w0, [x0] bl _SB_JOURNAL mov x1, x19 mov w2, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b ___add_jh .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/reiserfs/extr_journal.c_reiserfs_add_ordered_list.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function exprSrcCount _exprSrcCount: ## @exprSrcCount .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax movq _TK_COLUMN@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movq _TK_AGG_COLUMN@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil callq _NEVER testq %rax, %rax je LBB0_9 LBB0_2: movq (%rbx), %rax movq 8(%rax), %rsi testq %rsi, %rsi je LBB0_8 ## %bb.3: movl (%rsi), %ecx testl %ecx, %ecx jle LBB0_8 ## %bb.4: movq 8(%r14), %rdx movq 8(%rsi), %rsi xorl %edi, %edi .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 cmpq (%rsi,%rdi,8), %rdx je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_6 Depth=1 incq %rdi cmpq %rdi, %rcx jne LBB0_6 LBB0_8: incl (%rax) jmp LBB0_9 LBB0_7: incl 4(%rax) LBB0_9: movq _WRC_Continue@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _TK_COLUMN,8,3 ## @TK_COLUMN .comm _TK_AGG_COLUMN,8,3 ## @TK_AGG_COLUMN .comm _WRC_Continue,4,2 ## @WRC_Continue .no_dead_strip _exprSrcCount .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function exprSrcCount _exprSrcCount: ; @exprSrcCount .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr x8, [x1] Lloh0: adrp x9, _TK_COLUMN@GOTPAGE Lloh1: ldr x9, [x9, _TK_COLUMN@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.eq LBB0_2 ; %bb.1: Lloh3: adrp x9, _TK_AGG_COLUMN@GOTPAGE Lloh4: ldr x9, [x9, _TK_AGG_COLUMN@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 cset w0, eq bl _NEVER cbz x0, LBB0_9 LBB0_2: ldr x8, [x20] ldr x11, [x8, #8] cbz x11, LBB0_7 ; %bb.3: ldr w9, [x11] cmp w9, #1 b.lt LBB0_7 ; %bb.4: ldr x10, [x19, #8] ldr x11, [x11, #8] LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x12, [x11] cmp x10, x12 b.eq LBB0_8 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add x11, x11, #8 subs x9, x9, #1 b.ne LBB0_5 LBB0_7: ldr w9, [x8] add w9, w9, #1 str w9, [x8] b LBB0_9 LBB0_8: ldr w9, [x8, #4] add w9, w9, #1 str w9, [x8, #4] LBB0_9: Lloh6: adrp x8, _WRC_Continue@GOTPAGE Lloh7: ldr x8, [x8, _WRC_Continue@GOTPAGEOFF] Lloh8: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _TK_COLUMN,8,3 ; @TK_COLUMN .comm _TK_AGG_COLUMN,8,3 ; @TK_AGG_COLUMN .comm _WRC_Continue,4,2 ; @WRC_Continue .no_dead_strip _exprSrcCount .subsections_via_symbols
AnghaBench/sqlcipher/src/extr_expr.c_exprSrcCount.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _error ## -- Begin function error .p2align 4, 0x90 _error: ## @error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx leaq L_.str(%rip), %rdi callq _sclp_early_printk movq %rbx, %rdi callq _sclp_early_printk leaq L_.str.1(%rip), %rdi callq _sclp_early_printk xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _disabled_wait ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n\n" L_.str.1: ## @.str.1 .asciz "\n\n -- System halted" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _error ; -- Begin function error .p2align 2 _error: ; @error .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _sclp_early_printk mov x0, x19 bl _sclp_early_printk Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _sclp_early_printk ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _disabled_wait .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n\n" l_.str.1: ; @.str.1 .asciz "\n\n -- System halted" .subsections_via_symbols
AnghaBench/linux/arch/s390/boot/extr_startup.c_error.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function md_pre_Dl _md_pre_Dl: ## @md_pre_Dl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _quote_blocks@GOTPCREL(%rip), %rbx cmpq $0, (%rbx) je LBB0_2 ## %bb.1: movl $62, %edi callq _md_stack incq (%rbx) jmp LBB0_3 LBB0_2: movl $9, %edi callq _md_stack movq _code_blocks@GOTPCREL(%rip), %rax incl (%rax) LBB0_3: movq _MD_sp@GOTPCREL(%rip), %rax movl (%rax), %eax movq _outflags@GOTPCREL(%rip), %rcx orl %eax, (%rcx) movl $1, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _quote_blocks,8,3 ## @quote_blocks .comm _code_blocks,4,2 ## @code_blocks .comm _MD_sp,4,2 ## @MD_sp .comm _outflags,4,2 ## @outflags .no_dead_strip _md_pre_Dl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function md_pre_Dl _md_pre_Dl: ; @md_pre_Dl .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, _quote_blocks@GOTPAGE Lloh1: ldr x19, [x19, _quote_blocks@GOTPAGEOFF] ldr x8, [x19] cbz x8, LBB0_2 ; %bb.1: mov w0, #62 bl _md_stack ldr x8, [x19] add x8, x8, #1 str x8, [x19] b LBB0_3 LBB0_2: mov w0, #9 bl _md_stack Lloh2: adrp x8, _code_blocks@GOTPAGE Lloh3: ldr x8, [x8, _code_blocks@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] LBB0_3: Lloh4: adrp x8, _MD_sp@GOTPAGE Lloh5: ldr x8, [x8, _MD_sp@GOTPAGEOFF] Lloh6: ldr w8, [x8] Lloh7: adrp x9, _outflags@GOTPAGE Lloh8: ldr x9, [x9, _outflags@GOTPAGEOFF] ldr w10, [x9] orr w8, w10, w8 str w8, [x9] mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _quote_blocks,8,3 ; @quote_blocks .comm _code_blocks,4,2 ; @code_blocks .comm _MD_sp,4,2 ; @MD_sp .comm _outflags,4,2 ; @outflags .no_dead_strip _md_pre_Dl .subsections_via_symbols
AnghaBench/freebsd/contrib/mandoc/extr_mdoc_markdown.c_md_pre_Dl.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function kvmppc_book3s_exit _kvmppc_book3s_exit: ## @kvmppc_book3s_exit .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp jmp _kvm_exit ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _kvmppc_book3s_exit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function kvmppc_book3s_exit _kvmppc_book3s_exit: ; @kvmppc_book3s_exit .cfi_startproc ; %bb.0: b _kvm_exit .cfi_endproc ; -- End function .no_dead_strip _kvmppc_book3s_exit .subsections_via_symbols
AnghaBench/linux/arch/powerpc/kvm/extr_book3s.c_kvmppc_book3s_exit.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $91, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: mov w0, #91 ret .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/70450356.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _serf_ssl_cert_issuer ## -- Begin function serf_ssl_cert_issuer .p2align 4, 0x90 _serf_ssl_cert_issuer: ## @serf_ssl_cert_issuer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rsi, %rbx movl (%rdi), %edi callq _X509_get_issuer_name testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %rbp jmp _convert_X509_NAME_to_table ## TAILCALL LBB0_1: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _serf_ssl_cert_issuer ; -- Begin function serf_ssl_cert_issuer .p2align 2 _serf_ssl_cert_issuer: ; @serf_ssl_cert_issuer .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr w0, [x0] bl _X509_get_issuer_name cbz x0, LBB0_2 ; %bb.1: mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _convert_X509_NAME_to_table LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/contrib/serf/buckets/extr_ssl_buckets.c_serf_ssl_cert_issuer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function __nvram_read_byte ___nvram_read_byte: ## @__nvram_read_byte .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _NVRAM_FIRST_BYTE@GOTPCREL(%rip), %rax movslq %edi, %rdi addq (%rax), %rdi popq %rbp jmp _CMOS_READ ## TAILCALL .cfi_endproc ## -- End function .comm _NVRAM_FIRST_BYTE,8,3 ## @NVRAM_FIRST_BYTE .no_dead_strip ___nvram_read_byte .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function __nvram_read_byte ___nvram_read_byte: ; @__nvram_read_byte .cfi_startproc ; %bb.0: Lloh0: adrp x8, _NVRAM_FIRST_BYTE@GOTPAGE Lloh1: ldr x8, [x8, _NVRAM_FIRST_BYTE@GOTPAGEOFF] Lloh2: ldr x8, [x8] add x0, x8, w0, sxtw b _CMOS_READ .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _NVRAM_FIRST_BYTE,8,3 ; @NVRAM_FIRST_BYTE .no_dead_strip ___nvram_read_byte .subsections_via_symbols
AnghaBench/linux/arch/m68k/atari/extr_nvram.c___nvram_read_byte.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sha256aix_encode _sha256aix_encode: ## @sha256aix_encode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movl 8(%rdi), %edi movl (%r14), %r12d movl 4(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, (%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 4(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 8(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 12(%r15) movl 20(%r14), %edi movl 12(%r14), %r12d movl 16(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 16(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 20(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 24(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 28(%r15) movl 32(%r14), %edi movl 24(%r14), %r12d movl 28(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 32(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 36(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 40(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 44(%r15) movl 44(%r14), %edi movl 36(%r14), %r12d movl 40(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 48(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 52(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 56(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 60(%r15) movl 56(%r14), %edi movl 48(%r14), %r12d movl 52(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 64(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 68(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 72(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 76(%r15) movl 68(%r14), %edi movl 60(%r14), %r12d movl 64(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 80(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 84(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 88(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 92(%r15) movl 80(%r14), %edi movl 72(%r14), %r12d movl 76(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 96(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 100(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 104(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 108(%r15) movl 92(%r14), %edi movl 84(%r14), %r12d movl 88(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 112(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 116(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 120(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 124(%r15) movl 104(%r14), %edi movl 96(%r14), %r12d movl 100(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 128(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 132(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 136(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 140(%r15) movl 116(%r14), %edi movl 108(%r14), %r12d movl 112(%r14), %ebx shll $8, %ebx orl %edi, %ebx shll $16, %r12d orl %ebx, %r12d andl $63, %edi callq _int_to_itoa64 movl %eax, 144(%r15) shrl $6, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 148(%r15) movl %r12d, %edi shrl $12, %edi andl $63, %edi callq _int_to_itoa64 movl %eax, 152(%r15) shrl $18, %r12d andl $63, %r12d movl %r12d, %edi callq _int_to_itoa64 movl %eax, 156(%r15) movl 120(%r14), %ebx movl 124(%r14), %r14d movl %r14d, %eax shll $8, %eax shll $16, %ebx orl %eax, %ebx xorl %edi, %edi callq _int_to_itoa64 movl %eax, 160(%r15) shll $2, %r14d andl $60, %r14d movl %r14d, %edi callq _int_to_itoa64 movl %eax, 164(%r15) shrl $12, %ebx andl $63, %ebx movl %ebx, %edi callq _int_to_itoa64 movl %eax, 168(%r15) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sha256aix_encode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sha256aix_encode _sha256aix_encode: ; @sha256aix_encode .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldp w9, w8, [x0, #4] ldr w10, [x0] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #4] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #8] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #12] ldp w9, w8, [x20, #16] ldr w10, [x20, #12] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #16] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #20] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #24] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #28] ldp w9, w8, [x20, #28] ldr w10, [x20, #24] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #32] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #36] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #40] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #44] ldp w9, w8, [x20, #40] ldr w10, [x20, #36] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #48] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #52] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #56] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #60] ldp w9, w8, [x20, #52] ldr w10, [x20, #48] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #64] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #68] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #72] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #76] ldp w9, w8, [x20, #64] ldr w10, [x20, #60] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #80] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #84] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #88] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #92] ldp w9, w8, [x20, #76] ldr w10, [x20, #72] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #96] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #100] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #104] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #108] ldp w9, w8, [x20, #88] ldr w10, [x20, #84] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #112] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #116] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #120] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #124] ldp w9, w8, [x20, #100] ldr w10, [x20, #96] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #128] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #132] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #136] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #140] ldp w9, w8, [x20, #112] ldr w10, [x20, #108] orr w21, w8, w9, lsl #8 orr w22, w21, w10, lsl #16 and w0, w8, #0x3f bl _int_to_itoa64 str w0, [x19, #144] ubfx w0, w21, #6, #6 bl _int_to_itoa64 str w0, [x19, #148] ubfx w0, w22, #12, #6 bl _int_to_itoa64 str w0, [x19, #152] ubfx w0, w22, #18, #6 bl _int_to_itoa64 str w0, [x19, #156] ldp w8, w21, [x20, #120] lsl w8, w8, #16 orr w20, w8, w21, lsl #8 mov w0, #0 bl _int_to_itoa64 str w0, [x19, #160] ubfiz w0, w21, #2, #4 bl _int_to_itoa64 str w0, [x19, #164] ubfx w0, w20, #12, #6 bl _int_to_itoa64 str w0, [x19, #168] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _sha256aix_encode .subsections_via_symbols
AnghaBench/hashcat/src/modules/extr_module_06400.c_sha256aix_encode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function load_GL_VERSION_3_2 _load_GL_VERSION_3_2: ## @load_GL_VERSION_3_2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq _GLAD_GL_VERSION_3_2@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_2 ## %bb.1: movq %rdi, %rbx leaq L_.str(%rip), %rdi callq *%rbx movq _glad_glDrawElementsBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.1(%rip), %rdi callq *%rbx movq _glad_glDrawRangeElementsBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.2(%rip), %rdi callq *%rbx movq _glad_glDrawElementsInstancedBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.3(%rip), %rdi callq *%rbx movq _glad_glMultiDrawElementsBaseVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.4(%rip), %rdi callq *%rbx movq _glad_glProvokingVertex@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.5(%rip), %rdi callq *%rbx movq _glad_glFenceSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.6(%rip), %rdi callq *%rbx movq _glad_glIsSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.7(%rip), %rdi callq *%rbx movq _glad_glDeleteSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.8(%rip), %rdi callq *%rbx movq _glad_glClientWaitSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.9(%rip), %rdi callq *%rbx movq _glad_glWaitSync@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.10(%rip), %rdi callq *%rbx movq _glad_glGetInteger64v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.11(%rip), %rdi callq *%rbx movq _glad_glGetSynciv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.12(%rip), %rdi callq *%rbx movq _glad_glGetInteger64i_v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.13(%rip), %rdi callq *%rbx movq _glad_glGetBufferParameteri64v@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.14(%rip), %rdi callq *%rbx movq _glad_glFramebufferTexture@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.15(%rip), %rdi callq *%rbx movq _glad_glTexImage2DMultisample@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.16(%rip), %rdi callq *%rbx movq _glad_glTexImage3DMultisample@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.17(%rip), %rdi callq *%rbx movq _glad_glGetMultisamplefv@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str.18(%rip), %rdi callq *%rbx movq _glad_glSampleMaski@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _GLAD_GL_VERSION_3_2,4,2 ## @GLAD_GL_VERSION_3_2 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "glDrawElementsBaseVertex" .comm _glad_glDrawElementsBaseVertex,8,3 ## @glad_glDrawElementsBaseVertex L_.str.1: ## @.str.1 .asciz "glDrawRangeElementsBaseVertex" .comm _glad_glDrawRangeElementsBaseVertex,8,3 ## @glad_glDrawRangeElementsBaseVertex L_.str.2: ## @.str.2 .asciz "glDrawElementsInstancedBaseVertex" .comm _glad_glDrawElementsInstancedBaseVertex,8,3 ## @glad_glDrawElementsInstancedBaseVertex L_.str.3: ## @.str.3 .asciz "glMultiDrawElementsBaseVertex" .comm _glad_glMultiDrawElementsBaseVertex,8,3 ## @glad_glMultiDrawElementsBaseVertex L_.str.4: ## @.str.4 .asciz "glProvokingVertex" .comm _glad_glProvokingVertex,8,3 ## @glad_glProvokingVertex L_.str.5: ## @.str.5 .asciz "glFenceSync" .comm _glad_glFenceSync,8,3 ## @glad_glFenceSync L_.str.6: ## @.str.6 .asciz "glIsSync" .comm _glad_glIsSync,8,3 ## @glad_glIsSync L_.str.7: ## @.str.7 .asciz "glDeleteSync" .comm _glad_glDeleteSync,8,3 ## @glad_glDeleteSync L_.str.8: ## @.str.8 .asciz "glClientWaitSync" .comm _glad_glClientWaitSync,8,3 ## @glad_glClientWaitSync L_.str.9: ## @.str.9 .asciz "glWaitSync" .comm _glad_glWaitSync,8,3 ## @glad_glWaitSync L_.str.10: ## @.str.10 .asciz "glGetInteger64v" .comm _glad_glGetInteger64v,8,3 ## @glad_glGetInteger64v L_.str.11: ## @.str.11 .asciz "glGetSynciv" .comm _glad_glGetSynciv,8,3 ## @glad_glGetSynciv L_.str.12: ## @.str.12 .asciz "glGetInteger64i_v" .comm _glad_glGetInteger64i_v,8,3 ## @glad_glGetInteger64i_v L_.str.13: ## @.str.13 .asciz "glGetBufferParameteri64v" .comm _glad_glGetBufferParameteri64v,8,3 ## @glad_glGetBufferParameteri64v L_.str.14: ## @.str.14 .asciz "glFramebufferTexture" .comm _glad_glFramebufferTexture,8,3 ## @glad_glFramebufferTexture L_.str.15: ## @.str.15 .asciz "glTexImage2DMultisample" .comm _glad_glTexImage2DMultisample,8,3 ## @glad_glTexImage2DMultisample L_.str.16: ## @.str.16 .asciz "glTexImage3DMultisample" .comm _glad_glTexImage3DMultisample,8,3 ## @glad_glTexImage3DMultisample L_.str.17: ## @.str.17 .asciz "glGetMultisamplefv" .comm _glad_glGetMultisamplefv,8,3 ## @glad_glGetMultisamplefv L_.str.18: ## @.str.18 .asciz "glSampleMaski" .comm _glad_glSampleMaski,8,3 ## @glad_glSampleMaski .no_dead_strip _load_GL_VERSION_3_2 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function load_GL_VERSION_3_2 _load_GL_VERSION_3_2: ; @load_GL_VERSION_3_2 .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x8, _GLAD_GL_VERSION_3_2@GOTPAGE Lloh1: ldr x8, [x8, _GLAD_GL_VERSION_3_2@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: mov x19, x0 Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF blr x19 Lloh5: adrp x8, _glad_glDrawElementsBaseVertex@GOTPAGE Lloh6: ldr x8, [x8, _glad_glDrawElementsBaseVertex@GOTPAGEOFF] Lloh7: str x0, [x8] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF blr x19 Lloh10: adrp x8, _glad_glDrawRangeElementsBaseVertex@GOTPAGE Lloh11: ldr x8, [x8, _glad_glDrawRangeElementsBaseVertex@GOTPAGEOFF] Lloh12: str x0, [x8] Lloh13: adrp x0, l_.str.2@PAGE Lloh14: add x0, x0, l_.str.2@PAGEOFF blr x19 Lloh15: adrp x8, _glad_glDrawElementsInstancedBaseVertex@GOTPAGE Lloh16: ldr x8, [x8, _glad_glDrawElementsInstancedBaseVertex@GOTPAGEOFF] Lloh17: str x0, [x8] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF blr x19 Lloh20: adrp x8, _glad_glMultiDrawElementsBaseVertex@GOTPAGE Lloh21: ldr x8, [x8, _glad_glMultiDrawElementsBaseVertex@GOTPAGEOFF] Lloh22: str x0, [x8] Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF blr x19 Lloh25: adrp x8, _glad_glProvokingVertex@GOTPAGE Lloh26: ldr x8, [x8, _glad_glProvokingVertex@GOTPAGEOFF] Lloh27: str x0, [x8] Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF blr x19 Lloh30: adrp x8, _glad_glFenceSync@GOTPAGE Lloh31: ldr x8, [x8, _glad_glFenceSync@GOTPAGEOFF] Lloh32: str x0, [x8] Lloh33: adrp x0, l_.str.6@PAGE Lloh34: add x0, x0, l_.str.6@PAGEOFF blr x19 Lloh35: adrp x8, _glad_glIsSync@GOTPAGE Lloh36: ldr x8, [x8, _glad_glIsSync@GOTPAGEOFF] Lloh37: str x0, [x8] Lloh38: adrp x0, l_.str.7@PAGE Lloh39: add x0, x0, l_.str.7@PAGEOFF blr x19 Lloh40: adrp x8, _glad_glDeleteSync@GOTPAGE Lloh41: ldr x8, [x8, _glad_glDeleteSync@GOTPAGEOFF] Lloh42: str x0, [x8] Lloh43: adrp x0, l_.str.8@PAGE Lloh44: add x0, x0, l_.str.8@PAGEOFF blr x19 Lloh45: adrp x8, _glad_glClientWaitSync@GOTPAGE Lloh46: ldr x8, [x8, _glad_glClientWaitSync@GOTPAGEOFF] Lloh47: str x0, [x8] Lloh48: adrp x0, l_.str.9@PAGE Lloh49: add x0, x0, l_.str.9@PAGEOFF blr x19 Lloh50: adrp x8, _glad_glWaitSync@GOTPAGE Lloh51: ldr x8, [x8, _glad_glWaitSync@GOTPAGEOFF] Lloh52: str x0, [x8] Lloh53: adrp x0, l_.str.10@PAGE Lloh54: add x0, x0, l_.str.10@PAGEOFF blr x19 Lloh55: adrp x8, _glad_glGetInteger64v@GOTPAGE Lloh56: ldr x8, [x8, _glad_glGetInteger64v@GOTPAGEOFF] Lloh57: str x0, [x8] Lloh58: adrp x0, l_.str.11@PAGE Lloh59: add x0, x0, l_.str.11@PAGEOFF blr x19 Lloh60: adrp x8, _glad_glGetSynciv@GOTPAGE Lloh61: ldr x8, [x8, _glad_glGetSynciv@GOTPAGEOFF] Lloh62: str x0, [x8] Lloh63: adrp x0, l_.str.12@PAGE Lloh64: add x0, x0, l_.str.12@PAGEOFF blr x19 Lloh65: adrp x8, _glad_glGetInteger64i_v@GOTPAGE Lloh66: ldr x8, [x8, _glad_glGetInteger64i_v@GOTPAGEOFF] Lloh67: str x0, [x8] Lloh68: adrp x0, l_.str.13@PAGE Lloh69: add x0, x0, l_.str.13@PAGEOFF blr x19 Lloh70: adrp x8, _glad_glGetBufferParameteri64v@GOTPAGE Lloh71: ldr x8, [x8, _glad_glGetBufferParameteri64v@GOTPAGEOFF] Lloh72: str x0, [x8] Lloh73: adrp x0, l_.str.14@PAGE Lloh74: add x0, x0, l_.str.14@PAGEOFF blr x19 Lloh75: adrp x8, _glad_glFramebufferTexture@GOTPAGE Lloh76: ldr x8, [x8, _glad_glFramebufferTexture@GOTPAGEOFF] Lloh77: str x0, [x8] Lloh78: adrp x0, l_.str.15@PAGE Lloh79: add x0, x0, l_.str.15@PAGEOFF blr x19 Lloh80: adrp x8, _glad_glTexImage2DMultisample@GOTPAGE Lloh81: ldr x8, [x8, _glad_glTexImage2DMultisample@GOTPAGEOFF] Lloh82: str x0, [x8] Lloh83: adrp x0, l_.str.16@PAGE Lloh84: add x0, x0, l_.str.16@PAGEOFF blr x19 Lloh85: adrp x8, _glad_glTexImage3DMultisample@GOTPAGE Lloh86: ldr x8, [x8, _glad_glTexImage3DMultisample@GOTPAGEOFF] Lloh87: str x0, [x8] Lloh88: adrp x0, l_.str.17@PAGE Lloh89: add x0, x0, l_.str.17@PAGEOFF blr x19 Lloh90: adrp x8, _glad_glGetMultisamplefv@GOTPAGE Lloh91: ldr x8, [x8, _glad_glGetMultisamplefv@GOTPAGEOFF] Lloh92: str x0, [x8] Lloh93: adrp x0, l_.str.18@PAGE Lloh94: add x0, x0, l_.str.18@PAGEOFF blr x19 Lloh95: adrp x8, _glad_glSampleMaski@GOTPAGE Lloh96: ldr x8, [x8, _glad_glSampleMaski@GOTPAGEOFF] Lloh97: str x0, [x8] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh95, Lloh96, Lloh97 .loh AdrpAdd Lloh93, Lloh94 .loh AdrpLdrGotStr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotStr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotStr Lloh70, Lloh71, Lloh72 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpLdrGotStr Lloh65, Lloh66, Lloh67 .loh AdrpAdd Lloh63, Lloh64 .loh AdrpLdrGotStr Lloh60, Lloh61, Lloh62 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpLdrGotStr Lloh50, Lloh51, Lloh52 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpLdrGotStr Lloh45, Lloh46, Lloh47 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotStr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotStr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _GLAD_GL_VERSION_3_2,4,2 ; @GLAD_GL_VERSION_3_2 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "glDrawElementsBaseVertex" .comm _glad_glDrawElementsBaseVertex,8,3 ; @glad_glDrawElementsBaseVertex l_.str.1: ; @.str.1 .asciz "glDrawRangeElementsBaseVertex" .comm _glad_glDrawRangeElementsBaseVertex,8,3 ; @glad_glDrawRangeElementsBaseVertex l_.str.2: ; @.str.2 .asciz "glDrawElementsInstancedBaseVertex" .comm _glad_glDrawElementsInstancedBaseVertex,8,3 ; @glad_glDrawElementsInstancedBaseVertex l_.str.3: ; @.str.3 .asciz "glMultiDrawElementsBaseVertex" .comm _glad_glMultiDrawElementsBaseVertex,8,3 ; @glad_glMultiDrawElementsBaseVertex l_.str.4: ; @.str.4 .asciz "glProvokingVertex" .comm _glad_glProvokingVertex,8,3 ; @glad_glProvokingVertex l_.str.5: ; @.str.5 .asciz "glFenceSync" .comm _glad_glFenceSync,8,3 ; @glad_glFenceSync l_.str.6: ; @.str.6 .asciz "glIsSync" .comm _glad_glIsSync,8,3 ; @glad_glIsSync l_.str.7: ; @.str.7 .asciz "glDeleteSync" .comm _glad_glDeleteSync,8,3 ; @glad_glDeleteSync l_.str.8: ; @.str.8 .asciz "glClientWaitSync" .comm _glad_glClientWaitSync,8,3 ; @glad_glClientWaitSync l_.str.9: ; @.str.9 .asciz "glWaitSync" .comm _glad_glWaitSync,8,3 ; @glad_glWaitSync l_.str.10: ; @.str.10 .asciz "glGetInteger64v" .comm _glad_glGetInteger64v,8,3 ; @glad_glGetInteger64v l_.str.11: ; @.str.11 .asciz "glGetSynciv" .comm _glad_glGetSynciv,8,3 ; @glad_glGetSynciv l_.str.12: ; @.str.12 .asciz "glGetInteger64i_v" .comm _glad_glGetInteger64i_v,8,3 ; @glad_glGetInteger64i_v l_.str.13: ; @.str.13 .asciz "glGetBufferParameteri64v" .comm _glad_glGetBufferParameteri64v,8,3 ; @glad_glGetBufferParameteri64v l_.str.14: ; @.str.14 .asciz "glFramebufferTexture" .comm _glad_glFramebufferTexture,8,3 ; @glad_glFramebufferTexture l_.str.15: ; @.str.15 .asciz "glTexImage2DMultisample" .comm _glad_glTexImage2DMultisample,8,3 ; @glad_glTexImage2DMultisample l_.str.16: ; @.str.16 .asciz "glTexImage3DMultisample" .comm _glad_glTexImage3DMultisample,8,3 ; @glad_glTexImage3DMultisample l_.str.17: ; @.str.17 .asciz "glGetMultisamplefv" .comm _glad_glGetMultisamplefv,8,3 ; @glad_glGetMultisamplefv l_.str.18: ; @.str.18 .asciz "glSampleMaski" .comm _glad_glSampleMaski,8,3 ; @glad_glSampleMaski .no_dead_strip _load_GL_VERSION_3_2 .subsections_via_symbols
AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_VERSION_3_2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tipc_msg_make_bundle ## -- Begin function tipc_msg_make_bundle .p2align 4, 0x90 _tipc_msg_make_bundle: ## @tipc_msg_make_bundle .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, -48(%rbp) ## 4-byte Spill movl %edx, %r15d movq %rsi, %r13 movq %rdi, %r14 movq %rsi, %rdi callq _msg_size movl %eax, %ebx movq _INT_H_SIZE@GOTPCREL(%rip), %rax movl %r15d, %r12d subl (%rax), %r12d movq %r13, %rdi callq _msg_user movq _MSG_FRAGMENTER@GOTPCREL(%rip), %rcx xorl %edx, %edx cmpq (%rcx), %rax je LBB0_9 ## %bb.1: movl %r15d, -44(%rbp) ## 4-byte Spill movq %r13, %rdi callq _msg_user movq _TUNNEL_PROTOCOL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 LBB0_8: xorl %edx, %edx LBB0_9: movl %edx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r13, %rdi callq _msg_user movq _BCAST_PROTOCOL@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_8 ## %bb.4: movl %r12d, %eax shrl $31, %eax addl %r12d, %eax sarl %eax cmpl %eax, %ebx jg LBB0_8 ## %bb.5: movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r12d, %edi callq _tipc_buf_acquire testq %rax, %rax movl $0, %edx je LBB0_9 ## %bb.6: movq %rax, %r15 movq _INT_H_SIZE@GOTPCREL(%rip), %r12 movl (%r12), %esi movq %rax, %rdi callq _skb_trim movq %r15, %rdi callq _buf_msg movq %r13, %rbx movq %rax, %r13 movq %rbx, %rdi callq _msg_prevnode movq _MSG_BUNDLER@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl (%r12), %r8d movl %eax, %edi movq %r13, %rsi xorl %ecx, %ecx movl -48(%rbp), %r9d ## 4-byte Reload callq _tipc_msg_init movq %rbx, %rdi callq _msg_importance movq %r13, %rdi movl %eax, %esi callq _msg_set_importance movq %rbx, %rdi callq _msg_seqno movq %r13, %rdi movl %eax, %esi callq _msg_set_seqno movq %rbx, %rdi callq _msg_ack movq %r13, %rdi movl %eax, %esi callq _msg_set_ack movq %rbx, %rdi callq _msg_bcast_ack movq %r13, %rdi movl %eax, %esi callq _msg_set_bcast_ack movq %r15, %rdi movq %rbx, %rsi movl -44(%rbp), %edx ## 4-byte Reload callq _tipc_msg_bundle movq %r15, (%r14) movl $1, %edx jmp LBB0_9 .cfi_endproc ## -- End function .comm _INT_H_SIZE,4,2 ## @INT_H_SIZE .comm _MSG_FRAGMENTER,8,3 ## @MSG_FRAGMENTER .comm _TUNNEL_PROTOCOL,8,3 ## @TUNNEL_PROTOCOL .comm _BCAST_PROTOCOL,8,3 ## @BCAST_PROTOCOL .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _MSG_BUNDLER,4,2 ## @MSG_BUNDLER .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _tipc_msg_make_bundle ; -- Begin function tipc_msg_make_bundle .p2align 2 _tipc_msg_make_bundle: ; @tipc_msg_make_bundle .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x3 mov x20, x2 mov x21, x1 mov x19, x0 mov x0, x1 bl _msg_size mov x23, x0 Lloh0: adrp x25, _INT_H_SIZE@GOTPAGE Lloh1: ldr x25, [x25, _INT_H_SIZE@GOTPAGEOFF] ldr w24, [x25] mov x0, x21 bl _msg_user Lloh2: adrp x8, _MSG_FRAGMENTER@GOTPAGE Lloh3: ldr x8, [x8, _MSG_FRAGMENTER@GOTPAGEOFF] Lloh4: ldr x8, [x8] cmp x0, x8 b.eq LBB0_3 ; %bb.1: mov x0, x21 bl _msg_user Lloh5: adrp x8, _TUNNEL_PROTOCOL@GOTPAGE Lloh6: ldr x8, [x8, _TUNNEL_PROTOCOL@GOTPAGEOFF] Lloh7: ldr x8, [x8] cmp x0, x8 b.eq LBB0_3 ; %bb.2: sub w24, w20, w24 mov x0, x21 bl _msg_user Lloh8: adrp x8, _BCAST_PROTOCOL@GOTPAGE Lloh9: ldr x8, [x8, _BCAST_PROTOCOL@GOTPAGEOFF] Lloh10: ldr x8, [x8] cmp w24, #0 cinc w9, w24, lt asr w9, w9, #1 cmp x0, x8 ccmp w23, w9, #0, ne b.le LBB0_5 LBB0_3: mov w0, #0 LBB0_4: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_5: Lloh11: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh12: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov x0, x24 bl _tipc_buf_acquire cbz x0, LBB0_4 ; %bb.6: mov x23, x0 ldr w1, [x25] bl _skb_trim mov x0, x23 bl _buf_msg mov x24, x0 mov x0, x21 bl _msg_prevnode Lloh14: adrp x8, _MSG_BUNDLER@GOTPAGE Lloh15: ldr x8, [x8, _MSG_BUNDLER@GOTPAGEOFF] Lloh16: ldr w2, [x8] ldr w4, [x25] mov x1, x24 mov w3, #0 mov x5, x22 bl _tipc_msg_init mov x0, x21 bl _msg_importance mov x1, x0 mov x0, x24 bl _msg_set_importance mov x0, x21 bl _msg_seqno mov x1, x0 mov x0, x24 bl _msg_set_seqno mov x0, x21 bl _msg_ack mov x1, x0 mov x0, x24 bl _msg_set_ack mov x0, x21 bl _msg_bcast_ack mov x1, x0 mov x0, x24 bl _msg_set_bcast_ack mov x0, x23 mov x1, x21 mov x2, x20 bl _tipc_msg_bundle str x23, [x19] mov w0, #1 b LBB0_4 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _INT_H_SIZE,4,2 ; @INT_H_SIZE .comm _MSG_FRAGMENTER,8,3 ; @MSG_FRAGMENTER .comm _TUNNEL_PROTOCOL,8,3 ; @TUNNEL_PROTOCOL .comm _BCAST_PROTOCOL,8,3 ; @BCAST_PROTOCOL .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _MSG_BUNDLER,4,2 ; @MSG_BUNDLER .subsections_via_symbols
AnghaBench/linux/net/tipc/extr_msg.c_tipc_msg_make_bundle.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mwl8k_init_firmware _mwl8k_init_firmware: ## @mwl8k_init_firmware .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rsi, %r13 movq %rdi, %r14 movq 8(%rdi), %r12 movq _MAX_RESTART_ATTEMPTS@GOTPCREL(%rip), %rax movl (%rax), %r15d movq %r12, %rdi callq _mwl8k_hw_reset movq %r12, %rdi movq %r13, %rsi movl %ebx, -44(%rbp) ## 4-byte Spill movl %ebx, %edx callq _mwl8k_request_firmware movl %eax, %ebx testl %eax, %eax je LBB0_1 LBB0_8: movl (%r14), %edi leaq L_.str(%rip), %rsi callq _wiphy_err jmp LBB0_9 LBB0_1: movq %r13, -56(%rbp) ## 8-byte Spill xorl %ebx, %ebx cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_2 LBB0_9: movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: incl %r15d leaq L_.str.1(%rip), %r13 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _mwl8k_load_firmware testl %eax, %eax je LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %ebx movl (%r14), %edi movq %r13, %rsi callq _wiphy_err movq %r12, %rdi callq _mwl8k_release_firmware decl %r15d je LBB0_9 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movl (%r14), %edi leaq L_.str.2(%rip), %rsi callq _wiphy_err movl $20, %edi callq _msleep movq %r12, %rdi callq _mwl8k_hw_reset movq %r12, %rdi movq -56(%rbp), %rsi ## 8-byte Reload xorl %edx, %edx callq _mwl8k_request_firmware testl %eax, %eax je LBB0_3 ## %bb.7: movl %eax, %ebx jmp LBB0_8 LBB0_4: movq %r12, %rdi callq _mwl8k_release_firmware xorl %ebx, %ebx jmp LBB0_9 .cfi_endproc ## -- End function .comm _MAX_RESTART_ATTEMPTS,4,2 ## @MAX_RESTART_ATTEMPTS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Firmware files not found\n" L_.str.1: ## @.str.1 .asciz "Cannot start firmware\n" L_.str.2: ## @.str.2 .asciz "Trying to reload the firmware again\n" .no_dead_strip _mwl8k_init_firmware .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mwl8k_init_firmware _mwl8k_init_firmware: ; @mwl8k_init_firmware .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x2 mov x21, x1 mov x19, x0 ldr x20, [x0, #8] Lloh0: adrp x8, _MAX_RESTART_ATTEMPTS@GOTPAGE Lloh1: ldr x8, [x8, _MAX_RESTART_ATTEMPTS@GOTPAGEOFF] Lloh2: ldr w23, [x8] mov x0, x20 bl _mwl8k_hw_reset mov x0, x20 mov x1, x21 mov x2, x22 bl _mwl8k_request_firmware mov x24, x0 cbz w0, LBB0_2 LBB0_1: ldr w0, [x19] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _wiphy_err b LBB0_4 LBB0_2: cbz w22, LBB0_5 ; %bb.3: mov w24, #0 LBB0_4: mov x0, x24 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_5: add w25, w23, #1 Lloh5: adrp x22, l_.str.1@PAGE Lloh6: add x22, x22, l_.str.1@PAGEOFF Lloh7: adrp x23, l_.str.2@PAGE Lloh8: add x23, x23, l_.str.2@PAGEOFF LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _mwl8k_load_firmware mov x24, x0 cbz w0, LBB0_10 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x19] mov x1, x22 bl _wiphy_err mov x0, x20 bl _mwl8k_release_firmware subs w25, w25, #1 b.eq LBB0_4 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x19] mov x1, x23 bl _wiphy_err mov w0, #20 bl _msleep mov x0, x20 bl _mwl8k_hw_reset mov x0, x20 mov x1, x21 mov w2, #0 bl _mwl8k_request_firmware cbz w0, LBB0_6 ; %bb.9: mov x24, x0 b LBB0_1 LBB0_10: mov x0, x20 bl _mwl8k_release_firmware b LBB0_4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _MAX_RESTART_ATTEMPTS,4,2 ; @MAX_RESTART_ATTEMPTS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Firmware files not found\n" l_.str.1: ; @.str.1 .asciz "Cannot start firmware\n" l_.str.2: ; @.str.2 .asciz "Trying to reload the firmware again\n" .no_dead_strip _mwl8k_init_firmware .subsections_via_symbols
AnghaBench/linux/drivers/net/wireless/marvell/extr_mwl8k.c_mwl8k_init_firmware.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function check_matching_sample_rate _check_matching_sample_rate: ## @check_matching_sample_rate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rsi), %r8d movl $1, %eax cmpl $2, %r8d jl LBB0_5 ## %bb.1: movq (%rdi), %r9 movq 8(%rsi), %rsi movq (%rsi), %rcx movq (%r9,%rcx,8), %rcx movq (%rcx), %rcx movl (%rcx), %edi movl $1, %ecx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%rsi,%rcx,8), %rdx movq (%r9,%rdx,8), %rdx movq (%rdx), %rdx cmpl (%rdx), %edi jne LBB0_4 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 incq %rcx cmpq %rcx, %r8 jne LBB0_3 LBB0_5: popq %rbp retq LBB0_4: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _check_matching_sample_rate .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function check_matching_sample_rate _check_matching_sample_rate: ; @check_matching_sample_rate .cfi_startproc ; %bb.0: ldr w11, [x1] cmp w11, #2 b.ge LBB0_2 ; %bb.1: mov w0, #1 ret LBB0_2: ldr x8, [x1, #8] ldr x10, [x8], #8 ldr x9, [x0] ldr x10, [x9, x10, lsl #3] ldr x10, [x10] ldr w10, [x10] sub x11, x11, #1 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x12, [x8] ldr x12, [x9, x12, lsl #3] ldr x12, [x12] ldr w12, [x12] cmp w10, w12 b.ne LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x8, x8, #8 subs x11, x11, #1 b.ne LBB0_3 ; %bb.5: mov w0, #1 ret LBB0_6: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _check_matching_sample_rate .subsections_via_symbols
AnghaBench/FFmpeg/libavformat/extr_webmdashenc.c_check_matching_sample_rate.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pvr2_g_frequency _pvr2_g_frequency: ## @pvr2_g_frequency .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdx, %r14 movq (%rdi), %rax movq (%rax), %rax movq (%rax), %rbx movl $0, -20(%rbp) leaq -24(%rbp), %rsi movq %rbx, %rdi callq _pvr2_hdw_get_tuner_status testl %eax, %eax jne LBB0_9 ## %bb.1: movq _PVR2_CID_FREQUENCY@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _pvr2_hdw_get_ctrl_by_id leaq -20(%rbp), %rsi movl %eax, %edi callq _pvr2_ctrl_get_value testl %eax, %eax jne LBB0_9 ## %bb.2: movq _PVR2_CID_INPUT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _pvr2_hdw_get_ctrl_by_id leaq -28(%rbp), %rsi movl %eax, %edi callq _pvr2_ctrl_get_value movl -28(%rbp), %eax movq _PVR2_CVAL_INPUT_RADIO@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_3 ## %bb.4: movq _V4L2_TUNER_RADIO@GOTPCREL(%rip), %rax jmp LBB0_5 LBB0_3: movq _V4L2_TUNER_ANALOG_TV@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %eax movl %eax, 4(%r14) movq _V4L2_TUNER_CAP_LOW@GOTPCREL(%rip), %rax movl (%rax), %ecx movl -20(%rbp), %eax testl %ecx, -24(%rbp) je LBB0_7 ## %bb.6: addl %eax, %eax cltq imulq $274877907, %rax, %rax ## imm = 0x10624DD3 movq %rax, %rcx shrq $63, %rcx sarq $35, %rax jmp LBB0_8 LBB0_7: cltq imulq $1125899907, %rax, %rax ## imm = 0x431BDE83 movq %rax, %rcx shrq $63, %rcx sarq $46, %rax LBB0_8: addl %ecx, %eax movl %eax, (%r14) xorl %eax, %eax LBB0_9: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _PVR2_CID_FREQUENCY,4,2 ## @PVR2_CID_FREQUENCY .comm _PVR2_CID_INPUT,4,2 ## @PVR2_CID_INPUT .comm _PVR2_CVAL_INPUT_RADIO,4,2 ## @PVR2_CVAL_INPUT_RADIO .comm _V4L2_TUNER_RADIO,4,2 ## @V4L2_TUNER_RADIO .comm _V4L2_TUNER_ANALOG_TV,4,2 ## @V4L2_TUNER_ANALOG_TV .comm _V4L2_TUNER_CAP_LOW,4,2 ## @V4L2_TUNER_CAP_LOW .no_dead_strip _pvr2_g_frequency .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pvr2_g_frequency _pvr2_g_frequency: ; @pvr2_g_frequency .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 ldr x8, [x0] ldr x8, [x8] ldr x20, [x8] str wzr, [sp, #12] mov x1, sp mov x0, x20 bl _pvr2_hdw_get_tuner_status cbnz w0, LBB0_3 ; %bb.1: Lloh0: adrp x8, _PVR2_CID_FREQUENCY@GOTPAGE Lloh1: ldr x8, [x8, _PVR2_CID_FREQUENCY@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x20 bl _pvr2_hdw_get_ctrl_by_id add x1, sp, #12 bl _pvr2_ctrl_get_value cbnz w0, LBB0_3 ; %bb.2: Lloh3: adrp x8, _PVR2_CID_INPUT@GOTPAGE Lloh4: ldr x8, [x8, _PVR2_CID_INPUT@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x20 bl _pvr2_hdw_get_ctrl_by_id add x1, sp, #8 bl _pvr2_ctrl_get_value mov w0, #0 ldr w8, [sp, #8] Lloh6: adrp x9, _PVR2_CVAL_INPUT_RADIO@GOTPAGE Lloh7: ldr x9, [x9, _PVR2_CVAL_INPUT_RADIO@GOTPAGEOFF] Lloh8: adrp x10, _V4L2_TUNER_RADIO@GOTPAGE Lloh9: ldr x10, [x10, _V4L2_TUNER_RADIO@GOTPAGEOFF] Lloh10: adrp x11, _V4L2_TUNER_ANALOG_TV@GOTPAGE Lloh11: ldr x11, [x11, _V4L2_TUNER_ANALOG_TV@GOTPAGEOFF] Lloh12: ldr w9, [x9] cmp w8, w9 csel x8, x10, x11, eq ldr w9, [sp] Lloh13: adrp x10, _V4L2_TUNER_CAP_LOW@GOTPAGE Lloh14: ldr x10, [x10, _V4L2_TUNER_CAP_LOW@GOTPAGEOFF] Lloh15: ldr w10, [x10] tst w10, w9 ldr w9, [sp, #12] mov w10, #56963 movk w10, #17179, lsl #16 smull x10, w9, w10 lsr x11, x10, #63 asr x10, x10, #46 add w10, w10, w11 lsl w9, w9, #1 mov w11, #19923 movk w11, #4194, lsl #16 smull x9, w9, w11 lsr x11, x9, #63 asr x9, x9, #35 add w9, w9, w11 ldr w8, [x8] csel w9, w10, w9, eq stp w9, w8, [x19] LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh12 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _PVR2_CID_FREQUENCY,4,2 ; @PVR2_CID_FREQUENCY .comm _PVR2_CID_INPUT,4,2 ; @PVR2_CID_INPUT .comm _PVR2_CVAL_INPUT_RADIO,4,2 ; @PVR2_CVAL_INPUT_RADIO .comm _V4L2_TUNER_RADIO,4,2 ; @V4L2_TUNER_RADIO .comm _V4L2_TUNER_ANALOG_TV,4,2 ; @V4L2_TUNER_ANALOG_TV .comm _V4L2_TUNER_CAP_LOW,4,2 ; @V4L2_TUNER_CAP_LOW .no_dead_strip _pvr2_g_frequency .subsections_via_symbols
AnghaBench/linux/drivers/media/usb/pvrusb2/extr_pvrusb2-v4l2.c_pvr2_g_frequency.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _virtio_gpu_gem_object_close ## -- Begin function virtio_gpu_gem_object_close .p2align 4, 0x90 _virtio_gpu_gem_object_close: ## @virtio_gpu_gem_object_close .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq (%rdi), %rax movq (%rax), %rbx movq (%rsi), %r15 callq _gem_to_virtio_gpu_obj cmpl $0, (%rbx) je LBB0_2 ## %bb.1: movq %rax, %r14 movq %rax, %rdi xorl %esi, %esi callq _virtio_gpu_object_reserve testl %eax, %eax je LBB0_3 LBB0_2: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_3: movl (%r15), %esi movl (%r14), %edx movq %rbx, %rdi callq _virtio_gpu_cmd_context_detach_resource movq %r14, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _virtio_gpu_object_unreserve ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _virtio_gpu_gem_object_close ; -- Begin function virtio_gpu_gem_object_close .p2align 2 _virtio_gpu_gem_object_close: ; @virtio_gpu_gem_object_close .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ldr x8, [x0] ldr x19, [x8] ldr x21, [x1] bl _gem_to_virtio_gpu_obj ldr w8, [x19] cbz w8, LBB0_2 ; %bb.1: mov x20, x0 mov w1, #0 bl _virtio_gpu_object_reserve cbz w0, LBB0_3 LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_3: ldr w1, [x21] ldr w2, [x20] mov x0, x19 bl _virtio_gpu_cmd_context_detach_resource mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _virtio_gpu_object_unreserve .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/virtio/extr_virtgpu_gem.c_virtio_gpu_gem_object_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function snd_ice1712_ews88mt_output_sense_get _snd_ice1712_ews88mt_output_sense_get: ## @snd_ice1712_ews88mt_output_sense_get .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 callq _snd_kcontrol_chip movq %rax, %rbx movq 8(%rax), %r15 movl (%rax), %edi callq _snd_i2c_lock movq (%r15), %rax movq _EWS_I2C_PCF2@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rax,%rcx,4), %edi leaq -25(%rbp), %rsi movl $1, %edx callq _snd_i2c_readbytes movl %eax, %r15d movl (%rbx), %edi callq _snd_i2c_unlock cmpl $1, %r15d jne LBB0_1 ## %bb.2: movq _ICE1712_EWS88MT_OUTPUT_SENSE@GOTPCREL(%rip), %rax movb (%rax), %al xorl %ecx, %ecx andb -25(%rbp), %al setne %cl movq (%r14), %rax movl %ecx, (%rax) xorl %eax, %eax jmp LBB0_3 LBB0_1: movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EWS_I2C_PCF2,8,3 ## @EWS_I2C_PCF2 .comm _EIO,4,2 ## @EIO .comm _ICE1712_EWS88MT_OUTPUT_SENSE,1,0 ## @ICE1712_EWS88MT_OUTPUT_SENSE .no_dead_strip _snd_ice1712_ews88mt_output_sense_get .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function snd_ice1712_ews88mt_output_sense_get _snd_ice1712_ews88mt_output_sense_get: ; @snd_ice1712_ews88mt_output_sense_get .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 bl _snd_kcontrol_chip mov x20, x0 ldr x21, [x0, #8] ldr w0, [x0] bl _snd_i2c_lock ldr x8, [x21] Lloh0: adrp x9, _EWS_I2C_PCF2@GOTPAGE Lloh1: ldr x9, [x9, _EWS_I2C_PCF2@GOTPAGEOFF] Lloh2: ldr x9, [x9] ldr w0, [x8, x9, lsl #2] add x1, sp, #15 mov w2, #1 bl _snd_i2c_readbytes mov x21, x0 ldr w0, [x20] bl _snd_i2c_unlock cmp w21, #1 b.ne LBB0_2 ; %bb.1: mov w0, #0 Lloh3: adrp x8, _ICE1712_EWS88MT_OUTPUT_SENSE@GOTPAGE Lloh4: ldr x8, [x8, _ICE1712_EWS88MT_OUTPUT_SENSE@GOTPAGEOFF] ldrb w9, [sp, #15] ldrb w8, [x8] tst w8, w9 cset w8, ne ldr x9, [x19] str w8, [x9] b LBB0_3 LBB0_2: Lloh5: adrp x8, _EIO@GOTPAGE Lloh6: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 LBB0_3: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _EWS_I2C_PCF2,8,3 ; @EWS_I2C_PCF2 .comm _EIO,4,2 ; @EIO .comm _ICE1712_EWS88MT_OUTPUT_SENSE,1,0 ; @ICE1712_EWS88MT_OUTPUT_SENSE .no_dead_strip _snd_ice1712_ews88mt_output_sense_get .subsections_via_symbols
AnghaBench/linux/sound/pci/ice1712/extr_ews.c_snd_ice1712_ews88mt_output_sense_get.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ## -- Begin function foo .p2align 4, 0x90 _foo: ## @foo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## InlineAsm Start ## InlineAsm End popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_foo.test,4,2 ## @foo.test .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _foo ; -- Begin function foo .p2align 2 _foo: ; @foo .cfi_startproc ; %bb.0: Lloh0: adrp x8, _foo.test@PAGE Lloh1: add x8, x8, _foo.test@PAGEOFF ; InlineAsm Start ; InlineAsm End ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_foo.test,4,2 ; @foo.test .subsections_via_symbols
the_stack_data/127007.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Hello, World!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Hello, World!" .subsections_via_symbols
the_stack_data/1061414.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $176, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq -200(%rbp), %rbx movq %rbx, %rdi callq _time movq %rbx, %rdi callq _ctime leaq L_.str(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf leaq -192(%rbp), %rbx movq %rbx, %rdi callq _time leaq -184(%rbp), %r14 movq %r14, %rdi callq _time movq %rbx, %rdi callq _gmtime movq %rax, %rdi callq _asctime leaq L_.str.1(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movq %r14, %rdi callq _localtime movq %rax, %rdi callq _asctime leaq L_.str.2(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf xorps %xmm0, %xmm0 movaps %xmm0, -64(%rbp) movaps %xmm0, -80(%rbp) movaps %xmm0, -96(%rbp) movaps %xmm0, -112(%rbp) movaps %xmm0, -128(%rbp) movaps %xmm0, -144(%rbp) movaps %xmm0, -160(%rbp) movaps %xmm0, -176(%rbp) leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _printf movq %rbx, %rdi callq _gmtime leaq L_.str.4(%rip), %r15 leaq -176(%rbp), %rbx movl $128, %esi movq %rbx, %rdi movq %r15, %rdx movq %rax, %rcx callq _strftime leaq L_.str.5(%rip), %r12 movq %r12, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, %rdi callq _localtime movl $128, %esi movq %rbx, %rdi movq %r15, %rdx movq %rax, %rcx callq _strftime movq %r12, %rdi movq %rbx, %rsi xorl %eax, %eax callq _printf movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_2 ## %bb.1: xorl %eax, %eax addq $176, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Current time is: %s\n" L_.str.1: ## @.str.1 .asciz "UCT is : %s\n" L_.str.2: ## @.str.2 .asciz "Local time is : %s\n" L_.str.3: ## @.str.3 .asciz "Globle time is: " L_.str.4: ## @.str.4 .asciz "%Z" L_.str.5: ## @.str.5 .asciz "Time zone is: %s\n" L_.str.6: ## @.str.6 .asciz "Local time is: " .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #224 .cfi_def_cfa_offset 224 stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] add x0, sp, #24 bl _time add x0, sp, #24 bl _ctime str x0, [sp] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _printf add x0, sp, #16 bl _time add x0, sp, #8 bl _time add x0, sp, #16 bl _gmtime bl _asctime str x0, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _printf add x0, sp, #8 bl _localtime bl _asctime str x0, [sp] Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _printf movi.2d v0, #0000000000000000 stp q0, q0, [sp, #128] stp q0, q0, [sp, #96] stp q0, q0, [sp, #64] stp q0, q0, [sp, #32] Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _printf add x0, sp, #16 bl _gmtime mov x3, x0 Lloh11: adrp x19, l_.str.4@PAGE Lloh12: add x19, x19, l_.str.4@PAGEOFF add x21, sp, #32 add x0, sp, #32 mov w1, #128 mov x2, x19 bl _strftime str x21, [sp] Lloh13: adrp x20, l_.str.5@PAGE Lloh14: add x20, x20, l_.str.5@PAGEOFF mov x0, x20 bl _printf Lloh15: adrp x0, l_.str.6@PAGE Lloh16: add x0, x0, l_.str.6@PAGEOFF bl _printf add x0, sp, #8 bl _localtime mov x3, x0 add x0, sp, #32 mov w1, #128 mov x2, x19 bl _strftime str x21, [sp] mov x0, x20 bl _printf ldur x8, [x29, #-40] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: mov w0, #0 ldp x29, x30, [sp, #208] ; 16-byte Folded Reload ldp x20, x19, [sp, #192] ; 16-byte Folded Reload ldp x22, x21, [sp, #176] ; 16-byte Folded Reload add sp, sp, #224 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Current time is: %s\n" l_.str.1: ; @.str.1 .asciz "UCT is : %s\n" l_.str.2: ; @.str.2 .asciz "Local time is : %s\n" l_.str.3: ; @.str.3 .asciz "Globle time is: " l_.str.4: ; @.str.4 .asciz "%Z" l_.str.5: ; @.str.5 .asciz "Time zone is: %s\n" l_.str.6: ; @.str.6 .asciz "Local time is: " .subsections_via_symbols
the_stack_data/150141111.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function vega10_set_sclk_od _vega10_set_sclk_od: ## @vega10_set_sclk_od .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq 8(%rdi), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.2: movl %esi, %ebx movq 16(%r14), %r15 callq _cast_phw_vega10_power_state movq 8(%r15), %rcx movslq (%r15), %rdx movl -4(%rcx,%rdx,4), %ecx imull %ecx, %ebx movslq %ebx, %rdx imulq $1374389535, %rdx, %rdx ## imm = 0x51EB851F movq %rdx, %rsi shrq $63, %rsi sarq $37, %rdx addl %esi, %edx addl %ecx, %edx movq 8(%rax), %rcx movslq (%rax), %rax movl %edx, -4(%rcx,%rax,4) movl (%r14), %esi xorl %ebx, %ebx cmpl %esi, %edx jle LBB0_4 ## %bb.3: movl %esi, -4(%rcx,%rax,4) leaq L_.str(%rip), %rdi callq _pr_warn jmp LBB0_4 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_4: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "max sclk supported by vbios is %d\n" .no_dead_strip _vega10_set_sclk_od .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function vega10_set_sclk_od _vega10_set_sclk_od: ; @vega10_set_sclk_od .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x0, [x0, #8] cbz x0, LBB0_4 ; %bb.1: mov x20, x1 ldr x21, [x19, #16] bl _cast_phw_vega10_power_state ldr x8, [x21, #8] ldrsw x9, [x21] add x8, x8, x9, lsl #2 ldur w8, [x8, #-4] mul w9, w8, w20 mov w10, #34079 movk w10, #20971, lsl #16 smull x9, w9, w10 lsr x10, x9, #63 asr x9, x9, #37 add w9, w9, w10 add w10, w9, w8 ldr x8, [x0, #8] ldrsw x9, [x0] sub x9, x9, #1 str w10, [x8, x9, lsl #2] ldr w1, [x19] cmp w10, w1 b.le LBB0_3 ; %bb.2: str w1, [x8, x9, lsl #2] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _pr_warn LBB0_3: mov w0, #0 b LBB0_5 LBB0_4: Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh4: ldr w8, [x8] neg w0, w8 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "max sclk supported by vbios is %d\n" .no_dead_strip _vega10_set_sclk_od .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/powerplay/hwmgr/extr_vega10_hwmgr.c_vega10_set_sclk_od.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _device_get_softc ## -- Begin function device_get_softc .p2align 4, 0x90 _device_get_softc: ## @device_get_softc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _device_get_softc ; -- Begin function device_get_softc .p2align 2 _device_get_softc: ; @device_get_softc .cfi_startproc ; %bb.0: ldr x0, [x0] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/kern/extr_subr_bus.c_device_get_softc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ixl_tso_detect_sparse _ixl_tso_detect_sparse: ## @ixl_tso_detect_sparse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, -64(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill movq _IXL_MAX_TX_SEGS@GOTPCREL(%rip), %rax movl (%rax), %eax leal -2(%rax), %ecx xorl %r12d, %r12d movl %esi, -48(%rbp) ## 4-byte Spill cmpl %esi, %ecx jge LBB0_10 ## %bb.1: movq -64(%rbp), %rcx ## 8-byte Reload movl 8(%rcx), %r14d addl 4(%rcx), %r14d addl 12(%rcx), %r14d movl 16(%rcx), %r15d movq -56(%rbp), %rcx ## 8-byte Reload movl (%rcx), %ebx xorl %r13d, %r13d testl %r14d, %r14d jle LBB0_2 ## %bb.5: movl $1, %r12d cmpl $3, %eax jl LBB0_10 ## %bb.6: xorl %r12d, %r12d movl $1, %r13d movl %r14d, -44(%rbp) ## 4-byte Spill .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 testl %ebx, %ebx jne LBB0_12 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 incl %r12d xorl %edi, %edi cmpl -48(%rbp), %r12d ## 4-byte Folded Reload sete %dil callq ___predict_false testq %rax, %rax jne LBB0_9 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movslq %r12d, %rax movq -56(%rbp), %rcx ## 8-byte Reload movl (%rcx,%rax,4), %ebx LBB0_12: ## in Loop: Header=BB0_7 Depth=1 movl %ebx, %edi movl %r14d, %esi callq _min subl %eax, %ebx subl %eax, %r14d jle LBB0_13 ## %bb.14: ## in Loop: Header=BB0_7 Depth=1 movq _IXL_MAX_TX_SEGS@GOTPCREL(%rip), %rax movl (%rax), %eax leal 1(%r13), %ecx addl $-2, %eax cmpl %eax, %r13d movl %ecx, %r13d jl LBB0_7 LBB0_9: movl $1, %r12d jmp LBB0_10 LBB0_2: xorl %eax, %eax jmp LBB0_3 LBB0_13: movl %r12d, %eax movl -44(%rbp), %r14d ## 4-byte Reload LBB0_3: subl %r14d, %r15d movl $0, %r12d testl %r15d, %r15d jle LBB0_10 ## %bb.4: movl %r13d, %r12d jmp LBB0_16 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_16 Depth=1 xorl %r12d, %r12d testl %r15d, %r15d movl -44(%rbp), %eax ## 4-byte Reload jle LBB0_10 LBB0_16: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 movl %eax, -44(%rbp) ## 4-byte Spill movq -64(%rbp), %rax ## 8-byte Reload movl (%rax), %r13d testl %r13d, %r13d jle LBB0_15 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 decl %r12d movl %r12d, %r14d .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_16 Depth=1 ## => This Inner Loop Header: Depth=2 movq _IXL_MAX_TX_SEGS@GOTPCREL(%rip), %rax movl (%rax), %eax addl $-2, %eax incl %r14d movl $1, %r12d cmpl %eax, %r14d jge LBB0_10 ## %bb.19: ## in Loop: Header=BB0_18 Depth=2 testl %ebx, %ebx jne LBB0_22 ## %bb.20: ## in Loop: Header=BB0_18 Depth=2 movl -44(%rbp), %ebx ## 4-byte Reload incl %ebx xorl %edi, %edi cmpl -48(%rbp), %ebx ## 4-byte Folded Reload sete %dil callq ___predict_false testq %rax, %rax jne LBB0_10 ## %bb.21: ## in Loop: Header=BB0_18 Depth=2 movl %ebx, -44(%rbp) ## 4-byte Spill movslq %ebx, %rax movq -56(%rbp), %rcx ## 8-byte Reload movl (%rcx,%rax,4), %ebx LBB0_22: ## in Loop: Header=BB0_18 Depth=2 movl %ebx, %edi movl %r13d, %esi callq _min subl %eax, %ebx subl %eax, %r15d subl %eax, %r13d jle LBB0_15 ## %bb.23: ## in Loop: Header=BB0_18 Depth=2 testl %r15d, %r15d jne LBB0_18 jmp LBB0_15 LBB0_10: movl %r12d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IXL_MAX_TX_SEGS,4,2 ## @IXL_MAX_TX_SEGS .no_dead_strip _ixl_tso_detect_sparse .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ixl_tso_detect_sparse _ixl_tso_detect_sparse: ; @ixl_tso_detect_sparse .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x24, _IXL_MAX_TX_SEGS@GOTPAGE Lloh1: ldr x24, [x24, _IXL_MAX_TX_SEGS@GOTPAGEOFF] ldr w8, [x24] sub w9, w8, #2 cmp w9, w1 b.ge LBB0_13 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 ldp w9, w10, [x2, #4] ldp w11, w26, [x2, #12] add w9, w10, w9 add w28, w9, w11 ldr w22, [x0] cmp w28, #1 b.lt LBB0_10 ; %bb.2: cmp w8, #3 b.lt LBB0_9 ; %bb.3: mov w25, #0 mov w27, #1 mov x23, x28 LBB0_4: ; =>This Inner Loop Header: Depth=1 cbnz w22, LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ; kill: def $w25 killed $w25 killed $x25 def $x25 sxtw x8, w25 add x25, x8, #1 cmp w25, w20 cset w0, eq bl ___predict_false cbnz x0, LBB0_9 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w22, [x21, x25, lsl #2] LBB0_7: ; in Loop: Header=BB0_4 Depth=1 mov x0, x22 mov x1, x23 bl _min sub w22, w22, w0 sub w23, w23, w0 cmp w23, #1 b.lt LBB0_11 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x24] add w9, w27, #1 sub w8, w8, #2 cmp w27, w8 mov x27, x9 b.lt LBB0_4 LBB0_9: mov w0, #1 b LBB0_14 LBB0_10: mov w27, #0 mov w25, #0 b LBB0_12 LBB0_11: ; kill: def $w25 killed $w25 killed $x25 def $x25 LBB0_12: sub w26, w26, w28 cmp w26, #1 b.ge LBB0_16 LBB0_13: mov w0, #0 LBB0_14: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_15: ; in Loop: Header=BB0_16 Depth=1 mov w27, #0 mov w0, #0 cmp w26, #1 b.lt LBB0_14 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_18 Depth 2 ldr w23, [x19] cmp w23, #1 b.lt LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 sub w27, w27, #1 LBB0_18: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x24] sub w8, w8, #2 add w27, w27, #1 cmp w27, w8 b.ge LBB0_9 ; %bb.19: ; in Loop: Header=BB0_18 Depth=2 cbnz w22, LBB0_22 ; %bb.20: ; in Loop: Header=BB0_18 Depth=2 ; kill: def $w25 killed $w25 killed $x25 def $x25 sxtw x8, w25 add x25, x8, #1 cmp w25, w20 cset w0, eq bl ___predict_false cbnz x0, LBB0_9 ; %bb.21: ; in Loop: Header=BB0_18 Depth=2 ldr w22, [x21, x25, lsl #2] LBB0_22: ; in Loop: Header=BB0_18 Depth=2 mov x0, x22 mov x1, x23 bl _min sub w23, w23, w0 sub w22, w22, w0 sub w26, w26, w0 cmp w23, #1 b.lt LBB0_15 ; %bb.23: ; in Loop: Header=BB0_18 Depth=2 cbnz w26, LBB0_18 b LBB0_15 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _IXL_MAX_TX_SEGS,4,2 ; @IXL_MAX_TX_SEGS .no_dead_strip _ixl_tso_detect_sparse .subsections_via_symbols
AnghaBench/freebsd/sys/dev/ixl/extr_ixl_txrx.c_ixl_tso_detect_sparse.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function process_iTXt _process_iTXt: ## @process_iTXt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq 8(%rdi), %r15 xorl %ebx, %ebx movl $0, %edi testq %r15, %r15 je LBB0_2 ## %bb.1: xorl %edi, %edi cmpq $0, (%r14) sete %dil LBB0_2: callq _assert movl (%r15), %r12d movq %r15, %rdi callq _setpos cmpl $4, %r12d movl $4, %eax cmovll %r12d, %eax movl %r12d, %r15d subl %eax, %r15d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 cmpl %ebx, %r15d je LBB0_11 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 incl %ebx movq %r14, %rdi callq _reread_byte testq %rax, %rax jne LBB0_3 ## %bb.5: movq %r14, %rdi callq _reread_byte testq %rax, %rax je LBB0_6 ## %bb.7: subl %ebx, %r12d leal 1(%r12), %r15d movq %r14, %rdi callq _reread_byte cmpl $12, %r15d jl LBB0_11 ## %bb.8: addl $4, %ebx addl $-2, %r12d .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _reread_byte testq %rax, %rax je LBB0_14 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 decl %r12d incl %ebx cmpl $8, %r12d ja LBB0_9 LBB0_11: movq _INVALID_ERROR_CODE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx movq %r14, %rdi callq _log_error xorl %eax, %eax LBB0_12: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_14 Depth=1 decl %r12d incl %ebx cmpl $9, %r12d jl LBB0_11 LBB0_14: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi callq _reread_byte testq %rax, %rax jne LBB0_13 ## %bb.15: movq %r14, %rdi movl %ebx, %esi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _zlib_check ## TAILCALL LBB0_6: movl $1, %eax jmp LBB0_12 .cfi_endproc ## -- End function .comm _INVALID_ERROR_CODE,4,2 ## @INVALID_ERROR_CODE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "iTXt chunk length" .no_dead_strip _process_iTXt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function process_iTXt _process_iTXt: ; @process_iTXt .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x20, [x0, #8] cbz x20, LBB0_2 ; %bb.1: ldr x8, [x19] cmp x8, #0 cset w0, eq b LBB0_3 LBB0_2: mov w0, #0 LBB0_3: bl _assert ldr w21, [x20] mov x0, x20 bl _setpos mov w20, #0 mov w8, #4 cmp w21, #4 csel w8, w21, w8, lt sub w22, w21, w8 LBB0_4: ; =>This Inner Loop Header: Depth=1 cmp w22, w20 b.eq LBB0_11 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add w20, w20, #1 mov x0, x19 bl _reread_byte cbnz x0, LBB0_4 ; %bb.6: mov x0, x19 bl _reread_byte cbz x0, LBB0_16 ; %bb.7: sub w8, w21, w20 add w22, w8, #1 mov x0, x19 bl _reread_byte cmp w22, #12 b.lt LBB0_11 ; %bb.8: neg w20, w20 sub w21, w21, #2 LBB0_9: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _reread_byte cbz x0, LBB0_14 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 sub w20, w20, #1 add w8, w21, w20 cmp w8, #8 b.hi LBB0_9 LBB0_11: Lloh0: adrp x8, _INVALID_ERROR_CODE@GOTPAGE Lloh1: ldr x8, [x8, _INVALID_ERROR_CODE@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF mov x0, x19 bl _log_error mov w0, #0 LBB0_12: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_13: ; in Loop: Header=BB0_14 Depth=1 sub w20, w20, #1 add w8, w21, w20 cmp w8, #9 b.lt LBB0_11 LBB0_14: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _reread_byte cbnz x0, LBB0_13 ; %bb.15: mov w8, #4 sub w1, w8, w20 mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _zlib_check LBB0_16: mov w0, #1 b LBB0_12 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _INVALID_ERROR_CODE,4,2 ; @INVALID_ERROR_CODE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "iTXt chunk length" .no_dead_strip _process_iTXt .subsections_via_symbols
AnghaBench/Provenance/Cores/Mupen64Plus/png/contrib/tools/extr_pngfix.c_process_iTXt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vmpressure ## -- Begin function vmpressure .p2align 4, 0x90 _vmpressure: ## @vmpressure .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, %rbx movl %edx, %r13d movq %rsi, %r14 movl %edi, %r15d movq %rsi, %rdi callq _memcg_to_vmpressure testq %rbx, %rbx je LBB0_10 ## %bb.1: movq %rax, %r12 movq ___GFP_HIGHMEM@GOTPCREL(%rip), %rax movq ___GFP_MOVABLE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq ___GFP_IO@GOTPCREL(%rip), %rax orl (%rax), %ecx movq ___GFP_FS@GOTPCREL(%rip), %rax orl (%rax), %ecx andl %r15d, %ecx je LBB0_10 ## %bb.2: testl %r13d, %r13d je LBB0_5 ## %bb.3: leaq 32(%r12), %r14 movq %r14, %rdi callq _spin_lock addq (%r12), %rbx movq %rbx, (%r12) movq -48(%rbp), %rax ## 8-byte Reload addq %rax, 8(%r12) movq %r14, %rdi callq _spin_unlock movq _vmpressure_win@GOTPCREL(%rip), %rax cmpq (%rax), %rbx jb LBB0_10 ## %bb.4: addq $36, %r12 movq %r12, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _schedule_work ## TAILCALL LBB0_5: testq %r14, %r14 je LBB0_10 ## %bb.6: movq _root_mem_cgroup@GOTPCREL(%rip), %rax cmpq %r14, (%rax) je LBB0_10 ## %bb.7: leaq 32(%r12), %r13 movq %r13, %rdi callq _spin_lock addq 16(%r12), %rbx movq %rbx, 16(%r12) movq -48(%rbp), %r15 ## 8-byte Reload addq 24(%r12), %r15 movq %r15, 24(%r12) movq _vmpressure_win@GOTPCREL(%rip), %rax cmpq (%rax), %rbx jae LBB0_8 ## %bb.11: movq %r13, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _spin_unlock ## TAILCALL LBB0_8: addq $16, %r12 xorps %xmm0, %xmm0 movups %xmm0, (%r12) movq %r13, %rdi callq _spin_unlock movq %rbx, %rdi movq %r15, %rsi callq _vmpressure_calc_level movq _VMPRESSURE_LOW@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jbe LBB0_10 ## %bb.9: movq _jiffies@GOTPCREL(%rip), %rax movq _HZ@GOTPCREL(%rip), %rcx movq (%rcx), %rcx addq (%rax), %rcx movq %rcx, (%r14) LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm ___GFP_HIGHMEM,4,2 ## @__GFP_HIGHMEM .comm ___GFP_MOVABLE,4,2 ## @__GFP_MOVABLE .comm ___GFP_IO,4,2 ## @__GFP_IO .comm ___GFP_FS,4,2 ## @__GFP_FS .comm _vmpressure_win,8,3 ## @vmpressure_win .comm _root_mem_cgroup,8,3 ## @root_mem_cgroup .comm _VMPRESSURE_LOW,4,2 ## @VMPRESSURE_LOW .comm _jiffies,8,3 ## @jiffies .comm _HZ,8,3 ## @HZ .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _vmpressure ; -- Begin function vmpressure .p2align 2 _vmpressure: ; @vmpressure .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x4 mov x22, x3 mov x23, x2 mov x19, x1 mov x24, x0 mov x0, x1 bl _memcg_to_vmpressure cbz x22, LBB0_11 ; %bb.1: Lloh0: adrp x8, ___GFP_HIGHMEM@GOTPAGE Lloh1: ldr x8, [x8, ___GFP_HIGHMEM@GOTPAGEOFF] Lloh2: adrp x9, ___GFP_MOVABLE@GOTPAGE Lloh3: ldr x9, [x9, ___GFP_MOVABLE@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: ldr w9, [x9] orr w8, w9, w8 Lloh6: adrp x9, ___GFP_IO@GOTPAGE Lloh7: ldr x9, [x9, ___GFP_IO@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w8, w8, w9 Lloh9: adrp x9, ___GFP_FS@GOTPAGE Lloh10: ldr x9, [x9, ___GFP_FS@GOTPAGEOFF] Lloh11: ldr w9, [x9] orr w8, w8, w9 and w8, w8, w24 cbz w8, LBB0_11 ; %bb.2: mov x20, x0 cbz w23, LBB0_5 ; %bb.3: add x19, x20, #32 mov x0, x19 bl _spin_lock ldp x8, x9, [x20] add x22, x8, x22 add x8, x9, x21 stp x22, x8, [x20] mov x0, x19 bl _spin_unlock Lloh12: adrp x8, _vmpressure_win@GOTPAGE Lloh13: ldr x8, [x8, _vmpressure_win@GOTPAGEOFF] Lloh14: ldr x8, [x8] cmp x22, x8 b.lo LBB0_11 ; %bb.4: add x0, x20, #36 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _schedule_work LBB0_5: cbz x19, LBB0_11 ; %bb.6: Lloh15: adrp x8, _root_mem_cgroup@GOTPAGE Lloh16: ldr x8, [x8, _root_mem_cgroup@GOTPAGEOFF] Lloh17: ldr x8, [x8] cmp x8, x19 b.eq LBB0_11 ; %bb.7: add x23, x20, #32 mov x0, x23 bl _spin_lock ldp x8, x9, [x20, #16]! Lloh18: adrp x10, _vmpressure_win@GOTPAGE Lloh19: ldr x10, [x10, _vmpressure_win@GOTPAGEOFF] add x21, x9, x21 Lloh20: ldr x9, [x10] add x22, x8, x22 cmp x22, x9 stp x22, x21, [x20] b.hs LBB0_9 ; %bb.8: mov x0, x23 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _spin_unlock LBB0_9: stp xzr, xzr, [x20] mov x0, x23 bl _spin_unlock mov x0, x22 mov x1, x21 bl _vmpressure_calc_level Lloh21: adrp x8, _VMPRESSURE_LOW@GOTPAGE Lloh22: ldr x8, [x8, _VMPRESSURE_LOW@GOTPAGEOFF] Lloh23: ldr w8, [x8] cmp w0, w8 b.ls LBB0_11 ; %bb.10: Lloh24: adrp x8, _jiffies@GOTPAGE Lloh25: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh26: ldr x8, [x8] Lloh27: adrp x9, _HZ@GOTPAGE Lloh28: ldr x9, [x9, _HZ@GOTPAGEOFF] Lloh29: ldr x9, [x9] add x8, x9, x8 str x8, [x19] LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .cfi_endproc ; -- End function .comm ___GFP_HIGHMEM,4,2 ; @__GFP_HIGHMEM .comm ___GFP_MOVABLE,4,2 ; @__GFP_MOVABLE .comm ___GFP_IO,4,2 ; @__GFP_IO .comm ___GFP_FS,4,2 ; @__GFP_FS .comm _vmpressure_win,8,3 ; @vmpressure_win .comm _root_mem_cgroup,8,3 ; @root_mem_cgroup .comm _VMPRESSURE_LOW,4,2 ; @VMPRESSURE_LOW .comm _jiffies,8,3 ; @jiffies .comm _HZ,8,3 ; @HZ .subsections_via_symbols
AnghaBench/linux/mm/extr_vmpressure.c_vmpressure.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _timeout ## -- Begin function timeout .p2align 4, 0x90 _timeout: ## @timeout .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx movq _TIMEOUT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movq $0, -48(%rbp) leaq -28(%rbp), %r15 movq %r15, %rdi callq _FD_ZERO movl %ebx, %edi movq %r15, %rsi callq _FD_SET incl %ebx xorl %r14d, %r14d leaq -48(%rbp), %r8 movl %ebx, %edi movq %r15, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _select movl %eax, %ebx testl %eax, %eax jns LBB0_2 ## %bb.1: xorl %eax, %eax callq _std_err LBB0_2: cmpl $1, %ebx sbbl %r14d, %r14d movl %r14d, %eax addq $24, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TIMEOUT,4,2 ## @TIMEOUT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _timeout ; -- Begin function timeout .p2align 2 _timeout: ; @timeout .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, _TIMEOUT@GOTPAGE Lloh1: ldr x8, [x8, _TIMEOUT@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [sp, #24] str xzr, [sp, #16] add x0, sp, #12 bl _FD_ZERO add x1, sp, #12 mov x0, x19 bl _FD_SET add w0, w19, #1 add x1, sp, #12 add x4, sp, #16 mov x2, #0 mov x3, #0 bl _select mov x19, x0 tbz w0, #31, LBB0_2 ; %bb.1: bl _std_err LBB0_2: cmp w19, #0 csetm w0, eq ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TIMEOUT,4,2 ; @TIMEOUT .subsections_via_symbols
AnghaBench/exploitdb/exploits/windows/dos/extr_780.c_timeout.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bna_ioceth_enable ## -- Begin function bna_ioceth_enable .p2align 4, 0x90 _bna_ioceth_enable: ## @bna_ioceth_enable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdi), %rax movq _bna_ioceth_sm_ready@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_1 ## %bb.3: movq 8(%rdi), %rax movl (%rax), %edi popq %rbp jmp _bnad_cb_ioceth_ready ## TAILCALL LBB0_1: movq _bna_ioceth_sm_stopped@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.4: movq _IOCETH_E_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %esi popq %rbp jmp _bfa_fsm_send_event ## TAILCALL LBB0_2: popq %rbp retq .cfi_endproc ## -- End function .comm _bna_ioceth_sm_ready,8,3 ## @bna_ioceth_sm_ready .comm _bna_ioceth_sm_stopped,8,3 ## @bna_ioceth_sm_stopped .comm _IOCETH_E_ENABLE,4,2 ## @IOCETH_E_ENABLE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bna_ioceth_enable ; -- Begin function bna_ioceth_enable .p2align 2 _bna_ioceth_enable: ; @bna_ioceth_enable .cfi_startproc ; %bb.0: ldr x8, [x0] Lloh0: adrp x9, _bna_ioceth_sm_ready@GOTPAGE Lloh1: ldr x9, [x9, _bna_ioceth_sm_ready@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: ldr x8, [x0, #8] ldr w0, [x8] b _bnad_cb_ioceth_ready LBB0_2: Lloh3: adrp x9, _bna_ioceth_sm_stopped@GOTPAGE Lloh4: ldr x9, [x9, _bna_ioceth_sm_stopped@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_4 ; %bb.3: Lloh6: adrp x8, _IOCETH_E_ENABLE@GOTPAGE Lloh7: ldr x8, [x8, _IOCETH_E_ENABLE@GOTPAGEOFF] Lloh8: ldr w1, [x8] b _bfa_fsm_send_event LBB0_4: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _bna_ioceth_sm_ready,8,3 ; @bna_ioceth_sm_ready .comm _bna_ioceth_sm_stopped,8,3 ; @bna_ioceth_sm_stopped .comm _IOCETH_E_ENABLE,4,2 ; @IOCETH_E_ENABLE .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/bna/extr_bna_enet.c_bna_ioceth_enable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SlDelete ## -- Begin function SlDelete .p2align 4, 0x90 _SlDelete: ## @SlDelete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %eax, %eax testq %rdi, %rdi je LBB0_17 ## %bb.1: testq %rsi, %rsi je LBB0_17 ## %bb.2: movq (%rdi), %r10 xorl %eax, %eax testq %r10, %r10 je LBB0_7 ## %bb.3: movq 8(%rdi), %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpq %rsi, (%rcx,%rdx,8) je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 incq %rdx cmpq %rdx, %r10 jne LBB0_4 ## %bb.6: xorl %eax, %eax LBB0_17: ## kill: def $eax killed $eax killed $rax popq %rbp retq LBB0_7: xorl %edx, %edx LBB0_8: cmpq %r10, %rdx je LBB0_17 ## %bb.9: leaq -1(%r10), %r8 cmpq %r8, %rdx jae LBB0_16 ## %bb.10: movl %edx, %eax notl %eax addl %r10d, %eax movq %r10, %r9 subq %rdx, %r9 addq $-2, %r9 andq $3, %rax je LBB0_13 .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rcx leaq 1(%rdx), %r11 movq 8(%rcx,%rdx,8), %rsi movq %rsi, (%rcx,%rdx,8) movq %r11, %rdx decq %rax jne LBB0_11 ## %bb.12: cmpq $3, %r9 jae LBB0_14 jmp LBB0_16 LBB0_13: movq %rdx, %r11 cmpq $3, %r9 jb LBB0_16 LBB0_14: movq %r11, %rdx notq %rdx addq %r10, %rdx shlq $3, %r11 xorl %ecx, %ecx .p2align 4, 0x90 LBB0_15: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rax addq %r11, %rax movq 8(%rax,%rcx,8), %rsi movq %rsi, (%rax,%rcx,8) movq 8(%rdi), %rax addq %r11, %rax movq 16(%rax,%rcx,8), %rsi movq %rsi, 8(%rax,%rcx,8) movq 8(%rdi), %rax addq %r11, %rax movq 24(%rax,%rcx,8), %rsi movq %rsi, 16(%rax,%rcx,8) movq 8(%rdi), %rax addq %r11, %rax movq 32(%rax,%rcx,8), %rsi movq %rsi, 24(%rax,%rcx,8) addq $4, %rcx cmpq %rcx, %rdx jne LBB0_15 LBB0_16: movq %r8, (%rdi) movl $1, %eax ## kill: def $eax killed $eax killed $rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _SlDelete ; -- Begin function SlDelete .p2align 2 _SlDelete: ; @SlDelete .cfi_startproc ; %bb.0: mov w8, #0 cbz x0, LBB0_13 ; %bb.1: cbz x1, LBB0_13 ; %bb.2: ldr x9, [x0] cbz x9, LBB0_7 ; %bb.3: mov x8, #0 ldr x10, [x0, #8] LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x11, [x10, x8, lsl #3] cmp x11, x1 b.eq LBB0_8 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x8, x8, #1 cmp x9, x8 b.ne LBB0_4 ; %bb.6: mov w0, #0 ret LBB0_7: mov x8, #0 LBB0_8: cmp x8, x9 b.ne LBB0_10 ; %bb.9: mov w0, #0 ret LBB0_10: sub x9, x9, #1 cmp x8, x9 b.hs LBB0_12 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x10, [x0, #8] add x10, x10, x8, lsl #3 add x11, x8, #1 ldr x8, [x10, #8] str x8, [x10] mov x8, x11 cmp x9, x11 b.ne LBB0_11 LBB0_12: str x9, [x0] mov w8, #1 LBB0_13: mov x0, x8 ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/SoftEtherVPN/src/SeLow/extr_SeLow.c_SlDelete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sim800_handle_cgsn _sim800_handle_cgsn: ## @sim800_handle_cgsn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 movq _ESP_FAIL@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _MODEM_RESULT_CODE_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _strstr testq %rax, %rax je LBB0_3 ## %bb.1: movq _MODEM_STATE_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_3: movq _MODEM_RESULT_CODE_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _strstr testq %rax, %rax je LBB0_5 ## %bb.4: movq _MODEM_STATE_FAIL@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %esi movq %r15, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _esp_modem_process_command_done ## TAILCALL LBB0_5: movl (%r15), %edi movq _MODEM_IMEI_LENGTH@GOTPCREL(%rip), %rax movq (%rax), %rsi incq %rsi leaq L_.str(%rip), %rdx movq %rbx, %rcx callq _snprintf cmpl $3, %eax jl LBB0_7 ## %bb.6: movl (%r15), %edi movl %eax, %esi callq _strip_cr_lf_tail movq _ESP_OK@GOTPCREL(%rip), %rax movl (%rax), %r14d LBB0_7: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ESP_FAIL,4,2 ## @ESP_FAIL .comm _MODEM_RESULT_CODE_SUCCESS,4,2 ## @MODEM_RESULT_CODE_SUCCESS .comm _MODEM_STATE_SUCCESS,4,2 ## @MODEM_STATE_SUCCESS .comm _MODEM_RESULT_CODE_ERROR,4,2 ## @MODEM_RESULT_CODE_ERROR .comm _MODEM_STATE_FAIL,4,2 ## @MODEM_STATE_FAIL .comm _MODEM_IMEI_LENGTH,8,3 ## @MODEM_IMEI_LENGTH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .comm _ESP_OK,4,2 ## @ESP_OK .no_dead_strip _sim800_handle_cgsn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sim800_handle_cgsn _sim800_handle_cgsn: ; @sim800_handle_cgsn .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x19, x0 Lloh0: adrp x8, _ESP_FAIL@GOTPAGE Lloh1: ldr x8, [x8, _ESP_FAIL@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x8, _MODEM_RESULT_CODE_SUCCESS@GOTPAGE Lloh4: ldr x8, [x8, _MODEM_RESULT_CODE_SUCCESS@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x21 bl _strstr cbz x0, LBB0_2 ; %bb.1: Lloh6: adrp x8, _MODEM_STATE_SUCCESS@GOTPAGE Lloh7: ldr x8, [x8, _MODEM_STATE_SUCCESS@GOTPAGEOFF] b LBB0_4 LBB0_2: Lloh8: adrp x8, _MODEM_RESULT_CODE_ERROR@GOTPAGE Lloh9: ldr x8, [x8, _MODEM_RESULT_CODE_ERROR@GOTPAGEOFF] Lloh10: ldr w1, [x8] mov x0, x21 bl _strstr cbz x0, LBB0_5 ; %bb.3: Lloh11: adrp x8, _MODEM_STATE_FAIL@GOTPAGE Lloh12: ldr x8, [x8, _MODEM_STATE_FAIL@GOTPAGEOFF] LBB0_4: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _esp_modem_process_command_done LBB0_5: ldr w0, [x19] Lloh13: adrp x8, _MODEM_IMEI_LENGTH@GOTPAGE Lloh14: ldr x8, [x8, _MODEM_IMEI_LENGTH@GOTPAGEOFF] Lloh15: ldr x8, [x8] add x1, x8, #1 Lloh16: adrp x2, l_.str@PAGE Lloh17: add x2, x2, l_.str@PAGEOFF mov x3, x21 bl _snprintf cmp w0, #3 b.lt LBB0_7 ; %bb.6: mov x1, x0 ldr w0, [x19] bl _strip_cr_lf_tail Lloh18: adrp x8, _ESP_OK@GOTPAGE Lloh19: ldr x8, [x8, _ESP_OK@GOTPAGEOFF] Lloh20: ldr w20, [x8] LBB0_7: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _ESP_FAIL,4,2 ; @ESP_FAIL .comm _MODEM_RESULT_CODE_SUCCESS,4,2 ; @MODEM_RESULT_CODE_SUCCESS .comm _MODEM_STATE_SUCCESS,4,2 ; @MODEM_STATE_SUCCESS .comm _MODEM_RESULT_CODE_ERROR,4,2 ; @MODEM_RESULT_CODE_ERROR .comm _MODEM_STATE_FAIL,4,2 ; @MODEM_STATE_FAIL .comm _MODEM_IMEI_LENGTH,8,3 ; @MODEM_IMEI_LENGTH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" .comm _ESP_OK,4,2 ; @ESP_OK .no_dead_strip _sim800_handle_cgsn .subsections_via_symbols
AnghaBench/esp-idf/examples/protocols/pppos_client/components/modem/src/extr_sim800.c_sim800_handle_cgsn.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function igc_alloc_mapped_page _igc_alloc_mapped_page: ## @igc_alloc_mapped_page .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movq %rdi, %r14 movq 8(%rsi), %rdi callq _likely movl $1, %ebx testq %rax, %rax jne LBB0_6 ## %bb.1: movq %r14, %rdi callq _igc_rx_pg_order movl %eax, %edi callq _dev_alloc_pages movq %rax, %r15 xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely testq %rax, %rax je LBB0_3 ## %bb.2: incl (%r14) xorl %ebx, %ebx jmp LBB0_6 LBB0_3: movl 4(%r14), %r13d movq %r14, %rdi callq _igc_rx_pg_size movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx movl (%rcx), %r8d movq _IGC_RX_DMA_ATTR@GOTPCREL(%rip), %rcx movl (%rcx), %r9d xorl %ebx, %ebx movl %r13d, %edi movq %r15, %rsi xorl %edx, %edx movl %eax, %ecx callq _dma_map_page_attrs movl %eax, %r13d movl 4(%r14), %edi movl %eax, %esi callq _dma_mapping_error testq %rax, %rax je LBB0_5 ## %bb.4: movq %r15, %rdi callq ___free_page incl (%r14) jmp LBB0_6 LBB0_5: movl %r13d, 16(%r12) movq %r15, 8(%r12) movq %r14, %rdi callq _igc_rx_offset movl %eax, 4(%r12) movl $1, (%r12) movl $1, %ebx LBB0_6: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DMA_FROM_DEVICE,4,2 ## @DMA_FROM_DEVICE .comm _IGC_RX_DMA_ATTR,4,2 ## @IGC_RX_DMA_ATTR .no_dead_strip _igc_alloc_mapped_page .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function igc_alloc_mapped_page _igc_alloc_mapped_page: ; @igc_alloc_mapped_page .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr x0, [x1, #8] bl _likely cbz x0, LBB0_2 ; %bb.1: mov w0, #1 b LBB0_6 LBB0_2: mov x0, x19 bl _igc_rx_pg_order bl _dev_alloc_pages mov x21, x0 cmp x0, #0 cset w0, eq bl _unlikely cbnz x0, LBB0_5 ; %bb.3: ldr w22, [x19, #4] mov x0, x19 bl _igc_rx_pg_size mov x3, x0 Lloh0: adrp x8, _DMA_FROM_DEVICE@GOTPAGE Lloh1: ldr x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF] Lloh2: ldr w4, [x8] Lloh3: adrp x8, _IGC_RX_DMA_ATTR@GOTPAGE Lloh4: ldr x8, [x8, _IGC_RX_DMA_ATTR@GOTPAGEOFF] Lloh5: ldr w5, [x8] mov x0, x22 mov x1, x21 mov w2, #0 bl _dma_map_page_attrs mov x22, x0 ldr w0, [x19, #4] mov x1, x22 bl _dma_mapping_error cbz x0, LBB0_7 ; %bb.4: mov x0, x21 bl ___free_page LBB0_5: mov w0, #0 ldr w8, [x19] add w8, w8, #1 str w8, [x19] LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_7: str w22, [x20, #16] str x21, [x20, #8] mov x0, x19 bl _igc_rx_offset mov x8, x0 mov w0, #1 stp w0, w8, [x20] b LBB0_6 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _DMA_FROM_DEVICE,4,2 ; @DMA_FROM_DEVICE .comm _IGC_RX_DMA_ATTR,4,2 ; @IGC_RX_DMA_ATTR .no_dead_strip _igc_alloc_mapped_page .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/intel/igc/extr_igc_main.c_igc_alloc_mapped_page.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function nfs_bdi_register _nfs_bdi_register: ## @nfs_bdi_register .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %esi addq $4, %rdi popq %rbp jmp _bdi_register_dev ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _nfs_bdi_register .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function nfs_bdi_register _nfs_bdi_register: ; @nfs_bdi_register .cfi_startproc ; %bb.0: ldr w1, [x0], #4 b _bdi_register_dev .cfi_endproc ; -- End function .no_dead_strip _nfs_bdi_register .subsections_via_symbols
AnghaBench/fastsocket/kernel/fs/nfs/extr_super.c_nfs_bdi_register.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function di_mx_raw _di_mx_raw: ## @di_mx_raw .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rsi), %rcx xorl %eax, %eax cmpq (%rdx), %rcx setg %al popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _di_mx_raw .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function di_mx_raw _di_mx_raw: ; @di_mx_raw .cfi_startproc ; %bb.0: ldr x8, [x1] ldr x9, [x2] cmp x8, x9 cset w0, gt ret .cfi_endproc ; -- End function .no_dead_strip _di_mx_raw .subsections_via_symbols
AnghaBench/reactos/sdk/lib/3rdparty/adns/src/extr_types.c_di_mx_raw.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_gem_vram_bo_driver_evict_flags ## -- Begin function drm_gem_vram_bo_driver_evict_flags .p2align 4, 0x90 _drm_gem_vram_bo_driver_evict_flags: ## @drm_gem_vram_bo_driver_evict_flags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _drm_is_gem_vram testl %eax, %eax je LBB0_2 ## %bb.1: movq %rbx, %rdi callq _drm_gem_vram_of_bo movq %rax, %rbx movq _TTM_PL_FLAG_SYSTEM@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _drm_gem_vram_placement movl (%rbx), %eax movl %eax, (%r14) LBB0_2: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _TTM_PL_FLAG_SYSTEM,4,2 ## @TTM_PL_FLAG_SYSTEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _drm_gem_vram_bo_driver_evict_flags ; -- Begin function drm_gem_vram_bo_driver_evict_flags .p2align 2 _drm_gem_vram_bo_driver_evict_flags: ; @drm_gem_vram_bo_driver_evict_flags .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _drm_is_gem_vram cbz w0, LBB0_2 ; %bb.1: mov x0, x20 bl _drm_gem_vram_of_bo mov x20, x0 Lloh0: adrp x8, _TTM_PL_FLAG_SYSTEM@GOTPAGE Lloh1: ldr x8, [x8, _TTM_PL_FLAG_SYSTEM@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _drm_gem_vram_placement ldr w8, [x20] str w8, [x19] LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _TTM_PL_FLAG_SYSTEM,4,2 ; @TTM_PL_FLAG_SYSTEM .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/extr_drm_gem_vram_helper.c_drm_gem_vram_bo_driver_evict_flags.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/220454944.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function zx_hdmi_audio_get_eld _zx_hdmi_audio_get_eld: ## @zx_hdmi_audio_get_eld .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r14 callq _dev_get_drvdata movl (%rax), %ebx movl $4, %edi movq %r15, %rsi callq _min movq %r14, %rdi movl %ebx, %esi movl %eax, %edx callq _memcpy xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _zx_hdmi_audio_get_eld .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function zx_hdmi_audio_get_eld _zx_hdmi_audio_get_eld: ; @zx_hdmi_audio_get_eld .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 bl _dev_get_drvdata ldr w21, [x0] mov w0, #4 mov x1, x19 bl _min mov x2, x0 mov x0, x20 mov x1, x21 bl _memcpy mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _zx_hdmi_audio_get_eld .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/zte/extr_zx_hdmi.c_zx_hdmi_audio_get_eld.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function etc_writable _etc_writable: ## @etc_writable .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _arg_read_only@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_1 ## %bb.2: movq _arg_volatile_mode@GOTPCREL(%rip), %rax movl (%rax), %edi movq _VOLATILE_YES@GOTPCREL(%rip), %rax movl (%rax), %esi movq _VOLATILE_OVERLAY@GOTPCREL(%rip), %rax movl (%rax), %edx callq _IN_SET movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx setne %al popq %rbp retq LBB0_1: movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _arg_read_only,4,2 ## @arg_read_only .comm _arg_volatile_mode,4,2 ## @arg_volatile_mode .comm _VOLATILE_YES,4,2 ## @VOLATILE_YES .comm _VOLATILE_OVERLAY,4,2 ## @VOLATILE_OVERLAY .no_dead_strip _etc_writable .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function etc_writable _etc_writable: ; @etc_writable .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill .cfi_def_cfa_offset 16 mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _arg_read_only@GOTPAGE Lloh1: ldr x8, [x8, _arg_read_only@GOTPAGEOFF] Lloh2: ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: Lloh3: adrp x8, _arg_volatile_mode@GOTPAGE Lloh4: ldr x8, [x8, _arg_volatile_mode@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x8, _VOLATILE_YES@GOTPAGE Lloh7: ldr x8, [x8, _VOLATILE_YES@GOTPAGEOFF] Lloh8: ldr w1, [x8] Lloh9: adrp x8, _VOLATILE_OVERLAY@GOTPAGE Lloh10: ldr x8, [x8, _VOLATILE_OVERLAY@GOTPAGEOFF] Lloh11: ldr w2, [x8] bl _IN_SET cmp x0, #0 cset w0, ne ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret LBB0_2: mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _arg_read_only,4,2 ; @arg_read_only .comm _arg_volatile_mode,4,2 ; @arg_volatile_mode .comm _VOLATILE_YES,4,2 ; @VOLATILE_YES .comm _VOLATILE_OVERLAY,4,2 ; @VOLATILE_OVERLAY .no_dead_strip _etc_writable .subsections_via_symbols
AnghaBench/systemd/src/nspawn/extr_nspawn.c_etc_writable.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ixgbevf_xdp _ixgbevf_xdp: ## @ixgbevf_xdp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx callq _netdev_priv movl (%r14), %ecx cmpl $129, %ecx je LBB0_3 ## %bb.1: cmpl $128, %ecx jne LBB0_6 ## %bb.2: movl 8(%r14), %esi movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _ixgbevf_xdp_setup ## TAILCALL LBB0_3: movq (%rax), %rcx xorl %eax, %eax movl $0, %edx testq %rcx, %rcx je LBB0_5 ## %bb.4: movq (%rcx), %rcx movl (%rcx), %edx LBB0_5: movl %edx, 4(%r14) jmp LBB0_7 LBB0_6: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_7: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _ixgbevf_xdp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ixgbevf_xdp _ixgbevf_xdp: ; @ixgbevf_xdp .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _netdev_priv ldr w8, [x19] cmp w8, #129 b.eq LBB0_3 ; %bb.1: cmp w8, #128 b.ne LBB0_6 ; %bb.2: ldr w1, [x19, #8] mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ixgbevf_xdp_setup LBB0_3: ldr x8, [x0] cbz x8, LBB0_5 ; %bb.4: ldr x8, [x8] ldr w8, [x8] LBB0_5: mov w0, #0 str w8, [x19, #4] b LBB0_7 LBB0_6: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_7: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _ixgbevf_xdp .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/intel/ixgbevf/extr_ixgbevf_main.c_ixgbevf_xdp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f1 ## -- Begin function f1 .p2align 4, 0x90 _f1: ## @f1 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _j@GOTPCREL(%rip), %rax movl (%rax), %eax movq _k@GOTPCREL(%rip), %rcx subl (%rcx), %eax movl %eax, %ecx negl %ecx cmovsl %eax, %ecx movq _i@GOTPCREL(%rip), %rax movl %ecx, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _j,4,2 ## @j .comm _k,4,2 ## @k .comm _i,4,2 ## @i .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _f1 ; -- Begin function f1 .p2align 2 _f1: ; @f1 .cfi_startproc ; %bb.0: Lloh0: adrp x8, _j@GOTPAGE Lloh1: ldr x8, [x8, _j@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _k@GOTPAGE Lloh4: ldr x9, [x9, _k@GOTPAGEOFF] Lloh5: ldr w9, [x9] subs w8, w8, w9 cneg w8, w8, mi Lloh6: adrp x9, _i@GOTPAGE Lloh7: ldr x9, [x9, _i@GOTPAGEOFF] Lloh8: str w8, [x9] ret .loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _j,4,2 ; @j .comm _k,4,2 ; @k .comm _i,4,2 ; @i .subsections_via_symbols
the_stack_data/944629.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function isa_unmask_pic_lo_irq _isa_unmask_pic_lo_irq: ## @isa_unmask_pic_lo_irq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movb (%rdi), %bl andb $7, %bl movq _PIC_MASK_LO@GOTPCREL(%rip), %r14 movl (%r14), %edi callq _inb btrl %ebx, %eax movl (%r14), %esi movl %eax, %edi popq %rbx popq %r14 popq %rbp jmp _outb ## TAILCALL .cfi_endproc ## -- End function .comm _PIC_MASK_LO,4,2 ## @PIC_MASK_LO .no_dead_strip _isa_unmask_pic_lo_irq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function isa_unmask_pic_lo_irq _isa_unmask_pic_lo_irq: ; @isa_unmask_pic_lo_irq .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr w8, [x0] and x8, x8, #0x7 mov w9, #1 lsl w19, w9, w8 Lloh0: adrp x20, _PIC_MASK_LO@GOTPAGE Lloh1: ldr x20, [x20, _PIC_MASK_LO@GOTPAGEOFF] ldr w0, [x20] bl _inb bic w0, w0, w19 ldr w1, [x20] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _outb .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PIC_MASK_LO,4,2 ; @PIC_MASK_LO .no_dead_strip _isa_unmask_pic_lo_irq .subsections_via_symbols
AnghaBench/linux/arch/arm/mach-footbridge/extr_isa-irq.c_isa_unmask_pic_lo_irq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ltdc_crtc_atomic_flush _ltdc_crtc_atomic_flush: ## @ltdc_crtc_atomic_flush .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _crtc_to_ltdc movq %rax, %r12 movq (%rbx), %rax movq 8(%rbx), %r14 movq (%rax), %r15 leaq L_.str(%rip), %rdi callq _DRM_DEBUG_ATOMIC movq %rbx, %rdi callq _ltdc_crtc_update_clut movl (%r12), %edi movq _LTDC_SRCR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _SRCR_VBR@GOTPCREL(%rip), %rax movl (%rax), %edx callq _reg_set testq %r15, %r15 je LBB0_5 ## %bb.1: movq (%rbx), %rax movq $0, (%rax) movq %r14, %rdi callq _spin_lock_irq movq %rbx, %rdi callq _drm_crtc_vblank_get movq %rbx, %rdi movq %r15, %rsi testq %rax, %rax je LBB0_2 ## %bb.3: callq _drm_crtc_send_vblank_event jmp LBB0_4 LBB0_5: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: callq _drm_crtc_arm_vblank_event LBB0_4: movq %r14, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _spin_unlock_irq ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" .comm _LTDC_SRCR,4,2 ## @LTDC_SRCR .comm _SRCR_VBR,4,2 ## @SRCR_VBR .no_dead_strip _ltdc_crtc_atomic_flush .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ltdc_crtc_atomic_flush _ltdc_crtc_atomic_flush: ; @ltdc_crtc_atomic_flush .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 bl _crtc_to_ltdc mov x22, x0 ldp x8, x19, [x20] ldr x21, [x8] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _DRM_DEBUG_ATOMIC mov x0, x20 bl _ltdc_crtc_update_clut ldr w0, [x22] Lloh2: adrp x8, _LTDC_SRCR@GOTPAGE Lloh3: ldr x8, [x8, _LTDC_SRCR@GOTPAGEOFF] Lloh4: ldr w1, [x8] Lloh5: adrp x8, _SRCR_VBR@GOTPAGE Lloh6: ldr x8, [x8, _SRCR_VBR@GOTPAGEOFF] Lloh7: ldr w2, [x8] bl _reg_set cbz x21, LBB0_3 ; %bb.1: ldr x8, [x20] str xzr, [x8] mov x0, x19 bl _spin_lock_irq mov x0, x20 bl _drm_crtc_vblank_get cbz x0, LBB0_4 ; %bb.2: mov x0, x20 mov x1, x21 bl _drm_crtc_send_vblank_event b LBB0_5 LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: mov x0, x20 mov x1, x21 bl _drm_crtc_arm_vblank_event LBB0_5: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _spin_unlock_irq .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" .comm _LTDC_SRCR,4,2 ; @LTDC_SRCR .comm _SRCR_VBR,4,2 ; @SRCR_VBR .no_dead_strip _ltdc_crtc_atomic_flush .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/stm/extr_ltdc.c_ltdc_crtc_atomic_flush.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function whereAndInfoDelete _whereAndInfoDelete: ## @whereAndInfoDelete .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movq %rsi, %rdi callq _sqlite3WhereClauseClear movq %r14, %rdi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _sqlite3DbFree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _whereAndInfoDelete .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function whereAndInfoDelete _whereAndInfoDelete: ; @whereAndInfoDelete .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 mov x0, x1 bl _sqlite3WhereClauseClear mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _sqlite3DbFree .cfi_endproc ; -- End function .no_dead_strip _whereAndInfoDelete .subsections_via_symbols
AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_whereAndInfoDelete.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function init_wr_hdr _init_wr_hdr: ## @init_wr_hdr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl %edx, %eax movq %rax, 32(%rdi) movq %rcx, 24(%rdi) movl %esi, 16(%rdi) movq 8(%rdi), %rax movq $0, (%rax) movq 8(%rdi), %rax movq $0, 8(%rax) movq 8(%rdi), %rax movq $0, 16(%rax) movq %r8, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _init_wr_hdr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function init_wr_hdr _init_wr_hdr: ; @init_wr_hdr .cfi_startproc ; %bb.0: mov w8, w2 stp x3, x8, [x0, #24] str w1, [x0, #16] ldr x8, [x0, #8] str xzr, [x8] ldr x8, [x0, #8] str xzr, [x8, #8] ldr x8, [x0, #8] str xzr, [x8, #16] str x4, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _init_wr_hdr .subsections_via_symbols
AnghaBench/linux/drivers/infiniband/hw/cxgb4/extr_t4.h_init_wr_hdr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kull_m_asn1_freeEnc ## -- Begin function kull_m_asn1_freeEnc .p2align 4, 0x90 _kull_m_asn1_freeEnc: ## @kull_m_asn1_freeEnc .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rdi, %rsi movq _ASN1enc@GOTPCREL(%rip), %rax movq (%rax), %rdi testq %rdi, %rdi popq %rbp je LBB0_2 ## %bb.3: jmp _ASN1_FreeEncoded ## TAILCALL LBB0_2: retq .cfi_endproc ## -- End function .comm _ASN1enc,8,3 ## @ASN1enc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kull_m_asn1_freeEnc ; -- Begin function kull_m_asn1_freeEnc .p2align 2 _kull_m_asn1_freeEnc: ; @kull_m_asn1_freeEnc .cfi_startproc ; %bb.0: cbz x0, LBB0_3 ; %bb.1: mov x1, x0 Lloh0: adrp x8, _ASN1enc@GOTPAGE Lloh1: ldr x8, [x8, _ASN1enc@GOTPAGEOFF] Lloh2: ldr x0, [x8] cbz x0, LBB0_3 ; %bb.2: b _ASN1_FreeEncoded LBB0_3: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ASN1enc,8,3 ; @ASN1enc .subsections_via_symbols
AnghaBench/mimikatz/modules/extr_kull_m_asn1.c_kull_m_asn1_freeEnc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function il4965_rf_kill_ct_config _il4965_rf_kill_ct_config: ## @il4965_rf_kill_ct_config .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq 4(%rdi), %r14 movq %r14, %rdi callq _spin_lock_irqsave movq _CSR_UCODE_DRV_GP1_CLR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi callq __il_wr movq %r14, %rdi callq _spin_unlock_irqrestore movl (%rbx), %edi callq _cpu_to_le32 movl %eax, -24(%rbp) movq _C_CT_KILL_CONFIG@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -24(%rbp), %rcx movq %rbx, %rdi movl $4, %edx callq _il_send_cmd_pdu testl %eax, %eax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _IL_ERR jmp LBB0_3 LBB0_2: movl (%rbx), %esi leaq L_.str.1(%rip), %rdi callq _D_INFO LBB0_3: addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _CSR_UCODE_DRV_GP1_CLR,4,2 ## @CSR_UCODE_DRV_GP1_CLR .comm _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT,4,2 ## @CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT .comm _C_CT_KILL_CONFIG,4,2 ## @C_CT_KILL_CONFIG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "C_CT_KILL_CONFIG failed\n" L_.str.1: ## @.str.1 .asciz "C_CT_KILL_CONFIG succeeded, critical temperature is %d\n" .no_dead_strip _il4965_rf_kill_ct_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function il4965_rf_kill_ct_config _il4965_rf_kill_ct_config: ; @il4965_rf_kill_ct_config .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x20, x0, #4 mov x0, x20 bl _spin_lock_irqsave Lloh0: adrp x8, _CSR_UCODE_DRV_GP1_CLR@GOTPAGE Lloh1: ldr x8, [x8, _CSR_UCODE_DRV_GP1_CLR@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGE Lloh4: ldr x8, [x8, _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT@GOTPAGEOFF] Lloh5: ldr w2, [x8] mov x0, x19 bl __il_wr mov x0, x20 bl _spin_unlock_irqrestore ldr w0, [x19] bl _cpu_to_le32 str w0, [sp, #8] Lloh6: adrp x8, _C_CT_KILL_CONFIG@GOTPAGE Lloh7: ldr x8, [x8, _C_CT_KILL_CONFIG@GOTPAGEOFF] Lloh8: ldr w1, [x8] add x3, sp, #8 mov x0, x19 mov w2, #4 bl _il_send_cmd_pdu cbz w0, LBB0_2 ; %bb.1: Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF bl _IL_ERR b LBB0_3 LBB0_2: ldr w1, [x19] Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF bl _D_INFO LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _CSR_UCODE_DRV_GP1_CLR,4,2 ; @CSR_UCODE_DRV_GP1_CLR .comm _CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT,4,2 ; @CSR_UCODE_DRV_GP1_REG_BIT_CT_KILL_EXIT .comm _C_CT_KILL_CONFIG,4,2 ; @C_CT_KILL_CONFIG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "C_CT_KILL_CONFIG failed\n" l_.str.1: ; @.str.1 .asciz "C_CT_KILL_CONFIG succeeded, critical temperature is %d\n" .no_dead_strip _il4965_rf_kill_ct_config .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/net/wireless/iwlegacy/extr_4965-mac.c_il4965_rf_kill_ct_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .subsections_via_symbols
the_stack_data/162644321.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function count_dir_mos_objects _count_dir_mos_objects: ## @count_dir_mos_objects .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl 4(%rdi), %edi callq _mos_obj_refd movq %rbx, %rdi callq _dsl_dir_phys movl 12(%rax), %edi callq _mos_obj_refd movq %rbx, %rdi callq _dsl_dir_phys movl 8(%rax), %edi callq _mos_obj_refd movq %rbx, %rdi callq _dsl_dir_phys movl 4(%rax), %edi callq _mos_obj_refd movq %rbx, %rdi callq _dsl_dir_phys movl (%rax), %edi callq _mos_obj_refd movl (%rbx), %edi addq $8, %rsp popq %rbx popq %rbp jmp _mos_obj_refd_multiple ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _count_dir_mos_objects .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function count_dir_mos_objects _count_dir_mos_objects: ; @count_dir_mos_objects .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #4] bl _mos_obj_refd mov x0, x19 bl _dsl_dir_phys ldr w0, [x0, #12] bl _mos_obj_refd mov x0, x19 bl _dsl_dir_phys ldr w0, [x0, #8] bl _mos_obj_refd mov x0, x19 bl _dsl_dir_phys ldr w0, [x0, #4] bl _mos_obj_refd mov x0, x19 bl _dsl_dir_phys ldr w0, [x0] bl _mos_obj_refd ldr w0, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mos_obj_refd_multiple .cfi_endproc ; -- End function .no_dead_strip _count_dir_mos_objects .subsections_via_symbols
AnghaBench/zfs/cmd/zdb/extr_zdb.c_count_dir_mos_objects.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cmd_set_pps ## -- Begin function cmd_set_pps .p2align 4, 0x90 _cmd_set_pps: ## @cmd_set_pps .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movl (%rdi), %edi callq _node_from_file testq %rax, %rax je LBB0_9 ## %bb.1: movq %rax, %r13 leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _os_strstr testq %rax, %rax je LBB0_2 ## %bb.3: addq $3, %rax movq %rax, %rdi callq _os_strdup testq %rax, %rax je LBB0_8 ## %bb.4: movq %rax, %r15 movq %rax, %rdi movl $47, %esi callq _os_strchr testq %rax, %rax je LBB0_6 ## %bb.5: movb $0, (%rax) LBB0_6: movq %r15, %r12 jmp LBB0_7 LBB0_9: movq _MSG_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi movq %rbx, %rdx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _wpa_printf ## TAILCALL LBB0_2: leaq L_.str.2(%rip), %r12 xorl %r15d, %r15d LBB0_7: movq _MSG_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.3(%rip), %rsi movq %r12, %rdx callq _wpa_printf movq %r14, %rdi movq %r13, %rsi movq %r12, %rdx callq _set_pps movq %r15, %rdi callq _os_free movl (%r14), %edi movq %r13, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _xml_node_free ## TAILCALL LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_INFO,4,2 ## @MSG_INFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Could not read or parse '%s'" L_.str.1: ## @.str.1 .asciz "SP/" L_.str.2: ## @.str.2 .asciz "wi-fi.org" L_.str.3: ## @.str.3 .asciz "Set PPS MO info to wpa_supplicant - SP FQDN %s" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cmd_set_pps ; -- Begin function cmd_set_pps .p2align 2 _cmd_set_pps: ; @cmd_set_pps .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x19, x0 ldr w0, [x0] bl _node_from_file cbz x0, LBB0_6 ; %bb.1: mov x20, x0 Lloh0: adrp x1, l_.str.1@PAGE Lloh1: add x1, x1, l_.str.1@PAGEOFF mov x0, x21 bl _os_strstr cbz x0, LBB0_7 ; %bb.2: add x0, x0, #3 bl _os_strdup cbz x0, LBB0_9 ; %bb.3: mov x21, x0 mov w1, #47 bl _os_strchr cbz x0, LBB0_5 ; %bb.4: strb wzr, [x0] LBB0_5: mov x22, x21 b LBB0_8 LBB0_6: Lloh2: adrp x8, _MSG_INFO@GOTPAGE Lloh3: ldr x8, [x8, _MSG_INFO@GOTPAGEOFF] Lloh4: ldr w0, [x8] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF mov x2, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _wpa_printf LBB0_7: mov x21, #0 Lloh7: adrp x22, l_.str.2@PAGE Lloh8: add x22, x22, l_.str.2@PAGEOFF LBB0_8: Lloh9: adrp x8, _MSG_INFO@GOTPAGE Lloh10: ldr x8, [x8, _MSG_INFO@GOTPAGEOFF] Lloh11: ldr w0, [x8] Lloh12: adrp x1, l_.str.3@PAGE Lloh13: add x1, x1, l_.str.3@PAGEOFF mov x2, x22 bl _wpa_printf mov x0, x19 mov x1, x20 mov x2, x22 bl _set_pps mov x0, x21 bl _os_free ldr w0, [x19] mov x1, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _xml_node_free LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _MSG_INFO,4,2 ; @MSG_INFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Could not read or parse '%s'" l_.str.1: ; @.str.1 .asciz "SP/" l_.str.2: ; @.str.2 .asciz "wi-fi.org" l_.str.3: ; @.str.3 .asciz "Set PPS MO info to wpa_supplicant - SP FQDN %s" .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/hs20/client/extr_osu_client.c_cmd_set_pps.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dequantize _dequantize: ## @dequantize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, -44(%rbp) ## 4-byte Spill movq %rdx, %rbx movq %rdi, %r15 movl (%rsi), %r12d movl 8(%rsi), %edi addl 4(%r15), %edi movl 4(%rsi), %r13d movq _QROOT@GOTPCREL(%rip), %r14 movl (%r14), %edx shll $4, %edx xorl %esi, %esi callq _av_clip movq _QSHIFT@GOTPCREL(%rip), %rcx movb (%rcx), %cl movq _ff_qexp@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movslq (%r14), %rsi decq %rsi cltq andq %rax, %rsi sarl %cl, %eax movl (%rdx,%rsi,4), %r11d movl %eax, %ecx shll %cl, %r11d movl (%r15), %edx imull %r11d, %edx movq _QBIAS_SHIFT@GOTPCREL(%rip), %rax movb (%rax), %cl sarl %cl, %edx movl 4(%r15), %eax movq _LOSSLESS_QLOG@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_12 ## %bb.1: testl %r13d, %r13d jle LBB0_12 ## %bb.2: movslq -44(%rbp), %r8 ## 4-byte Folded Reload shlq $2, %r8 xorl %r9d, %r9d movq _QEXPSHIFT@GOTPCREL(%rip), %r10 jmp LBB0_3 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 incq %r9 addq %r8, %rbx cmpq %r13, %r9 je LBB0_12 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 testl %r12d, %r12d jle LBB0_11 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 xorl %edi, %edi jmp LBB0_5 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_5 Depth=2 imull %r11d, %esi movl %edx, %eax subl %esi, %eax movzbl (%r10), %ecx sarl %cl, %eax negl %eax LBB0_9: ## in Loop: Header=BB0_5 Depth=2 movl %eax, (%rbx,%rdi,4) LBB0_10: ## in Loop: Header=BB0_5 Depth=2 incq %rdi cmpq %rdi, %r12 je LBB0_11 LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rbx,%rdi,4), %esi testl %esi, %esi js LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_5 Depth=2 imull %r11d, %esi addl %edx, %esi movzbl (%r10), %ecx sarl %cl, %esi movl %esi, %eax jmp LBB0_9 LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _QROOT,4,2 ## @QROOT .comm _ff_qexp,8,3 ## @ff_qexp .comm _QSHIFT,4,2 ## @QSHIFT .comm _QBIAS_SHIFT,4,2 ## @QBIAS_SHIFT .comm _LOSSLESS_QLOG,4,2 ## @LOSSLESS_QLOG .comm _QEXPSHIFT,4,2 ## @QEXPSHIFT .no_dead_strip _dequantize .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dequantize _dequantize: ; @dequantize .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x3 mov x19, x2 mov x21, x0 ldp w22, w23, [x1] ldr w8, [x0, #4] ldr w9, [x1, #8] add w0, w9, w8 Lloh0: adrp x24, _QROOT@GOTPAGE Lloh1: ldr x24, [x24, _QROOT@GOTPAGEOFF] ldr w8, [x24] lsl w2, w8, #4 mov w1, #0 bl _av_clip ldr w8, [x21, #4] Lloh2: adrp x9, _LOSSLESS_QLOG@GOTPAGE Lloh3: ldr x9, [x9, _LOSSLESS_QLOG@GOTPAGEOFF] Lloh4: ldr w9, [x9] cmp w8, w9 ccmp w23, #1, #8, ne b.ge LBB0_2 LBB0_1: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_2: mov x8, #0 Lloh5: adrp x9, _ff_qexp@GOTPAGE Lloh6: ldr x9, [x9, _ff_qexp@GOTPAGEOFF] Lloh7: ldr x9, [x9] ldr w10, [x24] sub w10, w10, #1 and w10, w10, w0 ldr w9, [x9, w10, sxtw #2] Lloh8: adrp x10, _QSHIFT@GOTPAGE Lloh9: ldr x10, [x10, _QSHIFT@GOTPAGEOFF] Lloh10: ldr w10, [x10] asr w10, w0, w10 lsl w9, w9, w10 ldr w10, [x21] Lloh11: adrp x11, _QBIAS_SHIFT@GOTPAGE Lloh12: ldr x11, [x11, _QBIAS_SHIFT@GOTPAGEOFF] mul w10, w9, w10 Lloh13: ldr w11, [x11] asr w10, w10, w11 sbfiz x11, x20, #2, #32 Lloh14: adrp x12, _QEXPSHIFT@GOTPAGE Lloh15: ldr x12, [x12, _QEXPSHIFT@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x8, x8, #1 add x19, x19, x11 cmp x8, x23 b.eq LBB0_1 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 cmp w22, #1 b.lt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x13, x22 mov x14, x19 b LBB0_9 LBB0_6: ; in Loop: Header=BB0_9 Depth=2 msub w15, w15, w9, w10 ldr w16, [x12] asr w15, w15, w16 neg w15, w15 LBB0_7: ; in Loop: Header=BB0_9 Depth=2 str w15, [x14] LBB0_8: ; in Loop: Header=BB0_9 Depth=2 add x14, x14, #4 subs x13, x13, #1 b.eq LBB0_3 LBB0_9: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w15, [x14] tbnz w15, #31, LBB0_6 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 cbz w15, LBB0_8 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 madd w15, w15, w9, w10 ldr w16, [x12] asr w15, w15, w16 b LBB0_7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _QROOT,4,2 ; @QROOT .comm _ff_qexp,8,3 ; @ff_qexp .comm _QSHIFT,4,2 ; @QSHIFT .comm _QBIAS_SHIFT,4,2 ; @QBIAS_SHIFT .comm _LOSSLESS_QLOG,4,2 ; @LOSSLESS_QLOG .comm _QEXPSHIFT,4,2 ; @QEXPSHIFT .no_dead_strip _dequantize .subsections_via_symbols
AnghaBench/FFmpeg/libavcodec/extr_snowenc.c_dequantize.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function unmask_imask_irq _unmask_imask_irq: ## @unmask_imask_irq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _imask_mask@GOTPCREL(%rip), %r14 movl (%r14), %esi callq _set_bit movq _IMASK_PRIORITY@GOTPCREL(%rip), %rax movq (%rax), %rbx movl (%r14), %edi movq %rbx, %rsi callq _find_first_zero_bit subq %rax, %rbx movq _interrupt_priority@GOTPCREL(%rip), %rax movq %rbx, (%rax) movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _set_interrupt_registers ## TAILCALL .cfi_endproc ## -- End function .comm _imask_mask,4,2 ## @imask_mask .comm _IMASK_PRIORITY,8,3 ## @IMASK_PRIORITY .comm _interrupt_priority,8,3 ## @interrupt_priority .no_dead_strip _unmask_imask_irq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function unmask_imask_irq _unmask_imask_irq: ; @unmask_imask_irq .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x20, _imask_mask@GOTPAGE Lloh1: ldr x20, [x20, _imask_mask@GOTPAGEOFF] ldr w1, [x20] bl _set_bit Lloh2: adrp x8, _IMASK_PRIORITY@GOTPAGE Lloh3: ldr x8, [x8, _IMASK_PRIORITY@GOTPAGEOFF] Lloh4: ldr x19, [x8] ldr w0, [x20] mov x1, x19 bl _find_first_zero_bit sub x0, x19, x0 Lloh5: adrp x8, _interrupt_priority@GOTPAGE Lloh6: ldr x8, [x8, _interrupt_priority@GOTPAGEOFF] Lloh7: str x0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _set_interrupt_registers .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _imask_mask,4,2 ; @imask_mask .comm _IMASK_PRIORITY,8,3 ; @IMASK_PRIORITY .comm _interrupt_priority,8,3 ; @interrupt_priority .no_dead_strip _unmask_imask_irq .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/sh/kernel/cpu/irq/extr_imask.c_unmask_imask_irq.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function add_func_info _add_func_info: ## @add_func_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r14 movq %rdi, %r12 movq 8(%rdi), %r15 movslq (%rdi), %rbx movq %rbx, %rax shlq $6, %rax addq %r15, %rax movq %r15, %r13 testq %rbx, %rbx jle LBB0_5 ## %bb.1: movq (%rcx), %rdi movq %r15, %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpq %rdi, (%r13) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 addq $64, %r13 cmpq %rax, %r13 jb LBB0_2 jmp LBB0_5 LBB0_4: cmpq %rdx, 8(%r13) jne LBB0_21 LBB0_5: cmpq %rax, %r13 movq %rcx, -48(%rbp) ## 8-byte Spill je LBB0_11 LBB0_6: movl 8(%rcx), %eax movq _DISPATCH_METHOD@GOTPCREL(%rip), %rdx testl %eax, (%rdx) je LBB0_13 ## %bb.7: movl 4(%r12), %eax leal 1(%rax), %edx movl %edx, 4(%r12) movl %eax, 16(%r13) movl 12(%rcx), %eax movl %eax, 32(%r13) movq _MAX_ARGS@GOTPCREL(%rip), %r14 xorl %edi, %edi cmpl (%r14), %eax setl %dil callq _assert movq -48(%rbp), %rax ## 8-byte Reload movq 16(%rax), %rax movq _FUNC_DISPATCH@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil callq _assert movl 32(%r13), %edi shll $3, %edi callq _heap_alloc movq -48(%rbp), %r11 ## 8-byte Reload movq %rax, 40(%r13) testq %rax, %rax je LBB0_21 ## %bb.8: movl 32(%r13), %r10d testq %r10, %r10 je LBB0_34 ## %bb.9: movq 40(%r11), %r8 cmpl $5, %r10d jb LBB0_10 ## %bb.23: movq %r10, %rcx shlq $4, %rcx addq %r8, %rcx addq $-8, %rcx cmpq %rcx, %rax jae LBB0_26 ## %bb.24: leaq (%rax,%r10,8), %rcx cmpq %rcx, %r8 jae LBB0_26 LBB0_10: xorl %esi, %esi jmp LBB0_28 LBB0_11: cmpl (%rsi), %ebx jne LBB0_19 ## %bb.12: movq %rdx, %r13 leal (%rbx,%rbx), %eax movl %eax, (%rsi) shll $7, %ebx movq %r15, %rdi movl %ebx, %esi callq _heap_realloc_zero movq -48(%rbp), %rcx ## 8-byte Reload movq %rax, %r15 movq %rax, 8(%r12) movslq (%r12), %rbx jmp LBB0_20 LBB0_13: movq _DISPATCH_PROPERTYPUT@GOTPCREL(%rip), %rdx movl (%rdx), %edx movq _DISPATCH_PROPERTYGET@GOTPCREL(%rip), %rsi movl (%rsi), %esi movl %esi, %edi orl %edx, %edi testl %eax, %edi je LBB0_21 ## %bb.14: movq _VT_EMPTY@GOTPCREL(%rip), %r14 movq (%r14), %rdi movq %rdi, %rbx testl %eax, %esi je LBB0_16 ## %bb.15: movq 48(%rcx), %rbx movl 32(%rcx), %esi sarl $3, %esi movl %esi, 52(%r13) LBB0_16: testl %eax, %edx je LBB0_18 ## %bb.17: xorl %edi, %edi cmpl $1, 12(%rcx) sete %dil movq %rcx, %r15 callq _assert movq 40(%r15), %rax movq (%rax), %rbx movl 32(%r15), %eax sarl $3, %eax movl %eax, 56(%r13) movq (%r14), %rdi LBB0_18: movq 24(%r13), %rax cmpq %rdi, %rax sete %cl cmpq %rax, %rbx sete %al orb %cl, %al movzbl %al, %edi callq _assert movq %rbx, 24(%r13) jmp LBB0_21 LBB0_19: movq %rdx, %r13 LBB0_20: movq (%rcx), %rsi shlq $6, %rbx leaq (%r15,%rbx), %rdx addq $60, %rdx movq %r14, %rdi xorl %ecx, %ecx xorl %r8d, %r8d xorl %r9d, %r9d callq _ITypeInfo_GetDocumentation movl %eax, %edi callq _FAILED movq -48(%rbp), %rcx ## 8-byte Reload testq %rax, %rax je LBB0_22 LBB0_21: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_22: movq %r13, %rdx incl (%r12) leaq (%r15,%rbx), %r13 movq (%rcx), %rax movq %rax, (%r15,%rbx) movq %rdx, 8(%r15,%rbx) movl $-1, 16(%r15,%rbx) movq _VT_EMPTY@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 24(%r15,%rbx) jmp LBB0_6 LBB0_26: movl %r10d, %ecx andl $3, %ecx testq %rcx, %rcx movl $4, %edx cmovneq %rcx, %rdx movq %r10, %rsi subq %rdx, %rsi leaq 32(%r8), %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_27: ## =>This Inner Loop Header: Depth=1 movups -32(%rcx), %xmm0 movups -16(%rcx), %xmm1 movlhps %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0] movups (%rcx), %xmm1 movups 16(%rcx), %xmm2 movlhps %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0] movups %xmm0, (%rax,%rdx,8) movups %xmm1, 16(%rax,%rdx,8) addq $4, %rdx addq $64, %rcx cmpq %rdx, %rsi jne LBB0_27 LBB0_28: movl %r10d, %ecx subl %esi, %ecx movq %rsi, %r9 notq %r9 addq %r10, %r9 andq $3, %rcx je LBB0_31 ## %bb.29: movq %rsi, %rdx shlq $4, %rdx addq %r8, %rdx shlq $3, %rcx xorl %edi, %edi .p2align 4, 0x90 LBB0_30: ## =>This Inner Loop Header: Depth=1 movq (%rdx,%rdi,2), %rbx movq %rbx, (%rax,%rsi,8) incq %rsi addq $8, %rdi cmpq %rdi, %rcx jne LBB0_30 LBB0_31: cmpq $3, %r9 jb LBB0_34 ## %bb.32: movq %rsi, %rcx shlq $4, %rcx addq %r8, %rcx addq $48, %rcx .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movq -48(%rcx), %rdx movq %rdx, (%rax,%rsi,8) movq -32(%rcx), %rdx movq %rdx, 8(%rax,%rsi,8) movq -16(%rcx), %rdx movq %rdx, 16(%rax,%rsi,8) movq (%rcx), %rdx movq %rdx, 24(%rax,%rsi,8) addq $4, %rsi addq $64, %rcx cmpq %rsi, %r10 jne LBB0_33 LBB0_34: movq 48(%r11), %rdi movq %rdi, 24(%r13) movq _VT_VOID@GOTPCREL(%rip), %rax cmpq (%rax), %rdi je LBB0_36 ## %bb.35: callq _is_arg_type_supported movq -48(%rbp), %r11 ## 8-byte Reload testl %eax, %eax je LBB0_43 LBB0_36: cmpq $0, 56(%r11) je LBB0_38 ## %bb.37: movl 60(%r13), %edi callq _debugstr_w leaq L_.str.1(%rip), %rdi movl %eax, %esi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _TRACE ## TAILCALL LBB0_38: cmpl $0, 32(%r13) je LBB0_44 ## %bb.39: movl $8, %ebx xorl %r15d, %r15d movq _PARAMFLAG_FHASDEFAULT@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_40: ## =>This Inner Loop Header: Depth=1 movq 40(%r13), %rax movq (%rax,%r15,8), %rdi callq _is_arg_type_supported movq -48(%rbp), %rcx ## 8-byte Reload testl %eax, %eax je LBB0_21 ## %bb.41: ## in Loop: Header=BB0_40 Depth=1 movq 40(%rcx), %rax movl (%r12), %ecx testl %ecx, (%rax,%rbx) jne LBB0_46 ## %bb.42: ## in Loop: Header=BB0_40 Depth=1 incq %r15 movl 32(%r13), %eax addq $16, %rbx cmpq %rax, %r15 jb LBB0_40 jmp LBB0_45 LBB0_43: movl 60(%r13), %edi callq _debugstr_w movq 24(%r13), %rdx leaq L_.str(%rip), %rdi movl %eax, %esi xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _TRACE ## TAILCALL LBB0_44: xorl %eax, %eax LBB0_45: xorl %edi, %edi cmpl (%r14), %eax setle %dil callq _assert movq -48(%rbp), %rbx ## 8-byte Reload movq 24(%rbx), %rax movq _CC_STDCALL@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax sete %dil callq _assert movl 32(%rbx), %eax sarl $3, %eax movl %eax, 48(%r13) jmp LBB0_21 LBB0_46: movl 60(%r13), %edi callq _debugstr_w leaq L_.str.2(%rip), %rdi movl %eax, %esi movl %r15d, %edx xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _TRACE ## TAILCALL .cfi_endproc ## -- End function .comm _VT_EMPTY,8,3 ## @VT_EMPTY .comm _DISPATCH_METHOD,4,2 ## @DISPATCH_METHOD .comm _MAX_ARGS,4,2 ## @MAX_ARGS .comm _FUNC_DISPATCH,8,3 ## @FUNC_DISPATCH .comm _VT_VOID,8,3 ## @VT_VOID .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: return type %d\n" L_.str.1: ## @.str.1 .asciz "%s: optional params\n" .comm _PARAMFLAG_FHASDEFAULT,4,2 ## @PARAMFLAG_FHASDEFAULT L_.str.2: ## @.str.2 .asciz "%s param %d: default value\n" .comm _CC_STDCALL,8,3 ## @CC_STDCALL .comm _DISPATCH_PROPERTYPUT,4,2 ## @DISPATCH_PROPERTYPUT .comm _DISPATCH_PROPERTYGET,4,2 ## @DISPATCH_PROPERTYGET .no_dead_strip _add_func_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function add_func_info _add_func_info: ; @add_func_info .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x4 mov x19, x3 mov x21, x2 mov x20, x0 ldr x0, [x0, #8] ldrsw x8, [x20] add x9, x0, x8, lsl #6 mov x23, x0 cmp w8, #1 b.lt LBB0_5 ; %bb.1: ldr x10, [x19] mov x23, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x11, [x23] cmp x11, x10 b.eq LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x23, x23, #64 cmp x23, x9 b.lo LBB0_2 b LBB0_5 LBB0_4: ldr x10, [x23, #8] cmp x10, x21 b.ne LBB0_39 LBB0_5: cmp x23, x9 b.eq LBB0_13 LBB0_6: ldr w8, [x19, #8] Lloh0: adrp x9, _DISPATCH_METHOD@GOTPAGE Lloh1: ldr x9, [x9, _DISPATCH_METHOD@GOTPAGEOFF] Lloh2: ldr w9, [x9] tst w9, w8 b.eq LBB0_17 ; %bb.7: ldr w8, [x20, #4] add w9, w8, #1 str w9, [x20, #4] str w8, [x23, #16] ldr w8, [x19, #12] str w8, [x23, #32] Lloh3: adrp x20, _MAX_ARGS@GOTPAGE Lloh4: ldr x20, [x20, _MAX_ARGS@GOTPAGEOFF] ldr w9, [x20] cmp w8, w9 cset w0, lt bl _assert ldr x8, [x19, #16] Lloh5: adrp x9, _FUNC_DISPATCH@GOTPAGE Lloh6: ldr x9, [x9, _FUNC_DISPATCH@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x8, x9 cset w0, eq bl _assert ldr w8, [x23, #32] lsl w0, w8, #3 bl _heap_alloc str x0, [x23, #40] cbz x0, LBB0_39 ; %bb.8: ldr w8, [x23, #32] cbz w8, LBB0_26 ; %bb.9: ldr x9, [x19, #40] cmp w8, #9 b.lo LBB0_23 ; %bb.10: add x10, x0, x8, lsl #3 add x11, x9, x8, lsl #4 sub x11, x11, #8 cmp x0, x11 ccmp x9, x10, #2, lo b.lo LBB0_23 ; %bb.11: ands x10, x8, #0x7 mov w11, #8 csel x10, x11, x10, eq sub x10, x8, x10 add x11, x0, #32 add x12, x9, #64 mov x13, x10 LBB0_12: ; =>This Inner Loop Header: Depth=1 sub x14, x12, #64 ld2.2d { v0, v1 }, [x14] sub x14, x12, #32 ld2.2d { v2, v3 }, [x14] mov x14, x12 ld2.2d { v4, v5 }, [x14], #32 ld2.2d { v6, v7 }, [x14] stp q0, q2, [x11, #-32] stp q4, q6, [x11], #64 add x12, x12, #128 subs x13, x13, #8 b.ne LBB0_12 b LBB0_24 LBB0_13: ldr w9, [x1] cmp w8, w9 b.ne LBB0_15 ; %bb.14: lsl w9, w8, #1 str w9, [x1] lsl w1, w8, #7 bl _heap_realloc_zero str x0, [x20, #8] ldrsw x8, [x20] LBB0_15: ldr x1, [x19] add x23, x0, x8, lsl #6 add x2, x23, #60 mov x0, x22 mov x3, #0 mov x4, #0 mov x5, #0 bl _ITypeInfo_GetDocumentation bl _FAILED cbnz x0, LBB0_39 ; %bb.16: ldr w8, [x20] add w8, w8, #1 str w8, [x20] ldr x8, [x19] stp x8, x21, [x23] mov w8, #-1 str w8, [x23, #16] Lloh8: adrp x8, _VT_EMPTY@GOTPAGE Lloh9: ldr x8, [x8, _VT_EMPTY@GOTPAGEOFF] Lloh10: ldr x8, [x8] str x8, [x23, #24] b LBB0_6 LBB0_17: Lloh11: adrp x9, _DISPATCH_PROPERTYPUT@GOTPAGE Lloh12: ldr x9, [x9, _DISPATCH_PROPERTYPUT@GOTPAGEOFF] Lloh13: ldr w10, [x9] Lloh14: adrp x9, _DISPATCH_PROPERTYGET@GOTPAGE Lloh15: ldr x9, [x9, _DISPATCH_PROPERTYGET@GOTPAGEOFF] Lloh16: ldr w11, [x9] orr w9, w11, w10 tst w9, w8 b.eq LBB0_39 ; %bb.18: Lloh17: adrp x21, _VT_EMPTY@GOTPAGE Lloh18: ldr x21, [x21, _VT_EMPTY@GOTPAGEOFF] ldr x9, [x21] mov x20, x9 tst w11, w8 b.eq LBB0_20 ; %bb.19: ldr x20, [x19, #48] ldr w11, [x19, #32] asr w11, w11, #3 str w11, [x23, #52] LBB0_20: tst w10, w8 b.eq LBB0_22 ; %bb.21: ldr w8, [x19, #12] cmp w8, #1 cset w0, eq bl _assert ldr x8, [x19, #40] ldr x20, [x8] ldr w8, [x19, #32] asr w8, w8, #3 str w8, [x23, #56] ldr x9, [x21] LBB0_22: ldr x8, [x23, #24] cmp x8, x9 ccmp x20, x8, #4, ne cset w0, eq bl _assert str x20, [x23, #24] b LBB0_39 LBB0_23: mov x10, #0 LBB0_24: add x11, x0, x10, lsl #3 sub x8, x8, x10 add x9, x9, x10, lsl #4 LBB0_25: ; =>This Inner Loop Header: Depth=1 ldr x10, [x9], #16 str x10, [x11], #8 subs x8, x8, #1 b.ne LBB0_25 LBB0_26: ldr x0, [x19, #48] str x0, [x23, #24] Lloh19: adrp x8, _VT_VOID@GOTPAGE Lloh20: ldr x8, [x8, _VT_VOID@GOTPAGEOFF] Lloh21: ldr x8, [x8] cmp x0, x8 b.eq LBB0_28 ; %bb.27: bl _is_arg_type_supported cbz w0, LBB0_36 LBB0_28: ldr x8, [x19, #56] cbz x8, LBB0_30 ; %bb.29: ldr w0, [x23, #60] bl _debugstr_w mov x1, x0 Lloh22: adrp x0, l_.str.1@PAGE Lloh23: add x0, x0, l_.str.1@PAGEOFF ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 b _TRACE LBB0_30: ldr w8, [x23, #32] cbz w8, LBB0_35 ; %bb.31: mov x21, #0 mov w22, #8 Lloh24: adrp x24, _PARAMFLAG_FHASDEFAULT@GOTPAGE Lloh25: ldr x24, [x24, _PARAMFLAG_FHASDEFAULT@GOTPAGEOFF] LBB0_32: ; =>This Inner Loop Header: Depth=1 ldr x8, [x23, #40] ldr x0, [x8, x21, lsl #3] bl _is_arg_type_supported cbz w0, LBB0_39 ; %bb.33: ; in Loop: Header=BB0_32 Depth=1 ldr x8, [x19, #40] ldr w8, [x8, x22] ldr w9, [x24] tst w9, w8 b.ne LBB0_37 ; %bb.34: ; in Loop: Header=BB0_32 Depth=1 add x21, x21, #1 ldr w8, [x23, #32] add x22, x22, #16 cmp x21, x8 b.lo LBB0_32 LBB0_35: ldr w9, [x20] cmp w8, w9 cset w0, le bl _assert ldr x8, [x19, #24] Lloh26: adrp x9, _CC_STDCALL@GOTPAGE Lloh27: ldr x9, [x9, _CC_STDCALL@GOTPAGEOFF] Lloh28: ldr x9, [x9] cmp x8, x9 cset w0, eq bl _assert ldr w8, [x19, #32] asr w8, w8, #3 str w8, [x23, #48] b LBB0_39 LBB0_36: ldr w0, [x23, #60] bl _debugstr_w mov x1, x0 ldr x8, [x23, #24] str x8, [sp] Lloh29: adrp x0, l_.str@PAGE Lloh30: add x0, x0, l_.str@PAGEOFF b LBB0_38 LBB0_37: ldr w0, [x23, #60] bl _debugstr_w mov x1, x0 str x21, [sp] Lloh31: adrp x0, l_.str.2@PAGE Lloh32: add x0, x0, l_.str.2@PAGEOFF LBB0_38: bl _TRACE LBB0_39: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .cfi_endproc ; -- End function .comm _VT_EMPTY,8,3 ; @VT_EMPTY .comm _DISPATCH_METHOD,4,2 ; @DISPATCH_METHOD .comm _MAX_ARGS,4,2 ; @MAX_ARGS .comm _FUNC_DISPATCH,8,3 ; @FUNC_DISPATCH .comm _VT_VOID,8,3 ; @VT_VOID .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: return type %d\n" l_.str.1: ; @.str.1 .asciz "%s: optional params\n" .comm _PARAMFLAG_FHASDEFAULT,4,2 ; @PARAMFLAG_FHASDEFAULT l_.str.2: ; @.str.2 .asciz "%s param %d: default value\n" .comm _CC_STDCALL,8,3 ; @CC_STDCALL .comm _DISPATCH_PROPERTYPUT,4,2 ; @DISPATCH_PROPERTYPUT .comm _DISPATCH_PROPERTYGET,4,2 ; @DISPATCH_PROPERTYGET .no_dead_strip _add_func_info .subsections_via_symbols
AnghaBench/reactos/dll/win32/mshtml/extr_dispex.c_add_func_info.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _exit_proc ## -- Begin function exit_proc .p2align 4, 0x90 _exit_proc: ## @exit_proc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl _global_rsock(%rip), %edi cmpl $-1, %edi je LBB0_1 ## %bb.2: popq %rbp jmp _close ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .globl _net_close ## -- Begin function net_close .p2align 4, 0x90 _net_close: ## @net_close .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 jmp _close ## TAILCALL .cfi_endproc ## -- End function .globl _sighandler ## -- Begin function sighandler .p2align 4, 0x90 _sighandler: ## @sighandler .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movb $1, _global_connection_alive(%rip) xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .globl _mcrcon_parse_seconds ## -- Begin function mcrcon_parse_seconds .p2align 4, 0x90 _mcrcon_parse_seconds: ## @mcrcon_parse_seconds .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq -24(%rbp), %rsi movl $10, %edx callq _strtol movq %rax, %r14 callq ___error cmpl $0, (%rax) jne LBB3_4 ## %bb.1: cmpq %rbx, -24(%rbp) je LBB3_5 ## %bb.2: leaq -601(%r14), %rax cmpq $-601, %rax ## imm = 0xFDA7 jbe LBB3_6 ## %bb.3: movl %r14d, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq LBB3_4: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %r14 callq ___error movl (%rax), %ebx callq ___error movl (%rax), %edi callq _strerror leaq L_.str(%rip), %rsi movq %r14, %rdi movl %ebx, %edx movq %rax, %rcx xorl %eax, %eax callq _fprintf movl $1, %edi callq _exit LBB3_5: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.1(%rip), %rdi movl $33, %esi movl $1, %edx callq _fwrite movl $1, %edi callq _exit LBB3_6: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.2(%rip), %rsi movl $600, %edx ## imm = 0x258 xorl %eax, %eax callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %ebx leaq L_.str.3(%rip), %rdi callq _getenv movq %rax, %r15 leaq L_.str.4(%rip), %rdi callq _getenv movq %rax, %r12 leaq L_.str.5(%rip), %rdi callq _getenv testl %ebx, %ebx jg LBB4_2 ## %bb.1: testq %r12, %r12 je LBB4_31 LBB4_2: movq %r12, -72(%rbp) ## 8-byte Spill testq %r15, %r15 leaq L_.str.7(%rip), %rcx cmovneq %r15, %rcx movq %rcx, -64(%rbp) ## 8-byte Spill testq %rax, %rax leaq L_.str.6(%rip), %rcx cmovneq %rax, %rcx movq %rcx, -56(%rbp) ## 8-byte Spill movq _opterr@GOTPCREL(%rip), %rax movl $1, (%rax) movl $0, -44(%rbp) ## 4-byte Folded Spill leaq L_.str.8(%rip), %r15 leaq LJTI4_0(%rip), %r12 movq _optarg@GOTPCREL(%rip), %r13 jmp LBB4_4 LBB4_3: ## in Loop: Header=BB4_4 Depth=1 movq (%r13), %rdi callq _mcrcon_parse_seconds movl %eax, _global_wait_seconds(%rip) .p2align 4, 0x90 LBB4_4: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movq %r14, %rsi movq %r15, %rdx callq _getopt ## kill: def $eax killed $eax def $rax leal -72(%rax), %ecx cmpl $47, %ecx ja LBB4_13 ## %bb.5: ## in Loop: Header=BB4_4 Depth=1 movslq (%r12,%rcx,4), %rax addq %r12, %rax jmpq *%rax LBB4_6: ## in Loop: Header=BB4_4 Depth=1 movq (%r13), %rax movq %rax, -64(%rbp) ## 8-byte Spill jmp LBB4_4 LBB4_7: ## in Loop: Header=BB4_4 Depth=1 movq (%r13), %rax movq %rax, -56(%rbp) ## 8-byte Spill jmp LBB4_4 LBB4_8: ## in Loop: Header=BB4_4 Depth=1 movb $1, _global_disable_colors(%rip) jmp LBB4_4 LBB4_9: ## in Loop: Header=BB4_4 Depth=1 movq (%r13), %rax movq %rax, -72(%rbp) ## 8-byte Spill jmp LBB4_4 LBB4_10: ## in Loop: Header=BB4_4 Depth=1 movb $1, _global_raw_output(%rip) jmp LBB4_4 LBB4_11: ## in Loop: Header=BB4_4 Depth=1 movb $1, _global_silent_mode(%rip) jmp LBB4_4 LBB4_12: ## in Loop: Header=BB4_4 Depth=1 movl $1, -44(%rbp) ## 4-byte Folded Spill jmp LBB4_4 LBB4_13: cmpl $-1, %eax jne LBB4_30 ## %bb.14: movq -72(%rbp), %r12 ## 8-byte Reload testq %r12, %r12 je LBB4_24 ## %bb.15: movq _optind@GOTPCREL(%rip), %rax movl (%rax), %r13d leaq _exit_proc(%rip), %rdi callq _atexit leaq _sighandler(%rip), %r15 movl $6, %edi movq %r15, %rsi callq _signal movl $15, %edi movq %r15, %rsi callq _signal movl $2, %edi movq %r15, %rsi callq _signal movq -64(%rbp), %rdi ## 8-byte Reload movq -56(%rbp), %rsi ## 8-byte Reload callq _net_connect movl %eax, _global_rsock(%rip) movl %eax, %edi movq %r12, %rsi callq _rcon_auth testl %eax, %eax je LBB4_25 ## %bb.16: cmpl %ebx, %r13d je LBB4_26 ## %bb.17: cmpl $0, -44(%rbp) ## 4-byte Folded Reload jne LBB4_26 ## %bb.18: movq _optind@GOTPCREL(%rip), %rax movslq (%rax), %r12 movl _global_rsock(%rip), %edi movq (%r14,%r12,8), %rsi callq _rcon_command movl $1, %r15d testl %eax, %eax je LBB4_28 ## %bb.19: movslq %ebx, %rbx incq %r12 jmp LBB4_21 .p2align 4, 0x90 LBB4_20: ## in Loop: Header=BB4_21 Depth=1 movl _global_rsock(%rip), %edi movq (%r14,%r12,8), %rsi callq _rcon_command incq %r12 testl %eax, %eax je LBB4_28 LBB4_21: ## =>This Inner Loop Header: Depth=1 cmpq %rbx, %r12 jge LBB4_27 ## %bb.22: ## in Loop: Header=BB4_21 Depth=1 movl _global_wait_seconds(%rip), %edi testl %edi, %edi jle LBB4_20 ## %bb.23: ## in Loop: Header=BB4_21 Depth=1 callq _sleep jmp LBB4_20 LBB4_24: leaq L_.str.12(%rip), %rdi callq _puts xorl %r15d, %r15d jmp LBB4_29 LBB4_25: movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.13(%rip), %rdi movl $23, %esi movl $1, %edx callq _fwrite movl $1, %r15d jmp LBB4_28 LBB4_26: movl _global_rsock(%rip), %edi callq _run_terminal_mode LBB4_27: xorl %r15d, %r15d LBB4_28: movl _global_rsock(%rip), %edi callq _close movl $-1, _global_rsock(%rip) LBB4_29: movl %r15d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_30: leaq L_.str.11(%rip), %rdi callq _puts movl $1, %edi callq _exit LBB4_31: leaq L_.str.14(%rip), %rdi callq _puts leaq L_.str.15(%rip), %rdi callq _puts leaq L_.str.16(%rip), %rdi jmp LBB4_33 LBB4_32: leaq L_.str.9(%rip), %rdi callq _puts leaq L_.str.10(%rip), %rdi LBB4_33: callq _puts xorl %edi, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L4_0_set_6, LBB4_6-LJTI4_0 .set L4_0_set_30, LBB4_30-LJTI4_0 .set L4_0_set_7, LBB4_7-LJTI4_0 .set L4_0_set_8, LBB4_8-LJTI4_0 .set L4_0_set_31, LBB4_31-LJTI4_0 .set L4_0_set_4, LBB4_4-LJTI4_0 .set L4_0_set_9, LBB4_9-LJTI4_0 .set L4_0_set_10, LBB4_10-LJTI4_0 .set L4_0_set_11, LBB4_11-LJTI4_0 .set L4_0_set_12, LBB4_12-LJTI4_0 .set L4_0_set_32, LBB4_32-LJTI4_0 .set L4_0_set_3, LBB4_3-LJTI4_0 LJTI4_0: .long L4_0_set_6 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_7 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_8 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_31 .long L4_0_set_4 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_30 .long L4_0_set_9 .long L4_0_set_30 .long L4_0_set_10 .long L4_0_set_11 .long L4_0_set_12 .long L4_0_set_30 .long L4_0_set_32 .long L4_0_set_3 .end_data_region ## -- End function .globl _usage ## -- Begin function usage .p2align 4, 0x90 _usage: ## @usage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp leaq L_.str.14(%rip), %rdi callq _puts leaq L_.str.15(%rip), %rdi callq _puts leaq L_.str.16(%rip), %rdi callq _puts xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .globl _net_connect ## -- Begin function net_connect .p2align 4, 0x90 _net_connect: ## @net_connect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $64, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 xorps %xmm0, %xmm0 movaps %xmm0, -80(%rbp) movaps %xmm0, -64(%rbp) movaps %xmm0, -48(%rbp) movabsq $25769803777, %rax ## imm = 0x600000001 movq %rax, -72(%rbp) leaq -80(%rbp), %rdx leaq -24(%rbp), %rcx callq _getaddrinfo testl %eax, %eax jne LBB6_9 ## %bb.1: movq -24(%rbp), %rbx jmp LBB6_2 .p2align 4, 0x90 LBB6_6: ## in Loop: Header=BB6_2 Depth=1 movq 40(%rbx), %rbx LBB6_2: ## =>This Inner Loop Header: Depth=1 testq %rbx, %rbx je LBB6_7 ## %bb.3: ## in Loop: Header=BB6_2 Depth=1 movl 4(%rbx), %edi movl 8(%rbx), %esi movl 12(%rbx), %edx callq _socket cmpl $-1, %eax je LBB6_6 ## %bb.4: ## in Loop: Header=BB6_2 Depth=1 movl %eax, %r14d movq 32(%rbx), %rsi movl 16(%rbx), %edx movl %eax, %edi callq _connect cmpl $-1, %eax jne LBB6_8 ## %bb.5: ## in Loop: Header=BB6_2 Depth=1 movl %r14d, %edi callq _close jmp LBB6_6 LBB6_8: movq -24(%rbp), %rdi callq _freeaddrinfo movl %r14d, %eax addq $64, %rsp popq %rbx popq %r14 popq %rbp retq LBB6_7: movq ___stderrp@GOTPCREL(%rip), %rbx movq (%rbx), %rcx leaq L_.str.19(%rip), %rdi movl $19, %esi movl $1, %edx callq _fwrite movq (%rbx), %r14 callq ___error movl (%rax), %ebx callq ___error movl (%rax), %edi callq _strerror leaq L_.str.18(%rip), %rsi movq %r14, %rdi movl %ebx, %edx movq %rax, %rcx xorl %eax, %eax callq _fprintf movq -24(%rbp), %rdi callq _freeaddrinfo movl $1, %edi callq _exit LBB6_9: movl %eax, %ebx movq ___stderrp@GOTPCREL(%rip), %r14 movq (%r14), %rcx leaq L_.str.17(%rip), %rdi movl $24, %esi movl $1, %edx callq _fwrite movq (%r14), %r14 movl %ebx, %edi callq _gai_strerror leaq L_.str.18(%rip), %rsi movq %r14, %rdi movl %ebx, %edx movq %rax, %rcx xorl %eax, %eax callq _fprintf movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _rcon_auth ## -- Begin function rcon_auth .p2align 4, 0x90 _rcon_auth: ## @rcon_auth .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movl %edi, %r14d movq %rsi, %rdi callq _strlen movq %rax, %r12 cmpl $4097, %r12d ## imm = 0x1001 jl LBB7_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.41(%rip), %rsi xorl %r14d, %r14d movl %r12d, %edx movl $4096, %ecx ## imm = 0x1000 xorl %eax, %eax callq _fprintf jmp LBB7_8 LBB7_2: leal 10(%r12), %eax movl %eax, _packet_build.packet(%rip) movabsq $13080838366, %rax ## imm = 0x30BADC0DE movq %rax, _packet_build.packet+4(%rip) leaq _packet_build.packet+12(%rip), %rdi movl $4096, %edx ## imm = 0x1000 movq %r15, %rsi callq _strncpy cmpl $-13, %r12d jl LBB7_6 ## %bb.3: addl $14, %r12d xorl %ebx, %ebx leaq _packet_build.packet(%rip), %r15 movl %r12d, %r13d .p2align 4, 0x90 LBB7_4: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rsi addq %r15, %rsi movslq %r13d, %rdx movl %r14d, %edi xorl %ecx, %ecx callq _send cmpl $-1, %eax je LBB7_6 ## %bb.5: ## in Loop: Header=BB7_4 Depth=1 addl %eax, %ebx subl %eax, %r13d cmpl %r12d, %ebx jl LBB7_4 LBB7_6: movl %r14d, %edi callq _net_recv_packet xorl %r14d, %r14d testq %rax, %rax je LBB7_8 ## %bb.7: cmpl $-1, 4(%rax) setne %r14b LBB7_8: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _run_terminal_mode ## -- Begin function run_terminal_mode .p2align 4, 0x90 _run_terminal_mode: ## @run_terminal_mode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $4104, %eax ## imm = 0x1008 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq -4144(%rbp), %rdi movl $4096, %esi ## imm = 0x1000 callq ___bzero leaq L_.str.42(%rip), %rdi callq _puts xorl %r15d, %r15d cmpb $0, _global_connection_alive(%rip) je LBB8_1 LBB8_17: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB8_20 ## %bb.18: movl %r15d, %eax addq $4104, %rsp ## imm = 0x1008 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB8_1: xorl %r15d, %r15d leaq -4144(%rbp), %rbx leaq L_.str.43(%rip), %r13 .p2align 4, 0x90 LBB8_2: ## =>This Loop Header: Depth=1 ## Child Loop BB8_6 Depth 2 movl $62, %edi callq _putchar movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx movq %rbx, %rdi movl $4096, %esi ## imm = 0x1000 callq _fgets testq %rax, %rax je LBB8_19 ## %bb.3: ## in Loop: Header=BB8_2 Depth=1 cmpb $0, -4144(%rbp) jne LBB8_5 ## %bb.4: ## in Loop: Header=BB8_2 Depth=1 movb $1, _global_connection_alive(%rip) LBB8_5: ## in Loop: Header=BB8_2 Depth=1 movq %rbx, %rdi leaq L_.str.46(%rip), %rsi callq _strcspn movb $0, -4144(%rbp,%rax) movq %rbx, %rdi callq _strlen movq %rax, %r12 cmpl $4095, %r12d ## imm = 0xFFF jne LBB8_8 .p2align 4, 0x90 LBB8_6: ## Parent Loop BB8_2 Depth=1 ## => This Inner Loop Header: Depth=2 callq _getchar cmpl $10, %eax je LBB8_8 ## %bb.7: ## in Loop: Header=BB8_6 Depth=2 cmpl $-1, %eax jne LBB8_6 LBB8_8: ## in Loop: Header=BB8_2 Depth=1 movq %rbx, %rdi movq %r13, %rsi callq _strcasecmp testl %eax, %eax je LBB8_17 ## %bb.9: ## in Loop: Header=BB8_2 Depth=1 movq %rbx, %rdi leaq L_.str.44(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB8_17 ## %bb.10: ## in Loop: Header=BB8_2 Depth=1 cmpb $81, -4144(%rbp) jne LBB8_12 ## %bb.11: ## in Loop: Header=BB8_2 Depth=1 cmpb $0, -4143(%rbp) je LBB8_17 LBB8_12: ## in Loop: Header=BB8_2 Depth=1 testl %r12d, %r12d jle LBB8_15 ## %bb.13: ## in Loop: Header=BB8_2 Depth=1 testb $1, _global_connection_alive(%rip) jne LBB8_15 ## %bb.14: ## in Loop: Header=BB8_2 Depth=1 movl %r14d, %edi movq %rbx, %rsi callq _rcon_command addl %eax, %r15d LBB8_15: ## in Loop: Header=BB8_2 Depth=1 movq %rbx, %rdi leaq L_.str.45(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB8_17 ## %bb.16: ## in Loop: Header=BB8_2 Depth=1 movb $0, -4144(%rbp) cmpb $1, _global_connection_alive(%rip) jne LBB8_2 jmp LBB8_17 LBB8_19: movl $1, %edi callq _exit LBB8_20: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _run_commands ## -- Begin function run_commands .p2align 4, 0x90 _run_commands: ## @run_commands .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r12 movl %edi, %r15d movq _optind@GOTPCREL(%rip), %rax movslq (%rax), %rbx movl _global_rsock(%rip), %edi movq (%rsi,%rbx,8), %rsi callq _rcon_command movl $1, %r14d testl %eax, %eax je LBB9_7 ## %bb.1: movslq %r15d, %r15 incq %rbx jmp LBB9_2 .p2align 4, 0x90 LBB9_6: ## in Loop: Header=BB9_2 Depth=1 movl _global_rsock(%rip), %edi movq (%r12,%rbx,8), %rsi callq _rcon_command incq %rbx testl %eax, %eax je LBB9_7 LBB9_2: ## =>This Inner Loop Header: Depth=1 cmpq %r15, %rbx jge LBB9_3 ## %bb.4: ## in Loop: Header=BB9_2 Depth=1 movl _global_wait_seconds(%rip), %edi testl %edi, %edi jle LBB9_6 ## %bb.5: ## in Loop: Header=BB9_2 Depth=1 callq _sleep jmp LBB9_6 LBB9_3: xorl %r14d, %r14d LBB9_7: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _net_send ## -- Begin function net_send .p2align 4, 0x90 _net_send: ## @net_send .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r13 movq %rsi, %r15 movl %edi, %r12d xorl %r14d, %r14d movq %rdx, %rbx .p2align 4, 0x90 LBB10_1: ## =>This Inner Loop Header: Depth=1 cmpq %r13, %r14 jae LBB10_2 ## %bb.3: ## in Loop: Header=BB10_1 Depth=1 leaq (%r15,%r14), %rsi movl %r12d, %edi movq %rbx, %rdx xorl %ecx, %ecx callq _send cltq addq %rax, %r14 subq %r14, %rbx cmpl $-1, %eax jne LBB10_1 ## %bb.4: movl $-1, %eax jmp LBB10_5 LBB10_2: xorl %eax, %eax LBB10_5: ## kill: def $eax killed $eax killed $rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _net_send_packet ## -- Begin function net_send_packet .p2align 4, 0x90 _net_send_packet: ## @net_send_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl (%rsi), %r14d addl $4, %r14d movl $-1, %eax testl %r14d, %r14d jle LBB11_6 ## %bb.1: movq %rsi, %r12 movl %edi, %r15d xorl %ebx, %ebx movl %r14d, %r13d .p2align 4, 0x90 LBB11_2: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rsi addq %r12, %rsi movslq %r13d, %rdx movl %r15d, %edi xorl %ecx, %ecx callq _send cmpl $-1, %eax je LBB11_3 ## %bb.4: ## in Loop: Header=BB11_2 Depth=1 addl %eax, %ebx subl %eax, %r13d cmpl %r14d, %ebx jl LBB11_2 ## %bb.5: movl $1, %eax jmp LBB11_6 LBB11_3: movl $-1, %eax LBB11_6: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _net_recv_packet ## -- Begin function net_recv_packet .p2align 4, 0x90 _net_recv_packet: ## @net_recv_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r14d leaq -28(%rbp), %rsi movl $4, %edx xorl %ecx, %ecx callq _recv testl %eax, %eax je LBB12_10 ## %bb.1: cmpl $4, %eax jne LBB12_2 ## %bb.3: movl -28(%rbp), %edx leal -4097(%rdx), %eax cmpl $-4088, %eax ## imm = 0xF008 ja LBB12_8 ## %bb.4: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.22(%rip), %rsi ## kill: def $edx killed $edx killed $rdx movl $4096, %ecx ## imm = 0x1000 xorl %eax, %eax callq _fprintf movl -28(%rbp), %esi cmpl $4097, %esi ## imm = 0x1001 jb LBB12_6 ## %bb.5: movl $4096, -28(%rbp) ## imm = 0x1000 movl $4096, %esi ## imm = 0x1000 LBB12_6: movl %r14d, %edi callq _net_clean_incoming jmp LBB12_11 LBB12_2: movq ___stderrp@GOTPCREL(%rip), %rcx movq (%rcx), %rdi leaq L_.str.21(%rip), %rsi xorl %r15d, %r15d movl %eax, %edx xorl %eax, %eax callq _fprintf movb $1, _global_connection_alive(%rip) jmp LBB12_12 LBB12_8: movl %edx, _net_recv_packet.packet(%rip) xorl %ebx, %ebx leaq _net_recv_packet.packet(%rip), %r15 .p2align 4, 0x90 LBB12_9: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rax leaq (%rax,%r15), %rsi addq $4, %rsi subl %eax, %edx movslq %edx, %rdx movl %r14d, %edi xorl %ecx, %ecx callq _recv testl %eax, %eax je LBB12_10 ## %bb.7: ## in Loop: Header=BB12_9 Depth=1 addl %eax, %ebx movl -28(%rbp), %edx cmpl %ebx, %edx jg LBB12_9 jmp LBB12_12 LBB12_10: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.20(%rip), %rdi movl $17, %esi movl $1, %edx callq _fwrite movb $1, _global_connection_alive(%rip) LBB12_11: xorl %r15d, %r15d LBB12_12: movq %r15, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _net_clean_incoming ## -- Begin function net_clean_incoming .p2align 4, 0x90 _net_clean_incoming: ## @net_clean_incoming .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movl %esi, %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rsi movslq %ebx, %rdx movl %r14d, %edi xorl %ecx, %ecx callq _recv movq %rax, %rbx testl %ebx, %ebx jne LBB13_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.20(%rip), %rdi movl $17, %esi movl $1, %edx callq _fwrite movb $1, _global_connection_alive(%rip) LBB13_2: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB13_4 ## %bb.3: movl %ebx, %eax leaq -16(%rbp), %rsp popq %rbx popq %r14 popq %rbp retq LBB13_4: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _print_color ## -- Begin function print_color .p2align 4, 0x90 _print_color: ## @print_color .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi leaq L_.str.40(%rip), %rax testl %edi, %edi je LBB14_7 ## %bb.1: cmpl $114, %edi je LBB14_7 ## %bb.2: leal -97(%rdi), %eax cmpl $5, %eax ja LBB14_4 ## %bb.3: addl $-87, %edi movl %edi, %eax jmp LBB14_6 LBB14_4: leal -48(%rdi), %eax cmpl $10, %eax jb LBB14_6 ## %bb.5: movl $16, %eax cmpl $110, %edi jne LBB14_8 LBB14_6: movl %eax, %eax leaq l___const.print_color.colors(%rip), %rcx movq (%rcx,%rax,8), %rax LBB14_7: movq ___stdoutp@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movq %rax, %rdi popq %rbp jmp _fputs ## TAILCALL LBB14_8: popq %rbp retq .cfi_endproc ## -- End function .globl _packet_print ## -- Begin function packet_print .p2align 4, 0x90 _packet_print: ## @packet_print .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r15 cmpb $1, _global_raw_output(%rip) jne LBB15_5 ## %bb.1: movb 12(%r15), %al testb %al, %al je LBB15_4 ## %bb.2: addq $13, %r15 .p2align 4, 0x90 LBB15_3: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _putchar movzbl (%r15), %eax incq %r15 testb %al, %al jne LBB15_3 jmp LBB15_4 LBB15_5: cmpb $0, _global_disable_colors(%rip) je LBB15_6 ## %bb.26: xorl %ebx, %ebx jmp LBB15_27 .p2align 4, 0x90 LBB15_31: ## in Loop: Header=BB15_27 Depth=1 addl $2, %ebx incl %ebx LBB15_27: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rax movsbl 12(%r15,%rax), %edi cmpl $-62, %edi je LBB15_30 ## %bb.28: ## in Loop: Header=BB15_27 Depth=1 testb %dil, %dil jne LBB15_29 jmp LBB15_11 .p2align 4, 0x90 LBB15_30: ## in Loop: Header=BB15_27 Depth=1 cmpb $-89, 13(%rax,%r15) je LBB15_31 LBB15_29: ## in Loop: Header=BB15_27 Depth=1 callq _putchar incl %ebx jmp LBB15_27 LBB15_6: xorl %ebx, %ebx leaq L_.str.40(%rip), %r14 movq ___stdoutp@GOTPCREL(%rip), %r12 jmp LBB15_7 LBB15_18: ## in Loop: Header=BB15_7 Depth=1 addl $-87, %eax movl %eax, %ecx LBB15_21: ## in Loop: Header=BB15_7 Depth=1 movl %ecx, %eax leaq l___const.print_color.colors(%rip), %rcx movq (%rcx,%rax,8), %rdi LBB15_22: ## in Loop: Header=BB15_7 Depth=1 movq (%r12), %rsi callq _fputs incl %ebx .p2align 4, 0x90 LBB15_7: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %r13 movzbl 12(%r15,%r13), %eax cmpb $-62, %al je LBB15_14 ## %bb.8: ## in Loop: Header=BB15_7 Depth=1 cmpb $10, %al je LBB15_23 ## %bb.9: ## in Loop: Header=BB15_7 Depth=1 testb %al, %al jne LBB15_24 jmp LBB15_10 .p2align 4, 0x90 LBB15_14: ## in Loop: Header=BB15_7 Depth=1 movb $-62, %al cmpb $-89, 13(%r13,%r15) jne LBB15_24 ## %bb.15: ## in Loop: Header=BB15_7 Depth=1 movsbl 14(%r15,%r13), %eax addq $2, %r13 movl %r13d, %ebx movq %r14, %rdi testl %eax, %eax je LBB15_22 ## %bb.16: ## in Loop: Header=BB15_7 Depth=1 movq %r14, %rdi cmpl $114, %eax je LBB15_22 ## %bb.17: ## in Loop: Header=BB15_7 Depth=1 leal -97(%rax), %ecx cmpl $5, %ecx jbe LBB15_18 ## %bb.19: ## in Loop: Header=BB15_7 Depth=1 leal -48(%rax), %ecx cmpl $10, %ecx jb LBB15_21 ## %bb.20: ## in Loop: Header=BB15_7 Depth=1 movl $16, %ecx cmpb $110, %al je LBB15_21 jmp LBB15_25 .p2align 4, 0x90 LBB15_23: ## in Loop: Header=BB15_7 Depth=1 movq (%r12), %rsi movq %r14, %rdi callq _fputs movzbl 12(%r15,%r13), %eax LBB15_24: ## in Loop: Header=BB15_7 Depth=1 movsbl %al, %edi callq _putchar LBB15_25: ## in Loop: Header=BB15_7 Depth=1 incl %ebx jmp LBB15_7 LBB15_10: movq (%r12), %rsi leaq L_.str.40(%rip), %rdi callq _fputs LBB15_11: movslq %ebx, %rax movb 11(%rax,%r15), %al cmpb $10, %al je LBB15_4 ## %bb.12: cmpb $13, %al jne LBB15_13 LBB15_4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB15_13: movl $10, %edi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _putchar ## TAILCALL .cfi_endproc ## -- End function .globl _packet_build ## -- Begin function packet_build .p2align 4, 0x90 _packet_build: ## @packet_build .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r15d movl %edi, %r12d movq %rdx, %rdi callq _strlen cmpl $4097, %eax ## imm = 0x1001 jl LBB16_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rcx movq (%rcx), %rdi leaq L_.str.41(%rip), %rsi xorl %r14d, %r14d movl %eax, %edx movl $4096, %ecx ## imm = 0x1000 xorl %eax, %eax callq _fprintf jmp LBB16_3 LBB16_2: addl $10, %eax movl %eax, _packet_build.packet(%rip) leaq _packet_build.packet(%rip), %r14 movl %r12d, _packet_build.packet+4(%rip) movl %r15d, _packet_build.packet+8(%rip) leaq _packet_build.packet+12(%rip), %rdi movl $4096, %edx ## imm = 0x1000 movq %rbx, %rsi callq _strncpy LBB16_3: movq %r14, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _rcon_command ## -- Begin function rcon_command .p2align 4, 0x90 _rcon_command: ## @rcon_command .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movl %edi, %r14d movq %rsi, %rdi callq _strlen movq %rax, %r12 cmpl $4097, %r12d ## imm = 0x1001 jl LBB17_2 ## %bb.1: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.41(%rip), %rsi xorl %r14d, %r14d movl %r12d, %edx movl $4096, %ecx ## imm = 0x1000 xorl %eax, %eax callq _fprintf movb $1, _global_connection_alive(%rip) jmp LBB17_11 LBB17_2: leal 10(%r12), %eax movl %eax, _packet_build.packet(%rip) movabsq $8785871070, %rax ## imm = 0x20BADC0DE movq %rax, _packet_build.packet+4(%rip) leaq _packet_build.packet+12(%rip), %rdi movl $4096, %edx ## imm = 0x1000 movq %r15, %rsi callq _strncpy cmpl $-13, %r12d jl LBB17_6 ## %bb.3: addl $14, %r12d xorl %ebx, %ebx leaq _packet_build.packet(%rip), %r15 movl %r12d, %r13d .p2align 4, 0x90 LBB17_4: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rsi addq %r15, %rsi movslq %r13d, %rdx movl %r14d, %edi xorl %ecx, %ecx callq _send cmpl $-1, %eax je LBB17_6 ## %bb.5: ## in Loop: Header=BB17_4 Depth=1 addl %eax, %ebx subl %eax, %r13d cmpl %r12d, %ebx jl LBB17_4 LBB17_6: movl %r14d, %edi callq _net_recv_packet xorl %r14d, %r14d testq %rax, %rax je LBB17_11 ## %bb.7: cmpl $195936478, 4(%rax) ## imm = 0xBADC0DE jne LBB17_11 ## %bb.8: movl $1, %r14d cmpb $0, _global_silent_mode(%rip) jne LBB17_11 ## %bb.9: cmpl $11, (%rax) jl LBB17_11 ## %bb.10: movq %rax, %rdi callq _packet_print LBB17_11: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _get_line ## -- Begin function get_line .p2align 4, 0x90 _get_line: ## @get_line .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx callq _fgets testq %rax, %rax je LBB18_7 ## %bb.1: cmpb $0, (%rbx) jne LBB18_3 ## %bb.2: movb $1, _global_connection_alive(%rip) LBB18_3: leaq L_.str.46(%rip), %rsi movq %rbx, %rdi callq _strcspn movb $0, (%rbx,%rax) movq %rbx, %rdi callq _strlen movq %rax, %rbx decl %r14d cmpl %ebx, %r14d jne LBB18_6 .p2align 4, 0x90 LBB18_4: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $10, %eax je LBB18_6 ## %bb.5: ## in Loop: Header=BB18_4 Depth=1 cmpl $-1, %eax jne LBB18_4 LBB18_6: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq LBB18_7: movl $1, %edi callq _exit .cfi_endproc ## -- End function .zerofill __DATA,__bss,_global_rsock,4,2 ## @global_rsock .zerofill __DATA,__bss,_global_connection_alive,1,2 ## @global_connection_alive .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "-w invalid value.\nerror %d: %s\n" L_.str.1: ## @.str.1 .asciz "-w invalid value (not a number?)\n" L_.str.2: ## @.str.2 .asciz "-w value out of range.\nAcceptable value is 1 - %d (seconds).\n" L_.str.3: ## @.str.3 .asciz "MCRCON_HOST" L_.str.4: ## @.str.4 .asciz "MCRCON_PASS" L_.str.5: ## @.str.5 .asciz "MCRCON_PORT" L_.str.6: ## @.str.6 .asciz "25575" L_.str.7: ## @.str.7 .asciz "localhost" L_.str.8: ## @.str.8 .asciz "vrtcshw:H:p:P:" .zerofill __DATA,__bss,_global_disable_colors,1,2 ## @global_disable_colors .zerofill __DATA,__bss,_global_silent_mode,1,2 ## @global_silent_mode .zerofill __DATA,__bss,_global_raw_output,1,2 ## @global_raw_output .zerofill __DATA,__bss,_global_wait_seconds,4,2 ## @global_wait_seconds L_.str.9: ## @.str.9 .asciz "mcrcon 0.7.1 (built: Mar 27 2025 12:34:53) - https://github.com/Tiiffi/mcrcon" L_.str.10: ## @.str.10 .asciz "Bug reports:\n\ttiiffi+mcrcon at gmail\n\thttps://github.com/Tiiffi/mcrcon/issues/" L_.str.11: ## @.str.11 .asciz "Try 'mcrcon -h' or 'man mcrcon' for help." L_.str.12: ## @.str.12 .asciz "You must give password (-p password).\nTry 'mcrcon -h' or 'man mcrcon' for help." L_.str.13: ## @.str.13 .asciz "Authentication failed!\n" L_.str.14: ## @.str.14 .asciz "Usage: mcrcon [OPTIONS] [COMMANDS]\n\nSend rcon commands to Minecraft server.\n\nOptions:\n -H\t\tServer address (default: localhost)\n -P\t\tPort (default: 25575)\n -p\t\tRcon password\n -t\t\tTerminal mode\n -s\t\tSilent mode\n -c\t\tDisable colors\n -r\t\tOutput raw packets\n -w\t\tWait for specified duration (seconds) between each command (1 - 600s)\n -h\t\tPrint usage\n -v\t\tVersion information\n\nServer address, port and password can be set with following environment variables:\n MCRCON_HOST\n MCRCON_PORT\n MCRCON_PASS\n" L_.str.15: ## @.str.15 .asciz "- mcrcon will start in terminal mode if no commands are given\n- Command-line options will override environment variables\n- Rcon commands with spaces must be enclosed in quotes\n" L_.str.16: ## @.str.16 .asciz "Example:\n\tmcrcon -H my.minecraft.server -p password -w 5 \"say Server is restarting!\" save-all stop\n" L_.str.17: ## @.str.17 .asciz "Name resolution failed.\n" L_.str.18: ## @.str.18 .asciz "Error %d: %s\n" L_.str.19: ## @.str.19 .asciz "Connection failed.\n" .zerofill __DATA,__bss,_net_recv_packet.packet,4108,2 ## @net_recv_packet.packet L_.str.20: ## @.str.20 .asciz "Connection lost.\n" L_.str.21: ## @.str.21 .asciz "Error: recv() failed. Invalid packet size (%d).\n" L_.str.22: ## @.str.22 .asciz "Warning: invalid packet size (%d). Must over 10 and less than %d.\n" L_.str.23: ## @.str.23 .asciz "\033[0;30m" L_.str.24: ## @.str.24 .asciz "\033[0;34m" L_.str.25: ## @.str.25 .asciz "\033[0;32m" L_.str.26: ## @.str.26 .asciz "\033[0;36m" L_.str.27: ## @.str.27 .asciz "\033[0;31m" L_.str.28: ## @.str.28 .asciz "\033[0;35m" L_.str.29: ## @.str.29 .asciz "\033[0;33m" L_.str.30: ## @.str.30 .asciz "\033[0;37m" L_.str.31: ## @.str.31 .asciz "\033[0;1;30m" L_.str.32: ## @.str.32 .asciz "\033[0;1;34m" L_.str.33: ## @.str.33 .asciz "\033[0;1;32m" L_.str.34: ## @.str.34 .asciz "\033[0;1;36m" L_.str.35: ## @.str.35 .asciz "\033[0;1;31m" L_.str.36: ## @.str.36 .asciz "\033[0;1;35m" L_.str.37: ## @.str.37 .asciz "\033[0;1;33m" L_.str.38: ## @.str.38 .asciz "\033[0;1;37m" L_.str.39: ## @.str.39 .asciz "\033[4m" .section __DATA,__const .p2align 4 ## @__const.print_color.colors l___const.print_color.colors: .quad L_.str.23 .quad L_.str.24 .quad L_.str.25 .quad L_.str.26 .quad L_.str.27 .quad L_.str.28 .quad L_.str.29 .quad L_.str.30 .quad L_.str.31 .quad L_.str.32 .quad L_.str.33 .quad L_.str.34 .quad L_.str.35 .quad L_.str.36 .quad L_.str.37 .quad L_.str.38 .quad L_.str.39 .section __TEXT,__cstring,cstring_literals L_.str.40: ## @.str.40 .asciz "\033[0m" .zerofill __DATA,__bss,_packet_build.packet,4108,2 ## @packet_build.packet L_.str.41: ## @.str.41 .asciz "Warning: Command string too long (%d). Maximum allowed: %d.\n" L_.str.42: ## @.str.42 .asciz "Logged in. Type 'quit' or 'exit' to quit." L_.str.43: ## @.str.43 .asciz "exit" L_.str.44: ## @.str.44 .asciz "quit" L_.str.45: ## @.str.45 .asciz "stop" L_.str.46: ## @.str.46 .asciz "\r\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _exit_proc ; -- Begin function exit_proc .p2align 2 _exit_proc: ; @exit_proc .cfi_startproc ; %bb.0: Lloh0: adrp x8, _global_rsock@PAGE Lloh1: ldr w0, [x8, _global_rsock@PAGEOFF] cmn w0, #1 b.eq LBB0_2 ; %bb.1: b _close LBB0_2: ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .globl _net_close ; -- Begin function net_close .p2align 2 _net_close: ; @net_close .cfi_startproc ; %bb.0: b _close .cfi_endproc ; -- End function .globl _sighandler ; -- Begin function sighandler .p2align 2 _sighandler: ; @sighandler .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 w8, #1 adrp x9, _global_connection_alive@PAGE strb w8, [x9, _global_connection_alive@PAGEOFF] mov w0, #0 bl _exit .cfi_endproc ; -- End function .globl _mcrcon_parse_seconds ; -- Begin function mcrcon_parse_seconds .p2align 2 _mcrcon_parse_seconds: ; @mcrcon_parse_seconds .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 add x1, sp, #24 mov w2, #10 bl _strtol mov x19, x0 bl ___error ldr w8, [x0] cbnz w8, LBB3_4 ; %bb.1: ldr x8, [sp, #24] cmp x8, x20 b.eq LBB3_5 ; %bb.2: sub x8, x19, #601 cmn x8, #601 b.ls LBB3_6 ; %bb.3: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret LBB3_4: Lloh2: adrp x8, ___stderrp@GOTPAGE Lloh3: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh4: ldr x19, [x8] bl ___error ldr w20, [x0] bl ___error ldr w0, [x0] bl _strerror stp x20, x0, [sp] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF mov x0, x19 b LBB3_7 LBB3_5: Lloh7: adrp x8, ___stderrp@GOTPAGE Lloh8: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh9: ldr x3, [x8] Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF mov w1, #33 mov w2, #1 bl _fwrite mov w0, #1 bl _exit LBB3_6: Lloh12: adrp x8, ___stderrp@GOTPAGE Lloh13: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh14: ldr x0, [x8] mov w8, #600 str x8, [sp] Lloh15: adrp x1, l_.str.2@PAGE Lloh16: add x1, x1, l_.str.2@PAGEOFF LBB3_7: bl _fprintf mov w0, #1 bl _exit .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 Lloh17: adrp x0, l_.str.3@PAGE Lloh18: add x0, x0, l_.str.3@PAGEOFF bl _getenv mov x22, x0 Lloh19: adrp x0, l_.str.4@PAGE Lloh20: add x0, x0, l_.str.4@PAGEOFF bl _getenv mov x21, x0 Lloh21: adrp x0, l_.str.5@PAGE Lloh22: add x0, x0, l_.str.5@PAGEOFF bl _getenv cmp w20, #0 b.gt LBB4_2 ; %bb.1: cbz x21, LBB4_31 LBB4_2: mov w26, #0 Lloh23: adrp x8, l_.str.7@PAGE Lloh24: add x8, x8, l_.str.7@PAGEOFF cmp x22, #0 csel x22, x8, x22, eq Lloh25: adrp x8, l_.str.6@PAGE Lloh26: add x8, x8, l_.str.6@PAGEOFF cmp x0, #0 csel x23, x8, x0, eq Lloh27: adrp x8, _opterr@GOTPAGE Lloh28: ldr x8, [x8, _opterr@GOTPAGEOFF] mov w27, #1 Lloh29: str w27, [x8] Lloh30: adrp x24, l_.str.8@PAGE Lloh31: add x24, x24, l_.str.8@PAGEOFF Lloh32: adrp x28, lJTI4_0@PAGE Lloh33: add x28, x28, lJTI4_0@PAGEOFF Lloh34: adrp x25, _optarg@GOTPAGE Lloh35: ldr x25, [x25, _optarg@GOTPAGEOFF] b LBB4_4 LBB4_3: ; in Loop: Header=BB4_4 Depth=1 ldr x0, [x25] bl _mcrcon_parse_seconds adrp x8, _global_wait_seconds@PAGE str w0, [x8, _global_wait_seconds@PAGEOFF] LBB4_4: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x19 mov x2, x24 bl _getopt sub w8, w0, #72 cmp w8, #47 b.hi LBB4_13 ; %bb.5: ; in Loop: Header=BB4_4 Depth=1 adr x9, LBB4_3 ldrb w10, [x28, x8] add x9, x9, x10, lsl #2 br x9 LBB4_6: ; in Loop: Header=BB4_4 Depth=1 ldr x22, [x25] b LBB4_4 LBB4_7: ; in Loop: Header=BB4_4 Depth=1 ldr x23, [x25] b LBB4_4 LBB4_8: ; in Loop: Header=BB4_4 Depth=1 adrp x8, _global_disable_colors@PAGE strb w27, [x8, _global_disable_colors@PAGEOFF] b LBB4_4 LBB4_9: ; in Loop: Header=BB4_4 Depth=1 ldr x21, [x25] b LBB4_4 LBB4_10: ; in Loop: Header=BB4_4 Depth=1 adrp x8, _global_raw_output@PAGE strb w27, [x8, _global_raw_output@PAGEOFF] b LBB4_4 LBB4_11: ; in Loop: Header=BB4_4 Depth=1 adrp x8, _global_silent_mode@PAGE strb w27, [x8, _global_silent_mode@PAGEOFF] b LBB4_4 LBB4_12: ; in Loop: Header=BB4_4 Depth=1 mov w26, #1 b LBB4_4 LBB4_13: cmn w0, #1 b.ne LBB4_30 ; %bb.14: cbz x21, LBB4_18 ; %bb.15: Lloh36: adrp x25, _optind@GOTPAGE Lloh37: ldr x25, [x25, _optind@GOTPAGEOFF] ldr w27, [x25] Lloh38: adrp x0, _exit_proc@PAGE Lloh39: add x0, x0, _exit_proc@PAGEOFF bl _atexit Lloh40: adrp x24, _sighandler@PAGE Lloh41: add x24, x24, _sighandler@PAGEOFF mov w0, #6 mov x1, x24 bl _signal mov w0, #15 mov x1, x24 bl _signal mov w0, #2 mov x1, x24 bl _signal mov x0, x22 mov x1, x23 bl _net_connect adrp x22, _global_rsock@PAGE str w0, [x22, _global_rsock@PAGEOFF] mov x1, x21 bl _rcon_auth cbz w0, LBB4_19 ; %bb.16: cmp w27, w20 ccmp w26, #0, #0, ne b.eq LBB4_20 ; %bb.17: ldr w0, [x22, _global_rsock@PAGEOFF] bl _run_terminal_mode mov w19, #0 b LBB4_28 LBB4_18: Lloh42: adrp x0, l_.str.12@PAGE Lloh43: add x0, x0, l_.str.12@PAGEOFF bl _puts mov w19, #0 b LBB4_29 LBB4_19: Lloh44: adrp x8, ___stdoutp@GOTPAGE Lloh45: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh46: ldr x3, [x8] Lloh47: adrp x0, l_.str.13@PAGE Lloh48: add x0, x0, l_.str.13@PAGEOFF mov w19, #1 mov w1, #23 mov w2, #1 bl _fwrite b LBB4_28 LBB4_20: ldrsw x21, [x25] ldr w0, [x22, _global_rsock@PAGEOFF] ldr x1, [x19, x21, lsl #3] bl _rcon_command cbz w0, LBB4_26 ; %bb.21: sxtw x20, w20 add x21, x21, #1 b LBB4_23 LBB4_22: ; in Loop: Header=BB4_23 Depth=1 ldr w0, [x22, _global_rsock@PAGEOFF] ldr x1, [x19, x21, lsl #3] bl _rcon_command add x21, x21, #1 cbz w0, LBB4_26 LBB4_23: ; =>This Inner Loop Header: Depth=1 cmp x21, x20 b.ge LBB4_27 ; %bb.24: ; in Loop: Header=BB4_23 Depth=1 Lloh49: adrp x8, _global_wait_seconds@PAGE Lloh50: ldr w0, [x8, _global_wait_seconds@PAGEOFF] cmp w0, #1 b.lt LBB4_22 ; %bb.25: ; in Loop: Header=BB4_23 Depth=1 bl _sleep b LBB4_22 LBB4_26: mov w19, #1 b LBB4_28 LBB4_27: mov w19, #0 LBB4_28: ldr w0, [x22, _global_rsock@PAGEOFF] bl _close mov w8, #-1 str w8, [x22, _global_rsock@PAGEOFF] LBB4_29: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB4_30: Lloh51: adrp x0, l_.str.11@PAGE Lloh52: add x0, x0, l_.str.11@PAGEOFF bl _puts mov w0, #1 bl _exit LBB4_31: Lloh53: adrp x0, l_.str.14@PAGE Lloh54: add x0, x0, l_.str.14@PAGEOFF bl _puts Lloh55: adrp x0, l_.str.15@PAGE Lloh56: add x0, x0, l_.str.15@PAGEOFF bl _puts Lloh57: adrp x0, l_.str.16@PAGE Lloh58: add x0, x0, l_.str.16@PAGEOFF b LBB4_33 LBB4_32: Lloh59: adrp x0, l_.str.9@PAGE Lloh60: add x0, x0, l_.str.9@PAGEOFF bl _puts Lloh61: adrp x0, l_.str.10@PAGE Lloh62: add x0, x0, l_.str.10@PAGEOFF LBB4_33: bl _puts mov w0, #0 bl _exit .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotStr Lloh27, Lloh28, Lloh29 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGot Lloh36, Lloh37 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdr Lloh49, Lloh50 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpAdd Lloh59, Lloh60 .cfi_endproc .section __TEXT,__const lJTI4_0: .byte (LBB4_6-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_7-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_8-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_31-LBB4_3)>>2 .byte (LBB4_4-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_9-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_10-LBB4_3)>>2 .byte (LBB4_11-LBB4_3)>>2 .byte (LBB4_12-LBB4_3)>>2 .byte (LBB4_30-LBB4_3)>>2 .byte (LBB4_32-LBB4_3)>>2 .byte (LBB4_3-LBB4_3)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _usage ; -- Begin function usage .p2align 2 _usage: ; @usage .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 Lloh63: adrp x0, l_.str.14@PAGE Lloh64: add x0, x0, l_.str.14@PAGEOFF bl _puts Lloh65: adrp x0, l_.str.15@PAGE Lloh66: add x0, x0, l_.str.15@PAGEOFF bl _puts Lloh67: adrp x0, l_.str.16@PAGE Lloh68: add x0, x0, l_.str.16@PAGEOFF bl _puts mov w0, #0 bl _exit .loh AdrpAdd Lloh67, Lloh68 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpAdd Lloh63, Lloh64 .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function net_connect lCPI6_0: .long 1 ; 0x1 .long 6 ; 0x6 .section __TEXT,__text,regular,pure_instructions .globl _net_connect .p2align 2 _net_connect: ; @net_connect .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 movi.2d v0, #0000000000000000 stp q0, q0, [sp, #32] str q0, [sp, #64] Lloh69: adrp x8, lCPI6_0@PAGE Lloh70: ldr d0, [x8, lCPI6_0@PAGEOFF] str d0, [sp, #40] add x2, sp, #32 add x3, sp, #24 bl _getaddrinfo cbnz w0, LBB6_8 ; %bb.1: ldr x20, [sp, #24] cbnz x20, LBB6_5 LBB6_2: Lloh71: adrp x19, ___stderrp@GOTPAGE Lloh72: ldr x19, [x19, ___stderrp@GOTPAGEOFF] ldr x3, [x19] Lloh73: adrp x0, l_.str.19@PAGE Lloh74: add x0, x0, l_.str.19@PAGEOFF mov w1, #19 mov w2, #1 bl _fwrite ldr x19, [x19] bl ___error ldr w20, [x0] bl ___error ldr w0, [x0] bl _strerror stp x20, x0, [sp] Lloh75: adrp x1, l_.str.18@PAGE Lloh76: add x1, x1, l_.str.18@PAGEOFF mov x0, x19 bl _fprintf ldr x0, [sp, #24] bl _freeaddrinfo mov w0, #1 bl _exit LBB6_3: ; in Loop: Header=BB6_5 Depth=1 mov x0, x19 bl _close LBB6_4: ; in Loop: Header=BB6_5 Depth=1 ldr x20, [x20, #40] cbz x20, LBB6_2 LBB6_5: ; =>This Inner Loop Header: Depth=1 ldp w0, w1, [x20, #4] ldr w2, [x20, #12] bl _socket cmn w0, #1 b.eq LBB6_4 ; %bb.6: ; in Loop: Header=BB6_5 Depth=1 mov x19, x0 ldr x1, [x20, #32] ldr w2, [x20, #16] bl _connect cmn w0, #1 b.eq LBB6_3 ; %bb.7: ldr x0, [sp, #24] bl _freeaddrinfo mov x0, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload add sp, sp, #112 ret LBB6_8: mov x19, x0 Lloh77: adrp x20, ___stderrp@GOTPAGE Lloh78: ldr x20, [x20, ___stderrp@GOTPAGEOFF] ldr x3, [x20] Lloh79: adrp x0, l_.str.17@PAGE Lloh80: add x0, x0, l_.str.17@PAGEOFF mov w1, #24 mov w2, #1 bl _fwrite ldr x20, [x20] mov x0, x19 bl _gai_strerror stp x19, x0, [sp] Lloh81: adrp x1, l_.str.18@PAGE Lloh82: add x1, x1, l_.str.18@PAGEOFF mov x0, x20 bl _fprintf mov w0, #1 bl _exit .loh AdrpLdr Lloh69, Lloh70 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGot Lloh71, Lloh72 .loh AdrpAdd Lloh81, Lloh82 .loh AdrpAdd Lloh79, Lloh80 .loh AdrpLdrGot Lloh77, Lloh78 .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function rcon_auth lCPI7_0: .long 195936478 ; 0xbadc0de .long 3 ; 0x3 .section __TEXT,__text,regular,pure_instructions .globl _rcon_auth .p2align 2 _rcon_auth: ; @rcon_auth .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x19, x0 mov x0, x1 bl _strlen mov x20, x0 cmp w20, #1, lsl #12 ; =4096 b.le LBB7_2 ; %bb.1: Lloh83: adrp x8, ___stderrp@GOTPAGE Lloh84: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh85: ldr x0, [x8] mov w8, #4096 ; kill: def $w20 killed $w20 killed $x20 def $x20 stp x20, x8, [sp] Lloh86: adrp x1, l_.str.41@PAGE Lloh87: add x1, x1, l_.str.41@PAGEOFF bl _fprintf mov w0, #0 b LBB7_8 LBB7_2: add w8, w20, #10 Lloh88: adrp x22, _packet_build.packet@PAGE Lloh89: add x22, x22, _packet_build.packet@PAGEOFF str w8, [x22] Lloh90: adrp x8, lCPI7_0@PAGE Lloh91: ldr d0, [x8, lCPI7_0@PAGEOFF] stur d0, [x22, #4] add x0, x22, #12 mov x1, x21 mov w2, #4096 bl _strncpy cmn w20, #13 b.lt LBB7_6 ; %bb.3: mov w21, #0 add w20, w20, #14 mov x23, x20 LBB7_4: ; =>This Inner Loop Header: Depth=1 sxtw x2, w23 add x1, x22, w21, sxtw mov x0, x19 mov w3, #0 bl _send cmn w0, #1 b.eq LBB7_6 ; %bb.5: ; in Loop: Header=BB7_4 Depth=1 sub w23, w23, w0 add w21, w21, w0 cmp w21, w20 b.lt LBB7_4 LBB7_6: mov x0, x19 bl _net_recv_packet cbz x0, LBB7_8 ; %bb.7: ldr w8, [x0, #4] cmn w8, #1 cset w0, ne LBB7_8: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh86, Lloh87 .loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85 .loh AdrpLdr Lloh90, Lloh91 .loh AdrpAdd Lloh88, Lloh89 .cfi_endproc ; -- End function .globl _run_terminal_mode ; -- Begin function run_terminal_mode .p2align 2 _run_terminal_mode: ; @run_terminal_mode .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov w9, #4112 Lloh92: adrp x16, ___chkstk_darwin@GOTPAGE Lloh93: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #1, lsl #12 ; =4096 sub sp, sp, #16 mov x20, x0 Lloh94: adrp x8, ___stack_chk_guard@GOTPAGE Lloh95: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh96: ldr x8, [x8] stur x8, [x29, #-96] mov x26, sp mov x0, sp mov w1, #4096 bl _bzero Lloh97: adrp x0, l_.str.42@PAGE Lloh98: add x0, x0, l_.str.42@PAGEOFF bl _puts adrp x27, _global_connection_alive@PAGE ldrb w8, [x27, _global_connection_alive@PAGEOFF] tbz w8, #0, LBB8_4 ; %bb.1: mov w19, #0 LBB8_2: ldur x8, [x29, #-96] Lloh99: adrp x9, ___stack_chk_guard@GOTPAGE Lloh100: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh101: ldr x9, [x9] cmp x9, x8 b.ne LBB8_21 ; %bb.3: mov x0, x19 add sp, sp, #1, lsl #12 ; =4096 add sp, sp, #16 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB8_4: mov w19, #0 Lloh102: adrp x28, ___stdinp@GOTPAGE Lloh103: ldr x28, [x28, ___stdinp@GOTPAGEOFF] Lloh104: adrp x21, l_.str.46@PAGE Lloh105: add x21, x21, l_.str.46@PAGEOFF Lloh106: adrp x22, l_.str.43@PAGE Lloh107: add x22, x22, l_.str.43@PAGEOFF Lloh108: adrp x23, l_.str.44@PAGE Lloh109: add x23, x23, l_.str.44@PAGEOFF Lloh110: adrp x24, l_.str.45@PAGE Lloh111: add x24, x24, l_.str.45@PAGEOFF LBB8_5: ; =>This Loop Header: Depth=1 ; Child Loop BB8_9 Depth 2 mov w0, #62 bl _putchar ldr x2, [x28] mov x0, sp mov w1, #4096 bl _fgets cbz x0, LBB8_20 ; %bb.6: ; in Loop: Header=BB8_5 Depth=1 ldrb w8, [sp] cbnz w8, LBB8_8 ; %bb.7: ; in Loop: Header=BB8_5 Depth=1 mov w8, #1 strb w8, [x27, _global_connection_alive@PAGEOFF] LBB8_8: ; in Loop: Header=BB8_5 Depth=1 mov x0, sp mov x1, x21 bl _strcspn strb wzr, [x26, x0] mov x0, sp bl _strlen mov x25, x0 cmp w25, #4095 b.ne LBB8_11 LBB8_9: ; Parent Loop BB8_5 Depth=1 ; => This Inner Loop Header: Depth=2 bl _getchar cmp w0, #10 b.eq LBB8_11 ; %bb.10: ; in Loop: Header=BB8_9 Depth=2 cmn w0, #1 b.ne LBB8_9 LBB8_11: ; in Loop: Header=BB8_5 Depth=1 mov x0, sp mov x1, x22 bl _strcasecmp cbz w0, LBB8_2 ; %bb.12: ; in Loop: Header=BB8_5 Depth=1 mov x0, sp mov x1, x23 bl _strcasecmp cbz w0, LBB8_2 ; %bb.13: ; in Loop: Header=BB8_5 Depth=1 ldrb w8, [sp] cmp w8, #81 b.ne LBB8_15 ; %bb.14: ; in Loop: Header=BB8_5 Depth=1 ldrb w8, [sp, #1] cbz w8, LBB8_2 LBB8_15: ; in Loop: Header=BB8_5 Depth=1 cmp w25, #1 b.lt LBB8_18 ; %bb.16: ; in Loop: Header=BB8_5 Depth=1 ldrb w8, [x27, _global_connection_alive@PAGEOFF] cbnz w8, LBB8_18 ; %bb.17: ; in Loop: Header=BB8_5 Depth=1 mov x1, sp mov x0, x20 bl _rcon_command add w19, w0, w19 LBB8_18: ; in Loop: Header=BB8_5 Depth=1 mov x0, sp mov x1, x24 bl _strcasecmp cbz w0, LBB8_2 ; %bb.19: ; in Loop: Header=BB8_5 Depth=1 strb wzr, [sp] ldrb w8, [x27, _global_connection_alive@PAGEOFF] cmp w8, #1 b.ne LBB8_5 b LBB8_2 LBB8_20: mov w0, #1 bl _exit LBB8_21: bl ___stack_chk_fail .loh AdrpAdd Lloh97, Lloh98 .loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96 .loh AdrpLdrGot Lloh92, Lloh93 .loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpLdrGot Lloh102, Lloh103 .cfi_endproc ; -- End function .globl _run_commands ; -- Begin function run_commands .p2align 2 _run_commands: ; @run_commands .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 Lloh112: adrp x8, _optind@GOTPAGE Lloh113: ldr x8, [x8, _optind@GOTPAGEOFF] Lloh114: ldrsw x22, [x8] adrp x21, _global_rsock@PAGE ldr w0, [x21, _global_rsock@PAGEOFF] ldr x1, [x1, x22, lsl #3] bl _rcon_command cbz w0, LBB9_6 ; %bb.1: sxtw x20, w20 add x22, x22, #1 adrp x23, _global_wait_seconds@PAGE b LBB9_3 LBB9_2: ; in Loop: Header=BB9_3 Depth=1 ldr w0, [x21, _global_rsock@PAGEOFF] ldr x1, [x19, x22, lsl #3] bl _rcon_command add x22, x22, #1 cbz w0, LBB9_6 LBB9_3: ; =>This Inner Loop Header: Depth=1 cmp x22, x20 b.ge LBB9_7 ; %bb.4: ; in Loop: Header=BB9_3 Depth=1 ldr w0, [x23, _global_wait_seconds@PAGEOFF] cmp w0, #1 b.lt LBB9_2 ; %bb.5: ; in Loop: Header=BB9_3 Depth=1 bl _sleep b LBB9_2 LBB9_6: mov w0, #1 b LBB9_8 LBB9_7: mov w0, #0 LBB9_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh112, Lloh113, Lloh114 .cfi_endproc ; -- End function .globl _net_send ; -- Begin function net_send .p2align 2 _net_send: ; @net_send .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 mov x23, #0 mov x22, x2 LBB10_1: ; =>This Inner Loop Header: Depth=1 cmp x23, x19 b.hs LBB10_3 ; %bb.2: ; in Loop: Header=BB10_1 Depth=1 add x1, x20, x23 mov x0, x21 mov x2, x22 mov w3, #0 bl _send add x23, x23, w0, sxtw sub x22, x22, x23 cmn w0, #1 b.ne LBB10_1 b LBB10_4 LBB10_3: mov w0, #0 LBB10_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _net_send_packet ; -- Begin function net_send_packet .p2align 2 _net_send_packet: ; @net_send_packet .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 ldr w8, [x1] add w21, w8, #4 cmp w21, #1 b.lt LBB11_5 ; %bb.1: mov x19, x1 mov x20, x0 mov w22, #0 mov x23, x21 LBB11_2: ; =>This Inner Loop Header: Depth=1 sxtw x2, w23 add x1, x19, w22, sxtw mov x0, x20 mov w3, #0 bl _send cmn w0, #1 b.eq LBB11_6 ; %bb.3: ; in Loop: Header=BB11_2 Depth=1 sub w23, w23, w0 add w22, w22, w0 cmp w22, w21 b.lt LBB11_2 ; %bb.4: mov w0, #1 b LBB11_6 LBB11_5: mov w0, #-1 LBB11_6: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .globl _net_recv_packet ; -- Begin function net_recv_packet .p2align 2 _net_recv_packet: ; @net_recv_packet .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 add x1, sp, #28 mov w2, #4 mov w3, #0 bl _recv cbz w0, LBB12_10 ; %bb.1: cmp w0, #4 b.ne LBB12_6 ; %bb.2: ldr w8, [sp, #28] mov w9, #-4097 add w9, w8, w9 cmn w9, #4088 b.hi LBB12_7 ; %bb.3: Lloh115: adrp x9, ___stderrp@GOTPAGE Lloh116: ldr x9, [x9, ___stderrp@GOTPAGEOFF] Lloh117: ldr x0, [x9] mov w20, #4096 stp x8, x20, [sp] Lloh118: adrp x1, l_.str.22@PAGE Lloh119: add x1, x1, l_.str.22@PAGEOFF bl _fprintf ldr w1, [sp, #28] cmp w1, #1, lsl #12 ; =4096 b.ls LBB12_5 ; %bb.4: str w20, [sp, #28] mov w1, #4096 LBB12_5: mov x0, x19 bl _net_clean_incoming mov x20, #0 b LBB12_11 LBB12_6: Lloh120: adrp x8, ___stderrp@GOTPAGE Lloh121: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh122: ldr x8, [x8] ; kill: def $w0 killed $w0 killed $x0 def $x0 str x0, [sp] Lloh123: adrp x1, l_.str.21@PAGE Lloh124: add x1, x1, l_.str.21@PAGEOFF mov x0, x8 bl _fprintf mov x20, #0 mov w8, #1 adrp x9, _global_connection_alive@PAGE strb w8, [x9, _global_connection_alive@PAGEOFF] b LBB12_11 LBB12_7: mov w21, #0 adrp x9, _net_recv_packet.packet@PAGE str w8, [x9, _net_recv_packet.packet@PAGEOFF] Lloh125: adrp x20, _net_recv_packet.packet@PAGE Lloh126: add x20, x20, _net_recv_packet.packet@PAGEOFF LBB12_8: ; =>This Inner Loop Header: Depth=1 add x9, x20, w21, sxtw add x1, x9, #4 sub w8, w8, w21 sxtw x2, w8 mov x0, x19 mov w3, #0 bl _recv cbz w0, LBB12_10 ; %bb.9: ; in Loop: Header=BB12_8 Depth=1 ldr w8, [sp, #28] add w21, w21, w0 cmp w8, w21 b.gt LBB12_8 b LBB12_11 LBB12_10: Lloh127: adrp x8, ___stderrp@GOTPAGE Lloh128: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh129: ldr x3, [x8] Lloh130: adrp x0, l_.str.20@PAGE Lloh131: add x0, x0, l_.str.20@PAGEOFF mov w19, #1 mov w1, #17 mov w2, #1 bl _fwrite mov x20, #0 adrp x8, _global_connection_alive@PAGE strb w19, [x8, _global_connection_alive@PAGEOFF] LBB12_11: mov x0, x20 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh118, Lloh119 .loh AdrpLdrGotLdr Lloh115, Lloh116, Lloh117 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122 .loh AdrpAdd Lloh125, Lloh126 .loh AdrpAdd Lloh130, Lloh131 .loh AdrpLdrGotLdr Lloh127, Lloh128, Lloh129 .cfi_endproc ; -- End function .globl _net_clean_incoming ; -- Begin function net_clean_incoming .p2align 2 _net_clean_incoming: ; @net_clean_incoming .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 sub sp, sp, #16 ; kill: def $w1 killed $w1 def $x1 Lloh132: adrp x8, ___stack_chk_guard@GOTPAGE Lloh133: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh134: ldr x8, [x8] stur x8, [x29, #-24] mov w8, w1 mov x9, x8 Lloh135: adrp x16, ___chkstk_darwin@GOTPAGE Lloh136: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x8, x9, x8 mov sp, x8 sxtw x2, w1 mov x1, x8 mov w3, #0 bl _recv mov x19, x0 cbnz w19, LBB13_2 ; %bb.1: Lloh137: adrp x8, ___stderrp@GOTPAGE Lloh138: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh139: ldr x3, [x8] Lloh140: adrp x0, l_.str.20@PAGE Lloh141: add x0, x0, l_.str.20@PAGEOFF mov w20, #1 mov w1, #17 mov w2, #1 bl _fwrite adrp x8, _global_connection_alive@PAGE strb w20, [x8, _global_connection_alive@PAGEOFF] LBB13_2: ldur x8, [x29, #-24] Lloh142: adrp x9, ___stack_chk_guard@GOTPAGE Lloh143: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh144: ldr x9, [x9] cmp x9, x8 b.ne LBB13_4 ; %bb.3: mov x0, x19 sub sp, x29, #16 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB13_4: bl ___stack_chk_fail .loh AdrpLdrGot Lloh135, Lloh136 .loh AdrpLdrGotLdr Lloh132, Lloh133, Lloh134 .loh AdrpAdd Lloh140, Lloh141 .loh AdrpLdrGotLdr Lloh137, Lloh138, Lloh139 .loh AdrpLdrGotLdr Lloh142, Lloh143, Lloh144 .cfi_endproc ; -- End function .globl _print_color ; -- Begin function print_color .p2align 2 _print_color: ; @print_color .cfi_startproc ; %bb.0: Lloh145: adrp x8, l_.str.40@PAGE Lloh146: add x8, x8, l_.str.40@PAGEOFF cbz w0, LBB14_8 ; %bb.1: cmp w0, #114 b.eq LBB14_8 ; %bb.2: sub w8, w0, #97 cmp w8, #5 b.hi LBB14_4 ; %bb.3: sub w8, w0, #87 b LBB14_7 LBB14_4: sub w8, w0, #48 cmp w8, #10 b.lo LBB14_7 ; %bb.5: cmp w0, #110 b.ne LBB14_9 ; %bb.6: mov w8, #16 LBB14_7: Lloh147: adrp x9, l___const.print_color.colors@PAGE Lloh148: add x9, x9, l___const.print_color.colors@PAGEOFF ldr x8, [x9, w8, uxtw #3] LBB14_8: Lloh149: adrp x9, ___stdoutp@GOTPAGE Lloh150: ldr x9, [x9, ___stdoutp@GOTPAGEOFF] Lloh151: ldr x1, [x9] mov x0, x8 b _fputs LBB14_9: ret .loh AdrpAdd Lloh145, Lloh146 .loh AdrpAdd Lloh147, Lloh148 .loh AdrpLdrGotLdr Lloh149, Lloh150, Lloh151 .cfi_endproc ; -- End function .globl _packet_print ; -- Begin function packet_print .p2align 2 _packet_print: ; @packet_print .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 adrp x8, _global_raw_output@PAGE ldrb w8, [x8, _global_raw_output@PAGEOFF] cmp w8, #1 b.ne LBB15_4 ; %bb.1: ldrb w8, [x19, #12] cbz w8, LBB15_33 ; %bb.2: add x19, x19, #13 LBB15_3: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _putchar ldrb w8, [x19], #1 cbnz w8, LBB15_3 b LBB15_33 LBB15_4: adrp x8, _global_disable_colors@PAGE ldrb w8, [x8, _global_disable_colors@PAGEOFF] tbz w8, #0, LBB15_11 ; %bb.5: mov w21, #0 b LBB15_8 LBB15_6: ; in Loop: Header=BB15_8 Depth=1 cbz w8, LBB15_30 LBB15_7: ; in Loop: Header=BB15_8 Depth=1 sxtb w0, w8 bl _putchar add w21, w21, #1 LBB15_8: ; =>This Inner Loop Header: Depth=1 sxtw x9, w21 add x8, x19, x9 ldrb w8, [x8, #12] cmp w8, #194 b.ne LBB15_6 ; %bb.9: ; in Loop: Header=BB15_8 Depth=1 add x9, x9, x19 ldrb w9, [x9, #13] cmp w9, #167 b.ne LBB15_7 ; %bb.10: ; in Loop: Header=BB15_8 Depth=1 add w21, w21, #2 add w21, w21, #1 b LBB15_8 LBB15_11: mov w21, #0 Lloh152: adrp x22, ___stdoutp@GOTPAGE Lloh153: ldr x22, [x22, ___stdoutp@GOTPAGEOFF] Lloh154: adrp x20, l_.str.40@PAGE Lloh155: add x20, x20, l_.str.40@PAGEOFF Lloh156: adrp x23, l___const.print_color.colors@PAGE Lloh157: add x23, x23, l___const.print_color.colors@PAGEOFF b LBB15_14 LBB15_12: ; in Loop: Header=BB15_14 Depth=1 mov x0, x20 LBB15_13: ; in Loop: Header=BB15_14 Depth=1 ldr x1, [x22] bl _fputs add w21, w21, #1 LBB15_14: ; =>This Inner Loop Header: Depth=1 sxtw x9, w21 add x24, x19, x9 ldrb w8, [x24, #12]! cmp w8, #10 b.eq LBB15_17 ; %bb.15: ; in Loop: Header=BB15_14 Depth=1 cmp w8, #194 b.eq LBB15_18 ; %bb.16: ; in Loop: Header=BB15_14 Depth=1 cbnz w8, LBB15_24 b LBB15_31 LBB15_17: ; in Loop: Header=BB15_14 Depth=1 ldr x1, [x22] mov x0, x20 bl _fputs ldrb w8, [x24] b LBB15_24 LBB15_18: ; in Loop: Header=BB15_14 Depth=1 add x8, x9, x19 ldrb w8, [x8, #13] cmp w8, #167 b.ne LBB15_23 ; %bb.19: ; in Loop: Header=BB15_14 Depth=1 add x21, x9, #2 add x8, x19, x21 ; kill: def $w21 killed $w21 killed $x21 def $x21 ldrsb w8, [x8, #12] cbz w8, LBB15_12 ; %bb.20: ; in Loop: Header=BB15_14 Depth=1 mov x0, x20 cmp w8, #114 b.eq LBB15_13 ; %bb.21: ; in Loop: Header=BB15_14 Depth=1 sub w9, w8, #97 cmp w9, #5 b.hi LBB15_26 ; %bb.22: ; in Loop: Header=BB15_14 Depth=1 sub w9, w8, #87 b LBB15_29 LBB15_23: ; in Loop: Header=BB15_14 Depth=1 mov w8, #194 LBB15_24: ; in Loop: Header=BB15_14 Depth=1 sxtb w0, w8 bl _putchar LBB15_25: ; in Loop: Header=BB15_14 Depth=1 add w21, w21, #1 b LBB15_14 LBB15_26: ; in Loop: Header=BB15_14 Depth=1 sub w9, w8, #48 cmp w9, #10 b.lo LBB15_29 ; %bb.27: ; in Loop: Header=BB15_14 Depth=1 cmp w8, #110 b.ne LBB15_25 ; %bb.28: ; in Loop: Header=BB15_14 Depth=1 mov w9, #16 LBB15_29: ; in Loop: Header=BB15_14 Depth=1 ldr x0, [x23, w9, uxtw #3] b LBB15_13 LBB15_30: ; kill: def $w21 killed $w21 killed $x21 def $x21 b LBB15_32 LBB15_31: ldr x1, [x22] Lloh158: adrp x0, l_.str.40@PAGE Lloh159: add x0, x0, l_.str.40@PAGEOFF bl _fputs LBB15_32: add x8, x19, w21, sxtw ldrb w8, [x8, #11] cmp w8, #10 ccmp w8, #13, #4, ne b.ne LBB15_34 LBB15_33: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB15_34: mov w0, #10 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _putchar .loh AdrpAdd Lloh156, Lloh157 .loh AdrpAdd Lloh154, Lloh155 .loh AdrpLdrGot Lloh152, Lloh153 .loh AdrpAdd Lloh158, Lloh159 .cfi_endproc ; -- End function .globl _packet_build ; -- Begin function packet_build .p2align 2 _packet_build: ; @packet_build .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, x1 mov x22, x0 mov x0, x2 bl _strlen cmp w0, #1, lsl #12 ; =4096 b.le LBB16_2 ; %bb.1: Lloh160: adrp x8, ___stderrp@GOTPAGE Lloh161: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh162: ldr x8, [x8] mov w9, #4096 ; kill: def $w0 killed $w0 killed $x0 def $x0 stp x0, x9, [sp] Lloh163: adrp x1, l_.str.41@PAGE Lloh164: add x1, x1, l_.str.41@PAGEOFF mov x0, x8 bl _fprintf mov x20, #0 b LBB16_3 LBB16_2: add w8, w0, #10 Lloh165: adrp x20, _packet_build.packet@PAGE Lloh166: add x20, x20, _packet_build.packet@PAGEOFF stp w8, w22, [x20] str w21, [x20, #8] add x0, x20, #12 mov x1, x19 mov w2, #4096 bl _strncpy LBB16_3: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh163, Lloh164 .loh AdrpLdrGotLdr Lloh160, Lloh161, Lloh162 .loh AdrpAdd Lloh165, Lloh166 .cfi_endproc ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function rcon_command lCPI17_0: .long 195936478 ; 0xbadc0de .long 2 ; 0x2 .section __TEXT,__text,regular,pure_instructions .globl _rcon_command .p2align 2 _rcon_command: ; @rcon_command .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x19, x0 mov x0, x1 bl _strlen mov x20, x0 cmp w20, #1, lsl #12 ; =4096 b.le LBB17_2 ; %bb.1: Lloh167: adrp x8, ___stderrp@GOTPAGE Lloh168: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh169: ldr x0, [x8] mov w8, #4096 ; kill: def $w20 killed $w20 killed $x20 def $x20 stp x20, x8, [sp] Lloh170: adrp x1, l_.str.41@PAGE Lloh171: add x1, x1, l_.str.41@PAGEOFF bl _fprintf mov w0, #0 mov w8, #1 adrp x9, _global_connection_alive@PAGE strb w8, [x9, _global_connection_alive@PAGEOFF] b LBB17_13 LBB17_2: add w8, w20, #10 Lloh172: adrp x22, _packet_build.packet@PAGE Lloh173: add x22, x22, _packet_build.packet@PAGEOFF str w8, [x22] Lloh174: adrp x8, lCPI17_0@PAGE Lloh175: ldr d0, [x8, lCPI17_0@PAGEOFF] stur d0, [x22, #4] add x0, x22, #12 mov x1, x21 mov w2, #4096 bl _strncpy cmn w20, #13 b.lt LBB17_6 ; %bb.3: mov w21, #0 add w20, w20, #14 mov x23, x20 LBB17_4: ; =>This Inner Loop Header: Depth=1 sxtw x2, w23 add x1, x22, w21, sxtw mov x0, x19 mov w3, #0 bl _send cmn w0, #1 b.eq LBB17_6 ; %bb.5: ; in Loop: Header=BB17_4 Depth=1 sub w23, w23, w0 add w21, w21, w0 cmp w21, w20 b.lt LBB17_4 LBB17_6: mov x0, x19 bl _net_recv_packet cbz x0, LBB17_13 ; %bb.7: ldr w8, [x0, #4] mov w9, #49374 movk w9, #2989, lsl #16 cmp w8, w9 b.ne LBB17_12 ; %bb.8: adrp x8, _global_silent_mode@PAGE ldrb w8, [x8, _global_silent_mode@PAGEOFF] tbnz w8, #0, LBB17_11 ; %bb.9: ldr w8, [x0] cmp w8, #11 b.lt LBB17_11 ; %bb.10: bl _packet_print LBB17_11: mov w0, #1 b LBB17_13 LBB17_12: mov w0, #0 LBB17_13: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh170, Lloh171 .loh AdrpLdrGotLdr Lloh167, Lloh168, Lloh169 .loh AdrpLdr Lloh174, Lloh175 .loh AdrpAdd Lloh172, Lloh173 .cfi_endproc ; -- End function .globl _get_line ; -- Begin function get_line .p2align 2 _get_line: ; @get_line .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh176: adrp x8, ___stdinp@GOTPAGE Lloh177: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh178: ldr x2, [x8] bl _fgets cbz x0, LBB18_7 ; %bb.1: ldrb w8, [x20] cbnz w8, LBB18_3 ; %bb.2: mov w8, #1 adrp x9, _global_connection_alive@PAGE strb w8, [x9, _global_connection_alive@PAGEOFF] LBB18_3: Lloh179: adrp x1, l_.str.46@PAGE Lloh180: add x1, x1, l_.str.46@PAGEOFF mov x0, x20 bl _strcspn strb wzr, [x20, x0] mov x0, x20 bl _strlen mov x20, x0 sub w8, w19, #1 cmp w8, w20 b.ne LBB18_6 LBB18_4: ; =>This Inner Loop Header: Depth=1 bl _getchar cmp w0, #10 b.eq LBB18_6 ; %bb.5: ; in Loop: Header=BB18_4 Depth=1 cmn w0, #1 b.ne LBB18_4 LBB18_6: mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB18_7: mov w0, #1 bl _exit .loh AdrpLdrGotLdr Lloh176, Lloh177, Lloh178 .loh AdrpAdd Lloh179, Lloh180 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_global_rsock,4,2 ; @global_rsock .zerofill __DATA,__bss,_global_connection_alive,1,2 ; @global_connection_alive .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "-w invalid value.\nerror %d: %s\n" l_.str.1: ; @.str.1 .asciz "-w invalid value (not a number?)\n" l_.str.2: ; @.str.2 .asciz "-w value out of range.\nAcceptable value is 1 - %d (seconds).\n" l_.str.3: ; @.str.3 .asciz "MCRCON_HOST" l_.str.4: ; @.str.4 .asciz "MCRCON_PASS" l_.str.5: ; @.str.5 .asciz "MCRCON_PORT" l_.str.6: ; @.str.6 .asciz "25575" l_.str.7: ; @.str.7 .asciz "localhost" l_.str.8: ; @.str.8 .asciz "vrtcshw:H:p:P:" .zerofill __DATA,__bss,_global_disable_colors,1,2 ; @global_disable_colors .zerofill __DATA,__bss,_global_silent_mode,1,2 ; @global_silent_mode .zerofill __DATA,__bss,_global_raw_output,1,2 ; @global_raw_output .zerofill __DATA,__bss,_global_wait_seconds,4,2 ; @global_wait_seconds l_.str.9: ; @.str.9 .asciz "mcrcon 0.7.1 (built: Mar 27 2025 12:34:53) - https://github.com/Tiiffi/mcrcon" l_.str.10: ; @.str.10 .asciz "Bug reports:\n\ttiiffi+mcrcon at gmail\n\thttps://github.com/Tiiffi/mcrcon/issues/" l_.str.11: ; @.str.11 .asciz "Try 'mcrcon -h' or 'man mcrcon' for help." l_.str.12: ; @.str.12 .asciz "You must give password (-p password).\nTry 'mcrcon -h' or 'man mcrcon' for help." l_.str.13: ; @.str.13 .asciz "Authentication failed!\n" l_.str.14: ; @.str.14 .asciz "Usage: mcrcon [OPTIONS] [COMMANDS]\n\nSend rcon commands to Minecraft server.\n\nOptions:\n -H\t\tServer address (default: localhost)\n -P\t\tPort (default: 25575)\n -p\t\tRcon password\n -t\t\tTerminal mode\n -s\t\tSilent mode\n -c\t\tDisable colors\n -r\t\tOutput raw packets\n -w\t\tWait for specified duration (seconds) between each command (1 - 600s)\n -h\t\tPrint usage\n -v\t\tVersion information\n\nServer address, port and password can be set with following environment variables:\n MCRCON_HOST\n MCRCON_PORT\n MCRCON_PASS\n" l_.str.15: ; @.str.15 .asciz "- mcrcon will start in terminal mode if no commands are given\n- Command-line options will override environment variables\n- Rcon commands with spaces must be enclosed in quotes\n" l_.str.16: ; @.str.16 .asciz "Example:\n\tmcrcon -H my.minecraft.server -p password -w 5 \"say Server is restarting!\" save-all stop\n" l_.str.17: ; @.str.17 .asciz "Name resolution failed.\n" l_.str.18: ; @.str.18 .asciz "Error %d: %s\n" l_.str.19: ; @.str.19 .asciz "Connection failed.\n" .zerofill __DATA,__bss,_net_recv_packet.packet,4108,2 ; @net_recv_packet.packet l_.str.20: ; @.str.20 .asciz "Connection lost.\n" l_.str.21: ; @.str.21 .asciz "Error: recv() failed. Invalid packet size (%d).\n" l_.str.22: ; @.str.22 .asciz "Warning: invalid packet size (%d). Must over 10 and less than %d.\n" l_.str.23: ; @.str.23 .asciz "\033[0;30m" l_.str.24: ; @.str.24 .asciz "\033[0;34m" l_.str.25: ; @.str.25 .asciz "\033[0;32m" l_.str.26: ; @.str.26 .asciz "\033[0;36m" l_.str.27: ; @.str.27 .asciz "\033[0;31m" l_.str.28: ; @.str.28 .asciz "\033[0;35m" l_.str.29: ; @.str.29 .asciz "\033[0;33m" l_.str.30: ; @.str.30 .asciz "\033[0;37m" l_.str.31: ; @.str.31 .asciz "\033[0;1;30m" l_.str.32: ; @.str.32 .asciz "\033[0;1;34m" l_.str.33: ; @.str.33 .asciz "\033[0;1;32m" l_.str.34: ; @.str.34 .asciz "\033[0;1;36m" l_.str.35: ; @.str.35 .asciz "\033[0;1;31m" l_.str.36: ; @.str.36 .asciz "\033[0;1;35m" l_.str.37: ; @.str.37 .asciz "\033[0;1;33m" l_.str.38: ; @.str.38 .asciz "\033[0;1;37m" l_.str.39: ; @.str.39 .asciz "\033[4m" .section __DATA,__const .p2align 3 ; @__const.print_color.colors l___const.print_color.colors: .quad l_.str.23 .quad l_.str.24 .quad l_.str.25 .quad l_.str.26 .quad l_.str.27 .quad l_.str.28 .quad l_.str.29 .quad l_.str.30 .quad l_.str.31 .quad l_.str.32 .quad l_.str.33 .quad l_.str.34 .quad l_.str.35 .quad l_.str.36 .quad l_.str.37 .quad l_.str.38 .quad l_.str.39 .section __TEXT,__cstring,cstring_literals l_.str.40: ; @.str.40 .asciz "\033[0m" .zerofill __DATA,__bss,_packet_build.packet,4108,2 ; @packet_build.packet l_.str.41: ; @.str.41 .asciz "Warning: Command string too long (%d). Maximum allowed: %d.\n" l_.str.42: ; @.str.42 .asciz "Logged in. Type 'quit' or 'exit' to quit." l_.str.43: ; @.str.43 .asciz "exit" l_.str.44: ; @.str.44 .asciz "quit" l_.str.45: ; @.str.45 .asciz "stop" l_.str.46: ; @.str.46 .asciz "\r\n" .subsections_via_symbols
the_stack_data/153269020.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ## -- Begin function main .p2align 4, 0x90 _main: ## @main .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_str(%rip), %rdi callq _puts leaq L_str.26(%rip), %rdi callq _puts leaq L_str.27(%rip), %rdi callq _puts leaq L_.str.3(%rip), %rdi callq _puts leaq L_str.28(%rip), %rdi callq _puts movl $1048576, %edi ## imm = 0x100000 callq _malloc leaq L_.str.5(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $1048576, %edi ## imm = 0x100000 callq _malloc movq %rax, %r14 leaq L_.str.6(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movl $1048576, %edi ## imm = 0x100000 callq _malloc movq %rax, %rbx leaq L_.str.7(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf leaq L_str.29(%rip), %rdi callq _puts movq -16(%rbx), %rsi leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _printf movq -8(%rbx), %rsi leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.30(%rip), %rdi callq _puts leaq L_str.31(%rip), %rdi callq _puts leaq L_str.32(%rip), %rdi callq _puts movabsq $1099511627773, %rsi ## imm = 0xFFFFFFFFFD movq -8(%rbx), %rax andq %rsi, %rax andq -8(%r14), %rsi addq %rax, %rsi orq $2, %rsi movq %rsi, -8(%rbx) leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.33(%rip), %rdi callq _puts movq %rbx, %rdi callq _free leaq L_str.34(%rip), %rdi callq _puts leaq L_str.35(%rip), %rdi callq _puts movl $3145728, %edi ## imm = 0x300000 callq _malloc movq %rax, %r15 leaq L_.str.18(%rip), %rdi movq %rax, %rsi xorl %eax, %eax callq _printf movq -8(%r15), %rsi leaq L_.str.19(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, %rbx subq %r15, %rbx shrq $3, %rbx leaq L_.str.20(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movq (%r14), %rsi leaq L_.str.21(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.36(%rip), %rdi callq _puts movslq %ebx, %rbx movabsq $1234605616436508552, %rax ## imm = 0x1122334455667788 movq %rax, (%r15,%rbx,8) movq (%r14), %rsi leaq L_.str.23(%rip), %rdi xorl %eax, %eax callq _printf movq (%r15,%rbx,8), %rsi leaq L_.str.24(%rip), %rdi xorl %eax, %eax callq _printf leaq L_str.37(%rip), %rdi callq _puts xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.3: ## @.str.3 .asciz "=======================================================\n" L_.str.5: ## @.str.5 .asciz "The first mmap chunk goes directly above LibC: %p\n" L_.str.6: ## @.str.6 .asciz "The second mmap chunk goes below LibC: %p\n" L_.str.7: ## @.str.7 .asciz "The third mmap chunk goes below the second mmap chunk: %p\n" L_.str.9: ## @.str.9 .asciz "Prev Size of third mmap chunk: 0x%llx\n" L_.str.10: ## @.str.10 .asciz "Size of third mmap chunk: 0x%llx\n\n" L_.str.14: ## @.str.14 .asciz "New size of third mmap chunk: 0x%llx\n" L_.str.18: ## @.str.18 .asciz "Overlapped chunk Ptr: %p\n" L_.str.19: ## @.str.19 .asciz "Overlapped chunk Ptr Size: 0x%llx\n" L_.str.20: ## @.str.20 .asciz "Distance between new chunk and the second mmap chunk (which was munmapped): 0x%x\n" L_.str.21: ## @.str.21 .asciz "Value of index 0 of mmap chunk 2 prior to write: %llx\n" L_.str.23: ## @.str.23 .asciz "Second chunk value (after write): 0x%llx\n" L_.str.24: ## @.str.24 .asciz "Overlapped chunk value: 0x%llx\n\n" L_str: ## @str .asciz "This is performing an overlapping chunk attack but on extremely large chunks (mmap chunks)." L_str.26: ## @str.26 .asciz "Extremely large chunks are special because they are allocated in their own mmaped section" L_str.27: ## @str.27 .asciz "of memory, instead of being put onto the normal heap." L_str.28: ## @str.28 .asciz "Allocating three extremely large heap chunks of size 0x100000 \n" L_str.29: ## @str.29 .asciz "\nCurrent System Memory Layout \n================================================\nrunning program\nheap\n....\nthird mmap chunk\nsecond mmap chunk\nLibC\n....\nld\nfirst mmap chunk\n===============================================\n" L_str.30: ## @str.30 .asciz "Change the size of the third mmap chunk to overlap with the second mmap chunk" L_str.31: ## @str.31 .asciz "This will cause both chunks to be Munmapped and given back to the system" L_str.32: ## @str.32 .asciz "This is where the vulnerability occurs; corrupting the size or prev_size of a chunk" L_str.33: ## @str.33 .asciz "Free the third mmap chunk, which munmaps the second and third chunks\n" L_str.34: ## @str.34 .asciz "Get a very large chunk from malloc to get mmapped chunk" L_str.35: ## @str.35 .asciz "This should overlap over the previously munmapped/freed chunks" L_str.36: ## @str.36 .asciz "Setting the value of the overlapped chunk" L_str.37: ## @str.37 .asciz "Boom! The new chunk has been overlapped with a previous mmaped chunk" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _main ; -- Begin function main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts Lloh2: adrp x0, l_str.26@PAGE Lloh3: add x0, x0, l_str.26@PAGEOFF bl _puts Lloh4: adrp x0, l_str.27@PAGE Lloh5: add x0, x0, l_str.27@PAGEOFF bl _puts Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _puts Lloh8: adrp x0, l_str.28@PAGE Lloh9: add x0, x0, l_str.28@PAGEOFF bl _puts mov w0, #1048576 bl _malloc str x0, [sp] Lloh10: adrp x0, l_.str.5@PAGE Lloh11: add x0, x0, l_.str.5@PAGEOFF bl _printf mov w0, #1048576 bl _malloc mov x19, x0 str x0, [sp] Lloh12: adrp x0, l_.str.6@PAGE Lloh13: add x0, x0, l_.str.6@PAGEOFF bl _printf mov w0, #1048576 bl _malloc mov x20, x0 str x0, [sp] Lloh14: adrp x0, l_.str.7@PAGE Lloh15: add x0, x0, l_.str.7@PAGEOFF bl _printf Lloh16: adrp x0, l_str.29@PAGE Lloh17: add x0, x0, l_str.29@PAGEOFF bl _puts ldur x8, [x20, #-16] str x8, [sp] Lloh18: adrp x0, l_.str.9@PAGE Lloh19: add x0, x0, l_.str.9@PAGEOFF bl _printf ldur x8, [x20, #-8] str x8, [sp] Lloh20: adrp x0, l_.str.10@PAGE Lloh21: add x0, x0, l_.str.10@PAGEOFF bl _printf Lloh22: adrp x0, l_str.30@PAGE Lloh23: add x0, x0, l_str.30@PAGEOFF bl _puts Lloh24: adrp x0, l_str.31@PAGE Lloh25: add x0, x0, l_str.31@PAGEOFF bl _puts Lloh26: adrp x0, l_str.32@PAGE Lloh27: add x0, x0, l_str.32@PAGEOFF bl _puts ldur x8, [x20, #-8] mov x9, #1099511562240 movk x9, #65533 and x8, x8, x9 ldur x10, [x19, #-8] and x9, x10, x9 add x8, x9, x8 orr x8, x8, #0x2 stur x8, [x20, #-8] str x8, [sp] Lloh28: adrp x0, l_.str.14@PAGE Lloh29: add x0, x0, l_.str.14@PAGEOFF bl _printf Lloh30: adrp x0, l_str.33@PAGE Lloh31: add x0, x0, l_str.33@PAGEOFF bl _puts mov x0, x20 bl _free Lloh32: adrp x0, l_str.34@PAGE Lloh33: add x0, x0, l_str.34@PAGEOFF bl _puts Lloh34: adrp x0, l_str.35@PAGE Lloh35: add x0, x0, l_str.35@PAGEOFF bl _puts mov w0, #3145728 bl _malloc mov x20, x0 str x0, [sp] Lloh36: adrp x0, l_.str.18@PAGE Lloh37: add x0, x0, l_.str.18@PAGEOFF bl _printf ldur x8, [x20, #-8] str x8, [sp] Lloh38: adrp x0, l_.str.19@PAGE Lloh39: add x0, x0, l_.str.19@PAGEOFF bl _printf sub x21, x19, x20 lsr x8, x21, #3 str x8, [sp] Lloh40: adrp x0, l_.str.20@PAGE Lloh41: add x0, x0, l_.str.20@PAGEOFF bl _printf ldr x8, [x19] str x8, [sp] Lloh42: adrp x0, l_.str.21@PAGE Lloh43: add x0, x0, l_.str.21@PAGEOFF bl _printf Lloh44: adrp x0, l_str.36@PAGE Lloh45: add x0, x0, l_str.36@PAGEOFF bl _puts sbfx x8, x21, #3, #32 lsl x21, x8, #3 mov x8, #30600 movk x8, #21862, lsl #16 movk x8, #13124, lsl #32 movk x8, #4386, lsl #48 str x8, [x20, x21] ldr x8, [x19] str x8, [sp] Lloh46: adrp x0, l_.str.23@PAGE Lloh47: add x0, x0, l_.str.23@PAGEOFF bl _printf ldr x8, [x20, x21] str x8, [sp] Lloh48: adrp x0, l_.str.24@PAGE Lloh49: add x0, x0, l_.str.24@PAGEOFF bl _printf Lloh50: adrp x0, l_str.37@PAGE Lloh51: add x0, x0, l_str.37@PAGEOFF bl _puts mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh50, Lloh51 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.3: ; @.str.3 .asciz "=======================================================\n" l_.str.5: ; @.str.5 .asciz "The first mmap chunk goes directly above LibC: %p\n" l_.str.6: ; @.str.6 .asciz "The second mmap chunk goes below LibC: %p\n" l_.str.7: ; @.str.7 .asciz "The third mmap chunk goes below the second mmap chunk: %p\n" l_.str.9: ; @.str.9 .asciz "Prev Size of third mmap chunk: 0x%llx\n" l_.str.10: ; @.str.10 .asciz "Size of third mmap chunk: 0x%llx\n\n" l_.str.14: ; @.str.14 .asciz "New size of third mmap chunk: 0x%llx\n" l_.str.18: ; @.str.18 .asciz "Overlapped chunk Ptr: %p\n" l_.str.19: ; @.str.19 .asciz "Overlapped chunk Ptr Size: 0x%llx\n" l_.str.20: ; @.str.20 .asciz "Distance between new chunk and the second mmap chunk (which was munmapped): 0x%x\n" l_.str.21: ; @.str.21 .asciz "Value of index 0 of mmap chunk 2 prior to write: %llx\n" l_.str.23: ; @.str.23 .asciz "Second chunk value (after write): 0x%llx\n" l_.str.24: ; @.str.24 .asciz "Overlapped chunk value: 0x%llx\n\n" l_str: ; @str .asciz "This is performing an overlapping chunk attack but on extremely large chunks (mmap chunks)." l_str.26: ; @str.26 .asciz "Extremely large chunks are special because they are allocated in their own mmaped section" l_str.27: ; @str.27 .asciz "of memory, instead of being put onto the normal heap." l_str.28: ; @str.28 .asciz "Allocating three extremely large heap chunks of size 0x100000 \n" l_str.29: ; @str.29 .asciz "\nCurrent System Memory Layout \n================================================\nrunning program\nheap\n....\nthird mmap chunk\nsecond mmap chunk\nLibC\n....\nld\nfirst mmap chunk\n===============================================\n" l_str.30: ; @str.30 .asciz "Change the size of the third mmap chunk to overlap with the second mmap chunk" l_str.31: ; @str.31 .asciz "This will cause both chunks to be Munmapped and given back to the system" l_str.32: ; @str.32 .asciz "This is where the vulnerability occurs; corrupting the size or prev_size of a chunk" l_str.33: ; @str.33 .asciz "Free the third mmap chunk, which munmaps the second and third chunks\n" l_str.34: ; @str.34 .asciz "Get a very large chunk from malloc to get mmapped chunk" l_str.35: ; @str.35 .asciz "This should overlap over the previously munmapped/freed chunks" l_str.36: ; @str.36 .asciz "Setting the value of the overlapped chunk" l_str.37: ; @str.37 .asciz "Boom! The new chunk has been overlapped with a previous mmaped chunk" .subsections_via_symbols
the_stack_data/140764912.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function elantech_reconnect _elantech_reconnect: ## @elantech_reconnect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx xorl %r14d, %r14d xorl %esi, %esi callq _elantech_detect testq %rax, %rax jne LBB0_3 ## %bb.1: movq %rbx, %rdi callq _elantech_set_absolute_mode testq %rax, %rax je LBB0_4 ## %bb.2: leaq L_.str(%rip), %rdi callq _pr_err LBB0_3: movl $-1, %r14d LBB0_4: movl %r14d, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "elantech.c: failed to put touchpad back into absolute mode.\n" .no_dead_strip _elantech_reconnect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function elantech_reconnect _elantech_reconnect: ; @elantech_reconnect .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill .cfi_def_cfa_offset 32 stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov w1, #0 bl _elantech_detect cbnz x0, LBB0_3 ; %bb.1: mov x0, x19 bl _elantech_set_absolute_mode cbz x0, LBB0_4 ; %bb.2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _pr_err LBB0_3: mov w0, #-1 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "elantech.c: failed to put touchpad back into absolute mode.\n" .no_dead_strip _elantech_reconnect .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/input/mouse/extr_elantech.c_elantech_reconnect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function wwn2str _wwn2str: ## @wwn2str .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 %esi, %edx leaq L_.str(%rip), %rsi callq _sprintf addq $32, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x" .no_dead_strip _wwn2str .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function wwn2str _wwn2str: ; @wwn2str .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 x2, x1 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _sprintf ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x" .no_dead_strip _wwn2str .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/scsi/bfa/extr_bfa_cs.h_wwn2str.c
anghabench