x86 stringlengths 122 5.97M | arm stringlengths 122 5.84M | file stringlengths 18 195 | source stringclasses 3
values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _disk_status ## -- Begin function disk_status
.p2align 4, 0x90
_disk_status: ## @disk_status
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _m_status@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _m_status,4,2 ## @m_status
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _disk_status ; -- Begin function disk_status
.p2align 2
_disk_status: ; @disk_status
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _m_status@GOTPAGE
Lloh1:
ldr x8, [x8, _m_status@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _m_status,4,2 ; @m_status
.subsections_via_symbols
| AnghaBench/nodemcu-firmware/app/fatfs/extr_diskio.c_disk_status.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 $200, %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
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq ___stdoutp@GOTPCREL(%rip), %r15
movq (%r15), %rdi
callq _fileno
movl %eax, %edi
callq _isatty
movl %eax, %r12d
cmpl $1, %ebx
jg LBB0_2
## %bb.1:
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq %r13, %rdi
callq _fileno
movl %eax, %edi
callq _isatty
testl %eax, %eax
jne LBB0_3
jmp LBB0_12
LBB0_2:
cmpl $2, %ebx
je LBB0_6
LBB0_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq (%r14), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl $2, %ebx
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_5
## %bb.40:
movl %ebx, %eax
addq $200, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq 8(%r14), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
testq %rax, %rax
jne LBB0_9
## %bb.7:
leaq L_.str.2(%rip), %rdi
jmp LBB0_8
LBB0_9:
movq %rax, %r13
testl %r12d, %r12d
je LBB0_12
## %bb.10:
movq %r13, %rdi
callq _fileno
leaq -192(%rbp), %rsi
movl %eax, %edi
callq _fstat$INODE64
testl %eax, %eax
jne LBB0_12
## %bb.11:
movl -96(%rbp), %eax
movl %eax, _SIZE(%rip)
LBB0_12:
xorl %edi, %edi
callq _ctermid
leaq L_.str.1(%rip), %rsi
movq %rax, %rdi
callq _fopen
movq %rax, _TTY(%rip)
testq %rax, %rax
jne LBB0_14
## %bb.13:
leaq L_.str.3(%rip), %rdi
LBB0_8:
callq _perror
movl $1, %ebx
jmp LBB0_4
LBB0_14:
movq %rax, %rdi
callq _fileno
leaq -216(%rbp), %rdx
movl $1074295912, %esi ## imm = 0x40087468
movl %eax, %edi
xorl %eax, %eax
callq _ioctl
cmpl $-1, %eax
movzwl -216(%rbp), %eax
movzwl -214(%rbp), %ecx
movl $80, %r14d
cmovnel %ecx, %r14d
movl $24, %ecx
cmovnel %eax, %ecx
movq %rcx, -200(%rbp) ## 8-byte Spill
leal -1(%rcx), %ebx
testl %r12d, %r12d
je LBB0_15
## %bb.22:
movl %ebx, -204(%rbp) ## 4-byte Spill
movl %ebx, %edi
movl %r14d, %esi
movq %r13, %rdx
callq _printlines
cmpl $-1, %eax
je LBB0_16
## %bb.23:
movl %eax, %r12d
movups l___const.main.action(%rip), %xmm0
movaps %xmm0, -240(%rbp)
leaq -240(%rbp), %rbx
movl $2, %edi
movq %rbx, %rsi
xorl %edx, %edx
callq _sigaction
movl $3, %edi
movq %rbx, %rsi
xorl %edx, %edx
callq _sigaction
movl $18, %edi
movq %rbx, %rsi
xorl %edx, %edx
callq _sigaction
movl $15, %edi
movq %rbx, %rsi
xorl %edx, %edx
callq _sigaction
movl $1, %ebx
movl $1, %edi
leaq -240(%rbp), %rsi
xorl %edx, %edx
callq _sigaction
movq _TTY(%rip), %rdi
callq _fileno
leaq -192(%rbp), %rsi
movl %eax, %edi
callq _tcgetattr
testl %eax, %eax
jne LBB0_24
## %bb.26:
movq -168(%rbp), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
andq $-265, %rax ## imm = 0xFEF7
movq %rax, -168(%rbp)
movq _TTY(%rip), %rdi
callq _fileno
leaq -192(%rbp), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _tcsetattr
testl %eax, %eax
je LBB0_28
## %bb.27:
leaq L_.str.5(%rip), %rdi
callq _perror
jmp LBB0_4
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl %ebx, %edi
movl %r14d, %esi
movq %r13, %rdx
callq _printlines
cmpl $-1, %eax
jne LBB0_15
LBB0_16:
cmpl $0, _SIZE(%rip)
jle LBB0_18
## %bb.17:
movq (%r15), %rsi
leaq L_.str.7(%rip), %rdi
callq _fputs
LBB0_18:
movq _TTY(%rip), %rdi
testq %rdi, %rdi
je LBB0_21
## %bb.19:
cmpq $0, _TERM(%rip)
je LBB0_21
## %bb.20:
callq _fileno
movq _TERM(%rip), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _tcsetattr
LBB0_21:
xorl %edi, %edi
callq _exit
LBB0_24:
leaq L_.str.4(%rip), %rdi
callq _perror
jmp LBB0_4
LBB0_5:
callq ___stack_chk_fail
LBB0_28:
movq -224(%rbp), %rax ## 8-byte Reload
movq %rax, -168(%rbp)
leaq -192(%rbp), %rax
movq %rax, _TERM(%rip)
movq -200(%rbp), %rax ## 8-byte Reload
shrl %eax
movq %rax, -200(%rbp) ## 8-byte Spill
movl -204(%rbp), %ebx ## 4-byte Reload
jmp LBB0_29
LBB0_31: ## in Loop: Header=BB0_29 Depth=1
movl $1, %edi
LBB0_38: ## in Loop: Header=BB0_29 Depth=1
movl %r14d, %esi
movq %r13, %rdx
callq _printlines
movl %eax, %r12d
LBB0_39: ## in Loop: Header=BB0_29 Depth=1
cmpl $-1, %r12d
je LBB0_16
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq _TTY(%rip), %rdi
callq _fgetc
cmpl $99, %eax
jle LBB0_30
## %bb.32: ## in Loop: Header=BB0_29 Depth=1
movq -200(%rbp), %rcx ## 8-byte Reload
movl %ecx, %edi
cmpl $100, %eax
je LBB0_38
## %bb.33: ## in Loop: Header=BB0_29 Depth=1
cmpl $116, %eax
jne LBB0_34
## %bb.35: ## in Loop: Header=BB0_29 Depth=1
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _fseek
testl %eax, %eax
jne LBB0_39
## %bb.36: ## in Loop: Header=BB0_29 Depth=1
movl $0, _PROGRESS(%rip)
movl %ebx, %edi
jmp LBB0_38
LBB0_30: ## in Loop: Header=BB0_29 Depth=1
cmpl $10, %eax
je LBB0_31
## %bb.37: ## in Loop: Header=BB0_29 Depth=1
movl %ebx, %edi
cmpl $32, %eax
je LBB0_38
jmp LBB0_39
LBB0_34: ## in Loop: Header=BB0_29 Depth=1
cmpl $113, %eax
jne LBB0_39
jmp LBB0_16
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function printlines
_printlines: ## @printlines
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movl %esi, %r14d
movl %edi, %r15d
cmpl $0, _SIZE(%rip)
jle LBB1_2
## %bb.1:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.7(%rip), %rdi
callq _fputs
LBB1_2:
testl %r15d, %r15d
jle LBB1_3
## %bb.7:
xorl %eax, %eax
movl %r15d, -44(%rbp) ## 4-byte Spill
LBB1_8: ## =>This Loop Header: Depth=1
## Child Loop BB1_9 Depth 2
movl %eax, -48(%rbp) ## 4-byte Spill
movq %r12, %rdi
callq _fgetc
movl %eax, %ebx
xorl %eax, %eax
cmpl $27, %ebx
sete %al
xorl %r15d, %r15d
jmp LBB1_9
.p2align 4, 0x90
LBB1_42: ## in Loop: Header=BB1_9 Depth=2
xorl %eax, %eax
cmpl $27, %ebx
sete %al
LBB1_9: ## Parent Loop BB1_8 Depth=1
## => This Inner Loop Header: Depth=2
movl %eax, %r13d
cmpl %r14d, %r15d
jge LBB1_10
LBB1_24: ## in Loop: Header=BB1_9 Depth=2
cmpl $-1, %ebx
je LBB1_4
## %bb.25: ## in Loop: Header=BB1_9 Depth=2
cmpl $10, %ebx
je LBB1_50
LBB1_26: ## in Loop: Header=BB1_9 Depth=2
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl %ebx, %edi
callq _fputc
incl _PROGRESS(%rip)
testl %r13d, %r13d
je LBB1_27
LBB1_41: ## in Loop: Header=BB1_9 Depth=2
movq %r12, %rdi
callq _fgetc
movl %eax, %ebx
leal -128(%rbx), %eax
cmpl $-97, %eax
jbe LBB1_42
## %bb.43: ## in Loop: Header=BB1_9 Depth=2
cmpl $3, %r13d
je LBB1_48
## %bb.44: ## in Loop: Header=BB1_9 Depth=2
movl $4, %eax
cmpl $2, %r13d
je LBB1_9
## %bb.45: ## in Loop: Header=BB1_9 Depth=2
cmpl $1, %r13d
jne LBB1_49
## %bb.46: ## in Loop: Header=BB1_9 Depth=2
movl $2, %eax
cmpl $48, %ebx
jb LBB1_9
## %bb.47: ## in Loop: Header=BB1_9 Depth=2
xorl %ecx, %ecx
cmpl $91, %ebx
sete %cl
movl $4, %eax
subl %ecx, %eax
jmp LBB1_9
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_9 Depth=2
cmpl $8, %ebx
je LBB1_26
## %bb.11: ## in Loop: Header=BB1_9 Depth=2
cmpl $9, %ebx
je LBB1_51
## %bb.12: ## in Loop: Header=BB1_9 Depth=2
cmpl $13, %ebx
je LBB1_26
## %bb.13: ## in Loop: Header=BB1_9 Depth=2
cmpl $127, %ebx
jg LBB1_22
## %bb.14: ## in Loop: Header=BB1_9 Depth=2
ja LBB1_16
## %bb.15: ## in Loop: Header=BB1_9 Depth=2
movl %ebx, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $262144, %ecx ## imm = 0x40000
andl %ecx, %eax
testl %r13d, %r13d
je LBB1_18
jmp LBB1_24
.p2align 4, 0x90
LBB1_27: ## in Loop: Header=BB1_9 Depth=2
cmpl $8, %ebx
je LBB1_32
## %bb.28: ## in Loop: Header=BB1_9 Depth=2
cmpl $13, %ebx
je LBB1_29
## %bb.30: ## in Loop: Header=BB1_9 Depth=2
cmpl $9, %ebx
jne LBB1_33
## %bb.31: ## in Loop: Header=BB1_9 Depth=2
leal 7(%r15), %eax
testl %r15d, %r15d
cmovnsl %r15d, %eax
andl $-8, %eax
addl $8, %eax
movl %eax, %r15d
jmp LBB1_41
LBB1_51: ## in Loop: Header=BB1_9 Depth=2
testl %r13d, %r13d
jne LBB1_26
jmp LBB1_52
LBB1_48: ## in Loop: Header=BB1_9 Depth=2
cmpl $64, %ebx
movl $4, %eax
sbbl $0, %eax
jmp LBB1_9
LBB1_49: ## in Loop: Header=BB1_9 Depth=2
xorl %eax, %eax
jmp LBB1_9
LBB1_32: ## in Loop: Header=BB1_9 Depth=2
testl %r15d, %r15d
leal -1(%r15), %eax
movl $0, %ecx
cmovlel %ecx, %eax
movl %eax, %r15d
jmp LBB1_41
LBB1_29: ## in Loop: Header=BB1_9 Depth=2
xorl %r15d, %r15d
jmp LBB1_41
LBB1_33: ## in Loop: Header=BB1_9 Depth=2
cmpl $127, %ebx
jg LBB1_39
## %bb.34: ## in Loop: Header=BB1_9 Depth=2
ja LBB1_36
## %bb.35: ## in Loop: Header=BB1_9 Depth=2
movl %ebx, %eax
movq __DefaultRuneLocale@GOTPCREL(%rip), %rcx
movl 60(%rcx,%rax,4), %eax
movl $262144, %ecx ## imm = 0x40000
andl %ecx, %eax
jmp LBB1_37
LBB1_22: ## in Loop: Header=BB1_9 Depth=2
movl %ebx, %eax
andl $-64, %eax
cmpl $128, %eax
je LBB1_24
## %bb.23: ## in Loop: Header=BB1_9 Depth=2
testl %r13d, %r13d
jne LBB1_24
jmp LBB1_20
LBB1_39: ## in Loop: Header=BB1_9 Depth=2
andl $-64, %ebx
cmpl $128, %ebx
je LBB1_41
jmp LBB1_40
LBB1_16: ## in Loop: Header=BB1_9 Depth=2
movl $262144, %esi ## imm = 0x40000
movl %ebx, %edi
callq ___maskrune
testl %r13d, %r13d
jne LBB1_24
LBB1_18: ## in Loop: Header=BB1_9 Depth=2
movl %ebx, %ecx
andl $-64, %ecx
cmpl $128, %ecx
je LBB1_24
## %bb.19: ## in Loop: Header=BB1_9 Depth=2
testl %eax, %eax
je LBB1_24
jmp LBB1_20
LBB1_36: ## in Loop: Header=BB1_9 Depth=2
movl $262144, %esi ## imm = 0x40000
movl %ebx, %edi
callq ___maskrune
LBB1_37: ## in Loop: Header=BB1_9 Depth=2
andl $-64, %ebx
cmpl $128, %ebx
je LBB1_41
## %bb.38: ## in Loop: Header=BB1_9 Depth=2
testl %eax, %eax
je LBB1_41
LBB1_40: ## in Loop: Header=BB1_9 Depth=2
incl %r15d
jmp LBB1_41
LBB1_20: ## in Loop: Header=BB1_8 Depth=1
cmpl $10, %ebx
je LBB1_50
## %bb.21: ## in Loop: Header=BB1_8 Depth=1
cmpl $-1, %ebx
je LBB1_4
LBB1_52: ## in Loop: Header=BB1_8 Depth=1
movl %ebx, %edi
movq %r12, %rsi
callq _ungetc
jmp LBB1_53
.p2align 4, 0x90
LBB1_50: ## in Loop: Header=BB1_8 Depth=1
incl _PROGRESS(%rip)
movl $10, %ebx
LBB1_53: ## in Loop: Header=BB1_8 Depth=1
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movl $10, %edi
callq _fputc
movl -48(%rbp), %eax ## 4-byte Reload
incl %eax
movl -44(%rbp), %r15d ## 4-byte Reload
cmpl %r15d, %eax
jl LBB1_8
jmp LBB1_4
LBB1_3:
xorl %ebx, %ebx
LBB1_4:
movl _SIZE(%rip), %ecx
testl %ecx, %ecx
jle LBB1_6
## %bb.5:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
imull $100, _PROGRESS(%rip), %eax
cltd
idivl %ecx
leaq L_.str.6(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _fprintf
LBB1_6:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function quit
_quit: ## @quit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
cmpl $0, _SIZE(%rip)
jle LBB2_2
## %bb.1:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.7(%rip), %rdi
callq _fputs
LBB2_2:
movq _TTY(%rip), %rdi
testq %rdi, %rdi
je LBB2_5
## %bb.3:
cmpq $0, _TERM(%rip)
je LBB2_5
## %bb.4:
callq _fileno
movq _TERM(%rip), %rdx
movl %eax, %edi
xorl %esi, %esi
callq _tcsetattr
LBB2_5:
xorl %edi, %edi
testl %ebx, %ebx
setne %dil
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "usage: %s [file]\n"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "cannot open file"
.zerofill __DATA,__bss,_SIZE,4,2 ## @SIZE
.zerofill __DATA,__bss,_TTY,8,3 ## @TTY
L_.str.3: ## @.str.3
.asciz "cannot open tty"
.section __DATA,__const
.p2align 3 ## @__const.main.action
l___const.main.action:
.quad _quit
.long 0 ## 0x0
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L_.str.4: ## @.str.4
.asciz "tcgetattr"
L_.str.5: ## @.str.5
.asciz "tcsetattr"
.zerofill __DATA,__bss,_TERM,8,3 ## @TERM
.zerofill __DATA,__bss,_PROGRESS,4,2 ## @PROGRESS
L_.str.6: ## @.str.6
.asciz "--(%d%%)--"
L_.str.7: ## @.str.7
.asciz "\r \r"
.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, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #192] ; 16-byte Folded Spill
stp x26, x25, [sp, #208] ; 16-byte Folded Spill
stp x24, x23, [sp, #224] ; 16-byte Folded Spill
stp x22, x21, [sp, #240] ; 16-byte Folded Spill
stp x20, x19, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.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 x20, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x23, ___stdoutp@GOTPAGE
Lloh4:
ldr x23, [x23, ___stdoutp@GOTPAGEOFF]
ldr x0, [x23]
bl _fileno
bl _isatty
mov x22, x0
cmp w19, #1
b.gt LBB0_2
; %bb.1:
Lloh5:
adrp x8, ___stdinp@GOTPAGE
Lloh6:
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
Lloh7:
ldr x19, [x8]
mov x0, x19
bl _fileno
bl _isatty
cbnz w0, LBB0_3
b LBB0_11
LBB0_2:
cmp w19, #2
b.eq LBB0_6
LBB0_3:
Lloh8:
adrp x8, ___stderrp@GOTPAGE
Lloh9:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh10:
ldr x0, [x8]
ldr x8, [x20]
str x8, [sp]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #2
LBB0_4:
ldur x8, [x29, #-88]
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_24
; %bb.5:
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x20, x19, [sp, #256] ; 16-byte Folded Reload
ldp x22, x21, [sp, #240] ; 16-byte Folded Reload
ldp x24, x23, [sp, #224] ; 16-byte Folded Reload
ldp x26, x25, [sp, #208] ; 16-byte Folded Reload
ldp x28, x27, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #288
ret
LBB0_6:
ldr x0, [x20, #8]
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
cbnz x0, LBB0_8
; %bb.7:
Lloh18:
adrp x0, l_.str.2@PAGE
Lloh19:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_23
LBB0_8:
mov x19, x0
cbz w22, LBB0_11
; %bb.9:
mov x0, x19
bl _fileno
add x1, sp, #40
bl _fstat
cbnz w0, LBB0_11
; %bb.10:
ldr x8, [sp, #136]
adrp x9, _SIZE@PAGE
str w8, [x9, _SIZE@PAGEOFF]
LBB0_11:
mov x0, #0
bl _ctermid
Lloh20:
adrp x1, l_.str.1@PAGE
Lloh21:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
adrp x24, _TTY@PAGE
str x0, [x24, _TTY@PAGEOFF]
cbnz x0, LBB0_13
; %bb.12:
Lloh22:
adrp x0, l_.str.3@PAGE
Lloh23:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_23
LBB0_13:
bl _fileno
add x8, sp, #32
str x8, [sp]
mov w1, #29800
movk w1, #16392, lsl #16
bl _ioctl
ldrh w8, [sp, #32]
ldrh w9, [sp, #34]
cmn w0, #1
mov w10, #80
csel w20, w10, w9, eq
mov w9, #24
csel w25, w9, w8, eq
sub w21, w25, #1
cbz w22, LBB0_18
; %bb.14:
mov x0, x21
mov x1, x20
mov x2, x19
bl _printlines
cmn w0, #1
b.eq LBB0_25
; %bb.15:
mov x22, x0
Lloh24:
adrp x8, l___const.main.action@PAGE
Lloh25:
add x8, x8, l___const.main.action@PAGEOFF
Lloh26:
ldr q0, [x8]
str q0, [sp, #16]
add x1, sp, #16
mov w0, #2
mov x2, #0
bl _sigaction
add x1, sp, #16
mov w0, #3
mov x2, #0
bl _sigaction
add x1, sp, #16
mov w0, #18
mov x2, #0
bl _sigaction
add x1, sp, #16
mov w0, #15
mov x2, #0
bl _sigaction
add x1, sp, #16
mov w0, #1
mov x2, #0
bl _sigaction
ldr x0, [x24, _TTY@PAGEOFF]
bl _fileno
add x1, sp, #40
bl _tcgetattr
cbnz w0, LBB0_22
; %bb.16:
ldr x26, [sp, #64]
mov x8, #-265
and x8, x26, x8
str x8, [sp, #64]
ldr x0, [x24, _TTY@PAGEOFF]
bl _fileno
add x27, sp, #40
add x2, sp, #40
mov w1, #0
bl _tcsetattr
cbz w0, LBB0_30
; %bb.17:
Lloh27:
adrp x0, l_.str.5@PAGE
Lloh28:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_23
LBB0_18: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x20
mov x2, x19
bl _printlines
cmn w0, #1
b.ne LBB0_18
; %bb.19:
Lloh29:
adrp x8, _SIZE@PAGE
Lloh30:
ldr w8, [x8, _SIZE@PAGEOFF]
cmp w8, #1
b.lt LBB0_21
; %bb.20:
ldr x1, [x23]
Lloh31:
adrp x0, l_.str.7@PAGE
Lloh32:
add x0, x0, l_.str.7@PAGEOFF
bl _fputs
LBB0_21:
ldr x0, [x24, _TTY@PAGEOFF]
adrp x19, _TERM@PAGE
ldr x8, [x19, _TERM@PAGEOFF]
cmp x0, #0
ccmp x8, #0, #4, ne
b.ne LBB0_29
b LBB0_48
LBB0_22:
Lloh33:
adrp x0, l_.str.4@PAGE
Lloh34:
add x0, x0, l_.str.4@PAGEOFF
LBB0_23:
bl _perror
mov w0, #1
b LBB0_4
LBB0_24:
bl ___stack_chk_fail
LBB0_25:
Lloh35:
adrp x8, _SIZE@PAGE
Lloh36:
ldr w8, [x8, _SIZE@PAGEOFF]
cmp w8, #1
b.lt LBB0_27
; %bb.26:
ldr x1, [x23]
Lloh37:
adrp x0, l_.str.7@PAGE
Lloh38:
add x0, x0, l_.str.7@PAGEOFF
bl _fputs
LBB0_27:
ldr x0, [x24, _TTY@PAGEOFF]
cbz x0, LBB0_48
; %bb.28:
adrp x19, _TERM@PAGE
ldr x8, [x19, _TERM@PAGEOFF]
cbz x8, LBB0_48
LBB0_29:
bl _fileno
ldr x2, [x19, _TERM@PAGEOFF]
b LBB0_47
LBB0_30:
str x26, [sp, #64]
mov x8, x25
adrp x25, _TERM@PAGE
str x27, [x25, _TERM@PAGEOFF]
lsr w26, w8, #1
adrp x27, _PROGRESS@PAGE
b LBB0_34
LBB0_31: ; in Loop: Header=BB0_34 Depth=1
mov w8, #1
LBB0_32: ; in Loop: Header=BB0_34 Depth=1
mov x0, x8
mov x1, x20
mov x2, x19
bl _printlines
mov x22, x0
LBB0_33: ; in Loop: Header=BB0_34 Depth=1
cmn w22, #1
b.eq LBB0_42
LBB0_34: ; =>This Inner Loop Header: Depth=1
ldr x0, [x24, _TTY@PAGEOFF]
bl _fgetc
cmp w0, #99
b.le LBB0_39
; %bb.35: ; in Loop: Header=BB0_34 Depth=1
mov x8, x26
cmp w0, #100
b.eq LBB0_32
; %bb.36: ; in Loop: Header=BB0_34 Depth=1
cmp w0, #116
b.ne LBB0_41
; %bb.37: ; in Loop: Header=BB0_34 Depth=1
mov x0, x19
mov x1, #0
mov w2, #0
bl _fseek
cbnz w0, LBB0_33
; %bb.38: ; in Loop: Header=BB0_34 Depth=1
str wzr, [x27, _PROGRESS@PAGEOFF]
mov x8, x21
b LBB0_32
LBB0_39: ; in Loop: Header=BB0_34 Depth=1
cmp w0, #10
b.eq LBB0_31
; %bb.40: ; in Loop: Header=BB0_34 Depth=1
mov x8, x21
cmp w0, #32
b.eq LBB0_32
b LBB0_33
LBB0_41: ; in Loop: Header=BB0_34 Depth=1
cmp w0, #113
b.ne LBB0_33
LBB0_42:
Lloh39:
adrp x8, _SIZE@PAGE
Lloh40:
ldr w8, [x8, _SIZE@PAGEOFF]
cmp w8, #1
b.lt LBB0_44
; %bb.43:
ldr x1, [x23]
Lloh41:
adrp x0, l_.str.7@PAGE
Lloh42:
add x0, x0, l_.str.7@PAGEOFF
bl _fputs
LBB0_44:
ldr x0, [x24, _TTY@PAGEOFF]
cbz x0, LBB0_48
; %bb.45:
ldr x8, [x25, _TERM@PAGEOFF]
cbz x8, LBB0_48
; %bb.46:
bl _fileno
ldr x2, [x25, _TERM@PAGEOFF]
LBB0_47:
mov w1, #0
bl _tcsetattr
LBB0_48:
mov w0, #0
bl _exit
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAddLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdr Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdr Lloh35, Lloh36
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdr Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function printlines
_printlines: ; @printlines
.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
mov x19, x2
mov x20, x1
mov x21, x0
Lloh43:
adrp x8, _SIZE@PAGE
Lloh44:
ldr w8, [x8, _SIZE@PAGEOFF]
Lloh45:
adrp x23, ___stdoutp@GOTPAGE
Lloh46:
ldr x23, [x23, ___stdoutp@GOTPAGEOFF]
cmp w8, #1
b.lt LBB1_2
; %bb.1:
ldr x1, [x23]
Lloh47:
adrp x0, l_.str.7@PAGE
Lloh48:
add x0, x0, l_.str.7@PAGEOFF
bl _fputs
LBB1_2:
adrp x25, _PROGRESS@PAGE
cmp w21, #1
b.lt LBB1_41
; %bb.3:
mov w8, #0
mov w28, #4
mov w27, #3
mov w24, #2
str w21, [sp, #8] ; 4-byte Folded Spill
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
str w8, [sp, #12] ; 4-byte Folded Spill
mov x0, x19
bl _fgetc
mov x22, x0
mov w21, #0
cmp w0, #27
cset w26, eq
b LBB1_7
LBB1_5: ; in Loop: Header=BB1_7 Depth=2
sub w8, w21, #1
cmp w21, #0
csel w21, w8, wzr, gt
LBB1_6: ; in Loop: Header=BB1_7 Depth=2
mov x0, x19
bl _fgetc
mov x22, x0
sub w8, w0, #128
cmp w0, #64
cinc w9, w27, hs
cmp w0, #91
cinc w10, w27, ne
cmp w0, #48
csel w10, w24, w10, lo
cmp w26, #1
csel w10, wzr, w10, ne
cmp w26, #2
csel w10, w28, w10, eq
cmp w26, #3
csel w9, w9, w10, eq
cmp w0, #27
cset w10, eq
cmn w8, #97
csel w26, w9, w10, hi
LBB1_7: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp w21, w20
b.ge LBB1_15
LBB1_8: ; in Loop: Header=BB1_7 Depth=2
cmn w22, #1
b.eq LBB1_42
; %bb.9: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #10
b.eq LBB1_39
LBB1_10: ; in Loop: Header=BB1_7 Depth=2
ldr x1, [x23]
mov x0, x22
bl _fputc
ldr w8, [x25, _PROGRESS@PAGEOFF]
add w8, w8, #1
str w8, [x25, _PROGRESS@PAGEOFF]
cbnz w26, LBB1_6
; %bb.11: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #8
b.eq LBB1_5
; %bb.12: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #13
b.eq LBB1_22
; %bb.13: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #9
b.ne LBB1_23
; %bb.14: ; in Loop: Header=BB1_7 Depth=2
negs w8, w21
and w8, w8, #0x7
and w9, w21, #0x7
csneg w8, w9, w8, mi
sub w8, w21, w8
add w21, w8, #8
b LBB1_6
LBB1_15: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #8
b.eq LBB1_10
; %bb.16: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #9
b.eq LBB1_21
; %bb.17: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #13
b.eq LBB1_10
; %bb.18: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #127
b.gt LBB1_26
; %bb.19: ; in Loop: Header=BB1_7 Depth=2
b.hi LBB1_29
; %bb.20: ; in Loop: Header=BB1_7 Depth=2
Lloh49:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh50:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w22, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x40000
cbz w26, LBB1_30
b LBB1_8
LBB1_21: ; in Loop: Header=BB1_7 Depth=2
cbnz w26, LBB1_10
b LBB1_38
LBB1_22: ; in Loop: Header=BB1_7 Depth=2
mov w21, #0
b LBB1_6
LBB1_23: ; in Loop: Header=BB1_7 Depth=2
cmp w22, #127
b.gt LBB1_28
; %bb.24: ; in Loop: Header=BB1_7 Depth=2
b.hi LBB1_32
; %bb.25: ; in Loop: Header=BB1_7 Depth=2
Lloh51:
adrp x8, __DefaultRuneLocale@GOTPAGE
Lloh52:
ldr x8, [x8, __DefaultRuneLocale@GOTPAGEOFF]
add x8, x8, w22, uxtw #2
ldr w8, [x8, #60]
and w0, w8, #0x40000
b LBB1_33
LBB1_26: ; in Loop: Header=BB1_7 Depth=2
and w8, w22, #0xffffffc0
cmp w8, #128
b.eq LBB1_8
; %bb.27: ; in Loop: Header=BB1_7 Depth=2
cbnz w26, LBB1_8
b LBB1_36
LBB1_28: ; in Loop: Header=BB1_7 Depth=2
and w8, w22, #0xffffffc0
cmp w8, #128
b.eq LBB1_6
b LBB1_35
LBB1_29: ; in Loop: Header=BB1_7 Depth=2
mov x0, x22
mov w1, #262144
bl ___maskrune
cbnz w26, LBB1_8
LBB1_30: ; in Loop: Header=BB1_7 Depth=2
and w8, w22, #0xffffffc0
cmp w8, #128
b.eq LBB1_8
; %bb.31: ; in Loop: Header=BB1_7 Depth=2
cbz w0, LBB1_8
b LBB1_36
LBB1_32: ; in Loop: Header=BB1_7 Depth=2
mov x0, x22
mov w1, #262144
bl ___maskrune
LBB1_33: ; in Loop: Header=BB1_7 Depth=2
and w8, w22, #0xffffffc0
cmp w8, #128
b.eq LBB1_6
; %bb.34: ; in Loop: Header=BB1_7 Depth=2
cbz w0, LBB1_6
LBB1_35: ; in Loop: Header=BB1_7 Depth=2
add w21, w21, #1
b LBB1_6
LBB1_36: ; in Loop: Header=BB1_4 Depth=1
cmp w22, #10
b.eq LBB1_39
; %bb.37: ; in Loop: Header=BB1_4 Depth=1
cmn w22, #1
b.eq LBB1_42
LBB1_38: ; in Loop: Header=BB1_4 Depth=1
mov x0, x22
mov x1, x19
bl _ungetc
b LBB1_40
LBB1_39: ; in Loop: Header=BB1_4 Depth=1
ldr w8, [x25, _PROGRESS@PAGEOFF]
add w8, w8, #1
str w8, [x25, _PROGRESS@PAGEOFF]
mov w22, #10
LBB1_40: ; in Loop: Header=BB1_4 Depth=1
ldr x1, [x23]
mov w0, #10
bl _fputc
ldp w21, w8, [sp, #8] ; 8-byte Folded Reload
add w8, w8, #1
cmp w8, w21
b.lt LBB1_4
b LBB1_42
LBB1_41:
mov w22, #0
LBB1_42:
Lloh53:
adrp x8, _SIZE@PAGE
Lloh54:
ldr w8, [x8, _SIZE@PAGEOFF]
cmp w8, #0
b.le LBB1_44
; %bb.43:
ldr x0, [x23]
ldr w9, [x25, _PROGRESS@PAGEOFF]
mov w10, #100
mul w9, w9, w10
sdiv w8, w9, w8
str x8, [sp]
Lloh55:
adrp x1, l_.str.6@PAGE
Lloh56:
add x1, x1, l_.str.6@PAGEOFF
bl _fprintf
LBB1_44:
ldr x0, [x23]
bl _fflush
mov x0, x22
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh45, Lloh46
.loh AdrpLdr Lloh43, Lloh44
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpLdrGot Lloh51, Lloh52
.loh AdrpLdr Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function quit
_quit: ; @quit
.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
Lloh57:
adrp x8, _SIZE@PAGE
Lloh58:
ldr w8, [x8, _SIZE@PAGEOFF]
cmp w8, #1
b.lt LBB2_2
; %bb.1:
Lloh59:
adrp x8, ___stdoutp@GOTPAGE
Lloh60:
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
Lloh61:
ldr x1, [x8]
Lloh62:
adrp x0, l_.str.7@PAGE
Lloh63:
add x0, x0, l_.str.7@PAGEOFF
bl _fputs
LBB2_2:
Lloh64:
adrp x8, _TTY@PAGE
Lloh65:
ldr x0, [x8, _TTY@PAGEOFF]
adrp x20, _TERM@PAGE
ldr x8, [x20, _TERM@PAGEOFF]
cmp x0, #0
ccmp x8, #0, #4, ne
b.eq LBB2_4
; %bb.3:
bl _fileno
ldr x2, [x20, _TERM@PAGEOFF]
mov w1, #0
bl _tcsetattr
LBB2_4:
cmp w19, #0
cset w0, ne
bl _exit
.loh AdrpLdr Lloh57, Lloh58
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdr Lloh64, Lloh65
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "usage: %s [file]\n"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "cannot open file"
.zerofill __DATA,__bss,_SIZE,4,2 ; @SIZE
.zerofill __DATA,__bss,_TTY,8,3 ; @TTY
l_.str.3: ; @.str.3
.asciz "cannot open tty"
.section __DATA,__const
.p2align 3 ; @__const.main.action
l___const.main.action:
.quad _quit
.long 0 ; 0x0
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l_.str.4: ; @.str.4
.asciz "tcgetattr"
l_.str.5: ; @.str.5
.asciz "tcsetattr"
.zerofill __DATA,__bss,_TERM,8,3 ; @TERM
.zerofill __DATA,__bss,_PROGRESS,4,2 ; @PROGRESS
l_.str.6: ; @.str.6
.asciz "--(%d%%)--"
l_.str.7: ; @.str.7
.asciz "\r \r"
.subsections_via_symbols
| the_stack_data/139749.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___archive_read_get_extract ## -- Begin function __archive_read_get_extract
.p2align 4, 0x90
___archive_read_get_extract: ## @__archive_read_get_extract
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rdi), %rax
testq %rax, %rax
jne LBB0_4
## %bb.1:
movq %rdi, %rbx
movl $1, %edi
movl $4, %esi
callq _calloc
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_2
## %bb.3:
movq _archive_read_extract_cleanup@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rbx)
jmp LBB0_4
LBB0_2:
addq $12, %rbx
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
callq _archive_set_error
xorl %eax, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Can't extract"
.comm _archive_read_extract_cleanup,4,2 ## @archive_read_extract_cleanup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___archive_read_get_extract ; -- Begin function __archive_read_get_extract
.p2align 2
___archive_read_get_extract: ; @__archive_read_get_extract
.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]
cbnz x0, LBB0_4
; %bb.1:
mov w0, #1
mov w1, #4
bl _calloc
str x0, [x19]
cbz x0, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _archive_read_extract_cleanup@GOTPAGE
Lloh1:
ldr x8, [x8, _archive_read_extract_cleanup@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x19, #8]
b LBB0_4
LBB0_3:
add x0, x19, #12
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
bl _archive_set_error
mov x0, #0
LBB0_4:
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 AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Can't extract"
.comm _archive_read_extract_cleanup,4,2 ; @archive_read_extract_cleanup
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libarchive/libarchive/extr_archive_read_extract2.c___archive_read_get_extract.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iwl_mvm_mac_sched_scan_start
_iwl_mvm_mac_sched_scan_start: ## @iwl_mvm_mac_sched_scan_start
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
callq _IWL_MAC80211_GET_MVM
movq %rax, %r13
movq %rax, %rdi
callq _mutex_lock
cmpl $0, (%r12)
je LBB0_1
## %bb.2:
movq _IWL_MVM_SCAN_SCHED@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq _iwl_mvm_sched_scan_start
movl %eax, %ebx
jmp LBB0_3
LBB0_1:
movq _EBUSY@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_3:
movq %r13, %rdi
callq _mutex_unlock
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EBUSY,4,2 ## @EBUSY
.comm _IWL_MVM_SCAN_SCHED,4,2 ## @IWL_MVM_SCAN_SCHED
.no_dead_strip _iwl_mvm_mac_sched_scan_start
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iwl_mvm_mac_sched_scan_start
_iwl_mvm_mac_sched_scan_start: ; @iwl_mvm_mac_sched_scan_start
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x3
mov x21, x2
mov x22, x1
bl _IWL_MAC80211_GET_MVM
mov x19, x0
bl _mutex_lock
ldr w8, [x22]
cbz w8, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _IWL_MVM_SCAN_SCHED@GOTPAGE
Lloh1:
ldr x8, [x8, _IWL_MVM_SCAN_SCHED@GOTPAGEOFF]
Lloh2:
ldr w4, [x8]
mov x0, x19
mov x1, x22
mov x2, x21
mov x3, x20
bl _iwl_mvm_sched_scan_start
mov x20, x0
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _EBUSY@GOTPAGE
Lloh4:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w20, w8
LBB0_3:
mov x0, x19
bl _mutex_unlock
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _EBUSY,4,2 ; @EBUSY
.comm _IWL_MVM_SCAN_SCHED,4,2 ; @IWL_MVM_SCAN_SCHED
.no_dead_strip _iwl_mvm_mac_sched_scan_start
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_mac80211.c_iwl_mvm_mac_sched_scan_start.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rtw_hal_is_disable_sw_channel_plan ## -- Begin function rtw_hal_is_disable_sw_channel_plan
.p2align 4, 0x90
_rtw_hal_is_disable_sw_channel_plan: ## @rtw_hal_is_disable_sw_channel_plan
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _GET_HAL_DATA
movl (%rax), %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 _rtw_hal_is_disable_sw_channel_plan ; -- Begin function rtw_hal_is_disable_sw_channel_plan
.p2align 2
_rtw_hal_is_disable_sw_channel_plan: ; @rtw_hal_is_disable_sw_channel_plan
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _GET_HAL_DATA
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/rtl8723bs/hal/extr_hal_intf.c_rtw_hal_is_disable_sw_channel_plan.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xhci_rcar_is_gen2
_xhci_rcar_is_gen2: ## @xhci_rcar_is_gen2
.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 L_.str(%rip), %rsi
movq %rbx, %rdi
callq _of_device_is_compatible
movl $1, %r14d
testq %rax, %rax
jne LBB0_4
## %bb.1:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _of_device_is_compatible
testq %rax, %rax
jne LBB0_4
## %bb.2:
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _of_device_is_compatible
testq %rax, %rax
jne LBB0_4
## %bb.3:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _of_device_is_compatible
xorl %r14d, %r14d
testq %rax, %rax
setne %r14b
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 "renesas,xhci-r8a7790"
L_.str.1: ## @.str.1
.asciz "renesas,xhci-r8a7791"
L_.str.2: ## @.str.2
.asciz "renesas,xhci-r8a7793"
L_.str.3: ## @.str.3
.asciz "renesas,rcar-gen2-xhci"
.no_dead_strip _xhci_rcar_is_gen2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xhci_rcar_is_gen2
_xhci_rcar_is_gen2: ; @xhci_rcar_is_gen2
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x19, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _of_device_is_compatible
cbnz x0, LBB0_3
; %bb.1:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _of_device_is_compatible
cbnz x0, LBB0_3
; %bb.2:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _of_device_is_compatible
cbz x0, LBB0_5
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
LBB0_5:
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _of_device_is_compatible
cmp x0, #0
cset w0, ne
b LBB0_4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "renesas,xhci-r8a7790"
l_.str.1: ; @.str.1
.asciz "renesas,xhci-r8a7791"
l_.str.2: ; @.str.2
.asciz "renesas,xhci-r8a7793"
l_.str.3: ; @.str.3
.asciz "renesas,rcar-gen2-xhci"
.no_dead_strip _xhci_rcar_is_gen2
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/host/extr_xhci-rcar.c_xhci_rcar_is_gen2.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function init_layer3_gainpow2
LCPI0_0:
.quad 0xbfd0000000000000 ## double -0.25
LCPI0_1:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _init_layer3_gainpow2
.p2align 4, 0x90
_init_layer3_gainpow2: ## @init_layer3_gainpow2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %ebx
leal 210(%rbx), %eax
cvtsi2sd %eax, %xmm1
mulsd LCPI0_0(%rip), %xmm1
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = [2.0E+0,0.0E+0]
callq _pow
addl $256, %ebx ## imm = 0x100
movl %eax, %edi
movl %ebx, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _DOUBLE_TO_REAL_SCALE_LAYER3 ## TAILCALL
.cfi_endproc
## -- End function
.globl _g_aug_volatile_2990 ## @g_aug_volatile_2990
.zerofill __DATA,__common,_g_aug_volatile_2990,4,2
.comm _gainpow2,8,3 ## @gainpow2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _init_layer3_gainpow2 ; -- Begin function init_layer3_gainpow2
.p2align 2
_init_layer3_gainpow2: ; @init_layer3_gainpow2
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
add w8, w1, #210
scvtf d0, w8
fmov d1, #-0.25000000
fmul d1, d0, d1
fmov d0, #2.00000000
bl _pow
add w1, w19, #256
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _DOUBLE_TO_REAL_SCALE_LAYER3
.cfi_endproc
; -- End function
.globl _g_aug_volatile_2990 ; @g_aug_volatile_2990
.zerofill __DATA,__common,_g_aug_volatile_2990,4,2
.comm _gainpow2,8,3 ; @gainpow2
.subsections_via_symbols
| assembly_file_23419.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opsmsw
_opsmsw: ## @opsmsw
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $1, (%rdx)
jne LBB0_7
## %bb.1:
xorl %eax, %eax
cmpl $64, (%rdi)
jne LBB0_3
## %bb.2:
movl $72, (%rsi)
movl $-1, %eax
LBB0_3:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cltq
movabsq $4294967311, %rcx ## imm = 0x10000000F
movq %rcx, (%rsi,%rax,4)
movq 8(%rdx), %rdx
movq _OT_MEMORY@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rdx)
je LBB0_5
## %bb.4:
movq 8(%rdx), %rcx
movl (%rcx), %ecx
orl $32, %ecx
jmp LBB0_6
LBB0_5:
movl $224, %ecx
orl 16(%rdx), %ecx
LBB0_6:
movl %ecx, 8(%rsi,%rax,4)
addl $3, %eax
popq %rbp
LBB0_7:
## kill: def $eax killed $eax killed $rax
retq
.cfi_endproc
## -- End function
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.no_dead_strip _opsmsw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opsmsw
_opsmsw: ; @opsmsw
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.ne LBB0_3
; %bb.1:
ldr w8, [x0]
cmp w8, #64
b.ne LBB0_4
; %bb.2:
mov w8, #72 ; =0x48
str w8, [x1]
mov w8, #-1 ; =0xffffffff
b LBB0_5
LBB0_3:
mov w0, #-1 ; =0xffffffff
ret
LBB0_4:
mov w8, #0 ; =0x0
LBB0_5:
add x9, x1, w8, sxtw #2
mov x10, #15 ; =0xf
movk x10, #1, lsl #32
str x10, [x9]
ldr x10, [x2, #8]
ldr w11, [x10]
Lloh0:
adrp x12, _OT_MEMORY@GOTPAGE
Lloh1:
ldr x12, [x12, _OT_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w12, [x12]
tst w12, w11
b.eq LBB0_7
; %bb.6:
ldr x10, [x10, #8]
ldr w10, [x10]
orr w10, w10, #0x20
b LBB0_8
LBB0_7:
ldr w10, [x10, #16]
orr w10, w10, #0xe0
LBB0_8:
str w10, [x9, #8]
add w0, w8, #3
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.no_dead_strip _opsmsw
.subsections_via_symbols
| assembly_file_57059.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function smu_v11_0_fini_power
_smu_v11_0_fini_power: ## @smu_v11_0_fini_power
.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
xorl %r14d, %r14d
cmpl $0, (%rdi)
je LBB0_5
## %bb.1:
movq %rdi, %rbx
movq 16(%rdi), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
cmpq $0, 8(%rbx)
je LBB0_3
## %bb.4:
addq $8, %rbx
callq _kfree
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
jmp LBB0_5
LBB0_3:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
LBB0_5:
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _smu_v11_0_fini_power
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function smu_v11_0_fini_power
_smu_v11_0_fini_power: ; @smu_v11_0_fini_power
.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]
cbz w8, LBB0_4
; %bb.1:
mov x19, x0
ldr x0, [x0, #16]
cbz x0, LBB0_5
; %bb.2:
ldr x8, [x19, #8]!
cbz x8, LBB0_5
; %bb.3:
bl _kfree
mov w0, #0
stp xzr, xzr, [x19]
b LBB0_6
LBB0_4:
mov w0, #0
b LBB0_6
LBB0_5:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_6:
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 _smu_v11_0_fini_power
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_smu_v11_0.c_smu_v11_0_fini_power.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_xstrncpy_truncated
_test_xstrncpy_truncated: ## @test_xstrncpy_truncated
.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 $7895160, -20(%rbp) ## imm = 0x787878
leaq L_.str(%rip), %rbx
leaq -20(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
movl $4, %edx
callq _xstrncpy
xorl %edi, %edi
cmpq $4, %rax
sete %dil
callq _assert
xorl %edi, %edi
cmpb $0, -17(%rbp)
sete %dil
callq _assert
movq %rbx, %rdi
movq %r14, %rsi
movl $3, %edx
callq _strncmp
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _assert
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "abcdef"
.no_dead_strip _test_xstrncpy_truncated
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_xstrncpy_truncated
_test_xstrncpy_truncated: ; @test_xstrncpy_truncated
.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 w8, #30840
movk w8, #120, lsl #16
str w8, [sp, #12]
Lloh0:
adrp x19, l_.str@PAGE
Lloh1:
add x19, x19, l_.str@PAGEOFF
add x0, sp, #12
mov x1, x19
mov w2, #4
bl _xstrncpy
cmp x0, #4
cset w0, eq
bl _assert
ldrb w8, [sp, #15]
cmp w8, #0
cset w0, eq
bl _assert
add x1, sp, #12
mov x0, x19
mov w2, #3
bl _strncmp
cmp w0, #0
cset w0, eq
bl _assert
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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "abcdef"
.no_dead_strip _test_xstrncpy_truncated
.subsections_via_symbols
| AnghaBench/scrcpy/app/tests/extr_test_strutil.c_test_xstrncpy_truncated.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 $56, %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 -64(%rbp), %rsi
leaq -68(%rbp), %rdx
leaq -72(%rbp), %rcx
leaq -76(%rbp), %r8
leaq -80(%rbp), %r9
leaq -84(%rbp), %r10
leaq -88(%rbp), %r11
leaq -92(%rbp), %r14
leaq -96(%rbp), %rbx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
pushq %rbx
pushq %r14
pushq %r11
pushq %r10
callq _scanf
addq $32, %rsp
cmpl $-1, %eax
je LBB0_38
## %bb.1:
leaq L_.str.9(%rip), %r15
leaq L_.str.10(%rip), %r12
leaq L_.str.12(%rip), %r14
leaq L_.str.11(%rip), %r13
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_24 Depth 2
movl -64(%rbp), %esi
movl $8, %ebx
testl %esi, %esi
jne LBB0_13
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl -68(%rbp), %esi
movl $7, %ebx
testl %esi, %esi
jne LBB0_13
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl -72(%rbp), %esi
movl $6, %ebx
testl %esi, %esi
jne LBB0_13
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl -76(%rbp), %esi
movl $5, %ebx
testl %esi, %esi
jne LBB0_13
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movl -80(%rbp), %esi
movl $4, %ebx
testl %esi, %esi
jne LBB0_13
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movl -84(%rbp), %esi
movl $3, %ebx
testl %esi, %esi
jne LBB0_13
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movl -88(%rbp), %esi
movl $2, %ebx
testl %esi, %esi
je LBB0_9
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
cmpl $-1, %esi
je LBB0_17
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
cmpl $1, %esi
jne LBB0_18
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.2(%rip), %rdi
jmp LBB0_16
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.3(%rip), %rdi
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
movl %ebx, %esi
xorl %eax, %eax
callq _printf
jmp LBB0_23
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.4(%rip), %rdi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
movl %ebx, %ebx
jmp LBB0_24
LBB0_34: ## in Loop: Header=BB0_24 Depth=2
cmpq $2, %rcx
movq %r14, %rcx
leaq L_.str.5(%rip), %rax
cmoveq %rax, %rcx
movq %r13, %rdi
xorl %eax, %eax
callq _printf
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_24 Depth=2
leaq 1(%rbx), %rax
cmpq $1, %rax
jbe LBB0_36
LBB0_24: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rcx
decq %rbx
movl -100(%rbp,%rcx,4), %edx
testl %edx, %edx
je LBB0_35
## %bb.25: ## in Loop: Header=BB0_24 Depth=2
movl $43, %esi
js LBB0_26
## %bb.27: ## in Loop: Header=BB0_24 Depth=2
cmpl $1, %edx
jne LBB0_32
LBB0_28: ## in Loop: Header=BB0_24 Depth=2
cmpq $3, %rcx
jb LBB0_31
## %bb.29: ## in Loop: Header=BB0_24 Depth=2
decl %ecx
leaq L_.str.8(%rip), %rdi
movl %ecx, %edx
jmp LBB0_30
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_24 Depth=2
negl %edx
movl %edx, -100(%rbp,%rcx,4)
movl $45, %esi
cmpl $1, %edx
je LBB0_28
LBB0_32: ## in Loop: Header=BB0_24 Depth=2
cmpq $3, %rcx
jb LBB0_34
## %bb.33: ## in Loop: Header=BB0_24 Depth=2
decl %ecx
movq %r12, %rdi
## kill: def $ecx killed $ecx killed $rcx
xorl %eax, %eax
callq _printf
jmp LBB0_35
LBB0_31: ## in Loop: Header=BB0_24 Depth=2
cmpq $2, %rcx
movl $49, %edx
movl $120, %eax
cmovel %eax, %edx
movq %r15, %rdi
LBB0_30: ## in Loop: Header=BB0_24 Depth=2
xorl %eax, %eax
callq _printf
jmp LBB0_35
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _putchar
LBB0_37: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rdi
leaq -64(%rbp), %rsi
leaq -68(%rbp), %rdx
leaq -72(%rbp), %rcx
leaq -76(%rbp), %r8
leaq -80(%rbp), %r9
xorl %eax, %eax
leaq -96(%rbp), %rbx
pushq %rbx
leaq -92(%rbp), %rbx
pushq %rbx
leaq -88(%rbp), %rbx
pushq %rbx
leaq -84(%rbp), %rbx
pushq %rbx
callq _scanf
addq $32, %rsp
cmpl $-1, %eax
jne LBB0_2
jmp LBB0_38
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl -92(%rbp), %esi
cmpl $-1, %esi
je LBB0_20
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
cmpl $1, %esi
je LBB0_19
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
testl %esi, %esi
jne LBB0_21
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movl -96(%rbp), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_37
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_22
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movl $120, %edi
callq _putchar
jmp LBB0_22
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
movl $1, %ebx
jmp LBB0_23
LBB0_38:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_40
## %bb.39:
xorl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_40:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d %d %d %d %d %d %d"
L_.str.1: ## @.str.1
.asciz "%d\n"
L_.str.2: ## @.str.2
.asciz "x^%d"
L_.str.3: ## @.str.3
.asciz "-x^%d"
L_.str.4: ## @.str.4
.asciz "%dx^%d"
L_.str.5: ## @.str.5
.asciz "x"
L_.str.6: ## @.str.6
.asciz "-x"
L_.str.7: ## @.str.7
.asciz "%dx"
L_.str.8: ## @.str.8
.asciz " %c x^%d"
L_.str.9: ## @.str.9
.asciz " %c %c"
L_.str.10: ## @.str.10
.asciz " %c %dx^%d"
L_.str.11: ## @.str.11
.asciz " %c %d%s"
L_.str.12: ## @.str.12
.space 1
.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, #288
.cfi_def_cfa_offset 288
stp x28, x27, [sp, #192] ; 16-byte Folded Spill
stp x26, x25, [sp, #208] ; 16-byte Folded Spill
stp x24, x23, [sp, #224] ; 16-byte Folded Spill
stp x22, x21, [sp, #240] ; 16-byte Folded Spill
stp x20, x19, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub x9, x29, #132
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x10, x9, #32
add x11, x9, #28
add x12, x9, #24
stur x8, [x29, #-96]
add x8, x9, #20
add x13, x9, #16
add x14, x9, #12
add x15, x9, #8
add x16, x9, #4
stp x9, x16, [sp, #64] ; 8-byte Folded Spill
stp x15, x16, [sp, #48]
stp x15, x14, [sp, #80] ; 16-byte Folded Spill
stp x13, x14, [sp, #32]
stp x13, x8, [sp, #96] ; 16-byte Folded Spill
stp x12, x8, [sp, #16]
stp x12, x11, [sp, #112] ; 16-byte Folded Spill
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
stp x10, x11, [sp]
str x10, [sp, #128] ; 8-byte Folded Spill
bl _scanf
cmn w0, #1
b.eq LBB0_45
; %bb.1:
sub x8, x29, #132
sub x28, x8, #4
mov w19, #120
Lloh5:
adrp x22, l_.str.8@PAGE
Lloh6:
add x22, x22, l_.str.8@PAGEOFF
mov w26, #49
Lloh7:
adrp x23, l_.str.9@PAGE
Lloh8:
add x23, x23, l_.str.9@PAGEOFF
Lloh9:
adrp x24, l_.str.10@PAGE
Lloh10:
add x24, x24, l_.str.10@PAGEOFF
Lloh11:
adrp x20, l_.str.12@PAGE
Lloh12:
add x20, x20, l_.str.12@PAGEOFF
Lloh13:
adrp x21, l_.str.5@PAGE
Lloh14:
add x21, x21, l_.str.5@PAGEOFF
Lloh15:
adrp x25, l_.str.11@PAGE
Lloh16:
add x25, x25, l_.str.11@PAGEOFF
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
ldur w8, [x29, #-100]
cbz w8, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w27, #8
cmn w8, #1
b.eq LBB0_8
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #1
b.ne LBB0_9
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
str x27, [sp]
Lloh17:
adrp x0, l_.str.2@PAGE
Lloh18:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_10
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-104]
cbz w8, LBB0_26
; %bb.7: ; in Loop: Header=BB0_2 Depth=1
mov w27, #7
cmn w8, #1
b.ne LBB0_4
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
mov x8, x27
str x8, [sp]
Lloh19:
adrp x0, l_.str.3@PAGE
Lloh20:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
mov x9, x27
stp x8, x9, [sp]
Lloh21:
adrp x0, l_.str.4@PAGE
Lloh22:
add x0, x0, l_.str.4@PAGEOFF
LBB0_10: ; in Loop: Header=BB0_2 Depth=1
bl _printf
LBB0_11: ; in Loop: Header=BB0_2 Depth=1
mov w8, w27
b LBB0_15
LBB0_12: ; in Loop: Header=BB0_15 Depth=2
cmp x8, #2
csel x8, x21, x20, eq
; kill: def $w9 killed $w9 killed $x9 def $x9
; kill: def $w10 killed $w10 killed $x10 def $x10
stp x10, x9, [sp]
str x8, [sp, #16]
mov x0, x25
LBB0_13: ; in Loop: Header=BB0_15 Depth=2
bl _printf
LBB0_14: ; in Loop: Header=BB0_15 Depth=2
add x9, x27, #1
mov x8, x27
cmp x9, #1
b.ls LBB0_24
LBB0_15: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
sub x27, x8, #1
ldr w9, [x28, x8, lsl #2]
cbz w9, LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=2
tbnz w9, #31, LBB0_20
; %bb.17: ; in Loop: Header=BB0_15 Depth=2
mov w10, #43
cmp w9, #1
b.ne LBB0_21
LBB0_18: ; in Loop: Header=BB0_15 Depth=2
cmp x8, #3
b.lo LBB0_23
; %bb.19: ; in Loop: Header=BB0_15 Depth=2
stp x10, x27, [sp]
mov x0, x22
b LBB0_13
LBB0_20: ; in Loop: Header=BB0_15 Depth=2
neg w9, w9
str w9, [x28, x8, lsl #2]
mov w10, #45
cmp w9, #1
b.eq LBB0_18
LBB0_21: ; in Loop: Header=BB0_15 Depth=2
cmp x8, #3
b.lo LBB0_12
; %bb.22: ; in Loop: Header=BB0_15 Depth=2
stp x9, x27, [sp, #8]
; kill: def $w10 killed $w10 killed $x10 def $x10
str x10, [sp]
mov x0, x24
b LBB0_13
LBB0_23: ; in Loop: Header=BB0_15 Depth=2
; kill: def $w10 killed $w10 killed $x10 def $x10
cmp x8, #2
csel x8, x19, x26, eq
stp x10, x8, [sp]
mov x0, x23
b LBB0_13
LBB0_24: ; in Loop: Header=BB0_2 Depth=1
mov w0, #10
bl _putchar
LBB0_25: ; in Loop: Header=BB0_2 Depth=1
sub x8, x29, #132
str x8, [sp, #64]
ldr x9, [sp, #72] ; 8-byte Folded Reload
ldr x8, [sp, #80] ; 8-byte Folded Reload
stp x8, x9, [sp, #48]
ldr x9, [sp, #88] ; 8-byte Folded Reload
ldr x8, [sp, #96] ; 8-byte Folded Reload
stp x8, x9, [sp, #32]
ldr x9, [sp, #104] ; 8-byte Folded Reload
ldr x8, [sp, #112] ; 8-byte Folded Reload
stp x8, x9, [sp, #16]
ldr x9, [sp, #120] ; 8-byte Folded Reload
ldr x8, [sp, #128] ; 8-byte Folded Reload
stp x8, x9, [sp]
Lloh23:
adrp x0, l_.str@PAGE
Lloh24:
add x0, x0, l_.str@PAGEOFF
bl _scanf
cmn w0, #1
b.ne LBB0_2
b LBB0_45
LBB0_26: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-108]
cbz w8, LBB0_28
; %bb.27: ; in Loop: Header=BB0_2 Depth=1
mov w27, #6
cmn w8, #1
b.ne LBB0_4
b LBB0_8
LBB0_28: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-112]
cbz w8, LBB0_30
; %bb.29: ; in Loop: Header=BB0_2 Depth=1
mov w27, #5
cmn w8, #1
b.ne LBB0_4
b LBB0_8
LBB0_30: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-116]
cbz w8, LBB0_32
; %bb.31: ; in Loop: Header=BB0_2 Depth=1
mov w27, #4
cmn w8, #1
b.ne LBB0_4
b LBB0_8
LBB0_32: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-120]
cbz w8, LBB0_34
; %bb.33: ; in Loop: Header=BB0_2 Depth=1
mov w27, #3
cmn w8, #1
b.ne LBB0_4
b LBB0_8
LBB0_34: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-124]
cbz w8, LBB0_36
; %bb.35: ; in Loop: Header=BB0_2 Depth=1
mov w27, #2
cmn w8, #1
b.ne LBB0_4
b LBB0_8
LBB0_36: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-128]
cmn w8, #1
b.eq LBB0_40
; %bb.37: ; in Loop: Header=BB0_2 Depth=1
cmp w8, #1
b.eq LBB0_41
; %bb.38: ; in Loop: Header=BB0_2 Depth=1
cbnz w8, LBB0_42
; %bb.39: ; in Loop: Header=BB0_2 Depth=1
ldur w8, [x29, #-132]
str x8, [sp]
Lloh25:
adrp x0, l_.str.1@PAGE
Lloh26:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_25
LBB0_40: ; in Loop: Header=BB0_2 Depth=1
Lloh27:
adrp x0, l_.str.6@PAGE
Lloh28:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_43
LBB0_41: ; in Loop: Header=BB0_2 Depth=1
mov w0, #120
bl _putchar
b LBB0_44
LBB0_42: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
Lloh29:
adrp x0, l_.str.7@PAGE
Lloh30:
add x0, x0, l_.str.7@PAGEOFF
LBB0_43: ; in Loop: Header=BB0_2 Depth=1
bl _printf
LBB0_44: ; in Loop: Header=BB0_2 Depth=1
mov w27, #1
b LBB0_11
LBB0_45:
ldur x8, [x29, #-96]
Lloh31:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh32:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_47
; %bb.46:
mov w0, #0
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x20, x19, [sp, #256] ; 16-byte Folded Reload
ldp x22, x21, [sp, #240] ; 16-byte Folded Reload
ldp x24, x23, [sp, #224] ; 16-byte Folded Reload
ldp x26, x25, [sp, #208] ; 16-byte Folded Reload
ldp x28, x27, [sp, #192] ; 16-byte Folded Reload
add sp, sp, #288
ret
LBB0_47:
bl ___stack_chk_fail
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.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 Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d %d %d %d %d %d %d"
l_.str.1: ; @.str.1
.asciz "%d\n"
l_.str.2: ; @.str.2
.asciz "x^%d"
l_.str.3: ; @.str.3
.asciz "-x^%d"
l_.str.4: ; @.str.4
.asciz "%dx^%d"
l_.str.5: ; @.str.5
.asciz "x"
l_.str.6: ; @.str.6
.asciz "-x"
l_.str.7: ; @.str.7
.asciz "%dx"
l_.str.8: ; @.str.8
.asciz " %c x^%d"
l_.str.9: ; @.str.9
.asciz " %c %c"
l_.str.10: ; @.str.10
.asciz " %c %dx^%d"
l_.str.11: ; @.str.11
.asciz " %c %d%s"
l_.str.12: ; @.str.12
.space 1
.subsections_via_symbols
| the_stack_data/103265076.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sc92031_set_multicast_list
_sc92031_set_multicast_list: ## @sc92031_set_multicast_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _netdev_priv
movq %rax, %r14
movq %rax, %rdi
callq _spin_lock_bh
movq %rbx, %rdi
callq __sc92031_set_mar
movq %rbx, %rdi
callq __sc92031_set_rx_config
xorl %eax, %eax
callq _mmiowb
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _spin_unlock_bh ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _sc92031_set_multicast_list
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sc92031_set_multicast_list
_sc92031_set_multicast_list: ; @sc92031_set_multicast_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, x0
bl _netdev_priv
mov x20, x0
bl _spin_lock_bh
mov x0, x19
bl __sc92031_set_mar
mov x0, x19
bl __sc92031_set_rx_config
bl _mmiowb
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _spin_unlock_bh
.cfi_endproc
; -- End function
.no_dead_strip _sc92031_set_multicast_list
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_sc92031.c_sc92031_set_multicast_list.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Opcode_s32ri_Slot_inst_encode
_Opcode_s32ri_Slot_inst_encode: ## @Opcode_s32ri_Slot_inst_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $61442, (%rdi) ## imm = 0xF002
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Opcode_s32ri_Slot_inst_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Opcode_s32ri_Slot_inst_encode
_Opcode_s32ri_Slot_inst_encode: ; @Opcode_s32ri_Slot_inst_encode
.cfi_startproc
; %bb.0:
mov w8, #61442
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Opcode_s32ri_Slot_inst_encode
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_s32ri_Slot_inst_encode.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
xorl %eax, %eax
callq ___VERIFIER_nondet_int
xorl %eax, %eax
callq ___VERIFIER_nondet_int
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 ___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 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_nondet_int
bl ___VERIFIER_nondet_int
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/65030.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ceu_read
_ceu_read: ## @ceu_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq (%rdi), %rsi
movq %rsi, %rdi
popq %rbp
jmp _ioread32 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _ceu_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ceu_read
_ceu_read: ; @ceu_read
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x0, x8, x1
b _ioread32
.cfi_endproc
; -- End function
.no_dead_strip _ceu_read
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/media/video/extr_sh_mobile_ceu_camera.c_ceu_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_add_8_er_pi ## -- Begin function m68k_op_add_8_er_pi
.p2align 4, 0x90
_m68k_op_add_8_er_pi: ## @m68k_op_add_8_er_pi
.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
xorl %eax, %eax
callq _OPER_AY_PI_8
movl %eax, %r14d
movq _DX@GOTPCREL(%rip), %r12
movl (%r12), %edi
callq _MASK_OUT_ABOVE_8
movq %rax, %r15
leal (%r14,%rax), %ebx
movl %ebx, %edi
callq _NFLAG_8
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %r14d, %edi
movl %r15d, %esi
movl %ebx, %edx
callq _VFLAG_ADD_8
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %ebx, %edi
callq _CFLAG_8
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _FLAG_X@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %ebx, %edi
callq _MASK_OUT_ABOVE_8
movq _FLAG_Z@GOTPCREL(%rip), %rbx
movl %eax, (%rbx)
movl (%r12), %edi
callq _MASK_OUT_BELOW_8
orl (%rbx), %eax
movl %eax, (%r12)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DX,4,2 ## @DX
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _FLAG_V,4,2 ## @FLAG_V
.comm _FLAG_C,4,2 ## @FLAG_C
.comm _FLAG_X,4,2 ## @FLAG_X
.comm _FLAG_Z,4,2 ## @FLAG_Z
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _m68k_op_add_8_er_pi ; -- Begin function m68k_op_add_8_er_pi
.p2align 2
_m68k_op_add_8_er_pi: ; @m68k_op_add_8_er_pi
.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
bl _OPER_AY_PI_8
mov x19, x0
Lloh0:
adrp x22, _DX@GOTPAGE
Lloh1:
ldr x22, [x22, _DX@GOTPAGEOFF]
ldr w0, [x22]
bl _MASK_OUT_ABOVE_8
mov x20, x0
add w21, w19, w20
mov x0, x21
bl _NFLAG_8
Lloh2:
adrp x8, _FLAG_N@GOTPAGE
Lloh3:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh4:
str w0, [x8]
mov x0, x19
mov x1, x20
mov x2, x21
bl _VFLAG_ADD_8
Lloh5:
adrp x8, _FLAG_V@GOTPAGE
Lloh6:
ldr x8, [x8, _FLAG_V@GOTPAGEOFF]
Lloh7:
str w0, [x8]
mov x0, x21
bl _CFLAG_8
Lloh8:
adrp x8, _FLAG_C@GOTPAGE
Lloh9:
ldr x8, [x8, _FLAG_C@GOTPAGEOFF]
Lloh10:
str w0, [x8]
Lloh11:
adrp x8, _FLAG_X@GOTPAGE
Lloh12:
ldr x8, [x8, _FLAG_X@GOTPAGEOFF]
Lloh13:
str w0, [x8]
mov x0, x21
bl _MASK_OUT_ABOVE_8
Lloh14:
adrp x19, _FLAG_Z@GOTPAGE
Lloh15:
ldr x19, [x19, _FLAG_Z@GOTPAGEOFF]
str w0, [x19]
ldr w0, [x22]
bl _MASK_OUT_BELOW_8
ldr w8, [x19]
orr w8, w8, w0
str w8, [x22]
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 Lloh14, Lloh15
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DX,4,2 ; @DX
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _FLAG_V,4,2 ; @FLAG_V
.comm _FLAG_C,4,2 ; @FLAG_C
.comm _FLAG_X,4,2 ; @FLAG_X
.comm _FLAG_Z,4,2 ; @FLAG_Z
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kopac.c_m68k_op_add_8_er_pi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getentry ## -- Begin function getentry
.p2align 4, 0x90
_getentry: ## @getentry
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb (%rdi), %cl
testb %cl, %cl
je LBB0_1
## %bb.2:
incq %rdi
leaq _getentry.buf(%rip), %rax
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
movzbl (%rdi), %ecx
incq %rdi
testb %cl, %cl
je LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpb $32, %cl
jl LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movb %cl, (%rax)
incq %rax
jmp LBB0_5
LBB0_1:
leaq _getentry.buf(%rip), %rax
LBB0_6:
movb $0, (%rax)
leaq _getentry.buf(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getref ## -- Begin function getref
.p2align 4, 0x90
_getref: ## @getref
.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 _getref.buf(%rip), %r14
jmp LBB1_1
.p2align 4, 0x90
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movb $45, (%r14)
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
incq %r14
LBB1_8: ## in Loop: Header=BB1_1 Depth=1
incq %rbx
LBB1_1: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx), %edi
cmpl $32, %edi
je LBB1_10
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
testb %dil, %dil
je LBB1_9
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
leal -48(%rdi), %eax
cmpb $9, %al
ja LBB1_5
## %bb.4: ## in Loop: Header=BB1_1 Depth=1
movb %dil, (%r14)
jmp LBB1_7
.p2align 4, 0x90
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
cmpb $65, %dil
jl LBB1_8
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
## kill: def $edi killed $edi killed $rdi
callq ___tolower
movb %al, (%r14)
jmp LBB1_7
LBB1_9:
movb $0, (%r14)
leaq _getref.buf(%rip), %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_toc ## -- Begin function add_toc
.p2align 4, 0x90
_add_toc: ## @add_toc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %edi, %ebx
movslq _toc_cnt(%rip), %rdi
cmpq $511, %rdi ## imm = 0x1FF
jg LBB2_2
## %bb.1:
shlq $10, %rdi
movq _toc@GOTPCREL(%rip), %r14
addq %r14, %rdi
movl $1024, %edx ## imm = 0x400
callq _strncpy
movslq _toc_cnt(%rip), %rax
movq _toc_level@GOTPCREL(%rip), %rcx
movl %ebx, (%rcx,%rax,4)
leal 1(%rax), %ecx
shlq $10, %rax
movb $0, 1023(%r14,%rax)
movl %ecx, _toc_cnt(%rip)
LBB2_2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read_md_fp ## -- Begin function read_md_fp
.p2align 4, 0x90
_read_md_fp: ## @read_md_fp
.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, -48(%rbp) ## 8-byte Spill
movq %rdi, %r13
leaq _read_md_fp.buf(%rip), %rdi
movl $1024, %esi ## imm = 0x400
movq %r13, %rdx
callq _fgets
testq %rax, %rax
je LBB3_21
## %bb.1:
movq %rax, %r12
xorl %r15d, %r15d
movl $1, %r14d
leaq _toc_end(%rip), %rbx
jmp LBB3_2
.p2align 4, 0x90
LBB3_3: ## in Loop: Header=BB3_2 Depth=1
movq %rbx, %rdi
callq _strlen
movq %r12, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq _strncmp
xorl %r15d, %r15d
testl %eax, %eax
setne %r15b
LBB3_20: ## in Loop: Header=BB3_2 Depth=1
leaq _read_md_fp.buf(%rip), %rdi
movl $1024, %esi ## imm = 0x400
movq %r13, %rdx
callq _fgets
movq %rax, %r12
testq %rax, %rax
je LBB3_21
LBB3_2: ## =>This Inner Loop Header: Depth=1
testl %r15d, %r15d
jne LBB3_3
## %bb.4: ## in Loop: Header=BB3_2 Depth=1
movzbl _read_md_fp.buf(%rip), %eax
cmpb $10, %al
je LBB3_6
## %bb.5: ## in Loop: Header=BB3_2 Depth=1
testb %al, %al
jne LBB3_9
LBB3_6: ## in Loop: Header=BB3_2 Depth=1
testl %r14d, %r14d
je LBB3_8
## %bb.7: ## in Loop: Header=BB3_2 Depth=1
movl $1, %r14d
xorl %r15d, %r15d
jmp LBB3_20
LBB3_9: ## in Loop: Header=BB3_2 Depth=1
leaq _toc_start(%rip), %rbx
movq %rbx, %rdi
callq _strlen
movq %r12, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq _strncmp
testl %eax, %eax
je LBB3_10
## %bb.11: ## in Loop: Header=BB3_2 Depth=1
movl $2, %edx
movq %r12, %rdi
leaq L_.str(%rip), %rsi
callq _strncmp
testl %eax, %eax
je LBB3_12
## %bb.14: ## in Loop: Header=BB3_2 Depth=1
movl $3, %edx
movq %r12, %rdi
leaq L_.str.1(%rip), %rsi
callq _strncmp
testl %eax, %eax
jne LBB3_18
## %bb.15: ## in Loop: Header=BB3_2 Depth=1
movslq _toc_cnt(%rip), %rdi
cmpq $511, %rdi ## imm = 0x1FF
jg LBB3_18
## %bb.16: ## in Loop: Header=BB3_2 Depth=1
addq $3, %r12
shlq $10, %rdi
movq _toc@GOTPCREL(%rip), %rbx
addq %rbx, %rdi
movl $1024, %edx ## imm = 0x400
movq %r12, %rsi
callq _strncpy
movslq _toc_cnt(%rip), %rax
movq _toc_level@GOTPCREL(%rip), %rcx
movl $2, (%rcx,%rax,4)
jmp LBB3_17
LBB3_8: ## in Loop: Header=BB3_2 Depth=1
leaq _read_md_fp.buf(%rip), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _fputs
xorl %r15d, %r15d
xorl %r14d, %r14d
jmp LBB3_20
LBB3_10: ## in Loop: Header=BB3_2 Depth=1
movl $1, _existing_toc_found(%rip)
movl $1, %r15d
jmp LBB3_19
LBB3_12: ## in Loop: Header=BB3_2 Depth=1
movslq _toc_cnt(%rip), %rdi
cmpq $511, %rdi ## imm = 0x1FF
jg LBB3_18
## %bb.13: ## in Loop: Header=BB3_2 Depth=1
addq $2, %r12
shlq $10, %rdi
movq _toc@GOTPCREL(%rip), %rbx
addq %rbx, %rdi
movl $1024, %edx ## imm = 0x400
movq %r12, %rsi
callq _strncpy
movslq _toc_cnt(%rip), %rax
movq _toc_level@GOTPCREL(%rip), %rcx
movl $1, (%rcx,%rax,4)
LBB3_17: ## in Loop: Header=BB3_2 Depth=1
leal 1(%rax), %ecx
shlq $10, %rax
movb $0, 1023(%rbx,%rax)
movl %ecx, _toc_cnt(%rip)
LBB3_18: ## in Loop: Header=BB3_2 Depth=1
leaq _read_md_fp.buf(%rip), %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
callq _fputs
xorl %r15d, %r15d
xorl %r14d, %r14d
LBB3_19: ## in Loop: Header=BB3_2 Depth=1
leaq _toc_end(%rip), %rbx
jmp LBB3_20
LBB3_21:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read_md ## -- Begin function read_md
.p2align 4, 0x90
_read_md: ## @read_md
.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
leaq L_.str.2(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB4_1
## %bb.3:
movq %rax, %r15
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _fopen
testq %rax, %rax
je LBB4_4
## %bb.5:
movq %rax, %rbx
movq %r15, %rdi
movq %rax, %rsi
callq _read_md_fp
movq %r15, %rdi
callq _fclose
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fclose ## TAILCALL
LBB4_1:
movq %rbx, %rdi
jmp LBB4_2
LBB4_4:
movq %r14, %rdi
LBB4_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _perror ## TAILCALL
.cfi_endproc
## -- End function
.globl _copy_to_md_fp ## -- Begin function copy_to_md_fp
.p2align 4, 0x90
_copy_to_md_fp: ## @copy_to_md_fp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, -56(%rbp) ## 8-byte Spill
movl $10, %edi
callq _fputc
leaq L_.str.5(%rip), %rsi
leaq _toc_start(%rip), %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _fprintf
movl $10, %edi
movq %r13, %rsi
callq _fputc
cmpl $0, _toc_cnt(%rip)
jle LBB5_20
## %bb.1:
movq _toc@GOTPCREL(%rip), %rbx
leaq 1(%rbx), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq _toc_level@GOTPCREL(%rip), %r12
xorl %r14d, %r14d
jmp LBB5_2
.p2align 4, 0x90
LBB5_19: ## in Loop: Header=BB5_2 Depth=1
movb $0, (%r15)
movq %r13, %rdi
leaq L_.str.7(%rip), %rsi
leaq _getentry.buf(%rip), %rdx
leaq _getref.buf(%rip), %rcx
xorl %eax, %eax
callq _fprintf
incq %r14
movslq _toc_cnt(%rip), %rax
addq $1024, -48(%rbp) ## 8-byte Folded Spill
## imm = 0x400
cmpq %rax, %r14
movq _toc_level@GOTPCREL(%rip), %r12
jge LBB5_20
LBB5_2: ## =>This Loop Header: Depth=1
## Child Loop BB5_4 Depth 2
## Child Loop BB5_7 Depth 2
## Child Loop BB5_11 Depth 2
movq %rbx, %r15
cmpl $0, (%r12,%r14,4)
jle LBB5_5
## %bb.3: ## in Loop: Header=BB5_2 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB5_4: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
movl $2, %esi
movl $1, %edx
leaq L_.str.6(%rip), %rdi
movq %r13, %rcx
callq _fwrite
incl %ebx
cmpl (%r12,%r14,4), %ebx
jl LBB5_4
LBB5_5: ## in Loop: Header=BB5_2 Depth=1
movq %r14, %r12
shlq $10, %r12
movq %r15, %rbx
movb (%r15,%r12), %dl
leaq _getentry.buf(%rip), %rax
testb %dl, %dl
je LBB5_10
## %bb.6: ## in Loop: Header=BB5_2 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
leaq _getentry.buf(%rip), %rax
jmp LBB5_7
.p2align 4, 0x90
LBB5_9: ## in Loop: Header=BB5_7 Depth=2
movzbl (%rcx), %edx
incq %rcx
testb %dl, %dl
je LBB5_10
LBB5_7: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $32, %dl
jl LBB5_9
## %bb.8: ## in Loop: Header=BB5_7 Depth=2
movb %dl, (%rax)
incq %rax
jmp LBB5_9
.p2align 4, 0x90
LBB5_10: ## in Loop: Header=BB5_2 Depth=1
addq %rbx, %r12
movb $0, (%rax)
leaq _getref.buf(%rip), %r15
jmp LBB5_11
.p2align 4, 0x90
LBB5_24: ## in Loop: Header=BB5_11 Depth=2
movb $45, (%r15)
LBB5_17: ## in Loop: Header=BB5_11 Depth=2
incq %r15
LBB5_18: ## in Loop: Header=BB5_11 Depth=2
incq %r12
LBB5_11: ## Parent Loop BB5_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12), %edi
cmpl $32, %edi
je LBB5_24
## %bb.12: ## in Loop: Header=BB5_11 Depth=2
testb %dil, %dil
je LBB5_19
## %bb.13: ## in Loop: Header=BB5_11 Depth=2
leal -48(%rdi), %eax
cmpb $9, %al
ja LBB5_15
## %bb.14: ## in Loop: Header=BB5_11 Depth=2
movb %dil, (%r15)
jmp LBB5_17
.p2align 4, 0x90
LBB5_15: ## in Loop: Header=BB5_11 Depth=2
cmpb $65, %dil
jl LBB5_18
## %bb.16: ## in Loop: Header=BB5_11 Depth=2
## kill: def $edi killed $edi killed $rdi
callq ___tolower
movb %al, (%r15)
jmp LBB5_17
LBB5_20:
movl $10, %edi
movq %r13, %rsi
callq _fputc
leaq L_.str.5(%rip), %rsi
leaq _toc_end(%rip), %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _fprintf
movl $10, %edi
movq %r13, %rsi
callq _fputc
leaq _copy_to_md_fp.buf(%rip), %rdi
movl $1024, %esi ## imm = 0x400
movq -56(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
je LBB5_23
## %bb.21:
leaq _copy_to_md_fp.buf(%rip), %r15
.p2align 4, 0x90
LBB5_22: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r13, %rsi
callq _fputs
movq %r15, %rdi
movl $1024, %esi ## imm = 0x400
movq %rbx, %rdx
callq _fgets
testq %rax, %rax
jne LBB5_22
LBB5_23:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _copy_to_md ## -- Begin function copy_to_md
.p2align 4, 0x90
_copy_to_md: ## @copy_to_md
.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
leaq L_.str.2(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB6_1
## %bb.3:
movq %rax, %r15
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _fopen
testq %rax, %rax
je LBB6_4
## %bb.5:
movq %rax, %rbx
movq %r15, %rdi
movq %rax, %rsi
callq _copy_to_md_fp
movq %r15, %rdi
callq _fclose
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _fclose ## TAILCALL
LBB6_1:
movq %rbx, %rdi
jmp LBB6_2
LBB6_4:
movq %r14, %rdi
LBB6_2:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _perror ## TAILCALL
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
cmpl $2, %edi
jge LBB7_1
## %bb.20:
movq (%rbx), %rsi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movl $1, %eax
jmp LBB7_19
LBB7_1:
movq 8(%rbx), %r13
testq %r13, %r13
je LBB7_18
## %bb.2:
addq $8, %rbx
leaq L_.str.9(%rip), %r14
leaq L_.str.10(%rip), %r15
leaq L_.str.11(%rip), %r12
jmp LBB7_3
LBB7_7: ## in Loop: Header=BB7_3 Depth=1
movq (%rbx), %rsi
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _printf
.p2align 4, 0x90
LBB7_17: ## in Loop: Header=BB7_3 Depth=1
movq 8(%rbx), %r13
addq $8, %rbx
testq %r13, %r13
je LBB7_18
LBB7_3: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movq %r14, %rsi
callq _strstr
testq %rax, %rax
jne LBB7_17
## %bb.4: ## in Loop: Header=BB7_3 Depth=1
movq %r13, %rdi
movq %r15, %rsi
callq _strstr
testq %rax, %rax
jne LBB7_17
## %bb.5: ## in Loop: Header=BB7_3 Depth=1
movl $0, _toc_cnt(%rip)
movl $0, _existing_toc_found(%rip)
movq %r13, %rdi
movq %r12, %rsi
callq _read_md
cmpl $0, _toc_cnt(%rip)
je LBB7_7
## %bb.6: ## in Loop: Header=BB7_3 Depth=1
movq (%rbx), %rsi
movq %r12, %rdi
callq _copy_to_md
movl _toc_cnt(%rip), %edx
testl %edx, %edx
je LBB7_7
## %bb.8: ## in Loop: Header=BB7_3 Depth=1
cmpl $0, _existing_toc_found(%rip)
movq (%rbx), %rsi
je LBB7_9
## %bb.13: ## in Loop: Header=BB7_3 Depth=1
cmpl $1, %edx
jne LBB7_15
## %bb.14: ## in Loop: Header=BB7_3 Depth=1
leaq L_.str.15(%rip), %rdi
movl $1, %edx
jmp LBB7_16
LBB7_9: ## in Loop: Header=BB7_3 Depth=1
cmpl $1, %edx
jne LBB7_12
## %bb.10: ## in Loop: Header=BB7_3 Depth=1
leaq L_.str.13(%rip), %rdi
movl $1, %edx
jmp LBB7_16
LBB7_15: ## in Loop: Header=BB7_3 Depth=1
leaq L_.str.16(%rip), %rdi
jmp LBB7_16
LBB7_12: ## in Loop: Header=BB7_3 Depth=1
leaq L_.str.14(%rip), %rdi
LBB7_16: ## in Loop: Header=BB7_3 Depth=1
xorl %eax, %eax
callq _printf
jmp LBB7_17
LBB7_18:
xorl %eax, %eax
LBB7_19:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _toc_start ## @toc_start
.p2align 4
_toc_start:
.asciz "[tocstart]: # (toc start)"
.globl _toc_end ## @toc_end
.p2align 4
_toc_end:
.asciz "[tocend]: # (toc end)"
.globl _toc_cnt ## @toc_cnt
.zerofill __DATA,__common,_toc_cnt,4,2
.globl _existing_toc_found ## @existing_toc_found
.zerofill __DATA,__common,_existing_toc_found,4,2
.zerofill __DATA,__bss,_getentry.buf,1024,4 ## @getentry.buf
.zerofill __DATA,__bss,_getref.buf,1024,4 ## @getref.buf
.comm _toc,524288,4 ## @toc
.comm _toc_level,2048,4 ## @toc_level
.zerofill __DATA,__bss,_read_md_fp.buf,1024,4 ## @read_md_fp.buf
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "# "
L_.str.1: ## @.str.1
.asciz "## "
L_.str.2: ## @.str.2
.asciz "r"
L_.str.3: ## @.str.3
.asciz "w"
.zerofill __DATA,__bss,_copy_to_md_fp.buf,1024,4 ## @copy_to_md_fp.buf
L_.str.5: ## @.str.5
.asciz "%s\n"
L_.str.6: ## @.str.6
.asciz " "
L_.str.7: ## @.str.7
.asciz "* [%s](#%s)\n"
L_.str.8: ## @.str.8
.asciz "%s [markdown files]\n"
L_.str.9: ## @.str.9
.asciz "_Footer.md"
L_.str.10: ## @.str.10
.asciz "_Sidebar.md"
L_.str.11: ## @.str.11
.asciz "tmp.md"
L_.str.12: ## @.str.12
.asciz "%s: nothing changed (no headings found)\n"
L_.str.13: ## @.str.13
.asciz "%s: added %d toc entry\n"
L_.str.14: ## @.str.14
.asciz "%s: added %d toc entries\n"
L_.str.15: ## @.str.15
.asciz "%s: replaced %d toc entry\n"
L_.str.16: ## @.str.16
.asciz "%s: replaced %d toc entries\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _getentry ; -- Begin function getentry
.p2align 2
_getentry: ; @getentry
.cfi_startproc
; %bb.0:
ldrb w10, [x0]
cbz w10, LBB0_5
; %bb.1:
add x9, x0, #1
Lloh0:
adrp x8, _getentry.buf@PAGE
Lloh1:
add x8, x8, _getentry.buf@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldrb w10, [x9], #1
cbz w10, LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
sxtb w11, w10
cmp w11, #32
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
strb w10, [x8], #1
b LBB0_2
LBB0_5:
Lloh2:
adrp x8, _getentry.buf@PAGE
Lloh3:
add x8, x8, _getentry.buf@PAGEOFF
LBB0_6:
strb wzr, [x8]
Lloh4:
adrp x0, _getentry.buf@PAGE
Lloh5:
add x0, x0, _getentry.buf@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.globl _getref ; -- Begin function getref
.p2align 2
_getref: ; @getref
.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
Lloh6:
adrp x20, _getref.buf@PAGE
Lloh7:
add x20, x20, _getref.buf@PAGEOFF
mov w21, #45
b LBB1_2
LBB1_1: ; in Loop: Header=BB1_2 Depth=1
strb w21, [x20], #1
add x19, x19, #1
LBB1_2: ; =>This Inner Loop Header: Depth=1
ldrb w0, [x19]
cmp w0, #32
b.eq LBB1_1
; %bb.3: ; in Loop: Header=BB1_2 Depth=1
cbz w0, LBB1_9
; %bb.4: ; in Loop: Header=BB1_2 Depth=1
sub w8, w0, #48
cmp w8, #9
b.ls LBB1_7
; %bb.5: ; in Loop: Header=BB1_2 Depth=1
sxtb w8, w0
cmp w8, #65
b.lt LBB1_8
; %bb.6: ; in Loop: Header=BB1_2 Depth=1
bl ___tolower
LBB1_7: ; in Loop: Header=BB1_2 Depth=1
strb w0, [x20], #1
LBB1_8: ; in Loop: Header=BB1_2 Depth=1
add x19, x19, #1
b LBB1_2
LBB1_9:
strb wzr, [x20]
Lloh8:
adrp x0, _getref.buf@PAGE
Lloh9:
add x0, x0, _getref.buf@PAGEOFF
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _add_toc ; -- Begin function add_toc
.p2align 2
_add_toc: ; @add_toc
.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
adrp x20, _toc_cnt@PAGE
ldrsw x8, [x20, _toc_cnt@PAGEOFF]
cmp w8, #511
b.gt LBB2_2
; %bb.1:
mov x19, x0
Lloh10:
adrp x21, _toc@GOTPAGE
Lloh11:
ldr x21, [x21, _toc@GOTPAGEOFF]
add x0, x21, x8, lsl #10
mov w2, #1024
bl _strncpy
ldrsw x8, [x20, _toc_cnt@PAGEOFF]
add x9, x21, x8, lsl #10
strb wzr, [x9, #1023]
Lloh12:
adrp x9, _toc_level@GOTPAGE
Lloh13:
ldr x9, [x9, _toc_level@GOTPAGEOFF]
str w19, [x9, x8, lsl #2]
add w8, w8, #1
str w8, [x20, _toc_cnt@PAGEOFF]
LBB2_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 AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _read_md_fp ; -- Begin function read_md_fp
.p2align 2
_read_md_fp: ; @read_md_fp
.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
Lloh14:
adrp x0, _read_md_fp.buf@PAGE
Lloh15:
add x0, x0, _read_md_fp.buf@PAGEOFF
mov w1, #1024
mov x2, x20
bl _fgets
cbz x0, LBB3_19
; %bb.1:
mov x26, x0
mov w23, #0
adrp x28, _read_md_fp.buf@PAGE
Lloh16:
adrp x21, _read_md_fp.buf@PAGE
Lloh17:
add x21, x21, _read_md_fp.buf@PAGEOFF
Lloh18:
adrp x22, _toc_start@PAGE
Lloh19:
add x22, x22, _toc_start@PAGEOFF
adrp x27, _toc_cnt@PAGE
mov w24, #1
Lloh20:
adrp x25, _toc_end@PAGE
Lloh21:
add x25, x25, _toc_end@PAGEOFF
b LBB3_4
LBB3_2: ; in Loop: Header=BB3_4 Depth=1
mov x0, x25
bl _strlen
mov x2, x0
mov x0, x26
mov x1, x25
bl _strncmp
cmp w0, #0
cset w23, ne
LBB3_3: ; in Loop: Header=BB3_4 Depth=1
mov x0, x21
mov w1, #1024
mov x2, x20
bl _fgets
mov x26, x0
cbz x0, LBB3_19
LBB3_4: ; =>This Inner Loop Header: Depth=1
cbnz w23, LBB3_2
; %bb.5: ; in Loop: Header=BB3_4 Depth=1
ldrb w8, [x28, _read_md_fp.buf@PAGEOFF]
cmp w8, #10
ccmp w8, #0, #4, ne
b.ne LBB3_8
; %bb.6: ; in Loop: Header=BB3_4 Depth=1
cbz w24, LBB3_13
; %bb.7: ; in Loop: Header=BB3_4 Depth=1
mov w23, #0
mov w24, #1
b LBB3_3
LBB3_8: ; in Loop: Header=BB3_4 Depth=1
mov x0, x22
bl _strlen
mov x2, x0
mov x0, x26
mov x1, x22
bl _strncmp
cbz w0, LBB3_14
; %bb.9: ; in Loop: Header=BB3_4 Depth=1
mov x0, x26
Lloh22:
adrp x1, l_.str@PAGE
Lloh23:
add x1, x1, l_.str@PAGEOFF
mov w2, #2
bl _strncmp
cbz w0, LBB3_15
; %bb.10: ; in Loop: Header=BB3_4 Depth=1
mov x0, x26
Lloh24:
adrp x1, l_.str.1@PAGE
Lloh25:
add x1, x1, l_.str.1@PAGEOFF
mov w2, #3
bl _strncmp
cbnz w0, LBB3_18
; %bb.11: ; in Loop: Header=BB3_4 Depth=1
ldrsw x8, [x27, _toc_cnt@PAGEOFF]
cmp w8, #511
b.gt LBB3_18
; %bb.12: ; in Loop: Header=BB3_4 Depth=1
add x1, x26, #3
Lloh26:
adrp x23, _toc@GOTPAGE
Lloh27:
ldr x23, [x23, _toc@GOTPAGEOFF]
add x0, x23, x8, lsl #10
mov w2, #1024
bl _strncpy
ldrsw x8, [x27, _toc_cnt@PAGEOFF]
add x9, x23, x8, lsl #10
strb wzr, [x9, #1023]
mov w9, #2
Lloh28:
adrp x10, _toc_level@GOTPAGE
Lloh29:
ldr x10, [x10, _toc_level@GOTPAGEOFF]
str w9, [x10, x8, lsl #2]
b LBB3_17
LBB3_13: ; in Loop: Header=BB3_4 Depth=1
mov x0, x21
mov x1, x19
bl _fputs
mov w23, #0
b LBB3_3
LBB3_14: ; in Loop: Header=BB3_4 Depth=1
mov w23, #1
adrp x8, _existing_toc_found@PAGE
str w23, [x8, _existing_toc_found@PAGEOFF]
b LBB3_3
LBB3_15: ; in Loop: Header=BB3_4 Depth=1
ldrsw x8, [x27, _toc_cnt@PAGEOFF]
cmp w8, #511
b.gt LBB3_18
; %bb.16: ; in Loop: Header=BB3_4 Depth=1
add x1, x26, #2
Lloh30:
adrp x23, _toc@GOTPAGE
Lloh31:
ldr x23, [x23, _toc@GOTPAGEOFF]
add x0, x23, x8, lsl #10
mov w2, #1024
bl _strncpy
ldrsw x8, [x27, _toc_cnt@PAGEOFF]
add x9, x23, x8, lsl #10
strb wzr, [x9, #1023]
mov w9, #1
Lloh32:
adrp x10, _toc_level@GOTPAGE
Lloh33:
ldr x10, [x10, _toc_level@GOTPAGEOFF]
str w9, [x10, x8, lsl #2]
LBB3_17: ; in Loop: Header=BB3_4 Depth=1
add w8, w8, #1
str w8, [x27, _toc_cnt@PAGEOFF]
LBB3_18: ; in Loop: Header=BB3_4 Depth=1
mov x0, x21
mov x1, x19
bl _fputs
mov w23, #0
mov w24, #0
b LBB3_3
LBB3_19:
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 AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh32, Lloh33
.loh AdrpLdrGot Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _read_md ; -- Begin function read_md
.p2align 2
_read_md: ; @read_md
.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 x21, x0
Lloh34:
adrp x1, l_.str.2@PAGE
Lloh35:
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
cbz x0, LBB4_3
; %bb.1:
mov x20, x0
Lloh36:
adrp x1, l_.str.3@PAGE
Lloh37:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _fopen
cbz x0, LBB4_4
; %bb.2:
mov x21, x0
mov x0, x20
mov x1, x21
bl _read_md_fp
mov x0, x20
bl _fclose
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _fclose
LBB4_3:
mov x0, x21
b LBB4_5
LBB4_4:
mov x0, x19
LBB4_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
b _perror
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.globl _copy_to_md_fp ; -- Begin function copy_to_md_fp
.p2align 2
_copy_to_md_fp: ; @copy_to_md_fp
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
str x0, [sp, #24] ; 8-byte Folded Spill
mov w0, #10
bl _fputc
Lloh38:
adrp x8, _toc_start@PAGE
Lloh39:
add x8, x8, _toc_start@PAGEOFF
str x8, [sp]
Lloh40:
adrp x1, l_.str.5@PAGE
Lloh41:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _fprintf
mov w0, #10
mov x1, x19
bl _fputc
Lloh42:
adrp x8, _toc_cnt@PAGE
Lloh43:
ldr w8, [x8, _toc_cnt@PAGEOFF]
cmp w8, #1
b.lt LBB5_21
; %bb.1:
mov x24, #0
Lloh44:
adrp x8, _toc@GOTPAGE
Lloh45:
ldr x8, [x8, _toc@GOTPAGEOFF]
Lloh46:
adrp x26, _toc_level@GOTPAGE
Lloh47:
ldr x26, [x26, _toc_level@GOTPAGEOFF]
Lloh48:
adrp x21, l_.str.6@PAGE
Lloh49:
add x21, x21, l_.str.6@PAGEOFF
Lloh50:
adrp x27, _getentry.buf@PAGE
Lloh51:
add x27, x27, _getentry.buf@PAGEOFF
add x28, x8, #1
Lloh52:
adrp x20, _getref.buf@PAGE
Lloh53:
add x20, x20, _getref.buf@PAGEOFF
mov w25, #45
b LBB5_3
LBB5_2: ; in Loop: Header=BB5_3 Depth=1
strb wzr, [x23]
stp x27, x20, [sp]
mov x0, x19
Lloh54:
adrp x1, l_.str.7@PAGE
Lloh55:
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
add x24, x24, #1
Lloh56:
adrp x8, _toc_cnt@PAGE
Lloh57:
ldrsw x8, [x8, _toc_cnt@PAGEOFF]
add x28, x28, #1024
cmp x24, x8
b.ge LBB5_21
LBB5_3: ; =>This Loop Header: Depth=1
; Child Loop BB5_5 Depth 2
; Child Loop BB5_9 Depth 2
; Child Loop BB5_14 Depth 2
ldr w8, [x26, x24, lsl #2]
cmp w8, #1
b.lt LBB5_6
; %bb.4: ; in Loop: Header=BB5_3 Depth=1
mov w22, #0
LBB5_5: ; Parent Loop BB5_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x21
mov w1, #2
mov w2, #1
mov x3, x19
bl _fwrite
add w22, w22, #1
ldr w8, [x26, x24, lsl #2]
cmp w22, w8
b.lt LBB5_5
LBB5_6: ; in Loop: Header=BB5_3 Depth=1
Lloh58:
adrp x8, _toc@GOTPAGE
Lloh59:
ldr x8, [x8, _toc@GOTPAGEOFF]
add x22, x8, x24, lsl #10
ldrb w10, [x22]
cbz w10, LBB5_11
; %bb.7: ; in Loop: Header=BB5_3 Depth=1
mov x9, x28
mov x8, x27
b LBB5_9
LBB5_8: ; in Loop: Header=BB5_9 Depth=2
ldrb w10, [x9], #1
cbz w10, LBB5_12
LBB5_9: ; Parent Loop BB5_3 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w11, w10
cmp w11, #32
b.lt LBB5_8
; %bb.10: ; in Loop: Header=BB5_9 Depth=2
strb w10, [x8], #1
b LBB5_8
LBB5_11: ; in Loop: Header=BB5_3 Depth=1
mov x8, x27
LBB5_12: ; in Loop: Header=BB5_3 Depth=1
strb wzr, [x8]
mov x23, x20
b LBB5_14
LBB5_13: ; in Loop: Header=BB5_14 Depth=2
strb w25, [x23], #1
add x22, x22, #1
LBB5_14: ; Parent Loop BB5_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w0, [x22]
cmp w0, #32
b.eq LBB5_13
; %bb.15: ; in Loop: Header=BB5_14 Depth=2
cbz w0, LBB5_2
; %bb.16: ; in Loop: Header=BB5_14 Depth=2
sub w8, w0, #48
cmp w8, #9
b.ls LBB5_19
; %bb.17: ; in Loop: Header=BB5_14 Depth=2
sxtb w8, w0
cmp w8, #65
b.lt LBB5_20
; %bb.18: ; in Loop: Header=BB5_14 Depth=2
bl ___tolower
LBB5_19: ; in Loop: Header=BB5_14 Depth=2
strb w0, [x23], #1
LBB5_20: ; in Loop: Header=BB5_14 Depth=2
add x22, x22, #1
b LBB5_14
LBB5_21:
mov w0, #10
mov x1, x19
bl _fputc
Lloh60:
adrp x8, _toc_end@PAGE
Lloh61:
add x8, x8, _toc_end@PAGEOFF
str x8, [sp]
Lloh62:
adrp x1, l_.str.5@PAGE
Lloh63:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _fprintf
mov w0, #10
mov x1, x19
bl _fputc
Lloh64:
adrp x0, _copy_to_md_fp.buf@PAGE
Lloh65:
add x0, x0, _copy_to_md_fp.buf@PAGEOFF
mov w1, #1024
ldr x20, [sp, #24] ; 8-byte Folded Reload
mov x2, x20
bl _fgets
cbz x0, LBB5_24
; %bb.22:
Lloh66:
adrp x21, _copy_to_md_fp.buf@PAGE
Lloh67:
add x21, x21, _copy_to_md_fp.buf@PAGEOFF
LBB5_23: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x19
bl _fputs
mov x0, x21
mov w1, #1024
mov x2, x20
bl _fgets
cbnz x0, LBB5_23
LBB5_24:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdr Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGot Lloh46, Lloh47
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpLdr Lloh56, Lloh57
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpLdrGot Lloh58, Lloh59
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh62, Lloh63
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpAdd Lloh66, Lloh67
.cfi_endproc
; -- End function
.globl _copy_to_md ; -- Begin function copy_to_md
.p2align 2
_copy_to_md: ; @copy_to_md
.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 x21, x0
Lloh68:
adrp x1, l_.str.2@PAGE
Lloh69:
add x1, x1, l_.str.2@PAGEOFF
bl _fopen
cbz x0, LBB6_3
; %bb.1:
mov x20, x0
Lloh70:
adrp x1, l_.str.3@PAGE
Lloh71:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _fopen
cbz x0, LBB6_4
; %bb.2:
mov x21, x0
mov x0, x20
mov x1, x21
bl _copy_to_md_fp
mov x0, x20
bl _fclose
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _fclose
LBB6_3:
mov x0, x21
b LBB6_5
LBB6_4:
mov x0, x19
LBB6_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
b _perror
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh70, Lloh71
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x1
cmp w0, #2
b.ge LBB7_2
; %bb.1:
ldr x8, [x19]
str x8, [sp]
Lloh72:
adrp x0, l_.str.8@PAGE
Lloh73:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w0, #1
b LBB7_19
LBB7_2:
ldr x28, [x19, #8]!
cbz x28, LBB7_18
; %bb.3:
Lloh74:
adrp x20, l_.str.9@PAGE
Lloh75:
add x20, x20, l_.str.9@PAGEOFF
Lloh76:
adrp x21, l_.str.10@PAGE
Lloh77:
add x21, x21, l_.str.10@PAGEOFF
adrp x24, _toc_cnt@PAGE
Lloh78:
adrp x22, l_.str.11@PAGE
Lloh79:
add x22, x22, l_.str.11@PAGEOFF
adrp x25, _existing_toc_found@PAGE
Lloh80:
adrp x23, l_.str.12@PAGE
Lloh81:
add x23, x23, l_.str.12@PAGEOFF
mov w26, #1
Lloh82:
adrp x27, l_.str.16@PAGE
Lloh83:
add x27, x27, l_.str.16@PAGEOFF
b LBB7_7
LBB7_4: ; in Loop: Header=BB7_7 Depth=1
ldr x8, [x19]
str x8, [sp]
mov x0, x23
LBB7_5: ; in Loop: Header=BB7_7 Depth=1
bl _printf
LBB7_6: ; in Loop: Header=BB7_7 Depth=1
ldr x28, [x19, #8]!
cbz x28, LBB7_18
LBB7_7: ; =>This Inner Loop Header: Depth=1
mov x0, x28
mov x1, x20
bl _strstr
cbnz x0, LBB7_6
; %bb.8: ; in Loop: Header=BB7_7 Depth=1
mov x0, x28
mov x1, x21
bl _strstr
cbnz x0, LBB7_6
; %bb.9: ; in Loop: Header=BB7_7 Depth=1
str wzr, [x24, _toc_cnt@PAGEOFF]
str wzr, [x25, _existing_toc_found@PAGEOFF]
mov x0, x28
mov x1, x22
bl _read_md
ldr w8, [x24, _toc_cnt@PAGEOFF]
cbz w8, LBB7_4
; %bb.10: ; in Loop: Header=BB7_7 Depth=1
ldr x1, [x19]
mov x0, x22
bl _copy_to_md
ldr w9, [x24, _toc_cnt@PAGEOFF]
cbz w9, LBB7_4
; %bb.11: ; in Loop: Header=BB7_7 Depth=1
ldr w10, [x25, _existing_toc_found@PAGEOFF]
ldr x8, [x19]
cmp w9, #1
cbz w10, LBB7_14
; %bb.12: ; in Loop: Header=BB7_7 Depth=1
b.ne LBB7_16
; %bb.13: ; in Loop: Header=BB7_7 Depth=1
stp x8, x26, [sp]
Lloh84:
adrp x0, l_.str.15@PAGE
Lloh85:
add x0, x0, l_.str.15@PAGEOFF
b LBB7_5
LBB7_14: ; in Loop: Header=BB7_7 Depth=1
b.ne LBB7_17
; %bb.15: ; in Loop: Header=BB7_7 Depth=1
stp x8, x26, [sp]
Lloh86:
adrp x0, l_.str.13@PAGE
Lloh87:
add x0, x0, l_.str.13@PAGEOFF
b LBB7_5
LBB7_16: ; in Loop: Header=BB7_7 Depth=1
; kill: def $w9 killed $w9 killed $x9 def $x9
stp x8, x9, [sp]
mov x0, x27
b LBB7_5
LBB7_17: ; in Loop: Header=BB7_7 Depth=1
stp x8, x9, [sp]
Lloh88:
adrp x0, l_.str.14@PAGE
Lloh89:
add x0, x0, l_.str.14@PAGEOFF
b LBB7_5
LBB7_18:
mov w0, #0
LBB7_19:
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 AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh88, Lloh89
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _toc_start ; @toc_start
_toc_start:
.asciz "[tocstart]: # (toc start)"
.globl _toc_end ; @toc_end
_toc_end:
.asciz "[tocend]: # (toc end)"
.globl _toc_cnt ; @toc_cnt
.zerofill __DATA,__common,_toc_cnt,4,2
.globl _existing_toc_found ; @existing_toc_found
.zerofill __DATA,__common,_existing_toc_found,4,2
.zerofill __DATA,__bss,_getentry.buf,1024,0 ; @getentry.buf
.zerofill __DATA,__bss,_getref.buf,1024,0 ; @getref.buf
.comm _toc,524288,0 ; @toc
.comm _toc_level,2048,2 ; @toc_level
.zerofill __DATA,__bss,_read_md_fp.buf,1024,0 ; @read_md_fp.buf
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "# "
l_.str.1: ; @.str.1
.asciz "## "
l_.str.2: ; @.str.2
.asciz "r"
l_.str.3: ; @.str.3
.asciz "w"
.zerofill __DATA,__bss,_copy_to_md_fp.buf,1024,0 ; @copy_to_md_fp.buf
l_.str.5: ; @.str.5
.asciz "%s\n"
l_.str.6: ; @.str.6
.asciz " "
l_.str.7: ; @.str.7
.asciz "* [%s](#%s)\n"
l_.str.8: ; @.str.8
.asciz "%s [markdown files]\n"
l_.str.9: ; @.str.9
.asciz "_Footer.md"
l_.str.10: ; @.str.10
.asciz "_Sidebar.md"
l_.str.11: ; @.str.11
.asciz "tmp.md"
l_.str.12: ; @.str.12
.asciz "%s: nothing changed (no headings found)\n"
l_.str.13: ; @.str.13
.asciz "%s: added %d toc entry\n"
l_.str.14: ; @.str.14
.asciz "%s: added %d toc entries\n"
l_.str.15: ; @.str.15
.asciz "%s: replaced %d toc entry\n"
l_.str.16: ; @.str.16
.asciz "%s: replaced %d toc entries\n"
.subsections_via_symbols
| the_stack_data/79011.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function diff_opt_find_renames
_diff_opt_find_renames: ## @diff_opt_find_renames
.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, %r14
movq %rsi, -32(%rbp)
movq 8(%rdi), %r15
movl %edx, %edi
callq _BUG_ON_OPT_NEG
testq %rbx, %rbx
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rax
movq %rax, -32(%rbp)
LBB0_2:
leaq -32(%rbp), %rdi
callq _parse_rename_score
movl %eax, 4(%r15)
movq -32(%rbp), %rax
cmpb $0, (%rax)
je LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq __
movl (%r14), %esi
movl %eax, %edi
callq _error
jmp LBB0_5
LBB0_4:
movq _DIFF_DETECT_RENAME@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r15)
xorl %eax, %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "invalid argument to %s"
.comm _DIFF_DETECT_RENAME,4,2 ## @DIFF_DETECT_RENAME
.no_dead_strip _diff_opt_find_renames
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function diff_opt_find_renames
_diff_opt_find_renames: ; @diff_opt_find_renames
.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 x20, x1
mov x19, x0
str x1, [sp, #8]
ldr x21, [x0, #8]
mov x0, x2
bl _BUG_ON_OPT_NEG
cbnz x20, LBB0_2
; %bb.1:
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
str x8, [sp, #8]
LBB0_2:
add x0, sp, #8
bl _parse_rename_score
str w0, [x21, #4]
ldr x8, [sp, #8]
ldrb w8, [x8]
cbz w8, LBB0_4
; %bb.3:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl __
ldr w1, [x19]
bl _error
b LBB0_5
LBB0_4:
mov w0, #0
Lloh4:
adrp x8, _DIFF_DETECT_RENAME@GOTPAGE
Lloh5:
ldr x8, [x8, _DIFF_DETECT_RENAME@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
str w8, [x21]
LBB0_5:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "invalid argument to %s"
.comm _DIFF_DETECT_RENAME,4,2 ; @DIFF_DETECT_RENAME
.no_dead_strip _diff_opt_find_renames
.subsections_via_symbols
| AnghaBench/git/extr_diff.c_diff_opt_find_renames.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function Opcode_xsr_cpenable_Slot_inst_encode
_Opcode_xsr_cpenable_Slot_inst_encode: ## @Opcode_xsr_cpenable_Slot_inst_encode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $6414336, (%rdi) ## imm = 0x61E000
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _Opcode_xsr_cpenable_Slot_inst_encode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function Opcode_xsr_cpenable_Slot_inst_encode
_Opcode_xsr_cpenable_Slot_inst_encode: ; @Opcode_xsr_cpenable_Slot_inst_encode
.cfi_startproc
; %bb.0:
mov w8, #57344
movk w8, #97, lsl #16
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _Opcode_xsr_cpenable_Slot_inst_encode
.subsections_via_symbols
| AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_xsr_cpenable_Slot_inst_encode.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cms_sd_set_version
_cms_sd_set_version: ## @cms_sd_set_version
.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
movl 20(%rdi), %edi
callq _sk_CMS_CertificateChoices_num
testl %eax, %eax
jle LBB0_4
## %bb.1:
xorl %ebx, %ebx
movq _CMS_CERTCHOICE_OTHER@GOTPCREL(%rip), %r15
movq _CMS_CERTCHOICE_V2ACERT@GOTPCREL(%rip), %r12
movq _CMS_CERTCHOICE_V1ACERT@GOTPCREL(%rip), %r13
jmp LBB0_2
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
movl %eax, (%r14)
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
incl %ebx
movl 20(%r14), %edi
callq _sk_CMS_CertificateChoices_num
cmpl %eax, %ebx
jge LBB0_4
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 20(%r14), %edi
movl %ebx, %esi
callq _sk_CMS_CertificateChoices_value
movq (%rax), %rax
cmpq (%r15), %rax
jne LBB0_20
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl $5, %eax
cmpl $5, (%r14)
jl LBB0_24
jmp LBB0_25
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
cmpq (%r12), %rax
jne LBB0_22
## %bb.21: ## in Loop: Header=BB0_2 Depth=1
movl $4, %eax
cmpl $4, (%r14)
jl LBB0_24
jmp LBB0_25
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
cmpq (%r13), %rax
jne LBB0_25
## %bb.23: ## in Loop: Header=BB0_2 Depth=1
movl $3, %eax
cmpl $2, (%r14)
jle LBB0_24
jmp LBB0_25
LBB0_4:
movl 16(%r14), %edi
callq _sk_CMS_RevocationInfoChoice_num
testl %eax, %eax
jle LBB0_10
## %bb.5:
xorl %ebx, %ebx
movq _CMS_REVCHOICE_OTHER@GOTPCREL(%rip), %r15
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
incl %ebx
movl 16(%r14), %edi
callq _sk_CMS_RevocationInfoChoice_num
cmpl %eax, %ebx
jge LBB0_10
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl 16(%r14), %edi
movl %ebx, %esi
callq _sk_CMS_RevocationInfoChoice_value
movq (%rax), %rax
cmpq (%r15), %rax
jne LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
cmpl $4, (%r14)
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movl $5, (%r14)
jmp LBB0_9
LBB0_10:
movq 8(%r14), %rax
movl (%rax), %edi
callq _OBJ_obj2nid
movq _NID_pkcs7_data@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_13
## %bb.11:
cmpl $2, (%r14)
jg LBB0_13
## %bb.12:
movl $3, (%r14)
LBB0_13:
movl 4(%r14), %edi
callq _sk_CMS_SignerInfo_num
testl %eax, %eax
jle LBB0_29
## %bb.14:
xorl %ebx, %ebx
movq _CMS_SIGNERINFO_KEYIDENTIFIER@GOTPCREL(%rip), %r15
jmp LBB0_15
.p2align 4, 0x90
LBB0_26: ## in Loop: Header=BB0_15 Depth=1
testl %ecx, %ecx
jle LBB0_27
LBB0_28: ## in Loop: Header=BB0_15 Depth=1
incl %ebx
movl 4(%r14), %edi
callq _sk_CMS_SignerInfo_num
cmpl %eax, %ebx
jge LBB0_29
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl 4(%r14), %edi
movl %ebx, %esi
callq _sk_CMS_SignerInfo_value
movq 8(%rax), %rcx
movq (%rcx), %rdx
movl (%rax), %ecx
cmpq (%r15), %rdx
jne LBB0_26
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
cmpl $2, %ecx
jg LBB0_18
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movl $3, (%rax)
LBB0_18: ## in Loop: Header=BB0_15 Depth=1
cmpl $2, (%r14)
jg LBB0_28
## %bb.19: ## in Loop: Header=BB0_15 Depth=1
movl $3, (%r14)
jmp LBB0_28
LBB0_27: ## in Loop: Header=BB0_15 Depth=1
movl $1, (%rax)
jmp LBB0_28
LBB0_29:
cmpl $0, (%r14)
jg LBB0_31
## %bb.30:
movl $1, (%r14)
LBB0_31:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CMS_CERTCHOICE_OTHER,8,3 ## @CMS_CERTCHOICE_OTHER
.comm _CMS_CERTCHOICE_V2ACERT,8,3 ## @CMS_CERTCHOICE_V2ACERT
.comm _CMS_CERTCHOICE_V1ACERT,8,3 ## @CMS_CERTCHOICE_V1ACERT
.comm _CMS_REVCHOICE_OTHER,8,3 ## @CMS_REVCHOICE_OTHER
.comm _NID_pkcs7_data,8,3 ## @NID_pkcs7_data
.comm _CMS_SIGNERINFO_KEYIDENTIFIER,8,3 ## @CMS_SIGNERINFO_KEYIDENTIFIER
.no_dead_strip _cms_sd_set_version
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cms_sd_set_version
_cms_sd_set_version: ; @cms_sd_set_version
.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
ldr w0, [x0, #20]
bl _sk_CMS_CertificateChoices_num
cmp w0, #1
b.lt LBB0_13
; %bb.1:
mov w20, #0
Lloh0:
adrp x21, _CMS_CERTCHOICE_OTHER@GOTPAGE
Lloh1:
ldr x21, [x21, _CMS_CERTCHOICE_OTHER@GOTPAGEOFF]
Lloh2:
adrp x22, _CMS_CERTCHOICE_V2ACERT@GOTPAGE
Lloh3:
ldr x22, [x22, _CMS_CERTCHOICE_V2ACERT@GOTPAGEOFF]
Lloh4:
adrp x23, _CMS_CERTCHOICE_V1ACERT@GOTPAGE
Lloh5:
ldr x23, [x23, _CMS_CERTCHOICE_V1ACERT@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
str w8, [x19]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w20, w20, #1
ldr w0, [x19, #20]
bl _sk_CMS_CertificateChoices_num
cmp w20, w0
b.ge LBB0_13
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #20]
mov x1, x20
bl _sk_CMS_CertificateChoices_value
ldr x8, [x0]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x19]
cmp w8, #5
b.ge LBB0_3
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov w8, #5
b LBB0_2
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_10
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x19]
cmp w8, #4
b.ge LBB0_3
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
mov w8, #4
b LBB0_2
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x23]
cmp x8, x9
b.ne LBB0_3
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x19]
cmp w8, #2
b.gt LBB0_3
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
mov w8, #3
b LBB0_2
LBB0_13:
ldr w0, [x19, #16]
bl _sk_CMS_RevocationInfoChoice_num
cmp w0, #1
b.lt LBB0_19
; %bb.14:
mov w20, #0
Lloh6:
adrp x21, _CMS_REVCHOICE_OTHER@GOTPAGE
Lloh7:
ldr x21, [x21, _CMS_REVCHOICE_OTHER@GOTPAGEOFF]
mov w22, #5
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=1
add w20, w20, #1
ldr w0, [x19, #16]
bl _sk_CMS_RevocationInfoChoice_num
cmp w20, w0
b.ge LBB0_19
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #16]
mov x1, x20
bl _sk_CMS_RevocationInfoChoice_value
ldr x8, [x0]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_15
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
ldr w8, [x19]
cmp w8, #4
b.gt LBB0_15
; %bb.18: ; in Loop: Header=BB0_16 Depth=1
str w22, [x19]
b LBB0_15
LBB0_19:
ldr x8, [x19, #8]
ldr w0, [x8]
bl _OBJ_obj2nid
Lloh8:
adrp x8, _NID_pkcs7_data@GOTPAGE
Lloh9:
ldr x8, [x8, _NID_pkcs7_data@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x0, x8
b.eq LBB0_22
; %bb.20:
ldr w8, [x19]
cmp w8, #2
b.gt LBB0_22
; %bb.21:
mov w8, #3
str w8, [x19]
LBB0_22:
ldr w0, [x19, #4]
bl _sk_CMS_SignerInfo_num
cmp w0, #1
b.lt LBB0_32
; %bb.23:
mov w20, #0
Lloh11:
adrp x21, _CMS_SIGNERINFO_KEYIDENTIFIER@GOTPAGE
Lloh12:
ldr x21, [x21, _CMS_SIGNERINFO_KEYIDENTIFIER@GOTPAGEOFF]
mov w22, #3
mov w23, #1
b LBB0_26
LBB0_24: ; in Loop: Header=BB0_26 Depth=1
cmp w8, #0
b.le LBB0_31
LBB0_25: ; in Loop: Header=BB0_26 Depth=1
add w20, w20, #1
ldr w0, [x19, #4]
bl _sk_CMS_SignerInfo_num
cmp w20, w0
b.ge LBB0_32
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr w0, [x19, #4]
mov x1, x20
bl _sk_CMS_SignerInfo_value
ldr x8, [x0, #8]
ldr x9, [x8]
ldr x10, [x21]
ldr w8, [x0]
cmp x9, x10
b.ne LBB0_24
; %bb.27: ; in Loop: Header=BB0_26 Depth=1
cmp w8, #2
b.gt LBB0_29
; %bb.28: ; in Loop: Header=BB0_26 Depth=1
str w22, [x0]
LBB0_29: ; in Loop: Header=BB0_26 Depth=1
ldr w8, [x19]
cmp w8, #2
b.gt LBB0_25
; %bb.30: ; in Loop: Header=BB0_26 Depth=1
str w22, [x19]
b LBB0_25
LBB0_31: ; in Loop: Header=BB0_26 Depth=1
str w23, [x0]
b LBB0_25
LBB0_32:
ldr w8, [x19]
cmp w8, #0
b.gt LBB0_34
; %bb.33:
mov w8, #1
str w8, [x19]
LBB0_34:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _CMS_CERTCHOICE_OTHER,8,3 ; @CMS_CERTCHOICE_OTHER
.comm _CMS_CERTCHOICE_V2ACERT,8,3 ; @CMS_CERTCHOICE_V2ACERT
.comm _CMS_CERTCHOICE_V1ACERT,8,3 ; @CMS_CERTCHOICE_V1ACERT
.comm _CMS_REVCHOICE_OTHER,8,3 ; @CMS_REVCHOICE_OTHER
.comm _NID_pkcs7_data,8,3 ; @NID_pkcs7_data
.comm _CMS_SIGNERINFO_KEYIDENTIFIER,8,3 ; @CMS_SIGNERINFO_KEYIDENTIFIER
.no_dead_strip _cms_sd_set_version
.subsections_via_symbols
| AnghaBench/openssl/crypto/cms/extr_cms_sd.c_cms_sd_set_version.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wlan_add_mac_acl_mac ## -- Begin function wlan_add_mac_acl_mac
.p2align 4, 0x90
_wlan_add_mac_acl_mac: ## @wlan_add_mac_acl_mac
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movl $0, -36(%rbp)
movq _IEEE80211_ADDR_LEN@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq %rax, -48(%rbp)
movl 8(%rdi), %edi
movq _IEEE80211_IOC_ADDMAC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq (%rbx), %rcx
leaq -36(%rbp), %rdx
leaq -48(%rbp), %r8
movl $1, %r9d
callq _wlan_ioctl
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
js LBB0_5
## %bb.1:
movq _RowStatus_active@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
movq (%r14), %rcx
movq _wlanMACAccessControlPolicy_deny@GOTPCREL(%rip), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
jne LBB0_5
## %bb.2:
leaq -64(%rbp), %r15
movq %r15, %rdi
xorl %esi, %esi
movl $12, %edx
callq _memset
movq _IEEE80211_MLME_DEAUTH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movq _IEEE80211_REASON_AUTH_EXPIRE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -60(%rbp)
movl -64(%rbp), %edi
movq (%rbx), %rsi
movq (%r12), %rdx
callq _memcpy
movq $12, -48(%rbp)
movl 8(%r14), %edi
movq _IEEE80211_IOC_MLME@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -36(%rbp), %rdx
leaq -48(%rbp), %r8
movq %r15, %rcx
movl $1, %r9d
callq _wlan_ioctl
testq %rax, %rax
jns LBB0_4
## %bb.3:
movq _errno@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq _ENOENT@GOTPCREL(%rip), %rdx
movl $-1, %eax
cmpq (%rdx), %rcx
jne LBB0_5
LBB0_4:
xorl %eax, %eax
LBB0_5:
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEEE80211_ADDR_LEN,8,3 ## @IEEE80211_ADDR_LEN
.comm _IEEE80211_IOC_ADDMAC,4,2 ## @IEEE80211_IOC_ADDMAC
.comm _RowStatus_active,4,2 ## @RowStatus_active
.comm _wlanMACAccessControlPolicy_deny,8,3 ## @wlanMACAccessControlPolicy_deny
.comm _IEEE80211_MLME_DEAUTH,4,2 ## @IEEE80211_MLME_DEAUTH
.comm _IEEE80211_REASON_AUTH_EXPIRE,4,2 ## @IEEE80211_REASON_AUTH_EXPIRE
.comm _IEEE80211_IOC_MLME,4,2 ## @IEEE80211_IOC_MLME
.comm _errno,8,3 ## @errno
.comm _ENOENT,8,3 ## @ENOENT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _wlan_add_mac_acl_mac ; -- Begin function wlan_add_mac_acl_mac
.p2align 2
_wlan_add_mac_acl_mac: ; @wlan_add_mac_acl_mac
.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 x20, x1
mov x19, x0
str wzr, [sp, #28]
Lloh0:
adrp x21, _IEEE80211_ADDR_LEN@GOTPAGE
Lloh1:
ldr x21, [x21, _IEEE80211_ADDR_LEN@GOTPAGEOFF]
ldr x8, [x21]
str x8, [sp, #16]
ldr w0, [x0, #8]
Lloh2:
adrp x8, _IEEE80211_IOC_ADDMAC@GOTPAGE
Lloh3:
ldr x8, [x8, _IEEE80211_IOC_ADDMAC@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
ldr x3, [x20]
add x2, sp, #28
add x4, sp, #16
mov w5, #1
bl _wlan_ioctl
tbnz x0, #63, LBB0_5
; %bb.1:
Lloh5:
adrp x8, _RowStatus_active@GOTPAGE
Lloh6:
ldr x8, [x8, _RowStatus_active@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [x20, #8]
ldr x8, [x19]
Lloh8:
adrp x9, _wlanMACAccessControlPolicy_deny@GOTPAGE
Lloh9:
ldr x9, [x9, _wlanMACAccessControlPolicy_deny@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
mov w22, #12
mov x0, sp
mov w1, #0
mov w2, #12
bl _memset
Lloh11:
adrp x8, _IEEE80211_MLME_DEAUTH@GOTPAGE
Lloh12:
ldr x8, [x8, _IEEE80211_MLME_DEAUTH@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
Lloh14:
adrp x9, _IEEE80211_REASON_AUTH_EXPIRE@GOTPAGE
Lloh15:
ldr x9, [x9, _IEEE80211_REASON_AUTH_EXPIRE@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
stp w9, w8, [sp, #4]
ldr w0, [sp]
ldr x1, [x20]
ldr x2, [x21]
bl _memcpy
str x22, [sp, #16]
ldr w0, [x19, #8]
Lloh17:
adrp x8, _IEEE80211_IOC_MLME@GOTPAGE
Lloh18:
ldr x8, [x8, _IEEE80211_IOC_MLME@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
add x2, sp, #28
mov x3, sp
add x4, sp, #16
mov w5, #1
bl _wlan_ioctl
tbz x0, #63, LBB0_4
; %bb.3:
Lloh20:
adrp x8, _errno@GOTPAGE
Lloh21:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
ldr x8, [x8]
Lloh23:
adrp x9, _ENOENT@GOTPAGE
Lloh24:
ldr x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_5
LBB0_4:
mov w0, #0
b LBB0_6
LBB0_5:
mov w0, #-1
LBB0_6:
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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _IEEE80211_ADDR_LEN,8,3 ; @IEEE80211_ADDR_LEN
.comm _IEEE80211_IOC_ADDMAC,4,2 ; @IEEE80211_IOC_ADDMAC
.comm _RowStatus_active,4,2 ; @RowStatus_active
.comm _wlanMACAccessControlPolicy_deny,8,3 ; @wlanMACAccessControlPolicy_deny
.comm _IEEE80211_MLME_DEAUTH,4,2 ; @IEEE80211_MLME_DEAUTH
.comm _IEEE80211_REASON_AUTH_EXPIRE,4,2 ; @IEEE80211_REASON_AUTH_EXPIRE
.comm _IEEE80211_IOC_MLME,4,2 ; @IEEE80211_IOC_MLME
.comm _errno,8,3 ; @errno
.comm _ENOENT,8,3 ; @ENOENT
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/extr_wlan_sys.c_wlan_add_mac_acl_mac.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function riva_is_second
_riva_is_second: ## @riva_is_second
.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 $1, (%rdi)
jne LBB0_10
## %bb.1:
movswl 4(%rbx), %ecx
movq _TRUE@GOTPCREL(%rip), %rax
cmpl $789, %ecx ## imm = 0x315
jle LBB0_2
## %bb.7:
addl $-790, %ecx ## imm = 0xFCEA
cmpw $23, %cx
ja LBB0_9
## %bb.8:
movzwl %cx, %ecx
movl $13419507, %edx ## imm = 0xCCC3F3
btq %rcx, %rdx
jb LBB0_5
jmp LBB0_9
LBB0_10:
movq %rbx, %rdi
xorl %esi, %esi
callq _riva_is_connected
testq %rax, %rax
je LBB0_14
## %bb.11:
movl 16(%rbx), %edi
movl $1324, %esi ## imm = 0x52C
jmp LBB0_12
LBB0_2:
leal -372(%rcx), %edx
cmpw $19, %dx
ja LBB0_3
## %bb.6:
movzwl %dx, %edx
movl $787247, %esi ## imm = 0xC032F
btq %rdx, %rsi
jb LBB0_5
LBB0_3:
movzwl %cx, %ecx
cmpl $646, %ecx ## imm = 0x286
je LBB0_5
## %bb.4:
cmpl $652, %ecx ## imm = 0x28C
je LBB0_5
jmp LBB0_9
LBB0_14:
movq %rbx, %rdi
movl $1, %esi
callq _riva_is_connected
testq %rax, %rax
je LBB0_9
## %bb.15:
movl 16(%rbx), %edi
movl $9516, %esi ## imm = 0x252C
LBB0_12:
callq _NV_RD32
testl $256, %eax ## imm = 0x100
jne LBB0_13
LBB0_9:
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_13:
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_5:
movq (%rax), %rax
movq %rax, 8(%rbx)
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _riva_override_CRTC ## TAILCALL
.cfi_endproc
## -- End function
.comm _TRUE,8,3 ## @TRUE
.comm _FALSE,8,3 ## @FALSE
.no_dead_strip _riva_is_second
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function riva_is_second
_riva_is_second: ; @riva_is_second
.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]
cmp w8, #1
b.ne LBB0_3
; %bb.1:
ldrh w8, [x19, #4]
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
cmp w8, #789
b.le LBB0_5
; %bb.2:
sub w8, w8, #790
cmp w8, #23
mov w9, #1
lsl w8, w9, w8
mov w9, #50163
movk w9, #204, lsl #16
and w8, w8, w9
ccmp w8, #0, #4, ls
b.ne LBB0_11
b LBB0_8
LBB0_3:
mov x0, x19
mov w1, #0
bl _riva_is_connected
cbz x0, LBB0_9
; %bb.4:
ldr w0, [x19, #16]
mov w1, #1324
bl _NV_RD32
Lloh2:
adrp x8, _TRUE@GOTPAGE
Lloh3:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
adrp x9, _FALSE@GOTPAGE
Lloh5:
ldr x9, [x9, _FALSE@GOTPAGEOFF]
tst w0, #0x100
csel x20, x9, x8, eq
b LBB0_11
LBB0_5:
sub w9, w8, #372
cmp w9, #19
mov w10, #1
lsl w9, w10, w9
mov w10, #815
movk w10, #12, lsl #16
and w9, w9, w10
ccmp w9, #0, #4, ls
b.ne LBB0_11
; %bb.6:
cmp w8, #646
b.eq LBB0_11
; %bb.7:
cmp w8, #652
b.eq LBB0_11
LBB0_8:
Lloh6:
adrp x20, _FALSE@GOTPAGE
Lloh7:
ldr x20, [x20, _FALSE@GOTPAGEOFF]
b LBB0_11
LBB0_9:
mov x0, x19
mov w1, #1
bl _riva_is_connected
Lloh8:
adrp x20, _FALSE@GOTPAGE
Lloh9:
ldr x20, [x20, _FALSE@GOTPAGEOFF]
cbz x0, LBB0_11
; %bb.10:
ldr w0, [x19, #16]
mov w1, #9516
bl _NV_RD32
Lloh10:
adrp x8, _TRUE@GOTPAGE
Lloh11:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
tst w0, #0x100
csel x20, x20, x8, eq
LBB0_11:
ldr x8, [x20]
str x8, [x19, #8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _riva_override_CRTC
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _TRUE,8,3 ; @TRUE
.comm _FALSE,8,3 ; @FALSE
.no_dead_strip _riva_is_second
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/video/riva/extr_nv_driver.c_riva_is_second.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _br_eax_check_tag_trunc ## -- Begin function br_eax_check_tag_trunc
.p2align 4, 0x90
_br_eax_check_tag_trunc: ## @br_eax_check_tag_trunc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %r14
movq %rsi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
leaq -48(%rbp), %rsi
callq _br_eax_get_tag
testq %r14, %r14
je LBB0_1
## %bb.2:
cmpq $8, %r14
jae LBB0_4
## %bb.3:
xorl %edi, %edi
xorl %eax, %eax
jmp LBB0_11
LBB0_1:
xorl %edi, %edi
jmp LBB0_12
LBB0_4:
movq %r14, %rax
andq $-8, %rax
leaq -8(%rax), %rdx
movq %rdx, %r8
shrq $3, %r8
incq %r8
testq %rdx, %rdx
je LBB0_5
## %bb.6:
movq %r8, %rsi
andq $-2, %rsi
pxor %xmm0, %xmm0
xorl %edx, %edx
pxor %xmm1, %xmm1
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movd (%rbx,%rdx), %xmm2 ## xmm2 = mem[0],zero,zero,zero
pxor -48(%rbp,%rdx), %xmm2
movl 4(%rbx,%rdx), %edi
movl 12(%rbx,%rdx), %ecx
xorl -44(%rbp,%rdx), %edi
movd %edi, %xmm3
pmovzxbd %xmm2, %xmm2 ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
por %xmm0, %xmm2
pmovzxbd %xmm3, %xmm3 ## xmm3 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
por %xmm1, %xmm3
movq -40(%rbp,%rdx), %xmm0 ## xmm0 = mem[0],zero
movd 8(%rbx,%rdx), %xmm1 ## xmm1 = mem[0],zero,zero,zero
xorl -36(%rbp,%rdx), %ecx
pxor %xmm0, %xmm1
movd %ecx, %xmm4
pmovzxbd %xmm1, %xmm0 ## xmm0 = xmm1[0],zero,zero,zero,xmm1[1],zero,zero,zero,xmm1[2],zero,zero,zero,xmm1[3],zero,zero,zero
por %xmm2, %xmm0
pmovzxbd %xmm4, %xmm1 ## xmm1 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero
por %xmm3, %xmm1
addq $16, %rdx
addq $-2, %rsi
jne LBB0_7
## %bb.8:
testb $1, %r8b
je LBB0_10
LBB0_9:
movq -48(%rbp,%rdx), %xmm2 ## xmm2 = mem[0],zero
movd (%rbx,%rdx), %xmm3 ## xmm3 = mem[0],zero,zero,zero
pxor %xmm2, %xmm3
movl 4(%rbx,%rdx), %ecx
xorl -44(%rbp,%rdx), %ecx
movd %ecx, %xmm2
pmovzxbd %xmm3, %xmm3 ## xmm3 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero
por %xmm3, %xmm0
pmovzxbd %xmm2, %xmm2 ## xmm2 = xmm2[0],zero,zero,zero,xmm2[1],zero,zero,zero,xmm2[2],zero,zero,zero,xmm2[3],zero,zero,zero
por %xmm2, %xmm1
LBB0_10:
por %xmm1, %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
por %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
por %xmm1, %xmm0
movd %xmm0, %edi
cmpq %r14, %rax
je LBB0_12
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%rax), %ecx
xorb -48(%rbp,%rax), %cl
movzbl %cl, %ecx
orl %ecx, %edi
incq %rax
cmpq %rax, %r14
jne LBB0_11
LBB0_12:
## kill: def $edi killed $edi killed $rdi
callq _EQ0
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -24(%rbp), %rcx
jne LBB0_14
## %bb.13:
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
pxor %xmm0, %xmm0
xorl %edx, %edx
pxor %xmm1, %xmm1
testb $1, %r8b
jne LBB0_9
jmp LBB0_10
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ; -- Begin function br_eax_check_tag_trunc
lCPI0_0:
.byte 0 ; 0x0
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 1 ; 0x1
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 2 ; 0x2
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 3 ; 0x3
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI0_1:
.byte 4 ; 0x4
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 5 ; 0x5
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 6 ; 0x6
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 7 ; 0x7
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI0_2:
.byte 8 ; 0x8
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 9 ; 0x9
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 10 ; 0xa
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 11 ; 0xb
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
lCPI0_3:
.byte 12 ; 0xc
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 13 ; 0xd
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 14 ; 0xe
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 15 ; 0xf
.byte 255 ; 0xff
.byte 255 ; 0xff
.byte 255 ; 0xff
.section __TEXT,__text,regular,pure_instructions
.globl _br_eax_check_tag_trunc
.p2align 2
_br_eax_check_tag_trunc: ; @br_eax_check_tag_trunc
.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, x2
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
add x1, sp, #8
bl _br_eax_get_tag
cbz x20, LBB0_3
; %bb.1:
cmp x20, #8
b.hs LBB0_4
; %bb.2:
mov w0, #0
mov x8, #0
b LBB0_13
LBB0_3:
mov w0, #0
b LBB0_15
LBB0_4:
adrp x9, lCPI0_0@PAGE
adrp x10, lCPI0_1@PAGE
cmp x20, #32
b.hs LBB0_6
; %bb.5:
mov w0, #0
mov x8, #0
b LBB0_10
LBB0_6:
and x8, x20, #0xffffffffffffffe0
add x11, sp, #8
add x11, x11, #16
add x12, x19, #16
movi.2d v0, #0000000000000000
ldr q1, [x9, lCPI0_0@PAGEOFF]
ldr q2, [x10, lCPI0_1@PAGEOFF]
Lloh3:
adrp x13, lCPI0_2@PAGE
Lloh4:
ldr q3, [x13, lCPI0_2@PAGEOFF]
movi.2d v5, #0000000000000000
Lloh5:
adrp x13, lCPI0_3@PAGE
Lloh6:
ldr q17, [x13, lCPI0_3@PAGEOFF]
mov x13, x8
movi.2d v4, #0000000000000000
movi.2d v7, #0000000000000000
movi.2d v6, #0000000000000000
movi.2d v18, #0000000000000000
movi.2d v16, #0000000000000000
movi.2d v19, #0000000000000000
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldp q20, q21, [x11, #-16]
ldp q22, q23, [x12, #-16]
eor.16b v20, v22, v20
eor.16b v21, v23, v21
tbl.16b v22, { v20 }, v1
tbl.16b v23, { v20 }, v2
tbl.16b v24, { v20 }, v3
tbl.16b v20, { v20 }, v17
tbl.16b v25, { v21 }, v1
tbl.16b v26, { v21 }, v2
tbl.16b v27, { v21 }, v3
tbl.16b v21, { v21 }, v17
orr.16b v7, v7, v20
orr.16b v4, v4, v24
orr.16b v5, v5, v23
orr.16b v0, v0, v22
orr.16b v19, v19, v21
orr.16b v16, v16, v27
orr.16b v18, v18, v26
orr.16b v6, v6, v25
add x11, x11, #32
add x12, x12, #32
subs x13, x13, #32
b.ne LBB0_7
; %bb.8:
orr.16b v1, v18, v5
orr.16b v2, v19, v7
orr.16b v0, v6, v0
orr.16b v3, v16, v4
orr.16b v0, v0, v3
orr.16b v1, v1, v2
orr.16b v0, v0, v1
ext.16b v1, v0, v0, #8
orr.8b v0, v0, v1
mov.s w11, v0[1]
fmov w12, s0
orr w0, w12, w11
cmp x8, x20
b.eq LBB0_15
; %bb.9:
tst x20, #0x18
b.eq LBB0_13
LBB0_10:
mov x13, x8
and x8, x20, #0xfffffffffffffff8
movi.2d v0, #0000000000000000
movi.2d v1, #0000000000000000
mov.s v1[0], w0
add x11, sp, #8
add x11, x11, x13
add x12, x19, x13
sub x13, x13, x8
ldr q2, [x9, lCPI0_0@PAGEOFF]
ldr q3, [x10, lCPI0_1@PAGEOFF]
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr d4, [x11], #8
ldr d5, [x12], #8
eor.8b v4, v5, v4
tbl.16b v5, { v4 }, v2
tbl.16b v4, { v4 }, v3
orr.16b v0, v0, v4
orr.16b v1, v1, v5
adds x13, x13, #8
b.ne LBB0_11
; %bb.12:
orr.16b v0, v1, v0
ext.16b v1, v0, v0, #8
orr.8b v0, v0, v1
mov.s w9, v0[1]
fmov w10, s0
orr w0, w10, w9
cmp x8, x20
b.eq LBB0_15
LBB0_13:
sub x9, x20, x8
add x10, x19, x8
add x11, sp, #8
add x8, x11, x8
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x8], #1
ldrb w12, [x10], #1
eor w11, w12, w11
orr w0, w0, w11
subs x9, x9, #1
b.ne LBB0_14
LBB0_15:
bl _EQ0
ldr x8, [sp, #24]
Lloh7:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh8:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_17
; %bb.16:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_17:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh5, Lloh6
.loh AdrpAdrp Lloh3, Lloh5
.loh AdrpLdr Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/bearssl/src/aead/extr_eax.c_br_eax_check_tag_trunc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function filelayout_get_ds_info
_filelayout_get_ds_info: ## @filelayout_get_ds_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _NFS_I
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.2:
popq %rbp
jmp _FILELAYOUT_FROM_HDR ## TAILCALL
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _filelayout_get_ds_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function filelayout_get_ds_info
_filelayout_get_ds_info: ; @filelayout_get_ds_info
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _NFS_I
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _FILELAYOUT_FROM_HDR
LBB0_2:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _filelayout_get_ds_info
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/nfs/extr_nfs4filelayout.c_filelayout_get_ds_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function amx3_common_pm_init
_amx3_common_pm_init: ## @amx3_common_pm_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _amx3_common_pm_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function amx3_common_pm_init
_amx3_common_pm_init: ; @amx3_common_pm_init
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _amx3_common_pm_init
.subsections_via_symbols
| AnghaBench/linux/arch/arm/mach-omap2/extr_common.h_amx3_common_pm_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _imin_
__imin_: ## @_imin_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rsi, %rax
cmpq %rsi, %rdi
cmovlq %rdi, %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip __imin_
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _imin_
__imin_: ; @_imin_
.cfi_startproc
; %bb.0:
cmp x0, x1
csel x0, x0, x1, lt
ret
.cfi_endproc
; -- End function
.no_dead_strip __imin_
.subsections_via_symbols
| AnghaBench/kcp/extr_ikcp.c__imin_.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtl8366rb_sw_get_mirror_tx_enable
_rtl8366rb_sw_get_mirror_tx_enable: ## @rtl8366rb_sw_get_mirror_tx_enable
.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 %rdx, %rbx
callq _sw_to_rtl8366_smi
movq _RTL8366RB_PMCR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
leaq -12(%rbp), %rdx
movq %rax, %rdi
callq _rtl8366_smi_read_reg
movq _RTL8366RB_PMCR_MIRROR_TX@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ecx, %ecx
andl -12(%rbp), %eax
setne %cl
movl %ecx, (%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RTL8366RB_PMCR,4,2 ## @RTL8366RB_PMCR
.comm _RTL8366RB_PMCR_MIRROR_TX,4,2 ## @RTL8366RB_PMCR_MIRROR_TX
.no_dead_strip _rtl8366rb_sw_get_mirror_tx_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtl8366rb_sw_get_mirror_tx_enable
_rtl8366rb_sw_get_mirror_tx_enable: ; @rtl8366rb_sw_get_mirror_tx_enable
.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
bl _sw_to_rtl8366_smi
Lloh0:
adrp x8, _RTL8366RB_PMCR@GOTPAGE
Lloh1:
ldr x8, [x8, _RTL8366RB_PMCR@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
add x2, sp, #12
bl _rtl8366_smi_read_reg
Lloh3:
adrp x8, _RTL8366RB_PMCR_MIRROR_TX@GOTPAGE
Lloh4:
ldr x8, [x8, _RTL8366RB_PMCR_MIRROR_TX@GOTPAGEOFF]
ldr w9, [sp, #12]
Lloh5:
ldr w8, [x8]
tst w8, w9
cset w8, ne
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _RTL8366RB_PMCR,4,2 ; @RTL8366RB_PMCR
.comm _RTL8366RB_PMCR_MIRROR_TX,4,2 ; @RTL8366RB_PMCR_MIRROR_TX
.no_dead_strip _rtl8366rb_sw_get_mirror_tx_enable
.subsections_via_symbols
| AnghaBench/lede/target/linux/generic/files/drivers/net/phy/extr_rtl8366rb.c_rtl8366rb_sw_get_mirror_tx_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _linear2alaw ## -- Begin function linear2alaw
.p2align 4, 0x90
_linear2alaw: ## @linear2alaw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-8, %eax
subl %edi, %eax
testl %edi, %edi
cmovnsl %edi, %eax
shrl $31, %edi
shlb $7, %dil
addb $-43, %dil
cmpl $256, %eax ## imm = 0x100
jl LBB0_1
## %bb.3:
movb $16, %dl
cmpl $512, %eax ## imm = 0x200
jl LBB0_2
## %bb.4:
movl $2, %ecx
cmpl $1024, %eax ## imm = 0x400
jl LBB0_11
## %bb.5:
movl $3, %ecx
cmpl $2048, %eax ## imm = 0x800
jl LBB0_11
## %bb.6:
movl $4, %ecx
cmpl $4096, %eax ## imm = 0x1000
jl LBB0_11
## %bb.7:
movl $5, %ecx
cmpl $8192, %eax ## imm = 0x2000
jl LBB0_11
## %bb.8:
movl $6, %ecx
cmpl $16384, %eax ## imm = 0x4000
jl LBB0_11
## %bb.9:
movl $7, %ecx
cmpl $32768, %eax ## imm = 0x8000
jl LBB0_11
## %bb.10:
xorb $127, %dil
movl %edi, %edx
jmp LBB0_13
LBB0_1:
xorl %edx, %edx
LBB0_2:
shrb $4, %al
jmp LBB0_12
LBB0_11:
movl %ecx, %edx
shlb $4, %dl
addb $3, %cl
## kill: def $cl killed $cl killed $ecx
sarl %cl, %eax
andb $15, %al
LBB0_12:
orb %al, %dl
xorb %dil, %dl
LBB0_13:
movzbl %dl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _alaw2linear ## -- Begin function alaw2linear
.p2align 4, 0x90
_alaw2linear: ## @alaw2linear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorb $85, %dil
movzbl %dil, %ecx
movl %ecx, %eax
shll $4, %eax
movzbl %al, %edx
shrl $4, %ecx
andl $7, %ecx
cmpl $1, %ecx
je LBB1_3
## %bb.1:
testl %ecx, %ecx
jne LBB1_4
## %bb.2:
orl $8, %edx
jmp LBB1_5
LBB1_3:
orl $264, %edx ## imm = 0x108
jmp LBB1_5
LBB1_4:
orl $264, %edx ## imm = 0x108
decb %cl
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
LBB1_5:
movl %edx, %eax
negl %eax
testb $-128, %dil
cmovnel %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _linear2ulaw ## -- Begin function linear2ulaw
.p2align 4, 0x90
_linear2ulaw: ## @linear2ulaw
.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
movl %edi, %edx
negl %edx
cmovsl %edi, %edx
addl $132, %edx
xorl %ecx, %ecx
cmpl $256, %edx ## imm = 0x100
jl LBB2_8
## %bb.1:
movl $1, %ecx
cmpl $512, %edx ## imm = 0x200
jl LBB2_8
## %bb.2:
movl $2, %ecx
cmpl $1024, %edx ## imm = 0x400
jl LBB2_8
## %bb.3:
movl $3, %ecx
cmpl $2048, %edx ## imm = 0x800
jl LBB2_8
## %bb.4:
movl $4, %ecx
cmpl $4096, %edx ## imm = 0x1000
jl LBB2_8
## %bb.5:
movl $5, %ecx
cmpl $8192, %edx ## imm = 0x2000
jl LBB2_8
## %bb.6:
movl $6, %ecx
cmpl $16384, %edx ## imm = 0x4000
jl LBB2_8
## %bb.7:
movl $7, %ecx
movl $127, %esi
cmpl $32767, %edx ## imm = 0x7FFF
jg LBB2_9
LBB2_8:
movl %ecx, %esi
addb $3, %cl
## kill: def $cl killed $cl killed $ecx
sarl %cl, %edx
shll $4, %esi
andl $15, %edx
orl %esi, %edx
movl %edx, %esi
LBB2_9:
notl %eax
shrl $24, %eax
orl $127, %eax
xorl %esi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ulaw2linear ## -- Begin function ulaw2linear
.p2align 4, 0x90
_ulaw2linear: ## @ulaw2linear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
notb %dil
movzbl %dil, %edx
leal (,%rdx,8), %eax
orl $132, %eax
movzbl %al, %eax
movl %edx, %ecx
shrb $4, %cl
andb $7, %cl
shll %cl, %eax
movl $132, %ecx
subl %eax, %ecx
addl $-132, %eax
testb $-128, %dl
cmovnel %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _alaw2ulaw ## -- Begin function alaw2ulaw
.p2align 4, 0x90
_alaw2ulaw: ## @alaw2ulaw
.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
andl $-128, %eax
leal 85(%rax), %ecx
xorl %edx, %edx
negl %eax
sbbl %edx, %edx
orb $127, %dl
xorl %edi, %ecx
leaq __a2u(%rip), %rax
xorb (%rcx,%rax), %dl
movzbl %dl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ulaw2alaw ## -- Begin function ulaw2alaw
.p2align 4, 0x90
_ulaw2alaw: ## @ulaw2alaw
.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
testb $-128, %dil
movl $85, %eax
movl $213, %ecx
cmovel %eax, %ecx
andl $127, %edi
xorq $127, %rdi
leaq __u2a(%rip), %rax
movb (%rdi,%rax), %al
decb %al
xorb %cl, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl __u2a ## @_u2a
.p2align 4
__u2a:
.ascii "\001\001\002\002\003\003\004\004\005\005\006\006\007\007\b\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\033\035\037!\"#$%&'()*+,.0123456789:;<=>@ABCDEFGHIJKLMNOQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\177\200"
.globl __a2u ## @_a2u
.p2align 4
__a2u:
.ascii "\001\003\005\007\t\013\r\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !!\"\"##$%&'()*+,-./001123456789:;<=>?@@ABCDEFGHIJKLMNOOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\177"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _linear2alaw ; -- Begin function linear2alaw
.p2align 2
_linear2alaw: ; @linear2alaw
.cfi_startproc
; %bb.0:
mov w8, #-8
sub w8, w8, w0
cmp w0, #0
csel w9, w0, w8, ge
mov w8, #85
mov w10, #-43
csel w8, w10, w8, ge
cmp w9, #256
b.lt LBB0_9
; %bb.1:
cmp w9, #512
b.lt LBB0_10
; %bb.2:
cmp w9, #1024
b.lt LBB0_11
; %bb.3:
cmp w9, #2048
b.lt LBB0_12
; %bb.4:
cmp w9, #1, lsl #12 ; =4096
b.lt LBB0_13
; %bb.5:
cmp w9, #2, lsl #12 ; =8192
b.lt LBB0_14
; %bb.6:
cmp w9, #4, lsl #12 ; =16384
b.lt LBB0_15
; %bb.7:
cmp w9, #8, lsl #12 ; =32768
b.lt LBB0_16
; %bb.8:
eor w8, w8, #0x7f
and w0, w8, #0xff
ret
LBB0_9:
mov w11, #0
ubfx w9, w9, #4, #4
b LBB0_18
LBB0_10:
mov w11, #16
ubfx w9, w9, #4, #4
b LBB0_18
LBB0_11:
mov w10, #2
b LBB0_17
LBB0_12:
mov w10, #3
b LBB0_17
LBB0_13:
mov w10, #4
b LBB0_17
LBB0_14:
mov w10, #5
b LBB0_17
LBB0_15:
mov w10, #6
b LBB0_17
LBB0_16:
mov w10, #7
LBB0_17:
lsl w11, w10, #4
add w10, w10, #3
asr w9, w9, w10
and w9, w9, #0xf
LBB0_18:
orr w9, w9, w11
eor w8, w9, w8
and w0, w8, #0xff
ret
.cfi_endproc
; -- End function
.globl _alaw2linear ; -- Begin function alaw2linear
.p2align 2
_alaw2linear: ; @alaw2linear
.cfi_startproc
; %bb.0:
mov w8, #85
eor w8, w0, w8
ubfiz w9, w8, #4, #4
ubfx w10, w8, #4, #3
mov w11, #264
orr w11, w9, w11
sub w12, w10, #1
lsl w12, w11, w12
orr w9, w9, #0x8
cmp w10, #0
csel w9, w12, w9, ne
cmp w10, #1
csel w9, w11, w9, eq
tst w8, #0x80
cneg w0, w9, eq
ret
.cfi_endproc
; -- End function
.globl _linear2ulaw ; -- Begin function linear2ulaw
.p2align 2
_linear2ulaw: ; @linear2ulaw
.cfi_startproc
; %bb.0:
cmp w0, #0
cneg w8, w0, mi
add w8, w8, #132
cmp w8, #256
b.lt LBB2_9
; %bb.1:
cmp w8, #512
b.lt LBB2_10
; %bb.2:
cmp w8, #1024
b.lt LBB2_11
; %bb.3:
cmp w8, #2048
b.lt LBB2_12
; %bb.4:
cmp w8, #1, lsl #12 ; =4096
b.lt LBB2_13
; %bb.5:
cmp w8, #2, lsl #12 ; =8192
b.lt LBB2_14
; %bb.6:
cmp w8, #4, lsl #12 ; =16384
b.lt LBB2_15
; %bb.7:
cmp w8, #8, lsl #12 ; =32768
b.lt LBB2_16
; %bb.8:
mov w8, #127
b LBB2_18
LBB2_9:
mov w9, #0
b LBB2_17
LBB2_10:
mov w9, #1
b LBB2_17
LBB2_11:
mov w9, #2
b LBB2_17
LBB2_12:
mov w9, #3
b LBB2_17
LBB2_13:
mov w9, #4
b LBB2_17
LBB2_14:
mov w9, #5
b LBB2_17
LBB2_15:
mov w9, #6
b LBB2_17
LBB2_16:
mov w9, #7
LBB2_17:
add w10, w9, #3
asr w8, w8, w10
and w8, w8, #0xf
bfi w8, w9, #4, #3
LBB2_18:
mov w9, #255
mov w10, #127
cmp w0, #0
csel w9, w10, w9, lt
eor w0, w8, w9
ret
.cfi_endproc
; -- End function
.globl _ulaw2linear ; -- Begin function ulaw2linear
.p2align 2
_ulaw2linear: ; @ulaw2linear
.cfi_startproc
; %bb.0:
eor w8, w0, #0xff
mov w9, #132
mov w10, #132
bfi w10, w8, #3, #4
ubfx w11, w8, #4, #3
lsl w10, w10, w11
sub w9, w9, w10
sub w10, w10, #132
tst w8, #0x80
csel w0, w10, w9, eq
ret
.cfi_endproc
; -- End function
.globl _alaw2ulaw ; -- Begin function alaw2ulaw
.p2align 2
_alaw2ulaw: ; @alaw2ulaw
.cfi_startproc
; %bb.0:
ands w8, w0, #0x80
mov w9, #85
orr w8, w8, w9
mov w9, #255
mov w10, #127
csel w9, w10, w9, eq
eor w8, w8, w0
Lloh0:
adrp x10, __a2u@PAGE
Lloh1:
add x10, x10, __a2u@PAGEOFF
ldrb w8, [x10, w8, uxtw]
eor w0, w8, w9
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _ulaw2alaw ; -- Begin function ulaw2alaw
.p2align 2
_ulaw2alaw: ; @ulaw2alaw
.cfi_startproc
; %bb.0:
tst w0, #0x80
mov w8, #-43
mov w9, #85
csel w8, w9, w8, eq
and w9, w0, #0x7f
eor x9, x9, #0x7f
Lloh2:
adrp x10, __u2a@PAGE
Lloh3:
add x10, x10, __u2a@PAGEOFF
ldrb w9, [x10, x9]
sub w9, w9, #1
eor w8, w9, w8
and w0, w8, #0xff
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __DATA,__data
.globl __u2a ; @_u2a
__u2a:
.ascii "\001\001\002\002\003\003\004\004\005\005\006\006\007\007\b\b\t\n\013\f\r\016\017\020\021\022\023\024\025\026\027\030\031\033\035\037!\"#$%&'()*+,.0123456789:;<=>@ABCDEFGHIJKLMNOQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\177\200"
.globl __a2u ; @_a2u
__a2u:
.ascii "\001\003\005\007\t\013\r\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !!\"\"##$%&'()*+,-./001123456789:;<=>?@@ABCDEFGHIJKLMNOOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\177"
.subsections_via_symbols
| the_stack_data/167331082.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
movq _info_compiler(%rip), %rax
movslq %edi, %rcx
movsbl (%rax,%rcx), %eax
movq _info_platform(%rip), %rdx
movsbl (%rdx,%rcx), %edx
addl %eax, %edx
movq _info_arch(%rip), %rax
movsbl (%rax,%rcx), %eax
addl %edx, %eax
leaq _info_version(%rip), %rdx
movsbl (%rcx,%rdx), %edx
addl %eax, %edx
movq _info_language_dialect_default(%rip), %rax
movsbl (%rax,%rcx), %eax
addl %edx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "INFO:compiler[AppleClang]"
.section __DATA,__data
.globl _info_compiler ## @info_compiler
.p2align 3
_info_compiler:
.quad L_.str
.section __TEXT,__const
.globl _info_version ## @info_version
.p2align 4
_info_version:
.asciz "INFO:compiler_version[00000014.00000000.00000003.14030022]"
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "INFO:platform[Darwin]"
.section __DATA,__data
.globl _info_platform ## @info_platform
.p2align 3
_info_platform:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ## @info_arch
.p2align 3
_info_arch:
.quad L_.str.2
.section __TEXT,__cstring,cstring_literals
L_.str.3: ## @.str.3
.asciz "INFO:dialect_default[11]"
.section __DATA,__data
.globl _info_language_dialect_default ## @info_language_dialect_default
.p2align 3
_info_language_dialect_default:
.quad L_.str.3
.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:
; kill: def $w0 killed $w0 def $x0
Lloh0:
adrp x8, _info_compiler@PAGE
Lloh1:
ldr x8, [x8, _info_compiler@PAGEOFF]
sxtw x9, w0
ldrsb w8, [x8, x9]
Lloh2:
adrp x10, _info_platform@PAGE
Lloh3:
ldr x10, [x10, _info_platform@PAGEOFF]
ldrsb w10, [x10, x9]
Lloh4:
adrp x11, _info_arch@PAGE
Lloh5:
ldr x11, [x11, _info_arch@PAGEOFF]
ldrsb w11, [x11, x9]
add w8, w10, w8
add w8, w8, w11
Lloh6:
adrp x10, _info_version@PAGE
Lloh7:
add x10, x10, _info_version@PAGEOFF
ldrsb w10, [x10, x9]
Lloh8:
adrp x11, _info_language_dialect_default@PAGE
Lloh9:
ldr x11, [x11, _info_language_dialect_default@PAGEOFF]
ldrsb w9, [x11, x9]
add w8, w8, w10
add w0, w8, w9
ret
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdr Lloh4, Lloh5
.loh AdrpLdr Lloh2, Lloh3
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "INFO:compiler[AppleClang]"
.section __DATA,__data
.globl _info_compiler ; @info_compiler
.p2align 3
_info_compiler:
.quad l_.str
.section __TEXT,__const
.globl _info_version ; @info_version
_info_version:
.asciz "INFO:compiler_version[00000014.00000000.00000003.14030022]"
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "INFO:platform[Darwin]"
.section __DATA,__data
.globl _info_platform ; @info_platform
.p2align 3
_info_platform:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "INFO:arch[]"
.section __DATA,__data
.globl _info_arch ; @info_arch
.p2align 3
_info_arch:
.quad l_.str.2
.section __TEXT,__cstring,cstring_literals
l_.str.3: ; @.str.3
.asciz "INFO:dialect_default[11]"
.section __DATA,__data
.globl _info_language_dialect_default ; @info_language_dialect_default
.p2align 3
_info_language_dialect_default:
.quad l_.str.3
.subsections_via_symbols
| the_stack_data/104827230.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vlynq_set_remote_mapping ## -- Begin function vlynq_set_remote_mapping
.p2align 4, 0x90
_vlynq_set_remote_mapping: ## @vlynq_set_remote_mapping
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
cmpl $0, 8(%rdi)
je LBB0_1
## %bb.2:
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdi), %rax
addq $8, %rax
movl %esi, %edi
movq %rax, %rsi
callq _writel
movl 4(%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
addq $4, %rsi
callq _writel
movl (%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
callq _writel
movl 12(%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
addq $12, %rsi
callq _writel
movl 8(%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
addq $8, %rsi
callq _writel
movl 20(%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
addq $20, %rsi
callq _writel
movl 16(%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
addq $16, %rsi
callq _writel
movl 28(%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
addq $28, %rsi
callq _writel
movl 24(%r14), %edi
movq (%rbx), %rax
movq (%rax), %rsi
addq $24, %rsi
callq _writel
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENXIO@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENXIO,4,2 ## @ENXIO
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vlynq_set_remote_mapping ; -- Begin function vlynq_set_remote_mapping
.p2align 2
_vlynq_set_remote_mapping: ; @vlynq_set_remote_mapping
.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, #8]
cbz w8, LBB0_2
; %bb.1:
mov x19, x2
mov x20, x0
ldr x8, [x0]
add x8, x8, #8
mov x0, x1
mov x1, x8
bl _writel
ldr w0, [x19, #4]
ldr x8, [x20]
ldr x8, [x8]
add x1, x8, #4
bl _writel
ldr w0, [x19]
ldr x8, [x20]
ldr x1, [x8]
bl _writel
ldr w0, [x19, #12]
ldr x8, [x20]
ldr x8, [x8]
add x1, x8, #12
bl _writel
ldr w0, [x19, #8]
ldr x8, [x20]
ldr x8, [x8]
add x1, x8, #8
bl _writel
ldr w0, [x19, #20]
ldr x8, [x20]
ldr x8, [x8]
add x1, x8, #20
bl _writel
ldr w0, [x19, #16]
ldr x8, [x20]
ldr x8, [x8]
add x1, x8, #16
bl _writel
ldr w0, [x19, #28]
ldr x8, [x20]
ldr x8, [x8]
add x1, x8, #28
bl _writel
ldr w0, [x19, #24]
ldr x8, [x20]
ldr x8, [x8]
add x1, x8, #24
bl _writel
mov w0, #0
b LBB0_3
LBB0_2:
Lloh0:
adrp x8, _ENXIO@GOTPAGE
Lloh1:
ldr x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
LBB0_3:
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 _ENXIO,4,2 ; @ENXIO
.subsections_via_symbols
| AnghaBench/linux/drivers/vlynq/extr_vlynq.c_vlynq_set_remote_mapping.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _i2c_start_wait ## -- Begin function i2c_start_wait
.p2align 4, 0x90
_i2c_start_wait: ## @i2c_start_wait
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _TWINT,4,2 ## @TWINT
.comm _TWSTA,4,2 ## @TWSTA
.comm _TWEN,4,2 ## @TWEN
.comm _TWCR,4,2 ## @TWCR
.comm _TW_STATUS,4,2 ## @TW_STATUS
.comm _TW_START,4,2 ## @TW_START
.comm _TW_REP_START,4,2 ## @TW_REP_START
.comm _TWDR,1,0 ## @TWDR
.comm _TW_MT_SLA_NACK,4,2 ## @TW_MT_SLA_NACK
.comm _TW_MR_DATA_NACK,4,2 ## @TW_MR_DATA_NACK
.comm _TWSTO,4,2 ## @TWSTO
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _i2c_start_wait ; -- Begin function i2c_start_wait
.p2align 2
_i2c_start_wait: ; @i2c_start_wait
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.comm _TWINT,4,2 ; @TWINT
.comm _TWSTA,4,2 ; @TWSTA
.comm _TWEN,4,2 ; @TWEN
.comm _TWCR,4,2 ; @TWCR
.comm _TW_STATUS,4,2 ; @TW_STATUS
.comm _TW_START,4,2 ; @TW_START
.comm _TW_REP_START,4,2 ; @TW_REP_START
.comm _TWDR,1,0 ; @TWDR
.comm _TW_MT_SLA_NACK,4,2 ; @TW_MT_SLA_NACK
.comm _TW_MR_DATA_NACK,4,2 ; @TW_MR_DATA_NACK
.comm _TWSTO,4,2 ; @TWSTO
.subsections_via_symbols
| assembly_file_24103.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal8,8byte_literals
.p2align 3, 0x0 ## -- Begin function approximate_joinrel_size
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
LCPI0_1:
.quad 0x0000000000000000 ## double 0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_approximate_joinrel_size: ## @approximate_joinrel_size
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
movl $-1, %esi
callq _bms_next_member
testl %eax, %eax
js LBB0_1
## %bb.2:
movl %eax, %r15d
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0]
movsd %xmm0, -40(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movl %ebx, %edi
movl %r15d, %esi
callq _bms_next_member
movl %eax, %r15d
testl %eax, %eax
js LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpl (%r14), %r15d
jge LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r14), %rax
movl %r15d, %ecx
movq (%rax,%rcx,8), %r12
testq %r12, %r12
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
xorl %edi, %edi
cmpl %r15d, (%r12)
sete %dil
callq _Assert
movq %r12, %rdi
callq _IS_DUMMY_REL
testq %rax, %rax
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movsd 8(%r12), %xmm0 ## xmm0 = mem[0],zero
xorl %edi, %edi
ucomisd LCPI0_1(%rip), %xmm0
seta %dil
callq _Assert
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
mulsd 8(%r12), %xmm0
movsd %xmm0, -40(%rbp) ## 8-byte Spill
jmp LBB0_7
LBB0_1:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0]
movsd %xmm0, -40(%rbp) ## 8-byte Spill
LBB0_8:
movsd -40(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _approximate_joinrel_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function approximate_joinrel_size
_approximate_joinrel_size: ; @approximate_joinrel_size
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset b8, -56
.cfi_offset b9, -64
mov x19, x1
mov x20, x0
mov x0, x1
mov w1, #-1 ; =0xffffffff
bl _bms_next_member
tbnz w0, #31, LBB0_7
; %bb.1:
mov x21, x0
fmov d8, #1.00000000
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
mov x1, x21
bl _bms_next_member
mov x21, x0
tbnz w0, #31, LBB0_8
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x20]
cmp w21, w8
b.ge LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x20, #8]
ldr x22, [x8, w21, uxtw #3]
cbz x22, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x22]
cmp w8, w21
cset w0, eq
bl _Assert
mov x0, x22
bl _IS_DUMMY_REL
cbnz x0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr d0, [x22, #8]
fcmp d0, #0.0
cset w0, gt
bl _Assert
ldr d0, [x22, #8]
fmul d8, d8, d0
b LBB0_2
LBB0_7:
fmov d8, #1.00000000
LBB0_8:
fmov d0, d8
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 d9, d8, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _approximate_joinrel_size
.subsections_via_symbols
| assembly_file_74697.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function oce_read_env_variables
_oce_read_env_variables: ## @oce_read_env_variables
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq $0, 8(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _oce_max_rsp_handled,4,2 ## @oce_max_rsp_handled
.comm _oce_rq_buf_size,4,2 ## @oce_rq_buf_size
.no_dead_strip _oce_read_env_variables
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function oce_read_env_variables
_oce_read_env_variables: ; @oce_read_env_variables
.cfi_startproc
; %bb.0:
str xzr, [x0, #8]
ret
.cfi_endproc
; -- End function
.comm _oce_max_rsp_handled,4,2 ; @oce_max_rsp_handled
.comm _oce_rq_buf_size,4,2 ; @oce_rq_buf_size
.no_dead_strip _oce_read_env_variables
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/oce/extr_oce_if.c_oce_read_env_variables.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _xdr_bitmap4 ## -- Begin function xdr_bitmap4
.p2align 4, 0x90
_xdr_bitmap4: ## @xdr_bitmap4
.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
movq (%rdi), %rax
movq _XDR_ENCODE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.1:
movl (%rbx), %esi
cmpl $4, %esi
jl LBB0_7
## %bb.2:
leaq L_.str(%rip), %rdi
callq _eprintf
movq _FALSE@GOTPCREL(%rip), %r15
jmp LBB0_18
LBB0_3:
movq _XDR_DECODE@GOTPCREL(%rip), %rcx
movq _FALSE@GOTPCREL(%rip), %r15
cmpq (%rcx), %rax
jne LBB0_18
## %bb.4:
movq %r14, %rdi
movq %rbx, %rsi
callq _xdr_u_int32_t
testl %eax, %eax
je LBB0_18
## %bb.5:
movl (%rbx), %esi
cmpl $3, %esi
jle LBB0_12
## %bb.6:
leaq L_.str.1(%rip), %rdi
callq _eprintf
jmp LBB0_18
LBB0_7:
movq %r14, %rdi
movq %rbx, %rsi
callq _xdr_u_int32_t
movq _FALSE@GOTPCREL(%rip), %r15
testl %eax, %eax
je LBB0_18
## %bb.8:
xorl %r12d, %r12d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rsi
addq %r12, %rsi
movq %r14, %rdi
callq _xdr_u_int32_t
testl %eax, %eax
je LBB0_18
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
incq %r13
movslq (%rbx), %rax
addq $4, %r12
cmpq %rax, %r13
jbe LBB0_9
jmp LBB0_11
LBB0_12:
movq _TRUE@GOTPCREL(%rip), %rax
testl %esi, %esi
je LBB0_17
## %bb.13:
xorl %r13d, %r13d
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rsi
addq %r13, %rsi
movq %r14, %rdi
callq _xdr_u_int32_t
testl %eax, %eax
je LBB0_18
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
incq %r12
movslq (%rbx), %rax
addq $4, %r13
cmpq %rax, %r12
jb LBB0_14
LBB0_11:
movq _TRUE@GOTPCREL(%rip), %r15
jmp LBB0_18
LBB0_17:
movq %rax, %r15
LBB0_18:
movl (%r15), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XDR_ENCODE,8,3 ## @XDR_ENCODE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "encode_bitmap4: count (%d) must be <= 3\n"
.comm _FALSE,4,2 ## @FALSE
.comm _XDR_DECODE,8,3 ## @XDR_DECODE
L_.str.1: ## @.str.1
.asciz "decode_bitmap4: count (%d) must be <= 3\n"
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _xdr_bitmap4 ; -- Begin function xdr_bitmap4
.p2align 2
_xdr_bitmap4: ; @xdr_bitmap4
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
ldr x8, [x0]
Lloh0:
adrp x9, _XDR_ENCODE@GOTPAGE
Lloh1:
ldr x9, [x9, _XDR_ENCODE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_3
; %bb.1:
ldr w1, [x19]
cmp w1, #4
b.lt LBB0_8
; %bb.2:
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
b LBB0_7
LBB0_3:
Lloh5:
adrp x9, _XDR_DECODE@GOTPAGE
Lloh6:
ldr x9, [x9, _XDR_DECODE@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_12
; %bb.4:
mov x0, x20
mov x1, x19
bl _xdr_u_int32_t
cbz w0, LBB0_12
; %bb.5:
ldr w1, [x19]
cmp w1, #3
b.le LBB0_14
; %bb.6:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
LBB0_7:
bl _eprintf
b LBB0_12
LBB0_8:
mov x0, x20
mov x1, x19
bl _xdr_u_int32_t
cbz w0, LBB0_12
; %bb.9:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
Lloh10:
adrp x24, _FALSE@GOTPAGE
Lloh11:
ldr x24, [x24, _FALSE@GOTPAGEOFF]
Lloh12:
adrp x21, _TRUE@GOTPAGE
Lloh13:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x1, x8, x22
mov x0, x20
bl _xdr_u_int32_t
cbz w0, LBB0_18
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
add x23, x23, #1
ldrsw x8, [x19]
add x22, x22, #4
cmp x23, x8
b.ls LBB0_10
b LBB0_13
LBB0_12:
Lloh14:
adrp x21, _FALSE@GOTPAGE
Lloh15:
ldr x21, [x21, _FALSE@GOTPAGEOFF]
LBB0_13:
ldr w0, [x21]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_14:
cbz w1, LBB0_19
; %bb.15:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
Lloh16:
adrp x24, _FALSE@GOTPAGE
Lloh17:
ldr x24, [x24, _FALSE@GOTPAGEOFF]
Lloh18:
adrp x21, _TRUE@GOTPAGE
Lloh19:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
LBB0_16: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
add x1, x8, x22
mov x0, x20
bl _xdr_u_int32_t
cbz w0, LBB0_18
; %bb.17: ; in Loop: Header=BB0_16 Depth=1
add x23, x23, #1
ldrsw x8, [x19]
add x22, x22, #4
cmp x23, x8
b.lo LBB0_16
b LBB0_13
LBB0_18:
mov x21, x24
b LBB0_13
LBB0_19:
Lloh20:
adrp x21, _TRUE@GOTPAGE
Lloh21:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
b LBB0_13
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _XDR_ENCODE,8,3 ; @XDR_ENCODE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "encode_bitmap4: count (%d) must be <= 3\n"
.comm _FALSE,4,2 ; @FALSE
.comm _XDR_DECODE,8,3 ; @XDR_DECODE
l_.str.1: ; @.str.1
.asciz "decode_bitmap4: count (%d) must be <= 3\n"
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| assembly_file_88581.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DeleteAllUserListCache ## -- Begin function DeleteAllUserListCache
.p2align 4, 0x90
_DeleteAllUserListCache: ## @DeleteAllUserListCache
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _LockList
movq %r14, %rdi
callq _LIST_NUM
testq %rax, %rax
jle LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _LIST_DATA
movq %rax, %rdi
callq _FreeUserListEntry
incq %rbx
movq %r14, %rdi
callq _LIST_NUM
cmpq %rax, %rbx
jl LBB0_3
LBB0_4:
movq %r14, %rdi
callq _DeleteAll
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _UnlockList ## TAILCALL
LBB0_5:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _DeleteAllUserListCache ; -- Begin function DeleteAllUserListCache
.p2align 2
_DeleteAllUserListCache: ; @DeleteAllUserListCache
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
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 _LockList
mov x0, x19
bl _LIST_NUM
cmp x0, #1
b.lt LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _LIST_DATA
bl _FreeUserListEntry
add x20, x20, #1
mov x0, x19
bl _LIST_NUM
cmp x20, x0
b.lt LBB0_3
LBB0_4:
mov x0, x19
bl _DeleteAll
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _UnlockList
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Cedar/extr_Hub.c_DeleteAllUserListCache.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/163364.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_ConvertDefaultLocale
_test_ConvertDefaultLocale: ## @test_ConvertDefaultLocale
.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 _LANG_ENGLISH@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq _SUBLANG_ENGLISH_US@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _SORT_DEFAULT@GOTPCREL(%rip), %r14
movl (%r14), %edx
callq _TEST_LCID
movl (%r15), %edi
movq _SUBLANG_ENGLISH_UK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r14), %edx
callq _TEST_LCID
movq _LANG_JAPANESE@GOTPCREL(%rip), %r13
movl (%r13), %edi
movq _SUBLANG_DEFAULT@GOTPCREL(%rip), %r12
movl (%r12), %esi
movl (%r14), %edx
callq _TEST_LCID
movl (%r13), %edi
movl (%r12), %esi
movq _SORT_JAPANESE_UNICODE@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _TEST_LCID
movl (%r15), %edi
movq _SUBLANG_NEUTRAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r14), %edx
callq _MKLCID
movl %eax, %ebx
movl (%r15), %edi
movl (%r12), %esi
movl (%r14), %edx
callq _MKLCID
movl %ebx, %edi
movl %eax, %esi
callq _LCID_RES
movl (%r13), %edi
movq _SUBLANG_NEUTRAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%r14), %edx
callq _MKLCID
movl %eax, %ebx
movl (%r13), %edi
movl (%r12), %esi
movl (%r14), %edx
callq _MKLCID
movl %ebx, %edi
movl %eax, %esi
callq _LCID_RES
movq _LANG_INVARIANT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r12), %esi
movl (%r14), %edx
callq _TEST_LCID
movq _LANG_SYSTEM_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _SORT_JAPANESE_UNICODE@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
callq _TEST_LCIDLANG
movq _LANG_USER_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rbx), %esi
callq _TEST_LCIDLANG
movq _LOCALE_SYSTEM_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %eax, %eax
callq _GetSystemDefaultLCID
movl %ebx, %edi
movl %eax, %esi
callq _LCID_RES
movq _LOCALE_USER_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %eax, %eax
callq _GetUserDefaultLCID
movl %ebx, %edi
movl %eax, %esi
callq _LCID_RES
movq _LOCALE_NEUTRAL@GOTPCREL(%rip), %rax
movl (%rax), %ebx
xorl %eax, %eax
callq _GetUserDefaultLCID
movl %ebx, %edi
movl %eax, %esi
callq _LCID_RES
movq _LOCALE_INVARIANT@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _ConvertDefaultLocale
movl %eax, %ebx
movl $1, %edi
movl %eax, %edx
cmpl (%r14), %eax
je LBB0_2
## %bb.1:
xorl %edi, %edi
cmpl $1151, %ebx ## imm = 0x47F
sete %dil
callq _broken
xorl %edi, %edi
testq %rax, %rax
setne %dil
movl (%r14), %edx
LBB0_2:
leaq L_.str(%rip), %rsi
movl %ebx, %ecx
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ok ## TAILCALL
.cfi_endproc
## -- End function
.comm _LANG_ENGLISH,4,2 ## @LANG_ENGLISH
.comm _SUBLANG_ENGLISH_US,4,2 ## @SUBLANG_ENGLISH_US
.comm _SORT_DEFAULT,4,2 ## @SORT_DEFAULT
.comm _SUBLANG_ENGLISH_UK,4,2 ## @SUBLANG_ENGLISH_UK
.comm _LANG_JAPANESE,4,2 ## @LANG_JAPANESE
.comm _SUBLANG_DEFAULT,4,2 ## @SUBLANG_DEFAULT
.comm _SORT_JAPANESE_UNICODE,4,2 ## @SORT_JAPANESE_UNICODE
.comm _SUBLANG_NEUTRAL,4,2 ## @SUBLANG_NEUTRAL
.comm _LANG_INVARIANT,4,2 ## @LANG_INVARIANT
.comm _LANG_SYSTEM_DEFAULT,4,2 ## @LANG_SYSTEM_DEFAULT
.comm _LANG_USER_DEFAULT,4,2 ## @LANG_USER_DEFAULT
.comm _LOCALE_SYSTEM_DEFAULT,4,2 ## @LOCALE_SYSTEM_DEFAULT
.comm _LOCALE_USER_DEFAULT,4,2 ## @LOCALE_USER_DEFAULT
.comm _LOCALE_NEUTRAL,4,2 ## @LOCALE_NEUTRAL
.comm _LOCALE_INVARIANT,4,2 ## @LOCALE_INVARIANT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Expected lcid = %08x, got %08x\n"
.no_dead_strip _test_ConvertDefaultLocale
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_ConvertDefaultLocale
_test_ConvertDefaultLocale: ; @test_ConvertDefaultLocale
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x23, _LANG_ENGLISH@GOTPAGE
Lloh1:
ldr x23, [x23, _LANG_ENGLISH@GOTPAGEOFF]
ldr w0, [x23]
Lloh2:
adrp x8, _SUBLANG_ENGLISH_US@GOTPAGE
Lloh3:
ldr x8, [x8, _SUBLANG_ENGLISH_US@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
Lloh5:
adrp x20, _SORT_DEFAULT@GOTPAGE
Lloh6:
ldr x20, [x20, _SORT_DEFAULT@GOTPAGEOFF]
ldr w2, [x20]
bl _TEST_LCID
ldr w0, [x23]
Lloh7:
adrp x8, _SUBLANG_ENGLISH_UK@GOTPAGE
Lloh8:
ldr x8, [x8, _SUBLANG_ENGLISH_UK@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
ldr w2, [x20]
bl _TEST_LCID
Lloh10:
adrp x24, _LANG_JAPANESE@GOTPAGE
Lloh11:
ldr x24, [x24, _LANG_JAPANESE@GOTPAGEOFF]
ldr w0, [x24]
Lloh12:
adrp x22, _SUBLANG_DEFAULT@GOTPAGE
Lloh13:
ldr x22, [x22, _SUBLANG_DEFAULT@GOTPAGEOFF]
ldr w1, [x22]
ldr w2, [x20]
bl _TEST_LCID
ldr w0, [x24]
ldr w1, [x22]
Lloh14:
adrp x21, _SORT_JAPANESE_UNICODE@GOTPAGE
Lloh15:
ldr x21, [x21, _SORT_JAPANESE_UNICODE@GOTPAGEOFF]
ldr w2, [x21]
bl _TEST_LCID
ldr w0, [x23]
Lloh16:
adrp x25, _SUBLANG_NEUTRAL@GOTPAGE
Lloh17:
ldr x25, [x25, _SUBLANG_NEUTRAL@GOTPAGEOFF]
ldr w1, [x25]
ldr w2, [x20]
bl _MKLCID
mov x19, x0
ldr w0, [x23]
ldr w1, [x22]
ldr w2, [x20]
bl _MKLCID
mov x1, x0
mov x0, x19
bl _LCID_RES
ldr w0, [x24]
ldr w1, [x25]
ldr w2, [x20]
bl _MKLCID
mov x19, x0
ldr w0, [x24]
ldr w1, [x22]
ldr w2, [x20]
bl _MKLCID
mov x1, x0
mov x0, x19
bl _LCID_RES
Lloh18:
adrp x8, _LANG_INVARIANT@GOTPAGE
Lloh19:
ldr x8, [x8, _LANG_INVARIANT@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
ldr w1, [x22]
ldr w2, [x20]
bl _TEST_LCID
Lloh21:
adrp x8, _LANG_SYSTEM_DEFAULT@GOTPAGE
Lloh22:
ldr x8, [x8, _LANG_SYSTEM_DEFAULT@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
ldr w1, [x21]
bl _TEST_LCIDLANG
Lloh24:
adrp x8, _LANG_USER_DEFAULT@GOTPAGE
Lloh25:
ldr x8, [x8, _LANG_USER_DEFAULT@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
ldr w1, [x21]
bl _TEST_LCIDLANG
Lloh27:
adrp x8, _LOCALE_SYSTEM_DEFAULT@GOTPAGE
Lloh28:
ldr x8, [x8, _LOCALE_SYSTEM_DEFAULT@GOTPAGEOFF]
Lloh29:
ldr w19, [x8]
bl _GetSystemDefaultLCID
mov x1, x0
mov x0, x19
bl _LCID_RES
Lloh30:
adrp x8, _LOCALE_USER_DEFAULT@GOTPAGE
Lloh31:
ldr x8, [x8, _LOCALE_USER_DEFAULT@GOTPAGEOFF]
Lloh32:
ldr w19, [x8]
bl _GetUserDefaultLCID
mov x1, x0
mov x0, x19
bl _LCID_RES
Lloh33:
adrp x8, _LOCALE_NEUTRAL@GOTPAGE
Lloh34:
ldr x8, [x8, _LOCALE_NEUTRAL@GOTPAGEOFF]
Lloh35:
ldr w19, [x8]
bl _GetUserDefaultLCID
mov x1, x0
mov x0, x19
bl _LCID_RES
Lloh36:
adrp x20, _LOCALE_INVARIANT@GOTPAGE
Lloh37:
ldr x20, [x20, _LOCALE_INVARIANT@GOTPAGEOFF]
ldr w0, [x20]
bl _ConvertDefaultLocale
mov x19, x0
ldr w8, [x20]
cmp w0, w8
b.ne LBB0_2
; %bb.1:
mov w0, #1
mov x2, x19
b LBB0_3
LBB0_2:
cmp w19, #1151
cset w0, eq
bl _broken
cmp x0, #0
cset w0, ne
ldr w2, [x20]
LBB0_3:
Lloh38:
adrp x1, l_.str@PAGE
Lloh39:
add x1, x1, l_.str@PAGEOFF
mov x3, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _ok
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh38, Lloh39
.cfi_endproc
; -- End function
.comm _LANG_ENGLISH,4,2 ; @LANG_ENGLISH
.comm _SUBLANG_ENGLISH_US,4,2 ; @SUBLANG_ENGLISH_US
.comm _SORT_DEFAULT,4,2 ; @SORT_DEFAULT
.comm _SUBLANG_ENGLISH_UK,4,2 ; @SUBLANG_ENGLISH_UK
.comm _LANG_JAPANESE,4,2 ; @LANG_JAPANESE
.comm _SUBLANG_DEFAULT,4,2 ; @SUBLANG_DEFAULT
.comm _SORT_JAPANESE_UNICODE,4,2 ; @SORT_JAPANESE_UNICODE
.comm _SUBLANG_NEUTRAL,4,2 ; @SUBLANG_NEUTRAL
.comm _LANG_INVARIANT,4,2 ; @LANG_INVARIANT
.comm _LANG_SYSTEM_DEFAULT,4,2 ; @LANG_SYSTEM_DEFAULT
.comm _LANG_USER_DEFAULT,4,2 ; @LANG_USER_DEFAULT
.comm _LOCALE_SYSTEM_DEFAULT,4,2 ; @LOCALE_SYSTEM_DEFAULT
.comm _LOCALE_USER_DEFAULT,4,2 ; @LOCALE_USER_DEFAULT
.comm _LOCALE_NEUTRAL,4,2 ; @LOCALE_NEUTRAL
.comm _LOCALE_INVARIANT,4,2 ; @LOCALE_INVARIANT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Expected lcid = %08x, got %08x\n"
.no_dead_strip _test_ConvertDefaultLocale
.subsections_via_symbols
| AnghaBench/reactos/modules/rostests/winetests/kernel32/extr_locale.c_test_ConvertDefaultLocale.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tw5864_handle_frame_task
_tw5864_handle_frame_task: ## @tw5864_handle_frame_task
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _H264_BUF_CNT@GOTPCREL(%rip), %rax
movl (%rax), %r13d
addq $16, %rdi
movq %rdi, -48(%rbp) ## 8-byte Spill
callq _spin_lock_irqsave
movq (%rbx), %r15
cmpq 8(%rbx), %r15
sete %al
testl %r13d, %r13d
sete %cl
orb %al, %cl
jne LBB0_7
## %bb.1:
decl %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 32(%rbx), %r14
leaq (%r14,%r15,8), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq -48(%rbp), %rdi ## 8-byte Reload
callq _spin_unlock_irqrestore
movq 24(%rbx), %rdi
movl 4(%r14,%r15,8), %esi
movq _H264_VLC_BUF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %r12
movl (%r12), %ecx
callq _dma_sync_single_for_cpu
movq 24(%rbx), %rdi
movl (%r14,%r15,8), %esi
movq _H264_MV_BUF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%r12), %ecx
callq _dma_sync_single_for_cpu
movq -56(%rbp), %rdi ## 8-byte Reload
callq _tw5864_handle_frame
movq 24(%rbx), %rdi
movl 4(%r14,%r15,8), %esi
movq _H264_VLC_BUF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%r12), %ecx
callq _dma_sync_single_for_device
movq 24(%rbx), %rdi
movl (%r14,%r15,8), %esi
movq _H264_MV_BUF_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%r12), %ecx
callq _dma_sync_single_for_device
movq -48(%rbp), %rdi ## 8-byte Reload
callq _spin_lock_irqsave
movq (%rbx), %rax
incq %rax
movq _H264_BUF_CNT@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
xorl %edx, %edx
divq %rcx
movq %rdx, %r15
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
movl %edx, %r15d
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %r15, (%rbx)
subl $1, %r13d
setb %al
cmpq 8(%rbx), %r15
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
testb %al, %al
je LBB0_2
LBB0_7:
movq -48(%rbp), %rdi ## 8-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.comm _H264_BUF_CNT,4,2 ## @H264_BUF_CNT
.comm _H264_VLC_BUF_SIZE,4,2 ## @H264_VLC_BUF_SIZE
.comm _DMA_FROM_DEVICE,4,2 ## @DMA_FROM_DEVICE
.comm _H264_MV_BUF_SIZE,4,2 ## @H264_MV_BUF_SIZE
.no_dead_strip _tw5864_handle_frame_task
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tw5864_handle_frame_task
_tw5864_handle_frame_task: ; @tw5864_handle_frame_task
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x0
Lloh0:
adrp x21, _H264_BUF_CNT@GOTPAGE
Lloh1:
ldr x21, [x21, _H264_BUF_CNT@GOTPAGEOFF]
ldr w20, [x21]
add x0, x0, #16
bl _spin_lock_irqsave
ldp x8, x9, [x19]
cmp x8, x9
ccmp w20, #0, #4, ne
b.eq LBB0_3
; %bb.1:
sub w22, w20, #1
Lloh2:
adrp x23, _H264_VLC_BUF_SIZE@GOTPAGE
Lloh3:
ldr x23, [x23, _H264_VLC_BUF_SIZE@GOTPAGEOFF]
Lloh4:
adrp x24, _DMA_FROM_DEVICE@GOTPAGE
Lloh5:
ldr x24, [x24, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh6:
adrp x25, _H264_MV_BUF_SIZE@GOTPAGE
Lloh7:
ldr x25, [x25, _H264_MV_BUF_SIZE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #32]
add x20, x9, x8, lsl #3
add x0, x19, #16
bl _spin_unlock_irqrestore
ldr x0, [x19, #24]
ldr w1, [x20, #4]
ldr w2, [x23]
ldr w3, [x24]
bl _dma_sync_single_for_cpu
ldr x0, [x19, #24]
ldr w1, [x20]
ldr w2, [x25]
ldr w3, [x24]
bl _dma_sync_single_for_cpu
mov x0, x20
bl _tw5864_handle_frame
ldr x0, [x19, #24]
ldr w1, [x20, #4]
ldr w2, [x23]
ldr w3, [x24]
bl _dma_sync_single_for_device
ldr x0, [x19, #24]
ldr w1, [x20]
ldr w2, [x25]
ldr w3, [x24]
bl _dma_sync_single_for_device
add x0, x19, #16
bl _spin_lock_irqsave
ldp x8, x9, [x19]
add x8, x8, #1
ldrsw x10, [x21]
udiv x11, x8, x10
msub x8, x11, x10, x8
str x8, [x19]
cmp x8, x9
ccmp w22, #0, #4, ne
sub w22, w22, #1
b.ne LBB0_2
LBB0_3:
add x0, x19, #16
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _spin_unlock_irqrestore
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _H264_BUF_CNT,4,2 ; @H264_BUF_CNT
.comm _H264_VLC_BUF_SIZE,4,2 ; @H264_VLC_BUF_SIZE
.comm _DMA_FROM_DEVICE,4,2 ; @DMA_FROM_DEVICE
.comm _H264_MV_BUF_SIZE,4,2 ; @H264_MV_BUF_SIZE
.no_dead_strip _tw5864_handle_frame_task
.subsections_via_symbols
| assembly_file_30175.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fdfs_http_get_file_extension ## -- Begin function fdfs_http_get_file_extension
.p2align 4, 0x90
_fdfs_http_get_file_extension: ## @fdfs_http_get_file_extension
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq %esi, %rsi
leaq (%rdi,%rsi), %r8
movq _FDFS_FILE_EXT_NAME_MAX_LEN@GOTPCREL(%rip), %rax
movl (%rax), %r9d
testl %r9d, %r9d
setg %cl
jle LBB0_1
## %bb.2:
leaq (%rdi,%rsi), %r10
decq %r10
movq %r8, %rax
cmpq %rdi, %r10
jb LBB0_10
## %bb.3:
cmpb $46, (%r10)
movq %r8, %rax
je LBB0_11
## %bb.4:
leaq (%rsi,%rdi), %rax
addq $-2, %rax
movl $1, %esi
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
cmpl %r9d, %esi
setl %cl
jge LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpq %rdi, %rax
jb LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
incl %esi
leaq -1(%rax), %rcx
cmpb $46, (%rax)
movq %rcx, %rax
jne LBB0_5
## %bb.8:
addq $2, %rcx
movq %rcx, %rax
jmp LBB0_11
LBB0_1:
movq %r8, %rax
LBB0_10:
testb %cl, %cl
je LBB0_13
LBB0_11:
subq %rax, %r8
jmp LBB0_12
LBB0_9:
incq %rax
testb %cl, %cl
jne LBB0_11
LBB0_13:
xorl %r8d, %r8d
xorl %eax, %eax
LBB0_12:
movl %r8d, (%rdx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FDFS_FILE_EXT_NAME_MAX_LEN,4,2 ## @FDFS_FILE_EXT_NAME_MAX_LEN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fdfs_http_get_file_extension ; -- Begin function fdfs_http_get_file_extension
.p2align 2
_fdfs_http_get_file_extension: ; @fdfs_http_get_file_extension
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
mov x8, x0
sxtw x11, w1
add x9, x0, x11
mov x0, x9
Lloh0:
adrp x10, _FDFS_FILE_EXT_NAME_MAX_LEN@GOTPAGE
Lloh1:
ldr x10, [x10, _FDFS_FILE_EXT_NAME_MAX_LEN@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
sub x12, x9, #1
cmp w10, #0
cset w13, gt
cmp w10, #1
ccmp x12, x8, #0, ge
b.lo LBB0_8
; %bb.1:
ldrb w12, [x12]
cmp w12, #46
b.eq LBB0_9
; %bb.2:
add x11, x11, x8
sub x11, x11, #2
mov w12, #1
LBB0_3: ; =>This Inner Loop Header: Depth=1
cmp w12, w10
cset w13, lt
b.ge LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cmp x11, x8
b.lo LBB0_7
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldrb w13, [x11], #-1
add w12, w12, #1
cmp w13, #46
b.ne LBB0_3
; %bb.6:
add x0, x11, #2
b LBB0_9
LBB0_7:
add x0, x11, #1
LBB0_8:
cbz w13, LBB0_10
LBB0_9:
sub x8, x9, x0
str w8, [x2]
ret
LBB0_10:
mov w8, #0
mov x0, #0
str w8, [x2]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FDFS_FILE_EXT_NAME_MAX_LEN,4,2 ; @FDFS_FILE_EXT_NAME_MAX_LEN
.subsections_via_symbols
| AnghaBench/fastdfs/common/extr_fdfs_http_shared.c_fdfs_http_get_file_extension.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function zfcp_qdio_real_bytes
_zfcp_qdio_real_bytes: ## @zfcp_qdio_real_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rdi, %rax
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
addl (%rax), %ebx
movq %rax, %rdi
callq _sg_next
testq %rax, %rax
jne LBB0_3
jmp LBB0_4
LBB0_1:
xorl %ebx, %ebx
LBB0_4:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _zfcp_qdio_real_bytes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function zfcp_qdio_real_bytes
_zfcp_qdio_real_bytes: ; @zfcp_qdio_real_bytes
.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 w19, #0
cbz x0, LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [x0]
add w19, w19, w8
bl _sg_next
cbnz x0, LBB0_1
LBB0_2:
mov x0, x19
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 _zfcp_qdio_real_bytes
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_fsf.c_zfcp_qdio_real_bytes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dma_sync_desc_dev
_dma_sync_desc_dev: ## @dma_sync_desc_dev
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %edi
movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $4, %edx
popq %rbp
jmp _dma_cache_sync ## TAILCALL
.cfi_endproc
## -- End function
.comm _DMA_TO_DEVICE,4,2 ## @DMA_TO_DEVICE
.no_dead_strip _dma_sync_desc_dev
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dma_sync_desc_dev
_dma_sync_desc_dev: ; @dma_sync_desc_dev
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
ldr x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
ldr w0, [x0]
Lloh2:
ldr w3, [x8]
mov w2, #4
b _dma_cache_sync
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _DMA_TO_DEVICE,4,2 ; @DMA_TO_DEVICE
.no_dead_strip _dma_sync_desc_dev
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/extr_sgiseeq.c_dma_sync_desc_dev.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function send_cb
_send_cb: ## @send_cb
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _send_cb_called@GOTPCREL(%rip), %rax
incl (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _send_cb_called,4,2 ## @send_cb_called
.no_dead_strip _send_cb
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function send_cb
_send_cb: ; @send_cb
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _send_cb_called@GOTPAGE
Lloh1:
ldr x8, [x8, _send_cb_called@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _send_cb_called,4,2 ; @send_cb_called
.no_dead_strip _send_cb
.subsections_via_symbols
| AnghaBench/libuv/test/extr_test-watcher-cross-stop.c_send_cb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_ps3_free_irq
_snd_ps3_free_irq: ## @snd_ps3_free_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movq _the_card@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
movq %rbx, %rsi
callq _free_irq
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ps3_irq_plug_destroy ## TAILCALL
.cfi_endproc
## -- End function
.comm _the_card,4,2 ## @the_card
.no_dead_strip _snd_ps3_free_irq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_ps3_free_irq
_snd_ps3_free_irq: ; @snd_ps3_free_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 x19, _the_card@GOTPAGE
Lloh1:
ldr x19, [x19, _the_card@GOTPAGEOFF]
ldr w0, [x19]
mov x1, x19
bl _free_irq
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ps3_irq_plug_destroy
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _the_card,4,2 ; @the_card
.no_dead_strip _snd_ps3_free_irq
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/ppc/extr_snd_ps3.c_snd_ps3_free_irq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rh_urb_enqueue
_rh_urb_enqueue: ## @rh_urb_enqueue
.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 _usb_endpoint_xfer_int
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _rh_queue_status ## TAILCALL
LBB0_1:
movq (%rbx), %rdi
callq _usb_endpoint_xfer_control
testq %rax, %rax
je LBB0_2
## %bb.4:
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _rh_call_control ## TAILCALL
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _rh_urb_enqueue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rh_urb_enqueue
_rh_urb_enqueue: ; @rh_urb_enqueue
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr x0, [x1]
bl _usb_endpoint_xfer_int
cbz x0, LBB0_2
; %bb.1:
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 _rh_queue_status
LBB0_2:
ldr x0, [x19]
bl _usb_endpoint_xfer_control
cbz x0, LBB0_4
; %bb.3:
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _rh_call_control
LBB0_4:
Lloh0:
adrp x8, _EINVAL@GOTPAGE
Lloh1:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
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 _rh_urb_enqueue
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/usb/core/extr_hcd.c_rh_urb_enqueue.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fc_exch_init ## -- Begin function fc_exch_init
.p2align 4, 0x90
_fc_exch_init: ## @fc_exch_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, (%rdi)
jne LBB0_2
## %bb.1:
movq _fc_exch_mgr_reset@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rdi)
LBB0_2:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _fc_exch_mgr_reset,8,3 ## @fc_exch_mgr_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fc_exch_init ; -- Begin function fc_exch_init
.p2align 2
_fc_exch_init: ; @fc_exch_init
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
mov w0, #0
ret
LBB0_2:
Lloh0:
adrp x8, _fc_exch_mgr_reset@GOTPAGE
Lloh1:
ldr x8, [x8, _fc_exch_mgr_reset@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [x0]
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _fc_exch_mgr_reset,8,3 ; @fc_exch_mgr_reset
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/libfc/extr_fc_exch.c_fc_exch_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvenc_map_buffer_format
_nvenc_map_buffer_format: ## @nvenc_map_buffer_format
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addl $-128, %edi
cmpl $7, %edi
ja LBB0_1
## %bb.2:
movslq %edi, %rax
leaq l_switch.table.nvenc_map_buffer_format(%rip), %rcx
movq (%rcx,%rax,8), %rax
jmp LBB0_3
LBB0_1:
movq _NV_ENC_BUFFER_FORMAT_UNDEFINED@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NV_ENC_BUFFER_FORMAT_YV12_PL,4,2 ## @NV_ENC_BUFFER_FORMAT_YV12_PL
.comm _NV_ENC_BUFFER_FORMAT_NV12_PL,4,2 ## @NV_ENC_BUFFER_FORMAT_NV12_PL
.comm _NV_ENC_BUFFER_FORMAT_YUV420_10BIT,4,2 ## @NV_ENC_BUFFER_FORMAT_YUV420_10BIT
.comm _NV_ENC_BUFFER_FORMAT_YUV444_PL,4,2 ## @NV_ENC_BUFFER_FORMAT_YUV444_PL
.comm _NV_ENC_BUFFER_FORMAT_YUV444_10BIT,4,2 ## @NV_ENC_BUFFER_FORMAT_YUV444_10BIT
.comm _NV_ENC_BUFFER_FORMAT_ARGB,4,2 ## @NV_ENC_BUFFER_FORMAT_ARGB
.comm _NV_ENC_BUFFER_FORMAT_ABGR,4,2 ## @NV_ENC_BUFFER_FORMAT_ABGR
.comm _NV_ENC_BUFFER_FORMAT_UNDEFINED,4,2 ## @NV_ENC_BUFFER_FORMAT_UNDEFINED
.no_dead_strip _nvenc_map_buffer_format
.section __DATA,__const
.p2align 3 ## @switch.table.nvenc_map_buffer_format
l_switch.table.nvenc_map_buffer_format:
.quad _NV_ENC_BUFFER_FORMAT_YUV444_10BIT
.quad _NV_ENC_BUFFER_FORMAT_YUV444_PL
.quad _NV_ENC_BUFFER_FORMAT_YV12_PL
.quad _NV_ENC_BUFFER_FORMAT_YUV420_10BIT
.quad _NV_ENC_BUFFER_FORMAT_YUV420_10BIT
.quad _NV_ENC_BUFFER_FORMAT_NV12_PL
.quad _NV_ENC_BUFFER_FORMAT_ARGB
.quad _NV_ENC_BUFFER_FORMAT_ABGR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvenc_map_buffer_format
_nvenc_map_buffer_format: ; @nvenc_map_buffer_format
.cfi_startproc
; %bb.0:
sub w8, w0, #128
cmp w8, #7
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.nvenc_map_buffer_format@PAGE
Lloh1:
add x9, x9, l_switch.table.nvenc_map_buffer_format@PAGEOFF
ldr x8, [x9, w8, sxtw #3]
ldr w0, [x8]
ret
LBB0_2:
Lloh2:
adrp x8, _NV_ENC_BUFFER_FORMAT_UNDEFINED@GOTPAGE
Lloh3:
ldr x8, [x8, _NV_ENC_BUFFER_FORMAT_UNDEFINED@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _NV_ENC_BUFFER_FORMAT_YV12_PL,4,2 ; @NV_ENC_BUFFER_FORMAT_YV12_PL
.comm _NV_ENC_BUFFER_FORMAT_NV12_PL,4,2 ; @NV_ENC_BUFFER_FORMAT_NV12_PL
.comm _NV_ENC_BUFFER_FORMAT_YUV420_10BIT,4,2 ; @NV_ENC_BUFFER_FORMAT_YUV420_10BIT
.comm _NV_ENC_BUFFER_FORMAT_YUV444_PL,4,2 ; @NV_ENC_BUFFER_FORMAT_YUV444_PL
.comm _NV_ENC_BUFFER_FORMAT_YUV444_10BIT,4,2 ; @NV_ENC_BUFFER_FORMAT_YUV444_10BIT
.comm _NV_ENC_BUFFER_FORMAT_ARGB,4,2 ; @NV_ENC_BUFFER_FORMAT_ARGB
.comm _NV_ENC_BUFFER_FORMAT_ABGR,4,2 ; @NV_ENC_BUFFER_FORMAT_ABGR
.comm _NV_ENC_BUFFER_FORMAT_UNDEFINED,4,2 ; @NV_ENC_BUFFER_FORMAT_UNDEFINED
.no_dead_strip _nvenc_map_buffer_format
.section __DATA,__const
.p2align 3 ; @switch.table.nvenc_map_buffer_format
l_switch.table.nvenc_map_buffer_format:
.quad _NV_ENC_BUFFER_FORMAT_YUV444_10BIT
.quad _NV_ENC_BUFFER_FORMAT_YUV444_PL
.quad _NV_ENC_BUFFER_FORMAT_YV12_PL
.quad _NV_ENC_BUFFER_FORMAT_YUV420_10BIT
.quad _NV_ENC_BUFFER_FORMAT_YUV420_10BIT
.quad _NV_ENC_BUFFER_FORMAT_NV12_PL
.quad _NV_ENC_BUFFER_FORMAT_ARGB
.quad _NV_ENC_BUFFER_FORMAT_ABGR
.subsections_via_symbols
| AnghaBench/FFmpeg/libavcodec/extr_nvenc.c_nvenc_map_buffer_format.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rum_parent
_rum_parent: ## @rum_parent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq 16(%rdi), %rbx
addq $8, %rdi
callq _TAILQ_FIRST
movq %rax, %r14
movq %rbx, %rdi
callq _RUM_LOCK
movq (%rbx), %r12
movq %rbx, %rdi
callq _RUM_UNLOCK
testq %r12, %r12
je LBB0_1
## %bb.5:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_1:
cmpq $0, (%r15)
jle LBB0_4
## %bb.2:
movq %rbx, %rdi
callq _rum_init
testq %rax, %rax
je LBB0_6
## %bb.3:
movq %r14, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ieee80211_stop ## TAILCALL
LBB0_4:
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _rum_stop ## TAILCALL
LBB0_6:
movq %r15, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _ieee80211_start_all ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rum_parent
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rum_parent
_rum_parent: ; @rum_parent
.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 x21, [x0, #16]
add x0, x0, #8
bl _TAILQ_FIRST
mov x20, x0
mov x0, x21
bl _RUM_LOCK
ldr x22, [x21]
mov x0, x21
bl _RUM_UNLOCK
cbz x22, LBB0_2
; %bb.1:
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_2:
ldr x8, [x19]
mov x0, x21
cmp x8, #1
b.lt LBB0_5
; %bb.3:
bl _rum_init
cbz x0, LBB0_6
; %bb.4:
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 _ieee80211_stop
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
b _rum_stop
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ieee80211_start_all
.cfi_endproc
; -- End function
.no_dead_strip _rum_parent
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/usb/wlan/extr_if_rum.c_rum_parent.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function process_fields
_process_fields: ## @process_fields
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movq %rdi, %r14
movq %rdx, -56(%rbp) ## 8-byte Spill
movq (%rdx), %rax
movq %rax, -48(%rbp)
leaq -48(%rbp), %r15
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -48(%rbp), %rdi
callq _free_token
movq %r15, %rdi
callq _read_token_item
movl %eax, %ebx
movq -48(%rbp), %rsi
movq _TEP_EVENT_OP@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ebx, %edi
leaq L_.str(%rip), %rcx
callq _test_type_token
testq %rax, %rax
jne LBB0_17
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq _alloc_arg
testq %rax, %rax
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rbx
movq -48(%rbp), %rdi
callq _free_token
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _process_arg
movq _TEP_EVENT_OP@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _process_op
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq _TEP_EVENT_ERROR@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_19
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rsi
movq _TEP_EVENT_DELIM@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
leaq L_.str.1(%rip), %rcx
callq _test_type_token
testq %rax, %rax
jne LBB0_19
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movl $1, %edi
movl $24, %esi
callq _calloc
testq %rax, %rax
je LBB0_19
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %r12
movq %rbx, %rdi
callq _arg_eval
testq %rax, %rax
jne LBB0_18
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
xorl %edi, %edi
callq _strdup
movq %rax, 16(%r12)
testq %rax, %rax
je LBB0_18
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _free_arg
xorl %eax, %eax
callq _alloc_arg
testq %rax, %rax
je LBB0_3
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rbx
movq -48(%rbp), %rdi
callq _free_token
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _process_arg
movq -48(%rbp), %rsi
movq _TEP_EVENT_OP@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movl %eax, %edi
leaq L_.str.2(%rip), %rcx
callq _test_type_token
testq %rax, %rax
jne LBB0_18
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _arg_eval
testq %rax, %rax
je LBB0_18
## %bb.14: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rdi
callq _strdup
movq %rax, 8(%r12)
testq %rax, %rax
je LBB0_18
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _free_arg
movq %r12, (%r13)
movq -48(%rbp), %rdi
callq _free_token
movq %r15, %rdi
callq _read_token_item
movl %eax, %ebx
movq _TEP_EVENT_DELIM@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
jne LBB0_17
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcmp
movq %r12, %r13
testq %rax, %rax
je LBB0_1
LBB0_17:
movq -48(%rbp), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
jmp LBB0_20
LBB0_18:
movq %r12, %rdi
callq _free_flag_sym
jmp LBB0_19
LBB0_3:
xorl %ebx, %ebx
LBB0_19:
movq -56(%rbp), %r14 ## 8-byte Reload
movq %rbx, %rdi
callq _free_arg
movq -48(%rbp), %rdi
callq _free_token
movq $0, (%r14)
movq _TEP_EVENT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %ebx
LBB0_20:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TEP_EVENT_OP,4,2 ## @TEP_EVENT_OP
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "{"
.comm _TEP_EVENT_ERROR,4,2 ## @TEP_EVENT_ERROR
.comm _TEP_EVENT_DELIM,4,2 ## @TEP_EVENT_DELIM
L_.str.1: ## @.str.1
.asciz ","
L_.str.2: ## @.str.2
.asciz "}"
.no_dead_strip _process_fields
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function process_fields
_process_fields: ; @process_fields
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x24, x1
mov x20, x0
ldr x8, [x2]
str x8, [sp, #8]
Lloh0:
adrp x28, _TEP_EVENT_OP@GOTPAGE
Lloh1:
ldr x28, [x28, _TEP_EVENT_OP@GOTPAGEOFF]
Lloh2:
adrp x21, l_.str@PAGE
Lloh3:
add x21, x21, l_.str@PAGEOFF
Lloh4:
adrp x27, _TEP_EVENT_ERROR@GOTPAGE
Lloh5:
ldr x27, [x27, _TEP_EVENT_ERROR@GOTPAGEOFF]
Lloh6:
adrp x23, _TEP_EVENT_DELIM@GOTPAGE
Lloh7:
ldr x23, [x23, _TEP_EVENT_DELIM@GOTPAGEOFF]
Lloh8:
adrp x22, l_.str.1@PAGE
Lloh9:
add x22, x22, l_.str.1@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #8]
bl _free_token
add x0, sp, #8
bl _read_token_item
mov x25, x0
ldr x1, [sp, #8]
ldr w2, [x28]
mov x3, x21
bl _test_type_token
cbnz x0, LBB0_16
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
bl _alloc_arg
mov x25, x0
cbz x0, LBB0_18
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #8]
bl _free_token
add x2, sp, #8
mov x0, x20
mov x1, x25
bl _process_arg
ldr w8, [x28]
cmp w0, w8
b.ne LBB0_5
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
add x2, sp, #8
mov x0, x20
mov x1, x25
bl _process_op
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [x27]
cmp w0, w8
b.eq LBB0_18
; %bb.6: ; in Loop: Header=BB0_1 Depth=1
ldr x1, [sp, #8]
ldr w2, [x23]
mov x3, x22
bl _test_type_token
cbnz x0, LBB0_18
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
mov w0, #1 ; =0x1
mov w1, #24 ; =0x18
bl _calloc
cbz x0, LBB0_18
; %bb.8: ; in Loop: Header=BB0_1 Depth=1
mov x26, x0
mov x0, x25
bl _arg_eval
cbnz x0, LBB0_17
; %bb.9: ; in Loop: Header=BB0_1 Depth=1
bl _strdup
str x0, [x26, #16]
cbz x0, LBB0_17
; %bb.10: ; in Loop: Header=BB0_1 Depth=1
mov x0, x25
bl _free_arg
bl _alloc_arg
mov x25, x0
cbz x0, LBB0_18
; %bb.11: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #8]
bl _free_token
add x2, sp, #8
mov x0, x20
mov x1, x25
bl _process_arg
ldr x1, [sp, #8]
ldr w2, [x28]
Lloh10:
adrp x3, l_.str.2@PAGE
Lloh11:
add x3, x3, l_.str.2@PAGEOFF
bl _test_type_token
cbnz x0, LBB0_17
; %bb.12: ; in Loop: Header=BB0_1 Depth=1
mov x0, x25
bl _arg_eval
cbz x0, LBB0_17
; %bb.13: ; in Loop: Header=BB0_1 Depth=1
bl _strdup
str x0, [x26, #8]
cbz x0, LBB0_17
; %bb.14: ; in Loop: Header=BB0_1 Depth=1
mov x0, x25
bl _free_arg
str x26, [x24]
ldr x0, [sp, #8]
bl _free_token
add x0, sp, #8
bl _read_token_item
mov x25, x0
ldr w8, [x23]
cmp w0, w8
b.ne LBB0_16
; %bb.15: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #8]
mov x1, x22
bl _strcmp
mov x24, x26
cbz x0, LBB0_1
LBB0_16:
ldr x8, [sp, #8]
str x8, [x19]
b LBB0_19
LBB0_17:
mov x0, x26
bl _free_flag_sym
LBB0_18:
mov x0, x25
bl _free_arg
ldr x0, [sp, #8]
bl _free_token
str xzr, [x19]
ldr w25, [x27]
LBB0_19:
mov x0, x25
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 AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _TEP_EVENT_OP,4,2 ; @TEP_EVENT_OP
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "{"
.comm _TEP_EVENT_ERROR,4,2 ; @TEP_EVENT_ERROR
.comm _TEP_EVENT_DELIM,4,2 ; @TEP_EVENT_DELIM
l_.str.1: ; @.str.1
.asciz ","
l_.str.2: ; @.str.2
.asciz "}"
.no_dead_strip _process_fields
.subsections_via_symbols
| assembly_file_59613.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vga_pci_get_dma_tag
_vga_pci_get_dma_tag: ## @vga_pci_get_dma_tag
.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 _bus_get_dma_tag ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _vga_pci_get_dma_tag
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vga_pci_get_dma_tag
_vga_pci_get_dma_tag: ; @vga_pci_get_dma_tag
.cfi_startproc
; %bb.0:
b _bus_get_dma_tag
.cfi_endproc
; -- End function
.no_dead_strip _vga_pci_get_dma_tag
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/pci/extr_vga_pci.c_vga_pci_get_dma_tag.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cleanup_env_baton
_cleanup_env_baton: ## @cleanup_env_baton
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpq $0, (%rdi)
je LBB0_2
## %bb.1:
callq _svn_fs_bdb__close
movl %eax, %edi
callq _svn_error_clear
LBB0_2:
movq _APR_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _APR_SUCCESS,4,2 ## @APR_SUCCESS
.no_dead_strip _cleanup_env_baton
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cleanup_env_baton
_cleanup_env_baton: ; @cleanup_env_baton
.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
ldr x8, [x0]
cbz x8, LBB0_2
; %bb.1:
bl _svn_fs_bdb__close
bl _svn_error_clear
LBB0_2:
Lloh0:
adrp x8, _APR_SUCCESS@GOTPAGE
Lloh1:
ldr x8, [x8, _APR_SUCCESS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _APR_SUCCESS,4,2 ; @APR_SUCCESS
.no_dead_strip _cleanup_env_baton
.subsections_via_symbols
| AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_base/bdb/extr_env.c_cleanup_env_baton.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function src_set_sf
_src_set_sf: ## @src_set_sf
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %esi, %edx
movq %rdi, %rbx
addq $4, %rdi
movq _SRCCTL_SF@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _set_field
movl $1, (%rbx)
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SRCCTL_SF,4,2 ## @SRCCTL_SF
.no_dead_strip _src_set_sf
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function src_set_sf
_src_set_sf: ; @src_set_sf
.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 x2, x1
mov x19, x0
add x0, x0, #4
Lloh0:
adrp x8, _SRCCTL_SF@GOTPAGE
Lloh1:
ldr x8, [x8, _SRCCTL_SF@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _set_field
mov w8, #1
str w8, [x19]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SRCCTL_SF,4,2 ; @SRCCTL_SF
.no_dead_strip _src_set_sf
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/ctxfi/extr_cthw20k2.c_src_set_sf.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _matrix,8,3 ## @matrix
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _matrix,8,3 ; @matrix
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/kmini/extr_matrix.c_matrix_get_row.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _file_list_add ## -- Begin function file_list_add
.p2align 4, 0x90
_file_list_add: ## @file_list_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testq %rdi, %rdi
je LBB0_9
## %bb.1:
movq %rsi, %r14
testq %rsi, %rsi
je LBB0_9
## %bb.2:
movl %edx, %r15d
movq %rdi, %rbx
movq 8(%rdi), %rcx
movq 16(%rdi), %rax
cmpq %rcx, (%rdi)
jae LBB0_5
## %bb.3:
testq %rax, %rax
jne LBB0_6
## %bb.4:
xorl %eax, %eax
LBB0_5:
leaq (%rcx,%rcx), %rsi
incq %rsi
movq %rsi, 8(%rbx)
shll $3, %esi
movq %rax, %rdi
## kill: def $esi killed $esi killed $rsi
callq _sort_realloc
movq %rax, 16(%rbx)
LBB0_6:
testl %r15d, %r15d
je LBB0_8
## %bb.7:
movq %r14, %rdi
callq _sort_strdup
movq %rax, %r14
movq 16(%rbx), %rax
LBB0_8:
movq (%rbx), %rcx
movq %r14, (%rax,%rcx,8)
incq %rcx
movq %rcx, (%rbx)
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _file_list_add ; -- Begin function file_list_add
.p2align 2
_file_list_add: ; @file_list_add
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cbz x0, LBB0_8
; %bb.1:
mov x20, x1
cbz x1, LBB0_8
; %bb.2:
mov x21, x2
mov x19, x0
ldp x9, x8, [x0]
ldr x0, [x0, #16]
cmp x9, x8
b.hs LBB0_4
; %bb.3:
cbnz x0, LBB0_5
LBB0_4:
mov w9, #1
bfi x9, x8, #1, #63
str x9, [x19, #8]
lsl w1, w9, #3
bl _sort_realloc
str x0, [x19, #16]
LBB0_5:
cbz w21, LBB0_7
; %bb.6:
mov x0, x20
bl _sort_strdup
mov x20, x0
ldr x0, [x19, #16]
LBB0_7:
ldr x8, [x19]
str x20, [x0, x8, lsl #3]
add x8, x8, #1
str x8, [x19]
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/sort/extr_file.c_file_list_add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function filter_opstack_push
_filter_opstack_push: ## @filter_opstack_push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq %rdi, %r14
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $8, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movl %ebx, (%rax)
addq $4, %rax
movq %rax, %rdi
movq %r14, %rsi
callq _list_add
xorl %eax, %eax
jmp LBB0_3
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _filter_opstack_push
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function filter_opstack_push
_filter_opstack_push: ; @filter_opstack_push
.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
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #8
bl _kmalloc
cbz x0, LBB0_2
; %bb.1:
str w20, [x0], #4
mov x1, x19
bl _list_add
mov w0, #0
b LBB0_3
LBB0_2:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w0, w8
LBB0_3:
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
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _filter_opstack_push
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/trace/extr_trace_events_filter.c_filter_opstack_push.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ssef ## -- Begin function ssef
.p2align 4, 0x90
_ssef: ## @ssef
.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 _ssed ## -- Begin function ssed
.p2align 4, 0x90
_ssed: ## @ssed
.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 _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq _f@GOTPCREL(%rip), %rbx
movss (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
callq _essef
movss %xmm0, (%rbx)
movq _d@GOTPCREL(%rip), %rbx
movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero
callq _essed
movsd %xmm0, (%rbx)
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 _ssef ; -- Begin function ssef
.p2align 2
_ssef: ; @ssef
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _ssed ; -- Begin function ssed
.p2align 2
_ssed: ; @ssed
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x19, _f@GOTPAGE
Lloh1:
ldr x19, [x19, _f@GOTPAGEOFF]
ldr s0, [x19]
bl _essef
str s0, [x19]
Lloh2:
adrp x19, _d@GOTPAGE
Lloh3:
ldr x19, [x19, _d@GOTPAGEOFF]
ldr d0, [x19]
bl _essed
str d0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/4601.c | stack |
.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/43887282.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function netvsc_send_pkt
_netvsc_send_pkt: ## @netvsc_send_pkt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, %r12
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdx, -88(%rbp) ## 8-byte Spill
movq 8(%rdx), %rax
movq (%rsi), %r13
shlq $4, %r13
movq %rax, -72(%rbp) ## 8-byte Spill
movq 8(%rax,%r13), %r14
callq _hv_get_drvdata
movq %rax, %r15
movq %rax, %rdi
callq _netdev_priv
movq %rax, -48(%rbp) ## 8-byte Spill
movq (%rbx), %rsi
movq %r15, %rdi
callq _netdev_get_tx_queue
movq %rax, -56(%rbp) ## 8-byte Spill
leaq 8(%r14), %rdi
callq _hv_get_avail_to_write_percent
movq _NVSP_MSG1_TYPE_SEND_RNDIS_PKT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, -120(%rbp)
xorl %ecx, %ecx
testq %r12, %r12
sete %cl
movl %ecx, -112(%rbp)
movq 8(%rbx), %rdx
movq %rdx, -104(%rbp)
movq _NETVSC_INVALID_INDEX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rdx
jne LBB0_2
## %bb.1:
xorl %ecx, %ecx
jmp LBB0_3
LBB0_2:
movq 16(%rbx), %rcx
LBB0_3:
movq %rcx, -96(%rbp)
cmpq $0, (%r14)
je LBB0_5
## %bb.4:
movq _ENODEV@GOTPCREL(%rip), %rax
LBB0_22:
xorl %r12d, %r12d
subl (%rax), %r12d
LBB0_23:
movl %r12d, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movq %rax, -80(%rbp) ## 8-byte Spill
leaq -112(%rbp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq _trace_nvsp_send_pkt
movl 24(%rbx), %edx
testl %edx, %edx
je LBB0_10
## %bb.6:
cmpq $0, 32(%rbx)
je LBB0_7
## %bb.8:
movslq 28(%rbx), %rax
movq -64(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rax,4), %rsi
jmp LBB0_9
LBB0_10:
movq _VM_PKT_DATA_INBAND@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq -120(%rbp), %rsi
movq %r14, %rdi
movl $32, %edx
movq %r12, %rcx
callq _vmbus_sendpacket
jmp LBB0_11
LBB0_7:
movq -64(%rbp), %rsi ## 8-byte Reload
LBB0_9:
leaq -120(%rbp), %rcx
movq %r14, %rdi
movl $32, %r8d
movq %r12, %r9
callq _vmbus_sendpacket_pagebuffer
LBB0_11:
movl %eax, %r12d
movq -72(%rbp), %r14 ## 8-byte Reload
addq %r13, %r14
testl %eax, %eax
je LBB0_12
## %bb.14:
movq _EAGAIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r12d, %eax
jne LBB0_16
## %bb.15:
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_13
LBB0_12:
movq %r14, %rdi
callq _atomic_inc_return
movq _RING_AVAIL_PERCENT_LOWATER@GOTPCREL(%rip), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
cmpq (%rax), %rcx
movq -56(%rbp), %rbx ## 8-byte Reload
jge LBB0_17
LBB0_13:
movq %rbx, %rdi
callq _netif_tx_stop_queue
movq -48(%rbp), %rax ## 8-byte Reload
incl 4(%rax)
jmp LBB0_17
LBB0_16:
movl 24(%rbx), %edx
movq 16(%rbx), %rcx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
movl %r12d, %r8d
callq _netdev_err
movq -56(%rbp), %rbx ## 8-byte Reload
LBB0_17:
movq %rbx, %rdi
callq _netif_tx_queue_stopped
testq %rax, %rax
je LBB0_23
## %bb.18:
movq %r14, %rdi
callq _atomic_read
testl %eax, %eax
jg LBB0_23
## %bb.19:
movq -88(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax)
jne LBB0_23
## %bb.20:
movq %rbx, %rdi
callq _netif_tx_wake_queue
movq -48(%rbp), %rax ## 8-byte Reload
incl (%rax)
movq _EAGAIN@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r12d, %eax
jne LBB0_23
## %bb.21:
movq _ENOSPC@GOTPCREL(%rip), %rax
jmp LBB0_22
.cfi_endproc
## -- End function
.comm _NVSP_MSG1_TYPE_SEND_RNDIS_PKT,4,2 ## @NVSP_MSG1_TYPE_SEND_RNDIS_PKT
.comm _NETVSC_INVALID_INDEX,8,3 ## @NETVSC_INVALID_INDEX
.comm _ENODEV,4,2 ## @ENODEV
.comm _VM_PKT_DATA_INBAND,4,2 ## @VM_PKT_DATA_INBAND
.comm _VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED,4,2 ## @VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED
.comm _RING_AVAIL_PERCENT_LOWATER,8,3 ## @RING_AVAIL_PERCENT_LOWATER
.comm _EAGAIN,4,2 ## @EAGAIN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Unable to send packet pages %u len %u, ret %d\n"
.comm _ENOSPC,4,2 ## @ENOSPC
.no_dead_strip _netvsc_send_pkt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function netvsc_send_pkt
_netvsc_send_pkt: ; @netvsc_send_pkt
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x25, x4
mov x28, x3
mov x19, x2
mov x23, x1
ldr x8, [x2, #8]
ldr x9, [x1]
add x21, x8, x9, lsl #4
ldr x27, [x21, #8]
bl _hv_get_drvdata
mov x24, x0
bl _netdev_priv
mov x20, x0
ldr x1, [x23]
mov x0, x24
bl _netdev_get_tx_queue
mov x22, x0
add x0, x27, #8
bl _hv_get_avail_to_write_percent
mov x26, x0
Lloh0:
adrp x8, _NVSP_MSG1_TYPE_SEND_RNDIS_PKT@GOTPAGE
Lloh1:
ldr x8, [x8, _NVSP_MSG1_TYPE_SEND_RNDIS_PKT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp x25, #0
cset w9, eq
str w8, [sp]
str w9, [sp, #8]
ldr x8, [x23, #8]
str x8, [sp, #16]
Lloh3:
adrp x9, _NETVSC_INVALID_INDEX@GOTPAGE
Lloh4:
ldr x9, [x9, _NETVSC_INVALID_INDEX@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov x8, #0
b LBB0_3
LBB0_2:
ldr x8, [x23, #16]
LBB0_3:
str x8, [sp, #24]
ldr x8, [x27]
cbz x8, LBB0_7
; %bb.4:
Lloh6:
adrp x8, _ENODEV@GOTPAGE
Lloh7:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_5:
ldr w8, [x8]
neg w25, w8
LBB0_6:
mov x0, x25
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_7:
mov x8, sp
add x2, x8, #8
mov x0, x24
mov x1, x27
bl _trace_nvsp_send_pkt
ldr w2, [x23, #24]
cbz w2, LBB0_13
; %bb.8:
ldr x8, [x23, #32]
cbz x8, LBB0_10
; %bb.9:
ldrsw x8, [x23, #28]
add x28, x28, x8, lsl #2
LBB0_10:
mov x3, sp
mov x0, x27
mov x1, x28
mov w4, #32
mov x5, x25
bl _vmbus_sendpacket_pagebuffer
mov x25, x0
cbz w0, LBB0_14
LBB0_11:
Lloh8:
adrp x8, _EAGAIN@GOTPAGE
Lloh9:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmn w25, w8
b.eq LBB0_15
; %bb.12:
ldr w2, [x23, #24]
ldr x3, [x23, #16]
Lloh11:
adrp x1, l_.str@PAGE
Lloh12:
add x1, x1, l_.str@PAGEOFF
mov x0, x24
mov x4, x25
bl _netdev_err
b LBB0_16
LBB0_13:
Lloh13:
adrp x8, _VM_PKT_DATA_INBAND@GOTPAGE
Lloh14:
ldr x8, [x8, _VM_PKT_DATA_INBAND@GOTPAGEOFF]
Lloh15:
ldr w4, [x8]
Lloh16:
adrp x8, _VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED@GOTPAGE
Lloh17:
ldr x8, [x8, _VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED@GOTPAGEOFF]
Lloh18:
ldr w5, [x8]
mov x1, sp
mov x0, x27
mov w2, #32
mov x3, x25
bl _vmbus_sendpacket
mov x25, x0
cbnz w0, LBB0_11
LBB0_14:
mov x0, x21
bl _atomic_inc_return
Lloh19:
adrp x8, _RING_AVAIL_PERCENT_LOWATER@GOTPAGE
Lloh20:
ldr x8, [x8, _RING_AVAIL_PERCENT_LOWATER@GOTPAGEOFF]
Lloh21:
ldr x8, [x8]
cmp x26, x8
b.ge LBB0_16
LBB0_15:
mov x0, x22
bl _netif_tx_stop_queue
ldr w8, [x20, #4]
add w8, w8, #1
str w8, [x20, #4]
LBB0_16:
mov x0, x22
bl _netif_tx_queue_stopped
cbz x0, LBB0_6
; %bb.17:
mov x0, x21
bl _atomic_read
cmp w0, #0
b.gt LBB0_6
; %bb.18:
ldr w8, [x19]
cbnz w8, LBB0_6
; %bb.19:
mov x0, x22
bl _netif_tx_wake_queue
ldr w8, [x20]
add w8, w8, #1
str w8, [x20]
Lloh22:
adrp x8, _EAGAIN@GOTPAGE
Lloh23:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
cmn w25, w8
b.ne LBB0_6
; %bb.20:
Lloh25:
adrp x8, _ENOSPC@GOTPAGE
Lloh26:
ldr x8, [x8, _ENOSPC@GOTPAGEOFF]
b LBB0_5
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGot Lloh25, Lloh26
.cfi_endproc
; -- End function
.comm _NVSP_MSG1_TYPE_SEND_RNDIS_PKT,4,2 ; @NVSP_MSG1_TYPE_SEND_RNDIS_PKT
.comm _NETVSC_INVALID_INDEX,8,3 ; @NETVSC_INVALID_INDEX
.comm _ENODEV,4,2 ; @ENODEV
.comm _VM_PKT_DATA_INBAND,4,2 ; @VM_PKT_DATA_INBAND
.comm _VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED,4,2 ; @VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED
.comm _RING_AVAIL_PERCENT_LOWATER,8,3 ; @RING_AVAIL_PERCENT_LOWATER
.comm _EAGAIN,4,2 ; @EAGAIN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Unable to send packet pages %u len %u, ret %d\n"
.comm _ENOSPC,4,2 ; @ENOSPC
.no_dead_strip _netvsc_send_pkt
.subsections_via_symbols
| AnghaBench/linux/drivers/net/hyperv/extr_netvsc.c_netvsc_send_pkt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cm_lap_set_local_ack_timeout
_cm_lap_set_local_ack_timeout: ## @cm_lap_set_local_ack_timeout
.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 $esi killed $esi def $rsi
movl (%rdi), %eax
andl $7, %eax
leal (%rax,%rsi,8), %eax
movl %eax, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cm_lap_set_local_ack_timeout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cm_lap_set_local_ack_timeout
_cm_lap_set_local_ack_timeout: ; @cm_lap_set_local_ack_timeout
.cfi_startproc
; %bb.0:
ldr w8, [x0]
bfi w8, w1, #3, #29
str w8, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _cm_lap_set_local_ack_timeout
.subsections_via_symbols
| AnghaBench/freebsd/sys/ofed/drivers/infiniband/core/extr_cm_msgs.h_cm_lap_set_local_ack_timeout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function intel_gt_pm_get
_intel_gt_pm_get: ## @intel_gt_pm_get
.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 _intel_wakeref_get ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _intel_gt_pm_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function intel_gt_pm_get
_intel_gt_pm_get: ; @intel_gt_pm_get
.cfi_startproc
; %bb.0:
b _intel_wakeref_get
.cfi_endproc
; -- End function
.no_dead_strip _intel_gt_pm_get
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_gt_pm.h_intel_gt_pm_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _cfsrvl_getphyid ## -- Begin function cfsrvl_getphyid
.p2align 4, 0x90
_cfsrvl_getphyid: ## @cfsrvl_getphyid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _container_obj
movl (%rax), %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 _cfsrvl_getphyid ; -- Begin function cfsrvl_getphyid
.p2align 2
_cfsrvl_getphyid: ; @cfsrvl_getphyid
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _container_obj
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/net/caif/extr_cfsrvl.c_cfsrvl_getphyid.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 $600, %rsp ## imm = 0x258
.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
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movw $0, -594(%rbp)
movq $-1, -624(%rbp)
callq _initscr
movq _stdscr@GOTPCREL(%rip), %r15
movq (%r15), %rdi
movl $1, %esi
callq _keypad
xorl %edi, %edi
callq _curs_set
callq _noecho
callq _cbreak
cmpl $2, %ebx
jl LBB0_6
## %bb.1:
movq 8(%r14), %rdi
leaq L_.str(%rip), %rsi
leaq _max_level(%rip), %rdx
xorl %eax, %eax
callq _sscanf
movl _level(%rip), %r8d
testl %r8d, %r8d
jg LBB0_3
## %bb.2:
leaq L_.str.1(%rip), %rdi
leaq _deafult_map_loaded_message(%rip), %rsi
xorl %eax, %eax
callq _printw
movl _level(%rip), %r8d
LBB0_3:
leaq L_.str.2(%rip), %rcx
leaq -320(%rbp), %rbx
movl $262, %edx ## imm = 0x106
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq ___sprintf_chk
movl $0, -592(%rbp)
leaq -592(%rbp), %rsi
movq %rbx, %rdi
callq _readFile
testq %rax, %rax
je LBB0_4
## %bb.7:
movq %rax, %rdi
callq _parseMap
testw %ax, %ax
jne LBB0_8
## %bb.21:
leaq L_.str.5(%rip), %rdi
leaq _default_command_message(%rip), %rsi
xorl %eax, %eax
callq _printw
movl _height(%rip), %r12d
jmp LBB0_22
LBB0_6:
leaq L_.str.4(%rip), %rdi
jmp LBB0_5
LBB0_4:
leaq L_.str.3(%rip), %rdi
LBB0_5:
leaq _deafult_map_loaded_message(%rip), %rsi
xorl %eax, %eax
callq _printw
LBB0_8:
movq _human_d(%rip), %rax
movq _human@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _cp@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl _boxes(%rip), %eax
movq _box_count@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl $48, %edi
callq _malloc
movq _ladder@GOTPCREL(%rip), %rbx
movq %rax, (%rbx)
movq (%r15), %rdi
movl $40, %esi
movl $40, %edx
callq _wmove
movl _ladder_count(%rip), %r8d
testl %r8d, %r8d
jle LBB0_16
## %bb.9:
leaq -1(%r8), %rcx
movl %r8d, %eax
andl $3, %eax
cmpq $3, %rcx
jae LBB0_11
## %bb.10:
xorl %ecx, %ecx
jmp LBB0_13
LBB0_11:
andl $-4, %r8d
xorl %ecx, %ecx
leaq _ladder_d(%rip), %rsi
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
movq (%rsi,%rcx,8), %rdx
movq %rdx, (%rdi,%rcx,8)
movq (%rbx), %rdx
movq 8(%rsi,%rcx,8), %rdi
movq %rdi, 8(%rdx,%rcx,8)
movq (%rbx), %rdx
movq 16(%rsi,%rcx,8), %rdi
movq %rdi, 16(%rdx,%rcx,8)
movq (%rbx), %rdx
movq 24(%rsi,%rcx,8), %rdi
movq %rdi, 24(%rdx,%rcx,8)
addq $4, %rcx
cmpq %rcx, %r8
jne LBB0_12
LBB0_13:
testq %rax, %rax
je LBB0_16
## %bb.14:
shlq $3, %rcx
leaq _ladder_d(%rip), %rdx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rsi
movq (%rcx,%rdx), %rdi
movq %rdi, (%rsi,%rcx)
addq $8, %rcx
decq %rax
jne LBB0_15
LBB0_16:
movslq _height(%rip), %r12
leaq (,%r12,8), %r14
movq %r14, %rdi
callq _malloc
movq %rax, %rbx
movq _area@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
movq %r14, %rdi
callq _malloc
movq _map@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq %r14, %rdi
callq _malloc
movq _boom_map@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
testq %r12, %r12
jle LBB0_22
## %bb.17:
movslq _width(%rip), %r14
movl _height(%rip), %eax
movq %rax, -616(%rbp) ## 8-byte Spill
cltq
movq %rax, -608(%rbp) ## 8-byte Spill
movl $1, %r13d
leaq _map_d(%rip), %r15
movq _area@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _malloc
movq %rax, -8(%rbx,%r13,8)
movq %r14, %rdi
callq _malloc
movq _map@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
movq %rax, -8(%rcx,%r13,8)
movq %r14, %rdi
callq _malloc
movq _boom_map@GOTPCREL(%rip), %rdx
movq (%rdx), %rcx
movq %rax, -8(%rcx,%r13,8)
movq (%r12), %rax
movq -8(%rax,%r13,8), %rax
movq (%r15), %rcx
movq %rcx, (%rax)
movq (%rbx), %rax
movq -8(%rax,%r13,8), %rax
movq (%r15), %rcx
movq %rcx, (%rax)
movq (%rdx), %rax
movq -8(%rax,%r13,8), %rax
movabsq $2314885530818453536, %rcx ## imm = 0x2020202020202020
movq %rcx, (%rax)
cmpq -608(%rbp), %r13 ## 8-byte Folded Reload
jge LBB0_19
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movq (%r12), %rbx
incq %r13
addq $8, %r15
jmp LBB0_18
LBB0_19:
movq _stdscr@GOTPCREL(%rip), %r15
movq -616(%rbp), %r12 ## 8-byte Reload
LBB0_22:
leal (%r12,%r12), %edi
addl $2, %edi
movl _width(%rip), %eax
leal 2(,%rax,4), %esi
movl $1, %edx
movl $5, %ecx
callq _newwin
movq %rax, %rbx
movq _acs_map@GOTPCREL(%rip), %rsi
movl 480(%rsi), %edx
movl 452(%rsi), %ecx
movl 432(%rsi), %r9d
movl 424(%rsi), %eax
movl 428(%rsi), %r10d
movl 436(%rsi), %r11d
subq $8, %rsp
movq %rbx, %rdi
movl %edx, %esi
movl %ecx, %r8d
pushq %rax
pushq %r11
pushq %r10
callq _wborder
addq $32, %rsp
movq _my_win@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
callq _has_colors
testb %al, %al
je LBB0_24
## %bb.23:
callq _start_color
movl $1, %edi
xorl %esi, %esi
movl $4, %edx
callq _init_pair
movl $2, %edi
xorl %esi, %esi
movl $1, %edx
callq _init_pair
movl $3, %edi
xorl %esi, %esi
movl $6, %edx
callq _init_pair
movl $4, %edi
xorl %esi, %esi
movl $5, %edx
callq _init_pair
movl $5, %edi
xorl %esi, %esi
movl $2, %edx
callq _init_pair
movl $6, %edi
xorl %esi, %esi
movl $3, %edx
callq _init_pair
movl $7, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _init_pair
movl $8, %edi
xorl %esi, %esi
movl $7, %edx
callq _init_pair
movl $9, %edi
movl $7, %esi
xorl %edx, %edx
callq _init_pair
LBB0_24:
xorl %esi, %esi
callq _draw_field
movq (%r15), %rdi
callq _wrefresh
movq _my_win@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wrefresh
movq _area@GOTPCREL(%rip), %r15
movq _cp@GOTPCREL(%rip), %r12
movl $0, -600(%rbp) ## 4-byte Folded Spill
## implicit-def: $rax
## kill: killed $rax
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
## Child Loop BB0_61 Depth 3
## Child Loop BB0_63 Depth 4
xorl %eax, %eax
xorl %r14d, %r14d
jmp LBB0_26
.p2align 4, 0x90
LBB0_58: ## in Loop: Header=BB0_26 Depth=2
leaq L_.str.15(%rip), %rdi
xorl %eax, %eax
callq _printw
movw $1, %r14w
movq _cp@GOTPCREL(%rip), %r12
LBB0_80: ## in Loop: Header=BB0_26 Depth=2
movswl %r14w, %esi
callq _draw_field
movq _my_win@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wrefresh
movl -608(%rbp), %eax ## 4-byte Reload
LBB0_26: ## Parent Loop BB0_25 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_61 Depth 3
## Child Loop BB0_63 Depth 4
testw %ax, %ax
je LBB0_28
## %bb.27: ## in Loop: Header=BB0_26 Depth=2
movl $200000, %edi ## imm = 0x30D40
callq _usleep
LBB0_28: ## in Loop: Header=BB0_26 Depth=2
movl -624(%rbp), %eax
testl %eax, %eax
js LBB0_35
## %bb.29: ## in Loop: Header=BB0_26 Depth=2
movl -620(%rbp), %ecx
testl %ecx, %ecx
js LBB0_35
## %bb.30: ## in Loop: Header=BB0_26 Depth=2
movq (%r15), %rdx
movq (%rdx,%rax,8), %rdx
movb (%rdx,%rcx), %dl
addb $-66, %dl
cmpb $23, %dl
ja LBB0_35
## %bb.31: ## in Loop: Header=BB0_26 Depth=2
movzbl %dl, %edx
movl $8457251, %esi ## imm = 0x810C23
btq %rdx, %rsi
jae LBB0_35
## %bb.32: ## in Loop: Header=BB0_26 Depth=2
incl %eax
cmpl (%r12), %eax
jne LBB0_35
## %bb.33: ## in Loop: Header=BB0_26 Depth=2
cmpl 4(%r12), %ecx
jne LBB0_35
## %bb.34: ## in Loop: Header=BB0_26 Depth=2
movw $1, -594(%rbp)
movq $-1, -624(%rbp)
movw $1, %ax
movl %eax, -608(%rbp) ## 4-byte Spill
movw $1, %r14w
jmp LBB0_56
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_26 Depth=2
movq $-1, -624(%rbp)
movswl %r14w, %r14d
movq %r12, %rdi
leaq -594(%rbp), %rbx
movq %rbx, %rsi
leaq -624(%rbp), %r13
movq %r13, %rdx
movl %r14d, %ecx
callq _gravity_and_magnet
movq %r12, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movl %r14d, %ecx
callq _bludger_effect
cmpw $-1, %ax
movl $1, %eax
cmovel %eax, %r14d
movl %r14d, %r13d
movswl %r14w, %esi
movq %rbx, %rdi
callq _destroy
movzwl -594(%rbp), %eax
testw %ax, %ax
je LBB0_37
## %bb.36: ## in Loop: Header=BB0_26 Depth=2
movl %eax, -608(%rbp) ## 4-byte Spill
movl %r13d, %r14d
LBB0_56: ## in Loop: Header=BB0_26 Depth=2
testw %r14w, %r14w
setne %r13b
movl $0, -616(%rbp) ## 4-byte Folded Spill
movq _box_count@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_68
LBB0_57: ## in Loop: Header=BB0_26 Depth=2
movq _stdscr@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
movq (%rbx), %rdi
callq _wclrtoeol
testb %r13b, %r13b
jne LBB0_58
## %bb.75: ## in Loop: Header=BB0_26 Depth=2
xorl %r14d, %r14d
leaq L_.str.5(%rip), %rdi
leaq _default_command_message(%rip), %rsi
xorl %eax, %eax
callq _printw
jmp LBB0_76
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_26 Depth=2
cmpw $0, -600(%rbp) ## 2-byte Folded Reload
je LBB0_38
## %bb.39: ## in Loop: Header=BB0_26 Depth=2
movq -632(%rbp), %rdi ## 8-byte Reload
callq _fgetc
## kill: def $eax killed $eax def $rax
leal -100(%rax), %ecx
cmpl $17, %ecx
movl %r13d, %r14d
ja LBB0_40
## %bb.42: ## in Loop: Header=BB0_26 Depth=2
movl $260, %ebx ## imm = 0x104
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
LBB0_45: ## in Loop: Header=BB0_26 Depth=2
movl $258, %ebx ## imm = 0x102
jmp LBB0_46
LBB0_38: ## in Loop: Header=BB0_26 Depth=2
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wgetch
movl %eax, %ebx
xorl %eax, %eax
movl %r13d, %r14d
cmpl $114, %ebx
jne LBB0_48
LBB0_59: ## in Loop: Header=BB0_26 Depth=2
movq _human@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%r12)
movl _boxes(%rip), %eax
movq _box_count@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movw $0, _green_enabled(%rip)
movw $0, _blue_enabled(%rip)
movw $0, _red_enabled(%rip)
movw $0, -594(%rbp)
movw $0, _on_broom(%rip)
movl _height(%rip), %edx
testl %edx, %edx
movq _stdscr@GOTPCREL(%rip), %rbx
movq _map@GOTPCREL(%rip), %rdi
jle LBB0_66
## %bb.60: ## in Loop: Header=BB0_26 Depth=2
movl _width(%rip), %ecx
xorl %eax, %eax
jmp LBB0_61
.p2align 4, 0x90
LBB0_65: ## in Loop: Header=BB0_61 Depth=3
incq %rax
movslq %edx, %rsi
cmpq %rsi, %rax
jge LBB0_66
LBB0_61: ## Parent Loop BB0_25 Depth=1
## Parent Loop BB0_26 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_63 Depth 4
testl %ecx, %ecx
jle LBB0_65
## %bb.62: ## in Loop: Header=BB0_61 Depth=3
xorl %edx, %edx
.p2align 4, 0x90
LBB0_63: ## Parent Loop BB0_25 Depth=1
## Parent Loop BB0_26 Depth=2
## Parent Loop BB0_61 Depth=3
## => This Inner Loop Header: Depth=4
movq (%rdi), %rcx
movq (%rcx,%rax,8), %rcx
movzbl (%rcx,%rdx), %ecx
movq (%r15), %rsi
movq (%rsi,%rax,8), %rsi
movb %cl, (%rsi,%rdx)
incq %rdx
movslq _width(%rip), %rcx
cmpq %rcx, %rdx
jl LBB0_63
## %bb.64: ## in Loop: Header=BB0_61 Depth=3
movl _height(%rip), %edx
jmp LBB0_65
LBB0_66: ## in Loop: Header=BB0_26 Depth=2
movq (%rbx), %rdi
movl $0, -608(%rbp) ## 4-byte Folded Spill
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
movq (%rbx), %rdi
callq _wclrtoeol
leaq L_.str.6(%rip), %rdi
leaq _default_command_message(%rip), %rsi
xorl %eax, %eax
callq _printw
movl $114, %edi
movl $0, -600(%rbp) ## 4-byte Folded Spill
xorl %r14d, %r14d
testw %r14w, %r14w
je LBB0_78
jmp LBB0_80
LBB0_40: ## in Loop: Header=BB0_26 Depth=2
cmpl $-1, %eax
jne LBB0_41
## %bb.55: ## in Loop: Header=BB0_26 Depth=2
movq -632(%rbp), %rdi ## 8-byte Reload
callq _fclose
movl $0, -608(%rbp) ## 4-byte Folded Spill
movl $0, -600(%rbp) ## 4-byte Folded Spill
jmp LBB0_56
LBB0_41: ## in Loop: Header=BB0_26 Depth=2
xorl %ebx, %ebx
jmp LBB0_46
LBB0_43: ## in Loop: Header=BB0_26 Depth=2
movl $261, %ebx ## imm = 0x105
jmp LBB0_46
LBB0_44: ## in Loop: Header=BB0_26 Depth=2
movl $259, %ebx ## imm = 0x103
LBB0_46: ## in Loop: Header=BB0_26 Depth=2
movl $100000, %edi ## imm = 0x186A0
callq _usleep
movw $1, %ax
cmpl $114, %ebx
je LBB0_59
LBB0_48: ## in Loop: Header=BB0_26 Depth=2
cmpl $113, %ebx
je LBB0_81
## %bb.49: ## in Loop: Header=BB0_26 Depth=2
movl %eax, -600(%rbp) ## 4-byte Spill
movq _box_count@GOTPCREL(%rip), %rax
movl (%rax), %eax
testw %r14w, %r14w
setne %r13b
jne LBB0_67
## %bb.50: ## in Loop: Header=BB0_26 Depth=2
cmpl $115, %ebx
jne LBB0_67
## %bb.51: ## in Loop: Header=BB0_26 Depth=2
testl %eax, %eax
jg LBB0_52
LBB0_67: ## in Loop: Header=BB0_26 Depth=2
movl %ebx, -616(%rbp) ## 4-byte Spill
movl $0, -608(%rbp) ## 4-byte Folded Spill
testl %eax, %eax
jg LBB0_57
.p2align 4, 0x90
LBB0_68: ## in Loop: Header=BB0_26 Depth=2
movq _stdscr@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
movq (%rbx), %rdi
callq _wclrtoeol
movl _level(%rip), %eax
cmpl _max_level(%rip), %eax
jge LBB0_69
## %bb.70: ## in Loop: Header=BB0_26 Depth=2
movq (%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
movq (%rbx), %rdi
callq _wclrtoeol
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _printw
movl -616(%rbp), %edi ## 4-byte Reload
cmpl $110, %edi
movq _cp@GOTPCREL(%rip), %r12
jne LBB0_77
## %bb.71: ## in Loop: Header=BB0_26 Depth=2
movl _level(%rip), %r8d
incl %r8d
movl %r8d, _level(%rip)
movl $262, %edx ## imm = 0x106
leaq -320(%rbp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
leaq L_.str.2(%rip), %rcx
xorl %eax, %eax
callq ___sprintf_chk
movl $0, -592(%rbp)
movq %rbx, %rdi
leaq -592(%rbp), %rsi
callq _readFile
testq %rax, %rax
je LBB0_72
## %bb.73: ## in Loop: Header=BB0_26 Depth=2
movq %rax, %rdi
callq _parseMap
jmp LBB0_74
LBB0_69: ## in Loop: Header=BB0_26 Depth=2
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _printw
LBB0_76: ## in Loop: Header=BB0_26 Depth=2
movq _cp@GOTPCREL(%rip), %r12
movl -616(%rbp), %edi ## 4-byte Reload
LBB0_77: ## in Loop: Header=BB0_26 Depth=2
testw %r14w, %r14w
jne LBB0_80
LBB0_78: ## in Loop: Header=BB0_26 Depth=2
movq _box_count@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_80
## %bb.79: ## in Loop: Header=BB0_26 Depth=2
movq %r12, %rsi
callq _key_in
xorl %r14d, %r14d
jmp LBB0_80
LBB0_72: ## in Loop: Header=BB0_26 Depth=2
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printw
LBB0_74: ## in Loop: Header=BB0_26 Depth=2
movq _my_win@GOTPCREL(%rip), %r13
movq (%r13), %rbx
subq $8, %rsp
movq %rbx, %rdi
movl $32, %esi
movl $32, %edx
movl $32, %ecx
movl $32, %r8d
movl $32, %r9d
pushq $32
pushq $32
pushq $32
callq _wborder
addq $32, %rsp
movq %rbx, %rdi
callq _wclear
movq %rbx, %rdi
callq _wrefresh
movq %rbx, %rdi
callq _delwin
movl _height(%rip), %eax
leal (%rax,%rax), %edi
addl $2, %edi
movl _width(%rip), %eax
leal 2(,%rax,4), %esi
movl $1, %edx
movl $5, %ecx
callq _newwin
movq %rax, %rbx
movq _acs_map@GOTPCREL(%rip), %rsi
movl 480(%rsi), %edx
movl 452(%rsi), %ecx
movl 432(%rsi), %r9d
movl 424(%rsi), %eax
movl 428(%rsi), %r10d
movl 436(%rsi), %r11d
subq $8, %rsp
movq %rbx, %rdi
movl %edx, %esi
movl %ecx, %r8d
pushq %rax
pushq %r11
pushq %r10
callq _wborder
addq $32, %rsp
movq %rbx, (%r13)
movq _stdscr@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
movq (%rbx), %rdi
callq _wclrtoeol
leaq L_.str.14(%rip), %rdi
leaq _default_command_message(%rip), %rsi
xorl %eax, %eax
callq _printw
movl $110, %edi
movq _cp@GOTPCREL(%rip), %r12
testw %r14w, %r14w
je LBB0_78
jmp LBB0_80
.p2align 4, 0x90
LBB0_52: ## in Loop: Header=BB0_25 Depth=1
movq _stdscr@GOTPCREL(%rip), %r14
movq (%r14), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
movq (%r14), %rdi
callq _wclrtoeol
xorl %edi, %edi
xorl %esi, %esi
leaq L_.str.7(%rip), %rdx
xorl %eax, %eax
callq _mvprintw
movq (%r14), %rdi
xorl %esi, %esi
callq _keypad
movl $1, %edi
callq _curs_set
callq _echo
leaq L_.str.8(%rip), %rdi
leaq -320(%rbp), %rbx
movq %rbx, %rsi
xorl %eax, %eax
callq _scanw
movl $262, %esi ## imm = 0x106
leaq -592(%rbp), %r13
movq %r13, %rdi
callq ___bzero
movl $1936744813, -592(%rbp) ## imm = 0x7370616D
movb $47, -588(%rbp)
movl $262, %edx ## imm = 0x106
movq %r13, %rdi
movq %rbx, %rsi
callq ___strcat_chk
movl $262, %edx ## imm = 0x106
movq %rbx, %rdi
movq %r13, %rsi
callq ___strcpy_chk
movq %rbx, %rdi
leaq L_.str.9(%rip), %rsi
callq _fopen
movw $1, %bx
movq %rax, -632(%rbp) ## 8-byte Spill
testq %rax, %rax
movq _cp@GOTPCREL(%rip), %r12
jne LBB0_54
## %bb.53: ## in Loop: Header=BB0_25 Depth=1
movq (%r14), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _wmove
movq (%r14), %rdi
callq _wclrtoeol
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printw
movl -600(%rbp), %eax ## 4-byte Reload
movl %eax, %ebx
LBB0_54: ## in Loop: Header=BB0_25 Depth=1
movq (%r14), %rdi
movl $1, %esi
callq _keypad
xorl %edi, %edi
callq _curs_set
callq _noecho
movq (%r14), %rdi
callq _wrefresh
movl %ebx, %eax
movl %eax, -600(%rbp) ## 4-byte Spill
jmp LBB0_25
LBB0_81:
callq _endwin
cmpl $0, _height(%rip)
movq _map@GOTPCREL(%rip), %r14
jle LBB0_84
## %bb.82:
xorl %ebx, %ebx
movq _boom_map@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_83: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movq (%rax,%rbx,8), %rdi
callq _free
movq (%r14), %rax
movq (%rax,%rbx,8), %rdi
callq _free
movq (%r12), %rax
movq (%rax,%rbx,8), %rdi
callq _free
incq %rbx
movslq _height(%rip), %rax
cmpq %rax, %rbx
jl LBB0_83
LBB0_84:
movq (%r15), %rdi
callq _free
movq _ladder@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq _boom_map@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq (%r14), %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_86
## %bb.85:
xorl %eax, %eax
addq $600, %rsp ## imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_86:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
LJTI0_0:
.long L0_0_set_45
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_46
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_43
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_44
.end_data_region
## -- End function
.globl _readFile ## -- Begin function readFile
.p2align 4, 0x90
_readFile: ## @readFile
.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
leaq L_.str.16(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB1_1
## %bb.2:
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $2, %edx
callq _fseek
movq %rbx, %rdi
callq _ftell
movl %eax, (%r14)
movq %rbx, %rdi
callq _rewind
movslq (%r14), %r15
movq %r15, %rdi
callq _malloc
movq %rax, %r14
movl $1, %esi
movq %rax, %rdi
movq %r15, %rdx
movq %rbx, %rcx
callq _fread
movq %rbx, %rdi
callq _fclose
jmp LBB1_3
LBB1_1:
xorl %r14d, %r14d
LBB1_3:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parseMap ## -- Begin function parseMap
.p2align 4, 0x90
_parseMap: ## @parseMap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movw $0, _green_enabled(%rip)
movw $0, _blue_enabled(%rip)
movw $0, _red_enabled(%rip)
movq $-1, _green_scroll(%rip)
movq $-1, _blue_scroll(%rip)
movq $-1, _red_scroll(%rip)
movq $-1, _green_magnet(%rip)
movq $-1, _blue_magnet(%rip)
movq $-1, _red_magnet(%rip)
movw $0, _on_broom(%rip)
leaq L_.str.17(%rip), %rsi
callq _strstr
testq %rax, %rax
jne LBB2_3
## %bb.1:
movq %rbx, %rdi
movl $10, %esi
callq _strchr
testq %rax, %rax
jne LBB2_3
## %bb.2:
movq %rbx, %rdi
movl $32, %esi
callq _strchr
testq %rax, %rax
je LBB2_36
LBB2_3:
leaq L_.str.17(%rip), %rsi
leaq -64(%rbp), %rdx
movq %rbx, %rdi
callq _strtok_r
leaq L_.str.20(%rip), %rbx
testq %rax, %rax
je LBB2_12
## %bb.4:
movq %rax, %r14
cmpl $2, _level(%rip)
jl LBB2_9
## %bb.5:
cmpl $0, _height(%rip)
jle LBB2_8
## %bb.6:
xorl %ebx, %ebx
movq _area@GOTPCREL(%rip), %r15
movq _map@GOTPCREL(%rip), %r12
movq _boom_map@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB2_7: ## =>This Inner Loop Header: Depth=1
movq (%r15), %rax
movq (%rax,%rbx,8), %rdi
callq _free
movq (%r12), %rax
movq (%rax,%rbx,8), %rdi
callq _free
movq (%r13), %rax
movq (%rax,%rbx,8), %rdi
callq _free
incq %rbx
movslq _height(%rip), %rax
cmpq %rax, %rbx
jl LBB2_7
LBB2_8:
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq _ladder@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq _map@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq _boom_map@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
LBB2_9:
leaq L_.str.19(%rip), %rsi
leaq -56(%rbp), %rdx
movq %r14, %rdi
callq _strtok_r
movq %rax, %rdi
callq _atoi
movl %eax, _width(%rip)
leaq L_.str.21(%rip), %rbx
cmpl $2, %eax
jl LBB2_12
## %bb.10:
leaq L_.str.19(%rip), %rsi
leaq -56(%rbp), %rdx
xorl %edi, %edi
callq _strtok_r
testq %rax, %rax
je LBB2_12
## %bb.11:
movq %rax, %rdi
callq _atoi
movl %eax, _height(%rip)
cmpl $2, %eax
jge LBB2_15
LBB2_12:
leaq _deafult_map_loaded_message(%rip), %rsi
movq %rbx, %rdi
LBB2_13:
xorl %eax, %eax
callq _printw
movw $1, %ax
LBB2_14:
movzwl %ax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_15:
movl $0, _ladder_count(%rip)
movl $0, _boxes(%rip)
movl %eax, %r14d
shlq $3, %r14
movq %r14, %rdi
callq _malloc
movq _area@GOTPCREL(%rip), %r13
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rax, (%r13)
movq %r14, %rdi
callq _malloc
movq _map@GOTPCREL(%rip), %r15
movq %rax, (%r15)
movq %r14, %rdi
callq _malloc
movq _boom_map@GOTPCREL(%rip), %r14
movq %rax, (%r14)
xorl %r12d, %r12d
movl _width(%rip), %edx
.p2align 4, 0x90
LBB2_16: ## =>This Loop Header: Depth=1
## Child Loop BB2_21 Depth 2
movslq %edx, %rbx
shlq $3, %rbx
movq %rbx, %rdi
callq _malloc
movq -48(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx,%r12,8)
movq %rbx, %rdi
callq _malloc
movq (%r15), %rcx
movq %rax, (%rcx,%r12,8)
movq %rbx, %rdi
callq _malloc
movq (%r14), %rcx
movq %rax, (%rcx,%r12,8)
xorl %edi, %edi
leaq L_.str.17(%rip), %rsi
leaq -64(%rbp), %rdx
callq _strtok_r
testq %rax, %rax
je LBB2_37
## %bb.17: ## in Loop: Header=BB2_16 Depth=1
movl _width(%rip), %edx
testl %edx, %edx
movq _cp@GOTPCREL(%rip), %r8
movq _human@GOTPCREL(%rip), %rdi
leaq LJTI2_0(%rip), %r9
movq _box_count@GOTPCREL(%rip), %r10
jle LBB2_34
## %bb.18: ## in Loop: Header=BB2_16 Depth=1
xorl %ecx, %ecx
jmp LBB2_21
.p2align 4, 0x90
LBB2_19: ## in Loop: Header=BB2_21 Depth=2
incl _ladder_count(%rip)
LBB2_20: ## in Loop: Header=BB2_21 Depth=2
incq %rcx
movslq _width(%rip), %rdx
cmpq %rdx, %rcx
jge LBB2_34
LBB2_21: ## Parent Loop BB2_16 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rax,%rcx), %edx
movq (%r13), %rsi
movq (%rsi,%r12,8), %rsi
movb %dl, (%rsi,%rcx)
movq (%r15), %rsi
movq (%rsi,%r12,8), %rsi
movb %dl, (%rsi,%rcx)
movq (%r14), %rdx
movq (%rdx,%r12,8), %rdx
movb $32, (%rdx,%rcx)
movzbl (%rax,%rcx), %edx
cmpb $72, %dl
je LBB2_19
## %bb.22: ## in Loop: Header=BB2_21 Depth=2
cmpb $80, %dl
jne LBB2_25
## %bb.23: ## in Loop: Header=BB2_21 Depth=2
movl %r12d, (%r8)
movl %r12d, (%rdi)
movl %ecx, 4(%r8)
movl %ecx, 4(%rdi)
movq (%r13), %rdx
movq (%rdx,%r12,8), %rdx
LBB2_24: ## in Loop: Header=BB2_21 Depth=2
movb $32, (%rdx,%rcx)
movq (%r15), %rdx
movq (%rdx,%r12,8), %rdx
movb $32, (%rdx,%rcx)
jmp LBB2_20
.p2align 4, 0x90
LBB2_25: ## in Loop: Header=BB2_21 Depth=2
movq (%r13), %rdx
movq (%rdx,%r12,8), %rdx
movzbl (%rdx,%rcx), %ebx
addb $-65, %bl
cmpb $56, %bl
ja LBB2_20
## %bb.26: ## in Loop: Header=BB2_21 Depth=2
movzbl %bl, %esi
movslq (%r9,%rsi,4), %rsi
addq %r9, %rsi
jmpq *%rsi
LBB2_27: ## in Loop: Header=BB2_21 Depth=2
incl (%r10)
incl _boxes(%rip)
jmp LBB2_20
LBB2_28: ## in Loop: Header=BB2_21 Depth=2
movl %r12d, _red_magnet(%rip)
movl %ecx, _red_magnet+4(%rip)
jmp LBB2_20
LBB2_29: ## in Loop: Header=BB2_21 Depth=2
movl %r12d, _green_magnet(%rip)
movl %ecx, _green_magnet+4(%rip)
jmp LBB2_20
LBB2_30: ## in Loop: Header=BB2_21 Depth=2
movl %r12d, _blue_magnet(%rip)
movl %ecx, _blue_magnet+4(%rip)
jmp LBB2_20
LBB2_31: ## in Loop: Header=BB2_21 Depth=2
movl %r12d, _red_scroll(%rip)
movl %ecx, _red_scroll+4(%rip)
jmp LBB2_24
LBB2_32: ## in Loop: Header=BB2_21 Depth=2
movl %r12d, _green_scroll(%rip)
movl %ecx, _green_scroll+4(%rip)
jmp LBB2_24
LBB2_33: ## in Loop: Header=BB2_21 Depth=2
movl %r12d, _blue_scroll(%rip)
movl %ecx, _blue_scroll+4(%rip)
jmp LBB2_24
.p2align 4, 0x90
LBB2_34: ## in Loop: Header=BB2_16 Depth=1
incq %r12
movslq _height(%rip), %rbx
cmpq %rbx, %r12
jge LBB2_38
## %bb.35: ## in Loop: Header=BB2_16 Depth=1
movq (%r13), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB2_16
LBB2_36:
leaq L_.str.20(%rip), %rdi
leaq _deafult_map_loaded_message(%rip), %rsi
jmp LBB2_13
LBB2_37:
movl _height(%rip), %ebx
LBB2_38:
movslq _ladder_count(%rip), %r14
leaq (,%r14,8), %rdi
callq _malloc
movq _ladder@GOTPCREL(%rip), %r8
movq %rax, (%r8)
testl %ebx, %ebx
jle LBB2_48
## %bb.39:
movq (%r13), %r9
xorl %edx, %edx
jmp LBB2_41
LBB2_40: ## in Loop: Header=BB2_41 Depth=1
cmpl $1, %ebx
movl %r10d, %ebx
jle LBB2_49
LBB2_41: ## =>This Loop Header: Depth=1
## Child Loop BB2_43 Depth 2
leal -1(%rbx), %r10d
cmpl $0, _width(%rip)
jle LBB2_40
## %bb.42: ## in Loop: Header=BB2_41 Depth=1
movl %r10d, %eax
movq (%r9,%rax,8), %rdi
movq (%r8), %rcx
xorl %eax, %eax
.p2align 4, 0x90
LBB2_43: ## Parent Loop BB2_41 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $72, (%rdi,%rax)
jne LBB2_45
## %bb.44: ## in Loop: Header=BB2_43 Depth=2
movslq %edx, %rdx
movl %r10d, (%rcx,%rdx,8)
movl %eax, 4(%rcx,%rdx,8)
incl %edx
movl _ladder_count(%rip), %r14d
LBB2_45: ## in Loop: Header=BB2_43 Depth=2
cmpl %r14d, %edx
jge LBB2_47
## %bb.46: ## in Loop: Header=BB2_43 Depth=2
incq %rax
movslq _width(%rip), %rsi
cmpq %rsi, %rax
jl LBB2_43
jmp LBB2_40
LBB2_48:
movl %ebx, %r10d
LBB2_49:
leaq L_.str.20(%rip), %rbx
testl %r10d, %r10d
je LBB2_12
LBB2_47:
xorl %eax, %eax
jmp LBB2_14
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L2_0_set_28, LBB2_28-LJTI2_0
.set L2_0_set_27, LBB2_27-LJTI2_0
.set L2_0_set_20, LBB2_20-LJTI2_0
.set L2_0_set_29, LBB2_29-LJTI2_0
.set L2_0_set_30, LBB2_30-LJTI2_0
.set L2_0_set_31, LBB2_31-LJTI2_0
.set L2_0_set_32, LBB2_32-LJTI2_0
.set L2_0_set_33, LBB2_33-LJTI2_0
LJTI2_0:
.long L2_0_set_28
.long L2_0_set_27
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_29
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_30
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_31
.long L2_0_set_27
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_32
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_33
.long L2_0_set_20
.long L2_0_set_20
.long L2_0_set_27
.end_data_region
## -- End function
.globl _create_newwin ## -- Begin function create_newwin
.p2align 4, 0x90
_create_newwin: ## @create_newwin
.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
callq _newwin
movq %rax, %rbx
movq _acs_map@GOTPCREL(%rip), %rax
movl 480(%rax), %edx
movl 452(%rax), %ecx
movl 432(%rax), %r9d
movl 424(%rax), %r10d
movl 428(%rax), %r11d
movl 436(%rax), %eax
subq $8, %rsp
movq %rbx, %rdi
movl %edx, %esi
movl %ecx, %r8d
pushq %r10
pushq %rax
pushq %r11
callq _wborder
addq $32, %rsp
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _draw_field ## -- Begin function draw_field
.p2align 4, 0x90
_draw_field: ## @draw_field
.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 %esi, -68(%rbp) ## 4-byte Spill
movl _ladder_count(%rip), %eax
testl %eax, %eax
jle LBB4_5
## %bb.1:
xorl %ecx, %ecx
movq _area@GOTPCREL(%rip), %r8
movq _ladder@GOTPCREL(%rip), %rsi
jmp LBB4_2
.p2align 4, 0x90
LBB4_4: ## in Loop: Header=BB4_2 Depth=1
incq %rcx
movslq %eax, %rdx
cmpq %rdx, %rcx
jge LBB4_5
LBB4_2: ## =>This Inner Loop Header: Depth=1
movq (%r8), %rdi
movq (%rsi), %rbx
movslq (%rbx,%rcx,8), %rdx
movq (%rdi,%rdx,8), %rdi
movslq 4(%rbx,%rcx,8), %rbx
cmpb $32, (%rdi,%rbx)
jne LBB4_4
## %bb.3: ## in Loop: Header=BB4_2 Depth=1
movb $72, (%rdi,%rbx)
movl _ladder_count(%rip), %eax
jmp LBB4_4
LBB4_5:
movl _height(%rip), %ecx
movq %rcx, %rax
movq %rcx, -64(%rbp) ## 8-byte Spill
testl %ecx, %ecx
jle LBB4_169
## %bb.6:
movl _width(%rip), %eax
movq _my_win@GOTPCREL(%rip), %r13
jmp LBB4_8
.p2align 4, 0x90
LBB4_168: ## in Loop: Header=BB4_8 Depth=1
movq -80(%rbp), %rdx ## 8-byte Reload
LBB4_7: ## in Loop: Header=BB4_8 Depth=1
cmpq $2, %rdx
jl LBB4_169
LBB4_8: ## =>This Loop Header: Depth=1
## Child Loop BB4_10 Depth 2
movq -64(%rbp), %rdx ## 8-byte Reload
leaq -1(%rdx), %rcx
movq %rcx, -64(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB4_7
## %bb.9: ## in Loop: Header=BB4_8 Depth=1
movq %rdx, -80(%rbp) ## 8-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
leal (%rax,%rax), %ecx
incl %ecx
movl %ecx, -48(%rbp) ## 4-byte Spill
addl %eax, %eax
addl $2, %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl $4, %r15d
xorl %ebx, %ebx
jmp LBB4_10
.p2align 4, 0x90
LBB4_34: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
LBB4_166: ## in Loop: Header=BB4_10 Depth=2
callq _waddch
LBB4_167: ## in Loop: Header=BB4_10 Depth=2
incq %rbx
movslq _width(%rip), %rax
addl $4, %r15d
cmpq %rax, %rbx
jge LBB4_168
LBB4_10: ## Parent Loop BB4_8 Depth=1
## => This Inner Loop Header: Depth=2
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rax
movzbl (%rax,%rbx), %ecx
addb $-32, %cl
cmpb $89, %cl
ja LBB4_167
## %bb.11: ## in Loop: Header=BB4_10 Depth=2
movl $512, %eax ## imm = 0x200
movl $256, %esi ## imm = 0x100
movzbl %cl, %ecx
leaq LJTI4_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB4_135: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_137
## %bb.136: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_137: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq %r13, %rbx
leal -2(%r15), %r13d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_139
## %bb.138: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $32, %esi
callq _waddch
LBB4_139: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
leal -1(%r15), %r12d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_141
## %bb.140: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $32, %esi
callq _waddch
LBB4_141: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_143
## %bb.142: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $32, %esi
callq _waddch
LBB4_143: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_145
## %bb.144: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $32, %esi
callq _waddch
LBB4_145: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
movq %rbx, %r13
je LBB4_147
## %bb.146: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_147: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB4_149
## %bb.148: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_149: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
jmp LBB4_74
LBB4_75: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %edx
movl -48(%rbp), %esi ## 4-byte Reload
movl %edx, %r12d
callq _wmove
cmpl $-1, %eax
je LBB4_77
## %bb.76: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
callq _waddch
LBB4_77: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
leal -2(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_79
## %bb.78: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
callq _waddch
LBB4_79: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
leal -1(%r15), %ebx
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_81
## %bb.80: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
callq _waddch
LBB4_81: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_83
## %bb.82: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
callq _waddch
LBB4_83: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_85
## %bb.84: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
callq _waddch
LBB4_85: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_87
## %bb.86: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
callq _waddch
LBB4_87: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_89
## %bb.88: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
callq _waddch
LBB4_89: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB4_167
## %bb.90: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 388(%rax), %esi
jmp LBB4_166
LBB4_107: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %edx
movl -48(%rbp), %esi ## 4-byte Reload
movl %edx, %r12d
callq _wmove
cmpl $-1, %eax
je LBB4_109
## %bb.108: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_109: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
leal -2(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_111
## %bb.110: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_111: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
leal -1(%r15), %ebx
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_113
## %bb.112: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $95, %esi
callq _waddch
LBB4_113: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_115
## %bb.114: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $47, %esi
callq _waddch
LBB4_115: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_117
## %bb.116: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 384(%rax), %esi
callq _waddch
LBB4_117: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_31
## %bb.118: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 424(%rax), %esi
jmp LBB4_30
LBB4_36: ## in Loop: Header=BB4_10 Depth=2
movl $768, %esi ## imm = 0x300
jmp LBB4_41
LBB4_91: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
movl $1536, %esi ## imm = 0x600
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_93
## %bb.92: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $35, %esi
callq _waddch
LBB4_93: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq %r13, %rbx
leal -2(%r15), %r13d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_95
## %bb.94: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $35, %esi
callq _waddch
LBB4_95: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
leal -1(%r15), %r12d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_97
## %bb.96: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $35, %esi
callq _waddch
LBB4_97: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_99
## %bb.98: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $35, %esi
callq _waddch
LBB4_99: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_101
## %bb.100: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $35, %esi
callq _waddch
LBB4_101: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
movq %rbx, %r13
je LBB4_103
## %bb.102: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $35, %esi
callq _waddch
LBB4_103: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB4_105
## %bb.104: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $35, %esi
callq _waddch
LBB4_105: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_167
## %bb.106: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $35, %esi
jmp LBB4_166
LBB4_38: ## in Loop: Header=BB4_10 Depth=2
movl $1280, %esi ## imm = 0x500
jmp LBB4_41
LBB4_119: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %edx
movl -48(%rbp), %esi ## 4-byte Reload
movl %edx, %r12d
callq _wmove
cmpl $-1, %eax
je LBB4_121
## %bb.120: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 464(%rax), %esi
callq _waddch
LBB4_121: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
leal -2(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_123
## %bb.122: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 452(%rax), %esi
callq _waddch
LBB4_123: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
leal -1(%r15), %ebx
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_125
## %bb.124: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 452(%rax), %esi
callq _waddch
LBB4_125: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_127
## %bb.126: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 468(%rax), %esi
callq _waddch
LBB4_127: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_129
## %bb.128: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 464(%rax), %esi
callq _waddch
LBB4_129: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_131
## %bb.130: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 452(%rax), %esi
callq _waddch
LBB4_131: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_133
## %bb.132: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 452(%rax), %esi
callq _waddch
LBB4_133: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB4_167
## %bb.134: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 468(%rax), %esi
jmp LBB4_166
LBB4_150: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_152
## %bb.151: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $92, %esi
callq _waddch
LBB4_152: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movq %r13, %rbx
leal -2(%r15), %r13d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_154
## %bb.153: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $124, %esi
callq _waddch
LBB4_154: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
leal -1(%r15), %r12d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_156
## %bb.155: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $124, %esi
callq _waddch
LBB4_156: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_158
## %bb.157: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $47, %esi
callq _waddch
LBB4_158: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_160
## %bb.159: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl $47, %esi
callq _waddch
LBB4_160: ## in Loop: Header=BB4_10 Depth=2
movq (%rbx), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
movq %rbx, %r13
je LBB4_162
## %bb.161: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $124, %esi
callq _waddch
LBB4_162: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB4_164
## %bb.163: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $124, %esi
callq _waddch
LBB4_164: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_167
## %bb.165: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $92, %esi
jmp LBB4_166
LBB4_40: ## in Loop: Header=BB4_10 Depth=2
movl $1792, %esi ## imm = 0x700
jmp LBB4_41
LBB4_37: ## in Loop: Header=BB4_10 Depth=2
movl $1024, %esi ## imm = 0x400
jmp LBB4_41
LBB4_58: ## in Loop: Header=BB4_10 Depth=2
movl $1280, %eax ## imm = 0x500
jmp LBB4_59
LBB4_35: ## in Loop: Header=BB4_10 Depth=2
movl $512, %esi ## imm = 0x200
jmp LBB4_41
LBB4_57: ## in Loop: Header=BB4_10 Depth=2
movl $256, %eax ## imm = 0x100
LBB4_59: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
movl %eax, %esi
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %ebx
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_61
## %bb.60: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_61: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
leal -2(%r15), %edx
movl -48(%rbp), %esi ## 4-byte Reload
movl %edx, %r12d
callq _wmove
cmpl $-1, %eax
je LBB4_63
## %bb.62: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_63: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
leal -1(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_65
## %bb.64: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_65: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_67
## %bb.66: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_67: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_69
## %bb.68: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_69: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
je LBB4_71
## %bb.70: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_71: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_73
## %bb.72: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_73: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
LBB4_74: ## in Loop: Header=BB4_10 Depth=2
callq _wmove
cmpl $-1, %eax
jne LBB4_34
jmp LBB4_167
LBB4_39: ## in Loop: Header=BB4_10 Depth=2
movl $1536, %esi ## imm = 0x600
.p2align 4, 0x90
LBB4_41: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, %r12
movq (%r13), %rdi
callq _wattrset
movq (%r13), %rdi
leal -2(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_43
## %bb.42: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_43: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
leal -1(%r15), %ebx
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_45
## %bb.44: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_45: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_47
## %bb.46: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_47: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_49
## %bb.48: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_49: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %ebx
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_51
## %bb.50: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $47, %esi
callq _waddch
LBB4_51: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_53
## %bb.52: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $92, %esi
callq _waddch
LBB4_53: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_55
## %bb.54: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $92, %esi
callq _waddch
LBB4_55: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
movq %r12, %rbx
je LBB4_167
## %bb.56: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $47, %esi
jmp LBB4_166
LBB4_13: ## in Loop: Header=BB4_10 Depth=2
movl $768, %esi ## imm = 0x300
jmp LBB4_18
LBB4_15: ## in Loop: Header=BB4_10 Depth=2
movl $1280, %esi ## imm = 0x500
jmp LBB4_18
LBB4_17: ## in Loop: Header=BB4_10 Depth=2
movl $1792, %esi ## imm = 0x700
jmp LBB4_18
LBB4_14: ## in Loop: Header=BB4_10 Depth=2
movl $1024, %esi ## imm = 0x400
jmp LBB4_18
LBB4_12: ## in Loop: Header=BB4_10 Depth=2
movl $512, %esi ## imm = 0x200
jmp LBB4_18
LBB4_16: ## in Loop: Header=BB4_10 Depth=2
movl $1536, %esi ## imm = 0x600
.p2align 4, 0x90
LBB4_18: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
callq _wattrset
movq (%r13), %rdi
leal -3(%r15), %r14d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_20
## %bb.19: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_20: ## in Loop: Header=BB4_10 Depth=2
movq %rbx, -56(%rbp) ## 8-byte Spill
movq (%r13), %rdi
leal -2(%r15), %r12d
movl -48(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_22
## %bb.21: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_22: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
leal -1(%r15), %ebx
movl -48(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_24
## %bb.23: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_24: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -48(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_26
## %bb.25: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_26: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_28
## %bb.27: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_28: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_31
## %bb.29: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
LBB4_30: ## in Loop: Header=BB4_10 Depth=2
callq _waddch
LBB4_31: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB4_33
## %bb.32: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB4_33: ## in Loop: Header=BB4_10 Depth=2
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
movq -56(%rbp), %rbx ## 8-byte Reload
jne LBB4_34
jmp LBB4_167
LBB4_169:
cmpl $-1, _red_scroll+4(%rip)
je LBB4_171
## %bb.170:
movswl _red_enabled(%rip), %edi
movq _red_scroll(%rip), %rsi
movl $2, %edx
callq _print_scroll
LBB4_171:
cmpl $-1, _blue_scroll+4(%rip)
je LBB4_173
## %bb.172:
movswl _blue_enabled(%rip), %edi
movq _blue_scroll(%rip), %rsi
movl $1, %edx
callq _print_scroll
LBB4_173:
cmpl $-1, _green_scroll+4(%rip)
je LBB4_175
## %bb.174:
movswl _green_enabled(%rip), %edi
movq _green_scroll(%rip), %rsi
movl $5, %edx
callq _print_scroll
LBB4_175:
cmpw $0, -68(%rbp) ## 2-byte Folded Reload
je LBB4_176
## %bb.207:
movq _my_win@GOTPCREL(%rip), %r14
movq (%r14), %rdi
movl $2304, %esi ## imm = 0x900
callq _wattrset
movq (%r14), %rdi
movq _cp@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
incl %esi
leal 1(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_209
## %bb.208:
movq (%r14), %rdi
movl $32, %esi
callq _waddch
LBB4_209:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
incl %esi
leal 2(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_211
## %bb.210:
movq (%r14), %rdi
movl $32, %esi
callq _waddch
LBB4_211:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
incl %esi
leal 3(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_213
## %bb.212:
movq (%r14), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 440(%rax), %esi
callq _waddch
LBB4_213:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
incl %esi
leal 4(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_215
## %bb.214:
movq (%r14), %rdi
movl $32, %esi
callq _waddch
LBB4_215:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
addl $2, %esi
leal 1(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_217
## %bb.216:
movq (%r14), %rdi
movl $32, %esi
callq _waddch
LBB4_217:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
addl $2, %esi
leal 2(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_219
## %bb.218:
movq (%r14), %rdi
movl $32, %esi
callq _waddch
LBB4_219:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
addl $2, %esi
leal 3(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_221
## %bb.220:
movq (%r14), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 480(%rax), %esi
callq _waddch
LBB4_221:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
addl $2, %esi
leal 4(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_224
## %bb.222:
movq (%r14), %rdi
movl $32, %esi
jmp LBB4_223
LBB4_176:
movq _cp@GOTPCREL(%rip), %rbx
movl 4(%rbx), %eax
cmpl %eax, _red_scroll+4(%rip)
jne LBB4_178
## %bb.177:
movl _red_scroll(%rip), %ecx
movl $512, %esi ## imm = 0x200
cmpl (%rbx), %ecx
je LBB4_183
LBB4_178:
cmpl %eax, _blue_scroll+4(%rip)
jne LBB4_180
## %bb.179:
movl _blue_scroll(%rip), %ecx
movl $256, %esi ## imm = 0x100
cmpl (%rbx), %ecx
je LBB4_183
LBB4_180:
cmpl %eax, _green_scroll+4(%rip)
jne LBB4_182
## %bb.181:
movl _green_scroll(%rip), %eax
movl $1280, %esi ## imm = 0x500
cmpl (%rbx), %eax
je LBB4_183
LBB4_182:
movl $2048, %esi ## imm = 0x800
LBB4_183:
movq _my_win@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _wattrset
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
addl $2, %esi
leal 2(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_185
## %bb.184:
movq (%r14), %rdi
movl $47, %esi
callq _waddch
LBB4_185:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
addl $2, %esi
leal 3(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_187
## %bb.186:
movq (%r14), %rdi
movl $92, %esi
callq _waddch
LBB4_187:
cmpw $1, _red_enabled(%rip)
jne LBB4_190
## %bb.188:
movl _red_scroll+4(%rip), %eax
cmpl 4(%rbx), %eax
jne LBB4_190
## %bb.189:
movl _red_scroll(%rip), %ecx
cmpl (%rbx), %ecx
je LBB4_196
LBB4_190:
cmpw $1, _blue_enabled(%rip)
jne LBB4_193
## %bb.191:
movl _blue_scroll+4(%rip), %eax
cmpl 4(%rbx), %eax
jne LBB4_193
## %bb.192:
movl _blue_scroll(%rip), %ecx
cmpl (%rbx), %ecx
je LBB4_196
LBB4_193:
cmpw $1, _green_enabled(%rip)
jne LBB4_197
## %bb.194:
movl _green_scroll+4(%rip), %eax
cmpl 4(%rbx), %eax
jne LBB4_197
## %bb.195:
movl _green_scroll(%rip), %ecx
cmpl (%rbx), %ecx
jne LBB4_197
LBB4_196:
movq (%r14), %rdi
leal (%rcx,%rcx), %esi
incl %esi
leal 2(,%rax,4), %edx
jmp LBB4_198
LBB4_197:
movq (%r14), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
incl %esi
leal 2(,%rcx,4), %edx
LBB4_198:
callq _wmove
cmpl $-1, %eax
je LBB4_200
## %bb.199:
movq (%r14), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 484(%rax), %esi
callq _waddch
LBB4_200:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
incl %esi
leal 3(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_202
## %bb.201:
movq (%r14), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 488(%rax), %esi
callq _waddch
LBB4_202:
cmpw $1, _on_broom(%rip)
jne LBB4_224
## %bb.203:
movq (%r14), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
incl %esi
leal 4(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_205
## %bb.204:
movq (%r14), %rdi
movl $47, %esi
callq _waddch
LBB4_205:
movq (%r14), %rdi
movl (%rbx), %eax
movl 4(%rbx), %ecx
leal (%rax,%rax), %esi
addl $2, %esi
leal 1(,%rcx,4), %edx
callq _wmove
cmpl $-1, %eax
je LBB4_224
## %bb.206:
movq (%r14), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 384(%rax), %esi
LBB4_223:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _waddch ## TAILCALL
LBB4_224:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L4_0_set_135, LBB4_135-LJTI4_0
.set L4_0_set_167, LBB4_167-LJTI4_0
.set L4_0_set_75, LBB4_75-LJTI4_0
.set L4_0_set_107, LBB4_107-LJTI4_0
.set L4_0_set_59, LBB4_59-LJTI4_0
.set L4_0_set_41, LBB4_41-LJTI4_0
.set L4_0_set_36, LBB4_36-LJTI4_0
.set L4_0_set_91, LBB4_91-LJTI4_0
.set L4_0_set_38, LBB4_38-LJTI4_0
.set L4_0_set_119, LBB4_119-LJTI4_0
.set L4_0_set_150, LBB4_150-LJTI4_0
.set L4_0_set_40, LBB4_40-LJTI4_0
.set L4_0_set_37, LBB4_37-LJTI4_0
.set L4_0_set_58, LBB4_58-LJTI4_0
.set L4_0_set_35, LBB4_35-LJTI4_0
.set L4_0_set_57, LBB4_57-LJTI4_0
.set L4_0_set_39, LBB4_39-LJTI4_0
.set L4_0_set_18, LBB4_18-LJTI4_0
.set L4_0_set_13, LBB4_13-LJTI4_0
.set L4_0_set_15, LBB4_15-LJTI4_0
.set L4_0_set_17, LBB4_17-LJTI4_0
.set L4_0_set_14, LBB4_14-LJTI4_0
.set L4_0_set_12, LBB4_12-LJTI4_0
.set L4_0_set_16, LBB4_16-LJTI4_0
LJTI4_0:
.long L4_0_set_135
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_75
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_107
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_59
.long L4_0_set_41
.long L4_0_set_36
.long L4_0_set_91
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_38
.long L4_0_set_119
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_150
.long L4_0_set_40
.long L4_0_set_37
.long L4_0_set_167
.long L4_0_set_58
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_35
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_57
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_39
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_18
.long L4_0_set_13
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_15
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_17
.long L4_0_set_14
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_12
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_167
.long L4_0_set_16
.end_data_region
## -- End function
.globl _is_bludger ## -- Begin function is_bludger
.p2align 4, 0x90
_is_bludger: ## @is_bludger
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addb $-66, %dil
cmpb $23, %dil
ja LBB5_2
## %bb.1:
movw $1, %ax
movzbl %dil, %ecx
movl $8457251, %edx ## imm = 0x810C23
btq %rcx, %rdx
jae LBB5_2
LBB5_3:
movzwl %ax, %eax
popq %rbp
retq
LBB5_2:
xorl %eax, %eax
jmp LBB5_3
.cfi_endproc
## -- End function
.globl _gravity_and_magnet ## -- Begin function gravity_and_magnet
.p2align 4, 0x90
_gravity_and_magnet: ## @gravity_and_magnet
.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
movw $0, (%rsi)
testw %cx, %cx
jne LBB6_37
## %bb.1:
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movswl _red_enabled(%rip), %edi
movq _red_magnet(%rip), %rsi
movq (%r12), %rdx
movq %r14, %rcx
callq _magnet_effect
cmpw $1, %ax
je LBB6_37
## %bb.2:
movswl _blue_enabled(%rip), %edi
movq _blue_magnet(%rip), %rsi
movq (%r12), %rdx
movq %r14, %rcx
callq _magnet_effect
cmpw $1, %ax
je LBB6_37
## %bb.3:
movswl _green_enabled(%rip), %edi
movq _green_magnet(%rip), %rsi
movq (%r12), %rdx
movq %r14, %rcx
callq _magnet_effect
cmpw $1, %ax
je LBB6_37
## %bb.4:
movq %rbx, -56(%rbp) ## 8-byte Spill
movl _height(%rip), %r15d
testl %r15d, %r15d
jle LBB6_30
## %bb.5:
movl _width(%rip), %eax
movq _area@GOTPCREL(%rip), %r11
movabsq $36323616467520547, %r10 ## imm = 0x810C2300810C23
jmp LBB6_7
.p2align 4, 0x90
LBB6_6: ## in Loop: Header=BB6_7 Depth=1
cmpq $2, %r13
jl LBB6_30
LBB6_7: ## =>This Loop Header: Depth=1
## Child Loop BB6_9 Depth 2
movq %r15, %r13
decq %r15
testl %eax, %eax
jle LBB6_6
## %bb.8: ## in Loop: Header=BB6_7 Depth=1
leal -2(%r13), %esi
leal 1(%r13), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
xorl %ebx, %ebx
jmp LBB6_9
.p2align 4, 0x90
LBB6_29: ## in Loop: Header=BB6_9 Depth=2
incq %rbx
movslq _width(%rip), %rax
cmpq %rax, %rbx
jge LBB6_6
LBB6_9: ## Parent Loop BB6_7 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r11), %r8
movq (%r8,%r15,8), %rax
movzbl (%rax,%rbx), %eax
leal -66(%rax), %edx
cmpb $55, %dl
ja LBB6_29
## %bb.10: ## in Loop: Header=BB6_9 Depth=2
movzbl %dl, %r9d
btq %r9, %r10
jae LBB6_29
## %bb.11: ## in Loop: Header=BB6_9 Depth=2
cmpl _red_magnet(%rip), %esi
jne LBB6_14
## %bb.12: ## in Loop: Header=BB6_9 Depth=2
movl _red_magnet+4(%rip), %ecx
cmpq %rcx, %rbx
jne LBB6_14
## %bb.13: ## in Loop: Header=BB6_9 Depth=2
cmpw $1, _red_enabled(%rip)
je LBB6_29
.p2align 4, 0x90
LBB6_14: ## in Loop: Header=BB6_9 Depth=2
cmpl _blue_magnet(%rip), %esi
jne LBB6_17
## %bb.15: ## in Loop: Header=BB6_9 Depth=2
movl _blue_magnet+4(%rip), %ecx
cmpq %rcx, %rbx
jne LBB6_17
## %bb.16: ## in Loop: Header=BB6_9 Depth=2
cmpw $1, _blue_enabled(%rip)
je LBB6_29
.p2align 4, 0x90
LBB6_17: ## in Loop: Header=BB6_9 Depth=2
cmpl _green_magnet(%rip), %esi
jne LBB6_19
## %bb.18: ## in Loop: Header=BB6_9 Depth=2
movl _green_magnet+4(%rip), %ecx
cmpq %rcx, %rbx
setne %dil
cmpw $1, _green_enabled(%rip)
setne %cl
orb %dil, %cl
cmpb $1, %cl
jne LBB6_29
LBB6_19: ## in Loop: Header=BB6_9 Depth=2
movslq _height(%rip), %rcx
cmpq %rcx, %r13
jge LBB6_29
## %bb.20: ## in Loop: Header=BB6_9 Depth=2
movq (%r8,%r13,8), %rdi
movzbl (%rdi,%rbx), %ecx
cmpb $72, %cl
je LBB6_22
## %bb.21: ## in Loop: Header=BB6_9 Depth=2
cmpb $32, %cl
jne LBB6_29
LBB6_22: ## in Loop: Header=BB6_9 Depth=2
movl (%r12), %ecx
cmpq %rcx, %r13
jne LBB6_24
## %bb.23: ## in Loop: Header=BB6_9 Depth=2
movl 4(%r12), %ecx
cmpq %rcx, %rbx
je LBB6_29
LBB6_24: ## in Loop: Header=BB6_9 Depth=2
movb %al, (%rdi,%rbx)
movq (%r11), %rax
movq (%rax,%r15,8), %rax
movb $32, (%rax,%rbx)
movw $1, (%r14)
cmpb $23, %dl
ja LBB6_29
## %bb.25: ## in Loop: Header=BB6_9 Depth=2
movl $8457251, %eax ## imm = 0x810C23
btq %r9, %rax
jae LBB6_29
## %bb.26: ## in Loop: Header=BB6_9 Depth=2
movl -44(%rbp), %eax ## 4-byte Reload
cmpl (%r12), %eax
jne LBB6_29
## %bb.27: ## in Loop: Header=BB6_9 Depth=2
movl 4(%r12), %eax
cmpq %rax, %rbx
jne LBB6_29
## %bb.28: ## in Loop: Header=BB6_9 Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
movl %r13d, (%rax)
movl %ebx, 4(%rax)
jmp LBB6_29
LBB6_30:
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movslq (%r12), %rax
movq 8(%rsi,%rax,8), %rdx
movslq 4(%r12), %rcx
movb (%rdx,%rcx), %bl
cmpb $32, %bl
jne LBB6_34
## %bb.31:
cmpw $0, _on_broom(%rip)
jne LBB6_34
## %bb.32:
movq (%rsi,%rax,8), %rdx
cmpb $72, (%rdx,%rcx)
je LBB6_37
## %bb.33:
incq %rax
movl %eax, (%r12)
jmp LBB6_36
LBB6_34:
cmpb $45, %bl
jne LBB6_37
## %bb.35:
movb $32, (%rdx,%rcx)
incl (%r12)
movw $1, (%r14)
leaq _on_broom(%rip), %r14
LBB6_36:
movw $1, (%r14)
LBB6_37:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _bludger_effect ## -- Begin function bludger_effect
.p2align 4, 0x90
_bludger_effect: ## @bludger_effect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
testw %cx, %cx
je LBB7_3
LBB7_1:
xorl %eax, %eax
LBB7_2:
cwtl
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB7_3:
movl _height(%rip), %r14d
testl %r14d, %r14d
jle LBB7_1
## %bb.4:
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdx, -56(%rbp) ## 8-byte Spill
movl _width(%rip), %eax
jmp LBB7_6
.p2align 4, 0x90
LBB7_5: ## in Loop: Header=BB7_6 Depth=1
cmpq $2, %r10
jl LBB7_1
LBB7_6: ## =>This Loop Header: Depth=1
## Child Loop BB7_9 Depth 2
movq %r14, %r10
decq %r14
testl %eax, %eax
jle LBB7_5
## %bb.7: ## in Loop: Header=BB7_6 Depth=1
leal -2(%r10), %r15d
leal 1(%r10), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
movl $1, %ebx
jmp LBB7_9
.p2align 4, 0x90
LBB7_8: ## in Loop: Header=BB7_9 Depth=2
movslq _width(%rip), %rax
leaq 1(%rbx), %rcx
cmpq %rax, %rbx
movq %rcx, %rbx
jge LBB7_5
LBB7_9: ## Parent Loop BB7_6 Depth=1
## => This Inner Loop Header: Depth=2
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movq (%rdx,%r14,8), %r9
movzbl -1(%r9,%rbx), %r8d
leal -66(%r8), %esi
cmpb $23, %sil
ja LBB7_8
## %bb.10: ## in Loop: Header=BB7_9 Depth=2
movzbl %sil, %esi
movl $8457251, %eax ## imm = 0x810C23
btq %rsi, %rax
jae LBB7_8
## %bb.11: ## in Loop: Header=BB7_9 Depth=2
leaq -1(%rbx), %r11
cmpl _red_magnet(%rip), %r15d
jne LBB7_14
## %bb.12: ## in Loop: Header=BB7_9 Depth=2
movl _red_magnet+4(%rip), %esi
cmpq %rsi, %r11
jne LBB7_14
## %bb.13: ## in Loop: Header=BB7_9 Depth=2
cmpw $1, _red_enabled(%rip)
je LBB7_8
.p2align 4, 0x90
LBB7_14: ## in Loop: Header=BB7_9 Depth=2
cmpl _blue_magnet(%rip), %r15d
jne LBB7_17
## %bb.15: ## in Loop: Header=BB7_9 Depth=2
movl _blue_magnet+4(%rip), %esi
cmpq %rsi, %r11
jne LBB7_17
## %bb.16: ## in Loop: Header=BB7_9 Depth=2
cmpw $1, _blue_enabled(%rip)
je LBB7_8
.p2align 4, 0x90
LBB7_17: ## in Loop: Header=BB7_9 Depth=2
cmpl _green_magnet(%rip), %r15d
jne LBB7_19
## %bb.18: ## in Loop: Header=BB7_9 Depth=2
movl _green_magnet+4(%rip), %esi
cmpq %rsi, %r11
setne %al
cmpw $1, _green_enabled(%rip)
setne %cl
orb %al, %cl
cmpb $1, %cl
jne LBB7_8
LBB7_19: ## in Loop: Header=BB7_9 Depth=2
movslq _height(%rip), %rax
cmpq %rax, %r10
jge LBB7_8
## %bb.20: ## in Loop: Header=BB7_9 Depth=2
movq (%rdx,%r10,8), %r12
movzbl -1(%r12,%rbx), %edx
addb $-66, %dl
cmpb $23, %dl
ja LBB7_8
## %bb.21: ## in Loop: Header=BB7_9 Depth=2
movzbl %dl, %eax
movl $8457251, %ecx ## imm = 0x810C23
btq %rax, %rcx
jae LBB7_8
## %bb.22: ## in Loop: Header=BB7_9 Depth=2
movl (%rdi), %r13d
cmpq %r13, %r10
jne LBB7_24
## %bb.23: ## in Loop: Header=BB7_9 Depth=2
movl 4(%rdi), %eax
cmpq %rax, %r11
je LBB7_8
LBB7_24: ## in Loop: Header=BB7_9 Depth=2
movzbl -2(%r9,%rbx), %edx
cmpb $72, %dl
je LBB7_26
## %bb.25: ## in Loop: Header=BB7_9 Depth=2
cmpb $32, %dl
jne LBB7_32
LBB7_26: ## in Loop: Header=BB7_9 Depth=2
cmpq %r13, %r14
jne LBB7_28
## %bb.27: ## in Loop: Header=BB7_9 Depth=2
leal -2(%rbx), %eax
cmpl 4(%rdi), %eax
je LBB7_32
LBB7_28: ## in Loop: Header=BB7_9 Depth=2
movzbl -2(%r12,%rbx), %edx
cmpb $72, %dl
je LBB7_30
## %bb.29: ## in Loop: Header=BB7_9 Depth=2
cmpb $32, %dl
jne LBB7_32
LBB7_30: ## in Loop: Header=BB7_9 Depth=2
cmpq %r13, %r10
jne LBB7_45
## %bb.31: ## in Loop: Header=BB7_9 Depth=2
leal -2(%rbx), %eax
cmpl 4(%rdi), %eax
jne LBB7_45
LBB7_32: ## in Loop: Header=BB7_9 Depth=2
movzbl (%r9,%rbx), %ecx
cmpb $72, %cl
je LBB7_34
## %bb.33: ## in Loop: Header=BB7_9 Depth=2
cmpb $32, %cl
jne LBB7_8
LBB7_34: ## in Loop: Header=BB7_9 Depth=2
cmpq %r13, %r14
jne LBB7_36
## %bb.35: ## in Loop: Header=BB7_9 Depth=2
movl 4(%rdi), %eax
cmpq %rax, %rbx
je LBB7_8
LBB7_36: ## in Loop: Header=BB7_9 Depth=2
movzbl (%r12,%rbx), %ecx
cmpb $72, %cl
je LBB7_38
## %bb.37: ## in Loop: Header=BB7_9 Depth=2
cmpb $32, %cl
jne LBB7_8
LBB7_38: ## in Loop: Header=BB7_9 Depth=2
cmpq %r13, %r10
jne LBB7_40
## %bb.39: ## in Loop: Header=BB7_9 Depth=2
movl 4(%rdi), %eax
cmpq %rax, %rbx
je LBB7_8
LBB7_40: ## in Loop: Header=BB7_9 Depth=2
movb %r8b, (%r12,%rbx)
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%r14,8), %rax
movb $32, -1(%rax,%rbx)
movq -64(%rbp), %rax ## 8-byte Reload
movw $1, (%rax)
movl (%rdi), %eax
cmpl -44(%rbp), %eax ## 4-byte Folded Reload
jne LBB7_43
## %bb.41: ## in Loop: Header=BB7_9 Depth=2
movl 4(%rdi), %ecx
movl -44(%rbp), %eax ## 4-byte Reload
cmpq %rcx, %rbx
jne LBB7_43
## %bb.42: ## in Loop: Header=BB7_9 Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
movl %r10d, (%rax)
movl %ebx, 4(%rax)
movl (%rdi), %eax
LBB7_43: ## in Loop: Header=BB7_9 Depth=2
movl %eax, %eax
cmpq %rax, %r10
jne LBB7_8
## %bb.44: ## in Loop: Header=BB7_9 Depth=2
movl 4(%rdi), %eax
cmpq %rax, %rbx
jne LBB7_8
jmp LBB7_51
LBB7_45: ## in Loop: Header=BB7_9 Depth=2
movb %r8b, -2(%r12,%rbx)
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%r14,8), %rax
movb $32, -1(%rax,%rbx)
movq -64(%rbp), %rax ## 8-byte Reload
movw $1, (%rax)
movl (%rdi), %eax
cmpl -44(%rbp), %eax ## 4-byte Folded Reload
jne LBB7_48
## %bb.46: ## in Loop: Header=BB7_9 Depth=2
leaq -2(%rbx), %rcx
cmpl 4(%rdi), %ecx
jne LBB7_48
## %bb.47: ## in Loop: Header=BB7_9 Depth=2
movq -56(%rbp), %rax ## 8-byte Reload
movl %r10d, (%rax)
movl %ecx, 4(%rax)
movl (%rdi), %eax
LBB7_48: ## in Loop: Header=BB7_9 Depth=2
movl %eax, %eax
cmpq %rax, %r10
jne LBB7_8
## %bb.49: ## in Loop: Header=BB7_9 Depth=2
leal -2(%rbx), %eax
cmpl 4(%rdi), %eax
jne LBB7_8
LBB7_51:
movw $-1, %ax
jmp LBB7_2
.cfi_endproc
## -- End function
.globl _destroy ## -- Begin function destroy
.p2align 4, 0x90
_destroy: ## @destroy
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
orw (%rdi), %si
je LBB8_1
LBB8_47:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB8_1:
movl _height(%rip), %eax
testl %eax, %eax
jle LBB8_47
## %bb.2:
movl _width(%rip), %edx
movq _area@GOTPCREL(%rip), %r11
movq _box_count@GOTPCREL(%rip), %rcx
jmp LBB8_4
.p2align 4, 0x90
LBB8_3: ## in Loop: Header=BB8_4 Depth=1
cmpq $2, %r8
jl LBB8_9
LBB8_4: ## =>This Loop Header: Depth=1
## Child Loop BB8_6 Depth 2
movq %rax, %r8
decq %rax
testl %edx, %edx
jle LBB8_3
## %bb.5: ## in Loop: Header=BB8_4 Depth=1
xorl %ebx, %ebx
jmp LBB8_6
.p2align 4, 0x90
LBB8_8: ## in Loop: Header=BB8_6 Depth=2
incq %rbx
movslq %edx, %rsi
cmpq %rsi, %rbx
jge LBB8_3
LBB8_6: ## Parent Loop BB8_4 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r11), %rsi
movq (%rsi,%rax,8), %rsi
cmpb $75, (%rsi,%rbx)
jne LBB8_8
## %bb.7: ## in Loop: Header=BB8_6 Depth=2
movb $32, (%rsi,%rbx)
decl (%rcx)
movw $1, (%rdi)
movl _width(%rip), %edx
jmp LBB8_8
LBB8_9:
movl _height(%rip), %r14d
testl %r14d, %r14d
jle LBB8_47
## %bb.10:
movl _width(%rip), %r12d
movabsq $36323616467520547, %r9 ## imm = 0x810C2300810C23
movq _boom_map@GOTPCREL(%rip), %r10
jmp LBB8_12
.p2align 4, 0x90
LBB8_11: ## in Loop: Header=BB8_12 Depth=1
cmpq $2, %r15
jl LBB8_39
LBB8_12: ## =>This Loop Header: Depth=1
## Child Loop BB8_27 Depth 2
movq %r14, %r15
decq %r14
testl %r12d, %r12d
jle LBB8_11
## %bb.13: ## in Loop: Header=BB8_12 Depth=1
leal -2(%r15), %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movq (%r11), %rdx
movq (%rdx,%r14,8), %rax
movb (%rax), %sil
leal -66(%rsi), %ecx
cmpb $55, %cl
ja LBB8_25
## %bb.14: ## in Loop: Header=BB8_12 Depth=1
movzbl %cl, %ecx
btq %rcx, %r9
jae LBB8_25
## %bb.15: ## in Loop: Header=BB8_12 Depth=1
movslq _height(%rip), %rcx
cmpq %rcx, %r15
jge LBB8_17
## %bb.16: ## in Loop: Header=BB8_12 Depth=1
movq (%rdx,%r15,8), %rcx
cmpb %sil, (%rcx)
jne LBB8_17
## %bb.23: ## in Loop: Header=BB8_12 Depth=1
movq (%r10), %rax
movq (%rax,%r14,8), %rax
movb $75, (%rax)
movq (%r10), %rax
movq (%rax,%r15,8), %rax
jmp LBB8_24
.p2align 4, 0x90
LBB8_17: ## in Loop: Header=BB8_12 Depth=1
cmpq $2, %r15
jb LBB8_19
## %bb.18: ## in Loop: Header=BB8_12 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movq (%rdx,%rcx,8), %rcx
cmpb %sil, (%rcx)
jne LBB8_19
## %bb.22: ## in Loop: Header=BB8_12 Depth=1
movq (%r10), %rax
movq (%rax,%r14,8), %rax
movb $75, (%rax)
movq (%r10), %rax
movq -48(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rax
jmp LBB8_24
.p2align 4, 0x90
LBB8_19: ## in Loop: Header=BB8_12 Depth=1
cmpl $2, %r12d
jb LBB8_25
## %bb.20: ## in Loop: Header=BB8_12 Depth=1
cmpb %sil, 1(%rax)
jne LBB8_25
## %bb.21: ## in Loop: Header=BB8_12 Depth=1
movq (%r10), %rax
movq (%rax,%r14,8), %rax
movb $75, (%rax)
movq (%r10), %rax
movq (%rax,%r14,8), %rax
incq %rax
LBB8_24: ## in Loop: Header=BB8_12 Depth=1
movb $75, (%rax)
movw $1, (%rdi)
LBB8_25: ## in Loop: Header=BB8_12 Depth=1
movl _width(%rip), %r12d
cmpl $2, %r12d
jl LBB8_11
## %bb.26: ## in Loop: Header=BB8_12 Depth=1
movl $1, %eax
jmp LBB8_27
.p2align 4, 0x90
LBB8_37: ## in Loop: Header=BB8_27 Depth=2
movq (%r10), %rdx
movq (%rdx,%r14,8), %rdx
movb $75, (%rdx,%rax)
movq (%r10), %rdx
movq (%rdx,%rbx,8), %rdx
movb $75, (%rdx,%rcx)
movw $1, (%rdi)
LBB8_38: ## in Loop: Header=BB8_27 Depth=2
incq %rax
movslq _width(%rip), %r12
cmpq %r12, %rax
jge LBB8_11
LBB8_27: ## Parent Loop BB8_12 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r11), %rdx
movq (%rdx,%r14,8), %r13
movzbl (%r13,%rax), %esi
leal -66(%rsi), %ecx
cmpb $55, %cl
ja LBB8_38
## %bb.28: ## in Loop: Header=BB8_27 Depth=2
movzbl %cl, %ecx
btq %rcx, %r9
jae LBB8_38
## %bb.29: ## in Loop: Header=BB8_27 Depth=2
movslq _height(%rip), %rcx
cmpq %rcx, %r15
jge LBB8_31
## %bb.30: ## in Loop: Header=BB8_27 Depth=2
movq (%rdx,%r15,8), %r8
movq %r15, %rbx
movq %rax, %rcx
cmpb %sil, (%r8,%rax)
je LBB8_37
LBB8_31: ## in Loop: Header=BB8_27 Depth=2
cmpq $2, %r15
jb LBB8_33
## %bb.32: ## in Loop: Header=BB8_27 Depth=2
movq -48(%rbp), %rbx ## 8-byte Reload
movq (%rdx,%rbx,8), %rdx
movq %rax, %rcx
cmpb %sil, (%rdx,%rax)
je LBB8_37
LBB8_33: ## in Loop: Header=BB8_27 Depth=2
leaq 1(%rax), %rcx
movslq %r12d, %rdx
cmpq %rdx, %rcx
jge LBB8_35
## %bb.34: ## in Loop: Header=BB8_27 Depth=2
movq %r14, %rbx
cmpb %sil, 1(%r13,%rax)
je LBB8_37
LBB8_35: ## in Loop: Header=BB8_27 Depth=2
cmpb %sil, -1(%r13,%rax)
jne LBB8_38
## %bb.36: ## in Loop: Header=BB8_27 Depth=2
leaq -1(%rax), %rcx
movq %r14, %rbx
jmp LBB8_37
LBB8_39:
movl _height(%rip), %eax
testl %eax, %eax
jle LBB8_47
## %bb.40:
movl _width(%rip), %ecx
jmp LBB8_42
.p2align 4, 0x90
LBB8_41: ## in Loop: Header=BB8_42 Depth=1
cmpq $2, %rdx
jl LBB8_47
LBB8_42: ## =>This Loop Header: Depth=1
## Child Loop BB8_44 Depth 2
movq %rax, %rdx
decq %rax
testl %ecx, %ecx
jle LBB8_41
## %bb.43: ## in Loop: Header=BB8_42 Depth=1
xorl %esi, %esi
jmp LBB8_44
.p2align 4, 0x90
LBB8_46: ## in Loop: Header=BB8_44 Depth=2
incq %rsi
movslq %ecx, %rdi
cmpq %rdi, %rsi
jge LBB8_41
LBB8_44: ## Parent Loop BB8_42 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r10), %rdi
movq (%rdi,%rax,8), %rdi
cmpb $75, (%rdi,%rsi)
jne LBB8_46
## %bb.45: ## in Loop: Header=BB8_44 Depth=2
movq (%r11), %rcx
movq (%rcx,%rax,8), %rcx
movb $75, (%rcx,%rsi)
movq (%r10), %rcx
movq (%rcx,%rax,8), %rcx
movb $32, (%rcx,%rsi)
movl _width(%rip), %ecx
jmp LBB8_46
.cfi_endproc
## -- End function
.globl _destroy_win ## -- Begin function destroy_win
.p2align 4, 0x90
_destroy_win: ## @destroy_win
.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
subq $8, %rsp
movl $32, %esi
movl $32, %edx
movl $32, %ecx
movl $32, %r8d
movl $32, %r9d
pushq $32
pushq $32
pushq $32
callq _wborder
addq $32, %rsp
movq %rbx, %rdi
callq _wclear
movq %rbx, %rdi
callq _wrefresh
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _delwin ## TAILCALL
.cfi_endproc
## -- End function
.globl _key_in ## -- Begin function key_in
.p2align 4, 0x90
_key_in: ## @key_in
.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
.cfi_offset %rbx, -24
## kill: def $edi killed $edi def $rdi
addl $-258, %edi ## imm = 0xFEFE
cmpl $3, %edi
ja LBB10_53
## %bb.1:
leaq LJTI10_0(%rip), %rax
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB10_54:
movslq (%rsi), %rcx
leaq 1(%rcx), %rax
cmpl _height(%rip), %eax
jge LBB10_53
## %bb.55:
movq _area@GOTPCREL(%rip), %r8
movq (%r8), %rdx
movq 8(%rdx,%rcx,8), %rdi
movslq 4(%rsi), %r9
movb (%rdi,%r9), %cl
cmpb $35, %cl
je LBB10_53
## %bb.56:
cmpb $45, %cl
jne LBB10_58
## %bb.57:
movb $32, (%rdi,%r9)
movw $1, _on_broom(%rip)
movq (%r8), %rdx
movslq (%rsi), %rax
movslq 4(%rsi), %r9
incq %rax
LBB10_58:
movq (%rdx,%rax,8), %rdx
movb (%rdx,%r9), %dil
leal -66(%rdi), %ecx
cmpb $55, %cl
ja LBB10_60
## %bb.59:
movzbl %cl, %ecx
movabsq $36323616467520547, %rbx ## imm = 0x810C2300810C23
btq %rcx, %rbx
jb LBB10_53
LBB10_60:
movzwl _on_broom(%rip), %r8d
cmpb $68, %dil
jne LBB10_63
## %bb.61:
cmpw $1, %r8w
jne LBB10_63
## %bb.62:
movb $32, (%rdx,%r9)
incl (%rsi)
jmp LBB10_17
LBB10_2:
movl (%rsi), %edx
testl %edx, %edx
jle LBB10_53
## %bb.3:
leal -1(%rdx), %r10d
movq _area@GOTPCREL(%rip), %r8
movq (%r8), %rbx
movq (%rbx,%r10,8), %rdi
movslq 4(%rsi), %r11
movb (%rdi,%r11), %cl
cmpb $35, %cl
je LBB10_53
## %bb.4:
cmpb $72, %cl
jne LBB10_5
LBB10_9:
movslq %r10d, %rax
movq (%rbx,%rax,8), %rdi
movb (%rdi,%r11), %r9b
leal -66(%r9), %ecx
cmpb $55, %cl
ja LBB10_18
## %bb.10:
movzbl %cl, %ecx
movabsq $36323616467520547, %rax ## imm = 0x810C2300810C23
btq %rcx, %rax
jae LBB10_11
## %bb.13:
movslq %edx, %rax
movq -16(%rbx,%rax,8), %rax
movb (%rax,%r11), %cl
cmpb $72, %cl
je LBB10_15
## %bb.14:
cmpb $32, %cl
jne LBB10_53
LBB10_15:
movb %r9b, (%rax,%r11)
movq (%r8), %rax
movslq (%rsi), %rcx
movq -8(%rax,%rcx,8), %rax
movslq 4(%rsi), %rcx
movb $32, (%rax,%rcx)
LBB10_16:
decl (%rsi)
jmp LBB10_17
LBB10_32:
movl 4(%rsi), %edi
testl %edi, %edi
jle LBB10_53
## %bb.33:
leal -1(%rdi), %edx
movq _area@GOTPCREL(%rip), %r8
movq (%r8), %rax
movslq (%rsi), %r9
movq (%rax,%r9,8), %rcx
movb (%rcx,%rdx), %al
cmpb $35, %al
je LBB10_53
## %bb.34:
cmpb $45, %al
jne LBB10_36
## %bb.35:
movb $32, (%rcx,%rdx)
movw $1, _on_broom(%rip)
movq (%r8), %rax
movslq (%rsi), %r9
movq (%rax,%r9,8), %rcx
movl 4(%rsi), %edi
leal -1(%rdi), %edx
LBB10_36:
movslq %edx, %rax
cmpb $68, (%rcx,%rax)
jne LBB10_38
## %bb.37:
movb $32, (%rcx,%rax)
movq (%r8), %rax
movslq (%rsi), %r9
movq (%rax,%r9,8), %rcx
movslq 4(%rsi), %rdi
movq %rdi, %rax
decq %rax
movl %eax, %edx
LBB10_38:
movb (%rcx,%rax), %r10b
leal -66(%r10), %eax
cmpb $55, %al
ja LBB10_44
## %bb.39:
movzbl %al, %eax
movabsq $36323616467520547, %rbx ## imm = 0x810C2300810C23
btq %rax, %rbx
jae LBB10_44
## %bb.40:
cmpl $2, %edi
jl LBB10_53
## %bb.41:
addl $-2, %edi
movb (%rcx,%rdi), %dl
cmpb $72, %dl
je LBB10_43
## %bb.42:
cmpb $32, %dl
jne LBB10_53
LBB10_43:
movb %r10b, (%rcx,%rdi)
movq (%r8), %rax
movslq (%rsi), %rcx
movq (%rax,%rcx,8), %rax
movslq 4(%rsi), %rcx
movb $32, -1(%rcx,%rax)
decl 4(%rsi)
jmp LBB10_17
LBB10_19:
movslq 4(%rsi), %rdx
leaq 1(%rdx), %rdi
cmpl _width(%rip), %edi
jge LBB10_53
## %bb.20:
movq _area@GOTPCREL(%rip), %r8
movq (%r8), %rax
movslq (%rsi), %rcx
movq (%rax,%rcx,8), %rcx
movb (%rcx,%rdi), %al
cmpb $35, %al
je LBB10_53
## %bb.21:
cmpb $45, %al
jne LBB10_23
## %bb.22:
movb $32, (%rcx,%rdi)
movw $1, _on_broom(%rip)
movq (%r8), %rax
movslq (%rsi), %rcx
movq (%rax,%rcx,8), %rcx
movslq 4(%rsi), %rdx
movq %rdx, %rdi
incq %rdi
LBB10_23:
cmpb $68, (%rcx,%rdi)
jne LBB10_25
## %bb.24:
movb $32, (%rcx,%rdi)
movq (%r8), %rax
movslq (%rsi), %rcx
movq (%rax,%rcx,8), %rcx
movslq 4(%rsi), %rdx
movq %rdx, %rdi
incq %rdi
LBB10_25:
movb (%rcx,%rdi), %r9b
leal -66(%r9), %eax
cmpb $55, %al
ja LBB10_31
## %bb.26:
movzbl %al, %eax
movabsq $36323616467520547, %rbx ## imm = 0x810C2300810C23
btq %rax, %rbx
jae LBB10_31
## %bb.27:
movslq %edx, %rdx
addq $2, %rdx
cmpl _width(%rip), %edx
jge LBB10_53
## %bb.28:
movb (%rcx,%rdx), %al
cmpb $72, %al
je LBB10_30
## %bb.29:
cmpb $32, %al
jne LBB10_53
LBB10_30:
movb %r9b, (%rcx,%rdx)
movq (%r8), %rax
movslq (%rsi), %rcx
movq (%rax,%rcx,8), %rax
movslq 4(%rsi), %rcx
movb $32, 1(%rcx,%rax)
incl 4(%rsi)
LBB10_17:
movq %rsi, %rdi
popq %rbx
popq %rbp
jmp _check_trigger ## TAILCALL
LBB10_5:
movq (%rbx,%rdx,8), %rax
cmpb $72, (%rax,%r11)
je LBB10_7
## %bb.6:
cmpw $1, _on_broom(%rip)
je LBB10_7
LBB10_53:
popq %rbx
popq %rbp
retq
LBB10_7:
cmpb $45, %cl
jne LBB10_9
## %bb.8:
movb $32, (%rdi,%r11)
movw $1, _on_broom(%rip)
movq (%r8), %rbx
movl (%rsi), %edx
movslq 4(%rsi), %r11
leal -1(%rdx), %r10d
jmp LBB10_9
LBB10_11:
cmpq $2, %rcx
jne LBB10_18
## %bb.12:
movb $32, (%rdi,%r11)
jmp LBB10_16
LBB10_44:
movl %edx, 4(%rsi)
cmpl _red_scroll(%rip), %r9d
jne LBB10_47
## %bb.45:
cmpl _red_scroll+4(%rip), %edx
jne LBB10_47
## %bb.46:
movw $1, %ax
subw _red_enabled(%rip), %ax
movw %ax, _red_enabled(%rip)
LBB10_47:
cmpl _blue_scroll(%rip), %r9d
jne LBB10_50
## %bb.48:
cmpl _blue_scroll+4(%rip), %edx
jne LBB10_50
## %bb.49:
movw $1, %ax
subw _blue_enabled(%rip), %ax
movw %ax, _blue_enabled(%rip)
LBB10_50:
cmpl _green_scroll(%rip), %r9d
jne LBB10_53
## %bb.51:
cmpl _green_scroll+4(%rip), %edx
jne LBB10_53
## %bb.52:
movw $1, %ax
subw _green_enabled(%rip), %ax
movw %ax, _green_enabled(%rip)
jmp LBB10_53
LBB10_31:
movl %edi, 4(%rsi)
jmp LBB10_17
LBB10_18:
movl %r10d, (%rsi)
jmp LBB10_17
LBB10_63:
cmpb $68, %dil
jne LBB10_65
## %bb.64:
testw %r8w, %r8w
je LBB10_53
LBB10_65:
movl %eax, (%rsi)
jmp LBB10_17
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L10_0_set_54, LBB10_54-LJTI10_0
.set L10_0_set_2, LBB10_2-LJTI10_0
.set L10_0_set_32, LBB10_32-LJTI10_0
.set L10_0_set_19, LBB10_19-LJTI10_0
LJTI10_0:
.long L10_0_set_54
.long L10_0_set_2
.long L10_0_set_32
.long L10_0_set_19
.end_data_region
## -- End function
.globl _is_box ## -- Begin function is_box
.p2align 4, 0x90
_is_box: ## @is_box
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addb $-98, %dil
cmpb $23, %dil
ja LBB11_2
## %bb.1:
movw $1, %ax
movzbl %dil, %ecx
movl $8457251, %edx ## imm = 0x810C23
btq %rcx, %rdx
jae LBB11_2
LBB11_3:
movzwl %ax, %eax
popq %rbp
retq
LBB11_2:
xorl %eax, %eax
jmp LBB11_3
.cfi_endproc
## -- End function
.globl _magnet_effect ## -- Begin function magnet_effect
.p2align 4, 0x90
_magnet_effect: ## @magnet_effect
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpw $1, %di
jne LBB12_10
## %bb.1:
movq %rcx, -48(%rbp) ## 8-byte Spill
leal 1(%rsi), %edi
movl _height(%rip), %r15d
xorl %r11d, %r11d
movl $0, %ebx
cmpl %r15d, %edi
jge LBB12_11
## %bb.2:
movq %rsi, %rcx
shrq $32, %rcx
movq %rdx, %r14
shrq $32, %r14
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %r9
movq %rsi, %r10
sarq $32, %r10
movslq %edi, %rdi
movslq %edx, %r12
movq %rdi, %rbx
shlq $32, %rbx
movabsq $-4294967296, %rdx ## imm = 0xFFFFFFFF00000000
addq %rbx, %rdx
subl %r15d, %esi
incl %esi
leaq LJTI12_0(%rip), %r15
LBB12_3: ## =>This Inner Loop Header: Depth=1
cmpq %rdi, %r12
jne LBB12_5
## %bb.4: ## in Loop: Header=BB12_3 Depth=1
cmpl %r14d, %ecx
je LBB12_10
LBB12_5: ## in Loop: Header=BB12_3 Depth=1
movq (%r9,%rdi,8), %rbx
movzbl (%rbx,%r10), %r8d
xorl %ebx, %ebx
leal -32(%r8), %r13d
cmpb $89, %r13b
ja LBB12_11
## %bb.6: ## in Loop: Header=BB12_3 Depth=1
movzbl %r13b, %eax
movslq (%r15,%rax,4), %rax
addq %r15, %rax
jmpq *%rax
LBB12_9: ## in Loop: Header=BB12_3 Depth=1
incq %rdi
movabsq $4294967296, %rax ## imm = 0x100000000
addq %rax, %rdx
decl %r11d
cmpl %r11d, %esi
jne LBB12_3
jmp LBB12_10
LBB12_7:
testl %r11d, %r11d
je LBB12_10
## %bb.8:
sarq $29, %rdx
movq (%r9,%rdx), %rax
movb %r8b, (%rax,%r10)
movq _area@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax,%rdi,8), %rax
movb $32, (%rax,%r10)
movq -48(%rbp), %rax ## 8-byte Reload
movw $1, (%rax)
movw $1, %bx
jmp LBB12_11
LBB12_10:
xorl %ebx, %ebx
LBB12_11:
movzwl %bx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L12_0_set_9, LBB12_9-LJTI12_0
.set L12_0_set_11, LBB12_11-LJTI12_0
.set L12_0_set_7, LBB12_7-LJTI12_0
LJTI12_0:
.long L12_0_set_9
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_9
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_11
.long L12_0_set_7
.end_data_region
## -- End function
.globl _check_trigger ## -- Begin function check_trigger
.p2align 4, 0x90
_check_trigger: ## @check_trigger
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
cmpl _red_scroll(%rip), %eax
jne LBB13_3
## %bb.1:
movl 4(%rdi), %ecx
cmpl _red_scroll+4(%rip), %ecx
jne LBB13_3
## %bb.2:
movw $1, %cx
subw _red_enabled(%rip), %cx
movw %cx, _red_enabled(%rip)
LBB13_3:
cmpl _blue_scroll(%rip), %eax
jne LBB13_6
## %bb.4:
movl 4(%rdi), %ecx
cmpl _blue_scroll+4(%rip), %ecx
jne LBB13_6
## %bb.5:
movw $1, %cx
subw _blue_enabled(%rip), %cx
movw %cx, _blue_enabled(%rip)
LBB13_6:
cmpl _green_scroll(%rip), %eax
jne LBB13_9
## %bb.7:
movl 4(%rdi), %eax
cmpl _green_scroll+4(%rip), %eax
jne LBB13_9
## %bb.8:
movw $1, %ax
subw _green_enabled(%rip), %ax
movw %ax, _green_enabled(%rip)
LBB13_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_scroll ## -- Begin function print_scroll
.p2align 4, 0x90
_print_scroll: ## @print_scroll
.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 _area@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %ebx, %rcx
movq (%rax,%rcx,8), %rax
movq %rsi, %rcx
sarq $32, %rcx
cmpb $32, (%rax,%rcx)
jne LBB14_36
## %bb.1:
movq %rbx, %r12
shrq $32, %r12
cmpw $1, %di
je LBB14_20
## %bb.2:
testw %di, %di
jne LBB14_36
## %bb.3:
movq _my_win@GOTPCREL(%rip), %r13
movq (%r13), %rdi
shll $8, %edx
movl %edx, %esi
callq _wattrset
movq (%r13), %rdi
leal (%rbx,%rbx), %esi
addl $2, %esi
movl %r12d, %eax
shll $2, %r12d
leal 2(,%rax,4), %edx
movl %esi, -44(%rbp) ## 4-byte Spill
movl %edx, -48(%rbp) ## 4-byte Spill
callq _wmove
cmpl $-1, %eax
je LBB14_5
## %bb.4:
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB14_5:
addl %ebx, %ebx
movq (%r13), %rdi
movl %r12d, %r14d
orl $3, %r14d
movl -44(%rbp), %esi ## 4-byte Reload
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_7
## %bb.6:
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB14_7:
movq (%r13), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r13), %rdi
orl $1, %ebx
movl %r12d, %r15d
orl $1, %r15d
movl %ebx, %esi
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_9
## %bb.8:
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB14_9:
movq (%r13), %rdi
movl %ebx, %esi
movl -48(%rbp), %edx ## 4-byte Reload
callq _wmove
cmpl $-1, %eax
je LBB14_11
## %bb.10:
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB14_11:
movq (%r13), %rdi
movl %ebx, %esi
movl %r14d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_13
## %bb.12:
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB14_13:
movq (%r13), %rdi
addl $4, %r12d
movl %ebx, %esi
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_15
## %bb.14:
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB14_15:
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r15d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_17
## %bb.16:
movq (%r13), %rdi
movl $32, %esi
callq _waddch
LBB14_17:
movq (%r13), %rdi
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_36
## %bb.18:
movq (%r13), %rdi
movl $32, %esi
jmp LBB14_19
LBB14_20:
movq _my_win@GOTPCREL(%rip), %r15
movq (%r15), %rdi
shll $8, %edx
movl %edx, %esi
callq _wattrset
movq (%r15), %rdi
leal (%rbx,%rbx), %esi
incl %esi
movl %r12d, %eax
shll $2, %r12d
leal 2(,%rax,4), %r13d
movl %esi, -44(%rbp) ## 4-byte Spill
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_22
## %bb.21:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 476(%rax), %esi
callq _waddch
LBB14_22:
leal (%rbx,%rbx), %r14d
movq (%r15), %rdi
movl %r12d, %ebx
orl $3, %ebx
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_24
## %bb.23:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 476(%rax), %esi
callq _waddch
LBB14_24:
movq (%r15), %rdi
addl $2, %r14d
movl %r14d, %esi
movl %r13d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_26
## %bb.25:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 472(%rax), %esi
callq _waddch
LBB14_26:
movq (%r15), %rdi
movl %r14d, %esi
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_28
## %bb.27:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 472(%rax), %esi
callq _waddch
LBB14_28:
movq (%r15), %rdi
movl $2048, %esi ## imm = 0x800
callq _wattrset
movq (%r15), %rdi
movl %r12d, %ebx
orl $1, %ebx
movl -44(%rbp), %esi ## 4-byte Reload
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_30
## %bb.29:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 432(%rax), %esi
callq _waddch
LBB14_30:
movq (%r15), %rdi
addl $4, %r12d
movl -44(%rbp), %esi ## 4-byte Reload
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_32
## %bb.31:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 428(%rax), %esi
callq _waddch
LBB14_32:
movq (%r15), %rdi
movl %r14d, %esi
movl %ebx, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_34
## %bb.33:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 436(%rax), %esi
callq _waddch
LBB14_34:
movq (%r15), %rdi
movl %r14d, %esi
movl %r12d, %edx
callq _wmove
cmpl $-1, %eax
je LBB14_36
## %bb.35:
movq (%r15), %rdi
movq _acs_map@GOTPCREL(%rip), %rax
movl 424(%rax), %esi
LBB14_19:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _waddch ## TAILCALL
LBB14_36:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _height ## @height
.p2align 2
_height:
.long 10 ## 0xa
.globl _width ## @width
.p2align 2
_width:
.long 8 ## 0x8
.globl _map_d ## @map_d
.p2align 4
_map_d:
.space 8,35
.ascii "#### #"
.ascii "# #H#"
.ascii "# r H#"
.ascii "# ###H#"
.ascii "# g y H#"
.ascii "##r ##H#"
.ascii "### H#"
.ascii "#yg #"
.space 8,35
.globl _ladder_count ## @ladder_count
.p2align 2
_ladder_count:
.long 6 ## 0x6
.globl _ladder_d ## @ladder_d
.p2align 4
_ladder_d:
.long 2 ## 0x2
.long 6 ## 0x6
.long 3 ## 0x3
.long 6 ## 0x6
.long 4 ## 0x4
.long 6 ## 0x6
.long 5 ## 0x5
.long 6 ## 0x6
.long 6 ## 0x6
.long 6 ## 0x6
.long 7 ## 0x7
.long 6 ## 0x6
.globl _human_d ## @human_d
.p2align 3
_human_d:
.long 3 ## 0x3
.long 5 ## 0x5
.globl _default_command_message ## @default_command_message
.p2align 4
_default_command_message:
.asciz "Press r to reset, q to quit, s to load move sequence."
.globl _deafult_map_loaded_message ## @deafult_map_loaded_message
.p2align 4
_deafult_map_loaded_message:
.asciz "Default map loaded!"
.globl _red_scroll ## @red_scroll
.p2align 3
_red_scroll:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.globl _blue_scroll ## @blue_scroll
.p2align 3
_blue_scroll:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.globl _green_scroll ## @green_scroll
.p2align 3
_green_scroll:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.globl _red_magnet ## @red_magnet
.p2align 3
_red_magnet:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.globl _blue_magnet ## @blue_magnet
.p2align 3
_blue_magnet:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.globl _green_magnet ## @green_magnet
.p2align 3
_green_magnet:
.long 4294967295 ## 0xffffffff
.long 4294967295 ## 0xffffffff
.globl _red_enabled ## @red_enabled
.zerofill __DATA,__common,_red_enabled,2,1
.globl _blue_enabled ## @blue_enabled
.zerofill __DATA,__common,_blue_enabled,2,1
.globl _green_enabled ## @green_enabled
.zerofill __DATA,__common,_green_enabled,2,1
.globl _on_broom ## @on_broom
.zerofill __DATA,__common,_on_broom,2,1
.globl _boxes ## @boxes
.p2align 2
_boxes:
.long 6 ## 0x6
.globl _level ## @level
.p2align 2
_level:
.long 1 ## 0x1
.globl _max_level ## @max_level
.p2align 2
_max_level:
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "Error level number! %s"
L_.str.2: ## @.str.2
.asciz "maps/map%d.txt"
L_.str.3: ## @.str.3
.asciz "Can't open the file! %s"
L_.str.4: ## @.str.4
.asciz "No map file input! %s"
.comm _cp,8,2 ## @cp
.comm _human,8,2 ## @human
.comm _box_count,4,2 ## @box_count
.comm _ladder,8,3 ## @ladder
.comm _area,8,3 ## @area
.comm _map,8,3 ## @map
.comm _boom_map,8,3 ## @boom_map
L_.str.5: ## @.str.5
.asciz "Welcome! %s"
.comm _my_win,8,3 ## @my_win
L_.str.6: ## @.str.6
.asciz "Game has been reset! %s"
L_.str.7: ## @.str.7
.asciz "The move sequence file: "
L_.str.8: ## @.str.8
.asciz "%s"
L_.str.9: ## @.str.9
.asciz "r"
L_.str.10: ## @.str.10
.asciz "Can't open the file!"
L_.str.11: ## @.str.11
.asciz "All level finished! Press r to reset, q to quit."
L_.str.12: ## @.str.12
.asciz "Level completed! Press r to reset, q to quit, n to load next level."
L_.str.13: ## @.str.13
.asciz "Can't open the file! No map loaded!"
L_.str.14: ## @.str.14
.asciz "Next level loaded! %s"
L_.str.15: ## @.str.15
.asciz "Harry is killed and game over! Press r to reset, q to quit."
L_.str.16: ## @.str.16
.asciz "rb"
L_.str.17: ## @.str.17
.asciz "\r\n"
L_.str.19: ## @.str.19
.asciz " "
L_.str.20: ## @.str.20
.asciz "The map is malformed! %s"
L_.str.21: ## @.str.21
.asciz "The map is strange to play! %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:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #576
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
strh wzr, [sp, #34]
mov x8, #-1
str x8, [sp, #24]
bl _initscr
Lloh3:
adrp x24, _stdscr@GOTPAGE
Lloh4:
ldr x24, [x24, _stdscr@GOTPAGEOFF]
ldr x0, [x24]
mov w1, #1
bl _keypad
mov w0, #0
bl _curs_set
bl _noecho
bl _cbreak
Lloh5:
adrp x19, _cp@GOTPAGE
Lloh6:
ldr x19, [x19, _cp@GOTPAGEOFF]
adrp x23, _width@PAGE
Lloh7:
adrp x25, _area@GOTPAGE
Lloh8:
ldr x25, [x25, _area@GOTPAGEOFF]
Lloh9:
adrp x26, _map@GOTPAGE
Lloh10:
ldr x26, [x26, _map@GOTPAGEOFF]
adrp x22, _level@PAGE
cmp w21, #2
b.lt LBB0_6
; %bb.1:
ldr x0, [x20, #8]
Lloh11:
adrp x8, _max_level@PAGE
Lloh12:
add x8, x8, _max_level@PAGEOFF
str x8, [sp]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
bl _sscanf
ldr w8, [x22, _level@PAGEOFF]
cmp w8, #0
b.gt LBB0_3
; %bb.2:
Lloh15:
adrp x8, _deafult_map_loaded_message@PAGE
Lloh16:
add x8, x8, _deafult_map_loaded_message@PAGEOFF
str x8, [sp]
Lloh17:
adrp x0, l_.str.1@PAGE
Lloh18:
add x0, x0, l_.str.1@PAGEOFF
bl _printw
ldr w8, [x22, _level@PAGEOFF]
LBB0_3:
str x8, [sp]
Lloh19:
adrp x3, l_.str.2@PAGE
Lloh20:
add x3, x3, l_.str.2@PAGEOFF
add x0, sp, #298
mov w1, #0
mov w2, #262
bl ___sprintf_chk
str wzr, [sp, #36]
add x0, sp, #298
add x1, sp, #36
bl _readFile
Lloh21:
adrp x20, _ladder@GOTPAGE
Lloh22:
ldr x20, [x20, _ladder@GOTPAGEOFF]
cbz x0, LBB0_7
; %bb.4:
bl _parseMap
cbnz w0, LBB0_8
; %bb.5:
Lloh23:
adrp x8, _default_command_message@PAGE
Lloh24:
add x8, x8, _default_command_message@PAGEOFF
str x8, [sp]
Lloh25:
adrp x0, l_.str.5@PAGE
Lloh26:
add x0, x0, l_.str.5@PAGEOFF
bl _printw
Lloh27:
adrp x8, _height@PAGE
Lloh28:
ldr w22, [x8, _height@PAGEOFF]
b LBB0_16
LBB0_6:
Lloh29:
adrp x8, _deafult_map_loaded_message@PAGE
Lloh30:
add x8, x8, _deafult_map_loaded_message@PAGEOFF
str x8, [sp]
Lloh31:
adrp x0, l_.str.4@PAGE
Lloh32:
add x0, x0, l_.str.4@PAGEOFF
bl _printw
Lloh33:
adrp x20, _ladder@GOTPAGE
Lloh34:
ldr x20, [x20, _ladder@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh35:
adrp x8, _deafult_map_loaded_message@PAGE
Lloh36:
add x8, x8, _deafult_map_loaded_message@PAGEOFF
str x8, [sp]
Lloh37:
adrp x0, l_.str.3@PAGE
Lloh38:
add x0, x0, l_.str.3@PAGEOFF
bl _printw
LBB0_8:
Lloh39:
adrp x8, _human_d@PAGE
Lloh40:
ldr x8, [x8, _human_d@PAGEOFF]
Lloh41:
adrp x9, _human@GOTPAGE
Lloh42:
ldr x9, [x9, _human@GOTPAGEOFF]
Lloh43:
str x8, [x9]
str x8, [x19]
Lloh44:
adrp x8, _boxes@PAGE
Lloh45:
ldr w8, [x8, _boxes@PAGEOFF]
Lloh46:
adrp x9, _box_count@GOTPAGE
Lloh47:
ldr x9, [x9, _box_count@GOTPAGEOFF]
Lloh48:
str w8, [x9]
mov w0, #48
bl _malloc
str x0, [x20]
ldr x0, [x24]
mov w1, #40
mov w2, #40
bl _wmove
Lloh49:
adrp x8, _ladder_count@PAGE
Lloh50:
ldr w9, [x8, _ladder_count@PAGEOFF]
cmp w9, #1
b.lt LBB0_11
; %bb.9:
mov x8, #0
lsl x9, x9, #3
Lloh51:
adrp x10, _ladder_d@PAGE
Lloh52:
add x10, x10, _ladder_d@PAGEOFF
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x11, [x20]
ldr x12, [x10, x8]
str x12, [x11, x8]
add x8, x8, #8
cmp x9, x8
b.ne LBB0_10
LBB0_11:
Lloh53:
adrp x8, _height@PAGE
Lloh54:
ldrsw x22, [x8, _height@PAGEOFF]
lsl x20, x22, #3
mov x0, x20
bl _malloc
mov x21, x0
str x0, [x25]
mov x0, x20
bl _malloc
str x0, [x26]
mov x0, x20
bl _malloc
Lloh55:
adrp x8, _boom_map@GOTPAGE
Lloh56:
ldr x8, [x8, _boom_map@GOTPAGEOFF]
Lloh57:
str x0, [x8]
cmp w22, #1
b.lt LBB0_16
; %bb.12:
mov x27, #0
ldrsw x20, [x23, _width@PAGEOFF]
Lloh58:
adrp x8, _height@PAGE
Lloh59:
ldr w8, [x8, _height@PAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
str x8, [sp, #16] ; 8-byte Folded Spill
Lloh60:
adrp x22, _map_d@PAGE
Lloh61:
add x22, x22, _map_d@PAGEOFF
LBB0_13: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _malloc
lsl x28, x27, #3
str x0, [x21, x28]
mov x0, x20
bl _malloc
ldr x8, [x26]
str x0, [x8, x28]
mov x0, x20
bl _malloc
Lloh62:
adrp x10, _boom_map@GOTPAGE
Lloh63:
ldr x10, [x10, _boom_map@GOTPAGEOFF]
ldr x8, [x10]
str x0, [x8, x28]
ldr x8, [x25]
ldr x8, [x8, x28]
ldr x9, [x22, x28]
str x9, [x8]
ldr x8, [x26]
ldr x8, [x8, x28]
ldr x9, [x22, x28]
str x9, [x8]
ldr x8, [x10]
ldr x8, [x8, x28]
mov x9, #2314885530818453536
str x9, [x8]
add x27, x27, #1
ldr x8, [sp, #16] ; 8-byte Folded Reload
cmp x27, x8
b.ge LBB0_15
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
ldr x21, [x25]
b LBB0_13
LBB0_15:
ldr x22, [sp, #8] ; 8-byte Folded Reload
LBB0_16:
lsl w8, w22, #1
add w0, w8, #2
ldr w8, [x23, _width@PAGEOFF]
mov w1, #2
bfi w1, w8, #2, #30
mov w2, #1
mov w3, #5
bl _newwin
mov x21, x0
Lloh64:
adrp x8, _acs_map@GOTPAGE
Lloh65:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
ldr w1, [x8, #480]
ldr w3, [x8, #452]
ldr w5, [x8, #432]
ldr w6, [x8, #428]
ldr w7, [x8, #436]
ldr w8, [x8, #424]
str w8, [sp]
mov x2, x1
mov x4, x3
bl _wborder
Lloh66:
adrp x8, _my_win@GOTPAGE
Lloh67:
ldr x8, [x8, _my_win@GOTPAGEOFF]
Lloh68:
str x21, [x8]
bl _has_colors
cbz w0, LBB0_18
; %bb.17:
bl _start_color
mov w0, #1
mov w1, #0
mov w2, #4
bl _init_pair
mov w0, #2
mov w1, #0
mov w2, #1
bl _init_pair
mov w0, #3
mov w1, #0
mov w2, #6
bl _init_pair
mov w0, #4
mov w1, #0
mov w2, #5
bl _init_pair
mov w0, #5
mov w1, #0
mov w2, #2
bl _init_pair
mov w0, #6
mov w1, #0
mov w2, #3
bl _init_pair
mov w0, #7
mov w1, #0
mov w2, #0
bl _init_pair
mov w0, #8
mov w1, #0
mov w2, #7
bl _init_pair
mov w0, #9
mov w1, #7
mov w2, #0
bl _init_pair
LBB0_18:
mov w1, #0
bl _draw_field
ldr x0, [x24]
bl _wrefresh
Lloh69:
adrp x8, _my_win@GOTPAGE
Lloh70:
ldr x8, [x8, _my_win@GOTPAGEOFF]
Lloh71:
ldr x0, [x8]
bl _wrefresh
mov w21, #0
add x8, sp, #36
add x8, x8, #5
str x8, [sp, #8] ; 8-byte Folded Spill
; implicit-def: $x8
; kill: killed $x8
LBB0_19: ; =>This Loop Header: Depth=1
; Child Loop BB0_22 Depth 2
; Child Loop BB0_41 Depth 3
; Child Loop BB0_43 Depth 4
mov w22, #0
mov w20, #0
b LBB0_22
LBB0_20: ; in Loop: Header=BB0_22 Depth=2
Lloh72:
adrp x0, l_.str.15@PAGE
Lloh73:
add x0, x0, l_.str.15@PAGEOFF
bl _printw
mov w20, #1
LBB0_21: ; in Loop: Header=BB0_22 Depth=2
sxth w1, w20
bl _draw_field
Lloh74:
adrp x8, _my_win@GOTPAGE
Lloh75:
ldr x8, [x8, _my_win@GOTPAGEOFF]
Lloh76:
ldr x0, [x8]
bl _wrefresh
LBB0_22: ; Parent Loop BB0_19 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_41 Depth 3
; Child Loop BB0_43 Depth 4
cbz w22, LBB0_24
; %bb.23: ; in Loop: Header=BB0_22 Depth=2
mov w0, #3392
movk w0, #3, lsl #16
bl _usleep
LBB0_24: ; in Loop: Header=BB0_22 Depth=2
ldr w8, [sp, #24]
tbnz w8, #31, LBB0_28
; %bb.25: ; in Loop: Header=BB0_22 Depth=2
ldr w9, [sp, #28]
tbnz w9, #31, LBB0_28
; %bb.26: ; in Loop: Header=BB0_22 Depth=2
ldr x10, [x25]
ldr x10, [x10, x8, lsl #3]
ldrb w10, [x10, x9]
sub w10, w10, #66
cmp w10, #23
mov w11, #1
lsl w10, w11, w10
mov w11, #3107
movk w11, #129, lsl #16
and w10, w10, w11
ccmp w10, #0, #4, ls
b.eq LBB0_28
; %bb.27: ; in Loop: Header=BB0_22 Depth=2
add w8, w8, #1
ldp w10, w11, [x19]
cmp w8, w10
ccmp w9, w11, #0, eq
b.eq LBB0_33
LBB0_28: ; in Loop: Header=BB0_22 Depth=2
movi.2d v0, #0xffffffffffffffff
str d0, [sp, #24]
sxth w27, w20
add x1, sp, #34
add x2, sp, #24
mov x0, x19
mov x3, x27
bl _gravity_and_magnet
add x1, sp, #34
add x2, sp, #24
mov x0, x19
mov x3, x27
bl _bludger_effect
cmn w0, #1
csinc w20, w20, wzr, ne
sxth w1, w20
add x0, sp, #34
bl _destroy
ldrh w22, [sp, #34]
cbnz w22, LBB0_34
; %bb.29: ; in Loop: Header=BB0_22 Depth=2
cbz w21, LBB0_37
; %bb.30: ; in Loop: Header=BB0_22 Depth=2
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _fgetc
sub w8, w0, #100
cmp w8, #17
b.hi LBB0_46
; %bb.31: ; in Loop: Header=BB0_22 Depth=2
mov w27, #260
Lloh77:
adrp x11, lJTI0_0@PAGE
Lloh78:
add x11, x11, lJTI0_0@PAGEOFF
adr x9, LBB0_32
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_32: ; in Loop: Header=BB0_22 Depth=2
mov w27, #258
b LBB0_51
LBB0_33: ; in Loop: Header=BB0_22 Depth=2
mov w22, #1
strh w22, [sp, #34]
movi.2d v0, #0xffffffffffffffff
str d0, [sp, #24]
mov w20, #1
LBB0_34: ; in Loop: Header=BB0_22 Depth=2
mov w27, #0
Lloh79:
adrp x8, _box_count@GOTPAGE
Lloh80:
ldr x8, [x8, _box_count@GOTPAGEOFF]
Lloh81:
ldr w8, [x8]
tst w20, #0xffff
cset w28, ne
cmp w8, #1
b.lt LBB0_57
LBB0_35: ; in Loop: Header=BB0_22 Depth=2
ldr x0, [x24]
mov w1, #0
mov w2, #0
bl _wmove
ldr x0, [x24]
bl _wclrtoeol
cbnz w28, LBB0_20
; %bb.36: ; in Loop: Header=BB0_22 Depth=2
Lloh82:
adrp x8, _default_command_message@PAGE
Lloh83:
add x8, x8, _default_command_message@PAGEOFF
str x8, [sp]
Lloh84:
adrp x0, l_.str.5@PAGE
Lloh85:
add x0, x0, l_.str.5@PAGEOFF
bl _printw
mov w20, #0
tst w20, #0xffff
b.eq LBB0_63
b LBB0_21
LBB0_37: ; in Loop: Header=BB0_22 Depth=2
ldr x0, [x24]
bl _wgetch
mov x27, x0
cmp w27, #114
b.ne LBB0_52
LBB0_38: ; in Loop: Header=BB0_22 Depth=2
Lloh86:
adrp x8, _human@GOTPAGE
Lloh87:
ldr x8, [x8, _human@GOTPAGEOFF]
Lloh88:
ldr x8, [x8]
str x8, [x19]
Lloh89:
adrp x8, _boxes@PAGE
Lloh90:
ldr w8, [x8, _boxes@PAGEOFF]
Lloh91:
adrp x9, _box_count@GOTPAGE
Lloh92:
ldr x9, [x9, _box_count@GOTPAGEOFF]
Lloh93:
str w8, [x9]
Lloh94:
adrp x8, _green_enabled@PAGE
strh wzr, [x8, _green_enabled@PAGEOFF]
Lloh95:
adrp x8, _blue_enabled@PAGE
strh wzr, [x8, _blue_enabled@PAGEOFF]
Lloh96:
adrp x8, _red_enabled@PAGE
strh wzr, [x8, _red_enabled@PAGEOFF]
strh wzr, [sp, #34]
Lloh97:
adrp x8, _on_broom@PAGE
strh wzr, [x8, _on_broom@PAGEOFF]
adrp x13, _height@PAGE
ldr w10, [x13, _height@PAGEOFF]
cmp w10, #1
b.lt LBB0_45
; %bb.39: ; in Loop: Header=BB0_22 Depth=2
mov x8, #0
ldr w9, [x23, _width@PAGEOFF]
b LBB0_41
LBB0_40: ; in Loop: Header=BB0_41 Depth=3
add x8, x8, #1
cmp x8, w10, sxtw
b.ge LBB0_45
LBB0_41: ; Parent Loop BB0_19 Depth=1
; Parent Loop BB0_22 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_43 Depth 4
cmp w9, #1
b.lt LBB0_40
; %bb.42: ; in Loop: Header=BB0_41 Depth=3
mov x10, #0
LBB0_43: ; Parent Loop BB0_19 Depth=1
; Parent Loop BB0_22 Depth=2
; Parent Loop BB0_41 Depth=3
; => This Inner Loop Header: Depth=4
ldr x9, [x26]
lsl x11, x8, #3
ldr x9, [x9, x11]
ldrb w9, [x9, x10]
ldr x12, [x25]
ldr x11, [x12, x11]
strb w9, [x11, x10]
add x10, x10, #1
ldrsw x9, [x23, _width@PAGEOFF]
cmp x10, x9
b.lt LBB0_43
; %bb.44: ; in Loop: Header=BB0_41 Depth=3
ldr w10, [x13, _height@PAGEOFF]
b LBB0_40
LBB0_45: ; in Loop: Header=BB0_22 Depth=2
ldr x0, [x24]
mov w1, #0
mov w2, #0
bl _wmove
ldr x0, [x24]
bl _wclrtoeol
Lloh98:
adrp x8, _default_command_message@PAGE
Lloh99:
add x8, x8, _default_command_message@PAGEOFF
str x8, [sp]
Lloh100:
adrp x0, l_.str.6@PAGE
Lloh101:
add x0, x0, l_.str.6@PAGEOFF
bl _printw
mov w22, #0
mov w21, #0
mov w20, #0
mov w27, #114
tst w20, #0xffff
b.eq LBB0_63
b LBB0_21
LBB0_46: ; in Loop: Header=BB0_22 Depth=2
cmn w0, #1
b.ne LBB0_48
; %bb.47: ; in Loop: Header=BB0_22 Depth=2
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _fclose
mov w22, #0
mov w21, #0
b LBB0_34
LBB0_48: ; in Loop: Header=BB0_22 Depth=2
mov w27, #0
b LBB0_51
LBB0_49: ; in Loop: Header=BB0_22 Depth=2
mov w27, #261
b LBB0_51
LBB0_50: ; in Loop: Header=BB0_22 Depth=2
mov w27, #259
LBB0_51: ; in Loop: Header=BB0_22 Depth=2
mov w0, #34464
movk w0, #1, lsl #16
bl _usleep
mov w21, #1
cmp w27, #114
b.eq LBB0_38
LBB0_52: ; in Loop: Header=BB0_22 Depth=2
cmp w27, #113
b.eq LBB0_70
; %bb.53: ; in Loop: Header=BB0_22 Depth=2
Lloh102:
adrp x8, _box_count@GOTPAGE
Lloh103:
ldr x8, [x8, _box_count@GOTPAGEOFF]
Lloh104:
ldr w8, [x8]
ands w9, w20, #0xffff
cset w28, ne
cbnz w9, LBB0_56
; %bb.54: ; in Loop: Header=BB0_22 Depth=2
cmp w27, #115
b.ne LBB0_56
; %bb.55: ; in Loop: Header=BB0_22 Depth=2
cmp w8, #1
b.ge LBB0_67
LBB0_56: ; in Loop: Header=BB0_22 Depth=2
mov w22, #0
cmp w8, #0
b.gt LBB0_35
LBB0_57: ; in Loop: Header=BB0_22 Depth=2
ldr x0, [x24]
mov w1, #0
mov w2, #0
bl _wmove
ldr x0, [x24]
bl _wclrtoeol
Lloh105:
adrp x8, _level@PAGE
Lloh106:
ldr w8, [x8, _level@PAGEOFF]
Lloh107:
adrp x9, _max_level@PAGE
Lloh108:
ldr w9, [x9, _max_level@PAGEOFF]
cmp w8, w9
b.ge LBB0_61
; %bb.58: ; in Loop: Header=BB0_22 Depth=2
ldr x0, [x24]
mov w1, #0
mov w2, #0
bl _wmove
ldr x0, [x24]
bl _wclrtoeol
Lloh109:
adrp x0, l_.str.12@PAGE
Lloh110:
add x0, x0, l_.str.12@PAGEOFF
bl _printw
cmp w27, #110
b.ne LBB0_62
; %bb.59: ; in Loop: Header=BB0_22 Depth=2
adrp x9, _level@PAGE
ldr w8, [x9, _level@PAGEOFF]
add w8, w8, #1
str w8, [x9, _level@PAGEOFF]
str x8, [sp]
add x0, sp, #298
mov w1, #0
mov w2, #262
Lloh111:
adrp x3, l_.str.2@PAGE
Lloh112:
add x3, x3, l_.str.2@PAGEOFF
bl ___sprintf_chk
str wzr, [sp, #36]
add x0, sp, #298
add x1, sp, #36
bl _readFile
cbz x0, LBB0_65
; %bb.60: ; in Loop: Header=BB0_22 Depth=2
bl _parseMap
b LBB0_66
LBB0_61: ; in Loop: Header=BB0_22 Depth=2
Lloh113:
adrp x0, l_.str.11@PAGE
Lloh114:
add x0, x0, l_.str.11@PAGEOFF
bl _printw
LBB0_62: ; in Loop: Header=BB0_22 Depth=2
tst w20, #0xffff
b.ne LBB0_21
LBB0_63: ; in Loop: Header=BB0_22 Depth=2
Lloh115:
adrp x8, _box_count@GOTPAGE
Lloh116:
ldr x8, [x8, _box_count@GOTPAGEOFF]
Lloh117:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_21
; %bb.64: ; in Loop: Header=BB0_22 Depth=2
mov x0, x27
mov x1, x19
bl _key_in
mov w20, #0
b LBB0_21
LBB0_65: ; in Loop: Header=BB0_22 Depth=2
Lloh118:
adrp x0, l_.str.13@PAGE
Lloh119:
add x0, x0, l_.str.13@PAGEOFF
bl _printw
LBB0_66: ; in Loop: Header=BB0_22 Depth=2
Lloh120:
adrp x28, _my_win@GOTPAGE
Lloh121:
ldr x28, [x28, _my_win@GOTPAGEOFF]
ldr x27, [x28]
mov w8, #32
str w8, [sp]
mov x0, x27
mov w1, #32
mov w2, #32
mov w3, #32
mov w4, #32
mov w5, #32
mov w6, #32
mov w7, #32
bl _wborder
mov x0, x27
bl _wclear
mov x0, x27
bl _wrefresh
mov x0, x27
bl _delwin
Lloh122:
adrp x8, _height@PAGE
Lloh123:
ldr w8, [x8, _height@PAGEOFF]
lsl w8, w8, #1
add w0, w8, #2
ldr w8, [x23, _width@PAGEOFF]
mov w1, #2
bfi w1, w8, #2, #30
mov w2, #1
mov w3, #5
bl _newwin
mov x27, x0
Lloh124:
adrp x8, _acs_map@GOTPAGE
Lloh125:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
ldr w1, [x8, #480]
ldr w3, [x8, #452]
ldr w5, [x8, #432]
ldr w6, [x8, #428]
ldr w7, [x8, #436]
ldr w8, [x8, #424]
str w8, [sp]
mov x2, x1
mov x4, x3
bl _wborder
str x27, [x28]
ldr x0, [x24]
mov w1, #0
mov w2, #0
bl _wmove
ldr x0, [x24]
bl _wclrtoeol
Lloh126:
adrp x8, _default_command_message@PAGE
Lloh127:
add x8, x8, _default_command_message@PAGEOFF
str x8, [sp]
Lloh128:
adrp x0, l_.str.14@PAGE
Lloh129:
add x0, x0, l_.str.14@PAGEOFF
bl _printw
mov w27, #110
tst w20, #0xffff
b.eq LBB0_63
b LBB0_21
LBB0_67: ; in Loop: Header=BB0_19 Depth=1
ldr x0, [x24]
mov w1, #0
mov w2, #0
bl _wmove
ldr x0, [x24]
bl _wclrtoeol
mov w0, #0
mov w1, #0
Lloh130:
adrp x2, l_.str.7@PAGE
Lloh131:
add x2, x2, l_.str.7@PAGEOFF
bl _mvprintw
ldr x0, [x24]
mov w1, #0
bl _keypad
mov w20, #1
mov w0, #1
bl _curs_set
bl _echo
add x8, sp, #298
str x8, [sp]
Lloh132:
adrp x0, l_.str.8@PAGE
Lloh133:
add x0, x0, l_.str.8@PAGEOFF
bl _scanw
ldr x8, [sp, #8] ; 8-byte Folded Reload
strb wzr, [x8, #256]
movi.2d v0, #0000000000000000
stp q0, q0, [x8, #224]
stp q0, q0, [x8, #192]
stp q0, q0, [x8, #160]
stp q0, q0, [x8, #128]
stp q0, q0, [x8, #96]
stp q0, q0, [x8, #64]
stp q0, q0, [x8, #32]
stp q0, q0, [x8]
mov w8, #24941
movk w8, #29552, lsl #16
str w8, [sp, #36]
mov w8, #47
strb w8, [sp, #40]
add x0, sp, #36
add x1, sp, #298
mov w2, #262
bl ___strcat_chk
add x0, sp, #298
add x1, sp, #36
mov w2, #262
bl ___strcpy_chk
add x0, sp, #298
Lloh134:
adrp x1, l_.str.9@PAGE
Lloh135:
add x1, x1, l_.str.9@PAGEOFF
bl _fopen
str x0, [sp, #16] ; 8-byte Folded Spill
cbnz x0, LBB0_69
; %bb.68: ; in Loop: Header=BB0_19 Depth=1
ldr x0, [x24]
mov w1, #0
mov w2, #0
bl _wmove
ldr x0, [x24]
bl _wclrtoeol
Lloh136:
adrp x0, l_.str.10@PAGE
Lloh137:
add x0, x0, l_.str.10@PAGEOFF
bl _printw
mov x20, x21
LBB0_69: ; in Loop: Header=BB0_19 Depth=1
ldr x0, [x24]
mov w1, #1
bl _keypad
mov w0, #0
bl _curs_set
bl _noecho
ldr x0, [x24]
bl _wrefresh
mov x21, x20
b LBB0_19
LBB0_70:
bl _endwin
Lloh138:
adrp x8, _height@PAGE
Lloh139:
ldr w8, [x8, _height@PAGEOFF]
cmp w8, #1
Lloh140:
adrp x21, _boom_map@GOTPAGE
Lloh141:
ldr x21, [x21, _boom_map@GOTPAGEOFF]
b.lt LBB0_73
; %bb.71:
mov x19, #0
LBB0_72: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25]
lsl x20, x19, #3
ldr x0, [x8, x20]
bl _free
ldr x8, [x26]
ldr x0, [x8, x20]
bl _free
ldr x8, [x21]
ldr x0, [x8, x20]
bl _free
add x19, x19, #1
Lloh142:
adrp x8, _height@PAGE
Lloh143:
ldrsw x8, [x8, _height@PAGEOFF]
cmp x19, x8
b.lt LBB0_72
LBB0_73:
ldr x0, [x25]
bl _free
Lloh144:
adrp x8, _ladder@GOTPAGE
Lloh145:
ldr x8, [x8, _ladder@GOTPAGEOFF]
Lloh146:
ldr x0, [x8]
bl _free
ldr x0, [x21]
bl _free
ldr x0, [x26]
bl _free
ldur x8, [x29, #-96]
Lloh147:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh148:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh149:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_75
; %bb.74:
mov w0, #0
add sp, sp, #576
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_75:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdr Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdr Lloh49, Lloh50
.loh AdrpLdrGotStr Lloh46, Lloh47, Lloh48
.loh AdrpLdr Lloh44, Lloh45
.loh AdrpLdrGotStr Lloh41, Lloh42, Lloh43
.loh AdrpLdr Lloh39, Lloh40
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpLdrGotStr Lloh55, Lloh56, Lloh57
.loh AdrpLdr Lloh53, Lloh54
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpLdr Lloh58, Lloh59
.loh AdrpLdrGot Lloh62, Lloh63
.loh AdrpLdrGotStr Lloh66, Lloh67, Lloh68
.loh AdrpLdrGot Lloh64, Lloh65
.loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpLdrGotLdr Lloh79, Lloh80, Lloh81
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdrp Lloh96, Lloh97
.loh AdrpAdrp Lloh95, Lloh96
.loh AdrpAdrp Lloh94, Lloh95
.loh AdrpLdrGotStr Lloh91, Lloh92, Lloh93
.loh AdrpLdr Lloh89, Lloh90
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpAdd Lloh100, Lloh101
.loh AdrpAdd Lloh98, Lloh99
.loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104
.loh AdrpLdr Lloh107, Lloh108
.loh AdrpLdr Lloh105, Lloh106
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpLdrGotLdr Lloh115, Lloh116, Lloh117
.loh AdrpAdd Lloh118, Lloh119
.loh AdrpAdd Lloh128, Lloh129
.loh AdrpAdd Lloh126, Lloh127
.loh AdrpLdrGot Lloh124, Lloh125
.loh AdrpLdr Lloh122, Lloh123
.loh AdrpLdrGot Lloh120, Lloh121
.loh AdrpAdd Lloh134, Lloh135
.loh AdrpAdd Lloh132, Lloh133
.loh AdrpAdd Lloh130, Lloh131
.loh AdrpAdd Lloh136, Lloh137
.loh AdrpLdrGot Lloh140, Lloh141
.loh AdrpLdr Lloh138, Lloh139
.loh AdrpLdr Lloh142, Lloh143
.loh AdrpLdrGotLdr Lloh147, Lloh148, Lloh149
.loh AdrpLdrGotLdr Lloh144, Lloh145, Lloh146
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_32-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_51-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_49-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_48-LBB0_32)>>2
.byte (LBB0_50-LBB0_32)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _readFile ; -- Begin function readFile
.p2align 2
_readFile: ; @readFile
.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
Lloh150:
adrp x1, l_.str.16@PAGE
Lloh151:
add x1, x1, l_.str.16@PAGEOFF
bl _fopen
cbz x0, LBB1_2
; %bb.1:
mov x19, x0
mov x1, #0
mov w2, #2
bl _fseek
mov x0, x19
bl _ftell
str w0, [x20]
mov x0, x19
bl _rewind
ldrsw x21, [x20]
mov x0, x21
bl _malloc
mov x20, x0
mov w1, #1
mov x2, x21
mov x3, x19
bl _fread
mov x0, x19
bl _fclose
b LBB1_3
LBB1_2:
mov x20, #0
LBB1_3:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh150, Lloh151
.cfi_endproc
; -- End function
.globl _parseMap ; -- Begin function parseMap
.p2align 2
_parseMap: ; @parseMap
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh152:
adrp x8, _green_enabled@PAGE
strh wzr, [x8, _green_enabled@PAGEOFF]
Lloh153:
adrp x8, _blue_enabled@PAGE
strh wzr, [x8, _blue_enabled@PAGEOFF]
Lloh154:
adrp x8, _red_enabled@PAGE
strh wzr, [x8, _red_enabled@PAGEOFF]
movi.2d v0, #0xffffffffffffffff
Lloh155:
adrp x8, _green_scroll@PAGE
str d0, [x8, _green_scroll@PAGEOFF]
Lloh156:
adrp x8, _blue_scroll@PAGE
str d0, [x8, _blue_scroll@PAGEOFF]
Lloh157:
adrp x8, _red_scroll@PAGE
str d0, [x8, _red_scroll@PAGEOFF]
Lloh158:
adrp x8, _green_magnet@PAGE
str d0, [x8, _green_magnet@PAGEOFF]
Lloh159:
adrp x8, _blue_magnet@PAGE
str d0, [x8, _blue_magnet@PAGEOFF]
Lloh160:
adrp x8, _red_magnet@PAGE
str d0, [x8, _red_magnet@PAGEOFF]
Lloh161:
adrp x8, _on_broom@PAGE
strh wzr, [x8, _on_broom@PAGEOFF]
Lloh162:
adrp x1, l_.str.17@PAGE
Lloh163:
add x1, x1, l_.str.17@PAGEOFF
bl _strstr
cbnz x0, LBB2_3
; %bb.1:
mov x0, x19
mov w1, #10
bl _strchr
cbnz x0, LBB2_3
; %bb.2:
mov x0, x19
mov w1, #32
bl _strchr
cbz x0, LBB2_36
LBB2_3:
Lloh164:
adrp x1, l_.str.17@PAGE
Lloh165:
add x1, x1, l_.str.17@PAGEOFF
add x2, sp, #24
mov x0, x19
bl _strtok_r
cbz x0, LBB2_50
; %bb.4:
mov x19, x0
Lloh166:
adrp x8, _level@PAGE
Lloh167:
ldr w8, [x8, _level@PAGEOFF]
cmp w8, #2
b.lt LBB2_9
; %bb.5:
adrp x20, _height@PAGE
ldr w8, [x20, _height@PAGEOFF]
cmp w8, #1
b.lt LBB2_8
; %bb.6:
mov x21, #0
Lloh168:
adrp x22, _area@GOTPAGE
Lloh169:
ldr x22, [x22, _area@GOTPAGEOFF]
Lloh170:
adrp x23, _map@GOTPAGE
Lloh171:
ldr x23, [x23, _map@GOTPAGEOFF]
Lloh172:
adrp x24, _boom_map@GOTPAGE
Lloh173:
ldr x24, [x24, _boom_map@GOTPAGEOFF]
LBB2_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
lsl x25, x21, #3
ldr x0, [x8, x25]
bl _free
ldr x8, [x23]
ldr x0, [x8, x25]
bl _free
ldr x8, [x24]
ldr x0, [x8, x25]
bl _free
add x21, x21, #1
ldrsw x8, [x20, _height@PAGEOFF]
cmp x21, x8
b.lt LBB2_7
LBB2_8:
Lloh174:
adrp x8, _area@GOTPAGE
Lloh175:
ldr x8, [x8, _area@GOTPAGEOFF]
Lloh176:
ldr x0, [x8]
bl _free
Lloh177:
adrp x8, _ladder@GOTPAGE
Lloh178:
ldr x8, [x8, _ladder@GOTPAGEOFF]
Lloh179:
ldr x0, [x8]
bl _free
Lloh180:
adrp x8, _map@GOTPAGE
Lloh181:
ldr x8, [x8, _map@GOTPAGEOFF]
Lloh182:
ldr x0, [x8]
bl _free
Lloh183:
adrp x8, _boom_map@GOTPAGE
Lloh184:
ldr x8, [x8, _boom_map@GOTPAGEOFF]
Lloh185:
ldr x0, [x8]
bl _free
LBB2_9:
Lloh186:
adrp x1, l_.str.19@PAGE
Lloh187:
add x1, x1, l_.str.19@PAGEOFF
add x2, sp, #16
mov x0, x19
bl _strtok_r
bl _atoi
adrp x22, _width@PAGE
str w0, [x22, _width@PAGEOFF]
cmp w0, #2
b.lt LBB2_12
; %bb.10:
Lloh188:
adrp x1, l_.str.19@PAGE
Lloh189:
add x1, x1, l_.str.19@PAGEOFF
add x2, sp, #16
mov x0, #0
bl _strtok_r
cbz x0, LBB2_12
; %bb.11:
bl _atoi
adrp x8, _height@PAGE
str w0, [x8, _height@PAGEOFF]
cmp w0, #2
b.ge LBB2_13
LBB2_12:
Lloh190:
adrp x0, l_.str.21@PAGE
Lloh191:
add x0, x0, l_.str.21@PAGEOFF
b LBB2_51
LBB2_13:
Lloh192:
adrp x8, _ladder_count@PAGE
str wzr, [x8, _ladder_count@PAGEOFF]
Lloh193:
adrp x8, _boxes@PAGE
str wzr, [x8, _boxes@PAGEOFF]
mov w8, w0
lsl x19, x8, #3
mov x0, x19
bl _malloc
Lloh194:
adrp x24, _area@GOTPAGE
Lloh195:
ldr x24, [x24, _area@GOTPAGEOFF]
str x0, [sp, #8] ; 8-byte Folded Spill
str x0, [x24]
mov x0, x19
bl _malloc
Lloh196:
adrp x27, _map@GOTPAGE
Lloh197:
ldr x27, [x27, _map@GOTPAGEOFF]
str x0, [x27]
mov x0, x19
bl _malloc
mov x28, #0
Lloh198:
adrp x25, _boom_map@GOTPAGE
Lloh199:
ldr x25, [x25, _boom_map@GOTPAGEOFF]
str x0, [x25]
ldr w8, [x22, _width@PAGEOFF]
mov w19, #32
Lloh200:
adrp x26, _cp@GOTPAGE
Lloh201:
ldr x26, [x26, _cp@GOTPAGEOFF]
Lloh202:
adrp x23, _human@GOTPAGE
Lloh203:
ldr x23, [x23, _human@GOTPAGEOFF]
LBB2_14: ; =>This Loop Header: Depth=1
; Child Loop BB2_19 Depth 2
sbfiz x21, x8, #3, #32
mov x0, x21
bl _malloc
lsl x20, x28, #3
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, x20]
mov x0, x21
bl _malloc
ldr x8, [x27]
str x0, [x8, x20]
mov x0, x21
bl _malloc
ldr x8, [x25]
str x0, [x8, x20]
add x2, sp, #24
mov x0, #0
Lloh204:
adrp x1, l_.str.17@PAGE
Lloh205:
add x1, x1, l_.str.17@PAGEOFF
bl _strtok_r
cbz x0, LBB2_37
; %bb.15: ; in Loop: Header=BB2_14 Depth=1
ldr w8, [x22, _width@PAGEOFF]
cmp w8, #1
b.lt LBB2_34
; %bb.16: ; in Loop: Header=BB2_14 Depth=1
mov x8, #0
adrp x13, _ladder_count@PAGE
adrp x14, _boxes@PAGE
Lloh206:
adrp x15, lJTI2_0@PAGE
Lloh207:
add x15, x15, lJTI2_0@PAGEOFF
Lloh208:
adrp x16, _box_count@GOTPAGE
Lloh209:
ldr x16, [x16, _box_count@GOTPAGEOFF]
b LBB2_19
LBB2_17: ; in Loop: Header=BB2_19 Depth=2
ldr w9, [x13, _ladder_count@PAGEOFF]
add w9, w9, #1
str w9, [x13, _ladder_count@PAGEOFF]
LBB2_18: ; in Loop: Header=BB2_19 Depth=2
add x8, x8, #1
ldrsw x9, [x22, _width@PAGEOFF]
cmp x8, x9
b.ge LBB2_33
LBB2_19: ; Parent Loop BB2_14 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w9, [x0, x8]
ldr x10, [x24]
ldr x10, [x10, x20]
strb w9, [x10, x8]
ldr x10, [x27]
ldr x10, [x10, x20]
strb w9, [x10, x8]
ldr x9, [x25]
ldr x9, [x9, x20]
strb w19, [x9, x8]
ldrb w9, [x0, x8]
cmp w9, #72
b.eq LBB2_17
; %bb.20: ; in Loop: Header=BB2_19 Depth=2
cmp w9, #80
b.ne LBB2_22
; %bb.21: ; in Loop: Header=BB2_19 Depth=2
stp w28, w8, [x26]
stp w28, w8, [x23]
ldr x9, [x24]
ldr x9, [x9, x20]
strb w19, [x9, x8]
ldr x9, [x27]
ldr x9, [x9, x20]
strb w19, [x9, x8]
b LBB2_18
LBB2_22: ; in Loop: Header=BB2_19 Depth=2
ldr x9, [x24]
ldr x9, [x9, x28, lsl #3]
ldrb w10, [x9, x8]
sub w10, w10, #65
cmp w10, #56
b.hi LBB2_18
; %bb.23: ; in Loop: Header=BB2_19 Depth=2
adr x11, LBB2_18
ldrb w12, [x15, x10]
add x11, x11, x12, lsl #2
br x11
LBB2_24: ; in Loop: Header=BB2_19 Depth=2
ldr w9, [x16]
add w9, w9, #1
str w9, [x16]
ldr w9, [x14, _boxes@PAGEOFF]
add w9, w9, #1
str w9, [x14, _boxes@PAGEOFF]
b LBB2_18
LBB2_25: ; in Loop: Header=BB2_19 Depth=2
Lloh210:
adrp x9, _red_magnet@PAGE
Lloh211:
add x9, x9, _red_magnet@PAGEOFF
b LBB2_28
LBB2_26: ; in Loop: Header=BB2_19 Depth=2
Lloh212:
adrp x9, _green_magnet@PAGE
Lloh213:
add x9, x9, _green_magnet@PAGEOFF
b LBB2_28
LBB2_27: ; in Loop: Header=BB2_19 Depth=2
Lloh214:
adrp x9, _blue_magnet@PAGE
Lloh215:
add x9, x9, _blue_magnet@PAGEOFF
LBB2_28: ; in Loop: Header=BB2_19 Depth=2
stp w28, w8, [x9]
b LBB2_18
LBB2_29: ; in Loop: Header=BB2_19 Depth=2
Lloh216:
adrp x10, _red_scroll@PAGE
Lloh217:
add x10, x10, _red_scroll@PAGEOFF
b LBB2_32
LBB2_30: ; in Loop: Header=BB2_19 Depth=2
Lloh218:
adrp x10, _green_scroll@PAGE
Lloh219:
add x10, x10, _green_scroll@PAGEOFF
b LBB2_32
LBB2_31: ; in Loop: Header=BB2_19 Depth=2
Lloh220:
adrp x10, _blue_scroll@PAGE
Lloh221:
add x10, x10, _blue_scroll@PAGEOFF
LBB2_32: ; in Loop: Header=BB2_19 Depth=2
stp w28, w8, [x10]
strb w19, [x9, x8]
ldr x9, [x27]
ldr x9, [x9, x28, lsl #3]
strb w19, [x9, x8]
b LBB2_18
LBB2_33: ; in Loop: Header=BB2_14 Depth=1
mov x8, x9
LBB2_34: ; in Loop: Header=BB2_14 Depth=1
add x28, x28, #1
Lloh222:
adrp x9, _height@PAGE
Lloh223:
ldrsw x20, [x9, _height@PAGEOFF]
cmp x28, x20
b.ge LBB2_38
; %bb.35: ; in Loop: Header=BB2_14 Depth=1
ldr x9, [x24]
str x9, [sp, #8] ; 8-byte Folded Spill
b LBB2_14
LBB2_36:
Lloh224:
adrp x8, _deafult_map_loaded_message@PAGE
Lloh225:
add x8, x8, _deafult_map_loaded_message@PAGEOFF
str x8, [sp]
Lloh226:
adrp x0, l_.str.20@PAGE
Lloh227:
add x0, x0, l_.str.20@PAGEOFF
b LBB2_52
LBB2_37:
Lloh228:
adrp x8, _height@PAGE
Lloh229:
ldr w20, [x8, _height@PAGEOFF]
LBB2_38:
Lloh230:
adrp x8, _ladder_count@PAGE
Lloh231:
ldrsw x19, [x8, _ladder_count@PAGEOFF]
lsl x0, x19, #3
bl _malloc
Lloh232:
adrp x8, _ladder@GOTPAGE
Lloh233:
ldr x8, [x8, _ladder@GOTPAGEOFF]
str x0, [x8]
cmp w20, #1
b.lt LBB2_47
; %bb.39:
mov w9, #0
ldr x10, [x24]
adrp x16, _ladder_count@PAGE
b LBB2_41
LBB2_40: ; in Loop: Header=BB2_41 Depth=1
cmp w20, #1
mov x20, x11
b.le LBB2_48
LBB2_41: ; =>This Loop Header: Depth=1
; Child Loop BB2_43 Depth 2
sub w11, w20, #1
ldr w12, [x22, _width@PAGEOFF]
cmp w12, #1
b.lt LBB2_40
; %bb.42: ; in Loop: Header=BB2_41 Depth=1
mov x12, #0
ldr x13, [x10, w11, uxtw #3]
ldr x14, [x8]
LBB2_43: ; Parent Loop BB2_41 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w15, [x13, x12]
cmp w15, #72
b.ne LBB2_45
; %bb.44: ; in Loop: Header=BB2_43 Depth=2
add x15, x14, w9, sxtw #3
stp w11, w12, [x15]
add w9, w9, #1
ldr w19, [x16, _ladder_count@PAGEOFF]
LBB2_45: ; in Loop: Header=BB2_43 Depth=2
cmp w9, w19
b.ge LBB2_49
; %bb.46: ; in Loop: Header=BB2_43 Depth=2
add x12, x12, #1
ldrsw x15, [x22, _width@PAGEOFF]
cmp x12, x15
b.lt LBB2_43
b LBB2_40
LBB2_47:
mov x11, x20
LBB2_48:
cbz w11, LBB2_50
LBB2_49:
mov w0, #0
b LBB2_53
LBB2_50:
Lloh234:
adrp x0, l_.str.20@PAGE
Lloh235:
add x0, x0, l_.str.20@PAGEOFF
LBB2_51:
Lloh236:
adrp x8, _deafult_map_loaded_message@PAGE
Lloh237:
add x8, x8, _deafult_map_loaded_message@PAGEOFF
str x8, [sp]
LBB2_52:
bl _printw
mov w0, #1
LBB2_53:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh162, Lloh163
.loh AdrpAdrp Lloh160, Lloh161
.loh AdrpAdrp Lloh159, Lloh160
.loh AdrpAdrp Lloh158, Lloh159
.loh AdrpAdrp Lloh157, Lloh158
.loh AdrpAdrp Lloh156, Lloh157
.loh AdrpAdrp Lloh155, Lloh156
.loh AdrpAdrp Lloh154, Lloh155
.loh AdrpAdrp Lloh153, Lloh154
.loh AdrpAdrp Lloh152, Lloh153
.loh AdrpAdd Lloh164, Lloh165
.loh AdrpLdr Lloh166, Lloh167
.loh AdrpLdrGot Lloh172, Lloh173
.loh AdrpLdrGot Lloh170, Lloh171
.loh AdrpLdrGot Lloh168, Lloh169
.loh AdrpLdrGotLdr Lloh183, Lloh184, Lloh185
.loh AdrpLdrGotLdr Lloh180, Lloh181, Lloh182
.loh AdrpLdrGotLdr Lloh177, Lloh178, Lloh179
.loh AdrpLdrGotLdr Lloh174, Lloh175, Lloh176
.loh AdrpAdd Lloh186, Lloh187
.loh AdrpAdd Lloh188, Lloh189
.loh AdrpAdd Lloh190, Lloh191
.loh AdrpLdrGot Lloh202, Lloh203
.loh AdrpLdrGot Lloh200, Lloh201
.loh AdrpLdrGot Lloh198, Lloh199
.loh AdrpLdrGot Lloh196, Lloh197
.loh AdrpLdrGot Lloh194, Lloh195
.loh AdrpAdrp Lloh192, Lloh193
.loh AdrpAdd Lloh204, Lloh205
.loh AdrpLdrGot Lloh208, Lloh209
.loh AdrpAdd Lloh206, Lloh207
.loh AdrpAdd Lloh210, Lloh211
.loh AdrpAdd Lloh212, Lloh213
.loh AdrpAdd Lloh214, Lloh215
.loh AdrpAdd Lloh216, Lloh217
.loh AdrpAdd Lloh218, Lloh219
.loh AdrpAdd Lloh220, Lloh221
.loh AdrpLdr Lloh222, Lloh223
.loh AdrpAdd Lloh226, Lloh227
.loh AdrpAdd Lloh224, Lloh225
.loh AdrpLdr Lloh228, Lloh229
.loh AdrpLdrGot Lloh232, Lloh233
.loh AdrpLdr Lloh230, Lloh231
.loh AdrpAdd Lloh234, Lloh235
.loh AdrpAdd Lloh236, Lloh237
.cfi_endproc
.section __TEXT,__const
lJTI2_0:
.byte (LBB2_25-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_26-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_27-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_29-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_30-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_31-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_18-LBB2_18)>>2
.byte (LBB2_24-LBB2_18)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _create_newwin ; -- Begin function create_newwin
.p2align 2
_create_newwin: ; @create_newwin
.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
bl _newwin
mov x19, x0
Lloh238:
adrp x8, _acs_map@GOTPAGE
Lloh239:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
ldr w1, [x8, #480]
ldr w3, [x8, #452]
ldr w5, [x8, #432]
ldr w6, [x8, #428]
ldr w7, [x8, #436]
ldr w8, [x8, #424]
str w8, [sp]
mov x2, x1
mov x4, x3
bl _wborder
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGot Lloh238, Lloh239
.cfi_endproc
; -- End function
.globl _draw_field ; -- Begin function draw_field
.p2align 2
_draw_field: ; @draw_field
.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
str w1, [sp, #4] ; 4-byte Folded Spill
adrp x8, _ladder_count@PAGE
ldr w9, [x8, _ladder_count@PAGEOFF]
Lloh240:
adrp x28, _area@GOTPAGE
Lloh241:
ldr x28, [x28, _area@GOTPAGEOFF]
cmp w9, #1
b.lt LBB4_5
; %bb.1:
mov x10, #0
mov x11, #0
Lloh242:
adrp x12, _ladder@GOTPAGE
Lloh243:
ldr x12, [x12, _ladder@GOTPAGEOFF]
mov w13, #72
b LBB4_3
LBB4_2: ; in Loop: Header=BB4_3 Depth=1
add x11, x11, #1
add x10, x10, #8
cmp x11, w9, sxtw
b.ge LBB4_5
LBB4_3: ; =>This Inner Loop Header: Depth=1
ldr x15, [x28]
ldr x14, [x12]
add x14, x14, x10
ldpsw x16, x14, [x14]
ldr x15, [x15, x16, lsl #3]
ldrb w16, [x15, x14]
cmp w16, #32
b.ne LBB4_2
; %bb.4: ; in Loop: Header=BB4_3 Depth=1
strb w13, [x15, x14]
ldr w9, [x8, _ladder_count@PAGEOFF]
b LBB4_2
LBB4_5:
Lloh244:
adrp x8, _height@PAGE
Lloh245:
ldr w19, [x8, _height@PAGEOFF]
Lloh246:
adrp x26, _my_win@GOTPAGE
Lloh247:
ldr x26, [x26, _my_win@GOTPAGEOFF]
cmp w19, #1
b.lt LBB4_157
; %bb.6:
Lloh248:
adrp x8, _width@PAGE
Lloh249:
ldr w8, [x8, _width@PAGEOFF]
b LBB4_9
LBB4_7: ; in Loop: Header=BB4_9 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
LBB4_8: ; in Loop: Header=BB4_9 Depth=1
cmp x9, #2
b.lt LBB4_157
LBB4_9: ; =>This Loop Header: Depth=1
; Child Loop BB4_14 Depth 2
mov x9, x19
sub x19, x19, #1
cmp w8, #1
b.lt LBB4_8
; %bb.10: ; in Loop: Header=BB4_9 Depth=1
str x9, [sp, #8] ; 8-byte Folded Spill
mov x27, #0
lsl w8, w19, #1
mov w20, #1
bfi w20, w19, #1, #31
add w21, w8, #2
mov w22, #4
b LBB4_14
LBB4_11: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
LBB4_12: ; in Loop: Header=BB4_14 Depth=2
bl _waddch
LBB4_13: ; in Loop: Header=BB4_14 Depth=2
add x27, x27, #1
Lloh250:
adrp x8, _width@PAGE
Lloh251:
ldrsw x8, [x8, _width@PAGEOFF]
add w22, w22, #4
cmp x27, x8
b.ge LBB4_7
LBB4_14: ; Parent Loop BB4_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x28]
ldr x8, [x8, x19, lsl #3]
ldrb w8, [x8, x27]
sub w9, w8, #32
cmp w9, #89
b.hi LBB4_13
; %bb.15: ; in Loop: Header=BB4_14 Depth=2
mov w8, #512
mov w1, #256
Lloh252:
adrp x12, lJTI4_0@PAGE
Lloh253:
add x12, x12, lJTI4_0@PAGEOFF
adr x10, LBB4_13
ldrh w11, [x12, x9, lsl #1]
add x10, x10, x11, lsl #2
br x10
LBB4_16: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #2048
b LBB4_140
LBB4_17: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
sub w23, w22, #3
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_19
; %bb.18: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh254:
adrp x8, _acs_map@GOTPAGE
Lloh255:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh256:
ldr w1, [x8, #388]
bl _waddch
LBB4_19: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #2
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_21
; %bb.20: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh257:
adrp x8, _acs_map@GOTPAGE
Lloh258:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh259:
ldr w1, [x8, #388]
bl _waddch
LBB4_21: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w25, w22, #1
mov x1, x20
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_23
; %bb.22: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh260:
adrp x8, _acs_map@GOTPAGE
Lloh261:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh262:
ldr w1, [x8, #388]
bl _waddch
LBB4_23: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_25
; %bb.24: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh263:
adrp x8, _acs_map@GOTPAGE
Lloh264:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh265:
ldr w1, [x8, #388]
bl _waddch
LBB4_25: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_27
; %bb.26: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh266:
adrp x8, _acs_map@GOTPAGE
Lloh267:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh268:
ldr w1, [x8, #388]
bl _waddch
LBB4_27: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_29
; %bb.28: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh269:
adrp x8, _acs_map@GOTPAGE
Lloh270:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh271:
ldr w1, [x8, #388]
bl _waddch
LBB4_29: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_31
; %bb.30: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh272:
adrp x8, _acs_map@GOTPAGE
Lloh273:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh274:
ldr w1, [x8, #388]
bl _waddch
LBB4_31: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_13
; %bb.32: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh275:
adrp x8, _acs_map@GOTPAGE
Lloh276:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh277:
ldr w1, [x8, #388]
b LBB4_12
LBB4_33: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
sub w25, w22, #3
mov x1, x20
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_35
; %bb.34: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_35: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #2
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_37
; %bb.36: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_37: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w23, w22, #1
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_39
; %bb.38: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #95
bl _waddch
LBB4_39: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_41
; %bb.40: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #47
bl _waddch
LBB4_41: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_43
; %bb.42: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh278:
adrp x8, _acs_map@GOTPAGE
Lloh279:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh280:
ldr w1, [x8, #384]
bl _waddch
LBB4_43: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_45
; %bb.44: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh281:
adrp x8, _acs_map@GOTPAGE
Lloh282:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh283:
ldr w1, [x8, #424]
bl _waddch
LBB4_45: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
b LBB4_153
LBB4_46: ; in Loop: Header=BB4_14 Depth=2
mov w1, #768
b LBB4_117
LBB4_47: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #1536
bl _wattrset
ldr x0, [x26]
sub w23, w22, #3
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_49
; %bb.48: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
bl _waddch
LBB4_49: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #2
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_51
; %bb.50: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
bl _waddch
LBB4_51: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w25, w22, #1
mov x1, x20
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_53
; %bb.52: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
bl _waddch
LBB4_53: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_55
; %bb.54: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
bl _waddch
LBB4_55: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_57
; %bb.56: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
bl _waddch
LBB4_57: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_59
; %bb.58: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
bl _waddch
LBB4_59: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_61
; %bb.60: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
bl _waddch
LBB4_61: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_13
; %bb.62: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #35
b LBB4_12
LBB4_63: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1280
b LBB4_117
LBB4_64: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
sub w23, w22, #3
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_66
; %bb.65: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh284:
adrp x8, _acs_map@GOTPAGE
Lloh285:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh286:
ldr w1, [x8, #464]
bl _waddch
LBB4_66: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #2
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_68
; %bb.67: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh287:
adrp x8, _acs_map@GOTPAGE
Lloh288:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh289:
ldr w1, [x8, #452]
bl _waddch
LBB4_68: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w25, w22, #1
mov x1, x20
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_70
; %bb.69: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh290:
adrp x8, _acs_map@GOTPAGE
Lloh291:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh292:
ldr w1, [x8, #452]
bl _waddch
LBB4_70: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_72
; %bb.71: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh293:
adrp x8, _acs_map@GOTPAGE
Lloh294:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh295:
ldr w1, [x8, #468]
bl _waddch
LBB4_72: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_74
; %bb.73: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh296:
adrp x8, _acs_map@GOTPAGE
Lloh297:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh298:
ldr w1, [x8, #464]
bl _waddch
LBB4_74: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_76
; %bb.75: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh299:
adrp x8, _acs_map@GOTPAGE
Lloh300:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh301:
ldr w1, [x8, #452]
bl _waddch
LBB4_76: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_78
; %bb.77: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh302:
adrp x8, _acs_map@GOTPAGE
Lloh303:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh304:
ldr w1, [x8, #452]
bl _waddch
LBB4_78: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_13
; %bb.79: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
Lloh305:
adrp x8, _acs_map@GOTPAGE
Lloh306:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh307:
ldr w1, [x8, #468]
b LBB4_12
LBB4_80: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
sub w23, w22, #3
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_82
; %bb.81: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #92
bl _waddch
LBB4_82: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #2
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_84
; %bb.83: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #124
bl _waddch
LBB4_84: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w25, w22, #1
mov x1, x20
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_86
; %bb.85: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #124
bl _waddch
LBB4_86: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_88
; %bb.87: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #47
bl _waddch
LBB4_88: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_90
; %bb.89: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #47
bl _waddch
LBB4_90: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_92
; %bb.91: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #124
bl _waddch
LBB4_92: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_94
; %bb.93: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #124
bl _waddch
LBB4_94: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_13
; %bb.95: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #92
b LBB4_12
LBB4_96: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1792
b LBB4_117
LBB4_97: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1024
b LBB4_117
LBB4_98: ; in Loop: Header=BB4_14 Depth=2
mov w8, #1280
b LBB4_101
LBB4_99: ; in Loop: Header=BB4_14 Depth=2
mov w1, #512
b LBB4_117
LBB4_100: ; in Loop: Header=BB4_14 Depth=2
mov w8, #256
LBB4_101: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x8
bl _wattrset
ldr x0, [x26]
sub w25, w22, #3
mov x1, x20
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_103
; %bb.102: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_103: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w23, w22, #2
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_105
; %bb.104: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_105: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #1
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_107
; %bb.106: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_107: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_109
; %bb.108: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_109: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_111
; %bb.110: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_111: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_113
; %bb.112: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_113: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_115
; %bb.114: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_115: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
b LBB4_156
LBB4_116: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1536
LBB4_117: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
bl _wattrset
ldr x0, [x26]
sub w23, w22, #2
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_119
; %bb.118: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_119: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #1
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_121
; %bb.120: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_121: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_123
; %bb.122: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_123: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_125
; %bb.124: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_125: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
sub w23, w22, #3
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_127
; %bb.126: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #47
bl _waddch
LBB4_127: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_129
; %bb.128: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #92
bl _waddch
LBB4_129: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_131
; %bb.130: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #92
bl _waddch
LBB4_131: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_13
; %bb.132: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #47
b LBB4_12
LBB4_133: ; in Loop: Header=BB4_14 Depth=2
mov w1, #768
b LBB4_139
LBB4_134: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1280
b LBB4_139
LBB4_135: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1792
b LBB4_139
LBB4_136: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1024
b LBB4_139
LBB4_137: ; in Loop: Header=BB4_14 Depth=2
mov w1, #512
b LBB4_139
LBB4_138: ; in Loop: Header=BB4_14 Depth=2
mov w1, #1536
LBB4_139: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
LBB4_140: ; in Loop: Header=BB4_14 Depth=2
bl _wattrset
ldr x0, [x26]
sub w23, w22, #3
mov x1, x20
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_142
; %bb.141: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_142: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w24, w22, #2
mov x1, x20
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_144
; %bb.143: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_144: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
sub w25, w22, #1
mov x1, x20
mov x2, x25
bl _wmove
cmn w0, #1
b.eq LBB4_146
; %bb.145: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_146: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB4_148
; %bb.147: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_148: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x23
bl _wmove
cmn w0, #1
b.eq LBB4_150
; %bb.149: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_150: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x24
bl _wmove
cmn w0, #1
b.eq LBB4_152
; %bb.151: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_152: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x25
LBB4_153: ; in Loop: Header=BB4_14 Depth=2
bl _wmove
cmn w0, #1
b.eq LBB4_155
; %bb.154: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_155: ; in Loop: Header=BB4_14 Depth=2
ldr x0, [x26]
mov x1, x21
mov x2, x22
LBB4_156: ; in Loop: Header=BB4_14 Depth=2
bl _wmove
cmn w0, #1
b.ne LBB4_11
b LBB4_13
LBB4_157:
adrp x19, _red_scroll@PAGE+4
ldr w8, [x19, _red_scroll@PAGEOFF+4]
cmn w8, #1
b.eq LBB4_159
; %bb.158:
Lloh308:
adrp x8, _red_enabled@PAGE
ldrsh w0, [x8, _red_enabled@PAGEOFF]
Lloh309:
adrp x8, _red_scroll@PAGE
Lloh310:
ldr x1, [x8, _red_scroll@PAGEOFF]
mov w2, #2
bl _print_scroll
LBB4_159:
adrp x21, _blue_scroll@PAGE+4
ldr w8, [x21, _blue_scroll@PAGEOFF+4]
cmn w8, #1
b.eq LBB4_161
; %bb.160:
Lloh311:
adrp x8, _blue_enabled@PAGE
ldrsh w0, [x8, _blue_enabled@PAGEOFF]
Lloh312:
adrp x8, _blue_scroll@PAGE
Lloh313:
ldr x1, [x8, _blue_scroll@PAGEOFF]
mov w2, #1
bl _print_scroll
LBB4_161:
adrp x22, _green_scroll@PAGE+4
ldr w8, [x22, _green_scroll@PAGEOFF+4]
cmn w8, #1
b.eq LBB4_163
; %bb.162:
Lloh314:
adrp x8, _green_enabled@PAGE
ldrsh w0, [x8, _green_enabled@PAGEOFF]
Lloh315:
adrp x8, _green_scroll@PAGE
Lloh316:
ldr x1, [x8, _green_scroll@PAGEOFF]
mov w2, #5
bl _print_scroll
LBB4_163:
ldr w8, [sp, #4] ; 4-byte Folded Reload
cbz w8, LBB4_180
; %bb.164:
ldr x0, [x26]
mov w1, #2304
bl _wattrset
ldr x0, [x26]
Lloh317:
adrp x20, _cp@GOTPAGE
Lloh318:
ldr x20, [x20, _cp@GOTPAGEOFF]
mov w19, #1
mov w1, #1
ldp w8, w9, [x20]
bfi w1, w8, #1, #31
mov w2, #1
bfi w2, w9, #2, #30
bl _wmove
cmn w0, #1
b.eq LBB4_166
; %bb.165:
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_166:
ldr x0, [x26]
ldp w8, w9, [x20]
bfi w19, w8, #1, #31
mov w2, #2
bfi w2, w9, #2, #30
mov x1, x19
bl _wmove
cmn w0, #1
b.eq LBB4_168
; %bb.167:
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_168:
ldr x0, [x26]
mov w19, #1
mov w1, #1
ldp w8, w9, [x20]
bfi w1, w8, #1, #31
mov w2, #3
bfi w2, w9, #2, #30
bl _wmove
cmn w0, #1
b.eq LBB4_170
; %bb.169:
ldr x0, [x26]
Lloh319:
adrp x8, _acs_map@GOTPAGE
Lloh320:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh321:
ldr w1, [x8, #440]
bl _waddch
LBB4_170:
ldr x0, [x26]
ldp w8, w9, [x20]
bfi w19, w8, #1, #31
lsl w8, w9, #2
add w2, w8, #4
mov x1, x19
bl _wmove
cmn w0, #1
b.eq LBB4_172
; %bb.171:
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_172:
ldr x0, [x26]
ldp w8, w9, [x20]
lsl w8, w8, #1
add w1, w8, #2
mov w2, #1
bfi w2, w9, #2, #30
bl _wmove
cmn w0, #1
b.eq LBB4_174
; %bb.173:
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_174:
ldr x0, [x26]
ldp w8, w9, [x20]
lsl w8, w8, #1
add w1, w8, #2
mov w2, #2
bfi w2, w9, #2, #30
bl _wmove
cmn w0, #1
b.eq LBB4_176
; %bb.175:
ldr x0, [x26]
mov w1, #32
bl _waddch
LBB4_176:
ldr x0, [x26]
ldp w8, w9, [x20]
lsl w8, w8, #1
add w1, w8, #2
mov w2, #3
bfi w2, w9, #2, #30
bl _wmove
cmn w0, #1
b.eq LBB4_178
; %bb.177:
ldr x0, [x26]
Lloh322:
adrp x8, _acs_map@GOTPAGE
Lloh323:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh324:
ldr w1, [x8, #480]
bl _waddch
LBB4_178:
ldr x0, [x26]
ldp w8, w9, [x20]
lsl w8, w8, #1
add w1, w8, #2
lsl w8, w9, #2
add w2, w8, #4
bl _wmove
cmn w0, #1
b.eq LBB4_215
; %bb.179:
ldr x0, [x26]
mov w1, #32
b LBB4_214
LBB4_180:
ldr w9, [x19, _red_scroll@PAGEOFF+4]
Lloh325:
adrp x20, _cp@GOTPAGE
Lloh326:
ldr x20, [x20, _cp@GOTPAGEOFF]
ldr w8, [x20, #4]
cmp w9, w8
b.ne LBB4_183
; %bb.181:
Lloh327:
adrp x9, _red_scroll@PAGE
Lloh328:
ldr w9, [x9, _red_scroll@PAGEOFF]
ldr w10, [x20]
cmp w9, w10
b.ne LBB4_183
; %bb.182:
mov w1, #512
b LBB4_190
LBB4_183:
ldr w9, [x21, _blue_scroll@PAGEOFF+4]
cmp w9, w8
b.ne LBB4_186
; %bb.184:
Lloh329:
adrp x9, _blue_scroll@PAGE
Lloh330:
ldr w9, [x9, _blue_scroll@PAGEOFF]
ldr w10, [x20]
cmp w9, w10
b.ne LBB4_186
; %bb.185:
mov w1, #256
b LBB4_190
LBB4_186:
ldr w9, [x22, _green_scroll@PAGEOFF+4]
cmp w9, w8
b.ne LBB4_189
; %bb.187:
Lloh331:
adrp x8, _green_scroll@PAGE
Lloh332:
ldr w8, [x8, _green_scroll@PAGEOFF]
ldr w9, [x20]
cmp w8, w9
b.ne LBB4_189
; %bb.188:
mov w1, #1280
b LBB4_190
LBB4_189:
mov w1, #2048
LBB4_190:
ldr x0, [x26]
bl _wattrset
ldr x0, [x26]
ldp w8, w9, [x20]
lsl w8, w8, #1
add w1, w8, #2
mov w2, #2
bfi w2, w9, #2, #30
bl _wmove
cmn w0, #1
b.eq LBB4_192
; %bb.191:
ldr x0, [x26]
mov w1, #47
bl _waddch
LBB4_192:
ldr x0, [x26]
ldp w8, w9, [x20]
lsl w8, w8, #1
add w1, w8, #2
mov w2, #3
bfi w2, w9, #2, #30
bl _wmove
cmn w0, #1
b.eq LBB4_194
; %bb.193:
ldr x0, [x26]
mov w1, #92
bl _waddch
LBB4_194:
adrp x8, _red_enabled@PAGE
ldrh w8, [x8, _red_enabled@PAGEOFF]
cmp w8, #1
b.ne LBB4_197
; %bb.195:
ldr w8, [x19, _red_scroll@PAGEOFF+4]
ldr w9, [x20, #4]
cmp w8, w9
b.ne LBB4_197
; %bb.196:
Lloh333:
adrp x9, _red_scroll@PAGE
Lloh334:
ldr w9, [x9, _red_scroll@PAGEOFF]
ldr w10, [x20]
cmp w9, w10
b.eq LBB4_203
LBB4_197:
adrp x8, _blue_enabled@PAGE
ldrh w8, [x8, _blue_enabled@PAGEOFF]
cmp w8, #1
b.ne LBB4_200
; %bb.198:
ldr w8, [x21, _blue_scroll@PAGEOFF+4]
ldr w9, [x20, #4]
cmp w8, w9
b.ne LBB4_200
; %bb.199:
Lloh335:
adrp x9, _blue_scroll@PAGE
Lloh336:
ldr w9, [x9, _blue_scroll@PAGEOFF]
ldr w10, [x20]
cmp w9, w10
b.eq LBB4_203
LBB4_200:
adrp x8, _green_enabled@PAGE
ldrh w8, [x8, _green_enabled@PAGEOFF]
cmp w8, #1
b.ne LBB4_204
; %bb.201:
ldr w8, [x22, _green_scroll@PAGEOFF+4]
ldr w9, [x20, #4]
cmp w8, w9
b.ne LBB4_204
; %bb.202:
Lloh337:
adrp x9, _green_scroll@PAGE
Lloh338:
ldr w9, [x9, _green_scroll@PAGEOFF]
ldr w10, [x20]
cmp w9, w10
b.ne LBB4_204
LBB4_203:
ldr x0, [x26]
mov w19, #1
mov w1, #1
bfi w1, w9, #1, #31
mov w2, #2
bfi w2, w8, #2, #30
b LBB4_205
LBB4_204:
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
mov w19, #1
mov w1, #1
ldp w8, w9, [x20]
bfi w1, w8, #1, #31
mov w2, #2
bfi w2, w9, #2, #30
LBB4_205:
bl _wmove
cmn w0, #1
b.eq LBB4_207
; %bb.206:
ldr x0, [x26]
Lloh339:
adrp x8, _acs_map@GOTPAGE
Lloh340:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh341:
ldr w1, [x8, #484]
bl _waddch
LBB4_207:
ldr x0, [x26]
ldp w8, w9, [x20]
bfi w19, w8, #1, #31
mov w2, #3
bfi w2, w9, #2, #30
mov x1, x19
bl _wmove
cmn w0, #1
b.eq LBB4_209
; %bb.208:
ldr x0, [x26]
Lloh342:
adrp x8, _acs_map@GOTPAGE
Lloh343:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh344:
ldr w1, [x8, #488]
bl _waddch
LBB4_209:
adrp x8, _on_broom@PAGE
ldrh w8, [x8, _on_broom@PAGEOFF]
cmp w8, #1
b.ne LBB4_215
; %bb.210:
ldr x0, [x26]
mov w1, #2048
bl _wattrset
ldr x0, [x26]
mov w19, #1
mov w1, #1
ldp w8, w9, [x20]
bfi w1, w8, #1, #31
lsl w8, w9, #2
add w2, w8, #4
bl _wmove
cmn w0, #1
b.eq LBB4_212
; %bb.211:
ldr x0, [x26]
mov w1, #47
bl _waddch
LBB4_212:
ldr x0, [x26]
ldp w8, w9, [x20]
lsl w8, w8, #1
add w1, w8, #2
bfi w19, w9, #2, #30
mov x2, x19
bl _wmove
cmn w0, #1
b.eq LBB4_215
; %bb.213:
ldr x0, [x26]
Lloh345:
adrp x8, _acs_map@GOTPAGE
Lloh346:
ldr x8, [x8, _acs_map@GOTPAGEOFF]
Lloh347:
ldr w1, [x8, #384]
LBB4_214:
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
b _waddch
LBB4_215:
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 Lloh240, Lloh241
.loh AdrpLdrGot Lloh242, Lloh243
.loh AdrpLdrGot Lloh246, Lloh247
.loh AdrpLdr Lloh244, Lloh245
.loh AdrpLdr Lloh248, Lloh249
.loh AdrpLdr Lloh250, Lloh251
.loh AdrpAdd Lloh252, Lloh253
.loh AdrpLdrGotLdr Lloh254, Lloh255, Lloh256
.loh AdrpLdrGotLdr Lloh257, Lloh258, Lloh259
.loh AdrpLdrGotLdr Lloh260, Lloh261, Lloh262
.loh AdrpLdrGotLdr Lloh263, Lloh264, Lloh265
.loh AdrpLdrGotLdr Lloh266, Lloh267, Lloh268
.loh AdrpLdrGotLdr Lloh269, Lloh270, Lloh271
.loh AdrpLdrGotLdr Lloh272, Lloh273, Lloh274
.loh AdrpLdrGotLdr Lloh275, Lloh276, Lloh277
.loh AdrpLdrGotLdr Lloh278, Lloh279, Lloh280
.loh AdrpLdrGotLdr Lloh281, Lloh282, Lloh283
.loh AdrpLdrGotLdr Lloh284, Lloh285, Lloh286
.loh AdrpLdrGotLdr Lloh287, Lloh288, Lloh289
.loh AdrpLdrGotLdr Lloh290, Lloh291, Lloh292
.loh AdrpLdrGotLdr Lloh293, Lloh294, Lloh295
.loh AdrpLdrGotLdr Lloh296, Lloh297, Lloh298
.loh AdrpLdrGotLdr Lloh299, Lloh300, Lloh301
.loh AdrpLdrGotLdr Lloh302, Lloh303, Lloh304
.loh AdrpLdrGotLdr Lloh305, Lloh306, Lloh307
.loh AdrpLdr Lloh309, Lloh310
.loh AdrpAdrp Lloh308, Lloh309
.loh AdrpLdr Lloh312, Lloh313
.loh AdrpAdrp Lloh311, Lloh312
.loh AdrpLdr Lloh315, Lloh316
.loh AdrpAdrp Lloh314, Lloh315
.loh AdrpLdrGot Lloh317, Lloh318
.loh AdrpLdrGotLdr Lloh319, Lloh320, Lloh321
.loh AdrpLdrGotLdr Lloh322, Lloh323, Lloh324
.loh AdrpLdrGot Lloh325, Lloh326
.loh AdrpLdr Lloh327, Lloh328
.loh AdrpLdr Lloh329, Lloh330
.loh AdrpLdr Lloh331, Lloh332
.loh AdrpLdr Lloh333, Lloh334
.loh AdrpLdr Lloh335, Lloh336
.loh AdrpLdr Lloh337, Lloh338
.loh AdrpLdrGotLdr Lloh339, Lloh340, Lloh341
.loh AdrpLdrGotLdr Lloh342, Lloh343, Lloh344
.loh AdrpLdrGotLdr Lloh345, Lloh346, Lloh347
.cfi_endproc
.section __TEXT,__const
.p2align 1
lJTI4_0:
.short (LBB4_16-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_17-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_33-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_101-LBB4_13)>>2
.short (LBB4_117-LBB4_13)>>2
.short (LBB4_46-LBB4_13)>>2
.short (LBB4_47-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_63-LBB4_13)>>2
.short (LBB4_64-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_80-LBB4_13)>>2
.short (LBB4_96-LBB4_13)>>2
.short (LBB4_97-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_98-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_99-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_100-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_116-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_139-LBB4_13)>>2
.short (LBB4_133-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_134-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_135-LBB4_13)>>2
.short (LBB4_136-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_137-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_13-LBB4_13)>>2
.short (LBB4_138-LBB4_13)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _is_bludger ; -- Begin function is_bludger
.p2align 2
_is_bludger: ; @is_bludger
.cfi_startproc
; %bb.0:
sub w8, w0, #66
cmp w8, #23
b.hi LBB5_3
; %bb.1:
mov w0, #1
lsl w8, w0, w8
mov w9, #3107
movk w9, #129, lsl #16
tst w8, w9
b.eq LBB5_3
; %bb.2:
ret
LBB5_3:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _gravity_and_magnet ; -- Begin function gravity_and_magnet
.p2align 2
_gravity_and_magnet: ; @gravity_and_magnet
.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
strh wzr, [x1]
cbnz w3, LBB6_33
; %bb.1:
mov x21, x2
mov x19, x1
mov x20, x0
adrp x22, _red_enabled@PAGE
ldrsh w0, [x22, _red_enabled@PAGEOFF]
adrp x23, _red_magnet@PAGE
ldr x1, [x23, _red_magnet@PAGEOFF]
ldr x2, [x20]
mov x3, x19
bl _magnet_effect
cmp w0, #1
b.eq LBB6_33
; %bb.2:
adrp x24, _blue_enabled@PAGE
ldrsh w0, [x24, _blue_enabled@PAGEOFF]
adrp x25, _blue_magnet@PAGE
ldr x1, [x25, _blue_magnet@PAGEOFF]
ldr x2, [x20]
mov x3, x19
bl _magnet_effect
cmp w0, #1
b.eq LBB6_33
; %bb.3:
adrp x26, _green_enabled@PAGE
ldrsh w0, [x26, _green_enabled@PAGEOFF]
adrp x27, _green_magnet@PAGE
ldr x1, [x27, _green_magnet@PAGEOFF]
ldr x2, [x20]
mov x3, x19
bl _magnet_effect
cmp w0, #1
b.eq LBB6_33
; %bb.4:
adrp x8, _height@PAGE
ldr w9, [x8, _height@PAGEOFF]
Lloh348:
adrp x10, _area@GOTPAGE
Lloh349:
ldr x10, [x10, _area@GOTPAGEOFF]
cmp w9, #1
b.lt LBB6_27
; %bb.5:
adrp x11, _width@PAGE
ldr w5, [x11, _width@PAGEOFF]
mov w12, #1
mov x13, #3107
movk x13, #129, lsl #16
movk x13, #3107, lsl #32
movk x13, #129, lsl #48
adrp x14, _red_magnet@PAGE+4
adrp x15, _blue_magnet@PAGE+4
adrp x16, _green_magnet@PAGE+4
mov w17, #32
mov w0, #3107
movk w0, #129, lsl #16
b LBB6_7
LBB6_6: ; in Loop: Header=BB6_7 Depth=1
cmp x1, #2
b.lt LBB6_27
LBB6_7: ; =>This Loop Header: Depth=1
; Child Loop BB6_10 Depth 2
mov x1, x9
sub x9, x9, #1
cmp w5, #1
b.lt LBB6_6
; %bb.8: ; in Loop: Header=BB6_7 Depth=1
mov x2, #0
sub w3, w1, #2
add w4, w1, #1
b LBB6_10
LBB6_9: ; in Loop: Header=BB6_10 Depth=2
add x2, x2, #1
ldrsw x5, [x11, _width@PAGEOFF]
cmp x2, x5
b.ge LBB6_6
LBB6_10: ; Parent Loop BB6_7 Depth=1
; => This Inner Loop Header: Depth=2
ldr x7, [x10]
ldr x5, [x7, x9, lsl #3]
ldrb w6, [x5, x2]
sub w5, w6, #66
cmp w5, #55
lsl x28, x12, x5
and x28, x28, x13
ccmp x28, #0, #4, ls
b.eq LBB6_9
; %bb.11: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x23, _red_magnet@PAGEOFF]
cmp w3, w28
b.ne LBB6_13
; %bb.12: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x14, _red_magnet@PAGEOFF+4]
ldrh w30, [x22, _red_enabled@PAGEOFF]
cmp x2, x28
ccmp w30, #1, #0, eq
b.eq LBB6_9
LBB6_13: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x25, _blue_magnet@PAGEOFF]
cmp w3, w28
b.ne LBB6_16
; %bb.14: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x15, _blue_magnet@PAGEOFF+4]
cmp x2, x28
b.ne LBB6_16
; %bb.15: ; in Loop: Header=BB6_10 Depth=2
ldrh w28, [x24, _blue_enabled@PAGEOFF]
cmp w28, #1
b.eq LBB6_9
LBB6_16: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x27, _green_magnet@PAGEOFF]
cmp w3, w28
b.ne LBB6_18
; %bb.17: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x16, _green_magnet@PAGEOFF+4]
ldrh w30, [x26, _green_enabled@PAGEOFF]
cmp w30, #1
ccmp x2, x28, #0, eq
b.eq LBB6_9
LBB6_18: ; in Loop: Header=BB6_10 Depth=2
ldrsw x28, [x8, _height@PAGEOFF]
cmp x1, x28
b.ge LBB6_9
; %bb.19: ; in Loop: Header=BB6_10 Depth=2
ldr x7, [x7, x1, lsl #3]
ldrb w28, [x7, x2]
cmp w28, #72
b.eq LBB6_21
; %bb.20: ; in Loop: Header=BB6_10 Depth=2
cmp w28, #32
b.ne LBB6_9
LBB6_21: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x20]
cmp x1, x28
b.ne LBB6_23
; %bb.22: ; in Loop: Header=BB6_10 Depth=2
ldr w28, [x20, #4]
cmp x2, x28
b.eq LBB6_9
LBB6_23: ; in Loop: Header=BB6_10 Depth=2
strb w6, [x7, x2]
ldr x6, [x10]
ldr x6, [x6, x9, lsl #3]
strb w17, [x6, x2]
strh w12, [x19]
cmp w5, #23
lsl w5, w12, w5
and w5, w5, w0
ccmp w5, #0, #4, ls
b.eq LBB6_9
; %bb.24: ; in Loop: Header=BB6_10 Depth=2
ldr w5, [x20]
cmp w4, w5
b.ne LBB6_9
; %bb.25: ; in Loop: Header=BB6_10 Depth=2
ldr w5, [x20, #4]
cmp x2, x5
b.ne LBB6_9
; %bb.26: ; in Loop: Header=BB6_10 Depth=2
stp w1, w2, [x21]
b LBB6_9
LBB6_27:
ldr x10, [x10]
ldpsw x12, x8, [x20]
add x9, x12, #1
ldr x11, [x10, x9, lsl #3]
ldrb w13, [x11, x8]
adrp x14, _on_broom@PAGE
ldrh w14, [x14, _on_broom@PAGEOFF]
cmp w13, #32
ccmp w14, #0, #0, eq
b.eq LBB6_30
; %bb.28:
cmp w13, #45
b.ne LBB6_33
; %bb.29:
mov w9, #32
strb w9, [x11, x8]
ldr w8, [x20]
add w8, w8, #1
str w8, [x20]
mov w8, #1
strh w8, [x19]
Lloh350:
adrp x19, _on_broom@PAGE
Lloh351:
add x19, x19, _on_broom@PAGEOFF
b LBB6_32
LBB6_30:
ldr x10, [x10, x12, lsl #3]
ldrb w8, [x10, x8]
cmp w8, #72
b.eq LBB6_33
; %bb.31:
str w9, [x20]
LBB6_32:
mov w8, #1
strh w8, [x19]
LBB6_33:
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 Lloh348, Lloh349
.loh AdrpAdd Lloh350, Lloh351
.cfi_endproc
; -- End function
.globl _bludger_effect ; -- Begin function bludger_effect
.p2align 2
_bludger_effect: ; @bludger_effect
.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
.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
cbz w3, LBB7_3
LBB7_1:
mov w8, #0
LBB7_2:
sxth w0, w8
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
LBB7_3:
adrp x8, _height@PAGE
ldr w9, [x8, _height@PAGEOFF]
cmp w9, #1
b.lt LBB7_1
; %bb.4:
Lloh352:
adrp x10, _area@GOTPAGE
Lloh353:
ldr x10, [x10, _area@GOTPAGEOFF]
mov w11, #1
mov w12, #3107
movk w12, #129, lsl #16
adrp x13, _width@PAGE
ldr w24, [x13, _width@PAGEOFF]
adrp x14, _red_magnet@PAGE
adrp x15, _red_magnet@PAGE+4
adrp x16, _red_enabled@PAGE
adrp x17, _blue_magnet@PAGE
adrp x3, _blue_magnet@PAGE+4
adrp x4, _blue_enabled@PAGE
adrp x5, _green_magnet@PAGE
adrp x6, _green_magnet@PAGE+4
adrp x7, _green_enabled@PAGE
b LBB7_6
LBB7_5: ; in Loop: Header=BB7_6 Depth=1
cmp x20, #2
b.lt LBB7_1
LBB7_6: ; =>This Loop Header: Depth=1
; Child Loop BB7_9 Depth 2
mov x20, x9
sub x9, x9, #1
cmp w24, #1
b.lt LBB7_5
; %bb.7: ; in Loop: Header=BB7_6 Depth=1
mov x21, #0
sub w22, w20, #2
add w23, w20, #1
b LBB7_9
LBB7_8: ; in Loop: Header=BB7_9 Depth=2
add x21, x21, #1
ldrsw x24, [x13, _width@PAGEOFF]
cmp x21, x24
b.ge LBB7_5
LBB7_9: ; Parent Loop BB7_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr x26, [x10]
ldr x25, [x26, x9, lsl #3]
ldrb w24, [x25, x21]
sub w27, w24, #66
cmp w27, #23
lsl w27, w11, w27
and w27, w27, w12
ccmp w27, #0, #4, ls
b.eq LBB7_8
; %bb.10: ; in Loop: Header=BB7_9 Depth=2
ldr w27, [x14, _red_magnet@PAGEOFF]
cmp w22, w27
b.ne LBB7_12
; %bb.11: ; in Loop: Header=BB7_9 Depth=2
ldr w27, [x15, _red_magnet@PAGEOFF+4]
ldrh w28, [x16, _red_enabled@PAGEOFF]
cmp x21, x27
ccmp w28, #1, #0, eq
b.eq LBB7_8
LBB7_12: ; in Loop: Header=BB7_9 Depth=2
ldr w27, [x17, _blue_magnet@PAGEOFF]
cmp w22, w27
b.ne LBB7_15
; %bb.13: ; in Loop: Header=BB7_9 Depth=2
ldr w27, [x3, _blue_magnet@PAGEOFF+4]
cmp x21, x27
b.ne LBB7_15
; %bb.14: ; in Loop: Header=BB7_9 Depth=2
ldrh w27, [x4, _blue_enabled@PAGEOFF]
cmp w27, #1
b.eq LBB7_8
LBB7_15: ; in Loop: Header=BB7_9 Depth=2
ldr w27, [x5, _green_magnet@PAGEOFF]
cmp w22, w27
b.ne LBB7_17
; %bb.16: ; in Loop: Header=BB7_9 Depth=2
ldr w27, [x6, _green_magnet@PAGEOFF+4]
ldrh w28, [x7, _green_enabled@PAGEOFF]
cmp w28, #1
ccmp x21, x27, #0, eq
b.eq LBB7_8
LBB7_17: ; in Loop: Header=BB7_9 Depth=2
ldrsw x27, [x8, _height@PAGEOFF]
cmp x20, x27
b.ge LBB7_8
; %bb.18: ; in Loop: Header=BB7_9 Depth=2
ldr x27, [x26, x20, lsl #3]
ldrb w26, [x27, x21]
sub w26, w26, #66
cmp w26, #23
lsl w26, w11, w26
and w26, w26, w12
ccmp w26, #0, #4, ls
b.eq LBB7_8
; %bb.19: ; in Loop: Header=BB7_9 Depth=2
ldr w26, [x0]
cmp x20, x26
b.ne LBB7_21
; %bb.20: ; in Loop: Header=BB7_9 Depth=2
ldr w28, [x0, #4]
cmp x21, x28
b.eq LBB7_8
LBB7_21: ; in Loop: Header=BB7_9 Depth=2
add x28, x25, x21
ldurb w28, [x28, #-1]
cmp w28, #72
b.eq LBB7_23
; %bb.22: ; in Loop: Header=BB7_9 Depth=2
cmp w28, #32
b.ne LBB7_29
LBB7_23: ; in Loop: Header=BB7_9 Depth=2
cmp x9, x26
b.ne LBB7_25
; %bb.24: ; in Loop: Header=BB7_9 Depth=2
ldr w28, [x0, #4]
sub w30, w21, #1
cmp w30, w28
b.eq LBB7_29
LBB7_25: ; in Loop: Header=BB7_9 Depth=2
add x28, x27, x21
ldurb w30, [x28, #-1]
cmp w30, #72
b.eq LBB7_27
; %bb.26: ; in Loop: Header=BB7_9 Depth=2
cmp w30, #32
b.ne LBB7_29
LBB7_27: ; in Loop: Header=BB7_9 Depth=2
cmp x20, x26
b.ne LBB7_42
; %bb.28: ; in Loop: Header=BB7_9 Depth=2
ldr w30, [x0, #4]
sub w19, w21, #1
cmp w19, w30
b.ne LBB7_42
LBB7_29: ; in Loop: Header=BB7_9 Depth=2
add x19, x25, x21
ldrb w25, [x19, #1]
cmp w25, #72
b.eq LBB7_31
; %bb.30: ; in Loop: Header=BB7_9 Depth=2
cmp w25, #32
b.ne LBB7_8
LBB7_31: ; in Loop: Header=BB7_9 Depth=2
add x25, x21, #1
cmp x9, x26
b.ne LBB7_33
; %bb.32: ; in Loop: Header=BB7_9 Depth=2
ldr w19, [x0, #4]
cmp x25, x19
b.eq LBB7_8
LBB7_33: ; in Loop: Header=BB7_9 Depth=2
add x27, x27, x21
ldrb w28, [x27, #1]
cmp w28, #72
b.eq LBB7_35
; %bb.34: ; in Loop: Header=BB7_9 Depth=2
cmp w28, #32
b.ne LBB7_8
LBB7_35: ; in Loop: Header=BB7_9 Depth=2
cmp x20, x26
b.ne LBB7_37
; %bb.36: ; in Loop: Header=BB7_9 Depth=2
ldr w19, [x0, #4]
cmp x25, x19
b.eq LBB7_8
LBB7_37: ; in Loop: Header=BB7_9 Depth=2
strb w24, [x27, #1]
ldr x19, [x10]
ldr x19, [x19, x9, lsl #3]
mov w24, #32
strb w24, [x19, x21]
strh w11, [x1]
ldr w24, [x0]
cmp w24, w23
b.ne LBB7_40
; %bb.38: ; in Loop: Header=BB7_9 Depth=2
ldr w19, [x0, #4]
mov x24, x23
cmp x25, x19
b.ne LBB7_40
; %bb.39: ; in Loop: Header=BB7_9 Depth=2
add w19, w21, #1
stp w20, w19, [x2]
ldr w24, [x0]
LBB7_40: ; in Loop: Header=BB7_9 Depth=2
cmp x20, w24, uxtw
b.ne LBB7_8
; %bb.41: ; in Loop: Header=BB7_9 Depth=2
ldr w19, [x0, #4]
cmp x25, x19
b.ne LBB7_8
b LBB7_47
LBB7_42: ; in Loop: Header=BB7_9 Depth=2
sturb w24, [x28, #-1]
ldr x19, [x10]
ldr x19, [x19, x9, lsl #3]
mov w24, #32
strb w24, [x19, x21]
strh w11, [x1]
ldr w24, [x0]
cmp w24, w23
b.ne LBB7_45
; %bb.43: ; in Loop: Header=BB7_9 Depth=2
ldr w19, [x0, #4]
sub x25, x21, #1
cmp w25, w19
b.ne LBB7_45
; %bb.44: ; in Loop: Header=BB7_9 Depth=2
stp w20, w25, [x2]
ldr w24, [x0]
LBB7_45: ; in Loop: Header=BB7_9 Depth=2
cmp x20, w24, uxtw
b.ne LBB7_8
; %bb.46: ; in Loop: Header=BB7_9 Depth=2
ldr w19, [x0, #4]
sub w24, w21, #1
cmp w24, w19
b.ne LBB7_8
LBB7_47:
mov w8, #65535
b LBB7_2
.loh AdrpLdrGot Lloh352, Lloh353
.cfi_endproc
; -- End function
.globl _destroy ; -- Begin function destroy
.p2align 2
_destroy: ; @destroy
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w19, -8
.cfi_offset w20, -16
and w8, w1, #0xffff
ldrh w9, [x0]
orr w8, w9, w8
cbz w8, LBB8_2
LBB8_1:
ldp x20, x19, [sp], #16 ; 16-byte Folded Reload
ret
LBB8_2:
adrp x10, _height@PAGE
ldr w11, [x10, _height@PAGEOFF]
cmp w11, #1
b.lt LBB8_1
; %bb.3:
adrp x8, _width@PAGE
ldr w15, [x8, _width@PAGEOFF]
Lloh354:
adrp x9, _area@GOTPAGE
Lloh355:
ldr x9, [x9, _area@GOTPAGEOFF]
mov w12, #32
mov w13, #1
Lloh356:
adrp x14, _box_count@GOTPAGE
Lloh357:
ldr x14, [x14, _box_count@GOTPAGEOFF]
b LBB8_5
LBB8_4: ; in Loop: Header=BB8_5 Depth=1
cmp x16, #2
b.lt LBB8_10
LBB8_5: ; =>This Loop Header: Depth=1
; Child Loop BB8_8 Depth 2
mov x16, x11
sub x11, x11, #1
cmp w15, #1
b.lt LBB8_4
; %bb.6: ; in Loop: Header=BB8_5 Depth=1
mov x17, #0
b LBB8_8
LBB8_7: ; in Loop: Header=BB8_8 Depth=2
add x17, x17, #1
cmp x17, w15, sxtw
b.ge LBB8_4
LBB8_8: ; Parent Loop BB8_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x1, [x9]
ldr x1, [x1, x11, lsl #3]
ldrb w2, [x1, x17]
cmp w2, #75
b.ne LBB8_7
; %bb.9: ; in Loop: Header=BB8_8 Depth=2
strb w12, [x1, x17]
ldr w15, [x14]
sub w15, w15, #1
str w15, [x14]
strh w13, [x0]
ldr w15, [x8, _width@PAGEOFF]
b LBB8_7
LBB8_10:
ldr w12, [x10, _height@PAGEOFF]
cmp w12, #1
b.lt LBB8_1
; %bb.11:
ldr w1, [x8, _width@PAGEOFF]
mov w13, #1
mov x14, #3107
movk x14, #129, lsl #16
movk x14, #3107, lsl #32
movk x14, #129, lsl #48
Lloh358:
adrp x11, _boom_map@GOTPAGE
Lloh359:
ldr x11, [x11, _boom_map@GOTPAGEOFF]
mov w15, #75
b LBB8_13
LBB8_12: ; in Loop: Header=BB8_13 Depth=1
cmp x16, #2
b.lt LBB8_38
LBB8_13: ; =>This Loop Header: Depth=1
; Child Loop BB8_29 Depth 2
mov x16, x12
sub x12, x12, #1
cmp w1, #1
b.lt LBB8_12
; %bb.14: ; in Loop: Header=BB8_13 Depth=1
sub w17, w16, #2
ldr x4, [x9]
ldr x2, [x4, x12, lsl #3]
ldrb w3, [x2]
sub w5, w3, #66
cmp w5, #55
lsl x5, x13, x5
and x5, x5, x14
ccmp x5, #0, #4, ls
b.eq LBB8_25
; %bb.15: ; in Loop: Header=BB8_13 Depth=1
ldrsw x5, [x10, _height@PAGEOFF]
cmp x16, x5
b.ge LBB8_18
; %bb.16: ; in Loop: Header=BB8_13 Depth=1
ldr x5, [x4, x16, lsl #3]
ldrb w5, [x5]
cmp w5, w3
b.ne LBB8_18
; %bb.17: ; in Loop: Header=BB8_13 Depth=1
ldr x1, [x11]
ldr x1, [x1, x12, lsl #3]
strb w15, [x1]
ldr x1, [x11]
ldr x1, [x1, x16, lsl #3]
b LBB8_24
LBB8_18: ; in Loop: Header=BB8_13 Depth=1
cmp x16, #2
b.lo LBB8_21
; %bb.19: ; in Loop: Header=BB8_13 Depth=1
ldr x4, [x4, x17, lsl #3]
ldrb w4, [x4]
cmp w4, w3
b.ne LBB8_21
; %bb.20: ; in Loop: Header=BB8_13 Depth=1
ldr x1, [x11]
ldr x1, [x1, x12, lsl #3]
strb w15, [x1]
ldr x1, [x11]
ldr x1, [x1, x17, lsl #3]
b LBB8_24
LBB8_21: ; in Loop: Header=BB8_13 Depth=1
cmp w1, #2
b.lo LBB8_25
; %bb.22: ; in Loop: Header=BB8_13 Depth=1
ldrb w1, [x2, #1]
cmp w1, w3
b.ne LBB8_25
; %bb.23: ; in Loop: Header=BB8_13 Depth=1
ldr x1, [x11]
lsl x2, x12, #3
ldr x1, [x1, x2]
strb w15, [x1]
ldr x1, [x11]
ldr x1, [x1, x2]
add x1, x1, #1
LBB8_24: ; in Loop: Header=BB8_13 Depth=1
strb w15, [x1]
strh w13, [x0]
LBB8_25: ; in Loop: Header=BB8_13 Depth=1
ldr w1, [x8, _width@PAGEOFF]
cmp w1, #2
b.lt LBB8_12
; %bb.26: ; in Loop: Header=BB8_13 Depth=1
mov w2, #1
b LBB8_29
LBB8_27: ; in Loop: Header=BB8_29 Depth=2
ldr x1, [x11]
ldr x1, [x1, x12, lsl #3]
strb w15, [x1, x2]
ldr x1, [x11]
ldr x1, [x1, x7, lsl #3]
strb w15, [x1, x6]
strh w13, [x0]
LBB8_28: ; in Loop: Header=BB8_29 Depth=2
add x2, x2, #1
ldrsw x1, [x8, _width@PAGEOFF]
cmp x2, x1
b.ge LBB8_12
LBB8_29: ; Parent Loop BB8_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr x5, [x9]
ldr x4, [x5, x12, lsl #3]
ldrb w3, [x4, x2]
sub w6, w3, #66
cmp w6, #55
lsl x6, x13, x6
and x6, x6, x14
ccmp x6, #0, #4, ls
b.eq LBB8_28
; %bb.30: ; in Loop: Header=BB8_29 Depth=2
ldrsw x6, [x10, _height@PAGEOFF]
cmp x16, x6
b.ge LBB8_32
; %bb.31: ; in Loop: Header=BB8_29 Depth=2
ldr x6, [x5, x16, lsl #3]
ldrb w19, [x6, x2]
mov x7, x16
mov x6, x2
cmp w19, w3
b.eq LBB8_27
LBB8_32: ; in Loop: Header=BB8_29 Depth=2
cmp x16, #2
b.lo LBB8_34
; %bb.33: ; in Loop: Header=BB8_29 Depth=2
ldr x5, [x5, x17, lsl #3]
ldrb w5, [x5, x2]
mov x7, x17
mov x6, x2
cmp w5, w3
b.eq LBB8_27
LBB8_34: ; in Loop: Header=BB8_29 Depth=2
add x6, x2, #1
cmp x6, w1, sxtw
b.ge LBB8_36
; %bb.35: ; in Loop: Header=BB8_29 Depth=2
add x1, x4, x2
ldrb w1, [x1, #1]
mov x7, x12
cmp w1, w3
b.eq LBB8_27
LBB8_36: ; in Loop: Header=BB8_29 Depth=2
add x1, x4, x2
ldurb w1, [x1, #-1]
cmp w1, w3
b.ne LBB8_28
; %bb.37: ; in Loop: Header=BB8_29 Depth=2
sub x6, x2, #1
mov x7, x12
b LBB8_27
LBB8_38:
ldr w10, [x10, _height@PAGEOFF]
cmp w10, #1
b.lt LBB8_1
; %bb.39:
ldr w14, [x8, _width@PAGEOFF]
mov w12, #75
mov w13, #32
b LBB8_41
LBB8_40: ; in Loop: Header=BB8_41 Depth=1
cmp x15, #2
b.lt LBB8_1
LBB8_41: ; =>This Loop Header: Depth=1
; Child Loop BB8_44 Depth 2
mov x15, x10
sub x10, x10, #1
cmp w14, #1
b.lt LBB8_40
; %bb.42: ; in Loop: Header=BB8_41 Depth=1
mov x16, #0
b LBB8_44
LBB8_43: ; in Loop: Header=BB8_44 Depth=2
add x16, x16, #1
cmp x16, w14, sxtw
b.ge LBB8_40
LBB8_44: ; Parent Loop BB8_41 Depth=1
; => This Inner Loop Header: Depth=2
ldr x17, [x11]
ldr x17, [x17, x10, lsl #3]
ldrb w17, [x17, x16]
cmp w17, #75
b.ne LBB8_43
; %bb.45: ; in Loop: Header=BB8_44 Depth=2
ldr x14, [x9]
lsl x17, x10, #3
ldr x14, [x14, x17]
strb w12, [x14, x16]
ldr x14, [x11]
ldr x14, [x14, x17]
strb w13, [x14, x16]
ldr w14, [x8, _width@PAGEOFF]
b LBB8_43
.loh AdrpLdrGot Lloh356, Lloh357
.loh AdrpLdrGot Lloh354, Lloh355
.loh AdrpLdrGot Lloh358, Lloh359
.cfi_endproc
; -- End function
.globl _destroy_win ; -- Begin function destroy_win
.p2align 2
_destroy_win: ; @destroy_win
.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 w8, #32
str w8, [sp]
mov w1, #32
mov w2, #32
mov w3, #32
mov w4, #32
mov w5, #32
mov w6, #32
mov w7, #32
bl _wborder
mov x0, x19
bl _wclear
mov x0, x19
bl _wrefresh
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _delwin
.cfi_endproc
; -- End function
.globl _key_in ; -- Begin function key_in
.p2align 2
_key_in: ; @key_in
.cfi_startproc
; %bb.0:
sub w8, w0, #258
cmp w8, #3
b.hi LBB10_7
; %bb.1:
Lloh360:
adrp x9, lJTI10_0@PAGE
Lloh361:
add x9, x9, lJTI10_0@PAGEOFF
adr x10, LBB10_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB10_2:
ldrsw x8, [x1]
add x8, x8, #1
Lloh362:
adrp x9, _height@PAGE
Lloh363:
ldr w9, [x9, _height@PAGEOFF]
cmp w8, w9
b.ge LBB10_7
; %bb.3:
Lloh364:
adrp x11, _area@GOTPAGE
Lloh365:
ldr x11, [x11, _area@GOTPAGEOFF]
ldr x10, [x11]
ldr x12, [x10, x8, lsl #3]
ldrsw x9, [x1, #4]
ldrb w13, [x12, x9]
cmp w13, #35
b.eq LBB10_7
; %bb.4:
cmp w13, #45
b.ne LBB10_6
; %bb.5:
mov w8, #32
strb w8, [x12, x9]
mov w8, #1
adrp x9, _on_broom@PAGE
strh w8, [x9, _on_broom@PAGEOFF]
ldr x10, [x11]
ldpsw x8, x9, [x1]
add x8, x8, #1
LBB10_6:
ldr x10, [x10, x8, lsl #3]
ldrb w11, [x10, x9]
sub w12, w11, #66
cmp w12, #55
mov w13, #1
lsl x12, x13, x12
mov x13, #3107
movk x13, #129, lsl #16
movk x13, #3107, lsl #32
movk x13, #129, lsl #48
and x12, x12, x13
ccmp x12, #0, #4, ls
b.eq LBB10_57
LBB10_7:
ret
LBB10_8:
ldr w10, [x1]
subs w11, w10, #1
b.lt LBB10_7
; %bb.9:
Lloh366:
adrp x8, _area@GOTPAGE
Lloh367:
ldr x8, [x8, _area@GOTPAGEOFF]
ldr x12, [x8]
ldr x13, [x12, w11, uxtw #3]
ldrsw x9, [x1, #4]
ldrb w14, [x13, x9]
cmp w14, #35
b.eq LBB10_7
; %bb.10:
cmp w14, #72
b.ne LBB10_33
LBB10_11:
ldr x14, [x12, w11, sxtw #3]
ldrb w13, [x14, x9]
sub w15, w13, #66
cmp w15, #55
b.hi LBB10_60
; %bb.12:
mov w16, #1
lsl x16, x16, x15
mov x17, #3107
movk x17, #129, lsl #16
movk x17, #3107, lsl #32
movk x17, #129, lsl #48
tst x16, x17
b.eq LBB10_45
; %bb.13:
sub w10, w10, #2
ldr x10, [x12, w10, sxtw #3]
ldrb w11, [x10, x9]
cmp w11, #72
b.eq LBB10_15
; %bb.14:
cmp w11, #32
b.ne LBB10_7
LBB10_15:
strb w13, [x10, x9]
ldr x8, [x8]
ldpsw x9, x10, [x1]
add x8, x8, x9, lsl #3
ldur x8, [x8, #-8]
mov w9, #32
strb w9, [x8, x10]
LBB10_16:
ldr w8, [x1]
sub w8, w8, #1
LBB10_17:
str w8, [x1]
mov x0, x1
b _check_trigger
LBB10_18:
ldr w12, [x1, #4]
subs w10, w12, #1
b.lt LBB10_7
; %bb.19:
Lloh368:
adrp x8, _area@GOTPAGE
Lloh369:
ldr x8, [x8, _area@GOTPAGEOFF]
ldr x11, [x8]
ldrsw x9, [x1]
ldr x11, [x11, x9, lsl #3]
ldrb w13, [x11, x10]
cmp w13, #35
b.eq LBB10_7
; %bb.20:
cmp w13, #45
b.ne LBB10_36
; %bb.21:
mov w9, #32
strb w9, [x11, x10]
mov w9, #1
adrp x10, _on_broom@PAGE
strh w9, [x10, _on_broom@PAGEOFF]
ldr x9, [x8]
ldp w13, w12, [x1]
; kill: def $w13 killed $w13 def $x13
sxtw x13, w13
ldr x11, [x9, x13, lsl #3]
sub w10, w12, #1
mov x9, x13
b LBB10_37
LBB10_22:
ldrsw x12, [x1, #4]
add x11, x12, #1
adrp x9, _width@PAGE
ldr w8, [x9, _width@PAGEOFF]
cmp w11, w8
b.ge LBB10_7
; %bb.23:
Lloh370:
adrp x8, _area@GOTPAGE
Lloh371:
ldr x8, [x8, _area@GOTPAGEOFF]
ldr x10, [x8]
ldrsw x13, [x1]
ldr x10, [x10, x13, lsl #3]
ldrb w13, [x10, x11]
cmp w13, #35
b.eq LBB10_7
; %bb.24:
cmp w13, #45
b.ne LBB10_26
; %bb.25:
mov w12, #32
strb w12, [x10, x11]
mov w10, #1
adrp x11, _on_broom@PAGE
strh w10, [x11, _on_broom@PAGEOFF]
ldr x10, [x8]
ldpsw x11, x12, [x1]
ldr x10, [x10, x11, lsl #3]
add x11, x12, #1
; kill: def $w12 killed $w12 killed $x12 def $x12
LBB10_26:
ldrb w13, [x10, x11]
cmp w13, #68
b.ne LBB10_28
; %bb.27:
mov w12, #32
strb w12, [x10, x11]
ldr x10, [x8]
ldpsw x11, x12, [x1]
ldr x10, [x10, x11, lsl #3]
add x11, x12, #1
; kill: def $w12 killed $w12 killed $x12 def $x12
LBB10_28:
ldrb w13, [x10, x11]
sub w14, w13, #66
cmp w14, #55
mov w15, #1
lsl x14, x15, x14
mov x15, #3107
movk x15, #129, lsl #16
movk x15, #3107, lsl #32
movk x15, #129, lsl #48
and x14, x14, x15
ccmp x14, #0, #4, ls
b.eq LBB10_56
; %bb.29:
; kill: def $w12 killed $w12 killed $x12 def $x12
sxtw x11, w12
add x11, x11, #2
ldr w9, [x9, _width@PAGEOFF]
cmp w11, w9
b.ge LBB10_7
; %bb.30:
ldrb w9, [x10, x11]
cmp w9, #72
b.eq LBB10_32
; %bb.31:
cmp w9, #32
b.ne LBB10_7
LBB10_32:
strb w13, [x10, x11]
ldr x8, [x8]
ldpsw x9, x10, [x1]
ldr x8, [x8, x9, lsl #3]
add x8, x10, x8
mov w9, #32
strb w9, [x8, #1]
ldr w8, [x1, #4]
add w8, w8, #1
b LBB10_44
LBB10_33:
ldr x15, [x12, x10, lsl #3]
ldrb w16, [x15, x9]
adrp x15, _on_broom@PAGE
ldrh w17, [x15, _on_broom@PAGEOFF]
cmp w16, #72
ccmp w17, #1, #4, ne
b.ne LBB10_7
; %bb.34:
cmp w14, #45
b.ne LBB10_11
; %bb.35:
mov w10, #32
strb w10, [x13, x9]
mov w9, #1
strh w9, [x15, _on_broom@PAGEOFF]
ldr x12, [x8]
ldp w10, w9, [x1]
; kill: def $w9 killed $w9 def $x9
sxtw x9, w9
sub w11, w10, #1
b LBB10_11
LBB10_36:
; kill: def $w10 killed $w10 killed $x10 def $x10
LBB10_37:
sxtw x13, w10
ldrb w14, [x11, x13]
cmp w14, #68
b.ne LBB10_39
; %bb.38:
mov w9, #32
strb w9, [x11, x13]
ldr x9, [x8]
ldpsw x14, x12, [x1]
ldr x11, [x9, x14, lsl #3]
sub x13, x12, #1
mov x10, x13
mov x9, x14
LBB10_39:
ldrb w13, [x11, x13]
sub w14, w13, #66
cmp w14, #55
mov w15, #1
lsl x14, x15, x14
mov x15, #3107
movk x15, #129, lsl #16
movk x15, #3107, lsl #32
movk x15, #129, lsl #48
and x14, x14, x15
ccmp x14, #0, #4, ls
b.eq LBB10_47
; %bb.40:
subs w9, w12, #2
b.lt LBB10_7
; %bb.41:
ldrb w10, [x11, x9]
cmp w10, #72
b.eq LBB10_43
; %bb.42:
cmp w10, #32
b.ne LBB10_7
LBB10_43:
strb w13, [x11, x9]
ldr x8, [x8]
ldpsw x9, x10, [x1]
ldr x8, [x8, x9, lsl #3]
add x8, x10, x8
mov w9, #32
sturb w9, [x8, #-1]
ldr w8, [x1, #4]
sub w8, w8, #1
LBB10_44:
str w8, [x1, #4]
mov x0, x1
b _check_trigger
LBB10_45:
cmp x15, #2
b.ne LBB10_60
; %bb.46:
mov w8, #32
strb w8, [x14, x9]
b LBB10_16
LBB10_47:
str w10, [x1, #4]
Lloh372:
adrp x8, _red_scroll@PAGE
Lloh373:
add x8, x8, _red_scroll@PAGEOFF
ldr w11, [x8]
cmp w9, w11
b.ne LBB10_50
; %bb.48:
ldr w8, [x8, #4]
cmp w10, w8
b.ne LBB10_50
; %bb.49:
adrp x8, _red_enabled@PAGE
ldrh w11, [x8, _red_enabled@PAGEOFF]
mov w12, #1
sub w11, w12, w11
strh w11, [x8, _red_enabled@PAGEOFF]
LBB10_50:
Lloh374:
adrp x8, _blue_scroll@PAGE
Lloh375:
add x8, x8, _blue_scroll@PAGEOFF
ldr w11, [x8]
cmp w9, w11
b.ne LBB10_53
; %bb.51:
ldr w8, [x8, #4]
cmp w10, w8
b.ne LBB10_53
; %bb.52:
adrp x8, _blue_enabled@PAGE
ldrh w11, [x8, _blue_enabled@PAGEOFF]
mov w12, #1
sub w11, w12, w11
strh w11, [x8, _blue_enabled@PAGEOFF]
LBB10_53:
Lloh376:
adrp x8, _green_scroll@PAGE
Lloh377:
add x8, x8, _green_scroll@PAGEOFF
ldr w11, [x8]
cmp w9, w11
b.ne LBB10_7
; %bb.54:
ldr w8, [x8, #4]
cmp w10, w8
b.ne LBB10_7
; %bb.55:
adrp x8, _green_enabled@PAGE
ldrh w9, [x8, _green_enabled@PAGEOFF]
mov w10, #1
sub w9, w10, w9
strh w9, [x8, _green_enabled@PAGEOFF]
ret
LBB10_56:
str w11, [x1, #4]
mov x0, x1
b _check_trigger
LBB10_57:
adrp x12, _on_broom@PAGE
ldrh w12, [x12, _on_broom@PAGEOFF]
cmp w11, #68
ccmp w12, #1, #0, eq
b.eq LBB10_61
; %bb.58:
cmp w11, #68
ccmp w12, #0, #0, eq
b.eq LBB10_7
; %bb.59:
str w8, [x1]
mov x0, x1
b _check_trigger
LBB10_60:
str w11, [x1]
mov x0, x1
b _check_trigger
LBB10_61:
mov w8, #32
strb w8, [x10, x9]
ldr w8, [x1]
add w8, w8, #1
b LBB10_17
.loh AdrpAdd Lloh360, Lloh361
.loh AdrpLdr Lloh362, Lloh363
.loh AdrpLdrGot Lloh364, Lloh365
.loh AdrpLdrGot Lloh366, Lloh367
.loh AdrpLdrGot Lloh368, Lloh369
.loh AdrpLdrGot Lloh370, Lloh371
.loh AdrpAdd Lloh372, Lloh373
.loh AdrpAdd Lloh374, Lloh375
.loh AdrpAdd Lloh376, Lloh377
.cfi_endproc
.section __TEXT,__const
lJTI10_0:
.byte (LBB10_2-LBB10_2)>>2
.byte (LBB10_8-LBB10_2)>>2
.byte (LBB10_18-LBB10_2)>>2
.byte (LBB10_22-LBB10_2)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _is_box ; -- Begin function is_box
.p2align 2
_is_box: ; @is_box
.cfi_startproc
; %bb.0:
sub w8, w0, #98
cmp w8, #23
b.hi LBB11_3
; %bb.1:
mov w0, #1
lsl w8, w0, w8
mov w9, #3107
movk w9, #129, lsl #16
tst w8, w9
b.eq LBB11_3
; %bb.2:
ret
LBB11_3:
mov w0, #0
ret
.cfi_endproc
; -- End function
.globl _magnet_effect ; -- Begin function magnet_effect
.p2align 2
_magnet_effect: ; @magnet_effect
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
.cfi_offset w19, -8
.cfi_offset w20, -16
cmp w0, #1
b.ne LBB12_10
; %bb.1:
add w17, w1, #1
Lloh378:
adrp x8, _height@PAGE
Lloh379:
ldr w0, [x8, _height@PAGEOFF]
cmp w17, w0
b.ge LBB12_10
; %bb.2:
mov x8, #0
lsr x12, x1, #32
lsr x13, x2, #32
Lloh380:
adrp x10, _area@GOTPAGE
Lloh381:
ldr x10, [x10, _area@GOTPAGEOFF]
asr x9, x1, #32
sxtw x11, w17
sxtw x16, w2
mov x14, #-4294967296
add x15, x14, x11, lsl #32
ldr x14, [x10]
sub x16, x16, x11
add x17, x14, w17, sxtw #3
mvn w1, w1
add w1, w1, w0
Lloh382:
adrp x2, lJTI12_0@PAGE
Lloh383:
add x2, x2, lJTI12_0@PAGEOFF
mov x4, #4294967296
LBB12_3: ; =>This Inner Loop Header: Depth=1
cmp x16, x8
b.ne LBB12_5
; %bb.4: ; in Loop: Header=BB12_3 Depth=1
cmp w12, w13
b.eq LBB12_10
LBB12_5: ; in Loop: Header=BB12_3 Depth=1
mov w0, #0
ldr x5, [x17, x8, lsl #3]
ldrb w5, [x5, x9]
sub w6, w5, #32
cmp w6, #89
b.hi LBB12_11
; %bb.6: ; in Loop: Header=BB12_3 Depth=1
adr x7, LBB12_7
ldrb w19, [x2, x6]
add x7, x7, x19, lsl #2
br x7
LBB12_7: ; in Loop: Header=BB12_3 Depth=1
add x15, x15, x4
add x8, x8, #1
cmp w1, w8
b.ne LBB12_3
b LBB12_10
LBB12_8:
cbz w8, LBB12_10
; %bb.9:
asr x12, x15, #29
ldr x12, [x14, x12]
strb w5, [x12, x9]
ldr x10, [x10]
add x10, x10, x11, lsl #3
ldr x8, [x10, x8, lsl #3]
mov w10, #32
strb w10, [x8, x9]
mov w0, #1
strh w0, [x3]
ldp x20, x19, [sp], #16 ; 16-byte Folded Reload
ret
LBB12_10:
mov w0, #0
LBB12_11:
ldp x20, x19, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdr Lloh378, Lloh379
.loh AdrpAdd Lloh382, Lloh383
.loh AdrpLdrGot Lloh380, Lloh381
.cfi_endproc
.section __TEXT,__const
lJTI12_0:
.byte (LBB12_7-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_7-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_11-LBB12_7)>>2
.byte (LBB12_8-LBB12_7)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _check_trigger ; -- Begin function check_trigger
.p2align 2
_check_trigger: ; @check_trigger
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh384:
adrp x9, _red_scroll@PAGE
Lloh385:
ldr w9, [x9, _red_scroll@PAGEOFF]
cmp w8, w9
b.ne LBB13_3
; %bb.1:
ldr w9, [x0, #4]
Lloh386:
adrp x10, _red_scroll@PAGE+4
Lloh387:
ldr w10, [x10, _red_scroll@PAGEOFF+4]
cmp w9, w10
b.ne LBB13_3
; %bb.2:
adrp x9, _red_enabled@PAGE
ldrh w10, [x9, _red_enabled@PAGEOFF]
mov w11, #1
sub w10, w11, w10
strh w10, [x9, _red_enabled@PAGEOFF]
LBB13_3:
Lloh388:
adrp x9, _blue_scroll@PAGE
Lloh389:
ldr w9, [x9, _blue_scroll@PAGEOFF]
cmp w8, w9
b.ne LBB13_6
; %bb.4:
ldr w9, [x0, #4]
Lloh390:
adrp x10, _blue_scroll@PAGE+4
Lloh391:
ldr w10, [x10, _blue_scroll@PAGEOFF+4]
cmp w9, w10
b.ne LBB13_6
; %bb.5:
adrp x9, _blue_enabled@PAGE
ldrh w10, [x9, _blue_enabled@PAGEOFF]
mov w11, #1
sub w10, w11, w10
strh w10, [x9, _blue_enabled@PAGEOFF]
LBB13_6:
Lloh392:
adrp x9, _green_scroll@PAGE
Lloh393:
ldr w9, [x9, _green_scroll@PAGEOFF]
cmp w8, w9
b.ne LBB13_9
; %bb.7:
ldr w8, [x0, #4]
Lloh394:
adrp x9, _green_scroll@PAGE+4
Lloh395:
ldr w9, [x9, _green_scroll@PAGEOFF+4]
cmp w8, w9
b.ne LBB13_9
; %bb.8:
adrp x8, _green_enabled@PAGE
ldrh w9, [x8, _green_enabled@PAGEOFF]
mov w10, #1
sub w9, w10, w9
strh w9, [x8, _green_enabled@PAGEOFF]
LBB13_9:
ret
.loh AdrpLdr Lloh384, Lloh385
.loh AdrpLdr Lloh386, Lloh387
.loh AdrpLdr Lloh388, Lloh389
.loh AdrpLdr Lloh390, Lloh391
.loh AdrpLdr Lloh392, Lloh393
.loh AdrpLdr Lloh394, Lloh395
.cfi_endproc
; -- End function
.globl _print_scroll ; -- Begin function print_scroll
.p2align 2
_print_scroll: ; @print_scroll
.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
Lloh396:
adrp x8, _area@GOTPAGE
Lloh397:
ldr x8, [x8, _area@GOTPAGEOFF]
Lloh398:
ldr x8, [x8]
sbfiz x9, x1, #3, #32
ldr x8, [x8, x9]
asr x9, x1, #32
ldrb w8, [x8, x9]
cmp w8, #32
b.ne LBB14_36
; %bb.1:
mov x20, x1
lsr x22, x1, #32
cmp w0, #1
b.eq LBB14_19
; %bb.2:
cbnz w0, LBB14_36
; %bb.3:
Lloh399:
adrp x24, _my_win@GOTPAGE
Lloh400:
ldr x24, [x24, _my_win@GOTPAGEOFF]
ldr x0, [x24]
lsl w1, w2, #8
bl _wattrset
ldr x0, [x24]
lsl w20, w20, #1
add w19, w20, #2
lsl w25, w22, #2
mov w21, #2
bfi w21, w22, #2, #30
mov x1, x19
mov x2, x21
bl _wmove
cmn w0, #1
b.eq LBB14_5
; %bb.4:
ldr x0, [x24]
mov w1, #32
bl _waddch
LBB14_5:
ldr x0, [x24]
orr w22, w25, #0x3
mov x1, x19
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB14_7
; %bb.6:
ldr x0, [x24]
mov w1, #32
bl _waddch
LBB14_7:
ldr x0, [x24]
mov w1, #2048
bl _wattrset
ldr x0, [x24]
orr w23, w20, #0x1
orr w20, w25, #0x1
mov x1, x23
mov x2, x20
bl _wmove
cmn w0, #1
b.eq LBB14_9
; %bb.8:
ldr x0, [x24]
mov w1, #32
bl _waddch
LBB14_9:
ldr x0, [x24]
mov x1, x23
mov x2, x21
bl _wmove
cmn w0, #1
b.eq LBB14_11
; %bb.10:
ldr x0, [x24]
mov w1, #32
bl _waddch
LBB14_11:
ldr x0, [x24]
mov x1, x23
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB14_13
; %bb.12:
ldr x0, [x24]
mov w1, #32
bl _waddch
LBB14_13:
ldr x0, [x24]
add w21, w25, #4
mov x1, x23
mov x2, x21
bl _wmove
cmn w0, #1
b.eq LBB14_15
; %bb.14:
ldr x0, [x24]
mov w1, #32
bl _waddch
LBB14_15:
ldr x0, [x24]
mov x1, x19
mov x2, x20
bl _wmove
cmn w0, #1
b.eq LBB14_17
; %bb.16:
ldr x0, [x24]
mov w1, #32
bl _waddch
LBB14_17:
ldr x0, [x24]
mov x1, x19
mov x2, x21
bl _wmove
cmn w0, #1
b.eq LBB14_36
; %bb.18:
ldr x0, [x24]
mov w1, #32
b LBB14_35
LBB14_19:
Lloh401:
adrp x23, _my_win@GOTPAGE
Lloh402:
ldr x23, [x23, _my_win@GOTPAGEOFF]
ldr x0, [x23]
lsl w1, w2, #8
bl _wattrset
ldr x0, [x23]
mov w19, #1
bfi w19, w20, #1, #31
lsl w25, w22, #2
mov w21, #2
bfi w21, w22, #2, #30
mov x1, x19
mov x2, x21
bl _wmove
Lloh403:
adrp x24, _acs_map@GOTPAGE
Lloh404:
ldr x24, [x24, _acs_map@GOTPAGEOFF]
cmn w0, #1
b.eq LBB14_21
; %bb.20:
ldr x0, [x23]
ldr w1, [x24, #476]
bl _waddch
LBB14_21:
lsl w20, w20, #1
ldr x0, [x23]
orr w22, w25, #0x3
mov x1, x19
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB14_23
; %bb.22:
ldr x0, [x23]
ldr w1, [x24, #476]
bl _waddch
LBB14_23:
ldr x0, [x23]
add w20, w20, #2
mov x1, x20
mov x2, x21
bl _wmove
cmn w0, #1
b.eq LBB14_25
; %bb.24:
ldr x0, [x23]
ldr w1, [x24, #472]
bl _waddch
LBB14_25:
ldr x0, [x23]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB14_27
; %bb.26:
ldr x0, [x23]
ldr w1, [x24, #472]
bl _waddch
LBB14_27:
ldr x0, [x23]
mov w1, #2048
bl _wattrset
ldr x0, [x23]
orr w21, w25, #0x1
mov x1, x19
mov x2, x21
bl _wmove
cmn w0, #1
b.eq LBB14_29
; %bb.28:
ldr x0, [x23]
ldr w1, [x24, #432]
bl _waddch
LBB14_29:
ldr x0, [x23]
add w22, w25, #4
mov x1, x19
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB14_31
; %bb.30:
ldr x0, [x23]
ldr w1, [x24, #428]
bl _waddch
LBB14_31:
ldr x0, [x23]
mov x1, x20
mov x2, x21
bl _wmove
cmn w0, #1
b.eq LBB14_33
; %bb.32:
ldr x0, [x23]
ldr w1, [x24, #436]
bl _waddch
LBB14_33:
ldr x0, [x23]
mov x1, x20
mov x2, x22
bl _wmove
cmn w0, #1
b.eq LBB14_36
; %bb.34:
ldr x0, [x23]
ldr w1, [x24, #424]
LBB14_35:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _waddch
LBB14_36:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh396, Lloh397, Lloh398
.loh AdrpLdrGot Lloh399, Lloh400
.loh AdrpLdrGot Lloh403, Lloh404
.loh AdrpLdrGot Lloh401, Lloh402
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _height ; @height
.p2align 2
_height:
.long 10 ; 0xa
.globl _width ; @width
.p2align 2
_width:
.long 8 ; 0x8
.globl _map_d ; @map_d
_map_d:
.space 8,35
.ascii "#### #"
.ascii "# #H#"
.ascii "# r H#"
.ascii "# ###H#"
.ascii "# g y H#"
.ascii "##r ##H#"
.ascii "### H#"
.ascii "#yg #"
.space 8,35
.globl _ladder_count ; @ladder_count
.p2align 2
_ladder_count:
.long 6 ; 0x6
.globl _ladder_d ; @ladder_d
.p2align 2
_ladder_d:
.long 2 ; 0x2
.long 6 ; 0x6
.long 3 ; 0x3
.long 6 ; 0x6
.long 4 ; 0x4
.long 6 ; 0x6
.long 5 ; 0x5
.long 6 ; 0x6
.long 6 ; 0x6
.long 6 ; 0x6
.long 7 ; 0x7
.long 6 ; 0x6
.globl _human_d ; @human_d
.p2align 3
_human_d:
.long 3 ; 0x3
.long 5 ; 0x5
.globl _default_command_message ; @default_command_message
_default_command_message:
.asciz "Press r to reset, q to quit, s to load move sequence."
.globl _deafult_map_loaded_message ; @deafult_map_loaded_message
_deafult_map_loaded_message:
.asciz "Default map loaded!"
.globl _red_scroll ; @red_scroll
.p2align 3
_red_scroll:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.globl _blue_scroll ; @blue_scroll
.p2align 3
_blue_scroll:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.globl _green_scroll ; @green_scroll
.p2align 3
_green_scroll:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.globl _red_magnet ; @red_magnet
.p2align 3
_red_magnet:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.globl _blue_magnet ; @blue_magnet
.p2align 3
_blue_magnet:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.globl _green_magnet ; @green_magnet
.p2align 3
_green_magnet:
.long 4294967295 ; 0xffffffff
.long 4294967295 ; 0xffffffff
.globl _red_enabled ; @red_enabled
.zerofill __DATA,__common,_red_enabled,2,1
.globl _blue_enabled ; @blue_enabled
.zerofill __DATA,__common,_blue_enabled,2,1
.globl _green_enabled ; @green_enabled
.zerofill __DATA,__common,_green_enabled,2,1
.globl _on_broom ; @on_broom
.zerofill __DATA,__common,_on_broom,2,1
.globl _boxes ; @boxes
.p2align 2
_boxes:
.long 6 ; 0x6
.globl _level ; @level
.p2align 2
_level:
.long 1 ; 0x1
.globl _max_level ; @max_level
.p2align 2
_max_level:
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "Error level number! %s"
l_.str.2: ; @.str.2
.asciz "maps/map%d.txt"
l_.str.3: ; @.str.3
.asciz "Can't open the file! %s"
l_.str.4: ; @.str.4
.asciz "No map file input! %s"
.comm _cp,8,2 ; @cp
.comm _human,8,2 ; @human
.comm _box_count,4,2 ; @box_count
.comm _ladder,8,3 ; @ladder
.comm _area,8,3 ; @area
.comm _map,8,3 ; @map
.comm _boom_map,8,3 ; @boom_map
l_.str.5: ; @.str.5
.asciz "Welcome! %s"
.comm _my_win,8,3 ; @my_win
l_.str.6: ; @.str.6
.asciz "Game has been reset! %s"
l_.str.7: ; @.str.7
.asciz "The move sequence file: "
l_.str.8: ; @.str.8
.asciz "%s"
l_.str.9: ; @.str.9
.asciz "r"
l_.str.10: ; @.str.10
.asciz "Can't open the file!"
l_.str.11: ; @.str.11
.asciz "All level finished! Press r to reset, q to quit."
l_.str.12: ; @.str.12
.asciz "Level completed! Press r to reset, q to quit, n to load next level."
l_.str.13: ; @.str.13
.asciz "Can't open the file! No map loaded!"
l_.str.14: ; @.str.14
.asciz "Next level loaded! %s"
l_.str.15: ; @.str.15
.asciz "Harry is killed and game over! Press r to reset, q to quit."
l_.str.16: ; @.str.16
.asciz "rb"
l_.str.17: ; @.str.17
.asciz "\r\n"
l_.str.19: ; @.str.19
.asciz " "
l_.str.20: ; @.str.20
.asciz "The map is malformed! %s"
l_.str.21: ; @.str.21
.asciz "The map is strange to play! %s"
.subsections_via_symbols
| the_stack_data/100140297.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function isLess
_isLess: ## @isLess
.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
movl (%rdi), %edi
callq _stackPop
movq %rax, %r14
movl (%rbx), %edi
callq _stackPop
xorl %edi, %edi
cmpq %r14, %rax
setl %dil
callq _FICL_BOOL
movl %eax, %edi
popq %rbx
popq %r14
popq %rbp
jmp _PUSHINT ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _isLess
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function isLess
_isLess: ; @isLess
.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]
bl _stackPop
mov x20, x0
ldr w0, [x19]
bl _stackPop
cmp x0, x20
cset w0, lt
bl _FICL_BOOL
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _PUSHINT
.cfi_endproc
; -- End function
.no_dead_strip _isLess
.subsections_via_symbols
| AnghaBench/freebsd/stand/ficl/extr_words.c_isLess.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ahc_acquire_seeprom ## -- Begin function ahc_acquire_seeprom
.p2align 4, 0x90
_ahc_acquire_seeprom: ## @ahc_acquire_seeprom
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq _AHC_SPIOCAP@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%rdi)
je LBB0_3
## %bb.1:
movq _SPIOCAP@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _ahc_inb
movq _SEEPROM@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_2
LBB0_3:
movl 4(%r15), %esi
movq %r15, %rdi
callq _SEEPROM_OUTB
movl $-999, %ebx ## imm = 0xFC19
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _SEEPROM_STATUS_INB
testl %eax, (%r15)
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl $1000, %edi ## imm = 0x3E8
callq _ahc_delay
incl %ebx
jne LBB0_4
LBB0_6:
movq %r15, %rdi
callq _SEEPROM_STATUS_INB
movl $1, %r14d
testl %eax, (%r15)
jne LBB0_8
## %bb.7:
xorl %r14d, %r14d
movq %r15, %rdi
xorl %esi, %esi
callq _SEEPROM_OUTB
jmp LBB0_8
LBB0_2:
xorl %r14d, %r14d
LBB0_8:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AHC_SPIOCAP,4,2 ## @AHC_SPIOCAP
.comm _SPIOCAP,4,2 ## @SPIOCAP
.comm _SEEPROM,4,2 ## @SEEPROM
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ahc_acquire_seeprom ; -- Begin function ahc_acquire_seeprom
.p2align 2
_ahc_acquire_seeprom: ; @ahc_acquire_seeprom
.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 w8, [x0]
Lloh0:
adrp x9, _AHC_SPIOCAP@GOTPAGE
Lloh1:
ldr x9, [x9, _AHC_SPIOCAP@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
Lloh3:
adrp x8, _SPIOCAP@GOTPAGE
Lloh4:
ldr x8, [x8, _SPIOCAP@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _ahc_inb
Lloh6:
adrp x8, _SEEPROM@GOTPAGE
Lloh7:
ldr x8, [x8, _SEEPROM@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
tst w8, w0
b.eq LBB0_8
LBB0_2:
ldr w1, [x19, #4]
mov x0, x19
bl _SEEPROM_OUTB
mov w20, #-999
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _SEEPROM_STATUS_INB
ldr w8, [x19]
tst w8, w0
b.ne LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1000
bl _ahc_delay
adds w20, w20, #1
b.lo LBB0_3
LBB0_5:
mov x0, x19
bl _SEEPROM_STATUS_INB
ldr w8, [x19]
tst w8, w0
b.eq LBB0_7
; %bb.6:
mov w0, #1
b LBB0_9
LBB0_7:
mov x0, x19
mov w1, #0
bl _SEEPROM_OUTB
LBB0_8:
mov w0, #0
LBB0_9:
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 Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _AHC_SPIOCAP,4,2 ; @AHC_SPIOCAP
.comm _SPIOCAP,4,2 ; @SPIOCAP
.comm _SEEPROM,4,2 ; @SEEPROM
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic7xxx_pci.c_ahc_acquire_seeprom.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ad7768_set_dig_fil
_ad7768_set_dig_fil: ## @ad7768_set_dig_fil
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq _AD7768_DEC_RATE_8@GOTPCREL(%rip), %rax
cmpl %esi, (%rax)
je LBB0_2
## %bb.1:
movq _AD7768_DEC_RATE_16@GOTPCREL(%rip), %rax
cmpl %esi, (%rax)
je LBB0_2
## %bb.3:
movl %esi, %edi
callq _AD7768_DIG_FIL_DEC_RATE
jmp LBB0_4
LBB0_2:
movl %esi, %edi
callq _AD7768_DIG_FIL_FIL
LBB0_4:
movl %eax, %edx
movq _AD7768_REG_DIGITAL_FILTER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _ad7768_spi_reg_write
testl %eax, %eax
js LBB0_5
## %bb.6:
movl (%r14), %edi
movl $1, %esi
callq _gpiod_set_value
movl (%r14), %edi
xorl %ebx, %ebx
xorl %esi, %esi
callq _gpiod_set_value
jmp LBB0_7
LBB0_5:
movl %eax, %ebx
LBB0_7:
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AD7768_DEC_RATE_8,4,2 ## @AD7768_DEC_RATE_8
.comm _AD7768_DEC_RATE_16,4,2 ## @AD7768_DEC_RATE_16
.comm _AD7768_REG_DIGITAL_FILTER,4,2 ## @AD7768_REG_DIGITAL_FILTER
.no_dead_strip _ad7768_set_dig_fil
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ad7768_set_dig_fil
_ad7768_set_dig_fil: ; @ad7768_set_dig_fil
.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, _AD7768_DEC_RATE_8@GOTPAGE
Lloh1:
ldr x8, [x8, _AD7768_DEC_RATE_8@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _AD7768_DEC_RATE_16@GOTPAGE
Lloh4:
ldr x9, [x9, _AD7768_DEC_RATE_16@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
cmp w8, w1
mov x0, x1
ccmp w9, w1, #4, ne
b.ne LBB0_2
; %bb.1:
bl _AD7768_DIG_FIL_FIL
b LBB0_3
LBB0_2:
bl _AD7768_DIG_FIL_DEC_RATE
LBB0_3:
mov x2, x0
Lloh6:
adrp x8, _AD7768_REG_DIGITAL_FILTER@GOTPAGE
Lloh7:
ldr x8, [x8, _AD7768_REG_DIGITAL_FILTER@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x19
bl _ad7768_spi_reg_write
tbnz w0, #31, LBB0_5
; %bb.4:
ldr w0, [x19]
mov w1, #1
bl _gpiod_set_value
ldr w0, [x19]
mov w1, #0
bl _gpiod_set_value
mov w0, #0
LBB0_5:
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 _AD7768_DEC_RATE_8,4,2 ; @AD7768_DEC_RATE_8
.comm _AD7768_DEC_RATE_16,4,2 ; @AD7768_DEC_RATE_16
.comm _AD7768_REG_DIGITAL_FILTER,4,2 ; @AD7768_REG_DIGITAL_FILTER
.no_dead_strip _ad7768_set_dig_fil
.subsections_via_symbols
| AnghaBench/linux/drivers/iio/adc/extr_ad7768-1.c_ad7768_set_dig_fil.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/51700146.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_posixshm_check_write
_test_posixshm_check_write: ## @test_posixshm_check_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movq %rsi, %rbx
movq (%rdi), %rdi
movq _MAGIC_CRED@GOTPCREL(%rip), %r15
movl (%r15), %esi
callq _LABEL_CHECK
testq %rbx, %rbx
je LBB0_2
## %bb.1:
movq (%rbx), %rdi
movl (%r15), %esi
callq _LABEL_CHECK
LBB0_2:
movq _MAGIC_POSIX_SHM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _LABEL_CHECK
movq _posixshm_check_write@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _COUNTER_INC
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAGIC_CRED,4,2 ## @MAGIC_CRED
.comm _MAGIC_POSIX_SHM,4,2 ## @MAGIC_POSIX_SHM
.comm _posixshm_check_write,4,2 ## @posixshm_check_write
.no_dead_strip _test_posixshm_check_write
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_posixshm_check_write
_test_posixshm_check_write: ; @test_posixshm_check_write
.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, x1
ldr x0, [x0]
Lloh0:
adrp x21, _MAGIC_CRED@GOTPAGE
Lloh1:
ldr x21, [x21, _MAGIC_CRED@GOTPAGEOFF]
ldr w1, [x21]
bl _LABEL_CHECK
cbz x20, LBB0_2
; %bb.1:
ldr x0, [x20]
ldr w1, [x21]
bl _LABEL_CHECK
LBB0_2:
Lloh2:
adrp x8, _MAGIC_POSIX_SHM@GOTPAGE
Lloh3:
ldr x8, [x8, _MAGIC_POSIX_SHM@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x19
bl _LABEL_CHECK
Lloh5:
adrp x8, _posixshm_check_write@GOTPAGE
Lloh6:
ldr x8, [x8, _posixshm_check_write@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
bl _COUNTER_INC
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
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MAGIC_CRED,4,2 ; @MAGIC_CRED
.comm _MAGIC_POSIX_SHM,4,2 ; @MAGIC_POSIX_SHM
.comm _posixshm_check_write,4,2 ; @posixshm_check_write
.no_dead_strip _test_posixshm_check_write
.subsections_via_symbols
| AnghaBench/freebsd/sys/security/mac_test/extr_mac_test.c_test_posixshm_check_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function write_function_stub
_write_function_stub: ## @write_function_stub
.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
movl %ecx, %r14d
movl %edx, -104(%rbp) ## 4-byte Spill
movq %rsi, %r15
movq %rdi, %r12
movq %rsi, %rdi
callq _is_full_pointer_function
movl %eax, -84(%rbp) ## 4-byte Spill
movl 4(%r15), %edi
callq _type_function_get_retval
movq %rax, %r13
leaq -41(%rbp), %rdx
leaq -65(%rbp), %rcx
movq %r12, %rdi
movq %r15, %rsi
callq _get_func_handle_var
movq %rax, -56(%rbp) ## 8-byte Spill
movl 4(%r13), %edi
callq _is_void
movl %eax, %ebx
movq %r12, %rdi
movq %r15, %rsi
callq _is_interpreted_func
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r12, %rdi
movq %r15, %rsi
callq _write_client_func_decl
movq _client@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq (%r12), %rcx
movq %r12, %rsi
movq %r15, %rdx
movl %r14d, %r8d
callq _write_client_call_routine
jmp LBB0_60
LBB0_2:
movq %r12, -96(%rbp) ## 8-byte Spill
movl %r14d, -100(%rbp) ## 4-byte Spill
movl %ebx, -48(%rbp) ## 4-byte Spill
movq _prefix_client@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movq %r15, -64(%rbp) ## 8-byte Spill
movq %r15, %rdi
callq _get_name
leaq L_.str(%rip), %rdi
movl %r14d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _print_client
movq _indent@GOTPCREL(%rip), %rax
incl (%rax)
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _print_client
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _print_client
movq -56(%rbp), %rbx ## 8-byte Reload
testq %rbx, %rbx
je LBB0_6
## %bb.3:
cmpb $-127, -41(%rbp)
jne LBB0_5
## %bb.4:
movq %rbx, %rdi
callq _get_explicit_generic_handle_type
movl (%rax), %esi
movl (%rbx), %edx
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _print_client
LBB0_5:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _print_client
LBB0_6:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jne LBB0_9
## %bb.7:
movl 4(%r13), %edi
callq _decl_indirect
testq %rax, %rax
je LBB0_9
## %bb.8:
movl (%r13), %esi
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _print_client
LBB0_9:
movq %r13, -80(%rbp) ## 8-byte Spill
movq _indent@GOTPCREL(%rip), %r15
decl (%r15)
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _print_client
movq _prefix_client@GOTPCREL(%rip), %r12
movl (%r12), %ebx
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _get_name
leaq L_.str.7(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq _print_client
movl (%r12), %ebx
movq %r14, %rdi
callq _get_name
leaq L_.str.8(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq _print_client
movl (%r15), %esi
incl %esi
movl %esi, (%r15)
cmpl $0, -84(%rbp) ## 4-byte Folded Reload
movq -96(%rbp), %rbx ## 8-byte Reload
je LBB0_11
## %bb.10:
movq _client@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r14, %rdx
callq _write_full_pointer_free
LBB0_11:
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _print_client
cmpb $-127, -41(%rbp)
movq -56(%rbp), %r14 ## 8-byte Reload
jne LBB0_12
## %bb.13:
movq _client@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _print_client
incl (%r15)
movq %r14, %rdi
callq _get_explicit_generic_handle_type
movl (%rax), %esi
movl (%r14), %edx
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _print_client
movl (%r15), %eax
decl %eax
jmp LBB0_14
LBB0_12:
movl (%r15), %eax
LBB0_14:
decl %eax
movl %eax, (%r15)
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _print_client
movq %rbx, %rdi
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rsi
callq _write_client_func_decl
movq _client@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.14(%rip), %rsi
xorl %eax, %eax
callq _fprintf
incl (%r15)
movq %r12, %r13
movl (%r12), %r12d
movq %rbx, %rdi
callq _get_name
leaq L_.str.15(%rip), %rdi
movl %r12d, %esi
movl %eax, %edx
xorl %eax, %eax
callq _print_client
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
movq -80(%rbp), %rbx ## 8-byte Reload
jne LBB0_16
## %bb.15:
leaq L_.str.16(%rip), %rdi
leaq L_.str.17(%rip), %rsi
xorl %eax, %eax
callq _print_client
movq _client@GOTPCREL(%rip), %r14
movl (%r14), %edi
movl (%rbx), %edx
movl 4(%rbx), %esi
callq _write_type_decl
movl (%r14), %edi
movq -56(%rbp), %r14 ## 8-byte Reload
leaq L_.str.18(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_16:
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _print_client
testq %r14, %r14
je LBB0_19
## %bb.17:
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _print_client
cmpb $-127, -41(%rbp)
jne LBB0_19
## %bb.18:
movl (%r14), %edx
leaq L_.str.21(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _print_client
LBB0_19:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jne LBB0_22
## %bb.20:
movl 4(%rbx), %edi
callq _decl_indirect
testq %rax, %rax
je LBB0_22
## %bb.21:
movl (%rbx), %edx
leaq L_.str.22(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _print_client
LBB0_22:
movq _client@GOTPCREL(%rip), %r14
movl (%r14), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl (%r13), %ebx
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
callq _get_name
leaq L_.str.23(%rip), %rdi
movl %ebx, %esi
movq %r14, %rbx
movl %eax, %edx
xorl %eax, %eax
callq _print_client
cmpl $0, -84(%rbp) ## 4-byte Folded Reload
je LBB0_24
## %bb.23:
movl (%rbx), %edi
movl (%r15), %esi
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r12, %rdx
callq _write_full_pointer_init
LBB0_24:
movl (%rbx), %edi
movl (%r15), %esi
movq %r12, %rdx
callq _write_pointer_checks
leaq L_.str.24(%rip), %rdi
xorl %eax, %eax
callq _print_client
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _print_client
incl (%r15)
movq -96(%rbp), %r13 ## 8-byte Reload
movq (%r13), %rsi
leaq L_.str.25(%rip), %rdi
movl -104(%rbp), %edx ## 4-byte Reload
xorl %eax, %eax
callq _print_client
movl 8(%r12), %edi
movq _ATTR_IDEMPOTENT@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
callq _is_attr
testq %rax, %rax
movl -100(%rbp), %r14d ## 4-byte Reload
jne LBB0_26
## %bb.25:
movq -64(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
movq _ATTR_BROADCAST@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _is_attr
testq %rax, %rax
je LBB0_31
LBB0_26:
leaq L_.str.26(%rip), %rdi
xorl %eax, %eax
callq _print_client
movq -64(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
movl (%rbx), %esi
callq _is_attr
testq %rax, %rax
movq _client@GOTPCREL(%rip), %rbx
je LBB0_28
## %bb.27:
movl (%rbx), %edi
leaq L_.str.27(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_28:
movq -64(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
movq _ATTR_BROADCAST@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _is_attr
testq %rax, %rax
je LBB0_30
## %bb.29:
movl (%rbx), %edi
leaq L_.str.28(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_30:
movl (%rbx), %edi
leaq L_.str.29(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_31:
movb -41(%rbp), %al
cmpb $-127, %al
jg LBB0_35
## %bb.32:
cmpb $-128, %al
movq _client@GOTPCREL(%rip), %rbx
je LBB0_39
## %bb.33:
cmpb $-127, %al
jne LBB0_44
## %bb.34:
movq -56(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
callq _get_explicit_generic_handle_type
movl (%rax), %esi
movl (%r13), %edx
movq -96(%rbp), %r13 ## 8-byte Reload
leaq L_.str.31(%rip), %rdi
xorl %eax, %eax
callq _print_client
jmp LBB0_43
LBB0_35:
cmpb $-126, %al
movq _client@GOTPCREL(%rip), %rbx
je LBB0_40
## %bb.36:
testb %al, %al
jne LBB0_44
## %bb.37:
movq -56(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
jne LBB0_38
## %bb.46:
movl (%rbx), %edi
movl (%r15), %esi
movq _PASS_IN@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _PHASE_BUFFERSIZE@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq L_.str.17(%rip), %rcx
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdx
callq _write_remoting_arguments
leaq L_.str.37(%rip), %rdi
xorl %eax, %eax
callq _print_client
jmp LBB0_47
LBB0_39:
movq -56(%rbp), %rax ## 8-byte Reload
LBB0_38:
movl (%rax), %esi
leaq L_.str.30(%rip), %rdi
xorl %eax, %eax
callq _print_client
LBB0_43:
movl (%rbx), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_44:
movl (%rbx), %edi
movl (%r15), %esi
movq _PASS_IN@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _PHASE_BUFFERSIZE@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq L_.str.17(%rip), %rcx
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdx
callq _write_remoting_arguments
leaq L_.str.37(%rip), %rdi
xorl %eax, %eax
callq _print_client
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_47
## %bb.45:
movl (%rbx), %edi
leaq L_.str.38(%rip), %rsi
xorl %eax, %eax
callq _fprintf
jmp LBB0_48
LBB0_47:
movl (%rbx), %edi
movq (%r13), %rdx
leaq L_.str.39(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_48:
movl -48(%rbp), %r13d ## 4-byte Reload
movl (%rbx), %edi
movl (%r15), %esi
movq _PASS_IN@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _PHASE_MARSHAL@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq L_.str.17(%rip), %rcx
movq %r12, %rdx
callq _write_remoting_arguments
leaq L_.str.40(%rip), %rdi
xorl %eax, %eax
callq _print_client
leaq L_.str.41(%rip), %rdi
xorl %eax, %eax
callq _print_client
leaq L_.str.42(%rip), %rdi
xorl %eax, %eax
callq _print_client
movq %r12, %rdi
callq _has_out_arg_or_return
testq %rax, %rax
je LBB0_50
## %bb.49:
movl (%rbx), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _fprintf
leaq L_.str.43(%rip), %rdi
xorl %eax, %eax
callq _print_client
incl (%r15)
leaq L_.str.44(%rip), %rdi
movl %r14d, %esi
xorl %eax, %eax
callq _print_client
decl (%r15)
LBB0_50:
movl (%rbx), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl (%rbx), %edi
movl (%r15), %esi
movq _PASS_OUT@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _PHASE_UNMARSHAL@GOTPCREL(%rip), %r14
movl (%r14), %r9d
leaq L_.str.17(%rip), %rcx
movq %r12, %rdx
callq _write_remoting_arguments
testl %r13d, %r13d
jne LBB0_57
## %bb.51:
movq -80(%rbp), %rbx ## 8-byte Reload
movl 4(%rbx), %edi
callq _decl_indirect
testq %rax, %rax
je LBB0_53
## %bb.52:
movl (%rbx), %edx
leaq L_.str.45(%rip), %rdi
movl %edx, %esi
xorl %eax, %eax
callq _print_client
jmp LBB0_56
LBB0_40:
movq -56(%rbp), %r13 ## 8-byte Reload
movl 4(%r13), %edi
movq _ATTR_CONTEXTHANDLE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _is_aliaschain_attr
testl %eax, %eax
leaq L_.str.33(%rip), %rax
leaq L_.str.17(%rip), %rbx
cmoveq %rax, %rbx
movl (%r13), %edx
leaq L_.str.32(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _print_client
incl (%r15)
movl (%r13), %edx
leaq L_.str.34(%rip), %rdi
movq %rbx, %rsi
movq _client@GOTPCREL(%rip), %rbx
xorl %eax, %eax
callq _print_client
decl (%r15)
movl 8(%r13), %edi
movq -96(%rbp), %r13 ## 8-byte Reload
movq _ATTR_IN@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _is_attr
testq %rax, %rax
je LBB0_43
## %bb.41:
movq -56(%rbp), %rax ## 8-byte Reload
movl 8(%rax), %edi
movq _ATTR_OUT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _is_attr
testq %rax, %rax
jne LBB0_43
## %bb.42:
leaq L_.str.35(%rip), %rdi
xorl %eax, %eax
callq _print_client
incl (%r15)
leaq L_.str.36(%rip), %rdi
xorl %eax, %eax
callq _print_client
decl (%r15)
jmp LBB0_43
LBB0_53:
movl 4(%rbx), %edi
callq _is_ptr
testq %rax, %rax
jne LBB0_55
## %bb.54:
movq -80(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %edi
callq _is_array
testq %rax, %rax
je LBB0_56
LBB0_55:
movq -80(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
leaq L_.str.46(%rip), %rdi
xorl %eax, %eax
callq _print_client
LBB0_56:
movq _client@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _indent@GOTPCREL(%rip), %r15
movl (%r15), %esi
movq _PASS_RETURN@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl (%r14), %r9d
leaq L_.str.17(%rip), %rcx
movq %r12, %rdx
callq _write_remoting_arguments
LBB0_57:
decl (%r15)
leaq L_.str.47(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _print_client
leaq L_.str.48(%rip), %rdi
xorl %eax, %eax
callq _print_client
leaq L_.str.14(%rip), %rdi
xorl %eax, %eax
callq _print_client
incl (%r15)
movq _prefix_client@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movq %r12, %rdi
callq _get_name
leaq L_.str.49(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
xorl %eax, %eax
callq _print_client
decl (%r15)
movq %r14, %rdi
xorl %eax, %eax
callq _print_client
leaq L_.str.50(%rip), %rdi
xorl %eax, %eax
callq _print_client
testl %r13d, %r13d
movq _client@GOTPCREL(%rip), %rbx
jne LBB0_59
## %bb.58:
movl (%rbx), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movq -80(%rbp), %rax ## 8-byte Reload
movl (%rax), %esi
leaq L_.str.51(%rip), %rdi
xorl %eax, %eax
callq _print_client
LBB0_59:
decl (%r15)
movl (%rbx), %edi
leaq L_.str.47(%rip), %rsi
xorl %eax, %eax
callq _fprintf
movl (%rbx), %edi
leaq L_.str.10(%rip), %rsi
xorl %eax, %eax
callq _fprintf
LBB0_60:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _client,4,2 ## @client
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "struct __frame_%s%s\n{\n"
.comm _prefix_client,4,2 ## @prefix_client
.comm _indent,4,2 ## @indent
L_.str.1: ## @.str.1
.asciz "__DECL_EXCEPTION_FRAME\n"
L_.str.2: ## @.str.2
.asciz "MIDL_STUB_MESSAGE _StubMsg;\n"
L_.str.3: ## @.str.3
.asciz "%s %s;\n"
L_.str.4: ## @.str.4
.asciz "RPC_BINDING_HANDLE _Handle;\n"
L_.str.5: ## @.str.5
.asciz "void *_p_%s;\n"
L_.str.6: ## @.str.6
.asciz "};\n\n"
L_.str.7: ## @.str.7
.asciz "static void __finally_%s%s("
L_.str.8: ## @.str.8
.asciz " struct __frame_%s%s *__frame )\n{\n"
L_.str.9: ## @.str.9
.asciz "NdrFreeBuffer(&__frame->_StubMsg);\n"
L_.str.10: ## @.str.10
.asciz "\n"
L_.str.11: ## @.str.11
.asciz "if (__frame->_Handle)\n"
L_.str.12: ## @.str.12
.asciz "%s_unbind(__frame->%s, __frame->_Handle);\n"
L_.str.13: ## @.str.13
.asciz "}\n\n"
L_.str.14: ## @.str.14
.asciz "{\n"
L_.str.15: ## @.str.15
.asciz "struct __frame_%s%s __f, * const __frame = &__f;\n"
L_.str.16: ## @.str.16
.asciz "%s"
L_.str.17: ## @.str.17
.space 1
L_.str.18: ## @.str.18
.asciz ";\n"
L_.str.19: ## @.str.19
.asciz "RPC_MESSAGE _RpcMessage;\n"
L_.str.20: ## @.str.20
.asciz "__frame->_Handle = 0;\n"
L_.str.21: ## @.str.21
.asciz "__frame->%s = %s;\n"
L_.str.22: ## @.str.22
.asciz "__frame->_p_%s = &%s;\n"
L_.str.23: ## @.str.23
.asciz "RpcExceptionInit( 0, __finally_%s%s );\n"
.comm _FALSE,4,2 ## @FALSE
L_.str.24: ## @.str.24
.asciz "RpcTryFinally\n"
L_.str.25: ## @.str.25
.asciz "NdrClientInitializeNew(&_RpcMessage, &__frame->_StubMsg, &%s_StubDesc, %d);\n"
.comm _ATTR_IDEMPOTENT,4,2 ## @ATTR_IDEMPOTENT
.comm _ATTR_BROADCAST,4,2 ## @ATTR_BROADCAST
L_.str.26: ## @.str.26
.asciz "_RpcMessage.RpcFlags = ( RPC_NCA_FLAGS_DEFAULT "
L_.str.27: ## @.str.27
.asciz "| RPC_NCA_FLAGS_IDEMPOTENT "
L_.str.28: ## @.str.28
.asciz "| RPC_NCA_FLAGS_BROADCAST "
L_.str.29: ## @.str.29
.asciz ");\n\n"
L_.str.30: ## @.str.30
.asciz "__frame->_Handle = %s;\n"
L_.str.31: ## @.str.31
.asciz "__frame->_Handle = %s_bind(%s);\n"
.comm _ATTR_CONTEXTHANDLE,4,2 ## @ATTR_CONTEXTHANDLE
L_.str.32: ## @.str.32
.asciz "if (%s%s != 0)\n"
L_.str.33: ## @.str.33
.asciz "*"
L_.str.34: ## @.str.34
.asciz "__frame->_Handle = NDRCContextBinding(%s%s);\n"
.comm _ATTR_IN,4,2 ## @ATTR_IN
.comm _ATTR_OUT,4,2 ## @ATTR_OUT
L_.str.35: ## @.str.35
.asciz "else\n"
L_.str.36: ## @.str.36
.asciz "RpcRaiseException(RPC_X_SS_IN_NULL_CONTEXT);\n"
.comm _PASS_IN,4,2 ## @PASS_IN
.comm _PHASE_BUFFERSIZE,4,2 ## @PHASE_BUFFERSIZE
L_.str.37: ## @.str.37
.asciz "NdrGetBuffer(&__frame->_StubMsg, __frame->_StubMsg.BufferLength, "
L_.str.38: ## @.str.38
.asciz "__frame->_Handle);\n\n"
L_.str.39: ## @.str.39
.asciz "%s__MIDL_AutoBindHandle);\n\n"
.comm _PHASE_MARSHAL,4,2 ## @PHASE_MARSHAL
L_.str.40: ## @.str.40
.asciz "NdrSendReceive(&__frame->_StubMsg, __frame->_StubMsg.Buffer);\n\n"
L_.str.41: ## @.str.41
.asciz "__frame->_StubMsg.BufferStart = _RpcMessage.Buffer;\n"
L_.str.42: ## @.str.42
.asciz "__frame->_StubMsg.BufferEnd = __frame->_StubMsg.BufferStart + _RpcMessage.BufferLength;\n"
L_.str.43: ## @.str.43
.asciz "if ((_RpcMessage.DataRepresentation & 0x0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION)\n"
L_.str.44: ## @.str.44
.asciz "NdrConvert(&__frame->_StubMsg, (PFORMAT_STRING)&__MIDL_ProcFormatString.Format[%u]);\n"
.comm _PASS_OUT,4,2 ## @PASS_OUT
.comm _PHASE_UNMARSHAL,4,2 ## @PHASE_UNMARSHAL
L_.str.45: ## @.str.45
.asciz "MIDL_memset(&%s, 0, sizeof(%s));\n"
L_.str.46: ## @.str.46
.asciz "%s = 0;\n"
.comm _PASS_RETURN,4,2 ## @PASS_RETURN
L_.str.47: ## @.str.47
.asciz "}\n"
L_.str.48: ## @.str.48
.asciz "RpcFinally\n"
L_.str.49: ## @.str.49
.asciz "__finally_%s%s( __frame );\n"
L_.str.50: ## @.str.50
.asciz "RpcEndFinally\n"
L_.str.51: ## @.str.51
.asciz "return %s;\n"
.no_dead_strip _write_function_stub
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function write_function_stub
_write_function_stub: ; @write_function_stub
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x3
mov x25, x2
mov x20, x1
mov x23, x0
mov x0, x1
bl _is_full_pointer_function
mov x26, x0
ldr w0, [x20, #4]
bl _type_function_get_retval
mov x19, x0
add x2, sp, #31
add x3, sp, #30
mov x0, x23
mov x1, x20
bl _get_func_handle_var
mov x24, x0
ldr w0, [x19, #4]
bl _is_void
mov x21, x0
mov x0, x23
mov x1, x20
bl _is_interpreted_func
cbz x0, LBB0_2
; %bb.1:
mov x0, x23
mov x1, x20
bl _write_client_func_decl
Lloh0:
adrp x8, _client@GOTPAGE
Lloh1:
ldr x8, [x8, _client@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr x3, [x23]
mov x1, x23
mov x2, x20
mov x4, x22
bl _write_client_call_routine
b LBB0_61
LBB0_2:
str x22, [sp, #16] ; 8-byte Folded Spill
Lloh3:
adrp x22, _prefix_client@GOTPAGE
Lloh4:
ldr x22, [x22, _prefix_client@GOTPAGEOFF]
ldr w27, [x22]
mov x0, x20
bl _get_name
; kill: def $w0 killed $w0 def $x0
stp x27, x0, [sp]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _print_client
Lloh7:
adrp x27, _indent@GOTPAGE
Lloh8:
ldr x27, [x27, _indent@GOTPAGEOFF]
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
Lloh9:
adrp x0, l_.str.1@PAGE
Lloh10:
add x0, x0, l_.str.1@PAGEOFF
bl _print_client
Lloh11:
adrp x0, l_.str.2@PAGE
Lloh12:
add x0, x0, l_.str.2@PAGEOFF
bl _print_client
cbz x24, LBB0_6
; %bb.3:
ldrb w8, [sp, #31]
cmp w8, #129
b.ne LBB0_5
; %bb.4:
mov x0, x24
bl _get_explicit_generic_handle_type
ldr w8, [x0]
ldr w9, [x24]
stp x8, x9, [sp]
Lloh13:
adrp x0, l_.str.3@PAGE
Lloh14:
add x0, x0, l_.str.3@PAGEOFF
bl _print_client
LBB0_5:
Lloh15:
adrp x0, l_.str.4@PAGE
Lloh16:
add x0, x0, l_.str.4@PAGEOFF
bl _print_client
LBB0_6:
cbnz w21, LBB0_9
; %bb.7:
ldr w0, [x19, #4]
bl _decl_indirect
cbz x0, LBB0_9
; %bb.8:
ldr w8, [x19]
str x8, [sp]
Lloh17:
adrp x0, l_.str.5@PAGE
Lloh18:
add x0, x0, l_.str.5@PAGEOFF
bl _print_client
LBB0_9:
ldr w8, [x27]
sub w8, w8, #1
str w8, [x27]
Lloh19:
adrp x0, l_.str.6@PAGE
Lloh20:
add x0, x0, l_.str.6@PAGEOFF
bl _print_client
ldr w28, [x22]
mov x0, x20
bl _get_name
; kill: def $w0 killed $w0 def $x0
stp x28, x0, [sp]
Lloh21:
adrp x0, l_.str.7@PAGE
Lloh22:
add x0, x0, l_.str.7@PAGEOFF
bl _print_client
ldr w28, [x22]
mov x0, x20
bl _get_name
; kill: def $w0 killed $w0 def $x0
stp x28, x0, [sp]
Lloh23:
adrp x0, l_.str.8@PAGE
Lloh24:
add x0, x0, l_.str.8@PAGEOFF
bl _print_client
ldr w8, [x27]
add w1, w8, #1
str w1, [x27]
cbz w26, LBB0_11
; %bb.10:
Lloh25:
adrp x8, _client@GOTPAGE
Lloh26:
ldr x8, [x8, _client@GOTPAGEOFF]
Lloh27:
ldr w0, [x8]
mov x2, x20
bl _write_full_pointer_free
LBB0_11:
Lloh28:
adrp x0, l_.str.9@PAGE
Lloh29:
add x0, x0, l_.str.9@PAGEOFF
bl _print_client
ldrb w8, [sp, #31]
cmp w8, #129
b.ne LBB0_13
; %bb.12:
Lloh30:
adrp x8, _client@GOTPAGE
Lloh31:
ldr x8, [x8, _client@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
Lloh33:
adrp x1, l_.str.10@PAGE
Lloh34:
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
Lloh35:
adrp x0, l_.str.11@PAGE
Lloh36:
add x0, x0, l_.str.11@PAGEOFF
bl _print_client
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
mov x0, x24
bl _get_explicit_generic_handle_type
ldr w8, [x0]
ldr w9, [x24]
stp x8, x9, [sp]
Lloh37:
adrp x0, l_.str.12@PAGE
Lloh38:
add x0, x0, l_.str.12@PAGEOFF
bl _print_client
ldr w8, [x27]
sub w8, w8, #1
b LBB0_14
LBB0_13:
ldr w8, [x27]
LBB0_14:
sub w8, w8, #1
str w8, [x27]
Lloh39:
adrp x0, l_.str.13@PAGE
Lloh40:
add x0, x0, l_.str.13@PAGEOFF
bl _print_client
mov x0, x23
mov x1, x20
bl _write_client_func_decl
Lloh41:
adrp x28, _client@GOTPAGE
Lloh42:
ldr x28, [x28, _client@GOTPAGEOFF]
ldr w0, [x28]
Lloh43:
adrp x1, l_.str.14@PAGE
Lloh44:
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
ldr w22, [x22]
mov x0, x20
bl _get_name
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp]
Lloh45:
adrp x0, l_.str.15@PAGE
Lloh46:
add x0, x0, l_.str.15@PAGEOFF
bl _print_client
cbnz w21, LBB0_16
; %bb.15:
Lloh47:
adrp x8, l_.str.17@PAGE
Lloh48:
add x8, x8, l_.str.17@PAGEOFF
str x8, [sp]
Lloh49:
adrp x0, l_.str.16@PAGE
Lloh50:
add x0, x0, l_.str.16@PAGEOFF
bl _print_client
ldr w0, [x28]
ldp w2, w1, [x19]
bl _write_type_decl
ldr w0, [x28]
Lloh51:
adrp x1, l_.str.18@PAGE
Lloh52:
add x1, x1, l_.str.18@PAGEOFF
bl _fprintf
LBB0_16:
Lloh53:
adrp x0, l_.str.19@PAGE
Lloh54:
add x0, x0, l_.str.19@PAGEOFF
bl _print_client
cbz x24, LBB0_19
; %bb.17:
Lloh55:
adrp x0, l_.str.20@PAGE
Lloh56:
add x0, x0, l_.str.20@PAGEOFF
bl _print_client
ldrb w8, [sp, #31]
cmp w8, #129
b.ne LBB0_19
; %bb.18:
ldr w8, [x24]
stp x8, x8, [sp]
Lloh57:
adrp x0, l_.str.21@PAGE
Lloh58:
add x0, x0, l_.str.21@PAGEOFF
bl _print_client
LBB0_19:
Lloh59:
adrp x22, _prefix_client@GOTPAGE
Lloh60:
ldr x22, [x22, _prefix_client@GOTPAGEOFF]
cbnz w21, LBB0_22
; %bb.20:
ldr w0, [x19, #4]
bl _decl_indirect
cbz x0, LBB0_22
; %bb.21:
ldr w8, [x19]
stp x8, x8, [sp]
Lloh61:
adrp x0, l_.str.22@PAGE
Lloh62:
add x0, x0, l_.str.22@PAGEOFF
bl _print_client
LBB0_22:
ldr w0, [x28]
Lloh63:
adrp x1, l_.str.10@PAGE
Lloh64:
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
ldr w22, [x22]
mov x0, x20
bl _get_name
; kill: def $w0 killed $w0 def $x0
stp x22, x0, [sp]
Lloh65:
adrp x0, l_.str.23@PAGE
Lloh66:
add x0, x0, l_.str.23@PAGEOFF
bl _print_client
cbz w26, LBB0_24
; %bb.23:
ldr w0, [x28]
ldr w1, [x27]
Lloh67:
adrp x8, _FALSE@GOTPAGE
Lloh68:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh69:
ldr w3, [x8]
mov x2, x20
bl _write_full_pointer_init
LBB0_24:
ldr w0, [x28]
ldr w1, [x27]
mov x2, x20
bl _write_pointer_checks
Lloh70:
adrp x0, l_.str.24@PAGE
Lloh71:
add x0, x0, l_.str.24@PAGEOFF
bl _print_client
Lloh72:
adrp x0, l_.str.14@PAGE
Lloh73:
add x0, x0, l_.str.14@PAGEOFF
bl _print_client
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
ldr x8, [x23]
stp x8, x25, [sp]
Lloh74:
adrp x0, l_.str.25@PAGE
Lloh75:
add x0, x0, l_.str.25@PAGEOFF
bl _print_client
ldr w0, [x20, #8]
Lloh76:
adrp x26, _ATTR_IDEMPOTENT@GOTPAGE
Lloh77:
ldr x26, [x26, _ATTR_IDEMPOTENT@GOTPAGEOFF]
ldr w1, [x26]
bl _is_attr
Lloh78:
adrp x25, _ATTR_BROADCAST@GOTPAGE
Lloh79:
ldr x25, [x25, _ATTR_BROADCAST@GOTPAGEOFF]
cbnz x0, LBB0_26
; %bb.25:
ldr w0, [x20, #8]
ldr w1, [x25]
bl _is_attr
cbz x0, LBB0_31
LBB0_26:
Lloh80:
adrp x0, l_.str.26@PAGE
Lloh81:
add x0, x0, l_.str.26@PAGEOFF
bl _print_client
ldr w0, [x20, #8]
ldr w1, [x26]
bl _is_attr
cbz x0, LBB0_28
; %bb.27:
ldr w0, [x28]
Lloh82:
adrp x1, l_.str.27@PAGE
Lloh83:
add x1, x1, l_.str.27@PAGEOFF
bl _fprintf
LBB0_28:
ldr w0, [x20, #8]
ldr w1, [x25]
bl _is_attr
cbz x0, LBB0_30
; %bb.29:
ldr w0, [x28]
Lloh84:
adrp x1, l_.str.28@PAGE
Lloh85:
add x1, x1, l_.str.28@PAGEOFF
bl _fprintf
LBB0_30:
ldr w0, [x28]
Lloh86:
adrp x1, l_.str.29@PAGE
Lloh87:
add x1, x1, l_.str.29@PAGEOFF
bl _fprintf
LBB0_31:
ldrb w8, [sp, #31]
Lloh88:
adrp x25, _PASS_IN@GOTPAGE
Lloh89:
ldr x25, [x25, _PASS_IN@GOTPAGEOFF]
cmp w8, #128
b.gt LBB0_34
; %bb.32:
cbz w8, LBB0_39
; %bb.33:
cmp w8, #128
b.eq LBB0_40
b LBB0_44
LBB0_34:
cmp w8, #129
b.eq LBB0_41
; %bb.35:
cmp w8, #130
b.ne LBB0_44
; %bb.36:
ldr w0, [x24, #4]
Lloh90:
adrp x8, _ATTR_CONTEXTHANDLE@GOTPAGE
Lloh91:
ldr x8, [x8, _ATTR_CONTEXTHANDLE@GOTPAGEOFF]
Lloh92:
ldr w1, [x8]
bl _is_aliaschain_attr
Lloh93:
adrp x8, l_.str.17@PAGE
Lloh94:
add x8, x8, l_.str.17@PAGEOFF
Lloh95:
adrp x9, l_.str.33@PAGE
Lloh96:
add x9, x9, l_.str.33@PAGEOFF
cmp w0, #0
csel x22, x9, x8, eq
ldr w8, [x24]
stp x22, x8, [sp]
Lloh97:
adrp x0, l_.str.32@PAGE
Lloh98:
add x0, x0, l_.str.32@PAGEOFF
bl _print_client
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
ldr w8, [x24]
stp x22, x8, [sp]
Lloh99:
adrp x0, l_.str.34@PAGE
Lloh100:
add x0, x0, l_.str.34@PAGEOFF
bl _print_client
ldr w8, [x27]
sub w8, w8, #1
str w8, [x27]
ldr w0, [x24, #8]
Lloh101:
adrp x8, _ATTR_IN@GOTPAGE
Lloh102:
ldr x8, [x8, _ATTR_IN@GOTPAGEOFF]
Lloh103:
ldr w1, [x8]
bl _is_attr
cbz x0, LBB0_43
; %bb.37:
ldr w0, [x24, #8]
Lloh104:
adrp x8, _ATTR_OUT@GOTPAGE
Lloh105:
ldr x8, [x8, _ATTR_OUT@GOTPAGEOFF]
Lloh106:
ldr w1, [x8]
bl _is_attr
cbnz x0, LBB0_43
; %bb.38:
Lloh107:
adrp x0, l_.str.35@PAGE
Lloh108:
add x0, x0, l_.str.35@PAGEOFF
bl _print_client
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
Lloh109:
adrp x0, l_.str.36@PAGE
Lloh110:
add x0, x0, l_.str.36@PAGEOFF
bl _print_client
ldr w8, [x27]
sub w8, w8, #1
str w8, [x27]
b LBB0_43
LBB0_39:
cbz x24, LBB0_46
LBB0_40:
ldr w8, [x24]
str x8, [sp]
Lloh111:
adrp x0, l_.str.30@PAGE
Lloh112:
add x0, x0, l_.str.30@PAGEOFF
b LBB0_42
LBB0_41:
mov x0, x24
bl _get_explicit_generic_handle_type
ldr w8, [x0]
ldr w9, [x24]
stp x8, x9, [sp]
Lloh113:
adrp x0, l_.str.31@PAGE
Lloh114:
add x0, x0, l_.str.31@PAGEOFF
LBB0_42:
bl _print_client
LBB0_43:
ldr w0, [x28]
Lloh115:
adrp x1, l_.str.10@PAGE
Lloh116:
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
LBB0_44:
ldr w0, [x28]
ldr w1, [x27]
ldr w4, [x25]
Lloh117:
adrp x8, _PHASE_BUFFERSIZE@GOTPAGE
Lloh118:
ldr x8, [x8, _PHASE_BUFFERSIZE@GOTPAGEOFF]
Lloh119:
ldr w5, [x8]
Lloh120:
adrp x3, l_.str.17@PAGE
Lloh121:
add x3, x3, l_.str.17@PAGEOFF
mov x2, x20
bl _write_remoting_arguments
Lloh122:
adrp x0, l_.str.37@PAGE
Lloh123:
add x0, x0, l_.str.37@PAGEOFF
bl _print_client
cbz x24, LBB0_47
; %bb.45:
ldr w0, [x28]
Lloh124:
adrp x1, l_.str.38@PAGE
Lloh125:
add x1, x1, l_.str.38@PAGEOFF
b LBB0_48
LBB0_46:
ldr w0, [x28]
ldr w1, [x27]
ldr w4, [x25]
Lloh126:
adrp x8, _PHASE_BUFFERSIZE@GOTPAGE
Lloh127:
ldr x8, [x8, _PHASE_BUFFERSIZE@GOTPAGEOFF]
Lloh128:
ldr w5, [x8]
Lloh129:
adrp x3, l_.str.17@PAGE
Lloh130:
add x3, x3, l_.str.17@PAGEOFF
mov x2, x20
bl _write_remoting_arguments
Lloh131:
adrp x0, l_.str.37@PAGE
Lloh132:
add x0, x0, l_.str.37@PAGEOFF
bl _print_client
LBB0_47:
ldr w0, [x28]
ldr x8, [x23]
str x8, [sp]
Lloh133:
adrp x1, l_.str.39@PAGE
Lloh134:
add x1, x1, l_.str.39@PAGEOFF
LBB0_48:
bl _fprintf
ldr w0, [x28]
ldr w1, [x27]
ldr w4, [x25]
Lloh135:
adrp x8, _PHASE_MARSHAL@GOTPAGE
Lloh136:
ldr x8, [x8, _PHASE_MARSHAL@GOTPAGEOFF]
Lloh137:
ldr w5, [x8]
Lloh138:
adrp x3, l_.str.17@PAGE
Lloh139:
add x3, x3, l_.str.17@PAGEOFF
mov x2, x20
bl _write_remoting_arguments
Lloh140:
adrp x0, l_.str.40@PAGE
Lloh141:
add x0, x0, l_.str.40@PAGEOFF
bl _print_client
Lloh142:
adrp x0, l_.str.41@PAGE
Lloh143:
add x0, x0, l_.str.41@PAGEOFF
bl _print_client
Lloh144:
adrp x0, l_.str.42@PAGE
Lloh145:
add x0, x0, l_.str.42@PAGEOFF
bl _print_client
mov x0, x20
bl _has_out_arg_or_return
cbz x0, LBB0_50
; %bb.49:
ldr w0, [x28]
Lloh146:
adrp x1, l_.str.10@PAGE
Lloh147:
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
Lloh148:
adrp x0, l_.str.43@PAGE
Lloh149:
add x0, x0, l_.str.43@PAGEOFF
bl _print_client
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
ldr x8, [sp, #16] ; 8-byte Folded Reload
str x8, [sp]
Lloh150:
adrp x0, l_.str.44@PAGE
Lloh151:
add x0, x0, l_.str.44@PAGEOFF
bl _print_client
ldr w8, [x27]
sub w8, w8, #1
str w8, [x27]
LBB0_50:
ldr w0, [x28]
Lloh152:
adrp x1, l_.str.10@PAGE
Lloh153:
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
ldr w0, [x28]
ldr w1, [x27]
Lloh154:
adrp x8, _PASS_OUT@GOTPAGE
Lloh155:
ldr x8, [x8, _PASS_OUT@GOTPAGEOFF]
Lloh156:
ldr w4, [x8]
Lloh157:
adrp x22, _PHASE_UNMARSHAL@GOTPAGE
Lloh158:
ldr x22, [x22, _PHASE_UNMARSHAL@GOTPAGEOFF]
ldr w5, [x22]
Lloh159:
adrp x3, l_.str.17@PAGE
Lloh160:
add x3, x3, l_.str.17@PAGEOFF
mov x2, x20
bl _write_remoting_arguments
cbnz w21, LBB0_58
; %bb.51:
ldr w0, [x19, #4]
bl _decl_indirect
cbz x0, LBB0_53
; %bb.52:
ldr w8, [x19]
stp x8, x8, [sp]
Lloh161:
adrp x0, l_.str.45@PAGE
Lloh162:
add x0, x0, l_.str.45@PAGEOFF
b LBB0_56
LBB0_53:
ldr w0, [x19, #4]
bl _is_ptr
cbnz x0, LBB0_55
; %bb.54:
ldr w0, [x19, #4]
bl _is_array
cbz x0, LBB0_57
LBB0_55:
ldr w8, [x19]
str x8, [sp]
Lloh163:
adrp x0, l_.str.46@PAGE
Lloh164:
add x0, x0, l_.str.46@PAGEOFF
LBB0_56:
bl _print_client
LBB0_57:
ldr w0, [x28]
ldr w1, [x27]
Lloh165:
adrp x8, _PASS_RETURN@GOTPAGE
Lloh166:
ldr x8, [x8, _PASS_RETURN@GOTPAGEOFF]
Lloh167:
ldr w4, [x8]
ldr w5, [x22]
Lloh168:
adrp x3, l_.str.17@PAGE
Lloh169:
add x3, x3, l_.str.17@PAGEOFF
mov x2, x20
bl _write_remoting_arguments
LBB0_58:
ldr w8, [x27]
sub w8, w8, #1
str w8, [x27]
Lloh170:
adrp x22, l_.str.47@PAGE
Lloh171:
add x22, x22, l_.str.47@PAGEOFF
mov x0, x22
bl _print_client
Lloh172:
adrp x0, l_.str.48@PAGE
Lloh173:
add x0, x0, l_.str.48@PAGEOFF
bl _print_client
Lloh174:
adrp x0, l_.str.14@PAGE
Lloh175:
add x0, x0, l_.str.14@PAGEOFF
bl _print_client
ldr w8, [x27]
add w8, w8, #1
str w8, [x27]
Lloh176:
adrp x8, _prefix_client@GOTPAGE
Lloh177:
ldr x8, [x8, _prefix_client@GOTPAGEOFF]
Lloh178:
ldr w23, [x8]
mov x0, x20
bl _get_name
; kill: def $w0 killed $w0 def $x0
stp x23, x0, [sp]
Lloh179:
adrp x0, l_.str.49@PAGE
Lloh180:
add x0, x0, l_.str.49@PAGEOFF
bl _print_client
ldr w8, [x27]
sub w8, w8, #1
str w8, [x27]
mov x0, x22
bl _print_client
Lloh181:
adrp x0, l_.str.50@PAGE
Lloh182:
add x0, x0, l_.str.50@PAGEOFF
bl _print_client
cbnz w21, LBB0_60
; %bb.59:
ldr w0, [x28]
Lloh183:
adrp x1, l_.str.10@PAGE
Lloh184:
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
ldr w8, [x19]
str x8, [sp]
Lloh185:
adrp x0, l_.str.51@PAGE
Lloh186:
add x0, x0, l_.str.51@PAGEOFF
bl _print_client
LBB0_60:
ldr w8, [x27]
sub w8, w8, #1
str w8, [x27]
ldr w0, [x28]
Lloh187:
adrp x1, l_.str.47@PAGE
Lloh188:
add x1, x1, l_.str.47@PAGEOFF
bl _fprintf
ldr w0, [x28]
Lloh189:
adrp x1, l_.str.10@PAGE
Lloh190:
add x1, x1, l_.str.10@PAGEOFF
bl _fprintf
LBB0_61:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69
.loh AdrpLdrGot Lloh78, Lloh79
.loh AdrpLdrGot Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh80, Lloh81
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpLdrGot Lloh88, Lloh89
.loh AdrpLdrGotLdr Lloh101, Lloh102, Lloh103
.loh AdrpAdd Lloh99, Lloh100
.loh AdrpAdd Lloh97, Lloh98
.loh AdrpAdd Lloh95, Lloh96
.loh AdrpAdd Lloh93, Lloh94
.loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92
.loh AdrpLdrGotLdr Lloh104, Lloh105, Lloh106
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpAdd Lloh107, Lloh108
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpAdd Lloh120, Lloh121
.loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119
.loh AdrpAdd Lloh124, Lloh125
.loh AdrpAdd Lloh131, Lloh132
.loh AdrpAdd Lloh129, Lloh130
.loh AdrpLdrGotLdr Lloh126, Lloh127, Lloh128
.loh AdrpAdd Lloh133, Lloh134
.loh AdrpAdd Lloh144, Lloh145
.loh AdrpAdd Lloh142, Lloh143
.loh AdrpAdd Lloh140, Lloh141
.loh AdrpAdd Lloh138, Lloh139
.loh AdrpLdrGotLdr Lloh135, Lloh136, Lloh137
.loh AdrpAdd Lloh150, Lloh151
.loh AdrpAdd Lloh148, Lloh149
.loh AdrpAdd Lloh146, Lloh147
.loh AdrpAdd Lloh159, Lloh160
.loh AdrpLdrGot Lloh157, Lloh158
.loh AdrpLdrGotLdr Lloh154, Lloh155, Lloh156
.loh AdrpAdd Lloh152, Lloh153
.loh AdrpAdd Lloh161, Lloh162
.loh AdrpAdd Lloh163, Lloh164
.loh AdrpAdd Lloh168, Lloh169
.loh AdrpLdrGotLdr Lloh165, Lloh166, Lloh167
.loh AdrpAdd Lloh181, Lloh182
.loh AdrpAdd Lloh179, Lloh180
.loh AdrpLdrGotLdr Lloh176, Lloh177, Lloh178
.loh AdrpAdd Lloh174, Lloh175
.loh AdrpAdd Lloh172, Lloh173
.loh AdrpAdd Lloh170, Lloh171
.loh AdrpAdd Lloh185, Lloh186
.loh AdrpAdd Lloh183, Lloh184
.loh AdrpAdd Lloh189, Lloh190
.loh AdrpAdd Lloh187, Lloh188
.cfi_endproc
; -- End function
.comm _client,4,2 ; @client
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "struct __frame_%s%s\n{\n"
.comm _prefix_client,4,2 ; @prefix_client
.comm _indent,4,2 ; @indent
l_.str.1: ; @.str.1
.asciz "__DECL_EXCEPTION_FRAME\n"
l_.str.2: ; @.str.2
.asciz "MIDL_STUB_MESSAGE _StubMsg;\n"
l_.str.3: ; @.str.3
.asciz "%s %s;\n"
l_.str.4: ; @.str.4
.asciz "RPC_BINDING_HANDLE _Handle;\n"
l_.str.5: ; @.str.5
.asciz "void *_p_%s;\n"
l_.str.6: ; @.str.6
.asciz "};\n\n"
l_.str.7: ; @.str.7
.asciz "static void __finally_%s%s("
l_.str.8: ; @.str.8
.asciz " struct __frame_%s%s *__frame )\n{\n"
l_.str.9: ; @.str.9
.asciz "NdrFreeBuffer(&__frame->_StubMsg);\n"
l_.str.10: ; @.str.10
.asciz "\n"
l_.str.11: ; @.str.11
.asciz "if (__frame->_Handle)\n"
l_.str.12: ; @.str.12
.asciz "%s_unbind(__frame->%s, __frame->_Handle);\n"
l_.str.13: ; @.str.13
.asciz "}\n\n"
l_.str.14: ; @.str.14
.asciz "{\n"
l_.str.15: ; @.str.15
.asciz "struct __frame_%s%s __f, * const __frame = &__f;\n"
l_.str.16: ; @.str.16
.asciz "%s"
l_.str.17: ; @.str.17
.space 1
l_.str.18: ; @.str.18
.asciz ";\n"
l_.str.19: ; @.str.19
.asciz "RPC_MESSAGE _RpcMessage;\n"
l_.str.20: ; @.str.20
.asciz "__frame->_Handle = 0;\n"
l_.str.21: ; @.str.21
.asciz "__frame->%s = %s;\n"
l_.str.22: ; @.str.22
.asciz "__frame->_p_%s = &%s;\n"
l_.str.23: ; @.str.23
.asciz "RpcExceptionInit( 0, __finally_%s%s );\n"
.comm _FALSE,4,2 ; @FALSE
l_.str.24: ; @.str.24
.asciz "RpcTryFinally\n"
l_.str.25: ; @.str.25
.asciz "NdrClientInitializeNew(&_RpcMessage, &__frame->_StubMsg, &%s_StubDesc, %d);\n"
.comm _ATTR_IDEMPOTENT,4,2 ; @ATTR_IDEMPOTENT
.comm _ATTR_BROADCAST,4,2 ; @ATTR_BROADCAST
l_.str.26: ; @.str.26
.asciz "_RpcMessage.RpcFlags = ( RPC_NCA_FLAGS_DEFAULT "
l_.str.27: ; @.str.27
.asciz "| RPC_NCA_FLAGS_IDEMPOTENT "
l_.str.28: ; @.str.28
.asciz "| RPC_NCA_FLAGS_BROADCAST "
l_.str.29: ; @.str.29
.asciz ");\n\n"
l_.str.30: ; @.str.30
.asciz "__frame->_Handle = %s;\n"
l_.str.31: ; @.str.31
.asciz "__frame->_Handle = %s_bind(%s);\n"
.comm _ATTR_CONTEXTHANDLE,4,2 ; @ATTR_CONTEXTHANDLE
l_.str.32: ; @.str.32
.asciz "if (%s%s != 0)\n"
l_.str.33: ; @.str.33
.asciz "*"
l_.str.34: ; @.str.34
.asciz "__frame->_Handle = NDRCContextBinding(%s%s);\n"
.comm _ATTR_IN,4,2 ; @ATTR_IN
.comm _ATTR_OUT,4,2 ; @ATTR_OUT
l_.str.35: ; @.str.35
.asciz "else\n"
l_.str.36: ; @.str.36
.asciz "RpcRaiseException(RPC_X_SS_IN_NULL_CONTEXT);\n"
.comm _PASS_IN,4,2 ; @PASS_IN
.comm _PHASE_BUFFERSIZE,4,2 ; @PHASE_BUFFERSIZE
l_.str.37: ; @.str.37
.asciz "NdrGetBuffer(&__frame->_StubMsg, __frame->_StubMsg.BufferLength, "
l_.str.38: ; @.str.38
.asciz "__frame->_Handle);\n\n"
l_.str.39: ; @.str.39
.asciz "%s__MIDL_AutoBindHandle);\n\n"
.comm _PHASE_MARSHAL,4,2 ; @PHASE_MARSHAL
l_.str.40: ; @.str.40
.asciz "NdrSendReceive(&__frame->_StubMsg, __frame->_StubMsg.Buffer);\n\n"
l_.str.41: ; @.str.41
.asciz "__frame->_StubMsg.BufferStart = _RpcMessage.Buffer;\n"
l_.str.42: ; @.str.42
.asciz "__frame->_StubMsg.BufferEnd = __frame->_StubMsg.BufferStart + _RpcMessage.BufferLength;\n"
l_.str.43: ; @.str.43
.asciz "if ((_RpcMessage.DataRepresentation & 0x0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION)\n"
l_.str.44: ; @.str.44
.asciz "NdrConvert(&__frame->_StubMsg, (PFORMAT_STRING)&__MIDL_ProcFormatString.Format[%u]);\n"
.comm _PASS_OUT,4,2 ; @PASS_OUT
.comm _PHASE_UNMARSHAL,4,2 ; @PHASE_UNMARSHAL
l_.str.45: ; @.str.45
.asciz "MIDL_memset(&%s, 0, sizeof(%s));\n"
l_.str.46: ; @.str.46
.asciz "%s = 0;\n"
.comm _PASS_RETURN,4,2 ; @PASS_RETURN
l_.str.47: ; @.str.47
.asciz "}\n"
l_.str.48: ; @.str.48
.asciz "RpcFinally\n"
l_.str.49: ; @.str.49
.asciz "__finally_%s%s( __frame );\n"
l_.str.50: ; @.str.50
.asciz "RpcEndFinally\n"
l_.str.51: ; @.str.51
.asciz "return %s;\n"
.no_dead_strip _write_function_stub
.subsections_via_symbols
| AnghaBench/reactos/sdk/tools/widl/extr_client.c_write_function_stub.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rdma_create_srq ## -- Begin function rdma_create_srq
.p2align 4, 0x90
_rdma_create_srq: ## @rdma_create_srq
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq -56(%rbp), %r14
movq %r14, %rdi
movq %rdx, %rsi
movl $24, %edx
callq _memcpy
movq _IBV_SRQ_INIT_ATTR_TYPE@GOTPCREL(%rip), %rax
movq _IBV_SRQ_INIT_ATTR_PD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movl %ecx, -56(%rbp)
movq (%rbx), %rax
movq _IBV_QPT_XRC_RECV@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_1
## %bb.2:
movq _IBV_SRQT_XRC@GOTPCREL(%rip), %rax
jmp LBB0_3
LBB0_1:
movq _IBV_SRQT_BASIC@GOTPCREL(%rip), %rax
LBB0_3:
movl (%rax), %eax
movl %eax, -40(%rbp)
movq %r12, -48(%rbp)
movq %rbx, %rdi
movq %r14, %rsi
callq _rdma_create_srq_ex
movl %eax, %ebx
movq %r15, %rdi
movq %r14, %rsi
movl $24, %edx
callq _memcpy
movl %ebx, %eax
addq $32, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IBV_SRQ_INIT_ATTR_TYPE,4,2 ## @IBV_SRQ_INIT_ATTR_TYPE
.comm _IBV_SRQ_INIT_ATTR_PD,4,2 ## @IBV_SRQ_INIT_ATTR_PD
.comm _IBV_QPT_XRC_RECV,8,3 ## @IBV_QPT_XRC_RECV
.comm _IBV_SRQT_XRC,4,2 ## @IBV_SRQT_XRC
.comm _IBV_SRQT_BASIC,4,2 ## @IBV_SRQT_BASIC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rdma_create_srq ; -- Begin function rdma_create_srq
.p2align 2
_rdma_create_srq: ; @rdma_create_srq
.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, x2
mov x20, x1
mov x21, x0
add x0, sp, #8
mov x1, x2
mov w2, #24
bl _memcpy
Lloh0:
adrp x8, _IBV_SRQ_INIT_ATTR_TYPE@GOTPAGE
Lloh1:
ldr x8, [x8, _IBV_SRQ_INIT_ATTR_TYPE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _IBV_SRQ_INIT_ATTR_PD@GOTPAGE
Lloh4:
ldr x9, [x9, _IBV_SRQ_INIT_ATTR_PD@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
orr w8, w9, w8
str w8, [sp, #8]
ldr x8, [x21]
Lloh6:
adrp x9, _IBV_QPT_XRC_RECV@GOTPAGE
Lloh7:
ldr x9, [x9, _IBV_QPT_XRC_RECV@GOTPAGEOFF]
Lloh8:
adrp x10, _IBV_SRQT_XRC@GOTPAGE
Lloh9:
ldr x10, [x10, _IBV_SRQT_XRC@GOTPAGEOFF]
Lloh10:
adrp x11, _IBV_SRQT_BASIC@GOTPAGE
Lloh11:
ldr x11, [x11, _IBV_SRQT_BASIC@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x8, x9
csel x8, x10, x11, eq
ldr w8, [x8]
str w8, [sp, #24]
str x20, [sp, #16]
add x1, sp, #8
mov x0, x21
bl _rdma_create_srq_ex
mov x20, x0
add x1, sp, #8
mov x0, x19
mov w2, #24
bl _memcpy
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 AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh12
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IBV_SRQ_INIT_ATTR_TYPE,4,2 ; @IBV_SRQ_INIT_ATTR_TYPE
.comm _IBV_SRQ_INIT_ATTR_PD,4,2 ; @IBV_SRQ_INIT_ATTR_PD
.comm _IBV_QPT_XRC_RECV,8,3 ; @IBV_QPT_XRC_RECV
.comm _IBV_SRQT_XRC,4,2 ; @IBV_SRQT_XRC
.comm _IBV_SRQT_BASIC,4,2 ; @IBV_SRQT_BASIC
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ofed/librdmacm/extr_cma.c_rdma_create_srq.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function led_tg
_led_tg: ## @led_tg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rsi), %rbx
movq 16(%rbx), %r14
movq _XT_LED_BLINK_DELAY@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
cmpq $0, (%rbx)
jle LBB0_4
## %bb.1:
cmpq $0, 8(%rbx)
je LBB0_4
## %bb.2:
leaq 4(%r14), %rdi
callq _timer_pending
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq -24(%rbp), %rdx
movq %r14, %rdi
movq %rdx, %rsi
movl $1, %ecx
callq _led_trigger_blink_oneshot
jmp LBB0_5
LBB0_4:
movq _LED_FULL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _led_trigger_event
LBB0_5:
movq (%rbx), %rdi
testq %rdi, %rdi
jle LBB0_7
## %bb.6:
addq $4, %r14
movq _jiffies@GOTPCREL(%rip), %rax
movq (%rax), %rbx
callq _msecs_to_jiffies
addq %rax, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq _mod_timer
jmp LBB0_9
LBB0_7:
jne LBB0_9
## %bb.8:
movq _LED_OFF@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _led_trigger_event
LBB0_9:
movq _XT_CONTINUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _XT_LED_BLINK_DELAY,8,3 ## @XT_LED_BLINK_DELAY
.comm _LED_FULL,4,2 ## @LED_FULL
.comm _jiffies,8,3 ## @jiffies
.comm _LED_OFF,4,2 ## @LED_OFF
.comm _XT_CONTINUE,4,2 ## @XT_CONTINUE
.no_dead_strip _led_tg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function led_tg
_led_tg: ; @led_tg
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x20, [x1]
ldr x19, [x20, #16]
Lloh0:
adrp x8, _XT_LED_BLINK_DELAY@GOTPAGE
Lloh1:
ldr x8, [x8, _XT_LED_BLINK_DELAY@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #8]
ldr x8, [x20]
cmp x8, #1
b.lt LBB0_4
; %bb.1:
ldr x8, [x20, #8]
cbz x8, LBB0_4
; %bb.2:
add x0, x19, #4
bl _timer_pending
cbz x0, LBB0_4
; %bb.3:
add x1, sp, #8
add x2, sp, #8
mov x0, x19
mov w3, #1
bl _led_trigger_blink_oneshot
b LBB0_5
LBB0_4:
Lloh3:
adrp x8, _LED_FULL@GOTPAGE
Lloh4:
ldr x8, [x8, _LED_FULL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _led_trigger_event
LBB0_5:
ldr x0, [x20]
cmp x0, #1
b.lt LBB0_7
; %bb.6:
add x19, x19, #4
Lloh6:
adrp x8, _jiffies@GOTPAGE
Lloh7:
ldr x8, [x8, _jiffies@GOTPAGEOFF]
Lloh8:
ldr x20, [x8]
bl _msecs_to_jiffies
add x1, x0, x20
mov x0, x19
bl _mod_timer
b LBB0_9
LBB0_7:
cbnz x0, LBB0_9
; %bb.8:
Lloh9:
adrp x8, _LED_OFF@GOTPAGE
Lloh10:
ldr x8, [x8, _LED_OFF@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
bl _led_trigger_event
LBB0_9:
Lloh12:
adrp x8, _XT_CONTINUE@GOTPAGE
Lloh13:
ldr x8, [x8, _XT_CONTINUE@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _XT_LED_BLINK_DELAY,8,3 ; @XT_LED_BLINK_DELAY
.comm _LED_FULL,4,2 ; @LED_FULL
.comm _jiffies,8,3 ; @jiffies
.comm _LED_OFF,4,2 ; @LED_OFF
.comm _XT_CONTINUE,4,2 ; @XT_CONTINUE
.no_dead_strip _led_tg
.subsections_via_symbols
| AnghaBench/linux/net/netfilter/extr_xt_LED.c_led_tg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function visorbus_release_busdevice
_visorbus_release_busdevice: ## @visorbus_release_busdevice
.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
callq _dev_get_drvdata
movq %rax, %rbx
movl 8(%rax), %edi
callq _debugfs_remove
movl 4(%rbx), %edi
callq _debugfs_remove_recursive
movl (%rbx), %edi
callq _visorchannel_destroy
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _kfree ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _visorbus_release_busdevice
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function visorbus_release_busdevice
_visorbus_release_busdevice: ; @visorbus_release_busdevice
.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
bl _dev_get_drvdata
mov x19, x0
ldr w0, [x0, #8]
bl _debugfs_remove
ldr w0, [x19, #4]
bl _debugfs_remove_recursive
ldr w0, [x19]
bl _visorchannel_destroy
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 _visorbus_release_busdevice
.subsections_via_symbols
| AnghaBench/linux/drivers/visorbus/extr_visorbus_main.c_visorbus_release_busdevice.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ITERATE_RemoveRegistryValuesOnUninstall
_ITERATE_RemoveRegistryValuesOnUninstall: ## @ITERATE_RemoveRegistryValuesOnUninstall
.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
movq %rdi, %r13
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq _REG_PROGRESS_VALUE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rsi, %rdi
movl $2, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _msi_ui_progress
movq %r13, %rdi
movl $6, %esi
callq _MSI_RecordGetString
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
callq _msi_get_loaded_component
testq %rax, %rax
je LBB0_15
## %bb.1:
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq _msi_get_component_action
movq %rax, (%r12)
movq _INSTALLSTATE_ABSENT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.3:
movq %r13, %rdi
movl $4, %esi
callq _MSI_RecordGetString
movq %rax, %r15
movq %r13, %rdi
movl $5, %esi
callq _MSI_RecordIsNull
testq %rax, %rax
je LBB0_10
## %bb.4:
testq %r15, %r15
je LBB0_10
## %bb.5:
movb (%r15), %al
cmpb $42, %al
je LBB0_9
## %bb.6:
cmpb $45, %al
je LBB0_9
## %bb.7:
cmpb $43, %al
jne LBB0_10
## %bb.8:
cmpb $0, 1(%r15)
jne LBB0_10
jmp LBB0_15
LBB0_2:
movq %rbx, %rdi
callq _debugstr_w
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _TRACE
jmp LBB0_15
LBB0_9:
xorl %eax, %eax
cmpb $0, 1(%r15)
movq _TRUE@GOTPCREL(%rip), %rcx
movq -56(%rbp), %rdx ## 8-byte Reload
cmoveq (%rcx), %rdx
movq %rdx, -56(%rbp) ## 8-byte Spill
cmoveq %rax, %r15
LBB0_10:
movq %r13, %rdi
movl $2, %esi
callq _MSI_RecordGetInteger
movl %eax, %ebx
movq %r13, %rdi
movl $3, %esi
callq _MSI_RecordGetString
movq %rax, %r13
leaq -68(%rbp), %rdx
movq %r14, %rdi
movl %ebx, %esi
callq _get_root_key
testq %rax, %rax
je LBB0_15
## %bb.11:
movq %rax, %rbx
leaq -48(%rbp), %rdx
movq %r14, %rdi
movq %r13, %rsi
callq _deformat_string
movq -48(%rbp), %rdi
callq _strlenW
movl %eax, %r13d
movq %rbx, %rdi
callq _strlenW
## kill: def $eax killed $eax def $rax
addl %r13d, %eax
leal 4(,%rax,4), %edi
callq _msi_alloc
movq %rax, %r13
movq %rax, %rdi
movq %rbx, %rsi
callq _strcpyW
movq -48(%rbp), %rsi
movq %r13, %rdi
callq _strcatW
leaq -64(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq _deformat_string
movl -68(%rbp), %esi
movq -48(%rbp), %rdx
cmpq $0, -56(%rbp) ## 8-byte Folded Reload
je LBB0_13
## %bb.12:
movq %r12, %rdi
callq _delete_tree
jmp LBB0_14
LBB0_13:
movq -64(%rbp), %rcx
movq %r12, %rdi
callq _delete_value
LBB0_14:
movq -48(%rbp), %rdi
callq _msi_free
movl $2, %edi
callq _MSI_CreateRecord
movq %rax, %rbx
movq %rax, %rdi
movl $1, %esi
movq %r13, %rdx
callq _MSI_RecordSetStringW
movq -64(%rbp), %rdx
movq %rbx, %rdi
movl $2, %esi
callq _MSI_RecordSetStringW
movq _INSTALLMESSAGE_ACTIONDATA@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movq %rbx, %rdx
callq _MSI_ProcessMessage
movq %rbx, %rdi
callq _msiobj_release
movq %r13, %rdi
callq _msi_free
movq -64(%rbp), %rdi
callq _msi_free
LBB0_15:
movq _ERROR_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _REG_PROGRESS_VALUE,4,2 ## @REG_PROGRESS_VALUE
.comm _ERROR_SUCCESS,4,2 ## @ERROR_SUCCESS
.comm _INSTALLSTATE_ABSENT,8,3 ## @INSTALLSTATE_ABSENT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "component not scheduled for removal %s\n"
.comm _TRUE,8,3 ## @TRUE
.comm _INSTALLMESSAGE_ACTIONDATA,4,2 ## @INSTALLMESSAGE_ACTIONDATA
.no_dead_strip _ITERATE_RemoveRegistryValuesOnUninstall
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ITERATE_RemoveRegistryValuesOnUninstall
_ITERATE_RemoveRegistryValuesOnUninstall: ; @ITERATE_RemoveRegistryValuesOnUninstall
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x22, x0
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr x24, [x8]
Lloh3:
adrp x8, _REG_PROGRESS_VALUE@GOTPAGE
Lloh4:
ldr x8, [x8, _REG_PROGRESS_VALUE@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
mov x0, x1
mov w1, #2
mov w3, #0
mov w4, #0
bl _msi_ui_progress
mov x0, x22
mov w1, #6
bl _MSI_RecordGetString
mov x21, x0
mov x0, x19
mov x1, x21
bl _msi_get_loaded_component
cbz x0, LBB0_15
; %bb.1:
mov x20, x0
mov x0, x19
mov x1, x20
bl _msi_get_component_action
str x0, [x20]
Lloh6:
adrp x8, _INSTALLSTATE_ABSENT@GOTPAGE
Lloh7:
ldr x8, [x8, _INSTALLSTATE_ABSENT@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_8
; %bb.2:
mov x0, x22
mov w1, #4
bl _MSI_RecordGetString
mov x21, x0
mov x0, x22
mov w1, #5
bl _MSI_RecordIsNull
cbz x0, LBB0_10
; %bb.3:
cbz x21, LBB0_10
; %bb.4:
ldrb w8, [x21]
cmp w8, #42
b.eq LBB0_9
; %bb.5:
cmp w8, #45
b.eq LBB0_9
; %bb.6:
cmp w8, #43
b.ne LBB0_10
; %bb.7:
ldrb w8, [x21, #1]
cbnz w8, LBB0_10
b LBB0_15
LBB0_8:
mov x0, x21
bl _debugstr_w
mov x1, x0
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _TRACE
b LBB0_15
LBB0_9:
ldrb w8, [x21, #1]
Lloh11:
adrp x9, _TRUE@GOTPAGE
Lloh12:
ldr x9, [x9, _TRUE@GOTPAGEOFF]
Lloh13:
ldr x9, [x9]
cmp w8, #0
csel x24, x9, x24, eq
csel x21, xzr, x21, eq
LBB0_10:
mov x0, x22
mov w1, #2
bl _MSI_RecordGetInteger
mov x23, x0
mov x0, x22
mov w1, #3
bl _MSI_RecordGetString
mov x22, x0
add x2, sp, #12
mov x0, x19
mov x1, x23
bl _get_root_key
cbz x0, LBB0_15
; %bb.11:
mov x23, x0
add x2, sp, #24
mov x0, x19
mov x1, x22
bl _deformat_string
ldr x0, [sp, #24]
bl _strlenW
mov x22, x0
mov x0, x23
bl _strlenW
add w8, w0, w22
lsl w8, w8, #2
add w0, w8, #4
bl _msi_alloc
mov x22, x0
mov x1, x23
bl _strcpyW
ldr x1, [sp, #24]
mov x0, x22
bl _strcatW
add x2, sp, #16
mov x0, x19
mov x1, x21
bl _deformat_string
ldr w1, [sp, #12]
ldr x2, [sp, #24]
cbz x24, LBB0_13
; %bb.12:
mov x0, x20
bl _delete_tree
b LBB0_14
LBB0_13:
ldr x3, [sp, #16]
mov x0, x20
bl _delete_value
LBB0_14:
ldr x0, [sp, #24]
bl _msi_free
mov w0, #2
bl _MSI_CreateRecord
mov x20, x0
mov w1, #1
mov x2, x22
bl _MSI_RecordSetStringW
ldr x2, [sp, #16]
mov x0, x20
mov w1, #2
bl _MSI_RecordSetStringW
Lloh14:
adrp x8, _INSTALLMESSAGE_ACTIONDATA@GOTPAGE
Lloh15:
ldr x8, [x8, _INSTALLMESSAGE_ACTIONDATA@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x19
mov x2, x20
bl _MSI_ProcessMessage
mov x0, x20
bl _msiobj_release
mov x0, x22
bl _msi_free
ldr x0, [sp, #16]
bl _msi_free
LBB0_15:
Lloh17:
adrp x8, _ERROR_SUCCESS@GOTPAGE
Lloh18:
ldr x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _REG_PROGRESS_VALUE,4,2 ; @REG_PROGRESS_VALUE
.comm _ERROR_SUCCESS,4,2 ; @ERROR_SUCCESS
.comm _INSTALLSTATE_ABSENT,8,3 ; @INSTALLSTATE_ABSENT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "component not scheduled for removal %s\n"
.comm _TRUE,8,3 ; @TRUE
.comm _INSTALLMESSAGE_ACTIONDATA,4,2 ; @INSTALLMESSAGE_ACTIONDATA
.no_dead_strip _ITERATE_RemoveRegistryValuesOnUninstall
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/msi/extr_action.c_ITERATE_RemoveRegistryValuesOnUninstall.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function check_req
_check_req: ## @check_req
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _vlc_http_msg_get_status
shrq $63, %rax
movl %eax, %edi
callq _assert
movq %r14, %rdi
callq _vlc_http_msg_get_method
xorl %ebx, %ebx
movl $0, %edi
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testl %eax, %eax
sete %dil
LBB0_2:
callq _assert
movq %r14, %rdi
callq _vlc_http_msg_get_scheme
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %ebx, %ebx
testl %eax, %eax
sete %bl
LBB0_4:
movl %ebx, %edi
callq _assert
movq %r14, %rdi
callq _vlc_http_msg_get_authority
xorl %ebx, %ebx
movl $0, %edi
testq %rax, %rax
je LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testl %eax, %eax
sete %dil
LBB0_6:
callq _assert
movq %r14, %rdi
callq _vlc_http_msg_get_path
testq %rax, %rax
je LBB0_8
## %bb.7:
leaq L_.str.3(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %ebx, %ebx
testl %eax, %eax
sete %bl
LBB0_8:
movl %ebx, %edi
callq _assert
movq %r14, %rdi
callq _vlc_http_msg_get_size
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _assert
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
callq _vlc_http_msg_get_header
xorl %ebx, %ebx
movl $0, %edi
testq %rax, %rax
je LBB0_10
## %bb.9:
leaq L_.str.5(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %edi, %edi
testl %eax, %eax
sete %dil
LBB0_10:
callq _assert
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
callq _vlc_http_msg_get_header
testq %rax, %rax
je LBB0_12
## %bb.11:
leaq L_.str.7(%rip), %rsi
movq %rax, %rdi
callq _strcmp
xorl %ebx, %ebx
testl %eax, %eax
sete %bl
LBB0_12:
movl %ebx, %edi
callq _assert
leaq L_.str.8(%rip), %rsi
movq %r14, %rdi
callq _vlc_http_msg_get_header
xorl %edi, %edi
testq %rax, %rax
sete %dil
popq %rbx
popq %r14
popq %rbp
jmp _assert ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "GET"
L_.str.1: ## @.str.1
.asciz "http"
L_.str.2: ## @.str.2
.asciz "www.example.com"
L_.str.3: ## @.str.3
.asciz "/"
L_.str.4: ## @.str.4
.asciz "Cache-Control"
L_.str.5: ## @.str.5
.asciz "no-cache"
L_.str.6: ## @.str.6
.asciz "Custom-Key"
L_.str.7: ## @.str.7
.asciz "custom-value"
L_.str.8: ## @.str.8
.asciz "Date"
.no_dead_strip _check_req
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function check_req
_check_req: ; @check_req
.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 _vlc_http_msg_get_status
lsr x0, x0, #63
; kill: def $w0 killed $w0 killed $x0
bl _assert
mov x0, x19
bl _vlc_http_msg_get_method
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strcmp
cmp w0, #0
cset w0, eq
LBB0_2:
bl _assert
mov x0, x19
bl _vlc_http_msg_get_scheme
cbz x0, LBB0_4
; %bb.3:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _strcmp
cmp w0, #0
cset w0, eq
LBB0_4:
bl _assert
mov x0, x19
bl _vlc_http_msg_get_authority
cbz x0, LBB0_6
; %bb.5:
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
bl _strcmp
cmp w0, #0
cset w0, eq
LBB0_6:
bl _assert
mov x0, x19
bl _vlc_http_msg_get_path
cbz x0, LBB0_8
; %bb.7:
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
cmp w0, #0
cset w0, eq
LBB0_8:
bl _assert
mov x0, x19
bl _vlc_http_msg_get_size
cmp x0, #0
cset w0, eq
bl _assert
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _vlc_http_msg_get_header
cbz x0, LBB0_10
; %bb.9:
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
bl _strcmp
cmp w0, #0
cset w0, eq
LBB0_10:
bl _assert
Lloh12:
adrp x1, l_.str.6@PAGE
Lloh13:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _vlc_http_msg_get_header
cbz x0, LBB0_12
; %bb.11:
Lloh14:
adrp x1, l_.str.7@PAGE
Lloh15:
add x1, x1, l_.str.7@PAGEOFF
bl _strcmp
cmp w0, #0
cset w0, eq
LBB0_12:
bl _assert
Lloh16:
adrp x1, l_.str.8@PAGE
Lloh17:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x19
bl _vlc_http_msg_get_header
cmp x0, #0
cset w0, eq
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _assert
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "GET"
l_.str.1: ; @.str.1
.asciz "http"
l_.str.2: ; @.str.2
.asciz "www.example.com"
l_.str.3: ; @.str.3
.asciz "/"
l_.str.4: ; @.str.4
.asciz "Cache-Control"
l_.str.5: ; @.str.5
.asciz "no-cache"
l_.str.6: ; @.str.6
.asciz "Custom-Key"
l_.str.7: ; @.str.7
.asciz "custom-value"
l_.str.8: ; @.str.8
.asciz "Date"
.no_dead_strip _check_req
.subsections_via_symbols
| AnghaBench/vlc/modules/access/http/extr_message_test.c_check_req.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mxs_lradc_adc_read_single
_mxs_lradc_adc_read_single: ## @mxs_lradc_adc_read_single
.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
movl %esi, %r14d
movq %rdi, %r13
callq _iio_priv
movq %rax, %r15
movq 16(%rax), %rbx
movq %r13, %rdi
callq _iio_device_claim_direct_mode
movl %eax, %r12d
testl %eax, %eax
jne LBB0_6
## %bb.1:
movq %r13, -48(%rbp) ## 8-byte Spill
movl %r14d, %r12d
movq %r15, %r13
leaq 8(%r15), %rdi
movq %rdi, -56(%rbp) ## 8-byte Spill
callq _reinit_completion
movq (%rbx), %rax
movq _IMX28_LRADC@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.2:
xorl %edi, %edi
callq _LRADC_CTRL1_LRADC_IRQ_EN
movq _LRADC_CTRL1@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq (%r13), %rsi
movq _STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %rcx
addq (%rcx), %rsi
movl %eax, %edi
callq _writel
LBB0_3:
movq _LRADC_CTRL0@GOTPCREL(%rip), %rax
movq (%rax), %rsi
addq (%r13), %rsi
movq _STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %r14
addq (%r14), %rsi
movl $1, %ebx
movl $1, %edi
callq _writel
movq %r13, %rsi
addq $12, %rsi
movl %r12d, %r15d
movl %r12d, %edi
callq _test_bit
movq _LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %ebx
movq _LRADC_CTRL2@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq (%r13), %rsi
testq %rax, %rax
movq _STMP_OFFSET_REG_SET@GOTPCREL(%rip), %rax
cmoveq %r14, %rax
addq (%rax), %rsi
movl %ebx, %edi
callq _writel
xorl %r12d, %r12d
xorl %edi, %edi
callq _LRADC_CTRL4_LRADCSELECT_MASK
movq _LRADC_CTRL4@GOTPCREL(%rip), %rbx
movq (%rbx), %rsi
addq (%r13), %rsi
addq (%r14), %rsi
movl %eax, %edi
callq _writel
movq (%rbx), %rsi
addq (%r13), %rsi
movq _STMP_OFFSET_REG_SET@GOTPCREL(%rip), %rax
addq (%rax), %rsi
movl %r15d, %edi
callq _writel
movq (%r13), %rbx
xorl %edi, %edi
callq _LRADC_CH
addq %rax, %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq _writel
xorl %edi, %edi
callq _LRADC_CTRL1_LRADC_IRQ_EN
movq _LRADC_CTRL1@GOTPCREL(%rip), %r15
movq (%r15), %rsi
addq (%r13), %rsi
movq _STMP_OFFSET_REG_SET@GOTPCREL(%rip), %rbx
addq (%rbx), %rsi
movl %eax, %edi
callq _writel
xorl %edi, %edi
callq _BIT
movq _LRADC_CTRL0@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq (%r13), %rsi
addq (%rbx), %rsi
movl %eax, %edi
callq _writel
movq _HZ@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _wait_for_completion_killable_timeout
movq _ETIMEDOUT@GOTPCREL(%rip), %rcx
subl (%rcx), %r12d
testl %eax, %eax
cmovnel %eax, %r12d
testl %r12d, %r12d
js LBB0_5
## %bb.4:
movq (%r13), %rbx
xorl %edi, %edi
callq _LRADC_CH
addq %rax, %rbx
movq %rbx, %rdi
callq _readl
movq _LRADC_CH_VALUE_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movq _IIO_VAL_INT@GOTPCREL(%rip), %rax
movl (%rax), %r12d
LBB0_5:
xorl %edi, %edi
callq _LRADC_CTRL1_LRADC_IRQ_EN
movq (%r15), %rsi
addq (%r13), %rsi
movq _STMP_OFFSET_REG_CLR@GOTPCREL(%rip), %rcx
addq (%rcx), %rsi
movl %eax, %edi
callq _writel
movq -48(%rbp), %rdi ## 8-byte Reload
callq _iio_device_release_direct_mode
LBB0_6:
movl %r12d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IMX28_LRADC,8,3 ## @IMX28_LRADC
.comm _LRADC_CTRL1,8,3 ## @LRADC_CTRL1
.comm _STMP_OFFSET_REG_CLR,8,3 ## @STMP_OFFSET_REG_CLR
.comm _LRADC_CTRL0,8,3 ## @LRADC_CTRL0
.comm _LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET,4,2 ## @LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET
.comm _LRADC_CTRL2,8,3 ## @LRADC_CTRL2
.comm _STMP_OFFSET_REG_SET,8,3 ## @STMP_OFFSET_REG_SET
.comm _LRADC_CTRL4,8,3 ## @LRADC_CTRL4
.comm _HZ,4,2 ## @HZ
.comm _ETIMEDOUT,4,2 ## @ETIMEDOUT
.comm _LRADC_CH_VALUE_MASK,4,2 ## @LRADC_CH_VALUE_MASK
.comm _IIO_VAL_INT,4,2 ## @IIO_VAL_INT
.no_dead_strip _mxs_lradc_adc_read_single
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mxs_lradc_adc_read_single
_mxs_lradc_adc_read_single: ; @mxs_lradc_adc_read_single
.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 x21, x2
mov x23, x1
mov x19, x0
bl _iio_priv
mov x20, x0
ldr x24, [x0, #16]
mov x0, x19
bl _iio_device_claim_direct_mode
mov x22, x0
cbnz w0, LBB0_6
; %bb.1:
add x22, x20, #8
mov x0, x22
bl _reinit_completion
ldr x8, [x24]
Lloh0:
adrp x9, _IMX28_LRADC@GOTPAGE
Lloh1:
ldr x9, [x9, _IMX28_LRADC@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
Lloh3:
adrp x25, _LRADC_CTRL1@GOTPAGE
Lloh4:
ldr x25, [x25, _LRADC_CTRL1@GOTPAGEOFF]
Lloh5:
adrp x24, _STMP_OFFSET_REG_CLR@GOTPAGE
Lloh6:
ldr x24, [x24, _STMP_OFFSET_REG_CLR@GOTPAGEOFF]
cmp x8, x9
b.ne LBB0_3
; %bb.2:
mov w0, #0
bl _LRADC_CTRL1_LRADC_IRQ_EN
ldr x8, [x20]
ldr x9, [x25]
ldr x10, [x24]
add x8, x9, x8
add x1, x8, x10
bl _writel
LBB0_3:
ldr x8, [x20]
Lloh7:
adrp x26, _LRADC_CTRL0@GOTPAGE
Lloh8:
ldr x26, [x26, _LRADC_CTRL0@GOTPAGEOFF]
ldr x9, [x26]
ldr x10, [x24]
add x8, x9, x8
add x1, x8, x10
mov w27, #1
mov w0, #1
bl _writel
add x1, x20, #12
mov x0, x23
bl _test_bit
Lloh9:
adrp x8, _LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET@GOTPAGE
Lloh10:
ldr x8, [x8, _LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
lsl w8, w27, w8
ldr x9, [x20]
Lloh12:
adrp x10, _LRADC_CTRL2@GOTPAGE
Lloh13:
ldr x10, [x10, _LRADC_CTRL2@GOTPAGEOFF]
Lloh14:
adrp x27, _STMP_OFFSET_REG_SET@GOTPAGE
Lloh15:
ldr x27, [x27, _STMP_OFFSET_REG_SET@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
cmp x0, #0
csel x11, x24, x27, eq
ldr x11, [x11]
add x9, x10, x9
add x1, x9, x11
mov x0, x8
bl _writel
mov w0, #0
bl _LRADC_CTRL4_LRADCSELECT_MASK
ldr x8, [x20]
Lloh17:
adrp x28, _LRADC_CTRL4@GOTPAGE
Lloh18:
ldr x28, [x28, _LRADC_CTRL4@GOTPAGEOFF]
ldr x9, [x28]
ldr x10, [x24]
add x8, x9, x8
add x1, x8, x10
bl _writel
ldr x8, [x20]
ldr x9, [x28]
ldr x10, [x27]
add x8, x9, x8
add x1, x8, x10
mov x0, x23
bl _writel
ldr x23, [x20]
mov w0, #0
bl _LRADC_CH
add x1, x0, x23
mov w0, #0
bl _writel
mov w0, #0
bl _LRADC_CTRL1_LRADC_IRQ_EN
ldr x8, [x20]
ldr x9, [x25]
ldr x10, [x27]
add x8, x9, x8
add x1, x8, x10
bl _writel
mov w0, #0
bl _BIT
ldr x8, [x20]
ldr x9, [x26]
ldr x10, [x27]
add x8, x9, x8
add x1, x8, x10
bl _writel
Lloh19:
adrp x8, _HZ@GOTPAGE
Lloh20:
ldr x8, [x8, _HZ@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
mov x0, x22
bl _wait_for_completion_killable_timeout
Lloh22:
adrp x8, _ETIMEDOUT@GOTPAGE
Lloh23:
ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
cmp w0, #0
csneg w22, w0, w8, ne
tbnz w22, #31, LBB0_5
; %bb.4:
ldr x22, [x20]
mov w0, #0
bl _LRADC_CH
add x0, x0, x22
bl _readl
Lloh25:
adrp x8, _LRADC_CH_VALUE_MASK@GOTPAGE
Lloh26:
ldr x8, [x8, _LRADC_CH_VALUE_MASK@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
and w8, w8, w0
str w8, [x21]
Lloh28:
adrp x8, _IIO_VAL_INT@GOTPAGE
Lloh29:
ldr x8, [x8, _IIO_VAL_INT@GOTPAGEOFF]
Lloh30:
ldr w22, [x8]
LBB0_5:
mov w0, #0
bl _LRADC_CTRL1_LRADC_IRQ_EN
ldr x8, [x20]
ldr x9, [x25]
ldr x10, [x24]
add x8, x9, x8
add x1, x8, x10
bl _writel
mov x0, x19
bl _iio_device_release_direct_mode
LBB0_6:
mov x0, x22
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _IMX28_LRADC,8,3 ; @IMX28_LRADC
.comm _LRADC_CTRL1,8,3 ; @LRADC_CTRL1
.comm _STMP_OFFSET_REG_CLR,8,3 ; @STMP_OFFSET_REG_CLR
.comm _LRADC_CTRL0,8,3 ; @LRADC_CTRL0
.comm _LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET,4,2 ; @LRADC_CTRL2_DIVIDE_BY_TWO_OFFSET
.comm _LRADC_CTRL2,8,3 ; @LRADC_CTRL2
.comm _STMP_OFFSET_REG_SET,8,3 ; @STMP_OFFSET_REG_SET
.comm _LRADC_CTRL4,8,3 ; @LRADC_CTRL4
.comm _HZ,4,2 ; @HZ
.comm _ETIMEDOUT,4,2 ; @ETIMEDOUT
.comm _LRADC_CH_VALUE_MASK,4,2 ; @LRADC_CH_VALUE_MASK
.comm _IIO_VAL_INT,4,2 ; @IIO_VAL_INT
.no_dead_strip _mxs_lradc_adc_read_single
.subsections_via_symbols
| AnghaBench/linux/drivers/iio/adc/extr_mxs-lradc-adc.c_mxs_lradc_adc_read_single.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___strncpy_from_user ## -- Begin function __strncpy_from_user
.p2align 4, 0x90
___strncpy_from_user: ## @__strncpy_from_user
.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 ___do_strncpy_from_user ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___strncpy_from_user ; -- Begin function __strncpy_from_user
.p2align 2
___strncpy_from_user: ; @__strncpy_from_user
.cfi_startproc
; %bb.0:
b ___do_strncpy_from_user
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/arch/csky/lib/extr_usercopy.c___strncpy_from_user.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/32951087.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i2400mu_init
_i2400mu_init: ## @i2400mu_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
addq $32, %rdi
callq _i2400m_init
leaq 28(%rbx), %rdi
callq _edc_init
leaq 24(%rbx), %rdi
callq _init_waitqueue_head
leaq 20(%rbx), %rdi
xorl %esi, %esi
callq _atomic_set
leaq 16(%rbx), %rdi
callq _init_waitqueue_head
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $-4, %rax
movq %rax, 8(%rbx)
leaq 4(%rbx), %rdi
movl $1, %esi
callq _atomic_set
movl $1, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.no_dead_strip _i2400mu_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i2400mu_init
_i2400mu_init: ; @i2400mu_init
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x0, x0, #32
bl _i2400m_init
add x0, x19, #28
bl _edc_init
add x0, x19, #24
bl _init_waitqueue_head
add x0, x19, #20
mov w1, #0
bl _atomic_set
add x0, x19, #16
bl _init_waitqueue_head
Lloh0:
adrp x8, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
sub x8, x8, #4
str x8, [x19, #8]
add x0, x19, #4
mov w20, #1
mov w1, #1
bl _atomic_set
str w20, [x19]
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 _PAGE_SIZE,8,3 ; @PAGE_SIZE
.no_dead_strip _i2400mu_init
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/net/wimax/i2400m/extr_i2400m-usb.h_i2400mu_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function transient_usage
_transient_usage: ## @transient_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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rcx, %r14
movq %rsi, %rbx
movq 8(%rdi), %rax
movq (%rax), %rax
movq %rax, (%rdx)
movl (%rdi), %edi
callq _dm_snap_cow
movl (%rax), %edi
callq _get_dev_size
movq %rax, (%rbx)
movq $0, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _transient_usage
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function transient_usage
_transient_usage: ; @transient_usage
.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
ldr x8, [x0, #8]
ldr x8, [x8]
str x8, [x2]
ldr w0, [x0]
bl _dm_snap_cow
ldr w0, [x0]
bl _get_dev_size
str x0, [x20]
str xzr, [x19]
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 _transient_usage
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/md/extr_dm-snap-transient.c_transient_usage.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lp5523_turn_off_channels
_lp5523_turn_off_channels: ## @lp5523_turn_off_channels
.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 _LP5523_MAX_LEDS@GOTPCREL(%rip), %r14
cmpl $0, (%r14)
jle LBB0_3
## %bb.1:
movq %rdi, %r15
xorl %ebx, %ebx
movq _LP5523_REG_LED_PWM_BASE@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rsi
addq %rbx, %rsi
movq %r15, %rdi
xorl %edx, %edx
callq _lp55xx_write
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_2
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LP5523_MAX_LEDS,4,2 ## @LP5523_MAX_LEDS
.comm _LP5523_REG_LED_PWM_BASE,8,3 ## @LP5523_REG_LED_PWM_BASE
.no_dead_strip _lp5523_turn_off_channels
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lp5523_turn_off_channels
_lp5523_turn_off_channels: ; @lp5523_turn_off_channels
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x20, _LP5523_MAX_LEDS@GOTPAGE
Lloh1:
ldr x20, [x20, _LP5523_MAX_LEDS@GOTPAGEOFF]
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x19, x0
mov x21, #0
Lloh2:
adrp x22, _LP5523_REG_LED_PWM_BASE@GOTPAGE
Lloh3:
ldr x22, [x22, _LP5523_REG_LED_PWM_BASE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
add x1, x21, x8
mov x0, x19
mov w2, #0
bl _lp55xx_write
add x21, x21, #1
ldrsw x8, [x20]
cmp x21, x8
b.lt LBB0_2
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
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _LP5523_MAX_LEDS,4,2 ; @LP5523_MAX_LEDS
.comm _LP5523_REG_LED_PWM_BASE,8,3 ; @LP5523_REG_LED_PWM_BASE
.no_dead_strip _lp5523_turn_off_channels
.subsections_via_symbols
| AnghaBench/linux/drivers/leds/extr_leds-lp5523.c_lp5523_turn_off_channels.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _check_for_AAAA ## -- Begin function check_for_AAAA
.p2align 4, 0x90
_check_for_AAAA: ## @check_for_AAAA
.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), %rsi
callq _strstr
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
movl $58, %esi
callq _strrchr
movq %rax, %rdi
addq $-8, %rdi
jmp LBB0_3
LBB0_2:
movq %rbx, %rdi
callq _strlen
cltq
leaq (%rbx,%rax), %rdi
addq $-9, %rdi
LBB0_3:
leaq L_.str.1(%rip), %rsi
callq _strstr
xorl %ecx, %ecx
testq %rax, %rax
setne %cl
movl %ecx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "too long"
L_.str.1: ## @.str.1
.asciz "41414141"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _check_for_AAAA ; -- Begin function check_for_AAAA
.p2align 2
_check_for_AAAA: ; @check_for_AAAA
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strstr
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
mov w1, #58 ; =0x3a
bl _strrchr
sub x0, x0, #8
b LBB0_3
LBB0_2:
mov x0, x19
bl _strlen
add x8, x19, w0, sxtw
sub x0, x8, #9
LBB0_3:
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _strstr
cmp x0, #0
cset w0, ne
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "too long"
l_.str.1: ; @.str.1
.asciz "41414141"
.subsections_via_symbols
| assembly_file_156247.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _nlm_cms_get_net_error_code ## -- Begin function nlm_cms_get_net_error_code
.p2align 4, 0x90
_nlm_cms_get_net_error_code: ## @nlm_cms_get_net_error_code
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %eax
shrl $12, %eax
andl $15, %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 _nlm_cms_get_net_error_code ; -- Begin function nlm_cms_get_net_error_code
.p2align 2
_nlm_cms_get_net_error_code: ; @nlm_cms_get_net_error_code
.cfi_startproc
; %bb.0:
ubfx w0, w0, #12, #4
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/sys/mips/nlm/hal/extr_fmn.c_nlm_cms_get_net_error_code.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _J4AC_android_media_MediaFormat__createVideoFormat ## -- Begin function J4AC_android_media_MediaFormat__createVideoFormat
.p2align 4, 0x90
_J4AC_android_media_MediaFormat__createVideoFormat: ## @J4AC_android_media_MediaFormat__createVideoFormat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %ecx, %r9d
movl %edx, %r8d
movl %esi, %ecx
movq (%rdi), %rax
movq (%rax), %rax
movq _class_J4AC_android_media_MediaFormat@GOTPCREL(%rip), %rsi
movl (%rsi), %edx
movl 4(%rsi), %esi
popq %rbp
jmpq *%rax ## TAILCALL
.cfi_endproc
## -- End function
.comm _class_J4AC_android_media_MediaFormat,8,2 ## @class_J4AC_android_media_MediaFormat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _J4AC_android_media_MediaFormat__createVideoFormat ; -- Begin function J4AC_android_media_MediaFormat__createVideoFormat
.p2align 2
_J4AC_android_media_MediaFormat__createVideoFormat: ; @J4AC_android_media_MediaFormat__createVideoFormat
.cfi_startproc
; %bb.0:
mov x5, x3
mov x4, x2
mov x3, x1
ldr x8, [x0]
ldr x6, [x8]
Lloh0:
adrp x8, _class_J4AC_android_media_MediaFormat@GOTPAGE
Lloh1:
ldr x8, [x8, _class_J4AC_android_media_MediaFormat@GOTPAGEOFF]
ldp w2, w1, [x8]
br x6
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _class_J4AC_android_media_MediaFormat,8,2 ; @class_J4AC_android_media_MediaFormat
.subsections_via_symbols
| AnghaBench/ijkplayer/ijkmedia/ijkj4a/j4a/class/android/media/extr_MediaFormat.c_J4AC_android_media_MediaFormat__createVideoFormat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function NI_RTSI_OUTPUT_RTSI_BRD
_NI_RTSI_OUTPUT_RTSI_BRD: ## @NI_RTSI_OUTPUT_RTSI_BRD
.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 _NI_RTSI_OUTPUT_RTSI_BRD_0@GOTPCREL(%rip), %rcx
addl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NI_RTSI_OUTPUT_RTSI_BRD_0,4,2 ## @NI_RTSI_OUTPUT_RTSI_BRD_0
.no_dead_strip _NI_RTSI_OUTPUT_RTSI_BRD
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function NI_RTSI_OUTPUT_RTSI_BRD
_NI_RTSI_OUTPUT_RTSI_BRD: ; @NI_RTSI_OUTPUT_RTSI_BRD
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _NI_RTSI_OUTPUT_RTSI_BRD_0@GOTPAGE
Lloh1:
ldr x8, [x8, _NI_RTSI_OUTPUT_RTSI_BRD_0@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
add w0, w8, w0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NI_RTSI_OUTPUT_RTSI_BRD_0,4,2 ; @NI_RTSI_OUTPUT_RTSI_BRD_0
.no_dead_strip _NI_RTSI_OUTPUT_RTSI_BRD
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_addi-data....comedi.h_NI_RTSI_OUTPUT_RTSI_BRD.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function read_cols
_read_cols: ## @read_cols
.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 _MATRIX_COLS@GOTPCREL(%rip), %r12
cmpl $0, (%r12)
jle LBB0_1
## %bb.3:
movq _col_pins@GOTPCREL(%rip), %r13
xorl %ebx, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movl (%rax,%rbx,4), %edi
sarl $4, %edi
callq __SFR_IO8
movl %eax, %r15d
movq (%r13), %rax
movl (%rax,%rbx,4), %edi
andl $15, %edi
callq __BV
movl $1, %edx
movl %ebx, %ecx
shll %cl, %edx
testl %r15d, %eax
movl $0, %eax
cmovnel %eax, %edx
orl %edx, %r14d
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jl LBB0_4
jmp LBB0_2
LBB0_1:
xorl %r14d, %r14d
LBB0_2:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MATRIX_COLS,4,2 ## @MATRIX_COLS
.comm _col_pins,8,3 ## @col_pins
.no_dead_strip _read_cols
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function read_cols
_read_cols: ; @read_cols
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
Lloh0:
adrp x21, _MATRIX_COLS@GOTPAGE
Lloh1:
ldr x21, [x21, _MATRIX_COLS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
mov x22, #0
mov w19, #0
Lloh2:
adrp x23, _col_pins@GOTPAGE
Lloh3:
ldr x23, [x23, _col_pins@GOTPAGEOFF]
mov w24, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x23]
lsl x25, x22, #2
ldr w8, [x8, x25]
asr w0, w8, #4
bl __SFR_IO8
mov x20, x0
ldr x8, [x23]
ldr w8, [x8, x25]
and w0, w8, #0xf
bl __BV
lsl w8, w24, w22
tst w0, w20
csel w8, w8, wzr, eq
orr w19, w8, w19
add x22, x22, #1
ldrsw x8, [x21]
cmp x22, x8
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov w19, #0
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _MATRIX_COLS,4,2 ; @MATRIX_COLS
.comm _col_pins,8,3 ; @col_pins
.no_dead_strip _read_cols
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/helix/rev2/extr_matrix.c_read_cols.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function file_select
_file_select: ## @file_select
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _strlen
movl %eax, %r14d
movq _ppsz_lua_exts@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.1:
movslq %r14d, %rax
addq %rax, %rbx
xorl %r13d, %r13d
movl $1, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
callq _strlen
cmpl %eax, %r14d
jge LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cltq
movq %rbx, %rdi
subq %rax, %rdi
movq _ppsz_lua_exts@GOTPCREL(%rip), %rax
movq (%rax), %r12
movq (%r12,%r13), %rsi
callq _strcmp
testl %eax, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq -8(%r12,%r13), %rdi
addq $-8, %r13
testq %rdi, %rdi
jne LBB0_2
LBB0_6:
xorl %r15d, %r15d
LBB0_7:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ppsz_lua_exts,8,3 ## @ppsz_lua_exts
.no_dead_strip _file_select
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function file_select
_file_select: ; @file_select
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
bl _strlen
mov x19, x0
Lloh0:
adrp x21, _ppsz_lua_exts@GOTPAGE
Lloh1:
ldr x21, [x21, _ppsz_lua_exts@GOTPAGEOFF]
ldr x8, [x21]
ldr x0, [x8]
cbz x0, LBB0_6
; %bb.1:
mov x22, #0 ; =0x0
add x20, x20, w19, sxtw
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _strlen
cmp w19, w0
b.ge LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
sub x0, x20, w0, sxtw
ldr x23, [x21]
ldr x1, [x23, x22]
bl _strcmp
cbz w0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add x8, x23, x22
ldur x0, [x8, #-8]
sub x22, x22, #8
cbnz x0, LBB0_2
b LBB0_6
LBB0_5:
mov w0, #1 ; =0x1
LBB0_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
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _ppsz_lua_exts,8,3 ; @ppsz_lua_exts
.no_dead_strip _file_select
.subsections_via_symbols
| assembly_file_2709.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _axp20x_device_probe ## -- Begin function axp20x_device_probe
.p2align 4, 0x90
_axp20x_device_probe: ## @axp20x_device_probe
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq (%rdi), %rax
movq _AXP806_ID@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.1:
movq 16(%rbx), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _of_property_read_bool
testq %rax, %rax
jne LBB0_5
## %bb.3:
movq 16(%rbx), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
callq _of_property_read_bool
testq %rax, %rax
jne LBB0_5
## %bb.4:
movq _AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE@GOTPCREL(%rip), %rax
LBB0_6:
movl 44(%rbx), %edi
movq _AXP806_REG_ADDR_EXT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl (%rax), %edx
callq _regmap_write
LBB0_7:
movq _IRQF_ONESHOT@GOTPCREL(%rip), %rax
movq _IRQF_SHARED@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
orl 8(%rbx), %edx
movl 44(%rbx), %edi
movl 28(%rbx), %esi
movl 40(%rbx), %r8d
leaq 24(%rbx), %r9
movl $-1, %ecx
callq _regmap_add_irq_chip
movq 16(%rbx), %rdi
testl %eax, %eax
je LBB0_9
## %bb.8:
movl %eax, %r14d
leaq L_.str.2(%rip), %rsi
movl %eax, %edx
callq _dev_err
jmp LBB0_14
LBB0_9:
movl 32(%rbx), %ecx
movl 36(%rbx), %edx
movq $0, (%rsp)
movl $-1, %esi
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _mfd_add_devices
testl %eax, %eax
je LBB0_11
## %bb.10:
movl %eax, %r14d
movq 16(%rbx), %rdi
leaq L_.str.3(%rip), %rsi
movl %eax, %edx
callq _dev_err
movl 24(%rbx), %esi
movl 28(%rbx), %edi
callq _regmap_del_irq_chip
jmp LBB0_14
LBB0_11:
movq _pm_power_off@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_13
## %bb.12:
movq _axp20x_pm_power_off@GOTPCREL(%rip), %rcx
movq %rbx, (%rcx)
movq _axp20x_power_off@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, (%rax)
LBB0_13:
movq 16(%rbx), %rdi
leaq L_.str.4(%rip), %rsi
callq _dev_info
xorl %r14d, %r14d
LBB0_14:
movl %r14d, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AXP806_ID,8,3 ## @AXP806_ID
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "x-powers,master-mode"
L_.str.1: ## @.str.1
.asciz "x-powers,self-working-mode"
.comm _AXP806_REG_ADDR_EXT,4,2 ## @AXP806_REG_ADDR_EXT
.comm _AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE,4,2 ## @AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE
.comm _AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE,4,2 ## @AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE
.comm _IRQF_ONESHOT,4,2 ## @IRQF_ONESHOT
.comm _IRQF_SHARED,4,2 ## @IRQF_SHARED
L_.str.2: ## @.str.2
.asciz "failed to add irq chip: %d\n"
L_.str.3: ## @.str.3
.asciz "failed to add MFD devices: %d\n"
.comm _pm_power_off,8,3 ## @pm_power_off
.comm _axp20x_pm_power_off,8,3 ## @axp20x_pm_power_off
.comm _axp20x_power_off,8,3 ## @axp20x_power_off
L_.str.4: ## @.str.4
.asciz "AXP20X driver loaded\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _axp20x_device_probe ; -- Begin function axp20x_device_probe
.p2align 2
_axp20x_device_probe: ; @axp20x_device_probe
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
Lloh0:
adrp x9, _AXP806_ID@GOTPAGE
Lloh1:
ldr x9, [x9, _AXP806_ID@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.1:
ldr x8, [x19, #16]
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _of_property_read_bool
Lloh5:
adrp x20, _AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE@GOTPAGE
Lloh6:
ldr x20, [x20, _AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE@GOTPAGEOFF]
cbnz x0, LBB0_3
; %bb.2:
ldr x8, [x19, #16]
ldr w0, [x8]
Lloh7:
adrp x1, l_.str.1@PAGE
Lloh8:
add x1, x1, l_.str.1@PAGEOFF
bl _of_property_read_bool
Lloh9:
adrp x8, _AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE@GOTPAGE
Lloh10:
ldr x8, [x8, _AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE@GOTPAGEOFF]
cmp x0, #0
csel x20, x8, x20, eq
LBB0_3:
ldr w0, [x19, #44]
Lloh11:
adrp x8, _AXP806_REG_ADDR_EXT@GOTPAGE
Lloh12:
ldr x8, [x8, _AXP806_REG_ADDR_EXT@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
ldr w2, [x20]
bl _regmap_write
LBB0_4:
ldr w1, [x19, #28]
Lloh14:
adrp x8, _IRQF_ONESHOT@GOTPAGE
Lloh15:
ldr x8, [x8, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _IRQF_SHARED@GOTPAGE
Lloh18:
ldr x9, [x9, _IRQF_SHARED@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
orr w8, w9, w8
ldr w9, [x19, #8]
orr w2, w8, w9
ldp w4, w0, [x19, #40]
add x5, x19, #24
mov w3, #-1
bl _regmap_add_irq_chip
mov x20, x0
ldr x0, [x19, #16]
cbz w20, LBB0_6
; %bb.5:
Lloh20:
adrp x1, l_.str.2@PAGE
Lloh21:
add x1, x1, l_.str.2@PAGEOFF
mov x2, x20
bl _dev_err
b LBB0_11
LBB0_6:
ldp w3, w2, [x19, #32]
mov w1, #-1
mov x4, #0
mov w5, #0
mov x6, #0
bl _mfd_add_devices
cbz w0, LBB0_8
; %bb.7:
mov x20, x0
ldr x0, [x19, #16]
Lloh22:
adrp x1, l_.str.3@PAGE
Lloh23:
add x1, x1, l_.str.3@PAGEOFF
mov x2, x20
bl _dev_err
ldp w1, w0, [x19, #24]
bl _regmap_del_irq_chip
b LBB0_11
LBB0_8:
Lloh24:
adrp x8, _pm_power_off@GOTPAGE
Lloh25:
ldr x8, [x8, _pm_power_off@GOTPAGEOFF]
ldr x9, [x8]
cbnz x9, LBB0_10
; %bb.9:
Lloh26:
adrp x9, _axp20x_pm_power_off@GOTPAGE
Lloh27:
ldr x9, [x9, _axp20x_pm_power_off@GOTPAGEOFF]
Lloh28:
str x19, [x9]
Lloh29:
adrp x9, _axp20x_power_off@GOTPAGE
Lloh30:
ldr x9, [x9, _axp20x_power_off@GOTPAGEOFF]
Lloh31:
ldr x9, [x9]
str x9, [x8]
LBB0_10:
ldr x0, [x19, #16]
Lloh32:
adrp x1, l_.str.4@PAGE
Lloh33:
add x1, x1, l_.str.4@PAGEOFF
bl _dev_info
mov w20, #0
LBB0_11:
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotStr Lloh26, Lloh27, Lloh28
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.comm _AXP806_ID,8,3 ; @AXP806_ID
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "x-powers,master-mode"
l_.str.1: ; @.str.1
.asciz "x-powers,self-working-mode"
.comm _AXP806_REG_ADDR_EXT,4,2 ; @AXP806_REG_ADDR_EXT
.comm _AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE,4,2 ; @AXP806_REG_ADDR_EXT_ADDR_MASTER_MODE
.comm _AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE,4,2 ; @AXP806_REG_ADDR_EXT_ADDR_SLAVE_MODE
.comm _IRQF_ONESHOT,4,2 ; @IRQF_ONESHOT
.comm _IRQF_SHARED,4,2 ; @IRQF_SHARED
l_.str.2: ; @.str.2
.asciz "failed to add irq chip: %d\n"
l_.str.3: ; @.str.3
.asciz "failed to add MFD devices: %d\n"
.comm _pm_power_off,8,3 ; @pm_power_off
.comm _axp20x_pm_power_off,8,3 ; @axp20x_pm_power_off
.comm _axp20x_power_off,8,3 ; @axp20x_power_off
l_.str.4: ; @.str.4
.asciz "AXP20X driver loaded\n"
.subsections_via_symbols
| AnghaBench/linux/drivers/mfd/extr_axp20x.c_axp20x_device_probe.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mly_done
_mly_done: ## @mly_done
.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
callq _MLY_ASSERT_LOCKED
movq _MLY_HM_STSREADY@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %r15, %rdi
callq _MLY_ODBR_TRUE
testq %rax, %rax
je LBB0_1
## %bb.2:
movq 48(%r15), %rsi
movq %r15, %rdi
callq _MLY_GET_REG2
movq _MLY_SLOT_MAX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_4
## %bb.3:
movq _MLY_SLOT_START@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
subq %rcx, %rax
leaq (%rax,%rax,2), %r13
movq 24(%r15), %rbx
movq 48(%r15), %rsi
leaq (%rbx,%r13,8), %r14
addq $2, %rsi
movq %r15, %rdi
callq _MLY_GET_REG
movq %rax, 16(%rbx,%r13,8)
movq 48(%r15), %rsi
addq $3, %rsi
movq %r15, %rdi
callq _MLY_GET_REG
movq %rax, 8(%rbx,%r13,8)
movq 48(%r15), %rsi
addq $4, %rsi
movq %r15, %rdi
callq _MLY_GET_REG4
movl %eax, 4(%rbx,%r13,8)
movq %r14, %rdi
callq _mly_remove_busy
movq _MLY_CMD_BUSY@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%rbx,%r13,8)
movq %r14, %rdi
callq _mly_enqueue_complete
movl $1, %ebx
jmp LBB0_5
LBB0_1:
xorl %ebx, %ebx
jmp LBB0_6
LBB0_4:
leaq L_.str(%rip), %rsi
xorl %ebx, %ebx
movq %r15, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _mly_printf
LBB0_5:
movl 16(%r15), %esi
movl (%r12), %edx
movq %r15, %rdi
callq _MLY_SET_REG
movl 40(%r15), %esi
movq _MLY_HM_STSACK@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _MLY_SET_REG
LBB0_6:
movq _MLY_AM_STSREADY@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _MLY_ODBR_TRUE
testq %rax, %rax
je LBB0_17
## %bb.7:
movq (%r15), %rcx
movq 32(%r15), %rax
movq (%rax), %rax
movq %rcx, %r14
shlq $5, %r14
movq (%rax,%r14), %rdx
testq %rdx, %rdx
je LBB0_16
## %bb.8:
addq %rax, %r14
movq _MLY_SLOT_MAX@GOTPCREL(%rip), %r12
movq _MLY_MMBOX_STATUS@GOTPCREL(%rip), %r13
movq %r15, -48(%rbp) ## 8-byte Spill
jmp LBB0_9
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
xorl %edx, %edx
divq %rcx
movq %rdx, %rcx
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movq %rcx, (%r15)
movq 32(%r15), %rax
movq (%rax), %rax
movq %rcx, %rdx
shlq $5, %rdx
leaq (%rax,%rdx), %r14
movq (%rax,%rdx), %rdx
testq %rdx, %rdx
je LBB0_16
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpq (%r12), %rdx
jge LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq 24(%r15), %r13
movq _MLY_SLOT_START@GOTPCREL(%rip), %rsi
subq (%rsi), %rdx
movq %r12, %r15
leaq (%rdx,%rdx,2), %r12
leaq (,%r12,8), %rbx
addq %r13, %rbx
shlq $5, %rcx
movq 24(%rax,%rcx), %rdx
movq %rdx, 16(%r13,%r12,8)
movq 16(%rax,%rcx), %rdx
movq %rdx, 8(%r13,%r12,8)
movl 8(%rax,%rcx), %eax
movl %eax, 4(%r13,%r12,8)
movq %rbx, %rdi
callq _mly_remove_busy
movq _MLY_CMD_BUSY@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%r13,%r12,8)
movq _MLY_MMBOX_STATUS@GOTPCREL(%rip), %r13
movq %r15, %r12
movq -48(%rbp), %r15 ## 8-byte Reload
movq %rbx, %rdi
callq _mly_enqueue_complete
movl $1, %ebx
jmp LBB0_12
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_9 Depth=1
movq %r15, %rdi
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
callq _mly_printf
LBB0_12: ## in Loop: Header=BB0_9 Depth=1
movq $0, (%r14)
movq (%r15), %rax
incq %rax
movslq (%r13), %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_9 Depth=1
## kill: def $eax killed $eax killed $rax
xorl %edx, %edx
divl %ecx
movl %edx, %ecx
jmp LBB0_15
LBB0_16:
movl 16(%r15), %esi
movq _MLY_AM_STSREADY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _MLY_SET_REG
LBB0_17:
testl %ebx, %ebx
je LBB0_20
## %bb.18:
movq _MLY_STATE_INTERRUPTS_ON@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%r15)
je LBB0_19
## %bb.21:
movq _taskqueue_thread@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $12, %r15
movq %r15, %rsi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _taskqueue_enqueue ## TAILCALL
LBB0_20:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _mly_complete ## TAILCALL
.cfi_endproc
## -- End function
.comm _MLY_HM_STSREADY,4,2 ## @MLY_HM_STSREADY
.comm _MLY_SLOT_MAX,8,3 ## @MLY_SLOT_MAX
.comm _MLY_SLOT_START,8,3 ## @MLY_SLOT_START
.comm _MLY_CMD_BUSY,4,2 ## @MLY_CMD_BUSY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "got HM completion for illegal slot %u\n"
.comm _MLY_HM_STSACK,4,2 ## @MLY_HM_STSACK
.comm _MLY_AM_STSREADY,4,2 ## @MLY_AM_STSREADY
L_.str.1: ## @.str.1
.asciz "got AM completion for illegal slot %u at %d\n"
.comm _MLY_MMBOX_STATUS,4,2 ## @MLY_MMBOX_STATUS
.comm _MLY_STATE_INTERRUPTS_ON,4,2 ## @MLY_STATE_INTERRUPTS_ON
.comm _taskqueue_thread,4,2 ## @taskqueue_thread
.no_dead_strip _mly_done
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mly_done
_mly_done: ; @mly_done
.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
mov x19, x0
bl _MLY_ASSERT_LOCKED
Lloh0:
adrp x23, _MLY_HM_STSREADY@GOTPAGE
Lloh1:
ldr x23, [x23, _MLY_HM_STSREADY@GOTPAGEOFF]
ldr w1, [x23]
mov x0, x19
bl _MLY_ODBR_TRUE
Lloh2:
adrp x22, _MLY_SLOT_MAX@GOTPAGE
Lloh3:
ldr x22, [x22, _MLY_SLOT_MAX@GOTPAGEOFF]
cbz x0, LBB0_3
; %bb.1:
ldr x1, [x19, #48]
mov x0, x19
bl _MLY_GET_REG2
mov x2, x0
ldr x8, [x22]
cmp x0, x8
b.ge LBB0_4
; %bb.2:
ldr x8, [x19, #24]
Lloh4:
adrp x9, _MLY_SLOT_START@GOTPAGE
Lloh5:
ldr x9, [x9, _MLY_SLOT_START@GOTPAGEOFF]
Lloh6:
ldr x9, [x9]
sub x9, x2, x9
mov w10, #24
madd x20, x9, x10, x8
ldr x8, [x19, #48]
add x1, x8, #2
mov x0, x19
bl _MLY_GET_REG
str x0, [x20, #16]
ldr x8, [x19, #48]
add x1, x8, #3
mov x0, x19
bl _MLY_GET_REG
str x0, [x20, #8]
ldr x8, [x19, #48]
add x1, x8, #4
mov x0, x19
bl _MLY_GET_REG4
str w0, [x20, #4]
mov x0, x20
bl _mly_remove_busy
Lloh7:
adrp x8, _MLY_CMD_BUSY@GOTPAGE
Lloh8:
ldr x8, [x8, _MLY_CMD_BUSY@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
ldr w9, [x20]
bic w8, w9, w8
str w8, [x20]
mov x0, x20
bl _mly_enqueue_complete
mov w21, #1
b LBB0_5
LBB0_3:
mov w21, #0
b LBB0_6
LBB0_4:
Lloh10:
adrp x1, l_.str@PAGE
Lloh11:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _mly_printf
mov w21, #0
LBB0_5:
ldr w1, [x19, #16]
ldr w2, [x23]
mov x0, x19
bl _MLY_SET_REG
ldr w1, [x19, #40]
Lloh12:
adrp x8, _MLY_HM_STSACK@GOTPAGE
Lloh13:
ldr x8, [x8, _MLY_HM_STSACK@GOTPAGEOFF]
Lloh14:
ldr w2, [x8]
mov x0, x19
bl _MLY_SET_REG
LBB0_6:
Lloh15:
adrp x23, _MLY_AM_STSREADY@GOTPAGE
Lloh16:
ldr x23, [x23, _MLY_AM_STSREADY@GOTPAGEOFF]
ldr w1, [x23]
mov x0, x19
bl _MLY_ODBR_TRUE
cbz x0, LBB0_14
; %bb.7:
ldr x8, [x19, #32]
ldr x9, [x8]
ldr x8, [x19]
add x27, x9, x8, lsl #5
ldr x2, [x27]
cbz x2, LBB0_13
; %bb.8:
Lloh17:
adrp x24, _MLY_SLOT_START@GOTPAGE
Lloh18:
ldr x24, [x24, _MLY_SLOT_START@GOTPAGEOFF]
mov w25, #24
Lloh19:
adrp x26, _MLY_CMD_BUSY@GOTPAGE
Lloh20:
ldr x26, [x26, _MLY_CMD_BUSY@GOTPAGEOFF]
Lloh21:
adrp x28, _MLY_MMBOX_STATUS@GOTPAGE
Lloh22:
ldr x28, [x28, _MLY_MMBOX_STATUS@GOTPAGEOFF]
Lloh23:
adrp x20, l_.str.1@PAGE
Lloh24:
add x20, x20, l_.str.1@PAGEOFF
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=1
str x8, [sp]
mov x0, x19
mov x1, x20
bl _mly_printf
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
str xzr, [x27]
ldr x8, [x19]
add x8, x8, #1
ldrsw x9, [x28]
udiv x10, x8, x9
msub x8, x10, x9, x8
str x8, [x19]
ldr x9, [x19, #32]
ldr x9, [x9]
add x27, x9, x8, lsl #5
ldr x2, [x27]
cbz x2, LBB0_13
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x10, [x22]
cmp x2, x10
b.ge LBB0_9
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x10, [x19, #24]
ldr x11, [x24]
sub x11, x2, x11
madd x21, x11, x25, x10
add x8, x9, x8, lsl #5
ldr x9, [x8, #24]
str x9, [x21, #16]
ldr x9, [x8, #16]
str x9, [x21, #8]
ldr w8, [x8, #8]
str w8, [x21, #4]
mov x0, x21
bl _mly_remove_busy
ldr w8, [x26]
ldr w9, [x21]
bic w8, w9, w8
str w8, [x21]
mov x0, x21
bl _mly_enqueue_complete
mov w21, #1
b LBB0_10
LBB0_13:
ldr w1, [x19, #16]
ldr w2, [x23]
mov x0, x19
bl _MLY_SET_REG
LBB0_14:
cbz w21, LBB0_17
; %bb.15:
ldr w8, [x19, #8]
Lloh25:
adrp x9, _MLY_STATE_INTERRUPTS_ON@GOTPAGE
Lloh26:
ldr x9, [x9, _MLY_STATE_INTERRUPTS_ON@GOTPAGEOFF]
Lloh27:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_18
; %bb.16:
Lloh28:
adrp x8, _taskqueue_thread@GOTPAGE
Lloh29:
ldr x8, [x8, _taskqueue_thread@GOTPAGEOFF]
Lloh30:
ldr w0, [x8]
add x1, x19, #12
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
b _taskqueue_enqueue
LBB0_17:
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
LBB0_18:
mov x0, x19
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
b _mly_complete
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.cfi_endproc
; -- End function
.comm _MLY_HM_STSREADY,4,2 ; @MLY_HM_STSREADY
.comm _MLY_SLOT_MAX,8,3 ; @MLY_SLOT_MAX
.comm _MLY_SLOT_START,8,3 ; @MLY_SLOT_START
.comm _MLY_CMD_BUSY,4,2 ; @MLY_CMD_BUSY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "got HM completion for illegal slot %u\n"
.comm _MLY_HM_STSACK,4,2 ; @MLY_HM_STSACK
.comm _MLY_AM_STSREADY,4,2 ; @MLY_AM_STSREADY
l_.str.1: ; @.str.1
.asciz "got AM completion for illegal slot %u at %d\n"
.comm _MLY_MMBOX_STATUS,4,2 ; @MLY_MMBOX_STATUS
.comm _MLY_STATE_INTERRUPTS_ON,4,2 ; @MLY_STATE_INTERRUPTS_ON
.comm _taskqueue_thread,4,2 ; @taskqueue_thread
.no_dead_strip _mly_done
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/mly/extr_mly.c_mly_done.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isc_win32os_servicepackminor ## -- Begin function isc_win32os_servicepackminor
.p2align 4, 0x90
_isc_win32os_servicepackminor: ## @isc_win32os_servicepackminor
.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
callq _initialize_action
movq _osVer@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _osVer,8,3 ## @osVer
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _isc_win32os_servicepackminor ; -- Begin function isc_win32os_servicepackminor
.p2align 2
_isc_win32os_servicepackminor: ; @isc_win32os_servicepackminor
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _initialize_action
Lloh0:
adrp x8, _osVer@GOTPAGE
Lloh1:
ldr x8, [x8, _osVer@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _osVer,8,3 ; @osVer
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_win32os.c_isc_win32os_servicepackminor.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function bridge_port_insert_at
_bridge_port_insert_at: ## @bridge_port_insert_at
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
xorl %edi, %edi
testq %rdx, %rdx
setne %dil
callq _assert
movq (%rbx), %rax
movq 8(%r14), %rcx
cmpq 8(%rax), %rcx
jl LBB0_3
## %bb.1:
movq _b_p@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl (%r15), %esi
movq %rax, %rdi
callq _TAILQ_NEXT
movq 8(%r14), %rcx
cmpq 8(%rax), %rcx
jge LBB0_2
LBB0_3:
movq _b_p@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq %rax, %rdi
movq %r14, %rsi
movq %rax, %r15
callq _TAILQ_INSERT_BEFORE
cmpq %r15, (%rbx)
jne LBB0_5
## %bb.4:
movq %r14, (%rbx)
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _b_p,4,2 ## @b_p
.no_dead_strip _bridge_port_insert_at
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function bridge_port_insert_at
_bridge_port_insert_at: ; @bridge_port_insert_at
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
cmp x2, #0
cset w0, ne
bl _assert
ldr x0, [x19]
ldr x8, [x20, #8]
ldr x9, [x0, #8]
cmp x8, x9
b.lt LBB0_3
; %bb.1:
Lloh0:
adrp x21, _b_p@GOTPAGE
Lloh1:
ldr x21, [x21, _b_p@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w1, [x21]
bl _TAILQ_NEXT
ldr x8, [x20, #8]
ldr x9, [x0, #8]
cmp x8, x9
b.ge LBB0_2
LBB0_3:
Lloh2:
adrp x8, _b_p@GOTPAGE
Lloh3:
ldr x8, [x8, _b_p@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
mov x21, x0
mov x1, x20
bl _TAILQ_INSERT_BEFORE
ldr x8, [x19]
cmp x8, x21
b.ne LBB0_5
; %bb.4:
str x20, [x19]
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _b_p,4,2 ; @b_p
.no_dead_strip _bridge_port_insert_at
.subsections_via_symbols
| assembly_file_55570.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _procstat_freeargv ## -- Begin function procstat_freeargv
.p2align 4, 0x90
_procstat_freeargv: ## @procstat_freeargv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _argvec_free
movq $0, (%rbx)
LBB0_2:
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 _procstat_freeargv ; -- Begin function procstat_freeargv
.p2align 2
_procstat_freeargv: ; @procstat_freeargv
.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]
cbz x0, LBB0_2
; %bb.1:
bl _argvec_free
str xzr, [x19]
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/lib/libprocstat/extr_libprocstat.c_procstat_freeargv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sh_edosk7705_insb ## -- Begin function sh_edosk7705_insb
.p2align 4, 0x90
_sh_edosk7705_insb: ## @sh_edosk7705_insb
.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
testq %rdx, %rdx
je LBB0_3
## %bb.1:
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _sh_edosk7705_inb
movb %al, (%r14,%rbx)
incq %rbx
cmpq %rbx, %r12
jne LBB0_2
LBB0_3:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sh_edosk7705_insb ; -- Begin function sh_edosk7705_insb
.p2align 2
_sh_edosk7705_insb: ; @sh_edosk7705_insb
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
cbz x2, LBB0_3
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub x19, x19, #1
mov x0, x21
bl _sh_edosk7705_inb
strb w0, [x20], #1
cbnz x19, LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/sh/boards/mach-edosk7705/extr_io.c_sh_edosk7705_insb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vdbeIncrMergerNew
_vdbeIncrMergerNew: ## @vdbeIncrMergerNew
.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, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq _SQLITE_OK@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movl $100, %edi
callq _sqlite3FaultSim
testq %rax, %rax
je LBB0_3
## %bb.1:
movq $0, (%rbx)
LBB0_2:
movq %r15, %rdi
callq _vdbeMergeEngineFree
movq _SQLITE_NOMEM_BKPT@GOTPCREL(%rip), %rax
movl (%rax), %r13d
jmp LBB0_5
LBB0_3:
movl $24, %edi
callq _sqlite3MallocZero
movq %rax, (%rbx)
testq %rax, %rax
je LBB0_2
## %bb.4:
movq %rax, %r12
movq %r15, 16(%rax)
movq %r14, 8(%rax)
movq 8(%r14), %rax
movq 8(%rax), %rdi
addq $9, %rdi
movl (%rax), %eax
movl %eax, %esi
shrl $31, %esi
addl %eax, %esi
sarl %esi
callq _MAX
movq %rax, (%r12)
addl %eax, (%r14)
LBB0_5:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.comm _SQLITE_NOMEM_BKPT,4,2 ## @SQLITE_NOMEM_BKPT
.no_dead_strip _vdbeIncrMergerNew
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vdbeIncrMergerNew
_vdbeIncrMergerNew: ; @vdbeIncrMergerNew
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x2
mov x21, x1
mov x20, x0
Lloh0:
adrp x8, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF]
Lloh2:
ldr w19, [x8]
mov w0, #100
bl _sqlite3FaultSim
cbz x0, LBB0_3
; %bb.1:
str xzr, [x22]
LBB0_2:
mov x0, x21
bl _vdbeMergeEngineFree
Lloh3:
adrp x8, _SQLITE_NOMEM_BKPT@GOTPAGE
Lloh4:
ldr x8, [x8, _SQLITE_NOMEM_BKPT@GOTPAGEOFF]
Lloh5:
ldr w19, [x8]
b LBB0_5
LBB0_3:
mov w0, #24
bl _sqlite3MallocZero
str x0, [x22]
cbz x0, LBB0_2
; %bb.4:
mov x23, x0
stp x20, x21, [x0, #8]
ldr x8, [x20, #8]
ldr x9, [x8, #8]
add x0, x9, #9
ldr w8, [x8]
cmp w8, #0
cinc w8, w8, lt
asr w1, w8, #1
bl _MAX
str x0, [x23]
ldr w8, [x20]
add w8, w8, w0
str w8, [x20]
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.comm _SQLITE_NOMEM_BKPT,4,2 ; @SQLITE_NOMEM_BKPT
.no_dead_strip _vdbeIncrMergerNew
.subsections_via_symbols
| AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_vdbeIncrMergerNew.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES
_A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES: ## @A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES
.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 _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
movq _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT,4,2 ## @A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT
.comm _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK,4,2 ## @A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK
.no_dead_strip _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES
_A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES: ; @A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
lsl w8, w0, w8
Lloh3:
adrp x9, _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK@GOTPAGE
Lloh4:
ldr x9, [x9, _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
and w0, w8, w9
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT,4,2 ; @A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__SHIFT
.comm _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK,4,2 ; @A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES__MASK
.no_dead_strip _A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/msm/adreno/extr_a6xx.xml.h_A6XX_GRAS_DEST_MSAA_CNTL_SAMPLES.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function show_pwm
_show_pwm: ## @show_pwm
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq _to_sensor_dev_attr_2
movq %rax, %rbx
movq %r15, %rdi
callq _w83793_update_device
movslq (%rbx), %rcx
movslq 4(%rbx), %rdx
movq _PWM_STOP_TIME@GOTPCREL(%rip), %rsi
cmpl %ecx, (%rsi)
jne LBB0_2
## %bb.1:
movq 8(%rax), %rax
movl (%rax,%rdx,4), %edi
callq _TIME_FROM_REG
movl %eax, %edx
jmp LBB0_3
LBB0_2:
movq (%rax), %rax
movq (%rax,%rdx,8), %rax
movl (%rax,%rcx,4), %eax
shll $2, %eax
movzbl %al, %edx
LBB0_3:
leaq L_.str(%rip), %rsi
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _sprintf ## TAILCALL
.cfi_endproc
## -- End function
.comm _PWM_STOP_TIME,4,2 ## @PWM_STOP_TIME
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d\n"
.no_dead_strip _show_pwm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function show_pwm
_show_pwm: ; @show_pwm
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
mov x0, x1
bl _to_sensor_dev_attr_2
mov x21, x0
mov x0, x20
bl _w83793_update_device
ldpsw x8, x9, [x21]
Lloh0:
adrp x10, _PWM_STOP_TIME@GOTPAGE
Lloh1:
ldr x10, [x10, _PWM_STOP_TIME@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
cmp w10, w8
b.ne LBB0_2
; %bb.1:
ldr x8, [x0, #8]
ldr w0, [x8, x9, lsl #2]
bl _TIME_FROM_REG
mov x2, x0
b LBB0_3
LBB0_2:
ldr x10, [x0]
ldr x9, [x10, x9, lsl #3]
ldr w8, [x9, x8, lsl #2]
ubfiz w2, w8, #2, #6
LBB0_3:
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
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 _sprintf
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _PWM_STOP_TIME,4,2 ; @PWM_STOP_TIME
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d\n"
.no_dead_strip _show_pwm
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/hwmon/extr_w83793.c_show_pwm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_vx222_dev_free
_snd_vx222_dev_free: ## @snd_vx222_dev_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rdi
popq %rbp
jmp _snd_vx222_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _snd_vx222_dev_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_vx222_dev_free
_snd_vx222_dev_free: ; @snd_vx222_dev_free
.cfi_startproc
; %bb.0:
ldr x0, [x0]
b _snd_vx222_free
.cfi_endproc
; -- End function
.no_dead_strip _snd_vx222_dev_free
.subsections_via_symbols
| AnghaBench/linux/sound/pci/vx222/extr_vx222.c_snd_vx222_dev_free.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
subq $16, %rsp
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %esi
testb $1, %sil
leaq L_.str.2(%rip), %rax
leaq L_.str.3(%rip), %rdi
cmoveq %rax, %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite um numero positivo: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "O numero %d e par"
L_.str.3: ## @.str.3
.asciz "O numero %d e impar"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-4]
Lloh4:
adrp x9, l_.str.3@PAGE
Lloh5:
add x9, x9, l_.str.3@PAGEOFF
Lloh6:
adrp x10, l_.str.2@PAGE
Lloh7:
add x10, x10, l_.str.2@PAGEOFF
tst w8, #0x1
csel x0, x10, x9, eq
str x8, [sp]
bl _printf
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.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 "Digite um numero positivo: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "O numero %d e par"
l_.str.3: ; @.str.3
.asciz "O numero %d e impar"
.subsections_via_symbols
| the_stack_data/23574927.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _SetupTrace ## -- Begin function SetupTrace
.p2align 4, 0x90
_SetupTrace: ## @SetupTrace
.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 20(%rdi), %edi
movl 8(%rbx), %esi
movl 16(%rbx), %edx
callq _VectorSubtract
movl 12(%rbx), %esi
movl 16(%rbx), %edi
callq _VectorNormalize
movss %xmm0, (%rbx)
movl 4(%rbx), %esi
movl 8(%rbx), %edi
callq _VectorCopy
movss (%rbx), %xmm0 ## xmm0 = mem[0],zero,zero,zero
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 _SetupTrace ; -- Begin function SetupTrace
.p2align 2
_SetupTrace: ; @SetupTrace
.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 w1, [x0, #8]
ldr w0, [x0, #20]
ldr w2, [x19, #16]
bl _VectorSubtract
ldp w1, w0, [x19, #12]
bl _VectorNormalize
str s0, [x19]
ldp w1, w0, [x19, #4]
bl _VectorCopy
ldr s0, [x19]
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/lab/q3map2/q3map2/extr_light_trace.c_SetupTrace.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ieee80211_wx_get_essid ## -- Begin function ieee80211_wx_get_essid
.p2align 4, 0x90
_ieee80211_wx_get_essid: ## @ieee80211_wx_get_essid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movq (%rdi), %rax
movq _IW_MODE_MONITOR@GOTPCREL(%rip), %rcx
movl $-1, %r13d
cmpq (%rcx), %rax
je LBB0_8
## %bb.1:
movq %rdx, %r14
movq %rdi, %rbx
leaq 24(%rdi), %r15
movq %r15, %rdi
callq _spin_lock_irqsave
movq 32(%rbx), %rax
movl $-1, %r13d
cmpb $0, (%rax)
je LBB0_7
## %bb.2:
movl 40(%rbx), %edx
testl %edx, %edx
je LBB0_7
## %bb.3:
movq 8(%rbx), %rax
movq _IEEE80211_LINKED@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.4:
movq _IEEE80211_LINKED_SCANNING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_6
## %bb.5:
cmpq $0, 16(%rbx)
je LBB0_7
LBB0_6:
movl %edx, (%r14)
movq 32(%rbx), %rsi
movq %r12, %rdi
callq _strncpy
movl $1, 4(%r14)
xorl %r13d, %r13d
LBB0_7:
movq %r15, %rdi
callq _spin_unlock_irqrestore
LBB0_8:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IW_MODE_MONITOR,8,3 ## @IW_MODE_MONITOR
.comm _IEEE80211_LINKED,8,3 ## @IEEE80211_LINKED
.comm _IEEE80211_LINKED_SCANNING,8,3 ## @IEEE80211_LINKED_SCANNING
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ieee80211_wx_get_essid ; -- Begin function ieee80211_wx_get_essid
.p2align 2
_ieee80211_wx_get_essid: ; @ieee80211_wx_get_essid
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x0]
Lloh0:
adrp x9, _IW_MODE_MONITOR@GOTPAGE
Lloh1:
ldr x9, [x9, _IW_MODE_MONITOR@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
mov w21, #-1
b LBB0_9
LBB0_2:
mov x21, x3
mov x20, x2
mov x22, x0
add x19, x0, #24
mov x0, x19
bl _spin_lock_irqsave
ldr x8, [x22, #32]
ldrb w8, [x8]
cbz w8, LBB0_7
; %bb.3:
ldr w2, [x22, #40]
cbz w2, LBB0_7
; %bb.4:
ldr x8, [x22, #8]
Lloh3:
adrp x9, _IEEE80211_LINKED@GOTPAGE
Lloh4:
ldr x9, [x9, _IEEE80211_LINKED@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
Lloh6:
adrp x10, _IEEE80211_LINKED_SCANNING@GOTPAGE
Lloh7:
ldr x10, [x10, _IEEE80211_LINKED_SCANNING@GOTPAGEOFF]
Lloh8:
ldr x10, [x10]
cmp x8, x9
ccmp x8, x10, #4, ne
b.eq LBB0_6
; %bb.5:
ldr x8, [x22, #16]
cbz x8, LBB0_7
LBB0_6:
str w2, [x20]
ldr x1, [x22, #32]
mov x0, x21
bl _strncpy
mov w21, #0
mov w8, #1
str w8, [x20, #4]
b LBB0_8
LBB0_7:
mov w21, #-1
LBB0_8:
mov x0, x19
bl _spin_unlock_irqrestore
LBB0_9:
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _IW_MODE_MONITOR,8,3 ; @IW_MODE_MONITOR
.comm _IEEE80211_LINKED,8,3 ; @IEEE80211_LINKED
.comm _IEEE80211_LINKED_SCANNING,8,3 ; @IEEE80211_LINKED_SCANNING
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/rtl8187se/ieee80211/extr_ieee80211_softmac_wx.c_ieee80211_wx_get_essid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _OSSL_CRMF_MSG_set_validity ## -- Begin function OSSL_CRMF_MSG_set_validity
.p2align 4, 0x90
_OSSL_CRMF_MSG_set_validity: ## @OSSL_CRMF_MSG_set_validity
.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, %r14
movq %rsi, %rbx
callq _OSSL_CRMF_MSG_get0_tmpl
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r15
testq %rbx, %rbx
je LBB0_3
## %bb.4:
xorl %r13d, %r13d
xorl %edi, %edi
movq %rbx, %rsi
callq _ASN1_TIME_set
movl $0, %r12d
testq %rax, %rax
jne LBB0_5
jmp LBB0_10
LBB0_1:
movq _CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _CRMF_R_NULL_ARGUMENT@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _CRMFerr
jmp LBB0_11
LBB0_3:
xorl %eax, %eax
LBB0_5:
movq %rax, %r13
testq %r14, %r14
je LBB0_6
## %bb.7:
xorl %r12d, %r12d
xorl %edi, %edi
movq %r14, %rsi
callq _ASN1_TIME_set
movq %rax, %rbx
testq %rax, %rax
jne LBB0_8
jmp LBB0_10
LBB0_6:
xorl %ebx, %ebx
LBB0_8:
xorl %eax, %eax
callq _OSSL_CRMF_OPTIONALVALIDITY_new
testq %rax, %rax
je LBB0_9
## %bb.13:
movq %r13, 8(%rax)
movq %rbx, (%rax)
movq %rax, (%r15)
movl $1, %eax
jmp LBB0_12
LBB0_9:
movq %rbx, %r12
LBB0_10:
movq %r13, %rdi
callq _ASN1_TIME_free
movq %r12, %rdi
callq _ASN1_TIME_free
LBB0_11:
xorl %eax, %eax
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY,4,2 ## @CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY
.comm _CRMF_R_NULL_ARGUMENT,4,2 ## @CRMF_R_NULL_ARGUMENT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _OSSL_CRMF_MSG_set_validity ; -- Begin function OSSL_CRMF_MSG_set_validity
.p2align 2
_OSSL_CRMF_MSG_set_validity: ; @OSSL_CRMF_MSG_set_validity
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x20, x1
bl _OSSL_CRMF_MSG_get0_tmpl
cbz x0, LBB0_7
; %bb.1:
mov x19, x0
cbz x20, LBB0_3
; %bb.2:
mov x0, #0
mov x1, x20
bl _ASN1_TIME_set
mov x20, x0
cbz x0, LBB0_8
LBB0_3:
cbz x21, LBB0_5
; %bb.4:
mov x0, #0
mov x1, x21
bl _ASN1_TIME_set
mov x21, x0
cbz x0, LBB0_9
LBB0_5:
bl _OSSL_CRMF_OPTIONALVALIDITY_new
cbz x0, LBB0_9
; %bb.6:
mov x8, x0
stp x21, x20, [x0]
mov w0, #1
str x8, [x19]
b LBB0_11
LBB0_7:
Lloh0:
adrp x8, _CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY@GOTPAGE
Lloh1:
ldr x8, [x8, _CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _CRMF_R_NULL_ARGUMENT@GOTPAGE
Lloh4:
ldr x8, [x8, _CRMF_R_NULL_ARGUMENT@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _CRMFerr
b LBB0_10
LBB0_8:
mov x21, #0
LBB0_9:
mov x0, x20
bl _ASN1_TIME_free
mov x0, x21
bl _ASN1_TIME_free
LBB0_10:
mov w0, #0
LBB0_11:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY,4,2 ; @CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY
.comm _CRMF_R_NULL_ARGUMENT,4,2 ; @CRMF_R_NULL_ARGUMENT
.subsections_via_symbols
| AnghaBench/openssl/crypto/crmf/extr_crmf_lib.c_OSSL_CRMF_MSG_set_validity.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_column_size
_get_column_size: ## @get_column_size
.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 _COL_TYPE_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
andl (%rax,%rsi,4), %edi
popq %rbp
jmp _get_type_size ## TAILCALL
.cfi_endproc
## -- End function
.comm _COL_TYPE_MASK,4,2 ## @COL_TYPE_MASK
.no_dead_strip _get_column_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_column_size
_get_column_size: ; @get_column_size
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr w8, [x8, x1, lsl #2]
Lloh0:
adrp x9, _COL_TYPE_MASK@GOTPAGE
Lloh1:
ldr x9, [x9, _COL_TYPE_MASK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
and w0, w9, w8
b _get_type_size
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COL_TYPE_MASK,4,2 ; @COL_TYPE_MASK
.no_dead_strip _get_column_size
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/wbemprox/extr_table.c_get_column_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function atiixp_pci_suspend
_atiixp_pci_suspend: ## @atiixp_pci_suspend
.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
callq _pcm_getdevinfo
movq %rax, %rbx
movq %rax, %rdi
callq _atiixp_lock
movq %rbx, %rdi
callq _atiixp_disable_interrupts
movq %rbx, %rdi
callq _atiixp_unlock
movq _ATI_IXP_CHN_RUNNING@GOTPCREL(%rip), %r15
movl (%r15), %eax
testl %eax, 4(%rbx)
je LBB0_2
## %bb.1:
movq %rbx, %r14
addq $4, %r14
movq _PCMTRIG_STOP@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %edi, %edi
movq %r14, %rsi
callq _atiixp_chan_trigger
movq _ATI_IXP_CHN_SUSPEND@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%r14)
movl (%r15), %eax
LBB0_2:
testl %eax, (%rbx)
je LBB0_4
## %bb.3:
movq _PCMTRIG_STOP@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %edi, %edi
movq %rbx, %rsi
callq _atiixp_chan_trigger
movq _ATI_IXP_CHN_SUSPEND@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rbx)
LBB0_4:
movq %rbx, %rdi
callq _atiixp_lock
movq _ATI_REG_CMD@GOTPCREL(%rip), %r14
movl (%r14), %esi
movq %rbx, %rdi
callq _atiixp_rd
movq _ATI_REG_CMD_POWERDOWN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl (%r14), %esi
movq %rbx, %rdi
callq _atiixp_wr
movq %rbx, %rdi
callq _atiixp_unlock
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ATI_IXP_CHN_RUNNING,4,2 ## @ATI_IXP_CHN_RUNNING
.comm _PCMTRIG_STOP,4,2 ## @PCMTRIG_STOP
.comm _ATI_IXP_CHN_SUSPEND,4,2 ## @ATI_IXP_CHN_SUSPEND
.comm _ATI_REG_CMD,4,2 ## @ATI_REG_CMD
.comm _ATI_REG_CMD_POWERDOWN,4,2 ## @ATI_REG_CMD_POWERDOWN
.comm _ATI_REG_CMD_AC_RESET,4,2 ## @ATI_REG_CMD_AC_RESET
.no_dead_strip _atiixp_pci_suspend
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function atiixp_pci_suspend
_atiixp_pci_suspend: ; @atiixp_pci_suspend
.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
bl _pcm_getdevinfo
mov x19, x0
bl _atiixp_lock
mov x0, x19
bl _atiixp_disable_interrupts
mov x0, x19
bl _atiixp_unlock
mov x20, x19
ldr w9, [x20, #4]!
Lloh0:
adrp x23, _ATI_IXP_CHN_RUNNING@GOTPAGE
Lloh1:
ldr x23, [x23, _ATI_IXP_CHN_RUNNING@GOTPAGEOFF]
ldr w8, [x23]
Lloh2:
adrp x22, _PCMTRIG_STOP@GOTPAGE
Lloh3:
ldr x22, [x22, _PCMTRIG_STOP@GOTPAGEOFF]
Lloh4:
adrp x21, _ATI_IXP_CHN_SUSPEND@GOTPAGE
Lloh5:
ldr x21, [x21, _ATI_IXP_CHN_SUSPEND@GOTPAGEOFF]
tst w8, w9
b.eq LBB0_2
; %bb.1:
ldr w2, [x22]
mov x0, #0
mov x1, x20
bl _atiixp_chan_trigger
ldr w8, [x21]
ldr w9, [x20]
orr w8, w9, w8
str w8, [x20]
ldr w8, [x23]
LBB0_2:
ldr w9, [x19]
tst w8, w9
b.eq LBB0_4
; %bb.3:
ldr w2, [x22]
mov x0, #0
mov x1, x19
bl _atiixp_chan_trigger
ldr w8, [x21]
ldr w9, [x19]
orr w8, w9, w8
str w8, [x19]
LBB0_4:
mov x0, x19
bl _atiixp_lock
Lloh6:
adrp x20, _ATI_REG_CMD@GOTPAGE
Lloh7:
ldr x20, [x20, _ATI_REG_CMD@GOTPAGEOFF]
ldr w1, [x20]
mov x0, x19
bl _atiixp_rd
Lloh8:
adrp x8, _ATI_REG_CMD_POWERDOWN@GOTPAGE
Lloh9:
ldr x8, [x8, _ATI_REG_CMD_POWERDOWN@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
ldr w1, [x20]
mov x0, x19
bl _atiixp_wr
mov x0, x19
bl _atiixp_unlock
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _ATI_IXP_CHN_RUNNING,4,2 ; @ATI_IXP_CHN_RUNNING
.comm _PCMTRIG_STOP,4,2 ; @PCMTRIG_STOP
.comm _ATI_IXP_CHN_SUSPEND,4,2 ; @ATI_IXP_CHN_SUSPEND
.comm _ATI_REG_CMD,4,2 ; @ATI_REG_CMD
.comm _ATI_REG_CMD_POWERDOWN,4,2 ; @ATI_REG_CMD_POWERDOWN
.comm _ATI_REG_CMD_AC_RESET,4,2 ; @ATI_REG_CMD_AC_RESET
.no_dead_strip _atiixp_pci_suspend
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/sound/pci/extr_atiixp.c_atiixp_pci_suspend.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.