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 _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $136, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
cmpl $1, %edi
je LBB0_13
## %bb.1:
movq %rsi, %rbx
leaq L_.str(%rip), %rdi
movl $109, %esi
callq _ftok
movl %eax, %edi
movl $950, %esi ## imm = 0x3B6
callq _msgget
testl %eax, %eax
js LBB0_2
## %bb.5:
movl %eax, %r14d
movq 8(%rbx), %rax
movsbl (%rax), %edi
callq ___tolower
## kill: def $eax killed $eax def $rax
addl $-100, %eax
cmpl $15, %eax
ja LBB0_13
## %bb.6:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_9:
movl %r14d, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _msgctl
jmp LBB0_3
LBB0_10:
movq 16(%rbx), %rbx
leaq -152(%rbp), %r15
movl %r14d, %edi
movl $2, %esi
movq %r15, %rdx
callq _msgctl
leaq -136(%rbp), %rdx
leaq L_.str.6(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _sscanf
movl %r14d, %edi
movl $1, %esi
movq %r15, %rdx
callq _msgctl
jmp LBB0_3
LBB0_11:
movq 16(%rbx), %rdi
callq _atol
movq %rax, %rbx
leaq L_str.12(%rip), %rdi
callq _puts
movq %rbx, -152(%rbp)
leaq -152(%rbp), %rsi
movl $80, %edx
movl %r14d, %edi
movq %rbx, %rcx
xorl %r8d, %r8d
callq _msgrcv
movq -152(%rbp), %rsi
leaq -144(%rbp), %rdx
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_3
LBB0_7:
movq 16(%rbx), %rdi
callq _atol
movq %rax, %r15
movq 24(%rbx), %rbx
leaq L_str(%rip), %rdi
callq _puts
movq %r15, -152(%rbp)
leaq -144(%rbp), %r15
movl $80, %edx
movq %r15, %rdi
movq %rbx, %rsi
callq ___strcpy_chk
movq %r15, %rdi
callq _strlen
leaq 1(%rax), %rdx
leaq -152(%rbp), %rsi
movl %r14d, %edi
xorl %ecx, %ecx
callq _msgsnd
cmpl $-1, %eax
jne LBB0_3
## %bb.8:
callq _main.cold.2
jmp LBB0_3
LBB0_2:
callq _main.cold.1
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_12
## %bb.4:
xorl %eax, %eax
addq $136, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
movq ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
leaq L_.str.7(%rip), %rdi
movl $48, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.8(%rip), %rdi
movl $23, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.9(%rip), %rdi
movl $23, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.10(%rip), %rdi
movl $25, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.11(%rip), %rdi
movl $23, %esi
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
LBB0_12:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
.long L0_0_set_9
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_10
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_13
.long L0_0_set_11
.long L0_0_set_7
.end_data_region
## -- End function
.globl _SendMessage ## -- Begin function SendMessage
.p2align 4, 0x90
_SendMessage: ## @SendMessage
.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, %r13
movl %edi, %r12d
leaq L_str(%rip), %rdi
callq _puts
movq %r15, (%r13)
leaq 8(%r13), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq _strcpy
movq %rbx, %rdi
callq _strlen
leaq 1(%rax), %rdx
movl %r12d, %edi
movq %r13, %rsi
xorl %ecx, %ecx
callq _msgsnd
cmpl $-1, %eax
je LBB1_1
LBB1_2:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_1:
callq _SendMessage.cold.1
jmp LBB1_2
.cfi_endproc
## -- End function
.globl _ReadMessage ## -- Begin function ReadMessage
.p2align 4, 0x90
_ReadMessage: ## @ReadMessage
.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 %rsi, %rbx
movl %edi, %r15d
leaq L_str.12(%rip), %rdi
callq _puts
movq %r14, (%rbx)
movl $80, %edx
movl %r15d, %edi
movq %rbx, %rsi
movq %r14, %rcx
xorl %r8d, %r8d
callq _msgrcv
movq (%rbx), %rsi
addq $8, %rbx
leaq L_.str.5(%rip), %rdi
movq %rbx, %rdx
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.globl _RemoveQueue ## -- Begin function RemoveQueue
.p2align 4, 0x90
_RemoveQueue: ## @RemoveQueue
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %esi, %esi
xorl %edx, %edx
popq %rbp
jmp _msgctl ## TAILCALL
.cfi_endproc
## -- End function
.globl _ChangeMessageQueueMode ## -- Begin function ChangeMessageQueueMode
.p2align 4, 0x90
_ChangeMessageQueueMode: ## @ChangeMessageQueueMode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movl %edi, %ebx
leaq -144(%rbp), %r15
movl $2, %esi
movq %r15, %rdx
callq _msgctl
leaq -128(%rbp), %rdx
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _sscanf
movl %ebx, %edi
movl $1, %esi
movq %r15, %rdx
callq _msgctl
addq $120, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _usage ## -- Begin function usage
.p2align 4, 0x90
_usage: ## @usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq ___stderrp@GOTPCREL(%rip), %rbx
movq (%rbx), %rcx
leaq L_.str.7(%rip), %rdi
movl $48, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.8(%rip), %rdi
movl $23, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.9(%rip), %rdi
movl $23, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.10(%rip), %rdi
movl $25, %esi
movl $1, %edx
callq _fwrite
movq (%rbx), %rcx
leaq L_.str.11(%rip), %rdi
movl $23, %esi
movl $1, %edx
callq _fwrite
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.1(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.2
_main.cold.2: ## @main.cold.2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.3(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function SendMessage.cold.1
_SendMessage.cold.1: ## @SendMessage.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.3(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "."
L_.str.1: ## @.str.1
.asciz "msgget"
L_.str.3: ## @.str.3
.asciz "msgsnd"
L_.str.5: ## @.str.5
.asciz "Type: %ld Text: %s\n"
L_.str.6: ## @.str.6
.asciz "%ho"
L_.str.7: ## @.str.7
.asciz "MsgTool -A utility for tinkering with msg queue\n"
L_.str.8: ## @.str.8
.asciz "nUsage: MsgTool s(end)\n"
L_.str.9: ## @.str.9
.asciz " MsgTool r(ecv)\n"
L_.str.10: ## @.str.10
.asciz " MsgTool d(elete)\n"
L_.str.11: ## @.str.11
.asciz " MsgTool m(ode)\n"
L_str: ## @str
.asciz "Sending a message"
L_str.12: ## @str.12
.asciz "Reading a message"
.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, #192
.cfi_def_cfa_offset 192
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
cmp w0, #1
b.eq LBB0_10
; %bb.1:
mov x20, x1
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov w1, #109
bl _ftok
mov w1, #950
bl _msgget
tbnz w0, #31, LBB0_11
; %bb.2:
mov x19, x0
ldr x8, [x20, #8]
ldrsb w0, [x8]
bl ___tolower
sub w8, w0, #100
cmp w8, #15
b.hi LBB0_10
; %bb.3:
Lloh5:
adrp x9, lJTI0_0@PAGE
Lloh6:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_4
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_4:
mov x0, x19
mov w1, #0
mov x2, #0
bl _msgctl
b LBB0_8
LBB0_5:
ldr x0, [x20, #16]
bl _atol
mov x20, x0
Lloh7:
adrp x0, l_str.12@PAGE
Lloh8:
add x0, x0, l_str.12@PAGEOFF
bl _puts
str x20, [sp, #16]
add x21, sp, #16
add x1, sp, #16
mov x0, x19
mov w2, #80
mov x3, x20
mov w4, #0
bl _msgrcv
ldr x8, [sp, #16]
add x9, x21, #8
stp x8, x9, [sp]
Lloh9:
adrp x0, l_.str.5@PAGE
Lloh10:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_8
LBB0_6:
ldr x20, [x20, #16]
add x21, sp, #16
add x2, sp, #16
mov x0, x19
mov w1, #2
bl _msgctl
add x8, x21, #16
str x8, [sp]
Lloh11:
adrp x1, l_.str.6@PAGE
Lloh12:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x20
bl _sscanf
add x2, sp, #16
mov x0, x19
mov w1, #1
bl _msgctl
b LBB0_8
LBB0_7:
ldr x0, [x20, #16]
bl _atol
mov x21, x0
ldr x20, [x20, #24]
Lloh13:
adrp x0, l_str@PAGE
Lloh14:
add x0, x0, l_str@PAGEOFF
bl _puts
str x21, [sp, #16]
add x8, sp, #16
add x21, x8, #8
mov x0, x21
mov x1, x20
mov w2, #80
bl ___strcpy_chk
mov x0, x21
bl _strlen
add x2, x0, #1
add x1, sp, #16
mov x0, x19
mov w3, #0
bl _msgsnd
cmn w0, #1
b.eq LBB0_13
LBB0_8:
ldur x8, [x29, #-40]
Lloh15:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh16:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.9:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_10:
Lloh18:
adrp x19, ___stderrp@GOTPAGE
Lloh19:
ldr x19, [x19, ___stderrp@GOTPAGEOFF]
ldr x3, [x19]
Lloh20:
adrp x0, l_.str.7@PAGE
Lloh21:
add x0, x0, l_.str.7@PAGEOFF
mov w1, #48
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh22:
adrp x0, l_.str.8@PAGE
Lloh23:
add x0, x0, l_.str.8@PAGEOFF
mov w1, #23
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh24:
adrp x0, l_.str.9@PAGE
Lloh25:
add x0, x0, l_.str.9@PAGEOFF
mov w1, #23
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh26:
adrp x0, l_.str.10@PAGE
Lloh27:
add x0, x0, l_.str.10@PAGEOFF
mov w1, #25
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh28:
adrp x0, l_.str.11@PAGE
Lloh29:
add x0, x0, l_.str.11@PAGEOFF
mov w1, #23
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
LBB0_11:
bl _main.cold.1
LBB0_12:
bl ___stack_chk_fail
LBB0_13:
bl _main.cold.2
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_4-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_6-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_10-LBB0_4)>>2
.byte (LBB0_5-LBB0_4)>>2
.byte (LBB0_7-LBB0_4)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _SendMessage ; -- Begin function SendMessage
.p2align 2
_SendMessage: ; @SendMessage
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x3
mov x20, x2
mov x21, x1
mov x22, x0
Lloh30:
adrp x0, l_str@PAGE
Lloh31:
add x0, x0, l_str@PAGEOFF
bl _puts
mov x0, x21
str x20, [x0], #8
mov x1, x19
bl _strcpy
bl _strlen
add x2, x0, #1
mov x0, x22
mov x1, x21
mov w3, #0
bl _msgsnd
cmn w0, #1
b.eq LBB1_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
LBB1_2:
bl _SendMessage.cold.1
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.globl _ReadMessage ; -- Begin function ReadMessage
.p2align 2
_ReadMessage: ; @ReadMessage
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
Lloh32:
adrp x0, l_str.12@PAGE
Lloh33:
add x0, x0, l_str.12@PAGEOFF
bl _puts
str x19, [x20]
mov x0, x21
mov x1, x20
mov w2, #80
mov x3, x19
mov w4, #0
bl _msgrcv
ldr x8, [x20], #8
stp x8, x20, [sp]
Lloh34:
adrp x0, l_.str.5@PAGE
Lloh35:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
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 Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
; -- End function
.globl _RemoveQueue ; -- Begin function RemoveQueue
.p2align 2
_RemoveQueue: ; @RemoveQueue
.cfi_startproc
; %bb.0:
mov w1, #0
mov x2, #0
b _msgctl
.cfi_endproc
; -- End function
.globl _ChangeMessageQueueMode ; -- Begin function ChangeMessageQueueMode
.p2align 2
_ChangeMessageQueueMode: ; @ChangeMessageQueueMode
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
add x21, sp, #8
add x2, sp, #8
mov w1, #2
bl _msgctl
add x8, x21, #16
str x8, [sp]
Lloh36:
adrp x1, l_.str.6@PAGE
Lloh37:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _sscanf
add x2, sp, #8
mov x0, x20
mov w1, #1
bl _msgctl
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #176
ret
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.globl _usage ; -- Begin function usage
.p2align 2
_usage: ; @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
Lloh38:
adrp x19, ___stderrp@GOTPAGE
Lloh39:
ldr x19, [x19, ___stderrp@GOTPAGEOFF]
ldr x3, [x19]
Lloh40:
adrp x0, l_.str.7@PAGE
Lloh41:
add x0, x0, l_.str.7@PAGEOFF
mov w1, #48
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh42:
adrp x0, l_.str.8@PAGE
Lloh43:
add x0, x0, l_.str.8@PAGEOFF
mov w1, #23
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh44:
adrp x0, l_.str.9@PAGE
Lloh45:
add x0, x0, l_.str.9@PAGEOFF
mov w1, #23
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh46:
adrp x0, l_.str.10@PAGE
Lloh47:
add x0, x0, l_.str.10@PAGEOFF
mov w1, #25
mov w2, #1
bl _fwrite
ldr x3, [x19]
Lloh48:
adrp x0, l_.str.11@PAGE
Lloh49:
add x0, x0, l_.str.11@PAGEOFF
mov w1, #23
mov w2, #1
bl _fwrite
mov w0, #1
bl _exit
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGot Lloh38, Lloh39
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh50:
adrp x0, l_.str.1@PAGE
Lloh51:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh50, Lloh51
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.2
_main.cold.2: ; @main.cold.2
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh52:
adrp x0, l_.str.3@PAGE
Lloh53:
add x0, x0, l_.str.3@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function SendMessage.cold.1
_SendMessage.cold.1: ; @SendMessage.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh54:
adrp x0, l_.str.3@PAGE
Lloh55:
add x0, x0, l_.str.3@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh54, Lloh55
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function OUTLINED_FUNCTION_0
_OUTLINED_FUNCTION_0: ; @OUTLINED_FUNCTION_0 Thunk
.cfi_startproc
; %bb.0:
mov w0, #1
b _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "."
l_.str.1: ; @.str.1
.asciz "msgget"
l_.str.3: ; @.str.3
.asciz "msgsnd"
l_.str.5: ; @.str.5
.asciz "Type: %ld Text: %s\n"
l_.str.6: ; @.str.6
.asciz "%ho"
l_.str.7: ; @.str.7
.asciz "MsgTool -A utility for tinkering with msg queue\n"
l_.str.8: ; @.str.8
.asciz "nUsage: MsgTool s(end)\n"
l_.str.9: ; @.str.9
.asciz " MsgTool r(ecv)\n"
l_.str.10: ; @.str.10
.asciz " MsgTool d(elete)\n"
l_.str.11: ; @.str.11
.asciz " MsgTool m(ode)\n"
l_str: ; @str
.asciz "Sending a message"
l_str.12: ; @str.12
.asciz "Reading a message"
.subsections_via_symbols
| the_stack_data/56786.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function init_zsk_to_ksk
_init_zsk_to_ksk: ## @init_zsk_to_ksk
.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, -48(%rbp) ## 8-byte Spill
movq (%rsi), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_1
## %bb.2:
movq %rsi, %r12
movq %rdi, %r15
xorl %r14d, %r14d
movq _LDNS_RR_TYPE_DNSKEY@GOTPCREL(%rip), %r13
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq 16(%rbx), %rbx
testq %rbx, %rbx
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl 32(%rbx), %edi
movl 24(%rbx), %edx
movl 28(%rbx), %esi
callq _sldns_wirerr_get_type
cmpq (%r13), %rax
jne LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpq $0, (%rbx)
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
callq _ta_is_dnskey_sep
testq %rax, %rax
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rax
xorl %ecx, %ecx
movq _AUTR_STATE_VALID@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
sete %cl
addl %ecx, %r14d
jmp LBB0_7
LBB0_8:
xorl %r13d, %r13d
testl %r14d, %r14d
je LBB0_15
## %bb.9:
movq (%r12), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_15
## %bb.10:
xorl %r13d, %r13d
movq _AUTR_STATE_ADDPEND@GOTPCREL(%rip), %r14
leaq L_.str(%rip), %r12
jmp LBB0_11
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
movq 16(%rbx), %rbx
testq %rbx, %rbx
je LBB0_15
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _ta_is_dnskey_sep
testq %rax, %rax
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rbx), %rax
cmpq (%r14), %rax
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movq _VERB_ALGO@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r12, %rdx
callq _verbose_key
movq _AUTR_STATE_VALID@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq -48(%rbp), %rdx ## 8-byte Reload
callq _set_trustanchor_state
incl %r13d
jmp LBB0_14
LBB0_1:
xorl %r13d, %r13d
LBB0_15:
movl %r13d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LDNS_RR_TYPE_DNSKEY,8,3 ## @LDNS_RR_TYPE_DNSKEY
.comm _AUTR_STATE_VALID,8,3 ## @AUTR_STATE_VALID
.comm _AUTR_STATE_ADDPEND,8,3 ## @AUTR_STATE_ADDPEND
.comm _VERB_ALGO,4,2 ## @VERB_ALGO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "trust KSK from ZSK(config)"
.no_dead_strip _init_zsk_to_ksk
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function init_zsk_to_ksk
_init_zsk_to_ksk: ; @init_zsk_to_ksk
.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
ldr x8, [x1]
ldr x22, [x8]
cbz x22, LBB0_14
; %bb.1:
mov x19, x2
mov x21, x1
mov x20, x0
mov w23, #0
Lloh0:
adrp x25, _LDNS_RR_TYPE_DNSKEY@GOTPAGE
Lloh1:
ldr x25, [x25, _LDNS_RR_TYPE_DNSKEY@GOTPAGEOFF]
Lloh2:
adrp x24, _AUTR_STATE_VALID@GOTPAGE
Lloh3:
ldr x24, [x24, _AUTR_STATE_VALID@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
ldr x22, [x22, #16]
cbz x22, LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldp w1, w0, [x22, #28]
ldr w2, [x22, #24]
bl _sldns_wirerr_get_type
ldr x8, [x25]
cmp x0, x8
b.ne LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x22]
cbnz x8, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x0, x22
bl _ta_is_dnskey_sep
cbnz x0, LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x22, #8]
ldr x9, [x24]
cmp x8, x9
cinc w23, w23, eq
b LBB0_2
LBB0_7:
cbz w23, LBB0_14
; %bb.8:
ldr x8, [x21]
ldr x22, [x8]
cbz x22, LBB0_14
; %bb.9:
mov w21, #0
Lloh4:
adrp x25, _AUTR_STATE_ADDPEND@GOTPAGE
Lloh5:
ldr x25, [x25, _AUTR_STATE_ADDPEND@GOTPAGEOFF]
Lloh6:
adrp x26, _VERB_ALGO@GOTPAGE
Lloh7:
ldr x26, [x26, _VERB_ALGO@GOTPAGEOFF]
Lloh8:
adrp x23, l_.str@PAGE
Lloh9:
add x23, x23, l_.str@PAGEOFF
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
ldr x22, [x22, #16]
cbz x22, LBB0_15
LBB0_11: ; =>This Inner Loop Header: Depth=1
mov x0, x22
bl _ta_is_dnskey_sep
cbz x0, LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x22, #8]
ldr x9, [x25]
cmp x8, x9
b.ne LBB0_10
; %bb.13: ; in Loop: Header=BB0_11 Depth=1
ldr w1, [x26]
mov x0, x22
mov x2, x23
bl _verbose_key
ldr x3, [x24]
mov x0, x20
mov x1, x22
mov x2, x19
bl _set_trustanchor_state
add w21, w21, #1
b LBB0_10
LBB0_14:
mov w21, #0
LBB0_15:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _LDNS_RR_TYPE_DNSKEY,8,3 ; @LDNS_RR_TYPE_DNSKEY
.comm _AUTR_STATE_VALID,8,3 ; @AUTR_STATE_VALID
.comm _AUTR_STATE_ADDPEND,8,3 ; @AUTR_STATE_ADDPEND
.comm _VERB_ALGO,4,2 ; @VERB_ALGO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "trust KSK from ZSK(config)"
.no_dead_strip _init_zsk_to_ksk
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/validator/extr_autotrust.c_init_zsk_to_ksk.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iavf_msix_aq
_iavf_msix_aq: ## @iavf_msix_aq
.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, %rdi
callq _netdev_priv
movq %rax, %r14
leaq 4(%rax), %rbx
movq _IAVF_VFINT_ICR01@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _rd32
movq _IAVF_VFINT_ICR0_ENA1@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _rd32
movq _iavf_wq@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _queue_work
movq _IRQ_HANDLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IAVF_VFINT_ICR01,4,2 ## @IAVF_VFINT_ICR01
.comm _IAVF_VFINT_ICR0_ENA1,4,2 ## @IAVF_VFINT_ICR0_ENA1
.comm _iavf_wq,4,2 ## @iavf_wq
.comm _IRQ_HANDLED,4,2 ## @IRQ_HANDLED
.no_dead_strip _iavf_msix_aq
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iavf_msix_aq
_iavf_msix_aq: ; @iavf_msix_aq
.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 x0, x1
bl _netdev_priv
mov x19, x0
add x20, x0, #4
Lloh0:
adrp x8, _IAVF_VFINT_ICR01@GOTPAGE
Lloh1:
ldr x8, [x8, _IAVF_VFINT_ICR01@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _rd32
Lloh3:
adrp x8, _IAVF_VFINT_ICR0_ENA1@GOTPAGE
Lloh4:
ldr x8, [x8, _IAVF_VFINT_ICR0_ENA1@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
bl _rd32
Lloh6:
adrp x8, _iavf_wq@GOTPAGE
Lloh7:
ldr x8, [x8, _iavf_wq@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
mov x1, x19
bl _queue_work
Lloh9:
adrp x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
ldr x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IAVF_VFINT_ICR01,4,2 ; @IAVF_VFINT_ICR01
.comm _IAVF_VFINT_ICR0_ENA1,4,2 ; @IAVF_VFINT_ICR0_ENA1
.comm _iavf_wq,4,2 ; @iavf_wq
.comm _IRQ_HANDLED,4,2 ; @IRQ_HANDLED
.no_dead_strip _iavf_msix_aq
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_main.c_iavf_msix_aq.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 %rbx
subq $136, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq L_.str(%rip), %rdi
xorl %r15d, %r15d
leaq -148(%rbp), %rsi
leaq -156(%rbp), %rdx
xorl %eax, %eax
callq _scanf
leaq L_.str.1(%rip), %rdi
leaq -144(%rbp), %rsi
leaq -149(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movl -148(%rbp), %eax
cmpl $2, %eax
jl LBB0_4
## %bb.1:
xorl %r15d, %r15d
movl $1, %edx
## implicit-def: $ecx
jmp LBB0_2
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_2 Depth=1
xorl %r15d, %r15d
movl %esi, %edx
LBB0_17: ## in Loop: Header=BB0_2 Depth=1
cmpl %eax, %edx
jge LBB0_4
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq %r15d, %rsi
movzbl -144(%rbp,%rsi), %ebx
movslq %edx, %rdi
leal 1(%rdi), %edx
testl %esi, %esi
movl %ecx, %esi
cmovel %edx, %esi
cmpb -144(%rbp,%rdi), %bl
jne LBB0_16
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incl %r15d
movl %esi, %ecx
jmp LBB0_17
LBB0_4:
movl -156(%rbp), %ecx
cmpl $2, %ecx
jl LBB0_11
## %bb.5:
xorl %r14d, %r14d
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
incl %r14d
leal -1(%rcx), %edx
cmpl %edx, %r14d
jge LBB0_11
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
cmpl %r15d, %eax
jle LBB0_10
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_8: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movsbl -144(%rbp,%rbx), %edi
callq _putchar
incq %rbx
movl -148(%rbp), %eax
movl %eax, %ecx
subl %r15d, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jl LBB0_8
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movl -156(%rbp), %ecx
jmp LBB0_10
LBB0_11:
testl %eax, %eax
jle LBB0_14
## %bb.12:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movsbl -144(%rbp,%rbx), %edi
callq _putchar
incq %rbx
movslq -148(%rbp), %rax
cmpq %rax, %rbx
jl LBB0_13
LBB0_14:
movl $10, %edi
callq _putchar
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_18
## %bb.15:
xorl %eax, %eax
addq $136, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
L_.str.1: ## @.str.1
.asciz "%s%c"
.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, #192
.cfi_def_cfa_offset 192
stp x22, x21, [sp, #144] ; 16-byte Folded Spill
stp x20, x19, [sp, #160] ; 16-byte Folded Spill
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
add x8, sp, #28
add x9, sp, #32
stp x9, x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _scanf
add x8, sp, #27
add x20, sp, #36
stp x20, x8, [sp]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #32]
cmp w8, #2
b.lt LBB0_3
; %bb.1:
mov w19, #0
mov w9, #1
; implicit-def: $w10
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x20, w19, sxtw]
ldrb w12, [x20, w9, sxtw]
cmp w19, #0
csinc w13, w10, w9, ne
cmp w11, w12
csel w10, w13, w10, eq
csinc w19, wzr, w19, ne
csinc w9, w13, w9, ne
cmp w9, w8
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov w19, #0
LBB0_4:
ldr w9, [sp, #28]
cmp w9, #1
b.le LBB0_11
; %bb.5:
mov w20, #0
add x21, sp, #36
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add w20, w20, #1
sub w10, w9, #1
cmp w20, w10
b.ge LBB0_11
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
cmp w8, w19
b.le LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov x22, #0
LBB0_9: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x21, x22]
bl _putchar
add x22, x22, #1
ldr w8, [sp, #32]
sub w9, w8, w19
cmp x22, w9, sxtw
b.lt LBB0_9
; %bb.10: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [sp, #28]
b LBB0_6
LBB0_11:
cmp w8, #1
b.lt LBB0_14
; %bb.12:
mov x19, #0
add x20, sp, #36
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x20, x19]
bl _putchar
add x19, x19, #1
ldrsw x8, [sp, #32]
cmp x19, x8
b.lt LBB0_13
LBB0_14:
mov w0, #10
bl _putchar
ldur x8, [x29, #-40]
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_16
; %bb.15:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
ldp x20, x19, [sp, #160] ; 16-byte Folded Reload
ldp x22, x21, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #192
ret
LBB0_16:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
l_.str.1: ; @.str.1
.asciz "%s%c"
.subsections_via_symbols
| the_stack_data/2415.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cell_error_with_code
_cell_error_with_code: ## @cell_error_with_code
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %edi
callq _dm_cell_error
movl (%rbx), %edi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _dm_bio_prison_free_cell ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _cell_error_with_code
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cell_error_with_code
_cell_error_with_code: ; @cell_error_with_code
.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 w0, [x0]
bl _dm_cell_error
ldr w0, [x20]
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dm_bio_prison_free_cell
.cfi_endproc
; -- End function
.no_dead_strip _cell_error_with_code
.subsections_via_symbols
| AnghaBench/linux/drivers/md/extr_dm-thin.c_cell_error_with_code.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enable_percpu_nmi ## -- Begin function enable_percpu_nmi
.p2align 4, 0x90
_enable_percpu_nmi: ## @enable_percpu_nmi
.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 _enable_percpu_irq ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _enable_percpu_nmi ; -- Begin function enable_percpu_nmi
.p2align 2
_enable_percpu_nmi: ; @enable_percpu_nmi
.cfi_startproc
; %bb.0:
b _enable_percpu_irq
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/kernel/irq/extr_manage.c_enable_percpu_nmi.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_os_release_object ## -- Begin function acpi_os_release_object
.p2align 4, 0x90
_acpi_os_release_object: ## @acpi_os_release_object
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _kmem_cache_free
movq _AE_OK@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AE_OK,4,2 ## @AE_OK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _acpi_os_release_object ; -- Begin function acpi_os_release_object
.p2align 2
_acpi_os_release_object: ; @acpi_os_release_object
.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 _kmem_cache_free
Lloh0:
adrp x8, _AE_OK@GOTPAGE
Lloh1:
ldr x8, [x8, _AE_OK@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 _AE_OK,4,2 ; @AE_OK
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/acpi/extr_osl.c_acpi_os_release_object.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nvmet_tcp_try_recv_ddgst
_nvmet_tcp_try_recv_ddgst: ## @nvmet_tcp_try_recv_ddgst
.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 %rdi, %r15
movq 40(%rdi), %r14
movq _MSG_DONTWAIT@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl %r9d, -48(%rbp)
movslq (%rdi), %rax
addq %r14, %rax
movq %rax, -72(%rbp)
movq 24(%rdi), %r8
movq %r8, -64(%rbp)
movl 32(%rdi), %edi
leaq -48(%rbp), %rsi
leaq -72(%rbp), %rdx
movl $1, %ecx
callq _kernel_recvmsg
movl %eax, %ebx
movl %eax, %edi
shrl $31, %edi
callq _unlikely
testq %rax, %rax
jne LBB0_10
## %bb.1:
addl %ebx, (%r15)
movslq %ebx, %rax
subq %rax, 24(%r15)
jne LBB0_2
## %bb.3:
cmpq $0, 16(%r15)
je LBB0_6
## %bb.4:
movq (%r14), %rdi
cmpq %rdi, 8(%r14)
jne LBB0_5
LBB0_6:
movq _NVMET_TCP_F_INIT_FAILED@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %ebx, %ebx
testl %eax, 16(%r14)
jne LBB0_9
## %bb.7:
movq 24(%r14), %rax
cmpq 32(%r14), %rax
jne LBB0_9
## %bb.8:
addq $32, %r14
movq %r14, %rdi
callq _nvmet_req_execute
jmp LBB0_9
LBB0_2:
movq _EAGAIN@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_10
LBB0_5:
movl 4(%r15), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movl 8(%r15), %r13d
movq 40(%r14), %rax
movl (%rax), %ebx
callq _le32_to_cpu
movl %eax, %r12d
movq 8(%r14), %rdi
callq _le32_to_cpu
leaq L_.str(%rip), %rdi
movl %r13d, %esi
movl %ebx, %edx
movl -52(%rbp), %ecx ## 4-byte Reload
movl %r12d, %r8d
movl %eax, %r9d
callq _pr_err
movq %r14, %rdi
callq _nvmet_tcp_finish_cmd
movq %r15, %rdi
callq _nvmet_tcp_fatal_error
movq _EPROTO@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
LBB0_9:
movq %r15, %rdi
callq _nvmet_prepare_receive_pdu
LBB0_10:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MSG_DONTWAIT,4,2 ## @MSG_DONTWAIT
.comm _EAGAIN,4,2 ## @EAGAIN
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "queue %d: cmd %d pdu (%d) data digest error: recv %#x expected %#x\n"
.comm _EPROTO,4,2 ## @EPROTO
.comm _NVMET_TCP_F_INIT_FAILED,4,2 ## @NVMET_TCP_F_INIT_FAILED
.no_dead_strip _nvmet_tcp_try_recv_ddgst
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nvmet_tcp_try_recv_ddgst
_nvmet_tcp_try_recv_ddgst: ; @nvmet_tcp_try_recv_ddgst
.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, x0
ldr x20, [x0, #40]
Lloh0:
adrp x8, _MSG_DONTWAIT@GOTPAGE
Lloh1:
ldr x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh2:
ldr w5, [x8]
str w5, [sp, #24]
ldrsw x8, [x0]
add x8, x20, x8
ldr x4, [x0, #24]
stp x8, x4, [sp, #8]
ldr w0, [x0, #32]
add x1, sp, #24
add x2, sp, #8
mov w3, #1
bl _kernel_recvmsg
mov x21, x0
lsr w0, w0, #31
bl _unlikely
cbnz x0, LBB0_11
; %bb.1:
ldr w8, [x19]
add w8, w8, w21
str w8, [x19]
sxtw x8, w21
ldr x9, [x19, #24]
subs x8, x9, x8
str x8, [x19, #24]
b.ne LBB0_8
; %bb.2:
ldr x8, [x19, #16]
cbz x8, LBB0_4
; %bb.3:
ldp x0, x8, [x20]
cmp x8, x0
b.ne LBB0_9
LBB0_4:
ldr w8, [x20, #16]
Lloh3:
adrp x9, _NVMET_TCP_F_INIT_FAILED@GOTPAGE
Lloh4:
ldr x9, [x9, _NVMET_TCP_F_INIT_FAILED@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.ne LBB0_7
; %bb.5:
ldr x8, [x20, #32]!
ldur x9, [x20, #-8]
cmp x9, x8
b.ne LBB0_7
; %bb.6:
mov x0, x20
bl _nvmet_req_execute
LBB0_7:
mov w21, #0
b LBB0_10
LBB0_8:
Lloh6:
adrp x8, _EAGAIN@GOTPAGE
Lloh7:
ldr x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
neg w21, w8
b LBB0_11
LBB0_9:
ldr x8, [x20, #40]
ldr w21, [x8]
ldp w23, w22, [x19, #4]
bl _le32_to_cpu
mov x24, x0
ldr x0, [x20, #8]
bl _le32_to_cpu
mov x5, x0
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
mov x1, x22
mov x2, x21
mov x3, x23
mov x4, x24
bl _pr_err
mov x0, x20
bl _nvmet_tcp_finish_cmd
mov x0, x19
bl _nvmet_tcp_fatal_error
Lloh11:
adrp x8, _EPROTO@GOTPAGE
Lloh12:
ldr x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
neg w21, w8
LBB0_10:
mov x0, x19
bl _nvmet_prepare_receive_pdu
LBB0_11:
mov x0, x21
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _MSG_DONTWAIT,4,2 ; @MSG_DONTWAIT
.comm _EAGAIN,4,2 ; @EAGAIN
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "queue %d: cmd %d pdu (%d) data digest error: recv %#x expected %#x\n"
.comm _EPROTO,4,2 ; @EPROTO
.comm _NVMET_TCP_F_INIT_FAILED,4,2 ; @NVMET_TCP_F_INIT_FAILED
.no_dead_strip _nvmet_tcp_try_recv_ddgst
.subsections_via_symbols
| AnghaBench/linux/drivers/nvme/target/extr_tcp.c_nvmet_tcp_try_recv_ddgst.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 $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, %r14
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rsi
callq _fopen
testq %r14, %r14
je LBB0_2
## %bb.1:
movq %rax, %rbx
testq %rax, %rax
je LBB0_2
## %bb.3:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.6(%rip), %rsi
leaq -48(%rbp), %rdx
leaq -44(%rbp), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq _fscanf
movl -48(%rbp), %edx
leal -1025(%rdx), %eax
cmpl $-1013, %eax ## imm = 0xFC0B
movq %r14, -72(%rbp) ## 8-byte Spill
jb LBB0_6
## %bb.4:
movl -44(%rbp), %ecx
cmpl $12, %ecx
jl LBB0_6
## %bb.5:
cmpl $1025, %ecx ## imm = 0x401
jge LBB0_6
## %bb.7:
leaq L_.str.8(%rip), %rsi
movq %rbx, %rdi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _fprintf
cmpl $0, -44(%rbp)
jg LBB0_9
jmp LBB0_14
LBB0_2:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_15
LBB0_6:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $0, -44(%rbp)
jle LBB0_14
LBB0_9:
xorl %eax, %eax
movq %rbx, -80(%rbp) ## 8-byte Spill
movq -72(%rbp), %r15 ## 8-byte Reload
jmp LBB0_10
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_10 Depth=1
movl $10, %edi
movq -80(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rsi
callq _fputc
movl -56(%rbp), %eax ## 4-byte Reload
incl %eax
cmpl -44(%rbp), %eax
jge LBB0_14
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
movl %eax, -56(%rbp) ## 4-byte Spill
cmpl $0, -48(%rbp)
leaq L_.str.9(%rip), %rax
leaq -64(%rbp), %rdx
leaq -52(%rbp), %rcx
leaq -60(%rbp), %rbx
jle LBB0_13
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_10 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
movq %rax, %r12
movq %rax, %rsi
movq %rdx, %r14
movq %rbx, %r8
xorl %eax, %eax
callq _fscanf
movl -52(%rbp), %eax
addl -64(%rbp), %eax
addl -60(%rbp), %eax
cltq
imulq $1431655766, %rax, %rdx ## imm = 0x55555556
movq %rdx, %rax
shrq $63, %rax
shrq $32, %rdx
addl %eax, %edx
movq -80(%rbp), %rdi ## 8-byte Reload
leaq L_.str.10(%rip), %rsi
## kill: def $edx killed $edx killed $rdx
xorl %eax, %eax
callq _fprintf
leaq -52(%rbp), %rcx
movq %r14, %rdx
movq %r12, %rax
incl %r13d
cmpl -48(%rbp), %r13d
jl LBB0_12
jmp LBB0_13
LBB0_14:
movq -72(%rbp), %rdi ## 8-byte Reload
callq _fclose
movq %rbx, %rdi
callq _fclose
LBB0_15:
xorl %eax, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "figura.dat"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "cinza.dat"
L_.str.3: ## @.str.3
.asciz "w"
L_.str.4: ## @.str.4
.asciz "Nao foi possivel abrir um dos arquivos."
L_.str.5: ## @.str.5
.asciz "Arquivos abertos com sucesso."
L_.str.6: ## @.str.6
.asciz "%d %d"
L_.str.7: ## @.str.7
.asciz "As dimensoes da imagem sao invalidas."
L_.str.8: ## @.str.8
.asciz "%d %d\n"
L_.str.9: ## @.str.9
.asciz "%d %d %d "
L_.str.10: ## @.str.10
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x19, x0
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
bl _fopen
cbz x19, LBB0_6
; %bb.1:
mov x20, x0
cbz x0, LBB0_6
; %bb.2:
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add x8, sp, #40
add x9, sp, #44
stp x9, x8, [sp]
Lloh10:
adrp x1, l_.str.6@PAGE
Lloh11:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x19
bl _fscanf
ldr w8, [sp, #44]
sub w9, w8, #1025
cmn w9, #1013
b.lo LBB0_7
; %bb.3:
ldr w9, [sp, #40]
cmp w9, #12
b.lt LBB0_7
; %bb.4:
cmp w9, #1025
b.ge LBB0_7
; %bb.5:
stp x8, x9, [sp]
Lloh12:
adrp x1, l_.str.8@PAGE
Lloh13:
add x1, x1, l_.str.8@PAGEOFF
mov x0, x20
bl _fprintf
b LBB0_8
LBB0_6:
Lloh14:
adrp x0, l_.str.4@PAGE
Lloh15:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_15
LBB0_7:
Lloh16:
adrp x0, l_.str.7@PAGE
Lloh17:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
LBB0_8:
ldr w8, [sp, #40]
cmp w8, #1
b.lt LBB0_14
; %bb.9:
mov w23, #0
add x24, sp, #28
add x25, sp, #32
add x26, sp, #36
Lloh18:
adrp x21, l_.str.9@PAGE
Lloh19:
add x21, x21, l_.str.9@PAGEOFF
mov w27, #21846
movk w27, #21845, lsl #16
Lloh20:
adrp x22, l_.str.10@PAGE
Lloh21:
add x22, x22, l_.str.10@PAGEOFF
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
mov w0, #10
mov x1, x20
bl _fputc
add w23, w23, #1
ldr w8, [sp, #40]
cmp w23, w8
b.ge LBB0_14
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
ldr w8, [sp, #44]
cmp w8, #1
b.lt LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
mov w28, #0
LBB0_13: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
stp x25, x24, [sp, #8]
str x26, [sp]
mov x0, x19
mov x1, x21
bl _fscanf
ldp w9, w8, [sp, #32]
ldr w10, [sp, #28]
add w8, w9, w8
add w8, w8, w10
smull x8, w8, w27
lsr x9, x8, #63
lsr x8, x8, #32
add w8, w8, w9
str x8, [sp]
mov x0, x20
mov x1, x22
bl _fprintf
add w28, w28, #1
ldr w8, [sp, #44]
cmp w28, w8
b.lt LBB0_13
b LBB0_10
LBB0_14:
mov x0, x19
bl _fclose
mov x0, x20
bl _fclose
LBB0_15:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "figura.dat"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "cinza.dat"
l_.str.3: ; @.str.3
.asciz "w"
l_.str.4: ; @.str.4
.asciz "Nao foi possivel abrir um dos arquivos."
l_.str.5: ; @.str.5
.asciz "Arquivos abertos com sucesso."
l_.str.6: ; @.str.6
.asciz "%d %d"
l_.str.7: ; @.str.7
.asciz "As dimensoes da imagem sao invalidas."
l_.str.8: ; @.str.8
.asciz "%d %d\n"
l_.str.9: ; @.str.9
.asciz "%d %d %d "
l_.str.10: ; @.str.10
.asciz "%d "
.subsections_via_symbols
| the_stack_data/93085.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _solution ## -- Begin function solution
.p2align 4, 0x90
_solution: ## @solution
.cfi_startproc
## %bb.0:
testl %esi, %esi
jle LBB0_1
## %bb.2:
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 $4294967295, %r9d ## imm = 0xFFFFFFFF
movl %esi, %r8d
cmpl $1, %esi
jne LBB0_4
## %bb.3:
xorl %ecx, %ecx
movq %r8, %r14
xorl %esi, %esi
xorl %eax, %eax
jmp LBB0_6
LBB0_1:
xorl %eax, %eax
retq
LBB0_4:
movl %r8d, %r10d
andl $-2, %r10d
xorl %r11d, %r11d
movq %r8, %r14
xorl %ecx, %ecx
xorl %esi, %esi
xorl %eax, %eax
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
leal (%r14,%r9), %ebx
movl (%rdi,%rbx,4), %ebx
leal (%rsi,%rax), %edx
incl %esi
testl %ebx, %ebx
cmovel %edx, %eax
cmovel %ebx, %esi
cmovnel %r11d, %edx
movslq %edx, %rdx
addq %rcx, %rdx
addq $-2, %r14
movl %r14d, %ecx
movl (%rdi,%rcx,4), %ecx
leal (%rsi,%rax), %ebx
incl %esi
testl %ecx, %ecx
cmovel %ebx, %eax
cmovel %ecx, %esi
cmovnel %r11d, %ebx
movslq %ebx, %rcx
addq %rdx, %rcx
addq $-2, %r10
jne LBB0_5
LBB0_6:
testb $1, %r8b
je LBB0_8
## %bb.7:
addl %r9d, %r14d
addl %eax, %esi
xorl %eax, %eax
cmpl $0, (%rdi,%r14,4)
cmovel %esi, %eax
cltq
addq %rax, %rcx
LBB0_8:
cmpq $1000000001, %rcx ## imm = 0x3B9ACA01
movl $-1, %eax
cmovll %ecx, %eax
popq %rbx
popq %r14
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 _solution ; -- Begin function solution
.p2align 2
_solution: ; @solution
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_4
; %bb.1:
mov x8, #0
mov w9, #0
mov w10, #0
mov w11, w1
add x11, x11, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
sub w12, w11, #2
ldr w12, [x0, w12, uxtw #2]
add w13, w9, w10
cmp w12, #0
csel w10, w13, w10, eq
csinc w9, wzr, w9, eq
csel w12, w13, wzr, eq
add x8, x8, w12, sxtw
sub x11, x11, #1
cmp x11, #1
b.hi LBB0_2
; %bb.3:
mov w9, #51712
movk w9, #15258, lsl #16
cmp x8, x9
csinv w0, w8, wzr, le
ret
LBB0_4:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/42229.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ceph_pre_init_acls
_ceph_pre_init_acls: ## @ceph_pre_init_acls
.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 _ceph_pre_init_acls
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ceph_pre_init_acls
_ceph_pre_init_acls: ; @ceph_pre_init_acls
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.no_dead_strip _ceph_pre_init_acls
.subsections_via_symbols
| AnghaBench/linux/fs/ceph/extr_super.h_ceph_pre_init_acls.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _hists__add_entry_ops ## -- Begin function hists__add_entry_ops
.p2align 4, 0x90
_hists__add_entry_ops: ## @hists__add_entry_ops
.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
movl 24(%rbp), %r10d
subq $8, %rsp
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
xorl %r9d, %r9d
pushq %rax
pushq %r10
pushq 16(%rbp)
callq ___hists__add_entry
addq $32, %rsp
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 _hists__add_entry_ops ; -- Begin function hists__add_entry_ops
.p2align 2
_hists__add_entry_ops: ; @hists__add_entry_ops
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x1, [sp]
mov x1, x2
mov x2, x3
mov x3, x4
mov x4, x5
mov x5, #0
bl ___hists__add_entry
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/tools/perf/util/extr_hist.c_hists__add_entry_ops.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _P_RecursiveSound ## -- Begin function P_RecursiveSound
.p2align 4, 0x90
_P_RecursiveSound: ## @P_RecursiveSound
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %r15
movq _validcount@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, (%rdi)
jne LBB0_1
## %bb.2:
leal 1(%r14), %ecx
cmpl %ecx, 8(%r15)
jg LBB0_3
jmp LBB0_13
LBB0_1:
leal 1(%r14), %ecx
LBB0_3:
movq %rax, (%r15)
movl %ecx, 8(%r15)
movq _soundtarget@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%r15)
cmpl $0, 12(%r15)
jle LBB0_13
## %bb.4:
xorl %ebx, %ebx
movq _ML_TWOSIDED@GOTPCREL(%rip), %r13
jmp LBB0_5
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
testl %eax, %eax
movl $1, %esi
cmovel %r14d, %esi
callq _P_RecursiveSound
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
incq %rbx
movslq 12(%r15), %rax
cmpq %rax, %rbx
jge LBB0_13
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rax
movq (%rax,%rbx,8), %r12
movl (%r13), %eax
testl %eax, (%r12)
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %r12, %rdi
callq _P_LineOpening
movq _openrange@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jle LBB0_12
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq _sides@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 8(%r12), %rcx
movq (%rcx), %rdx
movq (%rax,%rdx,8), %rdi
cmpq %r15, %rdi
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movq 8(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
movq _ML_SOUNDBLOCK@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl (%r12), %eax
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
testl %r14d, %r14d
jne LBB0_12
jmp LBB0_11
LBB0_13:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _validcount,8,3 ## @validcount
.comm _soundtarget,4,2 ## @soundtarget
.comm _ML_TWOSIDED,4,2 ## @ML_TWOSIDED
.comm _openrange,8,3 ## @openrange
.comm _sides,8,3 ## @sides
.comm _ML_SOUNDBLOCK,4,2 ## @ML_SOUNDBLOCK
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _P_RecursiveSound ; -- Begin function P_RecursiveSound
.p2align 2
_P_RecursiveSound: ; @P_RecursiveSound
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x1
mov x20, x0
ldr x9, [x0]
Lloh0:
adrp x8, _validcount@GOTPAGE
Lloh1:
ldr x8, [x8, _validcount@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
ldr w10, [x20, #8]
add w9, w19, #1
cmp w10, w9
b.gt LBB0_3
b LBB0_12
LBB0_2:
add w9, w19, #1
LBB0_3:
str x8, [x20]
str w9, [x20, #8]
Lloh3:
adrp x8, _soundtarget@GOTPAGE
Lloh4:
ldr x8, [x8, _soundtarget@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x20, #24]
ldr w8, [x20, #12]
cmp w8, #1
b.lt LBB0_12
; %bb.4:
mov x22, #0
Lloh6:
adrp x23, _ML_TWOSIDED@GOTPAGE
Lloh7:
ldr x23, [x23, _ML_TWOSIDED@GOTPAGEOFF]
Lloh8:
adrp x24, _openrange@GOTPAGE
Lloh9:
ldr x24, [x24, _openrange@GOTPAGEOFF]
Lloh10:
adrp x25, _sides@GOTPAGE
Lloh11:
ldr x25, [x25, _sides@GOTPAGEOFF]
Lloh12:
adrp x26, _ML_SOUNDBLOCK@GOTPAGE
Lloh13:
ldr x26, [x26, _ML_SOUNDBLOCK@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x22, x22, #1
ldrsw x8, [x20, #12]
cmp x22, x8
b.ge LBB0_12
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #16]
ldr x21, [x8, x22, lsl #3]
ldr w8, [x21]
ldr w9, [x23]
tst w9, w8
b.eq LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x21
bl _P_LineOpening
ldr x8, [x24]
cmp x8, #1
b.lt LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x25]
ldr x9, [x21, #8]
ldr x10, [x9]
ldr x0, [x8, x10, lsl #3]
cmp x0, x20
b.ne LBB0_10
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x9, #8]
ldr x0, [x8, x9, lsl #3]
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x21]
ldr w9, [x26]
and w8, w9, w8
cmp w8, #0
ccmp w19, #0, #4, ne
b.ne LBB0_5
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
cmp w8, #0
csinc w1, w19, wzr, eq
bl _P_RecursiveSound
b LBB0_5
LBB0_12:
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _validcount,8,3 ; @validcount
.comm _soundtarget,4,2 ; @soundtarget
.comm _ML_TWOSIDED,4,2 ; @ML_TWOSIDED
.comm _openrange,8,3 ; @openrange
.comm _sides,8,3 ; @sides
.comm _ML_SOUNDBLOCK,4,2 ; @ML_SOUNDBLOCK
.subsections_via_symbols
| AnghaBench/DOOM/linuxdoom-1.10/extr_p_enemy.c_P_RecursiveSound.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x4010000000000000 ## double 4
LCPI0_1:
.quad 0x4008000000000000 ## double 3
LCPI0_2:
.quad 0xbfeb23a2ad7dd937 ## double -0.84810003171040804
LCPI0_3:
.quad 0x4030000000000000 ## double 16
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rdi
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
movb $2, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movsd LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero
movb $1, %al
callq _printf
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = mem[0],zero
leaq -4(%rbp), %rdi
callq _frexp
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Aproximanci\303\263n hacia arriba 3.7: %f \n aproximaci\303\263n hac\303\255a abajo de 3.7: %f \n"
L_.str.1: ## @.str.1
.asciz "coseno de 3.7 es %f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x8, #4613937818241073152
mov x9, #4616189618054758400
stp x9, x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x8, #55607
movk x8, #44413, lsl #16
movk x8, #9122, lsl #32
movk x8, #49131, lsl #48
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
fmov d0, #16.00000000
sub x0, x29, #4
bl _frexp
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Aproximanci\303\263n hacia arriba 3.7: %f \n aproximaci\303\263n hac\303\255a abajo de 3.7: %f \n"
l_.str.1: ; @.str.1
.asciz "coseno de 3.7 es %f"
.subsections_via_symbols
| the_stack_data/200143141.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function chroma_smooth_init
_chroma_smooth_init: ## @chroma_smooth_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movl $4, %edi
movl $1, %esi
callq _calloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_53
## %bb.1:
movq %rax, %r15
movq (%rax), %rdi
movq $-1, (%rdi)
movq $-1, 32(%rdi)
movq $-1, 64(%rdi)
movq (%rbx), %r12
testq %r12, %r12
je LBB0_3
## %bb.2:
addq $32, %rdi
leaq L_.str.1(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_double
movq (%r15), %rdi
addq $36, %rdi
leaq L_.str.2(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_int
movq (%r15), %rdi
addq $64, %rdi
leaq L_.str.3(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_double
movq (%r15), %rdi
addq $68, %rdi
leaq L_.str.4(%rip), %rdx
movq %r12, %rsi
callq _hb_dict_extract_int
movq (%r15), %rdi
LBB0_3:
cmpl $-1, 64(%rdi)
je LBB0_4
## %bb.5:
cmpl $-1, 68(%rdi)
je LBB0_6
LBB0_7:
movl (%r14), %esi
movl %esi, 28(%rdi)
movl (%rdi), %eax
cmpl $-1, %eax
jne LBB0_9
## %bb.8:
movq _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
LBB0_9:
movl 4(%rdi), %ecx
cmpl $-1, %ecx
je LBB0_10
## %bb.11:
testl %eax, %eax
js LBB0_12
LBB0_13:
movl $3, %edx
cmpl $4, %eax
jae LBB0_14
## %bb.15:
testb $1, %cl
jne LBB0_17
LBB0_16:
decl %ecx
movl %ecx, 4(%rdi)
LBB0_17:
movq _CHROMA_SMOOTH_SIZE_MIN@GOTPCREL(%rip), %rax
movl (%rax), %edx
cmpl %edx, %ecx
jge LBB0_19
## %bb.18:
movl %edx, 4(%rdi)
movl %edx, %ecx
LBB0_19:
movq _CHROMA_SMOOTH_SIZE_MAX@GOTPCREL(%rip), %rdx
movl (%rdx), %r8d
cmpl %r8d, %ecx
jle LBB0_21
## %bb.20:
movl %r8d, 4(%rdi)
LBB0_21:
xorps %xmm0, %xmm0
movups %xmm0, 8(%rdi)
movl $0, 24(%rdi)
movl %esi, 60(%rdi)
movl 32(%rdi), %r8d
cmpl $-1, %r8d
jne LBB0_23
## %bb.22:
movq _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %r8d
movl %r8d, 32(%rdi)
LBB0_23:
movl 36(%rdi), %ecx
cmpl $-1, %ecx
je LBB0_24
## %bb.25:
testl %r8d, %r8d
js LBB0_26
LBB0_27:
movl $3, %r9d
cmpl $4, %r8d
jae LBB0_28
## %bb.29:
testb $1, %cl
jne LBB0_31
LBB0_30:
decl %ecx
movl %ecx, 36(%rdi)
LBB0_31:
movl (%rax), %r9d
cmpl %r9d, %ecx
jge LBB0_33
## %bb.32:
movl %r9d, 36(%rdi)
movl %r9d, %ecx
LBB0_33:
movl (%rdx), %r9d
cmpl %r9d, %ecx
jle LBB0_35
## %bb.34:
movl %r9d, 36(%rdi)
movl %r9d, %ecx
LBB0_35:
movl %ecx, %r9d
shrl $31, %r9d
addl %ecx, %r9d
sarl %r9d
leal (,%r9,4), %r10d
leal -1(%r10), %ecx
movl $1, %r11d
## kill: def $cl killed $cl killed $ecx
shll %cl, %r11d
shll $16, %r8d
xorps %xmm0, %xmm0
cvtsi2sd %r8d, %xmm0
movsd %xmm0, 40(%rdi)
movl %r9d, 48(%rdi)
movl %r10d, 52(%rdi)
movl %r11d, 56(%rdi)
movl %esi, 92(%rdi)
movl 64(%rdi), %esi
cmpl $-1, %esi
jne LBB0_37
## %bb.36:
movq _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl %esi, 64(%rdi)
LBB0_37:
movl 68(%rdi), %ecx
cmpl $-1, %ecx
je LBB0_38
## %bb.39:
testl %esi, %esi
js LBB0_40
LBB0_41:
movl $3, %r8d
cmpl $4, %esi
jae LBB0_42
## %bb.43:
testb $1, %cl
jne LBB0_45
LBB0_44:
decl %ecx
movl %ecx, 68(%rdi)
LBB0_45:
movl (%rax), %eax
cmpl %eax, %ecx
jge LBB0_47
## %bb.46:
movl %eax, 68(%rdi)
movl %eax, %ecx
LBB0_47:
movl (%rdx), %eax
cmpl %eax, %ecx
jle LBB0_49
## %bb.48:
movl %eax, 68(%rdi)
movl %eax, %ecx
LBB0_49:
movl %ecx, %eax
shrl $31, %eax
addl %ecx, %eax
sarl %eax
leal (,%rax,4), %edx
leal -1(%rdx), %ecx
movl $1, %r8d
## kill: def $cl killed $cl killed $ecx
shll %cl, %r8d
shll $16, %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movsd %xmm0, 72(%rdi)
movl %eax, 80(%rdi)
movl %edx, 84(%rdi)
movl %r8d, 88(%rdi)
movq %rbx, %rdi
movl $1, %esi
callq _chroma_smooth_init_thread
movq %rax, %rcx
xorl %eax, %eax
testq %rcx, %rcx
jns LBB0_52
## %bb.50:
movq %rbx, %rdi
callq _chroma_smooth_close
jmp LBB0_51
LBB0_53:
leaq L_.str(%rip), %rdi
callq _hb_error
LBB0_51:
movl $-1, %eax
LBB0_52:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl 32(%rdi), %eax
movl %eax, 64(%rdi)
cmpl $-1, 68(%rdi)
jne LBB0_7
LBB0_6:
movl 36(%rdi), %eax
movl %eax, 68(%rdi)
jmp LBB0_7
LBB0_10:
movq _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 4(%rdi)
testl %eax, %eax
jns LBB0_13
LBB0_12:
xorl %edx, %edx
LBB0_14:
movl %edx, (%rdi)
testb $1, %cl
je LBB0_16
jmp LBB0_17
LBB0_24:
movq _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 36(%rdi)
testl %r8d, %r8d
jns LBB0_27
LBB0_26:
xorl %r9d, %r9d
LBB0_28:
movl %r9d, 32(%rdi)
movl %r9d, %r8d
testb $1, %cl
je LBB0_30
jmp LBB0_31
LBB0_38:
movq _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 68(%rdi)
testl %esi, %esi
jns LBB0_41
LBB0_40:
xorl %r8d, %r8d
LBB0_42:
movl %r8d, 64(%rdi)
movl %r8d, %esi
testb $1, %cl
je LBB0_44
jmp LBB0_45
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _g_aug_volatile_9973 ## @g_aug_volatile_9973
.p2align 2, 0x0
_g_aug_volatile_9973:
.long 4 ## 0x4
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Chroma Smooth calloc failed"
L_.str.1: ## @.str.1
.asciz "cb-strength"
L_.str.2: ## @.str.2
.asciz "cb-size"
L_.str.3: ## @.str.3
.asciz "cr-strength"
L_.str.4: ## @.str.4
.asciz "cr-size"
.comm _CHROMA_SMOOTH_STRENGTH_DEFAULT,4,2 ## @CHROMA_SMOOTH_STRENGTH_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_DEFAULT,4,2 ## @CHROMA_SMOOTH_SIZE_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_MIN,4,2 ## @CHROMA_SMOOTH_SIZE_MIN
.comm _CHROMA_SMOOTH_SIZE_MAX,4,2 ## @CHROMA_SMOOTH_SIZE_MAX
.no_dead_strip _chroma_smooth_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function chroma_smooth_init
_chroma_smooth_init: ; @chroma_smooth_init
.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 x20, x1
mov x19, x0
mov w0, #4 ; =0x4
mov w1, #1 ; =0x1
bl _calloc
str x0, [x19, #8]
cbz x0, LBB0_13
; %bb.1:
mov x21, x0
ldr x8, [x0]
movi.2d v0, #0xffffffffffffffff
str d0, [x8]
mov x0, x8
str d0, [x0, #32]!
str d0, [x8, #64]
ldr x22, [x19]
cbz x22, LBB0_3
; %bb.2:
Lloh0:
adrp x2, l_.str.1@PAGE
Lloh1:
add x2, x2, l_.str.1@PAGEOFF
mov x1, x22
bl _hb_dict_extract_double
ldr x8, [x21]
Lloh2:
adrp x2, l_.str.2@PAGE
Lloh3:
add x2, x2, l_.str.2@PAGEOFF
add x0, x8, #36
mov x1, x22
bl _hb_dict_extract_int
ldr x8, [x21]
Lloh4:
adrp x2, l_.str.3@PAGE
Lloh5:
add x2, x2, l_.str.3@PAGEOFF
add x0, x8, #64
mov x1, x22
bl _hb_dict_extract_double
ldr x8, [x21]
Lloh6:
adrp x2, l_.str.4@PAGE
Lloh7:
add x2, x2, l_.str.4@PAGEOFF
add x0, x8, #68
mov x1, x22
bl _hb_dict_extract_int
ldr x8, [x21]
LBB0_3:
ldr w9, [x8, #64]
cmn w9, #1
b.ne LBB0_5
; %bb.4:
ldr w9, [x8, #32]
str w9, [x8, #64]
LBB0_5:
ldr w10, [x8, #68]
cmn w10, #1
b.ne LBB0_7
; %bb.6:
ldr w10, [x8, #36]
str w10, [x8, #68]
LBB0_7:
ldr w11, [x20]
str w11, [x8, #28]
ldr w12, [x8]
cmn w12, #1
b.ne LBB0_9
; %bb.8:
Lloh8:
adrp x12, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGE
Lloh9:
ldr x12, [x12, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGEOFF]
Lloh10:
ldr w12, [x12]
str w12, [x8]
LBB0_9:
ldr w14, [x8, #4]
cmn w14, #1
b.eq LBB0_14
; %bb.10:
tbnz w12, #31, LBB0_15
LBB0_11:
cmp w12, #4
b.lo LBB0_17
; %bb.12:
mov w12, #3 ; =0x3
b LBB0_16
LBB0_13:
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
bl _hb_error
b LBB0_52
LBB0_14:
Lloh13:
adrp x13, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGE
Lloh14:
ldr x13, [x13, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGEOFF]
Lloh15:
ldr w14, [x13]
str w14, [x8, #4]
tbz w12, #31, LBB0_11
LBB0_15:
mov w12, #0 ; =0x0
LBB0_16:
str w12, [x8]
LBB0_17:
tbnz w14, #0, LBB0_19
; %bb.18:
sub w14, w14, #1
str w14, [x8, #4]
LBB0_19:
Lloh16:
adrp x12, _CHROMA_SMOOTH_SIZE_MIN@GOTPAGE
Lloh17:
ldr x12, [x12, _CHROMA_SMOOTH_SIZE_MIN@GOTPAGEOFF]
Lloh18:
ldr w12, [x12]
cmp w14, w12
b.ge LBB0_21
; %bb.20:
str w12, [x8, #4]
mov x14, x12
LBB0_21:
Lloh19:
adrp x13, _CHROMA_SMOOTH_SIZE_MAX@GOTPAGE
Lloh20:
ldr x13, [x13, _CHROMA_SMOOTH_SIZE_MAX@GOTPAGEOFF]
Lloh21:
ldr w13, [x13]
cmp w14, w13
b.le LBB0_23
; %bb.22:
str w13, [x8, #4]
LBB0_23:
stp xzr, xzr, [x8, #8]
str wzr, [x8, #24]
str w11, [x8, #60]
ldr w14, [x8, #32]
cmn w14, #1
b.ne LBB0_25
; %bb.24:
Lloh22:
adrp x14, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGE
Lloh23:
ldr x14, [x14, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGEOFF]
Lloh24:
ldr w14, [x14]
str w14, [x8, #32]
LBB0_25:
ldr w15, [x8, #36]
cmn w15, #1
b.eq LBB0_29
; %bb.26:
tbnz w14, #31, LBB0_30
LBB0_27:
cmp w14, #4
b.lo LBB0_32
; %bb.28:
mov w14, #3 ; =0x3
b LBB0_31
LBB0_29:
Lloh25:
adrp x15, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGE
Lloh26:
ldr x15, [x15, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGEOFF]
Lloh27:
ldr w15, [x15]
str w15, [x8, #36]
tbz w14, #31, LBB0_27
LBB0_30:
mov w14, #0 ; =0x0
LBB0_31:
str w14, [x8, #32]
LBB0_32:
ands w16, w15, #0x1
cset w17, eq
sub w0, w15, w17
cmp w0, w12
csel w17, w0, w12, gt
cmp w17, w13
csel w15, w17, w13, lt
cmp w0, w12
b.lt LBB0_35
; %bb.33:
cmp w17, w13
b.gt LBB0_35
; %bb.34:
cbnz w16, LBB0_36
LBB0_35:
str w15, [x8, #36]
LBB0_36:
add w15, w15, w15, lsr #31
asr w15, w15, #1
lsl w16, w15, #2
sub w17, w16, #1
lsl w14, w14, #16
ucvtf d0, w14
str d0, [x8, #40]
mov w14, #1 ; =0x1
stp w15, w16, [x8, #48]
lsl w14, w14, w17
str w14, [x8, #56]
str w11, [x8, #92]
cmn w9, #1
b.eq LBB0_41
; %bb.37:
cmn w10, #1
b.eq LBB0_42
LBB0_38:
tbnz w9, #31, LBB0_43
LBB0_39:
cmp w9, #4
b.lo LBB0_45
; %bb.40:
mov w9, #3 ; =0x3
b LBB0_44
LBB0_41:
Lloh28:
adrp x9, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGE
Lloh29:
ldr x9, [x9, _CHROMA_SMOOTH_STRENGTH_DEFAULT@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
str w9, [x8, #64]
cmn w10, #1
b.ne LBB0_38
LBB0_42:
Lloh31:
adrp x10, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGE
Lloh32:
ldr x10, [x10, _CHROMA_SMOOTH_SIZE_DEFAULT@GOTPAGEOFF]
Lloh33:
ldr w10, [x10]
str w10, [x8, #68]
tbz w9, #31, LBB0_39
LBB0_43:
mov w9, #0 ; =0x0
LBB0_44:
str w9, [x8, #64]
LBB0_45:
ands w11, w10, #0x1
cset w14, eq
sub w15, w10, w14
cmp w15, w12
csel w14, w15, w12, gt
cmp w14, w13
csel w10, w14, w13, lt
cmp w15, w12
b.lt LBB0_48
; %bb.46:
cmp w14, w13
b.gt LBB0_48
; %bb.47:
cbnz w11, LBB0_49
LBB0_48:
str w10, [x8, #68]
LBB0_49:
add w10, w10, w10, lsr #31
asr w10, w10, #1
lsl w11, w10, #2
sub w12, w11, #1
lsl w9, w9, #16
ucvtf d0, w9
mov w9, #1 ; =0x1
str d0, [x8, #72]
lsl w9, w9, w12
stp w10, w11, [x8, #80]
str w9, [x8, #88]
mov x0, x19
mov w1, #1 ; =0x1
bl _chroma_smooth_init_thread
tbnz x0, #63, LBB0_51
; %bb.50:
mov w0, #0 ; =0x0
b LBB0_53
LBB0_51:
mov x0, x19
bl _chroma_smooth_close
LBB0_52:
mov w0, #-1 ; =0xffffffff
LBB0_53:
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 Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _g_aug_volatile_9973 ; @g_aug_volatile_9973
.p2align 2, 0x0
_g_aug_volatile_9973:
.long 4 ; 0x4
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Chroma Smooth calloc failed"
l_.str.1: ; @.str.1
.asciz "cb-strength"
l_.str.2: ; @.str.2
.asciz "cb-size"
l_.str.3: ; @.str.3
.asciz "cr-strength"
l_.str.4: ; @.str.4
.asciz "cr-size"
.comm _CHROMA_SMOOTH_STRENGTH_DEFAULT,4,2 ; @CHROMA_SMOOTH_STRENGTH_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_DEFAULT,4,2 ; @CHROMA_SMOOTH_SIZE_DEFAULT
.comm _CHROMA_SMOOTH_SIZE_MIN,4,2 ; @CHROMA_SMOOTH_SIZE_MIN
.comm _CHROMA_SMOOTH_SIZE_MAX,4,2 ; @CHROMA_SMOOTH_SIZE_MAX
.no_dead_strip _chroma_smooth_init
.subsections_via_symbols
| assembly_file_44280.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dwc3_endpoint_interrupt
_dwc3_endpoint_interrupt: ## @dwc3_endpoint_interrupt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq (%rsi), %rax
movq (%rdi), %rcx
movq (%rcx,%rax,8), %rbx
movl (%rbx), %ecx
movq _DWC3_EP_ENABLED@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_1
LBB0_3:
cmpq $1, %rax
ja LBB0_4
## %bb.11:
addq $8, %rsp
popq %rbx
popq %rbp
jmp _dwc3_ep0_interrupt ## TAILCALL
LBB0_1:
movq _DWC3_EP_TRANSFER_STARTED@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_10
## %bb.2:
cmpl $133, 8(%rsi)
je LBB0_3
jmp LBB0_10
LBB0_4:
movl 8(%rsi), %eax
cmpl $128, %eax
je LBB0_8
## %bb.5:
cmpl $133, %eax
je LBB0_9
## %bb.6:
cmpl $129, %eax
jne LBB0_10
## %bb.7:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _dwc3_gadget_endpoint_transfer_in_progress ## TAILCALL
LBB0_8:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _dwc3_gadget_endpoint_transfer_not_ready ## TAILCALL
LBB0_9:
movl 12(%rsi), %edi
callq _DEPEVT_PARAMETER_CMD
movq _DWC3_DEPCMD_ENDTRANSFER@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_10
## %bb.12:
movq _DWC3_EP_TRANSFER_STARTED@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
andl %eax, (%rbx)
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _dwc3_gadget_ep_cleanup_cancelled_requests ## TAILCALL
LBB0_10:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DWC3_EP_ENABLED,4,2 ## @DWC3_EP_ENABLED
.comm _DWC3_EP_TRANSFER_STARTED,4,2 ## @DWC3_EP_TRANSFER_STARTED
.comm _DWC3_DEPCMD_ENDTRANSFER,8,3 ## @DWC3_DEPCMD_ENDTRANSFER
.no_dead_strip _dwc3_endpoint_interrupt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dwc3_endpoint_interrupt
_dwc3_endpoint_interrupt: ; @dwc3_endpoint_interrupt
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x1]
ldr x9, [x0]
ldr x19, [x9, x8, lsl #3]
ldr w9, [x19]
Lloh0:
adrp x10, _DWC3_EP_ENABLED@GOTPAGE
Lloh1:
ldr x10, [x10, _DWC3_EP_ENABLED@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_3
LBB0_1:
cmp x8, #1
b.hi LBB0_5
; %bb.2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dwc3_ep0_interrupt
LBB0_3:
Lloh3:
adrp x10, _DWC3_EP_TRANSFER_STARTED@GOTPAGE
Lloh4:
ldr x10, [x10, _DWC3_EP_TRANSFER_STARTED@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_12
; %bb.4:
ldr w9, [x1, #8]
cmp w9, #133
b.eq LBB0_1
b LBB0_12
LBB0_5:
ldr w8, [x1, #8]
cmp w8, #128
b.eq LBB0_9
; %bb.6:
cmp w8, #133
b.eq LBB0_10
; %bb.7:
cmp w8, #129
b.ne LBB0_12
; %bb.8:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dwc3_gadget_endpoint_transfer_in_progress
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dwc3_gadget_endpoint_transfer_not_ready
LBB0_10:
ldr w0, [x1, #12]
bl _DEPEVT_PARAMETER_CMD
Lloh6:
adrp x8, _DWC3_DEPCMD_ENDTRANSFER@GOTPAGE
Lloh7:
ldr x8, [x8, _DWC3_DEPCMD_ENDTRANSFER@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_12
; %bb.11:
Lloh9:
adrp x8, _DWC3_EP_TRANSFER_STARTED@GOTPAGE
Lloh10:
ldr x8, [x8, _DWC3_EP_TRANSFER_STARTED@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
ldr w9, [x19]
bic w8, w9, w8
str w8, [x19]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _dwc3_gadget_ep_cleanup_cancelled_requests
LBB0_12:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _DWC3_EP_ENABLED,4,2 ; @DWC3_EP_ENABLED
.comm _DWC3_EP_TRANSFER_STARTED,4,2 ; @DWC3_EP_TRANSFER_STARTED
.comm _DWC3_DEPCMD_ENDTRANSFER,8,3 ; @DWC3_DEPCMD_ENDTRANSFER
.no_dead_strip _dwc3_endpoint_interrupt
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/dwc3/extr_gadget.c_dwc3_endpoint_interrupt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function get_TAG_name
_get_TAG_name: ## @get_TAG_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
leaq -128(%rdi), %rax
cmpq $63, %rax
jae LBB0_1
## %bb.2:
leaq l_reltable.get_TAG_name(%rip), %rcx
movslq (%rcx,%rax,4), %rbx
addq %rcx, %rbx
jmp LBB0_3
LBB0_1:
movq %rdi, %r14
leaq L_.str.63(%rip), %rdi
callq __
leaq _get_TAG_name.buffer(%rip), %rbx
movq %rbx, %rdi
movl $100, %esi
movq %rax, %rdx
movq %r14, %rcx
callq _snprintf
LBB0_3:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "DW_TAG_padding"
L_.str.1: ## @.str.1
.asciz "DW_TAG_array_type"
L_.str.2: ## @.str.2
.asciz "DW_TAG_class_type"
L_.str.3: ## @.str.3
.asciz "DW_TAG_entry_point"
L_.str.4: ## @.str.4
.asciz "DW_TAG_enumeration_type"
L_.str.5: ## @.str.5
.asciz "DW_TAG_formal_parameter"
L_.str.6: ## @.str.6
.asciz "DW_TAG_imported_declaration"
L_.str.7: ## @.str.7
.asciz "DW_TAG_label"
L_.str.8: ## @.str.8
.asciz "DW_TAG_lexical_block"
L_.str.9: ## @.str.9
.asciz "DW_TAG_member"
L_.str.10: ## @.str.10
.asciz "DW_TAG_pointer_type"
L_.str.11: ## @.str.11
.asciz "DW_TAG_reference_type"
L_.str.12: ## @.str.12
.asciz "DW_TAG_compile_unit"
L_.str.13: ## @.str.13
.asciz "DW_TAG_string_type"
L_.str.14: ## @.str.14
.asciz "DW_TAG_structure_type"
L_.str.15: ## @.str.15
.asciz "DW_TAG_subroutine_type"
L_.str.16: ## @.str.16
.asciz "DW_TAG_typedef"
L_.str.17: ## @.str.17
.asciz "DW_TAG_union_type"
L_.str.18: ## @.str.18
.asciz "DW_TAG_unspecified_parameters"
L_.str.19: ## @.str.19
.asciz "DW_TAG_variant"
L_.str.20: ## @.str.20
.asciz "DW_TAG_common_block"
L_.str.21: ## @.str.21
.asciz "DW_TAG_common_inclusion"
L_.str.22: ## @.str.22
.asciz "DW_TAG_inheritance"
L_.str.23: ## @.str.23
.asciz "DW_TAG_inlined_subroutine"
L_.str.24: ## @.str.24
.asciz "DW_TAG_module"
L_.str.25: ## @.str.25
.asciz "DW_TAG_ptr_to_member_type"
L_.str.26: ## @.str.26
.asciz "DW_TAG_set_type"
L_.str.27: ## @.str.27
.asciz "DW_TAG_subrange_type"
L_.str.28: ## @.str.28
.asciz "DW_TAG_with_stmt"
L_.str.29: ## @.str.29
.asciz "DW_TAG_access_declaration"
L_.str.30: ## @.str.30
.asciz "DW_TAG_base_type"
L_.str.31: ## @.str.31
.asciz "DW_TAG_catch_block"
L_.str.32: ## @.str.32
.asciz "DW_TAG_const_type"
L_.str.33: ## @.str.33
.asciz "DW_TAG_constant"
L_.str.34: ## @.str.34
.asciz "DW_TAG_enumerator"
L_.str.35: ## @.str.35
.asciz "DW_TAG_file_type"
L_.str.36: ## @.str.36
.asciz "DW_TAG_friend"
L_.str.37: ## @.str.37
.asciz "DW_TAG_namelist"
L_.str.38: ## @.str.38
.asciz "DW_TAG_namelist_item"
L_.str.39: ## @.str.39
.asciz "DW_TAG_packed_type"
L_.str.40: ## @.str.40
.asciz "DW_TAG_subprogram"
L_.str.41: ## @.str.41
.asciz "DW_TAG_template_type_param"
L_.str.42: ## @.str.42
.asciz "DW_TAG_template_value_param"
L_.str.43: ## @.str.43
.asciz "DW_TAG_thrown_type"
L_.str.44: ## @.str.44
.asciz "DW_TAG_try_block"
L_.str.45: ## @.str.45
.asciz "DW_TAG_variant_part"
L_.str.46: ## @.str.46
.asciz "DW_TAG_variable"
L_.str.47: ## @.str.47
.asciz "DW_TAG_volatile_type"
L_.str.48: ## @.str.48
.asciz "DW_TAG_MIPS_loop"
L_.str.49: ## @.str.49
.asciz "DW_TAG_format_label"
L_.str.50: ## @.str.50
.asciz "DW_TAG_function_template"
L_.str.51: ## @.str.51
.asciz "DW_TAG_class_template"
L_.str.52: ## @.str.52
.asciz "DW_TAG_dwarf_procedure"
L_.str.53: ## @.str.53
.asciz "DW_TAG_restrict_type"
L_.str.54: ## @.str.54
.asciz "DW_TAG_interface_type"
L_.str.55: ## @.str.55
.asciz "DW_TAG_namespace"
L_.str.56: ## @.str.56
.asciz "DW_TAG_imported_module"
L_.str.57: ## @.str.57
.asciz "DW_TAG_unspecified_type"
L_.str.58: ## @.str.58
.asciz "DW_TAG_partial_unit"
L_.str.59: ## @.str.59
.asciz "DW_TAG_imported_unit"
L_.str.60: ## @.str.60
.asciz "DW_TAG_upc_shared_type"
L_.str.61: ## @.str.61
.asciz "DW_TAG_upc_strict_type"
L_.str.62: ## @.str.62
.asciz "DW_TAG_upc_relaxed_type"
.zerofill __DATA,__bss,_get_TAG_name.buffer,100,4 ## @get_TAG_name.buffer
L_.str.63: ## @.str.63
.asciz "Unknown TAG value: %lx"
.no_dead_strip _get_TAG_name
.section __TEXT,__const
.p2align 2 ## @reltable.get_TAG_name
l_reltable.get_TAG_name:
.long L_.str.28-l_reltable.get_TAG_name
.long L_.str.47-l_reltable.get_TAG_name
.long L_.str.45-l_reltable.get_TAG_name
.long L_.str.19-l_reltable.get_TAG_name
.long L_.str.46-l_reltable.get_TAG_name
.long L_.str.61-l_reltable.get_TAG_name
.long L_.str.60-l_reltable.get_TAG_name
.long L_.str.62-l_reltable.get_TAG_name
.long L_.str.57-l_reltable.get_TAG_name
.long L_.str.18-l_reltable.get_TAG_name
.long L_.str.17-l_reltable.get_TAG_name
.long L_.str.16-l_reltable.get_TAG_name
.long L_.str.44-l_reltable.get_TAG_name
.long L_.str.43-l_reltable.get_TAG_name
.long L_.str.42-l_reltable.get_TAG_name
.long L_.str.41-l_reltable.get_TAG_name
.long L_.str.15-l_reltable.get_TAG_name
.long L_.str.27-l_reltable.get_TAG_name
.long L_.str.40-l_reltable.get_TAG_name
.long L_.str.14-l_reltable.get_TAG_name
.long L_.str.13-l_reltable.get_TAG_name
.long L_.str.26-l_reltable.get_TAG_name
.long L_.str.53-l_reltable.get_TAG_name
.long L_.str.11-l_reltable.get_TAG_name
.long L_.str.25-l_reltable.get_TAG_name
.long L_.str.10-l_reltable.get_TAG_name
.long L_.str.58-l_reltable.get_TAG_name
.long L_.str-l_reltable.get_TAG_name
.long L_.str.39-l_reltable.get_TAG_name
.long L_.str.55-l_reltable.get_TAG_name
.long L_.str.38-l_reltable.get_TAG_name
.long L_.str.37-l_reltable.get_TAG_name
.long L_.str.24-l_reltable.get_TAG_name
.long L_.str.9-l_reltable.get_TAG_name
.long L_.str.8-l_reltable.get_TAG_name
.long L_.str.7-l_reltable.get_TAG_name
.long L_.str.54-l_reltable.get_TAG_name
.long L_.str.23-l_reltable.get_TAG_name
.long L_.str.22-l_reltable.get_TAG_name
.long L_.str.59-l_reltable.get_TAG_name
.long L_.str.56-l_reltable.get_TAG_name
.long L_.str.6-l_reltable.get_TAG_name
.long L_.str.50-l_reltable.get_TAG_name
.long L_.str.36-l_reltable.get_TAG_name
.long L_.str.49-l_reltable.get_TAG_name
.long L_.str.5-l_reltable.get_TAG_name
.long L_.str.35-l_reltable.get_TAG_name
.long L_.str.34-l_reltable.get_TAG_name
.long L_.str.4-l_reltable.get_TAG_name
.long L_.str.3-l_reltable.get_TAG_name
.long L_.str.52-l_reltable.get_TAG_name
.long L_.str.33-l_reltable.get_TAG_name
.long L_.str.32-l_reltable.get_TAG_name
.long L_.str.12-l_reltable.get_TAG_name
.long L_.str.21-l_reltable.get_TAG_name
.long L_.str.20-l_reltable.get_TAG_name
.long L_.str.2-l_reltable.get_TAG_name
.long L_.str.51-l_reltable.get_TAG_name
.long L_.str.31-l_reltable.get_TAG_name
.long L_.str.30-l_reltable.get_TAG_name
.long L_.str.1-l_reltable.get_TAG_name
.long L_.str.29-l_reltable.get_TAG_name
.long L_.str.48-l_reltable.get_TAG_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function get_TAG_name
_get_TAG_name: ; @get_TAG_name
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
sub x8, x0, #128
cmp x8, #63
b.hs LBB0_2
; %bb.1:
Lloh0:
adrp x9, l_switch.table.get_TAG_name@PAGE
Lloh1:
add x9, x9, l_switch.table.get_TAG_name@PAGEOFF
ldr x20, [x9, x8, lsl #3]
b LBB0_3
LBB0_2:
mov x19, x0
Lloh2:
adrp x0, l_.str.63@PAGE
Lloh3:
add x0, x0, l_.str.63@PAGEOFF
bl __
mov x2, x0
Lloh4:
adrp x20, _get_TAG_name.buffer@PAGE
Lloh5:
add x20, x20, _get_TAG_name.buffer@PAGEOFF
mov x0, x20
mov w1, #100
mov x3, x19
bl _snprintf
LBB0_3:
mov x0, x20
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 Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "DW_TAG_padding"
l_.str.1: ; @.str.1
.asciz "DW_TAG_array_type"
l_.str.2: ; @.str.2
.asciz "DW_TAG_class_type"
l_.str.3: ; @.str.3
.asciz "DW_TAG_entry_point"
l_.str.4: ; @.str.4
.asciz "DW_TAG_enumeration_type"
l_.str.5: ; @.str.5
.asciz "DW_TAG_formal_parameter"
l_.str.6: ; @.str.6
.asciz "DW_TAG_imported_declaration"
l_.str.7: ; @.str.7
.asciz "DW_TAG_label"
l_.str.8: ; @.str.8
.asciz "DW_TAG_lexical_block"
l_.str.9: ; @.str.9
.asciz "DW_TAG_member"
l_.str.10: ; @.str.10
.asciz "DW_TAG_pointer_type"
l_.str.11: ; @.str.11
.asciz "DW_TAG_reference_type"
l_.str.12: ; @.str.12
.asciz "DW_TAG_compile_unit"
l_.str.13: ; @.str.13
.asciz "DW_TAG_string_type"
l_.str.14: ; @.str.14
.asciz "DW_TAG_structure_type"
l_.str.15: ; @.str.15
.asciz "DW_TAG_subroutine_type"
l_.str.16: ; @.str.16
.asciz "DW_TAG_typedef"
l_.str.17: ; @.str.17
.asciz "DW_TAG_union_type"
l_.str.18: ; @.str.18
.asciz "DW_TAG_unspecified_parameters"
l_.str.19: ; @.str.19
.asciz "DW_TAG_variant"
l_.str.20: ; @.str.20
.asciz "DW_TAG_common_block"
l_.str.21: ; @.str.21
.asciz "DW_TAG_common_inclusion"
l_.str.22: ; @.str.22
.asciz "DW_TAG_inheritance"
l_.str.23: ; @.str.23
.asciz "DW_TAG_inlined_subroutine"
l_.str.24: ; @.str.24
.asciz "DW_TAG_module"
l_.str.25: ; @.str.25
.asciz "DW_TAG_ptr_to_member_type"
l_.str.26: ; @.str.26
.asciz "DW_TAG_set_type"
l_.str.27: ; @.str.27
.asciz "DW_TAG_subrange_type"
l_.str.28: ; @.str.28
.asciz "DW_TAG_with_stmt"
l_.str.29: ; @.str.29
.asciz "DW_TAG_access_declaration"
l_.str.30: ; @.str.30
.asciz "DW_TAG_base_type"
l_.str.31: ; @.str.31
.asciz "DW_TAG_catch_block"
l_.str.32: ; @.str.32
.asciz "DW_TAG_const_type"
l_.str.33: ; @.str.33
.asciz "DW_TAG_constant"
l_.str.34: ; @.str.34
.asciz "DW_TAG_enumerator"
l_.str.35: ; @.str.35
.asciz "DW_TAG_file_type"
l_.str.36: ; @.str.36
.asciz "DW_TAG_friend"
l_.str.37: ; @.str.37
.asciz "DW_TAG_namelist"
l_.str.38: ; @.str.38
.asciz "DW_TAG_namelist_item"
l_.str.39: ; @.str.39
.asciz "DW_TAG_packed_type"
l_.str.40: ; @.str.40
.asciz "DW_TAG_subprogram"
l_.str.41: ; @.str.41
.asciz "DW_TAG_template_type_param"
l_.str.42: ; @.str.42
.asciz "DW_TAG_template_value_param"
l_.str.43: ; @.str.43
.asciz "DW_TAG_thrown_type"
l_.str.44: ; @.str.44
.asciz "DW_TAG_try_block"
l_.str.45: ; @.str.45
.asciz "DW_TAG_variant_part"
l_.str.46: ; @.str.46
.asciz "DW_TAG_variable"
l_.str.47: ; @.str.47
.asciz "DW_TAG_volatile_type"
l_.str.48: ; @.str.48
.asciz "DW_TAG_MIPS_loop"
l_.str.49: ; @.str.49
.asciz "DW_TAG_format_label"
l_.str.50: ; @.str.50
.asciz "DW_TAG_function_template"
l_.str.51: ; @.str.51
.asciz "DW_TAG_class_template"
l_.str.52: ; @.str.52
.asciz "DW_TAG_dwarf_procedure"
l_.str.53: ; @.str.53
.asciz "DW_TAG_restrict_type"
l_.str.54: ; @.str.54
.asciz "DW_TAG_interface_type"
l_.str.55: ; @.str.55
.asciz "DW_TAG_namespace"
l_.str.56: ; @.str.56
.asciz "DW_TAG_imported_module"
l_.str.57: ; @.str.57
.asciz "DW_TAG_unspecified_type"
l_.str.58: ; @.str.58
.asciz "DW_TAG_partial_unit"
l_.str.59: ; @.str.59
.asciz "DW_TAG_imported_unit"
l_.str.60: ; @.str.60
.asciz "DW_TAG_upc_shared_type"
l_.str.61: ; @.str.61
.asciz "DW_TAG_upc_strict_type"
l_.str.62: ; @.str.62
.asciz "DW_TAG_upc_relaxed_type"
.zerofill __DATA,__bss,_get_TAG_name.buffer,100,0 ; @get_TAG_name.buffer
l_.str.63: ; @.str.63
.asciz "Unknown TAG value: %lx"
.no_dead_strip _get_TAG_name
.section __DATA,__const
.p2align 3 ; @switch.table.get_TAG_name
l_switch.table.get_TAG_name:
.quad l_.str.28
.quad l_.str.47
.quad l_.str.45
.quad l_.str.19
.quad l_.str.46
.quad l_.str.61
.quad l_.str.60
.quad l_.str.62
.quad l_.str.57
.quad l_.str.18
.quad l_.str.17
.quad l_.str.16
.quad l_.str.44
.quad l_.str.43
.quad l_.str.42
.quad l_.str.41
.quad l_.str.15
.quad l_.str.27
.quad l_.str.40
.quad l_.str.14
.quad l_.str.13
.quad l_.str.26
.quad l_.str.53
.quad l_.str.11
.quad l_.str.25
.quad l_.str.10
.quad l_.str.58
.quad l_.str
.quad l_.str.39
.quad l_.str.55
.quad l_.str.38
.quad l_.str.37
.quad l_.str.24
.quad l_.str.9
.quad l_.str.8
.quad l_.str.7
.quad l_.str.54
.quad l_.str.23
.quad l_.str.22
.quad l_.str.59
.quad l_.str.56
.quad l_.str.6
.quad l_.str.50
.quad l_.str.36
.quad l_.str.49
.quad l_.str.5
.quad l_.str.35
.quad l_.str.34
.quad l_.str.4
.quad l_.str.3
.quad l_.str.52
.quad l_.str.33
.quad l_.str.32
.quad l_.str.12
.quad l_.str.21
.quad l_.str.20
.quad l_.str.2
.quad l_.str.51
.quad l_.str.31
.quad l_.str.30
.quad l_.str.1
.quad l_.str.29
.quad l_.str.48
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/binutils/extr_dwarf.c_get_TAG_name.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_atiixp_codec_read
_snd_atiixp_codec_read: ## @snd_atiixp_codec_read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r12d
movq %rdi, %r15
callq _snd_atiixp_acquire_codec
movw $-1, %r13w
testq %rax, %rax
js LBB0_8
## %bb.1:
movzwl %r14w, %ebx
movq _ATI_REG_PHYS_OUT_ADDR_SHIFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl %ebx, %eax
shll %cl, %eax
movq _ATI_REG_PHYS_OUT_ADDR_EN@GOTPCREL(%rip), %rcx
movq _ATI_REG_PHYS_OUT_RW@GOTPCREL(%rip), %rdx
movzwl (%rdx), %esi
orw (%rcx), %r12w
movzwl %r12w, %edx
orl %esi, %edx
orl %eax, %edx
movq _PHYS_OUT_ADDR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _atiixp_write
movq %r15, %rdi
callq _snd_atiixp_acquire_codec
testq %rax, %rax
js LBB0_8
## %bb.2:
movl %ebx, -44(%rbp) ## 4-byte Spill
movl %r14d, -48(%rbp) ## 4-byte Spill
movl $-1000, %ebx ## imm = 0xFC18
movq _PHYS_IN_ADDR@GOTPCREL(%rip), %r12
movq _ATI_REG_PHYS_IN_READ_FLAG@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movq %r15, %rdi
callq _atiixp_read
testl %eax, (%r14)
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl $1, %edi
callq _udelay
incl %ebx
jne LBB0_3
## %bb.6:
cmpw $123, -48(%rbp) ## 2-byte Folded Reload
ja LBB0_8
## %bb.7:
movq (%r15), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
movl -44(%rbp), %edx ## 4-byte Reload
callq _dev_warn
jmp LBB0_8
LBB0_4:
movq _ATI_REG_PHYS_IN_DATA_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shrl %cl, %eax
movl %eax, %r13d
LBB0_8:
movzwl %r13w, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ATI_REG_PHYS_OUT_ADDR_SHIFT,2,1 ## @ATI_REG_PHYS_OUT_ADDR_SHIFT
.comm _ATI_REG_PHYS_OUT_ADDR_EN,2,1 ## @ATI_REG_PHYS_OUT_ADDR_EN
.comm _ATI_REG_PHYS_OUT_RW,2,1 ## @ATI_REG_PHYS_OUT_RW
.comm _PHYS_OUT_ADDR,4,2 ## @PHYS_OUT_ADDR
.comm _PHYS_IN_ADDR,4,2 ## @PHYS_IN_ADDR
.comm _ATI_REG_PHYS_IN_READ_FLAG,4,2 ## @ATI_REG_PHYS_IN_READ_FLAG
.comm _ATI_REG_PHYS_IN_DATA_SHIFT,4,2 ## @ATI_REG_PHYS_IN_DATA_SHIFT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "codec read timeout (reg %x)\n"
.no_dead_strip _snd_atiixp_codec_read
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_atiixp_codec_read
_snd_atiixp_codec_read: ; @snd_atiixp_codec_read
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x2
mov x21, x1
mov x20, x0
bl _snd_atiixp_acquire_codec
tbnz x0, #63, LBB0_7
; %bb.1:
Lloh0:
adrp x8, _ATI_REG_PHYS_OUT_ADDR_SHIFT@GOTPAGE
Lloh1:
ldr x8, [x8, _ATI_REG_PHYS_OUT_ADDR_SHIFT@GOTPAGEOFF]
ldrh w8, [x8]
lsl w8, w19, w8
Lloh2:
adrp x9, _ATI_REG_PHYS_OUT_ADDR_EN@GOTPAGE
Lloh3:
ldr x9, [x9, _ATI_REG_PHYS_OUT_ADDR_EN@GOTPAGEOFF]
ldrh w9, [x9]
Lloh4:
adrp x10, _ATI_REG_PHYS_OUT_RW@GOTPAGE
Lloh5:
ldr x10, [x10, _ATI_REG_PHYS_OUT_RW@GOTPAGEOFF]
ldrh w10, [x10]
orr w9, w9, w21
orr w8, w8, w9
orr w2, w8, w10
Lloh6:
adrp x8, _PHYS_OUT_ADDR@GOTPAGE
Lloh7:
ldr x8, [x8, _PHYS_OUT_ADDR@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _atiixp_write
mov x0, x20
bl _snd_atiixp_acquire_codec
tbnz x0, #63, LBB0_7
; %bb.2:
mov w21, #-1000
Lloh9:
adrp x22, _PHYS_IN_ADDR@GOTPAGE
Lloh10:
ldr x22, [x22, _PHYS_IN_ADDR@GOTPAGEOFF]
Lloh11:
adrp x23, _ATI_REG_PHYS_IN_READ_FLAG@GOTPAGE
Lloh12:
ldr x23, [x23, _ATI_REG_PHYS_IN_READ_FLAG@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w1, [x22]
mov x0, x20
bl _atiixp_read
ldr w8, [x23]
tst w8, w0
b.ne LBB0_9
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1
bl _udelay
adds w21, w21, #1
b.lo LBB0_3
; %bb.5:
cmp w19, #123
b.hi LBB0_7
; %bb.6:
ldr x8, [x20]
ldr w0, [x8]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
bl _dev_warn
LBB0_7:
mov w8, #65535
LBB0_8:
and w0, w8, #0xffff
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_9:
Lloh15:
adrp x8, _ATI_REG_PHYS_IN_DATA_SHIFT@GOTPAGE
Lloh16:
ldr x8, [x8, _ATI_REG_PHYS_IN_DATA_SHIFT@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
lsr w8, w0, w8
b LBB0_8
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _ATI_REG_PHYS_OUT_ADDR_SHIFT,2,1 ; @ATI_REG_PHYS_OUT_ADDR_SHIFT
.comm _ATI_REG_PHYS_OUT_ADDR_EN,2,1 ; @ATI_REG_PHYS_OUT_ADDR_EN
.comm _ATI_REG_PHYS_OUT_RW,2,1 ; @ATI_REG_PHYS_OUT_RW
.comm _PHYS_OUT_ADDR,4,2 ; @PHYS_OUT_ADDR
.comm _PHYS_IN_ADDR,4,2 ; @PHYS_IN_ADDR
.comm _ATI_REG_PHYS_IN_READ_FLAG,4,2 ; @ATI_REG_PHYS_IN_READ_FLAG
.comm _ATI_REG_PHYS_IN_DATA_SHIFT,4,2 ; @ATI_REG_PHYS_IN_DATA_SHIFT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "codec read timeout (reg %x)\n"
.no_dead_strip _snd_atiixp_codec_read
.subsections_via_symbols
| AnghaBench/linux/sound/pci/extr_atiixp_modem.c_snd_atiixp_codec_read.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function delay_capturing
_delay_capturing: ## @delay_capturing
.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 _os_atomic_load_bool ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _delay_capturing
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function delay_capturing
_delay_capturing: ; @delay_capturing
.cfi_startproc
; %bb.0:
b _os_atomic_load_bool
.cfi_endproc
; -- End function
.no_dead_strip _delay_capturing
.subsections_via_symbols
| AnghaBench/obs-studio/libobs/extr_obs-output.c_delay_capturing.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scsi_print_command ## -- Begin function scsi_print_command
.p2align 4, 0x90
_scsi_print_command: ## @scsi_print_command
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $0, 8(%rdi)
je LBB0_5
## %bb.1:
movq %rdi, %r15
movq _KERN_INFO@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rdx
movq %r15, %rsi
callq _scmd_printk
movq 8(%r15), %rdi
movl (%r15), %esi
callq _print_opcode_name
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printk
cmpl $0, (%r15)
jle LBB0_4
## %bb.2:
leaq L_.str.2(%rip), %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rax
movl (%rax,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printk
incq %rbx
movslq (%r15), %rax
cmpq %rax, %rbx
jl LBB0_3
LBB0_4:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _printk ## TAILCALL
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KERN_INFO,4,2 ## @KERN_INFO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "CDB: "
L_.str.1: ## @.str.1
.asciz ":"
L_.str.2: ## @.str.2
.asciz " %02x"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scsi_print_command ; -- Begin function scsi_print_command
.p2align 2
_scsi_print_command: ; @scsi_print_command
.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
ldr x8, [x0, #8]
cbz x8, LBB0_5
; %bb.1:
mov x19, x0
Lloh0:
adrp x8, _KERN_INFO@GOTPAGE
Lloh1:
ldr x8, [x8, _KERN_INFO@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x2, l_.str@PAGE
Lloh4:
add x2, x2, l_.str@PAGEOFF
mov x1, x19
bl _scmd_printk
ldr x0, [x19, #8]
ldr w1, [x19]
bl _print_opcode_name
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _printk
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_4
; %bb.2:
mov x21, #0
Lloh7:
adrp x20, l_.str.2@PAGE
Lloh8:
add x20, x20, l_.str.2@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w8, [x8, x21, lsl #2]
str x8, [sp]
mov x0, x20
bl _printk
add x21, x21, #1
ldrsw x8, [x19]
cmp x21, x8
b.lt LBB0_3
LBB0_4:
Lloh9:
adrp x0, l_.str.3@PAGE
Lloh10:
add x0, x0, l_.str.3@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _printk
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 Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _KERN_INFO,4,2 ; @KERN_INFO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "CDB: "
l_.str.1: ; @.str.1
.asciz ":"
l_.str.2: ; @.str.2
.asciz " %02x"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/extr_constants.c_scsi_print_command.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tcm_qla2xxx_set_sess_by_loop_id
_tcm_qla2xxx_set_sess_by_loop_id: ## @tcm_qla2xxx_set_sess_by_loop_id
.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 %r9, %r15
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r13
leaq L_.str(%rip), %rdi
movq %r9, %rsi
xorl %eax, %eax
callq _pr_debug
movq %r15, %rcx
movq (%r13), %r13
cmpq $0, (%r13,%r15,8)
je LBB0_1
## %bb.2:
movq -56(%rbp), %r15 ## 8-byte Reload
cmpq $0, (%r12)
movq %rcx, -48(%rbp) ## 8-byte Spill
je LBB0_11
## %bb.3:
testq %r15, %r15
je LBB0_4
## %bb.5:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
movq -48(%rbp), %rax ## 8-byte Reload
movq %r15, (%r13,%rax,8)
cmpq %r14, (%rbx)
jne LBB0_7
jmp LBB0_8
LBB0_1:
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
movq %rcx, %r15
callq _pr_debug
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, (%r13,%r15,8)
cmpq %r14, (%rbx)
je LBB0_8
LBB0_7:
movq %r14, (%rbx)
LBB0_8:
cmpq %rbx, (%r12)
je LBB0_10
## %bb.9:
movq %rbx, (%r12)
jmp LBB0_10
LBB0_11:
movq %r15, %rax
testq %r15, %r15
je LBB0_12
## %bb.13:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
movq %r15, %rdx
movq -48(%rbp), %rax ## 8-byte Reload
movq %r15, (%r13,%rax,8)
cmpq %r14, (%rbx)
je LBB0_15
## %bb.14:
movq %r14, (%rbx)
LBB0_15:
cmpq %rbx, (%r12)
je LBB0_17
## %bb.16:
movq %rbx, (%r12)
LBB0_17:
movl (%rdx), %ecx
leaq L_.str.6(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _pr_debug ## TAILCALL
LBB0_4:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
movq -48(%rbp), %rax ## 8-byte Reload
movq $0, (%r13,%rax,8)
movq $0, (%r12)
jmp LBB0_10
LBB0_12:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _pr_debug
movq -48(%rbp), %rax ## 8-byte Reload
movq $0, (%r13,%rax,8)
LBB0_10:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "set_sess_by_loop_id: Using loop_id: 0x%04x\n"
L_.str.1: ## @.str.1
.asciz "Setting up new fc_loopid->se_nacl to new_se_nacl\n"
L_.str.2: ## @.str.2
.asciz "Clearing nacl->fc_port and fc_loopid->se_nacl\n"
L_.str.3: ## @.str.3
.asciz "Replacing existing nacl->fc_port and fc_loopid->se_nacl\n"
L_.str.4: ## @.str.4
.asciz "Clearing fc_loopid->se_nacl\n"
L_.str.5: ## @.str.5
.asciz "Replacing existing fc_loopid->se_nacl w/o active nacl->fc_port\n"
L_.str.6: ## @.str.6
.asciz "Setup nacl->fc_port %p by loop_id for se_nacl: %p, initiatorname: %s\n"
.no_dead_strip _tcm_qla2xxx_set_sess_by_loop_id
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tcm_qla2xxx_set_sess_by_loop_id
_tcm_qla2xxx_set_sess_by_loop_id: ; @tcm_qla2xxx_set_sess_by_loop_id
.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 x23, x5
mov x19, x4
mov x22, x3
mov x20, x2
mov x21, x1
mov x24, x0
str x5, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _pr_debug
ldr x24, [x24]
ldr x8, [x24, x23, lsl #3]
cbz x8, LBB0_4
; %bb.1:
ldr x8, [x20]
cbz x8, LBB0_9
; %bb.2:
cbz x21, LBB0_15
; %bb.3:
Lloh2:
adrp x0, l_.str.3@PAGE
Lloh3:
add x0, x0, l_.str.3@PAGEOFF
b LBB0_5
LBB0_4:
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
LBB0_5:
bl _pr_debug
str x21, [x24, x23, lsl #3]
ldr x8, [x19]
cmp x8, x22
b.eq LBB0_7
; %bb.6:
str x22, [x19]
LBB0_7:
ldr x8, [x20]
cmp x8, x19
b.eq LBB0_17
; %bb.8:
str x19, [x20]
b LBB0_17
LBB0_9:
cbz x21, LBB0_16
; %bb.10:
Lloh6:
adrp x0, l_.str.5@PAGE
Lloh7:
add x0, x0, l_.str.5@PAGEOFF
bl _pr_debug
str x21, [x24, x23, lsl #3]
ldr x8, [x19]
cmp x8, x22
b.eq LBB0_12
; %bb.11:
str x22, [x19]
LBB0_12:
ldr x8, [x20]
cmp x8, x19
b.eq LBB0_14
; %bb.13:
str x19, [x20]
LBB0_14:
ldr w8, [x21]
stp x21, x8, [sp, #8]
str x19, [sp]
Lloh8:
adrp x0, l_.str.6@PAGE
Lloh9:
add x0, x0, l_.str.6@PAGEOFF
bl _pr_debug
b LBB0_17
LBB0_15:
Lloh10:
adrp x0, l_.str.2@PAGE
Lloh11:
add x0, x0, l_.str.2@PAGEOFF
bl _pr_debug
str xzr, [x24, x23, lsl #3]
str xzr, [x20]
b LBB0_17
LBB0_16:
Lloh12:
adrp x0, l_.str.4@PAGE
Lloh13:
add x0, x0, l_.str.4@PAGEOFF
bl _pr_debug
str xzr, [x24, x23, lsl #3]
LBB0_17:
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 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
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "set_sess_by_loop_id: Using loop_id: 0x%04x\n"
l_.str.1: ; @.str.1
.asciz "Setting up new fc_loopid->se_nacl to new_se_nacl\n"
l_.str.2: ; @.str.2
.asciz "Clearing nacl->fc_port and fc_loopid->se_nacl\n"
l_.str.3: ; @.str.3
.asciz "Replacing existing nacl->fc_port and fc_loopid->se_nacl\n"
l_.str.4: ; @.str.4
.asciz "Clearing fc_loopid->se_nacl\n"
l_.str.5: ; @.str.5
.asciz "Replacing existing fc_loopid->se_nacl w/o active nacl->fc_port\n"
l_.str.6: ; @.str.6
.asciz "Setup nacl->fc_port %p by loop_id for se_nacl: %p, initiatorname: %s\n"
.no_dead_strip _tcm_qla2xxx_set_sess_by_loop_id
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/qla2xxx/extr_tcm_qla2xxx.c_tcm_qla2xxx_set_sess_by_loop_id.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 main
LCPI0_0:
.quad 0x4059000000000000 ## double 100
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r13
movl %edi, %ebx
leaq L_str(%rip), %rdi
callq _puts
movl $340, -72(%rbp) ## imm = 0x154
incl -72(%rbp)
movl -72(%rbp), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
decl _g_aug_volatile_3193(%rip)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leaq L_.str.2(%rip), %rdi
movl $1, %r15d
movl $43, %esi
movl $1, %edx
callq _fwrite
movq _nbTestsDefault@GOTPCREL(%rip), %rax
movl (%rax), %r10d
movq %rbx, %rax
movq _FUZ_COMPRESSIBILITY_DEFAULT@GOTPCREL(%rip), %r14
movl (%r14), %edx
testl %eax, %eax
jle LBB0_1
## %bb.2:
movq (%r13), %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq _displayLevel@GOTPCREL(%rip), %r12
movl (%r12), %ebx
incl %eax
leaq L_.str.3(%rip), %rsi
xorl %r8d, %r8d
movq $0, -48(%rbp) ## 8-byte Folded Spill
movq $0, -64(%rbp) ## 8-byte Folded Spill
movl $0, -68(%rbp) ## 4-byte Folded Spill
movq %r13, -104(%rbp) ## 8-byte Spill
movq %rax, -96(%rbp) ## 8-byte Spill
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movq _no_prompt@GOTPCREL(%rip), %rax
movl $1, (%rax)
movl $1, (%r12)
movl $1, %ebx
movl $1, -68(%rbp) ## 4-byte Folded Spill
movq %r13, %rdx
movq -56(%rbp), %r10 ## 8-byte Reload
movq -112(%rbp), %r8 ## 8-byte Reload
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq -104(%rbp), %r13 ## 8-byte Reload
movq -96(%rbp), %rax ## 8-byte Reload
leaq L_.str.3(%rip), %rsi
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
incq %r15
cmpq %rax, %r15
je LBB0_9
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
## Child Loop BB0_29 Depth 3
## Child Loop BB0_32 Depth 3
## Child Loop BB0_35 Depth 3
## Child Loop BB0_40 Depth 3
## Child Loop BB0_25 Depth 3
movq (%r13,%r15,8), %r14
testq %r14, %r14
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
cmpb $45, (%r14)
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %r8, -112(%rbp) ## 8-byte Spill
movq %r10, -56(%rbp) ## 8-byte Spill
movq %rdx, %r13
movq %r14, %rdi
callq _strcmp
testl %eax, %eax
je LBB0_6
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
incq %r14
movq %r13, %rdx
movq -56(%rbp), %r10 ## 8-byte Reload
movq -112(%rbp), %r8 ## 8-byte Reload
leaq LJTI0_0(%rip), %rsi
jmp LBB0_18
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_18 Depth=2
incl %ebx
movl %ebx, (%r12)
LBB0_18: ## Parent Loop BB0_3 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_29 Depth 3
## Child Loop BB0_32 Depth 3
## Child Loop BB0_35 Depth 3
## Child Loop BB0_40 Depth 3
## Child Loop BB0_25 Depth 3
incq %r14
movzbl -1(%r14), %eax
cmpl $118, %eax
je LBB0_36
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
leal -80(%rax), %ecx
cmpl $36, %ecx
ja LBB0_20
## %bb.22: ## in Loop: Header=BB0_18 Depth=2
movslq (%rsi,%rcx,4), %rax
addq %rsi, %rax
jmpq *%rax
LBB0_23: ## in Loop: Header=BB0_18 Depth=2
movzbl (%r14), %eax
leal -48(%rax), %ecx
xorl %edx, %edx
cmpb $9, %cl
ja LBB0_26
## %bb.24: ## in Loop: Header=BB0_18 Depth=2
xorl %edx, %edx
.p2align 4, 0x90
LBB0_25: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_18 Depth=2
## => This Inner Loop Header: Depth=3
leal (%rdx,%rdx,4), %ecx
addb $-48, %al
movzbl %al, %eax
leal (%rax,%rcx,2), %edx
movzbl 1(%r14), %eax
incq %r14
leal -48(%rax), %ecx
cmpb $10, %cl
jb LBB0_25
LBB0_26: ## in Loop: Header=BB0_18 Depth=2
testl %edx, %edx
movl $0, %eax
cmovlel %eax, %edx
cmpl $100, %edx
movl $100, %eax
cmovgel %eax, %edx
jmp LBB0_18
LBB0_27: ## in Loop: Header=BB0_18 Depth=2
movzbl (%r14), %eax
leal -48(%rax), %ecx
movq $0, -64(%rbp) ## 8-byte Folded Spill
cmpb $9, %cl
ja LBB0_18
## %bb.28: ## in Loop: Header=BB0_18 Depth=2
movq $0, -64(%rbp) ## 8-byte Folded Spill
.p2align 4, 0x90
LBB0_29: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_18 Depth=2
## => This Inner Loop Header: Depth=3
movq -64(%rbp), %rcx ## 8-byte Reload
leal (%rcx,%rcx,4), %ecx
addb $-48, %al
movzbl %al, %eax
leal (%rax,%rcx,2), %eax
movq %rax, -64(%rbp) ## 8-byte Spill
movzbl 1(%r14), %eax
incq %r14
leal -48(%rax), %ecx
cmpb $10, %cl
jb LBB0_29
jmp LBB0_18
LBB0_30: ## in Loop: Header=BB0_18 Depth=2
movzbl (%r14), %eax
leal -48(%rax), %ecx
xorl %r8d, %r8d
movl $1, -68(%rbp) ## 4-byte Folded Spill
cmpb $9, %cl
ja LBB0_18
## %bb.31: ## in Loop: Header=BB0_18 Depth=2
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_32: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_18 Depth=2
## => This Inner Loop Header: Depth=3
leal (%r8,%r8,4), %ecx
addb $-48, %al
movzbl %al, %eax
leal (%rax,%rcx,2), %r8d
movzbl 1(%r14), %eax
incq %r14
leal -48(%rax), %ecx
cmpb $10, %cl
jb LBB0_32
jmp LBB0_18
LBB0_33: ## in Loop: Header=BB0_18 Depth=2
movzbl (%r14), %eax
leal -48(%rax), %ecx
xorl %r10d, %r10d
movl $0, %edi
movq %rdi, -48(%rbp) ## 8-byte Spill
cmpb $9, %cl
ja LBB0_18
## %bb.34: ## in Loop: Header=BB0_18 Depth=2
movq $0, -48(%rbp) ## 8-byte Folded Spill
xorl %r10d, %r10d
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_18 Depth=2
## => This Inner Loop Header: Depth=3
leal (%r10,%r10,4), %ecx
addb $-48, %al
movzbl %al, %eax
leal (%rax,%rcx,2), %r10d
movzbl 1(%r14), %eax
incq %r14
leal -48(%rax), %ecx
cmpb $10, %cl
jb LBB0_35
jmp LBB0_18
LBB0_38: ## in Loop: Header=BB0_18 Depth=2
movq _use_pause@GOTPCREL(%rip), %rax
movl $1, (%rax)
jmp LBB0_18
LBB0_39: ## in Loop: Header=BB0_18 Depth=2
decq %r14
movq $0, -48(%rbp) ## 8-byte Folded Spill
leaq LJTI0_1(%rip), %rdi
jmp LBB0_40
LBB0_43: ## in Loop: Header=BB0_40 Depth=3
movq -48(%rbp), %rcx ## 8-byte Reload
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,2), %eax
addl $-48, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_40: ## Parent Loop BB0_3 Depth=1
## Parent Loop BB0_18 Depth=2
## => This Inner Loop Header: Depth=3
incq %r14
movzbl (%r14), %eax
leal -48(%rax), %ecx
cmpl $67, %ecx
ja LBB0_44
## %bb.41: ## in Loop: Header=BB0_40 Depth=3
movslq (%rdi,%rcx,4), %rcx
addq %rdi, %rcx
jmpq *%rcx
LBB0_42: ## in Loop: Header=BB0_40 Depth=3
movq -48(%rbp), %rax ## 8-byte Reload
imull $60, %eax, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_40
LBB0_44: ## in Loop: Header=BB0_18 Depth=2
xorl %r10d, %r10d
jmp LBB0_18
LBB0_37: ## in Loop: Header=BB0_18 Depth=2
decl %ebx
movl %ebx, (%r12)
jmp LBB0_18
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
je LBB0_7
LBB0_21:
movq -88(%rbp), %rdi ## 8-byte Reload
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _FUZ_usage ## TAILCALL
LBB0_1:
movq %r10, -56(%rbp) ## 8-byte Spill
movq %rdx, %rbx
movq _LZ4_VERSION_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.4(%rip), %rdi
movq $0, -48(%rbp) ## 8-byte Folded Spill
movl $64, %esi
xorl %eax, %eax
callq _DISPLAY
movq $0, -64(%rbp) ## 8-byte Folded Spill
LBB0_10:
xorl %edi, %edi
callq _time
movl %eax, -76(%rbp)
leaq -76(%rbp), %rdi
movl $4, %esi
movl $1, %edx
callq _XXH32
movslq %eax, %rsi
imulq $1759218605, %rsi, %rax ## imm = 0x68DB8BAD
movq %rax, %rcx
shrq $63, %rcx
sarq $44, %rax
addl %ecx, %eax
imull $10000, %eax, %eax ## imm = 0x2710
subl %eax, %esi
LBB0_11:
leaq L_.str.5(%rip), %rdi
movq %rsi, %r15
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _DISPLAY
movq %rbx, %rax
cmpl (%r14), %eax
je LBB0_13
## %bb.12:
leaq L_.str.6(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _DISPLAY
movq %rbx, %rax
LBB0_13:
movq -56(%rbp), %rsi ## 8-byte Reload
cmpl $1, %esi
adcl $0, %esi
cvtsi2sd %eax, %xmm0
divsd LCPI0_0(%rip), %xmm0
cmpl $0, -64(%rbp) ## 4-byte Folded Reload
je LBB0_14
LBB0_15:
movl %r15d, %edi
## kill: def $esi killed $esi killed $rsi
movq -64(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
movq -48(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
callq _fuzzerTests
jmp LBB0_16
LBB0_14:
movl %r15d, %edi
movsd %xmm0, -56(%rbp) ## 8-byte Spill
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movq %rsi, %rbx
callq _basicTests
movsd -56(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movq %rbx, %rsi
movl %eax, %ecx
movl $1, %eax
testl %ecx, %ecx
je LBB0_15
LBB0_16:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
movq %r10, -56(%rbp) ## 8-byte Spill
movq %rdx, %rbx
movq _LZ4_VERSION_STRING@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.4(%rip), %rdi
movl $64, %esi
xorl %eax, %eax
movq %r8, %r14
callq _DISPLAY
movq %r14, %rsi
cmpl $0, -68(%rbp) ## 4-byte Folded Reload
movq _FUZ_COMPRESSIBILITY_DEFAULT@GOTPCREL(%rip), %r14
jne LBB0_11
jmp LBB0_10
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
LJTI0_0:
.long L0_0_set_23
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_39
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_33
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_21
.long L0_0_set_38
.long L0_0_set_37
.long L0_0_set_21
.long L0_0_set_30
.long L0_0_set_27
.set L0_1_set_43, LBB0_43-LJTI0_1
.set L0_1_set_44, LBB0_44-LJTI0_1
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_40, LBB0_40-LJTI0_1
LJTI0_1:
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_43
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_42
.long L0_1_set_40
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_44
.long L0_1_set_40
.end_data_region
## -- End function
.globl _g_aug_volatile_3193 ## @g_aug_volatile_3193
.zerofill __DATA,__common,_g_aug_volatile_3193,4,2
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_9018 is %d\n"
L_.str.2: ## @.str.2
.asciz "AUGMENTATION_MARKER: Checkpoint to stderr.\n"
.comm _nbTestsDefault,4,2 ## @nbTestsDefault
.comm _FUZ_COMPRESSIBILITY_DEFAULT,4,2 ## @FUZ_COMPRESSIBILITY_DEFAULT
L_.str.3: ## @.str.3
.asciz "--no-prompt"
.comm _no_prompt,4,2 ## @no_prompt
.comm _displayLevel,4,2 ## @displayLevel
.comm _use_pause,4,2 ## @use_pause
L_.str.4: ## @.str.4
.asciz "Starting lz4frame tester (%i-bits, %s)\n"
.comm _LZ4_VERSION_STRING,4,2 ## @LZ4_VERSION_STRING
L_.str.5: ## @.str.5
.asciz "Seed = %u\n"
L_.str.6: ## @.str.6
.asciz "Compressibility : %i%%\n"
L_str: ## @str
.asciz "AUGMENTATION_MARKER: Hello from augmentation!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp d9, d8, [sp, #48] ; 16-byte Folded Spill
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x23, x1
mov x26, x0
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w8, #340 ; =0x154
str w8, [sp, #44]
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
ldr w8, [sp, #44]
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh4:
adrp x8, _g_aug_volatile_3193@PAGE
ldr w9, [x8, _g_aug_volatile_3193@PAGEOFF]
sub w9, w9, #1
str w9, [x8, _g_aug_volatile_3193@PAGEOFF]
Lloh5:
adrp x8, ___stderrp@GOTPAGE
Lloh6:
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
Lloh7:
ldr x3, [x8]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
mov w1, #43 ; =0x2b
mov w2, #1 ; =0x1
bl _fwrite
Lloh10:
adrp x8, _nbTestsDefault@GOTPAGE
Lloh11:
ldr x8, [x8, _nbTestsDefault@GOTPAGEOFF]
Lloh12:
ldr w28, [x8]
Lloh13:
adrp x22, _FUZ_COMPRESSIBILITY_DEFAULT@GOTPAGE
Lloh14:
ldr x22, [x22, _FUZ_COMPRESSIBILITY_DEFAULT@GOTPAGEOFF]
ldr w24, [x22]
cmp w26, #0
b.le LBB0_49
; %bb.1:
str w24, [sp, #12] ; 4-byte Folded Spill
mov w21, #0 ; =0x0
mov w20, #0 ; =0x0
mov w19, #0 ; =0x0
str wzr, [sp, #36] ; 4-byte Folded Spill
Lloh15:
adrp x25, _displayLevel@GOTPAGE
Lloh16:
ldr x25, [x25, _displayLevel@GOTPAGEOFF]
ldr x8, [x23]
ldr w27, [x25]
add w9, w26, #1
mov w22, #10 ; =0xa
mov w24, #1 ; =0x1
stp x8, x9, [sp, #16] ; 16-byte Folded Spill
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov w27, #1 ; =0x1
Lloh17:
adrp x8, _no_prompt@GOTPAGE
Lloh18:
ldr x8, [x8, _no_prompt@GOTPAGEOFF]
Lloh19:
str w27, [x8]
str w27, [x25]
mov w8, #1 ; =0x1
str w8, [sp, #36] ; 4-byte Folded Spill
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
add x24, x24, #1
cmp x24, x9
b.eq LBB0_60
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_18 Depth 3
; Child Loop BB0_45 Depth 3
; Child Loop BB0_41 Depth 3
; Child Loop BB0_28 Depth 3
; Child Loop BB0_24 Depth 3
ldr x26, [x23, x24, lsl #3]
cbz x26, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [x26]
cmp w8, #45
b.ne LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x0, x26
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
bl _strcmp
cbz w0, LBB0_2
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
add x8, x26, #1
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=2
add w27, w27, #1
str w27, [x25]
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_18 Depth 3
; Child Loop BB0_45 Depth 3
; Child Loop BB0_41 Depth 3
; Child Loop BB0_28 Depth 3
; Child Loop BB0_24 Depth 3
add x8, x8, #1
ldurb w9, [x8, #-1]
cmp w9, #118
b.eq LBB0_9
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #104
b.le LBB0_19
; %bb.12: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #112
b.le LBB0_34
; %bb.13: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #113
b.eq LBB0_38
; %bb.14: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #115
b.eq LBB0_43
; %bb.15: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #116
b.ne LBB0_56
; %bb.16: ; in Loop: Header=BB0_10 Depth=2
mov w19, #0 ; =0x0
ldrb w9, [x8]
sub w10, w9, #48
cmp w10, #9
b.hi LBB0_10
; %bb.17: ; in Loop: Header=BB0_10 Depth=2
mov w19, #0 ; =0x0
LBB0_18: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
mul w10, w19, w22
sub w9, w9, #48
add w19, w10, w9, uxtb
ldrb w9, [x8, #1]!
sub w10, w9, #48
cmp w10, #10
b.lo LBB0_18
b LBB0_10
LBB0_19: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #83
b.gt LBB0_25
; %bb.20: ; in Loop: Header=BB0_10 Depth=2
cbz w9, LBB0_3
; %bb.21: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #80
b.ne LBB0_56
; %bb.22: ; in Loop: Header=BB0_10 Depth=2
ldrb w9, [x8]
sub w10, w9, #48
cmp w10, #9
b.hi LBB0_47
; %bb.23: ; in Loop: Header=BB0_10 Depth=2
mov w10, #0 ; =0x0
LBB0_24: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
mul w10, w10, w22
sub w9, w9, #48
add w10, w10, w9, uxtb
ldrb w9, [x8, #1]!
sub w11, w9, #48
cmp w11, #10
b.lo LBB0_24
b LBB0_48
LBB0_25: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #84
b.ne LBB0_55
; %bb.26: ; in Loop: Header=BB0_10 Depth=2
mov w20, #0 ; =0x0
sub x8, x8, #1
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_28 Depth=3
cmp w9, #115
b.ne LBB0_37
LBB0_28: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
ldrb w9, [x8, #1]!
cmp w9, #114
b.gt LBB0_27
; %bb.29: ; in Loop: Header=BB0_28 Depth=3
cmp w9, #110
b.eq LBB0_28
; %bb.30: ; in Loop: Header=BB0_28 Depth=3
sub w10, w9, #48
cmp w10, #10
b.hs LBB0_32
; %bb.31: ; in Loop: Header=BB0_28 Depth=3
madd w9, w20, w22, w9
sub w20, w9, #48
b LBB0_28
LBB0_32: ; in Loop: Header=BB0_28 Depth=3
cmp w9, #109
b.ne LBB0_37
; %bb.33: ; in Loop: Header=BB0_28 Depth=3
lsl w9, w20, #6
sub w20, w9, w20, lsl #2
b LBB0_28
LBB0_34: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #105
b.eq LBB0_39
; %bb.35: ; in Loop: Header=BB0_10 Depth=2
cmp w9, #112
b.ne LBB0_56
; %bb.36: ; in Loop: Header=BB0_10 Depth=2
mov w9, #1 ; =0x1
Lloh22:
adrp x10, _use_pause@GOTPAGE
Lloh23:
ldr x10, [x10, _use_pause@GOTPAGEOFF]
Lloh24:
str w9, [x10]
b LBB0_10
LBB0_37: ; in Loop: Header=BB0_10 Depth=2
mov w28, #0 ; =0x0
b LBB0_10
LBB0_38: ; in Loop: Header=BB0_10 Depth=2
sub w27, w27, #1
str w27, [x25]
b LBB0_10
LBB0_39: ; in Loop: Header=BB0_10 Depth=2
mov w28, #0 ; =0x0
mov w20, #0 ; =0x0
ldrb w9, [x8]
sub w10, w9, #48
cmp w10, #9
b.hi LBB0_10
; %bb.40: ; in Loop: Header=BB0_10 Depth=2
mov w28, #0 ; =0x0
LBB0_41: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
mul w10, w28, w22
sub w9, w9, #48
add w28, w10, w9, uxtb
ldrb w9, [x8, #1]!
sub w10, w9, #48
cmp w10, #10
b.lo LBB0_41
; %bb.42: ; in Loop: Header=BB0_10 Depth=2
mov w20, #0 ; =0x0
b LBB0_10
LBB0_43: ; in Loop: Header=BB0_10 Depth=2
mov w21, #0 ; =0x0
ldrb w9, [x8]
sub w10, w9, #48
mov w11, #1 ; =0x1
str w11, [sp, #36] ; 4-byte Folded Spill
cmp w10, #9
b.hi LBB0_10
; %bb.44: ; in Loop: Header=BB0_10 Depth=2
mov w21, #0 ; =0x0
LBB0_45: ; Parent Loop BB0_5 Depth=1
; Parent Loop BB0_10 Depth=2
; => This Inner Loop Header: Depth=3
mul w10, w21, w22
sub w9, w9, #48
add w21, w10, w9, uxtb
ldrb w9, [x8, #1]!
sub w10, w9, #48
cmp w10, #10
b.lo LBB0_45
; %bb.46: ; in Loop: Header=BB0_10 Depth=2
mov w9, #1 ; =0x1
str w9, [sp, #36] ; 4-byte Folded Spill
b LBB0_10
LBB0_47: ; in Loop: Header=BB0_10 Depth=2
mov w10, #0 ; =0x0
LBB0_48: ; in Loop: Header=BB0_10 Depth=2
bic w9, w10, w10, asr #31
cmp w9, #100
mov w10, #100 ; =0x64
csel w9, w9, w10, lt
str w9, [sp, #12] ; 4-byte Folded Spill
b LBB0_10
LBB0_49:
Lloh25:
adrp x8, _LZ4_VERSION_STRING@GOTPAGE
Lloh26:
ldr x8, [x8, _LZ4_VERSION_STRING@GOTPAGEOFF]
Lloh27:
ldr w8, [x8]
str x8, [sp]
Lloh28:
adrp x0, l_.str.4@PAGE
Lloh29:
add x0, x0, l_.str.4@PAGEOFF
mov w1, #64 ; =0x40
bl _DISPLAY
mov w20, #0 ; =0x0
mov w19, #0 ; =0x0
LBB0_50:
mov x0, #0 ; =0x0
bl _time
str w0, [sp, #40]
add x0, sp, #40
mov w1, #4 ; =0x4
mov w2, #1 ; =0x1
bl _XXH32
mov w8, #35757 ; =0x8bad
movk w8, #26843, lsl #16
smull x8, w0, w8
lsr x9, x8, #63
asr x8, x8, #44
add w8, w8, w9
mov w9, #10000 ; =0x2710
msub w21, w8, w9, w0
LBB0_51:
Lloh30:
adrp x0, l_.str.5@PAGE
Lloh31:
add x0, x0, l_.str.5@PAGEOFF
mov x1, x21
bl _DISPLAY
ldr w8, [x22]
cmp w24, w8
b.eq LBB0_53
; %bb.52:
Lloh32:
adrp x0, l_.str.6@PAGE
Lloh33:
add x0, x0, l_.str.6@PAGEOFF
mov x1, x24
bl _DISPLAY
LBB0_53:
cmp w28, #1
csinc w23, w28, wzr, hi
scvtf d0, w24
mov x8, #4636737291354636288 ; =0x4059000000000000
fmov d1, x8
fdiv d8, d0, d1
cbz w19, LBB0_57
LBB0_54:
mov x0, x21
mov x1, x23
mov x2, x19
fmov d0, d8
mov x3, x20
bl _fuzzerTests
b LBB0_59
LBB0_55:
cmp w9, #104
LBB0_56:
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #160
b _FUZ_usage
LBB0_57:
mov x0, x21
fmov d0, d8
bl _basicTests
cbz w0, LBB0_54
; %bb.58:
mov w0, #1 ; =0x1
LBB0_59:
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
ldp x20, x19, [sp, #128] ; 16-byte Folded Reload
ldp x22, x21, [sp, #112] ; 16-byte Folded Reload
ldp x24, x23, [sp, #96] ; 16-byte Folded Reload
ldp x26, x25, [sp, #80] ; 16-byte Folded Reload
ldp x28, x27, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #160
ret
LBB0_60:
Lloh34:
adrp x8, _LZ4_VERSION_STRING@GOTPAGE
Lloh35:
ldr x8, [x8, _LZ4_VERSION_STRING@GOTPAGEOFF]
Lloh36:
ldr w8, [x8]
str x8, [sp]
Lloh37:
adrp x0, l_.str.4@PAGE
Lloh38:
add x0, x0, l_.str.4@PAGEOFF
mov w1, #64 ; =0x40
bl _DISPLAY
Lloh39:
adrp x22, _FUZ_COMPRESSIBILITY_DEFAULT@GOTPAGE
Lloh40:
ldr x22, [x22, _FUZ_COMPRESSIBILITY_DEFAULT@GOTPAGEOFF]
ldr w24, [sp, #12] ; 4-byte Folded Reload
ldr w8, [sp, #36] ; 4-byte Folded Reload
cbnz w8, LBB0_51
b LBB0_50
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdrp Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGot Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.globl _g_aug_volatile_3193 ; @g_aug_volatile_3193
.zerofill __DATA,__common,_g_aug_volatile_3193,4,2
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "AUGMENTATION_MARKER: Volatile var aug_volatile_var_9018 is %d\n"
l_.str.2: ; @.str.2
.asciz "AUGMENTATION_MARKER: Checkpoint to stderr.\n"
.comm _nbTestsDefault,4,2 ; @nbTestsDefault
.comm _FUZ_COMPRESSIBILITY_DEFAULT,4,2 ; @FUZ_COMPRESSIBILITY_DEFAULT
l_.str.3: ; @.str.3
.asciz "--no-prompt"
.comm _no_prompt,4,2 ; @no_prompt
.comm _displayLevel,4,2 ; @displayLevel
.comm _use_pause,4,2 ; @use_pause
l_.str.4: ; @.str.4
.asciz "Starting lz4frame tester (%i-bits, %s)\n"
.comm _LZ4_VERSION_STRING,4,2 ; @LZ4_VERSION_STRING
l_.str.5: ; @.str.5
.asciz "Seed = %u\n"
l_.str.6: ; @.str.6
.asciz "Compressibility : %i%%\n"
l_str: ; @str
.asciz "AUGMENTATION_MARKER: Hello from augmentation!"
.subsections_via_symbols
| assembly_file_70474.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
leaq -56(%rbp), %rsi
xorl %eax, %eax
callq _scanf
cmpl $0, -56(%rbp)
jle LBB0_5
## %bb.1:
leaq -68(%rbp), %r15
leaq -44(%rbp), %r12
leaq LJTI0_0(%rip), %r13
xorl %r14d, %r14d
movl $0, -52(%rbp) ## 4-byte Folded Spill
movl $0, -48(%rbp) ## 4-byte Folded Spill
xorl %ebx, %ebx
xorl %eax, %eax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movslq -44(%rbp), %rax
imulq $1374389535, %rax, %rax ## imm = 0x51EB851F
movq %rax, %rcx
shrq $63, %rcx
sarq $37, %rax
addl %ecx, %eax
addl -48(%rbp), %eax ## 4-byte Folded Reload
## kill: def $eax killed $eax killed $rax
movl %eax, -48(%rbp) ## 4-byte Spill
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
incl %r14d
cmpl -56(%rbp), %r14d
jge LBB0_4
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _scanf
movl -68(%rbp), %eax
cmpq $3, %rax
ja LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movslq -44(%rbp), %rax
imulq $1374389535, %rax, %rax ## imm = 0x51EB851F
movq %rax, %rcx
shrq $63, %rcx
sarq $37, %rax
addl %ecx, %eax
leal (%rax,%rax,4), %eax
addl %eax, -52(%rbp) ## 4-byte Folded Spill
jmp LBB0_10
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movslq -44(%rbp), %rax
imulq $1374389535, %rax, %rax ## imm = 0x51EB851F
movq %rax, %rcx
shrq $63, %rcx
sarq $37, %rax
addl %ecx, %eax
leal (%rax,%rax,2), %eax
addl %eax, %ebx
jmp LBB0_10
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movslq -44(%rbp), %rax
imulq $1374389535, %rax, %rax ## imm = 0x51EB851F
movq %rax, %rcx
shrq $63, %rcx
sarq $37, %rax
addl %ecx, %eax
movq -64(%rbp), %rcx ## 8-byte Reload
leal (%rcx,%rax,2), %ecx
movq %rcx, -64(%rbp) ## 8-byte Spill
jmp LBB0_10
LBB0_4:
addl -64(%rbp), %ebx ## 4-byte Folded Reload
addl -48(%rbp), %ebx ## 4-byte Folded Reload
addl -52(%rbp), %ebx ## 4-byte Folded Reload
LBB0_5:
leaq L_.str.2(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
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 L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_9
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d"
L_.str.2: ## @.str.2
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
add x8, sp, #28
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #28]
cmp w8, #1
b.lt LBB0_10
; %bb.1:
mov w23, #0
mov w20, #0
mov w21, #0
mov w22, #0
mov w24, #0
add x25, sp, #20
add x26, sp, #24
Lloh2:
adrp x19, l_.str.1@PAGE
Lloh3:
add x19, x19, l_.str.1@PAGEOFF
mov w27, #34079
movk w27, #20971, lsl #16
Lloh4:
adrp x28, lJTI0_0@PAGE
Lloh5:
add x28, x28, lJTI0_0@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [sp, #20]
mul x8, x8, x27
lsr x9, x8, #63
asr x8, x8, #37
add w8, w8, w9
add w21, w8, w21
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add w23, w23, #1
ldr w8, [sp, #28]
cmp w23, w8
b.ge LBB0_9
LBB0_4: ; =>This Inner Loop Header: Depth=1
stp x26, x25, [sp]
mov x0, x19
bl _scanf
ldr w8, [sp, #24]
cmp w8, #3
b.hi LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
adr x9, LBB0_2
ldrb w10, [x28, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [sp, #20]
mul x8, x8, x27
lsr x9, x8, #63
asr x8, x8, #37
add w8, w8, w9
add w8, w8, w8, lsl #2
add w20, w8, w20
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [sp, #20]
mul x8, x8, x27
lsr x9, x8, #63
asr x8, x8, #37
add w8, w8, w9
add w8, w8, w8, lsl #1
add w22, w8, w22
b LBB0_3
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldrsw x8, [sp, #20]
mul x8, x8, x27
lsr x9, x8, #63
asr x8, x8, #37
add w8, w8, w9
add w24, w24, w8, lsl #1
b LBB0_3
LBB0_9:
add w8, w22, w24
add w8, w8, w21
add w8, w8, w20
b LBB0_11
LBB0_10:
mov w8, #0
LBB0_11:
str x8, [sp]
Lloh6:
adrp x0, l_.str.2@PAGE
Lloh7:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/75138566.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_getmntinfo ## -- Begin function do_getmntinfo
.p2align 4, 0x90
_do_getmntinfo: ## @do_getmntinfo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $4136, %eax ## imm = 0x1028
callq ____chkstk_darwin
subq %rax, %rsp
popq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r15d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %edi, %edi
cmpl $-1, _do_getmntinfo.enable_new_mount_points(%rip)
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _CONFIG_BOOLEAN_AUTO@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %rsi
movq %r14, %rdi
callq _config_get_boolean_ondemand
movl %eax, _do_getmntinfo.enable_new_mount_points(%rip)
movl (%rbx), %edx
leaq L_.str.2(%rip), %rsi
movq %r14, %rdi
callq _config_get_boolean_ondemand
movl %eax, _do_getmntinfo.do_space(%rip)
movl (%rbx), %edx
leaq L_.str.3(%rip), %rsi
movq %r14, %rdi
callq _config_get_boolean_ondemand
movl %eax, _do_getmntinfo.do_inodes(%rip)
leaq L_.str.5(%rip), %rdx
leaq L_.str.4(%rip), %rsi
movq %r14, %rdi
## kill: def $edx killed $edx killed $rdx
callq _config_get
movq _SIMPLE_PATTERN_EXACT@GOTPCREL(%rip), %rbx
movl (%rbx), %edx
movl %eax, %edi
xorl %esi, %esi
callq _simple_pattern_create
movq %rax, _do_getmntinfo.excluded_mountpoints(%rip)
leaq L_.str.7(%rip), %rdx
leaq L_.str.6(%rip), %rsi
movq %r14, %rdi
## kill: def $edx killed $edx killed $rdx
callq _config_get
movl (%rbx), %edx
movl %eax, %edi
xorl %esi, %esi
callq _simple_pattern_create
movq %rax, _do_getmntinfo.excluded_filesystems(%rip)
LBB0_2:
movl _do_getmntinfo.do_space(%rip), %eax
xorl %edi, %edi
orl _do_getmntinfo.do_inodes(%rip), %eax
setne %dil
callq _likely
testq %rax, %rax
je LBB0_5
## %bb.3:
movq _MNT_NOWAIT@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -4168(%rbp), %rdi
callq _getmntinfo
movl %eax, %ebx
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_6
## %bb.4:
leaq L_.str.8(%rip), %rdi
callq _error
movl $0, _do_getmntinfo.do_space(%rip)
leaq L_.str.9(%rip), %rdi
callq _error
movl $0, _do_getmntinfo.do_inodes(%rip)
leaq L_.str.10(%rip), %rdi
callq _error
LBB0_5:
leaq L_.str.11(%rip), %rdi
callq _error
movl $1, %ebx
jmp LBB0_40
LBB0_6:
movq %r15, -4176(%rbp) ## 8-byte Spill
movq _mount_points_found@GOTPCREL(%rip), %r13
movq $0, (%r13)
testl %ebx, %ebx
jle LBB0_39
## %bb.7:
movl %ebx, %eax
imulq $56, %rax, %r12
xorl %r14d, %r14d
leaq -4160(%rbp), %rbx
jmp LBB0_8
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
xorl %edi, %edi
cmpl $0, 8(%r15)
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_16
LBB0_38: ## in Loop: Header=BB0_8 Depth=1
addq $56, %r14
cmpq %r14, %r12
je LBB0_39
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq -4168(%rbp), %rax
movq (%rax,%r14), %rdi
callq _get_mount_point
movq %rax, %r15
movl $1, (%rax)
incq (%r13)
xorl %edi, %edi
cmpl $0, 4(%rax)
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_15
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl $1, 4(%r15)
movl _do_getmntinfo.enable_new_mount_points(%rip), %edi
movl %edi, 8(%r15)
callq _likely
testq %rax, %rax
je LBB0_13
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movq _do_getmntinfo.excluded_mountpoints(%rip), %rdi
movq -4168(%rbp), %rax
movq (%rax,%r14), %rsi
callq _simple_pattern_matches
movb $1, %cl
testq %rax, %rax
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
movq _do_getmntinfo.excluded_filesystems(%rip), %rdi
movq -4168(%rbp), %rax
movq 8(%rax,%r14), %rsi
callq _simple_pattern_matches
testq %rax, %rax
setne %cl
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
xorb $1, %cl
movzbl %cl, %eax
movl %eax, 8(%r15)
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
movq -4168(%rbp), %rax
movq (%rax,%r14), %r8
movq %rbx, %rdi
movl $4096, %esi ## imm = 0x1000
leaq L_.str.12(%rip), %rdx
leaq L_.str(%rip), %rcx
callq _snprintfz
movl 8(%r15), %edx
movq %rbx, %rdi
leaq L_.str.13(%rip), %rsi
callq _config_get_boolean_ondemand
movl %eax, 8(%r15)
xorl %edi, %edi
movq _CONFIG_BOOLEAN_NO@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
sete %dil
callq _unlikely
testq %rax, %rax
jne LBB0_38
## %bb.14: ## in Loop: Header=BB0_8 Depth=1
movl _do_getmntinfo.do_space(%rip), %edx
movq %rbx, %rdi
leaq L_.str.14(%rip), %rsi
callq _config_get_boolean_ondemand
movq %rax, 16(%r15)
movl _do_getmntinfo.do_inodes(%rip), %edx
movq %rbx, %rdi
leaq L_.str.15(%rip), %rsi
callq _config_get_boolean_ondemand
movq %rax, 24(%r15)
jmp LBB0_15
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_8 Depth=1
movq -4168(%rbp), %rax
movq _MNT_RDONLY@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 16(%rax,%r14)
je LBB0_17
## %bb.18: ## in Loop: Header=BB0_8 Depth=1
cmpl $0, 32(%r15)
sete %al
jmp LBB0_19
LBB0_17: ## in Loop: Header=BB0_8 Depth=1
xorl %eax, %eax
LBB0_19: ## in Loop: Header=BB0_8 Depth=1
movzbl %al, %edi
callq _unlikely
testq %rax, %rax
jne LBB0_38
## %bb.20: ## in Loop: Header=BB0_8 Depth=1
movq 16(%r15), %rcx
movq _CONFIG_BOOLEAN_YES@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, %rcx
jne LBB0_21
LBB0_24: ## in Loop: Header=BB0_8 Depth=1
xorl %edi, %edi
cmpq $0, 64(%r15)
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_8 Depth=1
movq -4168(%rbp), %rax
movq (%rax,%r14), %rcx
movq 24(%rax,%r14), %r8
movq %rbx, %rdi
movl $4096, %esi ## imm = 0x1000
leaq L_.str.16(%rip), %rdx
callq _snprintfz
movq -4168(%rbp), %rax
movq (%rax,%r14), %rcx
movq _NETDATA_CHART_PRIO_DISKSPACE_SPACE@GOTPCREL(%rip), %rax
movl (%rax), %r10d
movq _RRDSET_TYPE_STACKED@GOTPCREL(%rip), %rax
movl (%rax), %eax
leaq L_.str.17(%rip), %rdi
movq %rcx, %rsi
xorl %edx, %edx
leaq L_.str.18(%rip), %r8
movq %rbx, %r9
pushq %rax
pushq -4176(%rbp) ## 8-byte Folded Reload
pushq %r10
leaq L_.str.21(%rip), %rax
pushq %rax
leaq L_.str.20(%rip), %rax
pushq %rax
leaq L_.str.19(%rip), %rax
pushq %rax
callq _rrdset_create_localhost
addq $48, %rsp
movq %rax, 64(%r15)
movq -4168(%rbp), %rcx
movl 32(%rcx,%r14), %ecx
movq _GIGA_FACTOR@GOTPCREL(%rip), %r13
movl (%r13), %r8d
movq _RRD_ALGORITHM_ABSOLUTE@GOTPCREL(%rip), %r13
movl (%r13), %r9d
movq %rax, %rdi
leaq L_.str.22(%rip), %rsi
xorl %edx, %edx
callq _rrddim_add
movq %rax, 88(%r15)
movq 64(%r15), %rdi
movq -4168(%rbp), %rax
movl 32(%rax,%r14), %ecx
movq _GIGA_FACTOR@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl (%r13), %r9d
leaq L_.str.23(%rip), %rsi
xorl %edx, %edx
callq _rrddim_add
movq %rax, 80(%r15)
movq 64(%r15), %rdi
movq -4168(%rbp), %rax
movl 32(%rax,%r14), %ecx
movq _GIGA_FACTOR@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl (%r13), %r9d
leaq L_.str.24(%rip), %rsi
leaq L_.str.25(%rip), %rdx
callq _rrddim_add
movq %rax, 72(%r15)
jmp LBB0_27
LBB0_21: ## in Loop: Header=BB0_8 Depth=1
xorl %r13d, %r13d
movq _CONFIG_BOOLEAN_AUTO@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_28
## %bb.22: ## in Loop: Header=BB0_8 Depth=1
movq -4168(%rbp), %rcx
cmpl $2, 20(%rcx,%r14)
jg LBB0_24
## %bb.23: ## in Loop: Header=BB0_8 Depth=1
movq _netdata_zero_metrics_enabled@GOTPCREL(%rip), %rcx
cmpq %rax, (%rcx)
jne LBB0_28
jmp LBB0_24
LBB0_26: ## in Loop: Header=BB0_8 Depth=1
movq 64(%r15), %rdi
callq _rrdset_next
LBB0_27: ## in Loop: Header=BB0_8 Depth=1
movq 64(%r15), %rdi
movq 88(%r15), %rsi
movq -4168(%rbp), %rax
movl 36(%rax,%r14), %edx
callq _rrddim_set_by_pointer
movq 64(%r15), %rdi
movq 80(%r15), %rsi
movq -4168(%rbp), %rax
movl 20(%rax,%r14), %edx
subl 40(%rax,%r14), %edx
callq _rrddim_set_by_pointer
movq 64(%r15), %rdi
movq 72(%r15), %rsi
movq -4168(%rbp), %rax
movl 40(%rax,%r14), %edx
subl 36(%rax,%r14), %edx
callq _rrddim_set_by_pointer
movq 64(%r15), %rdi
callq _rrdset_done
movq _CONFIG_BOOLEAN_YES@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $1, %r13d
LBB0_28: ## in Loop: Header=BB0_8 Depth=1
movq 24(%r15), %rcx
cmpq %rax, %rcx
jne LBB0_29
LBB0_32: ## in Loop: Header=BB0_8 Depth=1
xorl %edi, %edi
cmpq $0, 40(%r15)
sete %dil
callq _unlikely
testq %rax, %rax
je LBB0_34
## %bb.33: ## in Loop: Header=BB0_8 Depth=1
movq -4168(%rbp), %rax
movq (%rax,%r14), %rcx
movq 24(%rax,%r14), %r8
movq %rbx, %rdi
movl $4096, %esi ## imm = 0x1000
leaq L_.str.26(%rip), %rdx
callq _snprintfz
movq -4168(%rbp), %rax
movq (%rax,%r14), %rcx
movq _NETDATA_CHART_PRIO_DISKSPACE_INODES@GOTPCREL(%rip), %rax
movl (%rax), %r10d
movq _RRDSET_TYPE_STACKED@GOTPCREL(%rip), %rax
movl (%rax), %eax
leaq L_.str.27(%rip), %rdi
movq %rcx, %rsi
xorl %edx, %edx
leaq L_.str.28(%rip), %r8
movq %rbx, %r9
pushq %rax
pushq -4176(%rbp) ## 8-byte Folded Reload
pushq %r10
leaq L_.str.21(%rip), %rax
pushq %rax
leaq L_.str.20(%rip), %rax
pushq %rax
leaq L_.str.29(%rip), %rax
pushq %rax
callq _rrdset_create_localhost
addq $48, %rsp
movq %rax, 40(%r15)
movq _RRD_ALGORITHM_ABSOLUTE@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
movq %rax, %rdi
leaq L_.str.22(%rip), %rsi
xorl %edx, %edx
movl $1, %ecx
movl $1, %r8d
callq _rrddim_add
movq %rax, 56(%r15)
movq 40(%r15), %rdi
movq _RRD_ALGORITHM_ABSOLUTE@GOTPCREL(%rip), %rax
movl (%rax), %r9d
leaq L_.str.23(%rip), %rsi
xorl %edx, %edx
movl $1, %ecx
movl $1, %r8d
callq _rrddim_add
movq %rax, 48(%r15)
jmp LBB0_35
LBB0_29: ## in Loop: Header=BB0_8 Depth=1
movq _CONFIG_BOOLEAN_AUTO@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_36
## %bb.30: ## in Loop: Header=BB0_8 Depth=1
movq -4168(%rbp), %rcx
cmpl $1, 44(%rcx,%r14)
jg LBB0_32
## %bb.31: ## in Loop: Header=BB0_8 Depth=1
movq _netdata_zero_metrics_enabled@GOTPCREL(%rip), %rcx
cmpq %rax, (%rcx)
jne LBB0_36
jmp LBB0_32
LBB0_34: ## in Loop: Header=BB0_8 Depth=1
movq 40(%r15), %rdi
callq _rrdset_next
LBB0_35: ## in Loop: Header=BB0_8 Depth=1
movq 40(%r15), %rdi
movq 56(%r15), %rsi
movq -4168(%rbp), %rax
movl 48(%rax,%r14), %edx
callq _rrddim_set_by_pointer
movq 40(%r15), %rdi
movq 48(%r15), %rsi
movq -4168(%rbp), %rax
movl 44(%rax,%r14), %edx
subl 48(%rax,%r14), %edx
callq _rrddim_set_by_pointer
movq 40(%r15), %rdi
callq _rrdset_done
incl %r13d
LBB0_36: ## in Loop: Header=BB0_8 Depth=1
movl %r13d, %edi
callq _likely
testq %rax, %rax
movq _mount_points_found@GOTPCREL(%rip), %r13
je LBB0_38
## %bb.37: ## in Loop: Header=BB0_8 Depth=1
incl 32(%r15)
jmp LBB0_38
LBB0_39:
xorl %ebx, %ebx
xorl %eax, %eax
callq _mount_points_cleanup
LBB0_40:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_42
## %bb.41:
movl %ebx, %eax
addq $4136, %rsp ## imm = 0x1028
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_42:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __DATA,__data
.p2align 2 ## @do_getmntinfo.enable_new_mount_points
_do_getmntinfo.enable_new_mount_points:
.long 4294967295 ## 0xffffffff
.p2align 2 ## @do_getmntinfo.do_space
_do_getmntinfo.do_space:
.long 4294967295 ## 0xffffffff
.p2align 2 ## @do_getmntinfo.do_inodes
_do_getmntinfo.do_inodes:
.long 4294967295 ## 0xffffffff
.zerofill __DATA,__bss,_do_getmntinfo.excluded_mountpoints,8,3 ## @do_getmntinfo.excluded_mountpoints
.zerofill __DATA,__bss,_do_getmntinfo.excluded_filesystems,8,3 ## @do_getmntinfo.excluded_filesystems
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "plugin:freebsd:getmntinfo"
L_.str.1: ## @.str.1
.asciz "enable new mount points detected at runtime"
.comm _CONFIG_BOOLEAN_AUTO,8,3 ## @CONFIG_BOOLEAN_AUTO
L_.str.2: ## @.str.2
.asciz "space usage for all disks"
L_.str.3: ## @.str.3
.asciz "inodes usage for all disks"
L_.str.4: ## @.str.4
.asciz "exclude space metrics on paths"
L_.str.5: ## @.str.5
.asciz "/proc/*"
.comm _SIMPLE_PATTERN_EXACT,4,2 ## @SIMPLE_PATTERN_EXACT
L_.str.6: ## @.str.6
.asciz "exclude space metrics on filesystems"
L_.str.7: ## @.str.7
.asciz "autofs procfs subfs devfs none"
.comm _MNT_NOWAIT,4,2 ## @MNT_NOWAIT
L_.str.8: ## @.str.8
.asciz "FREEBSD: getmntinfo() failed"
L_.str.9: ## @.str.9
.asciz "DISABLED: disk_space.* charts"
L_.str.10: ## @.str.10
.asciz "DISABLED: disk_inodes.* charts"
L_.str.11: ## @.str.11
.asciz "DISABLED: getmntinfo module"
.comm _mount_points_found,8,3 ## @mount_points_found
L_.str.12: ## @.str.12
.asciz "%s:%s"
L_.str.13: ## @.str.13
.asciz "enabled"
.comm _CONFIG_BOOLEAN_NO,4,2 ## @CONFIG_BOOLEAN_NO
L_.str.14: ## @.str.14
.asciz "space usage"
L_.str.15: ## @.str.15
.asciz "inodes usage"
.comm _MNT_RDONLY,4,2 ## @MNT_RDONLY
.comm _CONFIG_BOOLEAN_YES,8,3 ## @CONFIG_BOOLEAN_YES
.comm _netdata_zero_metrics_enabled,8,3 ## @netdata_zero_metrics_enabled
L_.str.16: ## @.str.16
.asciz "Disk Space Usage for %s [%s]"
L_.str.17: ## @.str.17
.asciz "disk_space"
L_.str.18: ## @.str.18
.asciz "disk.space"
L_.str.19: ## @.str.19
.asciz "GiB"
L_.str.20: ## @.str.20
.asciz "freebsd.plugin"
L_.str.21: ## @.str.21
.asciz "getmntinfo"
.comm _NETDATA_CHART_PRIO_DISKSPACE_SPACE,4,2 ## @NETDATA_CHART_PRIO_DISKSPACE_SPACE
.comm _RRDSET_TYPE_STACKED,4,2 ## @RRDSET_TYPE_STACKED
L_.str.22: ## @.str.22
.asciz "avail"
.comm _GIGA_FACTOR,4,2 ## @GIGA_FACTOR
.comm _RRD_ALGORITHM_ABSOLUTE,4,2 ## @RRD_ALGORITHM_ABSOLUTE
L_.str.23: ## @.str.23
.asciz "used"
L_.str.24: ## @.str.24
.asciz "reserved_for_root"
L_.str.25: ## @.str.25
.asciz "reserved for root"
L_.str.26: ## @.str.26
.asciz "Disk Files (inodes) Usage for %s [%s]"
L_.str.27: ## @.str.27
.asciz "disk_inodes"
L_.str.28: ## @.str.28
.asciz "disk.inodes"
L_.str.29: ## @.str.29
.asciz "inodes"
.comm _NETDATA_CHART_PRIO_DISKSPACE_INODES,4,2 ## @NETDATA_CHART_PRIO_DISKSPACE_INODES
.comm _CONFIG_SECTION_GETMNTINFO,8,3 ## @CONFIG_SECTION_GETMNTINFO
.comm _DEFAULT_EXCLUDED_FILESYSTEMS,4,2 ## @DEFAULT_EXCLUDED_FILESYSTEMS
.comm _DELAULT_EXCLUDED_PATHS,4,2 ## @DELAULT_EXCLUDED_PATHS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_getmntinfo ; -- Begin function do_getmntinfo
.p2align 2
_do_getmntinfo: ; @do_getmntinfo
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w9, #4160
Lloh0:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh1:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #1, lsl #12 ; =4096
sub sp, sp, #64
mov x22, x0
Lloh2:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh3:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
stur x8, [x29, #-96]
adrp x26, _do_getmntinfo.enable_new_mount_points@PAGE
ldr w8, [x26, _do_getmntinfo.enable_new_mount_points@PAGEOFF]
cmn w8, #1
cset w0, eq
bl _unlikely
adrp x21, _do_getmntinfo.do_space@PAGE
adrp x25, _do_getmntinfo.do_inodes@PAGE
cbz x0, LBB0_2
; %bb.1:
Lloh5:
adrp x19, _CONFIG_BOOLEAN_AUTO@GOTPAGE
Lloh6:
ldr x19, [x19, _CONFIG_BOOLEAN_AUTO@GOTPAGEOFF]
ldr w2, [x19]
Lloh7:
adrp x20, l_.str@PAGE
Lloh8:
add x20, x20, l_.str@PAGEOFF
Lloh9:
adrp x1, l_.str.1@PAGE
Lloh10:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x20
bl _config_get_boolean_ondemand
str w0, [x26, _do_getmntinfo.enable_new_mount_points@PAGEOFF]
ldr w2, [x19]
Lloh11:
adrp x1, l_.str.2@PAGE
Lloh12:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x20
bl _config_get_boolean_ondemand
str w0, [x21, _do_getmntinfo.do_space@PAGEOFF]
ldr w2, [x19]
Lloh13:
adrp x1, l_.str.3@PAGE
Lloh14:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _config_get_boolean_ondemand
str w0, [x25, _do_getmntinfo.do_inodes@PAGEOFF]
Lloh15:
adrp x2, l_.str.5@PAGE
Lloh16:
add x2, x2, l_.str.5@PAGEOFF
Lloh17:
adrp x1, l_.str.4@PAGE
Lloh18:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x20
; kill: def $w2 killed $w2 killed $x2
bl _config_get
Lloh19:
adrp x19, _SIMPLE_PATTERN_EXACT@GOTPAGE
Lloh20:
ldr x19, [x19, _SIMPLE_PATTERN_EXACT@GOTPAGEOFF]
ldr w2, [x19]
mov x1, #0
bl _simple_pattern_create
adrp x8, _do_getmntinfo.excluded_mountpoints@PAGE
str x0, [x8, _do_getmntinfo.excluded_mountpoints@PAGEOFF]
Lloh21:
adrp x2, l_.str.7@PAGE
Lloh22:
add x2, x2, l_.str.7@PAGEOFF
Lloh23:
adrp x1, l_.str.6@PAGE
Lloh24:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x20
; kill: def $w2 killed $w2 killed $x2
bl _config_get
ldr w2, [x19]
mov x1, #0
bl _simple_pattern_create
adrp x8, _do_getmntinfo.excluded_filesystems@PAGE
str x0, [x8, _do_getmntinfo.excluded_filesystems@PAGEOFF]
LBB0_2:
ldr w8, [x21, _do_getmntinfo.do_space@PAGEOFF]
ldr w9, [x25, _do_getmntinfo.do_inodes@PAGEOFF]
orr w8, w8, w9
cmp w8, #0
cset w0, ne
bl _likely
cbz x0, LBB0_5
; %bb.3:
Lloh25:
adrp x8, _MNT_NOWAIT@GOTPAGE
Lloh26:
ldr x8, [x8, _MNT_NOWAIT@GOTPAGEOFF]
Lloh27:
ldr w1, [x8]
add x0, sp, #32
bl _getmntinfo
mov x20, x0
cmp w0, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_6
; %bb.4:
Lloh28:
adrp x0, l_.str.8@PAGE
Lloh29:
add x0, x0, l_.str.8@PAGEOFF
bl _error
str wzr, [x21, _do_getmntinfo.do_space@PAGEOFF]
Lloh30:
adrp x0, l_.str.9@PAGE
Lloh31:
add x0, x0, l_.str.9@PAGEOFF
bl _error
str wzr, [x25, _do_getmntinfo.do_inodes@PAGEOFF]
Lloh32:
adrp x0, l_.str.10@PAGE
Lloh33:
add x0, x0, l_.str.10@PAGEOFF
bl _error
LBB0_5:
Lloh34:
adrp x0, l_.str.11@PAGE
Lloh35:
add x0, x0, l_.str.11@PAGEOFF
bl _error
mov w0, #1
b LBB0_41
LBB0_6:
str w22, [sp, #28] ; 4-byte Folded Spill
Lloh36:
adrp x22, _mount_points_found@GOTPAGE
Lloh37:
ldr x22, [x22, _mount_points_found@GOTPAGEOFF]
str xzr, [x22]
cmp w20, #1
b.lt LBB0_40
; %bb.7:
mov x19, #0
mov w8, #56
umull x27, w20, w8
mov w28, #1
Lloh38:
adrp x24, _MNT_RDONLY@GOTPAGE
Lloh39:
ldr x24, [x24, _MNT_RDONLY@GOTPAGEOFF]
Lloh40:
adrp x20, l_.str.12@PAGE
Lloh41:
add x20, x20, l_.str.12@PAGEOFF
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x23, #8]
cmp w8, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_14
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x19, x19, #56
cmp x27, x19
b.eq LBB0_40
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
ldr x0, [x8, x19]
bl _get_mount_point
mov x23, x0
str w28, [x0]
ldr x8, [x22]
add x8, x8, #1
str x8, [x22]
ldr w8, [x0, #4]
cmp w8, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_8
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
ldr w0, [x26, _do_getmntinfo.enable_new_mount_points@PAGEOFF]
stp w28, w0, [x23, #4]
bl _likely
cbz x0, LBB0_18
; %bb.12: ; in Loop: Header=BB0_10 Depth=1
Lloh42:
adrp x8, _do_getmntinfo.excluded_mountpoints@PAGE
Lloh43:
ldr x0, [x8, _do_getmntinfo.excluded_mountpoints@PAGEOFF]
ldr x8, [sp, #32]
ldr x1, [x8, x19]
bl _simple_pattern_matches
cbz x0, LBB0_16
; %bb.13: ; in Loop: Header=BB0_10 Depth=1
mov w8, #1
b LBB0_17
LBB0_14: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #32]
add x8, x8, x19
ldr w8, [x8, #16]
ldr w9, [x24]
tst w9, w8
b.eq LBB0_20
; %bb.15: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x23, #32]
cmp w8, #0
cset w0, eq
bl _unlikely
cbnz x0, LBB0_9
b LBB0_21
LBB0_16: ; in Loop: Header=BB0_10 Depth=1
Lloh44:
adrp x8, _do_getmntinfo.excluded_filesystems@PAGE
Lloh45:
ldr x0, [x8, _do_getmntinfo.excluded_filesystems@PAGEOFF]
ldr x8, [sp, #32]
add x8, x8, x19
ldr x1, [x8, #8]
bl _simple_pattern_matches
cmp x0, #0
cset w8, ne
LBB0_17: ; in Loop: Header=BB0_10 Depth=1
eor w8, w8, #0x1
str w8, [x23, #8]
LBB0_18: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #32]
ldr x4, [x8, x19]
add x0, sp, #47
mov w1, #4096
mov x2, x20
Lloh46:
adrp x3, l_.str@PAGE
Lloh47:
add x3, x3, l_.str@PAGEOFF
bl _snprintfz
ldr w2, [x23, #8]
add x0, sp, #47
Lloh48:
adrp x1, l_.str.13@PAGE
Lloh49:
add x1, x1, l_.str.13@PAGEOFF
bl _config_get_boolean_ondemand
str w0, [x23, #8]
Lloh50:
adrp x8, _CONFIG_BOOLEAN_NO@GOTPAGE
Lloh51:
ldr x8, [x8, _CONFIG_BOOLEAN_NO@GOTPAGEOFF]
Lloh52:
ldr w8, [x8]
cmp w8, w0
cset w0, eq
bl _unlikely
cbnz x0, LBB0_9
; %bb.19: ; in Loop: Header=BB0_10 Depth=1
ldr w2, [x21, _do_getmntinfo.do_space@PAGEOFF]
add x0, sp, #47
Lloh53:
adrp x1, l_.str.14@PAGE
Lloh54:
add x1, x1, l_.str.14@PAGEOFF
bl _config_get_boolean_ondemand
str x0, [x23, #16]
ldr w2, [x25, _do_getmntinfo.do_inodes@PAGEOFF]
add x0, sp, #47
Lloh55:
adrp x1, l_.str.15@PAGE
Lloh56:
add x1, x1, l_.str.15@PAGEOFF
bl _config_get_boolean_ondemand
str x0, [x23, #24]
b LBB0_8
LBB0_20: ; in Loop: Header=BB0_10 Depth=1
mov w0, #0
bl _unlikely
cbnz x0, LBB0_9
LBB0_21: ; in Loop: Header=BB0_10 Depth=1
ldr x9, [x23, #16]
Lloh57:
adrp x8, _CONFIG_BOOLEAN_YES@GOTPAGE
Lloh58:
ldr x8, [x8, _CONFIG_BOOLEAN_YES@GOTPAGEOFF]
Lloh59:
ldr x8, [x8]
cmp x9, x8
b.ne LBB0_24
LBB0_22: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x23, #64]
cmp x8, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_28
; %bb.23: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #32]
add x8, x8, x19
ldr x3, [x8]
ldr x4, [x8, #24]
add x0, sp, #47
mov w1, #4096
Lloh60:
adrp x2, l_.str.16@PAGE
Lloh61:
add x2, x2, l_.str.16@PAGEOFF
bl _snprintfz
ldr x8, [sp, #32]
ldr x1, [x8, x19]
Lloh62:
adrp x8, _NETDATA_CHART_PRIO_DISKSPACE_SPACE@GOTPAGE
Lloh63:
ldr x8, [x8, _NETDATA_CHART_PRIO_DISKSPACE_SPACE@GOTPAGEOFF]
Lloh64:
ldr w8, [x8]
Lloh65:
adrp x9, _RRDSET_TYPE_STACKED@GOTPAGE
Lloh66:
ldr x9, [x9, _RRDSET_TYPE_STACKED@GOTPAGEOFF]
Lloh67:
ldr w10, [x9]
add x5, sp, #47
ldr w9, [sp, #28] ; 4-byte Folded Reload
stp w9, w10, [sp, #12]
str w8, [sp, #8]
Lloh68:
adrp x8, l_.str.21@PAGE
Lloh69:
add x8, x8, l_.str.21@PAGEOFF
str x8, [sp]
Lloh70:
adrp x0, l_.str.17@PAGE
Lloh71:
add x0, x0, l_.str.17@PAGEOFF
mov x2, #0
mov x3, x1
Lloh72:
adrp x4, l_.str.18@PAGE
Lloh73:
add x4, x4, l_.str.18@PAGEOFF
Lloh74:
adrp x6, l_.str.19@PAGE
Lloh75:
add x6, x6, l_.str.19@PAGEOFF
Lloh76:
adrp x7, l_.str.20@PAGE
Lloh77:
add x7, x7, l_.str.20@PAGEOFF
bl _rrdset_create_localhost
str x0, [x23, #64]
ldr x8, [sp, #32]
add x8, x8, x19
ldr w3, [x8, #32]
Lloh78:
adrp x24, _GIGA_FACTOR@GOTPAGE
Lloh79:
ldr x24, [x24, _GIGA_FACTOR@GOTPAGEOFF]
ldr w4, [x24]
Lloh80:
adrp x20, _RRD_ALGORITHM_ABSOLUTE@GOTPAGE
Lloh81:
ldr x20, [x20, _RRD_ALGORITHM_ABSOLUTE@GOTPAGEOFF]
ldr w5, [x20]
Lloh82:
adrp x1, l_.str.22@PAGE
Lloh83:
add x1, x1, l_.str.22@PAGEOFF
mov x2, #0
bl _rrddim_add
str x0, [x23, #88]
ldr x0, [x23, #64]
ldr x8, [sp, #32]
add x8, x8, x19
ldr w3, [x8, #32]
ldr w4, [x24]
ldr w5, [x20]
Lloh84:
adrp x1, l_.str.23@PAGE
Lloh85:
add x1, x1, l_.str.23@PAGEOFF
mov x2, #0
bl _rrddim_add
str x0, [x23, #80]
ldr x0, [x23, #64]
ldr x8, [sp, #32]
add x8, x8, x19
ldr w3, [x8, #32]
ldr w4, [x24]
ldr w5, [x20]
Lloh86:
adrp x20, l_.str.12@PAGE
Lloh87:
add x20, x20, l_.str.12@PAGEOFF
Lloh88:
adrp x1, l_.str.24@PAGE
Lloh89:
add x1, x1, l_.str.24@PAGEOFF
Lloh90:
adrp x2, l_.str.25@PAGE
Lloh91:
add x2, x2, l_.str.25@PAGEOFF
bl _rrddim_add
str x0, [x23, #72]
b LBB0_29
LBB0_24: ; in Loop: Header=BB0_10 Depth=1
Lloh92:
adrp x10, _CONFIG_BOOLEAN_AUTO@GOTPAGE
Lloh93:
ldr x10, [x10, _CONFIG_BOOLEAN_AUTO@GOTPAGEOFF]
Lloh94:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_27
; %bb.25: ; in Loop: Header=BB0_10 Depth=1
ldr x9, [sp, #32]
add x9, x9, x19
ldr w9, [x9, #20]
cmp w9, #2
b.gt LBB0_22
; %bb.26: ; in Loop: Header=BB0_10 Depth=1
Lloh95:
adrp x9, _netdata_zero_metrics_enabled@GOTPAGE
Lloh96:
ldr x9, [x9, _netdata_zero_metrics_enabled@GOTPAGEOFF]
Lloh97:
ldr x9, [x9]
cmp x9, x8
b.eq LBB0_22
LBB0_27: ; in Loop: Header=BB0_10 Depth=1
mov w24, #0
b LBB0_30
LBB0_28: ; in Loop: Header=BB0_10 Depth=1
ldr x0, [x23, #64]
bl _rrdset_next
LBB0_29: ; in Loop: Header=BB0_10 Depth=1
ldr x0, [x23, #64]
ldr x1, [x23, #88]
ldr x8, [sp, #32]
add x8, x8, x19
ldr w2, [x8, #36]
bl _rrddim_set_by_pointer
ldr x0, [x23, #64]
ldr x1, [x23, #80]
ldr x8, [sp, #32]
add x8, x8, x19
ldr w9, [x8, #20]
ldr w8, [x8, #40]
sub w2, w9, w8
bl _rrddim_set_by_pointer
ldp x0, x1, [x23, #64]
ldr x8, [sp, #32]
add x8, x8, x19
ldp w8, w9, [x8, #36]
sub w2, w9, w8
bl _rrddim_set_by_pointer
ldr x0, [x23, #64]
bl _rrdset_done
Lloh98:
adrp x8, _CONFIG_BOOLEAN_YES@GOTPAGE
Lloh99:
ldr x8, [x8, _CONFIG_BOOLEAN_YES@GOTPAGEOFF]
Lloh100:
ldr x8, [x8]
mov w24, #1
LBB0_30: ; in Loop: Header=BB0_10 Depth=1
ldr x9, [x23, #24]
cmp x9, x8
b.ne LBB0_33
LBB0_31: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x23, #40]
cmp x8, #0
cset w0, eq
bl _unlikely
cbz x0, LBB0_36
; %bb.32: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #32]
add x8, x8, x19
ldr x3, [x8]
ldr x4, [x8, #24]
add x0, sp, #47
mov w1, #4096
Lloh101:
adrp x2, l_.str.26@PAGE
Lloh102:
add x2, x2, l_.str.26@PAGEOFF
bl _snprintfz
ldr x8, [sp, #32]
ldr x1, [x8, x19]
Lloh103:
adrp x8, _NETDATA_CHART_PRIO_DISKSPACE_INODES@GOTPAGE
Lloh104:
ldr x8, [x8, _NETDATA_CHART_PRIO_DISKSPACE_INODES@GOTPAGEOFF]
Lloh105:
ldr w8, [x8]
Lloh106:
adrp x9, _RRDSET_TYPE_STACKED@GOTPAGE
Lloh107:
ldr x9, [x9, _RRDSET_TYPE_STACKED@GOTPAGEOFF]
Lloh108:
ldr w10, [x9]
add x5, sp, #47
ldr w9, [sp, #28] ; 4-byte Folded Reload
stp w9, w10, [sp, #12]
str w8, [sp, #8]
Lloh109:
adrp x8, l_.str.21@PAGE
Lloh110:
add x8, x8, l_.str.21@PAGEOFF
str x8, [sp]
Lloh111:
adrp x0, l_.str.27@PAGE
Lloh112:
add x0, x0, l_.str.27@PAGEOFF
mov x2, #0
mov x3, x1
Lloh113:
adrp x4, l_.str.28@PAGE
Lloh114:
add x4, x4, l_.str.28@PAGEOFF
Lloh115:
adrp x6, l_.str.29@PAGE
Lloh116:
add x6, x6, l_.str.29@PAGEOFF
Lloh117:
adrp x7, l_.str.20@PAGE
Lloh118:
add x7, x7, l_.str.20@PAGEOFF
bl _rrdset_create_localhost
str x0, [x23, #40]
Lloh119:
adrp x20, _RRD_ALGORITHM_ABSOLUTE@GOTPAGE
Lloh120:
ldr x20, [x20, _RRD_ALGORITHM_ABSOLUTE@GOTPAGEOFF]
ldr w5, [x20]
Lloh121:
adrp x1, l_.str.22@PAGE
Lloh122:
add x1, x1, l_.str.22@PAGEOFF
mov x2, #0
mov w3, #1
mov w4, #1
bl _rrddim_add
str x0, [x23, #56]
ldr x0, [x23, #40]
ldr w5, [x20]
Lloh123:
adrp x20, l_.str.12@PAGE
Lloh124:
add x20, x20, l_.str.12@PAGEOFF
Lloh125:
adrp x1, l_.str.23@PAGE
Lloh126:
add x1, x1, l_.str.23@PAGEOFF
mov x2, #0
mov w3, #1
mov w4, #1
bl _rrddim_add
str x0, [x23, #48]
b LBB0_37
LBB0_33: ; in Loop: Header=BB0_10 Depth=1
Lloh127:
adrp x10, _CONFIG_BOOLEAN_AUTO@GOTPAGE
Lloh128:
ldr x10, [x10, _CONFIG_BOOLEAN_AUTO@GOTPAGEOFF]
Lloh129:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_38
; %bb.34: ; in Loop: Header=BB0_10 Depth=1
ldr x9, [sp, #32]
add x9, x9, x19
ldr w9, [x9, #44]
cmp w9, #1
b.gt LBB0_31
; %bb.35: ; in Loop: Header=BB0_10 Depth=1
Lloh130:
adrp x9, _netdata_zero_metrics_enabled@GOTPAGE
Lloh131:
ldr x9, [x9, _netdata_zero_metrics_enabled@GOTPAGEOFF]
Lloh132:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_38
b LBB0_31
LBB0_36: ; in Loop: Header=BB0_10 Depth=1
ldr x0, [x23, #40]
bl _rrdset_next
LBB0_37: ; in Loop: Header=BB0_10 Depth=1
ldr x0, [x23, #40]
ldr x1, [x23, #56]
ldr x8, [sp, #32]
add x8, x8, x19
ldr w2, [x8, #48]
bl _rrddim_set_by_pointer
ldp x0, x1, [x23, #40]
ldr x8, [sp, #32]
add x8, x8, x19
ldp w9, w8, [x8, #44]
sub w2, w9, w8
bl _rrddim_set_by_pointer
ldr x0, [x23, #40]
bl _rrdset_done
add w24, w24, #1
LBB0_38: ; in Loop: Header=BB0_10 Depth=1
mov x0, x24
bl _likely
Lloh133:
adrp x24, _MNT_RDONLY@GOTPAGE
Lloh134:
ldr x24, [x24, _MNT_RDONLY@GOTPAGEOFF]
cbz x0, LBB0_9
; %bb.39: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x23, #32]
add w8, w8, #1
str w8, [x23, #32]
b LBB0_9
LBB0_40:
bl _mount_points_cleanup
mov w0, #0
LBB0_41:
ldur x8, [x29, #-96]
Lloh135:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh136:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh137:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_43
; %bb.42:
add sp, sp, #1, lsl #12 ; =4096
add sp, sp, #64
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_43:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpLdr Lloh42, Lloh43
.loh AdrpLdr Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59
.loh AdrpAdd Lloh90, Lloh91
.loh AdrpAdd Lloh88, Lloh89
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpAdd Lloh84, Lloh85
.loh AdrpAdd Lloh82, Lloh83
.loh AdrpLdrGot Lloh80, Lloh81
.loh AdrpLdrGot Lloh78, Lloh79
.loh AdrpAdd Lloh76, Lloh77
.loh AdrpAdd Lloh74, Lloh75
.loh AdrpAdd Lloh72, Lloh73
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpAdd Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94
.loh AdrpLdrGotLdr Lloh95, Lloh96, Lloh97
.loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100
.loh AdrpAdd Lloh125, Lloh126
.loh AdrpAdd Lloh123, Lloh124
.loh AdrpAdd Lloh121, Lloh122
.loh AdrpLdrGot Lloh119, Lloh120
.loh AdrpAdd Lloh117, Lloh118
.loh AdrpAdd Lloh115, Lloh116
.loh AdrpAdd Lloh113, Lloh114
.loh AdrpAdd Lloh111, Lloh112
.loh AdrpAdd Lloh109, Lloh110
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.loh AdrpLdrGotLdr Lloh103, Lloh104, Lloh105
.loh AdrpAdd Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh127, Lloh128, Lloh129
.loh AdrpLdrGotLdr Lloh130, Lloh131, Lloh132
.loh AdrpLdrGot Lloh133, Lloh134
.loh AdrpLdrGotLdr Lloh135, Lloh136, Lloh137
.cfi_endproc
; -- End function
.section __DATA,__data
.p2align 2 ; @do_getmntinfo.enable_new_mount_points
_do_getmntinfo.enable_new_mount_points:
.long 4294967295 ; 0xffffffff
.p2align 2 ; @do_getmntinfo.do_space
_do_getmntinfo.do_space:
.long 4294967295 ; 0xffffffff
.p2align 2 ; @do_getmntinfo.do_inodes
_do_getmntinfo.do_inodes:
.long 4294967295 ; 0xffffffff
.zerofill __DATA,__bss,_do_getmntinfo.excluded_mountpoints,8,3 ; @do_getmntinfo.excluded_mountpoints
.zerofill __DATA,__bss,_do_getmntinfo.excluded_filesystems,8,3 ; @do_getmntinfo.excluded_filesystems
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "plugin:freebsd:getmntinfo"
l_.str.1: ; @.str.1
.asciz "enable new mount points detected at runtime"
.comm _CONFIG_BOOLEAN_AUTO,8,3 ; @CONFIG_BOOLEAN_AUTO
l_.str.2: ; @.str.2
.asciz "space usage for all disks"
l_.str.3: ; @.str.3
.asciz "inodes usage for all disks"
l_.str.4: ; @.str.4
.asciz "exclude space metrics on paths"
l_.str.5: ; @.str.5
.asciz "/proc/*"
.comm _SIMPLE_PATTERN_EXACT,4,2 ; @SIMPLE_PATTERN_EXACT
l_.str.6: ; @.str.6
.asciz "exclude space metrics on filesystems"
l_.str.7: ; @.str.7
.asciz "autofs procfs subfs devfs none"
.comm _MNT_NOWAIT,4,2 ; @MNT_NOWAIT
l_.str.8: ; @.str.8
.asciz "FREEBSD: getmntinfo() failed"
l_.str.9: ; @.str.9
.asciz "DISABLED: disk_space.* charts"
l_.str.10: ; @.str.10
.asciz "DISABLED: disk_inodes.* charts"
l_.str.11: ; @.str.11
.asciz "DISABLED: getmntinfo module"
.comm _mount_points_found,8,3 ; @mount_points_found
l_.str.12: ; @.str.12
.asciz "%s:%s"
l_.str.13: ; @.str.13
.asciz "enabled"
.comm _CONFIG_BOOLEAN_NO,4,2 ; @CONFIG_BOOLEAN_NO
l_.str.14: ; @.str.14
.asciz "space usage"
l_.str.15: ; @.str.15
.asciz "inodes usage"
.comm _MNT_RDONLY,4,2 ; @MNT_RDONLY
.comm _CONFIG_BOOLEAN_YES,8,3 ; @CONFIG_BOOLEAN_YES
.comm _netdata_zero_metrics_enabled,8,3 ; @netdata_zero_metrics_enabled
l_.str.16: ; @.str.16
.asciz "Disk Space Usage for %s [%s]"
l_.str.17: ; @.str.17
.asciz "disk_space"
l_.str.18: ; @.str.18
.asciz "disk.space"
l_.str.19: ; @.str.19
.asciz "GiB"
l_.str.20: ; @.str.20
.asciz "freebsd.plugin"
l_.str.21: ; @.str.21
.asciz "getmntinfo"
.comm _NETDATA_CHART_PRIO_DISKSPACE_SPACE,4,2 ; @NETDATA_CHART_PRIO_DISKSPACE_SPACE
.comm _RRDSET_TYPE_STACKED,4,2 ; @RRDSET_TYPE_STACKED
l_.str.22: ; @.str.22
.asciz "avail"
.comm _GIGA_FACTOR,4,2 ; @GIGA_FACTOR
.comm _RRD_ALGORITHM_ABSOLUTE,4,2 ; @RRD_ALGORITHM_ABSOLUTE
l_.str.23: ; @.str.23
.asciz "used"
l_.str.24: ; @.str.24
.asciz "reserved_for_root"
l_.str.25: ; @.str.25
.asciz "reserved for root"
l_.str.26: ; @.str.26
.asciz "Disk Files (inodes) Usage for %s [%s]"
l_.str.27: ; @.str.27
.asciz "disk_inodes"
l_.str.28: ; @.str.28
.asciz "disk.inodes"
l_.str.29: ; @.str.29
.asciz "inodes"
.comm _NETDATA_CHART_PRIO_DISKSPACE_INODES,4,2 ; @NETDATA_CHART_PRIO_DISKSPACE_INODES
.comm _CONFIG_SECTION_GETMNTINFO,8,3 ; @CONFIG_SECTION_GETMNTINFO
.comm _DEFAULT_EXCLUDED_FILESYSTEMS,4,2 ; @DEFAULT_EXCLUDED_FILESYSTEMS
.comm _DELAULT_EXCLUDED_PATHS,4,2 ; @DELAULT_EXCLUDED_PATHS
.subsections_via_symbols
| AnghaBench/netdata/collectors/freebsd.plugin/extr_freebsd_getmntinfo.c_do_getmntinfo.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Hello ## -- Begin function Hello
.p2align 4, 0x90
_Hello: ## @Hello
.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 $1000000, %ebx ## imm = 0xF4240
leaq L_str(%rip), %r14
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _puts
decl %ebx
jne LBB0_1
## %bb.2:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _NotHello ## -- Begin function NotHello
.p2align 4, 0x90
_NotHello: ## @NotHello
.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 $1000000, %ebx ## imm = 0xF4240
leaq L_str.2(%rip), %r14
.p2align 4, 0x90
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _puts
decl %ebx
jne LBB1_1
## %bb.2:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "hello "
L_str.2: ## @str.2
.asciz "Not hello~"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Hello ; -- Begin function Hello
.p2align 2
_Hello: ; @Hello
.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 w20, #16960
movk w20, #15, lsl #16
Lloh0:
adrp x19, l_str@PAGE
Lloh1:
add x19, x19, l_str@PAGEOFF
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
subs w20, w20, #1
b.ne LBB0_1
; %bb.2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.globl _NotHello ; -- Begin function NotHello
.p2align 2
_NotHello: ; @NotHello
.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 w20, #16960
movk w20, #15, lsl #16
Lloh2:
adrp x19, l_str.2@PAGE
Lloh3:
add x19, x19, l_str.2@PAGEOFF
LBB1_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _puts
subs w20, w20, #1
b.ne LBB1_1
; %bb.2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "hello "
l_str.2: ; @str.2
.asciz "Not hello~"
.subsections_via_symbols
| the_stack_data/140765996.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _put_unused_fd ## -- Begin function put_unused_fd
.p2align 4, 0x90
_put_unused_fd: ## @put_unused_fd
.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, %r14d
movq _current@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rbx
movq %rbx, %rdi
callq _spin_lock
movq %rbx, %rdi
movl %r14d, %esi
callq ___put_unused_fd
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _spin_unlock ## TAILCALL
.cfi_endproc
## -- End function
.comm _current,8,3 ## @current
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _put_unused_fd ; -- Begin function put_unused_fd
.p2align 2
_put_unused_fd: ; @put_unused_fd
.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, _current@GOTPAGE
Lloh1:
ldr x8, [x8, _current@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x20, [x8]
mov x0, x20
bl _spin_lock
mov x0, x20
mov x1, x19
bl ___put_unused_fd
mov x0, x20
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _spin_unlock
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _current,8,3 ; @current
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/extr_open.c_put_unused_fd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _JsonDotGetObj ## -- Begin function JsonDotGetObj
.p2align 4, 0x90
_JsonDotGetObj: ## @JsonDotGetObj
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _JsonDotGet
movl %eax, %edi
popq %rbp
jmp _JsonValueGetObject ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _JsonDotGetObj ; -- Begin function JsonDotGetObj
.p2align 2
_JsonDotGetObj: ; @JsonDotGetObj
.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 _JsonDotGet
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _JsonValueGetObject
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Str.c_JsonDotGetObj.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ngx_stream_script_add_copy_code
_ngx_stream_script_add_copy_code: ## @ngx_stream_script_add_copy_code
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
cmpl $0, (%rdi)
setne %al
testq %rdx, %rdx
setne %r12b
andb %al, %r12b
movzbl %r12b, %ebx
addq (%rsi), %rbx
movq 16(%rdi), %rax
movl (%rax), %edi
movl $16, %esi
xorl %edx, %edx
callq _ngx_stream_script_add_code
movq _NGX_ERROR@GOTPCREL(%rip), %r13
testq %rax, %rax
je LBB0_4
## %bb.1:
movq _ngx_stream_script_copy_len_code@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rax)
movq %rbx, (%rax)
leaq 23(%rbx), %rsi
andq $-8, %rsi
movq 8(%r15), %rax
movl (%rax), %edi
leaq 4(%r15), %rdx
callq _ngx_stream_script_add_code
testq %rax, %rax
je LBB0_4
## %bb.2:
movq _ngx_stream_script_copy_code@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, 8(%rax)
movq %rbx, (%rax)
addq $16, %rax
movl 8(%r14), %esi
movq (%r14), %rdx
movq %rax, %rdi
callq _ngx_cpymem
movq _NGX_OK@GOTPCREL(%rip), %r13
testb %r12b, %r12b
je LBB0_4
## %bb.3:
movb $0, (%rax)
movl $0, (%r15)
LBB0_4:
movl (%r13), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NGX_ERROR,4,2 ## @NGX_ERROR
.comm _ngx_stream_script_copy_len_code,8,3 ## @ngx_stream_script_copy_len_code
.comm _ngx_stream_script_copy_code,4,2 ## @ngx_stream_script_copy_code
.comm _NGX_OK,4,2 ## @NGX_OK
.no_dead_strip _ngx_stream_script_add_copy_code
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ngx_stream_script_add_copy_code
_ngx_stream_script_add_copy_code: ; @ngx_stream_script_add_copy_code
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldr w8, [x0]
cmp x2, #0
ccmp w8, #0, #4, ne
cset w21, ne
ldr x8, [x1]
cinc x22, x8, ne
ldr x8, [x0, #16]
ldr w0, [x8]
mov w1, #16
mov x2, #0
bl _ngx_stream_script_add_code
cbz x0, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _ngx_stream_script_copy_len_code@GOTPAGE
Lloh1:
ldr x8, [x8, _ngx_stream_script_copy_len_code@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str w8, [x0, #8]
str x22, [x0]
add x8, x22, #23
and x1, x8, #0xfffffffffffffff8
ldr x8, [x19, #8]
ldr w0, [x8]
add x2, x19, #4
bl _ngx_stream_script_add_code
cbz x0, LBB0_5
; %bb.2:
Lloh3:
adrp x8, _ngx_stream_script_copy_code@GOTPAGE
Lloh4:
ldr x8, [x8, _ngx_stream_script_copy_code@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x0, #8]
str x22, [x0], #16
ldr w1, [x20, #8]
ldr x2, [x20]
bl _ngx_cpymem
cbz w21, LBB0_4
; %bb.3:
strb wzr, [x0]
str wzr, [x19]
LBB0_4:
Lloh6:
adrp x8, _NGX_OK@GOTPAGE
Lloh7:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh8:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh9:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _NGX_ERROR,4,2 ; @NGX_ERROR
.comm _ngx_stream_script_copy_len_code,8,3 ; @ngx_stream_script_copy_len_code
.comm _ngx_stream_script_copy_code,4,2 ; @ngx_stream_script_copy_code
.comm _NGX_OK,4,2 ; @NGX_OK
.no_dead_strip _ngx_stream_script_add_copy_code
.subsections_via_symbols
| AnghaBench/tengine/src/stream/extr_ngx_stream_script.c_ngx_stream_script_add_copy_code.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _spoofchecker_register_Spoofchecker_class ## -- Begin function spoofchecker_register_Spoofchecker_class
.p2align 4, 0x90
_spoofchecker_register_Spoofchecker_class: ## @spoofchecker_register_Spoofchecker_class
.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 _Spoofchecker_class_functions@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
callq _INIT_CLASS_ENTRY
movq _Spoofchecker_object_create@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -16(%rbp)
leaq -16(%rbp), %rdi
callq _zend_register_internal_class
movq _Spoofchecker_ce_ptr@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _Spoofchecker_handlers@GOTPCREL(%rip), %rbx
movq _std_object_handlers@GOTPCREL(%rip), %rsi
movq %rbx, %rdi
movl $12, %edx
callq _memcpy
movq _Spoofchecker_object@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _zo@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _XtOffsetOf
movl %eax, 8(%rbx)
movq _spoofchecker_clone_obj@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rbx)
movq _Spoofchecker_objects_free@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Spoofchecker"
.comm _Spoofchecker_class_functions,4,2 ## @Spoofchecker_class_functions
.comm _Spoofchecker_object_create,4,2 ## @Spoofchecker_object_create
.comm _Spoofchecker_ce_ptr,4,2 ## @Spoofchecker_ce_ptr
.comm _Spoofchecker_handlers,12,2 ## @Spoofchecker_handlers
.comm _std_object_handlers,4,2 ## @std_object_handlers
.comm _Spoofchecker_object,4,2 ## @Spoofchecker_object
.comm _zo,4,2 ## @zo
.comm _spoofchecker_clone_obj,4,2 ## @spoofchecker_clone_obj
.comm _Spoofchecker_objects_free,4,2 ## @Spoofchecker_objects_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _spoofchecker_register_Spoofchecker_class ; -- Begin function spoofchecker_register_Spoofchecker_class
.p2align 2
_spoofchecker_register_Spoofchecker_class: ; @spoofchecker_register_Spoofchecker_class
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, _Spoofchecker_class_functions@GOTPAGE
Lloh1:
ldr x8, [x8, _Spoofchecker_class_functions@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, #0
bl _INIT_CLASS_ENTRY
Lloh5:
adrp x8, _Spoofchecker_object_create@GOTPAGE
Lloh6:
ldr x8, [x8, _Spoofchecker_object_create@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
str w8, [sp, #8]
add x0, sp, #8
bl _zend_register_internal_class
Lloh8:
adrp x8, _Spoofchecker_ce_ptr@GOTPAGE
Lloh9:
ldr x8, [x8, _Spoofchecker_ce_ptr@GOTPAGEOFF]
Lloh10:
str w0, [x8]
Lloh11:
adrp x19, _Spoofchecker_handlers@GOTPAGE
Lloh12:
ldr x19, [x19, _Spoofchecker_handlers@GOTPAGEOFF]
Lloh13:
adrp x1, _std_object_handlers@GOTPAGE
Lloh14:
ldr x1, [x1, _std_object_handlers@GOTPAGEOFF]
mov x0, x19
mov w2, #12
bl _memcpy
Lloh15:
adrp x8, _Spoofchecker_object@GOTPAGE
Lloh16:
ldr x8, [x8, _Spoofchecker_object@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
Lloh18:
adrp x8, _zo@GOTPAGE
Lloh19:
ldr x8, [x8, _zo@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
bl _XtOffsetOf
str w0, [x19, #8]
Lloh21:
adrp x8, _spoofchecker_clone_obj@GOTPAGE
Lloh22:
ldr x8, [x8, _spoofchecker_clone_obj@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
Lloh24:
adrp x9, _Spoofchecker_objects_free@GOTPAGE
Lloh25:
ldr x9, [x9, _Spoofchecker_objects_free@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
stp w9, w8, [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 AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotStr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Spoofchecker"
.comm _Spoofchecker_class_functions,4,2 ; @Spoofchecker_class_functions
.comm _Spoofchecker_object_create,4,2 ; @Spoofchecker_object_create
.comm _Spoofchecker_ce_ptr,4,2 ; @Spoofchecker_ce_ptr
.comm _Spoofchecker_handlers,12,2 ; @Spoofchecker_handlers
.comm _std_object_handlers,4,2 ; @std_object_handlers
.comm _Spoofchecker_object,4,2 ; @Spoofchecker_object
.comm _zo,4,2 ; @zo
.comm _spoofchecker_clone_obj,4,2 ; @spoofchecker_clone_obj
.comm _Spoofchecker_objects_free,4,2 ; @Spoofchecker_objects_free
.subsections_via_symbols
| AnghaBench/php-src/ext/intl/spoofchecker/extr_spoofchecker_class.c_spoofchecker_register_Spoofchecker_class.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memorystatus_dirty_clear ## -- Begin function memorystatus_dirty_clear
.p2align 4, 0x90
_memorystatus_dirty_clear: ## @memorystatus_dirty_clear
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movl (%rdi), %r8d
movl 12(%rdi), %edx
leaq L_.str(%rip), %rsi
movl $1, %edi
movl %r14d, %ecx
callq _MEMORYSTATUS_DEBUG
movq _DBG_BSD_MEMSTAT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _BSD_MEMSTAT_DIRTY_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _BSDDBG_CODE
movl 12(%rbx), %esi
movl %eax, %edi
movl %r14d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _KERNEL_DEBUG_CONSTANT
xorl %eax, %eax
callq _proc_list_lock
movq _P_LIST_EXITED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%rbx)
je LBB0_2
## %bb.1:
movq _EBUSY@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_2:
movq _P_MEMSTAT_INTERNAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 8(%rbx)
je LBB0_4
## %bb.3:
movq _EPERM@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_4:
movl (%rbx), %eax
movq _P_DIRTY_TRACK@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_15
## %bb.5:
testl %r14d, %r14d
je LBB0_15
## %bb.6:
movq _PROC_DIRTY_LAUNCH_IN_PROGRESS@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _PROC_DIRTY_DEFER@GOTPCREL(%rip), %r8
movl (%r8), %edi
movl %edi, %ecx
orl %esi, %ecx
movq _PROC_DIRTY_DEFER_ALWAYS@GOTPCREL(%rip), %r9
movl (%r9), %edx
orl %edx, %ecx
testl %r14d, %ecx
je LBB0_15
## %bb.7:
testl %r14d, %esi
je LBB0_9
## %bb.8:
movq _P_DIRTY_LAUNCH_IN_PROGRESS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
notl %ecx
andl %ecx, %eax
movl %eax, (%rbx)
movl (%r8), %edi
movl (%r9), %edx
LBB0_9:
orl %edi, %edx
testl %r14d, %edx
je LBB0_18
## %bb.10:
movq _P_DIRTY_DEFER@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %eax, %ecx
je LBB0_12
## %bb.11:
notl %ecx
andl %ecx, %eax
movl %eax, (%rbx)
LBB0_12:
movq _P_DIRTY_DEFER_ALWAYS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %eax, %ecx
je LBB0_14
## %bb.13:
notl %ecx
andl %ecx, %eax
movl %eax, (%rbx)
LBB0_14:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _memorystatus_invalidate_idle_demotion_locked
movq %rbx, %rdi
callq _memorystatus_update_idle_priority_locked
xorl %ebx, %ebx
xorl %eax, %eax
callq _memorystatus_reschedule_idle_demotion_locked
jmp LBB0_17
LBB0_15:
movq _EINVAL@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %ebx
LBB0_17:
xorl %eax, %eax
callq _proc_list_unlock
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
LBB0_18:
xorl %ebx, %ebx
jmp LBB0_17
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "memorystatus_dirty_clear(): %d 0x%x 0x%x\n"
.comm _DBG_BSD_MEMSTAT,4,2 ## @DBG_BSD_MEMSTAT
.comm _BSD_MEMSTAT_DIRTY_CLEAR,4,2 ## @BSD_MEMSTAT_DIRTY_CLEAR
.comm _P_LIST_EXITED,4,2 ## @P_LIST_EXITED
.comm _EBUSY,4,2 ## @EBUSY
.comm _P_MEMSTAT_INTERNAL,4,2 ## @P_MEMSTAT_INTERNAL
.comm _EPERM,4,2 ## @EPERM
.comm _P_DIRTY_TRACK,4,2 ## @P_DIRTY_TRACK
.comm _EINVAL,4,2 ## @EINVAL
.comm _PROC_DIRTY_LAUNCH_IN_PROGRESS,4,2 ## @PROC_DIRTY_LAUNCH_IN_PROGRESS
.comm _PROC_DIRTY_DEFER,4,2 ## @PROC_DIRTY_DEFER
.comm _PROC_DIRTY_DEFER_ALWAYS,4,2 ## @PROC_DIRTY_DEFER_ALWAYS
.comm _P_DIRTY_LAUNCH_IN_PROGRESS,4,2 ## @P_DIRTY_LAUNCH_IN_PROGRESS
.comm _P_DIRTY_DEFER,4,2 ## @P_DIRTY_DEFER
.comm _P_DIRTY_DEFER_ALWAYS,4,2 ## @P_DIRTY_DEFER_ALWAYS
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memorystatus_dirty_clear ; -- Begin function memorystatus_dirty_clear
.p2align 2
_memorystatus_dirty_clear: ; @memorystatus_dirty_clear
.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
ldr w2, [x0, #12]
ldr w4, [x0]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #1
mov x3, x20
bl _MEMORYSTATUS_DEBUG
Lloh2:
adrp x8, _DBG_BSD_MEMSTAT@GOTPAGE
Lloh3:
ldr x8, [x8, _DBG_BSD_MEMSTAT@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
Lloh5:
adrp x8, _BSD_MEMSTAT_DIRTY_CLEAR@GOTPAGE
Lloh6:
ldr x8, [x8, _BSD_MEMSTAT_DIRTY_CLEAR@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
bl _BSDDBG_CODE
ldr w1, [x19, #12]
mov x2, x20
mov w3, #0
mov w4, #0
mov w5, #0
bl _KERNEL_DEBUG_CONSTANT
bl _proc_list_lock
ldr w8, [x19, #4]
Lloh8:
adrp x9, _P_LIST_EXITED@GOTPAGE
Lloh9:
ldr x9, [x9, _P_LIST_EXITED@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_2
; %bb.1:
Lloh11:
adrp x8, _EBUSY@GOTPAGE
Lloh12:
ldr x8, [x8, _EBUSY@GOTPAGEOFF]
b LBB0_17
LBB0_2:
ldr w8, [x19, #8]
Lloh13:
adrp x9, _P_MEMSTAT_INTERNAL@GOTPAGE
Lloh14:
ldr x9, [x9, _P_MEMSTAT_INTERNAL@GOTPAGEOFF]
Lloh15:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_4
; %bb.3:
Lloh16:
adrp x8, _EPERM@GOTPAGE
Lloh17:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
b LBB0_17
LBB0_4:
ldr w8, [x19]
Lloh18:
adrp x9, _P_DIRTY_TRACK@GOTPAGE
Lloh19:
ldr x9, [x9, _P_DIRTY_TRACK@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_16
; %bb.5:
cbz w20, LBB0_16
; %bb.6:
Lloh21:
adrp x9, _PROC_DIRTY_LAUNCH_IN_PROGRESS@GOTPAGE
Lloh22:
ldr x9, [x9, _PROC_DIRTY_LAUNCH_IN_PROGRESS@GOTPAGEOFF]
Lloh23:
ldr w13, [x9]
Lloh24:
adrp x11, _PROC_DIRTY_DEFER@GOTPAGE
Lloh25:
ldr x11, [x11, _PROC_DIRTY_DEFER@GOTPAGEOFF]
ldr w9, [x11]
orr w14, w9, w13
Lloh26:
adrp x12, _PROC_DIRTY_DEFER_ALWAYS@GOTPAGE
Lloh27:
ldr x12, [x12, _PROC_DIRTY_DEFER_ALWAYS@GOTPAGEOFF]
ldr w10, [x12]
orr w14, w14, w10
tst w14, w20
b.eq LBB0_16
; %bb.7:
tst w13, w20
b.eq LBB0_9
; %bb.8:
Lloh28:
adrp x9, _P_DIRTY_LAUNCH_IN_PROGRESS@GOTPAGE
Lloh29:
ldr x9, [x9, _P_DIRTY_LAUNCH_IN_PROGRESS@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
bic w8, w8, w9
str w8, [x19]
ldr w9, [x11]
ldr w10, [x12]
LBB0_9:
orr w9, w10, w9
tst w9, w20
b.eq LBB0_15
; %bb.10:
Lloh31:
adrp x9, _P_DIRTY_DEFER@GOTPAGE
Lloh32:
ldr x9, [x9, _P_DIRTY_DEFER@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_12
; %bb.11:
bic w8, w8, w9
str w8, [x19]
LBB0_12:
Lloh34:
adrp x9, _P_DIRTY_DEFER_ALWAYS@GOTPAGE
Lloh35:
ldr x9, [x9, _P_DIRTY_DEFER_ALWAYS@GOTPAGEOFF]
Lloh36:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_14
; %bb.13:
bic w8, w8, w9
str w8, [x19]
LBB0_14:
Lloh37:
adrp x8, _TRUE@GOTPAGE
Lloh38:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh39:
ldr w1, [x8]
mov x0, x19
bl _memorystatus_invalidate_idle_demotion_locked
mov x0, x19
bl _memorystatus_update_idle_priority_locked
bl _memorystatus_reschedule_idle_demotion_locked
LBB0_15:
mov w19, #0
b LBB0_18
LBB0_16:
Lloh40:
adrp x8, _EINVAL@GOTPAGE
Lloh41:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_17:
ldr w19, [x8]
LBB0_18:
bl _proc_list_unlock
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGot Lloh40, Lloh41
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "memorystatus_dirty_clear(): %d 0x%x 0x%x\n"
.comm _DBG_BSD_MEMSTAT,4,2 ; @DBG_BSD_MEMSTAT
.comm _BSD_MEMSTAT_DIRTY_CLEAR,4,2 ; @BSD_MEMSTAT_DIRTY_CLEAR
.comm _P_LIST_EXITED,4,2 ; @P_LIST_EXITED
.comm _EBUSY,4,2 ; @EBUSY
.comm _P_MEMSTAT_INTERNAL,4,2 ; @P_MEMSTAT_INTERNAL
.comm _EPERM,4,2 ; @EPERM
.comm _P_DIRTY_TRACK,4,2 ; @P_DIRTY_TRACK
.comm _EINVAL,4,2 ; @EINVAL
.comm _PROC_DIRTY_LAUNCH_IN_PROGRESS,4,2 ; @PROC_DIRTY_LAUNCH_IN_PROGRESS
.comm _PROC_DIRTY_DEFER,4,2 ; @PROC_DIRTY_DEFER
.comm _PROC_DIRTY_DEFER_ALWAYS,4,2 ; @PROC_DIRTY_DEFER_ALWAYS
.comm _P_DIRTY_LAUNCH_IN_PROGRESS,4,2 ; @P_DIRTY_LAUNCH_IN_PROGRESS
.comm _P_DIRTY_DEFER,4,2 ; @P_DIRTY_DEFER
.comm _P_DIRTY_DEFER_ALWAYS,4,2 ; @P_DIRTY_DEFER_ALWAYS
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/darwin-xnu/bsd/kern/extr_kern_memorystatus.c_memorystatus_dirty_clear.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/75137921.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function adq12b_ai_rinsn
_adq12b_ai_rinsn: ## @adq12b_ai_rinsn
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rdx, %r14
movq %rdi, %rbx
movl 4(%rdx), %edi
callq _CR_RANGE
movl %eax, %r12d
movq %r14, -48(%rbp) ## 8-byte Spill
movl 4(%r14), %edi
callq _CR_CHAN
movq _devpriv@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl (%rcx), %eax
jne LBB0_2
## %bb.1:
cmpl 4(%rcx), %r12d
je LBB0_3
LBB0_2:
shll $4, %r12d
orl %r12d, %eax
movq _ADQ12B_CTREG@GOTPCREL(%rip), %rcx
movq (%rcx), %rsi
addq (%rbx), %rsi
movl %eax, %edi
callq _outb
movl $50, %edi
callq _udelay
LBB0_3:
movq _ADQ12B_ADLOW@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%rbx), %rdi
callq _inb
movq -48(%rbp), %rax ## 8-byte Reload
cmpl $0, (%rax)
jle LBB0_4
## %bb.5:
xorl %ecx, %ecx
movq _ADQ12B_STINR@GOTPCREL(%rip), %r14
movq _ADQ12B_EOC@GOTPCREL(%rip), %r15
movq _TIMEOUT@GOTPCREL(%rip), %r13
jmp LBB0_6
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movq _ADQ12B_ADHIG@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%rbx), %rdi
callq _inb
movl %eax, %r12d
movq _ADQ12B_ADLOW@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%rbx), %rdi
callq _inb
movzbl %r12b, %ecx
shll $8, %ecx
movzbl %al, %eax
orl %ecx, %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movl %eax, (%rcx,%rdx,4)
movq %rdx, %rcx
incq %rcx
movq -48(%rbp), %rax ## 8-byte Reload
movslq (%rax), %rax
cmpq %rax, %rcx
jge LBB0_10
LBB0_6: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movq %rcx, -64(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_6 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r14), %rdi
addq (%rbx), %rdi
callq _inb
testb %al, (%r15)
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
incl %r12d
cmpl (%r13), %r12d
jl LBB0_7
jmp LBB0_9
LBB0_4:
xorl %ecx, %ecx
LBB0_10:
movl %ecx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _devpriv,8,3 ## @devpriv
.comm _ADQ12B_CTREG,8,3 ## @ADQ12B_CTREG
.comm _ADQ12B_ADLOW,8,3 ## @ADQ12B_ADLOW
.comm _ADQ12B_STINR,8,3 ## @ADQ12B_STINR
.comm _ADQ12B_EOC,1,0 ## @ADQ12B_EOC
.comm _TIMEOUT,4,2 ## @TIMEOUT
.comm _ADQ12B_ADHIG,8,3 ## @ADQ12B_ADHIG
.no_dead_strip _adq12b_ai_rinsn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function adq12b_ai_rinsn
_adq12b_ai_rinsn: ; @adq12b_ai_rinsn
.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, x3
mov x20, x2
mov x21, x0
ldr w0, [x2, #4]
bl _CR_RANGE
mov x22, x0
ldr w0, [x20, #4]
bl _CR_CHAN
Lloh0:
adrp x8, _devpriv@GOTPAGE
Lloh1:
ldr x8, [x8, _devpriv@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr w9, [x8]
cmp w0, w9
b.ne LBB0_2
; %bb.1:
ldr w8, [x8, #4]
cmp w22, w8
b.eq LBB0_3
LBB0_2:
orr w0, w0, w22, lsl #4
ldr x8, [x21]
Lloh3:
adrp x9, _ADQ12B_CTREG@GOTPAGE
Lloh4:
ldr x9, [x9, _ADQ12B_CTREG@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
add x1, x9, x8
bl _outb
mov w0, #50
bl _udelay
LBB0_3:
ldr x8, [x21]
Lloh6:
adrp x24, _ADQ12B_ADLOW@GOTPAGE
Lloh7:
ldr x24, [x24, _ADQ12B_ADLOW@GOTPAGEOFF]
ldr x9, [x24]
add x0, x9, x8
bl _inb
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_9
; %bb.4:
mov x22, #0
Lloh8:
adrp x25, _ADQ12B_STINR@GOTPAGE
Lloh9:
ldr x25, [x25, _ADQ12B_STINR@GOTPAGEOFF]
Lloh10:
adrp x26, _ADQ12B_EOC@GOTPAGE
Lloh11:
ldr x26, [x26, _ADQ12B_EOC@GOTPAGEOFF]
Lloh12:
adrp x27, _TIMEOUT@GOTPAGE
Lloh13:
ldr x27, [x27, _TIMEOUT@GOTPAGEOFF]
Lloh14:
adrp x28, _ADQ12B_ADHIG@GOTPAGE
Lloh15:
ldr x28, [x28, _ADQ12B_ADHIG@GOTPAGEOFF]
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x21]
ldr x9, [x28]
add x0, x9, x8
bl _inb
mov x23, x0
ldr x8, [x21]
ldr x9, [x24]
add x0, x9, x8
bl _inb
bfi w0, w23, #8, #8
str w0, [x19, x22, lsl #2]
add x22, x22, #1
ldrsw x8, [x20]
cmp x22, x8
b.ge LBB0_10
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
mov w23, #0
LBB0_7: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x21]
ldr x9, [x25]
add x0, x9, x8
bl _inb
ldrb w8, [x26]
tst w8, w0
b.ne LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
add w23, w23, #1
ldr w8, [x27]
cmp w23, w8
b.lt LBB0_7
b LBB0_5
LBB0_9:
mov w22, #0
LBB0_10:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _devpriv,8,3 ; @devpriv
.comm _ADQ12B_CTREG,8,3 ; @ADQ12B_CTREG
.comm _ADQ12B_ADLOW,8,3 ; @ADQ12B_ADLOW
.comm _ADQ12B_STINR,8,3 ; @ADQ12B_STINR
.comm _ADQ12B_EOC,1,0 ; @ADQ12B_EOC
.comm _TIMEOUT,4,2 ; @TIMEOUT
.comm _ADQ12B_ADHIG,8,3 ; @ADQ12B_ADHIG
.no_dead_strip _adq12b_ai_rinsn
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/staging/comedi/drivers/extr_adq12b.c_adq12b_ai_rinsn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _allocate_transhuge ## -- Begin function allocate_transhuge
.p2align 4, 0x90
_allocate_transhuge: ## @allocate_transhuge
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _PROT_READ@GOTPCREL(%rip), %rax
movq _PROT_WRITE@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq _MAP_FIXED@GOTPCREL(%rip), %rax
movq _MAP_ANONYMOUS@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl (%rax), %ecx
movq _HPAGE_SIZE@GOTPCREL(%rip), %r14
movq _MAP_NORESERVE@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl (%r14), %esi
movq _MAP_PRIVATE@GOTPCREL(%rip), %rax
orl (%rax), %ecx
movl $-1, %r8d
xorl %r9d, %r9d
callq _mmap
cmpq %rbx, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movl $2, %edi
callq _errx
LBB0_2:
movl (%r14), %esi
movq _MADV_HUGEPAGE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
callq _madvise
testq %rax, %rax
je LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rsi
movl $2, %edi
callq _err
LBB0_4:
movq %rbx, (%rbx)
movq _pagemap_fd@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _PAGE_SHIFT@GOTPCREL(%rip), %r12
movb (%r12), %cl
addb $-3, %cl
shrq %cl, %rbx
leaq -48(%rbp), %rsi
movl $8, %edx
movq %rbx, %rcx
callq _pread
cmpl $8, %eax
je LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rsi
movl $2, %edi
callq _err
LBB0_6:
movl -48(%rbp), %r14d
movl %r14d, %edi
callq _PAGEMAP_PRESENT
testq %rax, %rax
je LBB0_12
## %bb.7:
movl -44(%rbp), %r15d
movl %r15d, %edi
callq _PAGEMAP_PRESENT
testq %rax, %rax
je LBB0_12
## %bb.8:
movl %r14d, %edi
callq _PAGEMAP_PFN
movl %eax, %ebx
incl %ebx
movl %r15d, %edi
callq _PAGEMAP_PFN
cmpl %eax, %ebx
jne LBB0_12
## %bb.9:
movl %r14d, %edi
callq _PAGEMAP_PFN
movq _HPAGE_SHIFT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
subl (%r12), %ecx
movl $-1, %edx
## kill: def $cl killed $cl killed $ecx
shll %cl, %edx
notl %edx
testl %edx, %eax
je LBB0_10
LBB0_12:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_14
## %bb.13:
movl $-1, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_14
## %bb.11:
movl %r14d, %edi
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _PAGEMAP_PFN ## TAILCALL
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HPAGE_SIZE,4,2 ## @HPAGE_SIZE
.comm _PROT_READ,4,2 ## @PROT_READ
.comm _PROT_WRITE,4,2 ## @PROT_WRITE
.comm _MAP_FIXED,4,2 ## @MAP_FIXED
.comm _MAP_ANONYMOUS,4,2 ## @MAP_ANONYMOUS
.comm _MAP_NORESERVE,4,2 ## @MAP_NORESERVE
.comm _MAP_PRIVATE,4,2 ## @MAP_PRIVATE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "mmap transhuge"
.comm _MADV_HUGEPAGE,4,2 ## @MADV_HUGEPAGE
L_.str.1: ## @.str.1
.asciz "MADV_HUGEPAGE"
.comm _pagemap_fd,4,2 ## @pagemap_fd
.comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT
L_.str.2: ## @.str.2
.asciz "read pagemap"
.comm _HPAGE_SHIFT,4,2 ## @HPAGE_SHIFT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _allocate_transhuge ; -- Begin function allocate_transhuge
.p2align 2
_allocate_transhuge: ; @allocate_transhuge
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x20, _HPAGE_SIZE@GOTPAGE
Lloh4:
ldr x20, [x20, _HPAGE_SIZE@GOTPAGEOFF]
str x8, [sp, #8]
ldr w1, [x20]
Lloh5:
adrp x8, _PROT_READ@GOTPAGE
Lloh6:
ldr x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh7:
adrp x9, _PROT_WRITE@GOTPAGE
Lloh8:
ldr x9, [x9, _PROT_WRITE@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
Lloh10:
ldr w9, [x9]
orr w2, w9, w8
Lloh11:
adrp x8, _MAP_FIXED@GOTPAGE
Lloh12:
ldr x8, [x8, _MAP_FIXED@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
Lloh14:
adrp x9, _MAP_ANONYMOUS@GOTPAGE
Lloh15:
ldr x9, [x9, _MAP_ANONYMOUS@GOTPAGEOFF]
Lloh16:
ldr w9, [x9]
orr w8, w9, w8
Lloh17:
adrp x9, _MAP_NORESERVE@GOTPAGE
Lloh18:
ldr x9, [x9, _MAP_NORESERVE@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
orr w8, w8, w9
Lloh20:
adrp x9, _MAP_PRIVATE@GOTPAGE
Lloh21:
ldr x9, [x9, _MAP_PRIVATE@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
orr w3, w8, w9
mov w4, #-1
mov w5, #0
bl _mmap
cmp x0, x19
b.eq LBB0_2
; %bb.1:
Lloh23:
adrp x1, l_.str@PAGE
Lloh24:
add x1, x1, l_.str@PAGEOFF
mov w0, #2
bl _errx
LBB0_2:
ldr w1, [x20]
Lloh25:
adrp x8, _MADV_HUGEPAGE@GOTPAGE
Lloh26:
ldr x8, [x8, _MADV_HUGEPAGE@GOTPAGEOFF]
Lloh27:
ldr w2, [x8]
mov x0, x19
bl _madvise
cbz x0, LBB0_4
; %bb.3:
Lloh28:
adrp x1, l_.str.1@PAGE
Lloh29:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #2
bl _err
LBB0_4:
str x19, [x19]
Lloh30:
adrp x8, _pagemap_fd@GOTPAGE
Lloh31:
ldr x8, [x8, _pagemap_fd@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
Lloh33:
adrp x21, _PAGE_SHIFT@GOTPAGE
Lloh34:
ldr x21, [x21, _PAGE_SHIFT@GOTPAGEOFF]
ldr w8, [x21]
sub w8, w8, #3
lsr x3, x19, x8
mov x1, sp
mov w2, #8
bl _pread
cmp w0, #8
b.eq LBB0_6
; %bb.5:
Lloh35:
adrp x1, l_.str.2@PAGE
Lloh36:
add x1, x1, l_.str.2@PAGEOFF
mov w0, #2
bl _err
LBB0_6:
ldr w19, [sp]
mov x0, x19
bl _PAGEMAP_PRESENT
cbz x0, LBB0_10
; %bb.7:
ldr w20, [sp, #4]
mov x0, x20
bl _PAGEMAP_PRESENT
cbz x0, LBB0_10
; %bb.8:
mov x0, x19
bl _PAGEMAP_PFN
add w22, w0, #1
mov x0, x20
bl _PAGEMAP_PFN
cmp w22, w0
b.ne LBB0_10
; %bb.9:
mov x0, x19
bl _PAGEMAP_PFN
Lloh37:
adrp x8, _HPAGE_SHIFT@GOTPAGE
Lloh38:
ldr x8, [x8, _HPAGE_SHIFT@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
ldr w9, [x21]
sub w8, w8, w9
mov w9, #-1
lsl w8, w9, w8
bics wzr, w0, w8
b.eq LBB0_12
LBB0_10:
ldr x8, [sp, #8]
Lloh40:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh41:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.11:
mov w0, #-1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_12:
ldr x8, [sp, #8]
Lloh43:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh44:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _PAGEMAP_PFN
LBB0_14:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh9
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGot Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45
.cfi_endproc
; -- End function
.comm _HPAGE_SIZE,4,2 ; @HPAGE_SIZE
.comm _PROT_READ,4,2 ; @PROT_READ
.comm _PROT_WRITE,4,2 ; @PROT_WRITE
.comm _MAP_FIXED,4,2 ; @MAP_FIXED
.comm _MAP_ANONYMOUS,4,2 ; @MAP_ANONYMOUS
.comm _MAP_NORESERVE,4,2 ; @MAP_NORESERVE
.comm _MAP_PRIVATE,4,2 ; @MAP_PRIVATE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mmap transhuge"
.comm _MADV_HUGEPAGE,4,2 ; @MADV_HUGEPAGE
l_.str.1: ; @.str.1
.asciz "MADV_HUGEPAGE"
.comm _pagemap_fd,4,2 ; @pagemap_fd
.comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT
l_.str.2: ; @.str.2
.asciz "read pagemap"
.comm _HPAGE_SHIFT,4,2 ; @HPAGE_SHIFT
.subsections_via_symbols
| AnghaBench/linux/tools/testing/selftests/vm/extr_transhuge-stress.c_allocate_transhuge.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function vmx_set_cr0
_vmx_set_cr0: ## @vmx_set_cr0
.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 %rdi, %r14
callq _to_vmx
movq _enable_unrestricted_guest@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
movq _KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST@GOTPCREL(%rip), %rcx
cmoveq _KVM_GUEST_CR0_MASK@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST@GOTPCREL(%rip), %rdx
cmoveq _KVM_VM_CR0_ALWAYS_ON@GOTPCREL(%rip), %rdx
notq %rcx
andq %r15, %rcx
orq (%rdx), %rcx
movq %rcx, -32(%rbp)
cmpq $0, (%rax)
je LBB0_3
## %bb.1:
movq %rax, %rbx
movq _X86_CR0_PE@GOTPCREL(%rip), %rax
testq %r15, (%rax)
je LBB0_5
## %bb.2:
movq %r14, %rdi
callq _enter_pmode
cmpq $0, (%rbx)
jne LBB0_5
LBB0_3:
movq _X86_CR0_PE@GOTPCREL(%rip), %rax
testq %r15, (%rax)
jne LBB0_5
## %bb.4:
movq %r14, %rdi
callq _enter_rmode
LBB0_5:
movq _enable_ept@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_7
## %bb.6:
leaq -32(%rbp), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq _ept_update_paging_mode_cr0
LBB0_7:
cmpl $0, 16(%r14)
jne LBB0_9
## %bb.8:
movq _X86_CR0_TS@GOTPCREL(%rip), %rax
movq (%rax), %rax
orq %rax, -32(%rbp)
LBB0_9:
movq _CR0_READ_SHADOW@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r15, %rsi
callq _vmcs_writel
movq _GUEST_CR0@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq -32(%rbp), %rsi
callq _vmcs_writel
movq %r15, 8(%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _enable_unrestricted_guest,8,3 ## @enable_unrestricted_guest
.comm _KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST,8,3 ## @KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST
.comm _KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST,8,3 ## @KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST
.comm _KVM_GUEST_CR0_MASK,8,3 ## @KVM_GUEST_CR0_MASK
.comm _KVM_VM_CR0_ALWAYS_ON,8,3 ## @KVM_VM_CR0_ALWAYS_ON
.comm _X86_CR0_PE,8,3 ## @X86_CR0_PE
.comm _enable_ept,8,3 ## @enable_ept
.comm _X86_CR0_TS,8,3 ## @X86_CR0_TS
.comm _CR0_READ_SHADOW,4,2 ## @CR0_READ_SHADOW
.comm _GUEST_CR0,4,2 ## @GUEST_CR0
.comm _EFER_LME,4,2 ## @EFER_LME
.comm _X86_CR0_PG,8,3 ## @X86_CR0_PG
.no_dead_strip _vmx_set_cr0
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function vmx_set_cr0
_vmx_set_cr0: ; @vmx_set_cr0
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _to_vmx
Lloh0:
adrp x8, _enable_unrestricted_guest@GOTPAGE
Lloh1:
ldr x8, [x8, _enable_unrestricted_guest@GOTPAGEOFF]
Lloh2:
adrp x9, _KVM_GUEST_CR0_MASK@GOTPAGE
Lloh3:
ldr x9, [x9, _KVM_GUEST_CR0_MASK@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
Lloh5:
adrp x10, _KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST@GOTPAGE
Lloh6:
ldr x10, [x10, _KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST@GOTPAGEOFF]
cmp x8, #0
csel x8, x9, x10, eq
ldr x8, [x8]
bic x8, x19, x8
Lloh7:
adrp x9, _KVM_VM_CR0_ALWAYS_ON@GOTPAGE
Lloh8:
ldr x9, [x9, _KVM_VM_CR0_ALWAYS_ON@GOTPAGEOFF]
Lloh9:
adrp x10, _KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST@GOTPAGE
Lloh10:
ldr x10, [x10, _KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST@GOTPAGEOFF]
csel x9, x9, x10, eq
ldr x9, [x9]
orr x8, x8, x9
str x8, [sp, #8]
ldr x8, [x0]
Lloh11:
adrp x22, _X86_CR0_PE@GOTPAGE
Lloh12:
ldr x22, [x22, _X86_CR0_PE@GOTPAGEOFF]
cbz x8, LBB0_3
; %bb.1:
ldr x8, [x22]
tst x8, x19
b.eq LBB0_5
; %bb.2:
mov x21, x0
mov x0, x20
bl _enter_pmode
ldr x8, [x21]
cbnz x8, LBB0_5
LBB0_3:
ldr x8, [x22]
tst x8, x19
b.ne LBB0_5
; %bb.4:
mov x0, x20
bl _enter_rmode
LBB0_5:
Lloh13:
adrp x8, _enable_ept@GOTPAGE
Lloh14:
ldr x8, [x8, _enable_ept@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
cbz x8, LBB0_7
; %bb.6:
add x0, sp, #8
mov x1, x19
mov x2, x20
bl _ept_update_paging_mode_cr0
LBB0_7:
ldr w8, [x20, #16]
cbnz w8, LBB0_9
; %bb.8:
Lloh16:
adrp x8, _X86_CR0_TS@GOTPAGE
Lloh17:
ldr x8, [x8, _X86_CR0_TS@GOTPAGEOFF]
Lloh18:
ldr x8, [x8]
ldr x9, [sp, #8]
orr x8, x9, x8
str x8, [sp, #8]
LBB0_9:
Lloh19:
adrp x8, _CR0_READ_SHADOW@GOTPAGE
Lloh20:
ldr x8, [x8, _CR0_READ_SHADOW@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
mov x1, x19
bl _vmcs_writel
Lloh22:
adrp x8, _GUEST_CR0@GOTPAGE
Lloh23:
ldr x8, [x8, _GUEST_CR0@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
ldr x1, [sp, #8]
bl _vmcs_writel
str x19, [x20, #8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _enable_unrestricted_guest,8,3 ; @enable_unrestricted_guest
.comm _KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST,8,3 ; @KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST
.comm _KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST,8,3 ; @KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST
.comm _KVM_GUEST_CR0_MASK,8,3 ; @KVM_GUEST_CR0_MASK
.comm _KVM_VM_CR0_ALWAYS_ON,8,3 ; @KVM_VM_CR0_ALWAYS_ON
.comm _X86_CR0_PE,8,3 ; @X86_CR0_PE
.comm _enable_ept,8,3 ; @enable_ept
.comm _X86_CR0_TS,8,3 ; @X86_CR0_TS
.comm _CR0_READ_SHADOW,4,2 ; @CR0_READ_SHADOW
.comm _GUEST_CR0,4,2 ; @GUEST_CR0
.comm _EFER_LME,4,2 ; @EFER_LME
.comm _X86_CR0_PG,8,3 ; @X86_CR0_PG
.no_dead_strip _vmx_set_cr0
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_vmx.c_vmx_set_cr0.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function dv_guess_qnos
LCPI0_0:
.long 16777216 ## 0x1000000
.long 16777216 ## 0x1000000
.long 16777216 ## 0x1000000
.long 16777216 ## 0x1000000
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_dv_guess_qnos: ## @dv_guess_qnos
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $120, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $16777216, -64(%rbp) ## imm = 0x1000000
movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [16777216,16777216,16777216,16777216]
movdqa %xmm0, -80(%rbp)
xorl %ebx, %ebx
movq _ff_dv_quant_shifts@GOTPCREL(%rip), %r14
movq _ff_dv_quant_offset@GOTPCREL(%rip), %r15
movq %rsi, -128(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
movdqa -80(%rbp), %xmm0
pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3]
paddd %xmm0, %xmm1
pshufd $85, %xmm1, %xmm0 ## xmm0 = xmm1[1,1,1,1]
paddd %xmm1, %xmm0
movd %xmm0, %eax
addl -64(%rbp), %eax
movq _vs_total_ac_bits@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jge LBB0_31
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
decq %rbx
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_11 Depth 4
## Child Loop BB0_17 Depth 5
movl (%rsi,%rbx,4), %eax
testl %eax, %eax
je LBB0_30
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
decl %eax
movl %eax, (%rsi,%rbx,4)
movl $0, -80(%rbp,%rbx,4)
xorl %eax, %eax
xorl %ecx, %ecx
movq %rbx, -136(%rbp) ## 8-byte Spill
jmp LBB0_3
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_3 Depth=2
movl -100(%rbp), %ecx ## 4-byte Reload
incl %ecx
addq $48, %r12
cmpl $6, %ecx
je LBB0_29
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_4 Depth 3
## Child Loop BB0_11 Depth 4
## Child Loop BB0_17 Depth 5
movl %ecx, -100(%rbp) ## 4-byte Spill
movq 16(%r12), %rcx
movl $1, %r13d
xorl %r8d, %r8d
jmp LBB0_4
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=3
leaq 1(%r9), %r10
LBB0_27: ## in Loop: Header=BB0_4 Depth=3
addl (%rcx,%r9,4), %eax
movl %eax, -80(%rbp,%rbx,4)
incq %r13
movq %r10, %r8
cmpq $4, %r10
je LBB0_28
LBB0_4: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_11 Depth 4
## Child Loop BB0_17 Depth 5
movq %r8, -96(%rbp) ## 8-byte Spill
movq (%r12), %rdx
movq 8(%r12), %rdi
movq (%rdx,%r8,8), %r11
movq (%r14), %r8
movslq (%rsi,%rbx,4), %r9
movq (%r15), %r10
movslq (%r10,%rdi,4), %rdi
addq %r9, %rdi
movq -96(%rbp), %r9 ## 8-byte Reload
movq (%r8,%rdi,8), %rdi
cmpq (%rdi,%r9,8), %r11
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=3
movl $1, (%rcx,%r9,4)
incq %r11
movq %r11, (%rdx,%r9,8)
movq 24(%r12), %rax
movq 32(%r12), %rcx
movl (%rax,%r9,4), %ebx
movslq %ebx, %r14
movl (%rcx,%r14,4), %ecx
movq _mb_area_start@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movb $1, %al
cmpl 4(%rdx,%r9,4), %ecx
jge LBB0_8
## %bb.7: ## in Loop: Header=BB0_4 Depth=3
movq 40(%r12), %rax
cmpl $0, (%rax,%r14,4)
setne %al
LBB0_8: ## in Loop: Header=BB0_4 Depth=3
movq %r13, -112(%rbp) ## 8-byte Spill
leaq 1(%r9), %r15
movzbl %al, %edi
movq %r9, %r13
callq _av_assert2
movq %r15, %r10
movq 32(%r12), %rax
movl (%rax,%r14,4), %r15d
movq _mb_area_start@GOTPCREL(%rip), %r14
movq (%r14), %rcx
cmpl (%rcx,%r10,4), %r15d
jge LBB0_9
## %bb.10: ## in Loop: Header=BB0_4 Depth=3
leaq (%rcx,%r10,4), %rdx
leaq 2(%r13), %rsi
movq %rsi, -144(%rbp) ## 8-byte Spill
movq %r13, %r9
movq %r10, -120(%rbp) ## 8-byte Spill
jmp LBB0_11
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_11 Depth=4
notl %ebx
addl %r15d, %ebx
movl %ebx, %edi
callq _dv_rl2vlc_size
movq -120(%rbp), %r10 ## 8-byte Reload
movq -96(%rbp), %r9 ## 8-byte Reload
movq 16(%r12), %rcx
addl %eax, (%rcx,%r9,4)
movq 32(%r12), %rax
movl %r15d, %ebx
LBB0_25: ## in Loop: Header=BB0_11 Depth=4
movl (%rax,%r13,4), %r15d
movq (%r14), %rcx
leaq (%rcx,%r10,4), %rdx
cmpl (%rcx,%r10,4), %r15d
jge LBB0_26
LBB0_11: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## Parent Loop BB0_4 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB0_17 Depth 5
movq 40(%r12), %rdi
movslq %r15d, %r13
movl (%rdi,%r13,4), %r8d
movl %r8d, %esi
sarl %esi
movl %esi, (%rdi,%r13,4)
cmpl $2, %r8d
jae LBB0_12
## %bb.13: ## in Loop: Header=BB0_11 Depth=4
movl (%rax,%r13,4), %esi
cmpl $63, %esi
jg LBB0_24
## %bb.14: ## in Loop: Header=BB0_11 Depth=4
cmpl (%rdx), %esi
jl LBB0_24
## %bb.15: ## in Loop: Header=BB0_11 Depth=4
movq %r10, %r14
movq -144(%rbp), %rdx ## 8-byte Reload
cmpl 8(%rcx,%r9,4), %esi
jl LBB0_19
## %bb.16: ## in Loop: Header=BB0_11 Depth=4
movq 24(%r12), %rdx
movq -112(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## Parent Loop BB0_4 Depth=3
## Parent Loop BB0_11 Depth=4
## => This Inner Loop Header: Depth=5
movq %r14, %rsi
movl %ebx, (%rdx,%r14,4)
movl (%rax,%r13,4), %edi
incq %r14
cmpl 8(%rcx,%rsi,4), %edi
jge LBB0_17
## %bb.18: ## in Loop: Header=BB0_11 Depth=4
leaq 1(%r14), %rdx
LBB0_19: ## in Loop: Header=BB0_11 Depth=4
movq %rdx, -152(%rbp) ## 8-byte Spill
xorl %edi, %edi
cmpl $4, %r14d
setb %dil
callq _av_assert2
movq 32(%r12), %rax
movq 40(%r12), %rcx
movslq (%rax,%r13,4), %rax
movl (%rcx,%rax,4), %edi
callq _av_assert2
movq 32(%r12), %rax
movq 40(%r12), %rcx
movslq (%rax,%r13,4), %rax
movl %ebx, %edi
notl %edi
addl %eax, %edi
movl (%rcx,%rax,4), %esi
callq _dv_rl2vlc_size
movq %rax, -88(%rbp) ## 8-byte Spill
movq 32(%r12), %rax
movq 40(%r12), %rcx
movslq (%rax,%r13,4), %rax
movl %r13d, %edi
notl %edi
addl %eax, %edi
movl (%rcx,%rax,4), %esi
callq _dv_rl2vlc_size
movq -88(%rbp), %rcx ## 8-byte Reload
subl %eax, %ecx
movq 16(%r12), %rax
movl %r14d, %edx
addl %ecx, (%rax,%rdx,4)
movq 24(%r12), %rcx
movq %rdx, -88(%rbp) ## 8-byte Spill
cmpl %r13d, (%rcx,%rdx,4)
jne LBB0_20
## %bb.21: ## in Loop: Header=BB0_11 Depth=4
movb $1, %al
cmpl $2, %r14d
movq _mb_area_start@GOTPCREL(%rip), %r14
ja LBB0_23
## %bb.22: ## in Loop: Header=BB0_11 Depth=4
movq -152(%rbp), %rax ## 8-byte Reload
cmpl %r15d, (%rcx,%rax,4)
setne %al
jmp LBB0_23
LBB0_20: ## in Loop: Header=BB0_11 Depth=4
xorl %eax, %eax
movq _mb_area_start@GOTPCREL(%rip), %r14
LBB0_23: ## in Loop: Header=BB0_11 Depth=4
movzbl %al, %edi
callq _av_assert2
movq 24(%r12), %rax
movq -88(%rbp), %rcx ## 8-byte Reload
movl %ebx, (%rax,%rcx,4)
movq 32(%r12), %rax
movl (%rax,%r13,4), %esi
movq -96(%rbp), %r9 ## 8-byte Reload
movq -120(%rbp), %r10 ## 8-byte Reload
LBB0_24: ## in Loop: Header=BB0_11 Depth=4
movslq %ebx, %rcx
movl %esi, (%rax,%rcx,4)
jmp LBB0_25
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_4 Depth=3
movq %r13, %r9
LBB0_26: ## in Loop: Header=BB0_4 Depth=3
movq 24(%r12), %rax
movl %ebx, 4(%rax,%r9,4)
movq 16(%r12), %rcx
movq -136(%rbp), %rbx ## 8-byte Reload
movl -80(%rbp,%rbx,4), %eax
movq -128(%rbp), %rsi ## 8-byte Reload
movq _ff_dv_quant_shifts@GOTPCREL(%rip), %r14
movq _ff_dv_quant_offset@GOTPCREL(%rip), %r15
movq -112(%rbp), %r13 ## 8-byte Reload
jmp LBB0_27
LBB0_31:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_33
## %bb.32:
addq $120, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_33:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ff_dv_quant_shifts,8,3 ## @ff_dv_quant_shifts
.comm _ff_dv_quant_offset,8,3 ## @ff_dv_quant_offset
.comm _mb_area_start,8,3 ## @mb_area_start
.comm _vs_total_ac_bits,4,2 ## @vs_total_ac_bits
.no_dead_strip _dv_guess_qnos
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function dv_guess_qnos
_dv_guess_qnos: ; @dv_guess_qnos
.cfi_startproc
; %bb.0:
sub sp, sp, #176
stp x28, x27, [sp, #80] ; 16-byte Folded Spill
stp x26, x25, [sp, #96] ; 16-byte Folded Spill
stp x24, x23, [sp, #112] ; 16-byte Folded Spill
stp x22, x21, [sp, #128] ; 16-byte Folded Spill
stp x20, x19, [sp, #144] ; 16-byte Folded Spill
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.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, x0
mov x16, #0 ; =0x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #72]
mov w8, #16777216 ; =0x1000000
str w8, [sp, #64]
movi.4s v0, #1, lsl #24
str q0, [sp, #48]
add x17, sp, #48
Lloh3:
adrp x0, _ff_dv_quant_shifts@GOTPAGE
Lloh4:
ldr x0, [x0, _ff_dv_quant_shifts@GOTPAGEOFF]
Lloh5:
adrp x2, _ff_dv_quant_offset@GOTPAGE
Lloh6:
ldr x2, [x2, _ff_dv_quant_offset@GOTPAGEOFF]
Lloh7:
adrp x26, _mb_area_start@GOTPAGE
Lloh8:
ldr x26, [x26, _mb_area_start@GOTPAGEOFF]
str x1, [sp, #16] ; 8-byte Folded Spill
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
Lloh9:
adrp x8, _vs_total_ac_bits@GOTPAGE
Lloh10:
ldr x8, [x8, _vs_total_ac_bits@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
ldr q0, [sp, #48]
ldr w9, [sp, #64]
addv.4s s0, v0
fmov w10, s0
add w9, w10, w9
cmp w8, w9
b.ge LBB0_30
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
sub x16, x16, #1
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_9 Depth 3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_21 Depth 5
ldr w9, [x1, x16, lsl #2]
cbz w9, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
mov w10, #0 ; =0x0
sub w9, w9, #1
str w9, [x1, x16, lsl #2]
str wzr, [x17, x16, lsl #2]
str x16, [sp, #24] ; 8-byte Folded Spill
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
ldr w10, [sp, #12] ; 4-byte Folded Reload
add w10, w10, #1
add x20, x20, #48
cmp w10, #6
b.eq LBB0_1
LBB0_6: ; Parent Loop BB0_3 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_9 Depth 3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_21 Depth 5
str w10, [sp, #12] ; 4-byte Folded Spill
mov x28, #0 ; =0x0
ldr x9, [x20, #16]
mov w3, #12 ; =0xc
mov w24, #1 ; =0x1
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=3
ldp x9, x8, [x20, #16]
str w19, [x8, x27, lsl #2]
ldp x1, x16, [sp, #16] ; 16-byte Folded Reload
add x17, sp, #48
ldr w8, [x17, x16, lsl #2]
Lloh12:
adrp x0, _ff_dv_quant_shifts@GOTPAGE
Lloh13:
ldr x0, [x0, _ff_dv_quant_shifts@GOTPAGEOFF]
Lloh14:
adrp x2, _ff_dv_quant_offset@GOTPAGE
Lloh15:
ldr x2, [x2, _ff_dv_quant_offset@GOTPAGEOFF]
ldr x3, [sp, #32] ; 8-byte Folded Reload
LBB0_8: ; in Loop: Header=BB0_9 Depth=3
ldr w10, [x9, x28, lsl #2]
add w8, w8, w10
str w8, [x17, x16, lsl #2]
add x24, x24, #1
add x3, x3, #4
mov x28, x27
cmp x27, #4
b.eq LBB0_5
LBB0_9: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_6 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_17 Depth 4
; Child Loop BB0_21 Depth 5
ldp x10, x12, [x20]
ldr x11, [x10, x28, lsl #3]
ldr x13, [x0]
ldr w14, [x1, x16, lsl #2]
ldr x15, [x2]
ldr w12, [x15, x12, lsl #2]
add w12, w12, w14
ldr x12, [x13, w12, sxtw #3]
ldr x12, [x12, x28, lsl #3]
cmp x11, x12
b.ne LBB0_11
; %bb.10: ; in Loop: Header=BB0_9 Depth=3
add x27, x28, #1
b LBB0_8
LBB0_11: ; in Loop: Header=BB0_9 Depth=3
str x3, [sp, #32] ; 8-byte Folded Spill
mov w0, #1 ; =0x1
str w0, [x9, x28, lsl #2]
add x8, x11, #1
str x8, [x10, x28, lsl #3]
ldp x8, x9, [x20, #24]
ldr w19, [x8, x28, lsl #2]
ldr w8, [x9, w19, sxtw #2]
ldr x9, [x26]
add x27, x28, #1
ldr w9, [x9, x27, lsl #2]
cmp w8, w9
b.ge LBB0_13
; %bb.12: ; in Loop: Header=BB0_9 Depth=3
ldr x8, [x20, #40]
ldr w8, [x8, w19, sxtw #2]
cmp w8, #0
cset w0, ne
LBB0_13: ; in Loop: Header=BB0_9 Depth=3
bl _av_assert2
ldr x8, [x20, #32]
ldr w23, [x8, w19, sxtw #2]
ldr x9, [x26]
add x10, x9, x27, lsl #2
ldr w11, [x10]
cmp w23, w11
b.ge LBB0_7
; %bb.14: ; in Loop: Header=BB0_9 Depth=3
add x11, x28, #2
str x11, [sp, #40] ; 8-byte Folded Spill
b LBB0_17
LBB0_15: ; in Loop: Header=BB0_17 Depth=4
mvn w8, w19
add w0, w23, w8
bl _dv_rl2vlc_size
ldr x8, [x20, #16]
ldr w9, [x8, x28, lsl #2]
add w9, w9, w0
str w9, [x8, x28, lsl #2]
ldr x8, [x20, #32]
mov x19, x23
LBB0_16: ; in Loop: Header=BB0_17 Depth=4
ldr w23, [x8, w23, sxtw #2]
ldr x9, [x26]
add x10, x9, x27, lsl #2
ldr w11, [x10]
cmp w23, w11
b.ge LBB0_7
LBB0_17: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_6 Depth=2
; Parent Loop BB0_9 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB0_21 Depth 5
ldr x11, [x20, #40]
ldr w12, [x11, w23, sxtw #2]
asr w1, w12, #1
str w1, [x11, w23, sxtw #2]
cmp w12, #2
b.hs LBB0_15
; %bb.18: ; in Loop: Header=BB0_17 Depth=4
ldr w11, [x8, w23, sxtw #2]
ldr w10, [x10]
cmp w11, #63
ccmp w11, w10, #8, le
b.lt LBB0_29
; %bb.19: ; in Loop: Header=BB0_17 Depth=4
ldr x22, [sp, #40] ; 8-byte Folded Reload
ldr w10, [x9, x22, lsl #2]
mov x25, x27
cmp w11, w10
b.lt LBB0_23
; %bb.20: ; in Loop: Header=BB0_17 Depth=4
ldr x10, [x20, #24]
ldr x11, [sp, #32] ; 8-byte Folded Reload
add x9, x9, x11
mov x25, x24
LBB0_21: ; Parent Loop BB0_3 Depth=1
; Parent Loop BB0_6 Depth=2
; Parent Loop BB0_9 Depth=3
; Parent Loop BB0_17 Depth=4
; => This Inner Loop Header: Depth=5
str w19, [x10, x25, lsl #2]
ldr w11, [x8, w23, sxtw #2]
ldr w12, [x9], #4
add x25, x25, #1
cmp w11, w12
b.ge LBB0_21
; %bb.22: ; in Loop: Header=BB0_17 Depth=4
add x22, x25, #1
LBB0_23: ; in Loop: Header=BB0_17 Depth=4
cmp w25, #4
cset w0, lo
bl _av_assert2
ldp x9, x8, [x20, #32]
ldrsw x9, [x9, w23, sxtw #2]
ldr w0, [x8, x9, lsl #2]
bl _av_assert2
ldp x8, x9, [x20, #32]
ldrsw x8, [x8, w23, sxtw #2]
mvn w10, w19
ldr w1, [x9, x8, lsl #2]
add w0, w8, w10
bl _dv_rl2vlc_size
mov x21, x0
ldp x8, x9, [x20, #32]
ldrsw x8, [x8, w23, sxtw #2]
mvn w10, w23
ldr w1, [x9, x8, lsl #2]
add w0, w8, w10
bl _dv_rl2vlc_size
ldp x9, x8, [x20, #16]
ldr w10, [x9, w25, uxtw #2]
sub w11, w21, w0
add w10, w10, w11
str w10, [x9, w25, uxtw #2]
ldr w9, [x8, w25, uxtw #2]
cmp w9, w23
b.ne LBB0_26
; %bb.24: ; in Loop: Header=BB0_17 Depth=4
cmp w25, #2
b.ls LBB0_27
; %bb.25: ; in Loop: Header=BB0_17 Depth=4
mov w0, #1 ; =0x1
b LBB0_28
LBB0_26: ; in Loop: Header=BB0_17 Depth=4
mov w0, #0 ; =0x0
b LBB0_28
LBB0_27: ; in Loop: Header=BB0_17 Depth=4
ldr w8, [x8, x22, lsl #2]
cmp w8, w23
cset w0, ne
LBB0_28: ; in Loop: Header=BB0_17 Depth=4
mov w21, w25
bl _av_assert2
ldp x9, x8, [x20, #24]
str w19, [x9, x21, lsl #2]
ldr w11, [x8, w23, sxtw #2]
LBB0_29: ; in Loop: Header=BB0_17 Depth=4
str w11, [x8, w19, sxtw #2]
b LBB0_16
LBB0_30:
ldr x8, [sp, #72]
Lloh16:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh17:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_32
; %bb.31:
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
ldp x20, x19, [sp, #144] ; 16-byte Folded Reload
ldp x22, x21, [sp, #128] ; 16-byte Folded Reload
ldp x24, x23, [sp, #112] ; 16-byte Folded Reload
ldp x26, x25, [sp, #96] ; 16-byte Folded Reload
ldp x28, x27, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB0_32:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _ff_dv_quant_shifts,8,3 ; @ff_dv_quant_shifts
.comm _ff_dv_quant_offset,8,3 ; @ff_dv_quant_offset
.comm _mb_area_start,8,3 ; @mb_area_start
.comm _vs_total_ac_bits,4,2 ; @vs_total_ac_bits
.no_dead_strip _dv_guess_qnos
.subsections_via_symbols
| assembly_file_83683.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _txMaplock ## -- Begin function txMaplock
.p2align 4, 0x90
_txMaplock: ## @txMaplock
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r13
movq %rdi, %r12
movq %rsi, %rdi
callq _JFS_IP
movq %rax, %r15
xorl %eax, %eax
callq _TXN_LOCK
xorl %eax, %eax
callq _txLockAlloc
movq %rax, %r14
movq %rax, %rdi
callq _lid_to_tlock
movq %rax, %rbx
movq %r12, 48(%rax)
movq _tlckINODELOCK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%rbx)
movl (%r13), %edi
callq _S_ISDIR
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _tlckDIRECTORY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 40(%rbx)
LBB0_2:
movq %r13, 32(%rbx)
movq $0, 24(%rbx)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, (%rbx)
testq %r12, %r12
je LBB0_7
## %bb.3:
movq %r12, %rdi
callq _tid_to_tblock
movq %rax, %r15
cmpq $0, 8(%rax)
je LBB0_5
## %bb.4:
movq (%r15), %rdi
callq _lid_to_tlock
movq %r14, 8(%rax)
jmp LBB0_6
LBB0_7:
movq (%r15), %rax
movq %rax, 8(%rbx)
movq %r14, (%r15)
testq %rax, %rax
jne LBB0_9
## %bb.8:
movq %r14, 16(%r15)
addq $8, %r15
movq _TxAnchor@GOTPCREL(%rip), %rsi
movq %r15, %rdi
callq _list_add_tail
jmp LBB0_9
LBB0_5:
movq %r14, 8(%r15)
LBB0_6:
movq $0, 8(%rbx)
movq %r14, (%r15)
LBB0_9:
xorl %eax, %eax
callq _TXN_UNLOCK
xorps %xmm0, %xmm0
movups %xmm0, 16(%rbx)
movq $0, 32(%rbx)
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tlckINODELOCK,4,2 ## @tlckINODELOCK
.comm _tlckDIRECTORY,4,2 ## @tlckDIRECTORY
.comm _TxAnchor,4,2 ## @TxAnchor
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _txMaplock ; -- Begin function txMaplock
.p2align 2
_txMaplock: ; @txMaplock
.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 x23, x2
mov x24, x1
mov x22, x0
mov x0, x1
bl _JFS_IP
mov x21, x0
bl _TXN_LOCK
bl _txLockAlloc
mov x20, x0
bl _lid_to_tlock
mov x19, x0
str x22, [x0, #48]
Lloh0:
adrp x8, _tlckINODELOCK@GOTPAGE
Lloh1:
ldr x8, [x8, _tlckINODELOCK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #40]
ldr w0, [x24]
bl _S_ISDIR
cbz x0, LBB0_2
; %bb.1:
Lloh3:
adrp x8, _tlckDIRECTORY@GOTPAGE
Lloh4:
ldr x8, [x8, _tlckDIRECTORY@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #40]
orr w8, w9, w8
str w8, [x19, #40]
LBB0_2:
stp xzr, x24, [x19, #24]
str w23, [x19]
cbz x22, LBB0_5
; %bb.3:
mov x0, x22
bl _tid_to_tblock
mov x21, x0
ldr x8, [x0, #8]
cbz x8, LBB0_7
; %bb.4:
ldr x0, [x21]
bl _lid_to_tlock
str x20, [x0, #8]
b LBB0_8
LBB0_5:
ldr x8, [x21]
str x8, [x19, #8]
str x20, [x21]
cbnz x8, LBB0_9
; %bb.6:
str x20, [x21, #16]
add x0, x21, #8
Lloh6:
adrp x1, _TxAnchor@GOTPAGE
Lloh7:
ldr x1, [x1, _TxAnchor@GOTPAGEOFF]
bl _list_add_tail
b LBB0_9
LBB0_7:
str x20, [x21, #8]
LBB0_8:
str xzr, [x19, #8]
str x20, [x21]
LBB0_9:
bl _TXN_UNLOCK
stp xzr, xzr, [x19, #24]
str xzr, [x19, #16]
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
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _tlckINODELOCK,4,2 ; @tlckINODELOCK
.comm _tlckDIRECTORY,4,2 ; @tlckDIRECTORY
.comm _TxAnchor,4,2 ; @TxAnchor
.subsections_via_symbols
| AnghaBench/linux/fs/jfs/extr_jfs_txnmgr.c_txMaplock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function printMixedStruct
_printMixedStruct: ## @printMixedStruct
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _GucContext_Names@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rdi), %r15
movq 8(%rdi), %rcx
movq (%rax,%rcx,8), %rbx
movq _config_group_names@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq 16(%rdi), %rcx
movq (%rax,%rcx,8), %rdi
callq __
leaq L_.str(%rip), %rdi
movq %r15, %rsi
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq _printf
movl 24(%r14), %eax
addl $-128, %eax
cmpl $4, %eax
ja LBB0_8
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_6:
movq 56(%r14), %rax
testq %rax, %rax
leaq L_.str.7(%rip), %rsi
cmovneq %rax, %rsi
leaq L_.str.6(%rip), %rdi
jmp LBB0_3
LBB0_8:
leaq L_.str.9(%rip), %rdi
callq _write_stderr
jmp LBB0_9
LBB0_5:
movsd 64(%r14), %xmm0 ## xmm0 = mem[0],zero
movsd 72(%r14), %xmm1 ## xmm1 = mem[0],zero
movsd 80(%r14), %xmm2 ## xmm2 = mem[0],zero
leaq L_.str.5(%rip), %rdi
movb $3, %al
callq _printf
jmp LBB0_9
LBB0_4:
movl 88(%r14), %esi
movl 92(%r14), %edx
movl 96(%r14), %ecx
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
jmp LBB0_9
LBB0_7:
leaq 48(%r14), %rdi
movl 48(%r14), %esi
callq _config_enum_lookup_by_value
leaq L_.str.8(%rip), %rdi
movq %rax, %rsi
jmp LBB0_3
LBB0_2:
cmpl $0, 100(%r14)
leaq L_.str.2(%rip), %rax
leaq L_.str.3(%rip), %rsi
cmoveq %rax, %rsi
leaq L_.str.1(%rip), %rdi
LBB0_3:
xorl %eax, %eax
callq _printf
LBB0_9:
movq 40(%r14), %rdi
leaq L_.str.7(%rip), %rbx
movq %rbx, %r15
testq %rdi, %rdi
je LBB0_11
## %bb.10:
callq __
movq %rax, %r15
LBB0_11:
movq 32(%r14), %rdi
testq %rdi, %rdi
je LBB0_13
## %bb.12:
callq __
movq %rax, %rbx
LBB0_13:
leaq L_.str.10(%rip), %rdi
movq %r15, %rsi
movq %rbx, %rdx
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_5
.long L0_0_set_4
.long L0_0_set_7
.long L0_0_set_2
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s\t%s\t%s\t"
.comm _GucContext_Names,8,3 ## @GucContext_Names
.comm _config_group_names,8,3 ## @config_group_names
L_.str.1: ## @.str.1
.asciz "BOOLEAN\t%s\t\t\t"
L_.str.2: ## @.str.2
.asciz "FALSE"
L_.str.3: ## @.str.3
.asciz "TRUE"
L_.str.4: ## @.str.4
.asciz "INTEGER\t%d\t%d\t%d\t"
L_.str.5: ## @.str.5
.asciz "REAL\t%g\t%g\t%g\t"
L_.str.6: ## @.str.6
.asciz "STRING\t%s\t\t\t"
L_.str.7: ## @.str.7
.space 1
L_.str.8: ## @.str.8
.asciz "ENUM\t%s\t\t\t"
L_.str.9: ## @.str.9
.asciz "internal error: unrecognized run-time parameter type\n"
L_.str.10: ## @.str.10
.asciz "%s\t%s\n"
.no_dead_strip _printMixedStruct
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function printMixedStruct
_printMixedStruct: ; @printMixedStruct
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _GucContext_Names@GOTPAGE
Lloh1:
ldr x8, [x8, _GucContext_Names@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldp x20, x9, [x0]
ldr x21, [x8, x9, lsl #3]
Lloh3:
adrp x8, _config_group_names@GOTPAGE
Lloh4:
ldr x8, [x8, _config_group_names@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
ldr x9, [x0, #16]
ldr x0, [x8, x9, lsl #3]
bl __
stp x21, x0, [sp, #8]
str x20, [sp]
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w8, [x19, #24]
sub w8, w8, #128
cmp w8, #4
b.hi LBB0_3
; %bb.1:
Lloh8:
adrp x9, lJTI0_0@PAGE
Lloh9:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
ldr x8, [x19, #56]
Lloh10:
adrp x9, l_.str.7@PAGE
Lloh11:
add x9, x9, l_.str.7@PAGEOFF
cmp x8, #0
csel x8, x9, x8, eq
str x8, [sp]
Lloh12:
adrp x0, l_.str.6@PAGE
Lloh13:
add x0, x0, l_.str.6@PAGEOFF
b LBB0_10
LBB0_3:
Lloh14:
adrp x0, l_.str.9@PAGE
Lloh15:
add x0, x0, l_.str.9@PAGEOFF
bl _write_stderr
ldr x0, [x19, #40]
cbnz x0, LBB0_11
LBB0_4:
Lloh16:
adrp x20, l_.str.7@PAGE
Lloh17:
add x20, x20, l_.str.7@PAGEOFF
ldr x0, [x19, #32]
cbnz x0, LBB0_12
LBB0_5:
Lloh18:
adrp x0, l_.str.7@PAGE
Lloh19:
add x0, x0, l_.str.7@PAGEOFF
b LBB0_13
LBB0_6:
ldr q0, [x19, #64]
ldr d1, [x19, #80]
str d1, [sp, #16]
str q0, [sp]
Lloh20:
adrp x0, l_.str.5@PAGE
Lloh21:
add x0, x0, l_.str.5@PAGEOFF
b LBB0_10
LBB0_7:
ldp w8, w9, [x19, #88]
ldr w10, [x19, #96]
stp x9, x10, [sp, #8]
str x8, [sp]
Lloh22:
adrp x0, l_.str.4@PAGE
Lloh23:
add x0, x0, l_.str.4@PAGEOFF
b LBB0_10
LBB0_8:
mov x0, x19
ldr w1, [x0, #48]!
bl _config_enum_lookup_by_value
str x0, [sp]
Lloh24:
adrp x0, l_.str.8@PAGE
Lloh25:
add x0, x0, l_.str.8@PAGEOFF
b LBB0_10
LBB0_9:
ldr w8, [x19, #100]
Lloh26:
adrp x9, l_.str.3@PAGE
Lloh27:
add x9, x9, l_.str.3@PAGEOFF
Lloh28:
adrp x10, l_.str.2@PAGE
Lloh29:
add x10, x10, l_.str.2@PAGEOFF
cmp w8, #0
csel x8, x10, x9, eq
str x8, [sp]
Lloh30:
adrp x0, l_.str.1@PAGE
Lloh31:
add x0, x0, l_.str.1@PAGEOFF
LBB0_10:
bl _printf
ldr x0, [x19, #40]
cbz x0, LBB0_4
LBB0_11:
bl __
mov x20, x0
ldr x0, [x19, #32]
cbz x0, LBB0_5
LBB0_12:
bl __
LBB0_13:
stp x20, x0, [sp]
Lloh32:
adrp x0, l_.str.10@PAGE
Lloh33:
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh32, Lloh33
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_6-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_9-LBB0_2)>>2
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s\t%s\t%s\t"
.comm _GucContext_Names,8,3 ; @GucContext_Names
.comm _config_group_names,8,3 ; @config_group_names
l_.str.1: ; @.str.1
.asciz "BOOLEAN\t%s\t\t\t"
l_.str.2: ; @.str.2
.asciz "FALSE"
l_.str.3: ; @.str.3
.asciz "TRUE"
l_.str.4: ; @.str.4
.asciz "INTEGER\t%d\t%d\t%d\t"
l_.str.5: ; @.str.5
.asciz "REAL\t%g\t%g\t%g\t"
l_.str.6: ; @.str.6
.asciz "STRING\t%s\t\t\t"
l_.str.7: ; @.str.7
.space 1
l_.str.8: ; @.str.8
.asciz "ENUM\t%s\t\t\t"
l_.str.9: ; @.str.9
.asciz "internal error: unrecognized run-time parameter type\n"
l_.str.10: ; @.str.10
.asciz "%s\t%s\n"
.no_dead_strip _printMixedStruct
.subsections_via_symbols
| AnghaBench/postgres/src/backend/utils/misc/extr_help_config.c_printMixedStruct.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_validate_kcore_modules
_do_validate_kcore_modules: ## @do_validate_kcore_modules
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq _RB_ROOT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -40(%rbp)
leaq -40(%rbp), %rsi
callq _read_proc_modules
movl %eax, %r15d
testl %eax, %eax
jne LBB0_9
## %bb.1:
movq %rbx, %rdi
callq _map_groups__first
xorl %r15d, %r15d
testq %rax, %rax
je LBB0_8
## %bb.2:
movq %rax, %rbx
leaq -40(%rbp), %r14
jmp LBB0_3
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rbx
testq %r12, %r12
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _map_groups__next
movq %rax, %r12
movq %rbx, %rdi
callq ___map__is_kmodule
testl %eax, %eax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 8(%rbx), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _find_module
testq %rax, %rax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq (%rax), %rax
cmpq (%rbx), %rax
je LBB0_7
LBB0_6:
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
LBB0_8:
leaq -40(%rbp), %rdi
callq _delete_modules
LBB0_9:
movl %r15d, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RB_ROOT,4,2 ## @RB_ROOT
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _do_validate_kcore_modules
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_validate_kcore_modules
_do_validate_kcore_modules: ; @do_validate_kcore_modules
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
Lloh0:
adrp x8, _RB_ROOT@GOTPAGE
Lloh1:
ldr x8, [x8, _RB_ROOT@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #8]
add x1, sp, #8
bl _read_proc_modules
mov x19, x0
cbnz w0, LBB0_8
; %bb.1:
mov x0, x20
bl _map_groups__first
mov x19, x0
cbnz x0, LBB0_3
b LBB0_7
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x19, x20
cbz x20, LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _map_groups__next
mov x20, x0
mov x0, x19
bl ___map__is_kmodule
cbz w0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19, #8]
ldr w0, [x8]
add x1, sp, #8
bl _find_module
cbz x0, LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x0]
ldr x9, [x19]
cmp x8, x9
b.eq LBB0_2
LBB0_6:
Lloh3:
adrp x8, _EINVAL@GOTPAGE
Lloh4:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w19, w8
LBB0_7:
add x0, sp, #8
bl _delete_modules
LBB0_8:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _RB_ROOT,4,2 ; @RB_ROOT
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _do_validate_kcore_modules
.subsections_via_symbols
| AnghaBench/linux/tools/perf/util/extr_symbol.c_do_validate_kcore_modules.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function lang_size_sections_1
_lang_size_sections_1: ## @lang_size_sections_1
.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 %rcx, -64(%rbp) ## 8-byte Spill
movl %r8d, -44(%rbp)
testq %rdi, %rdi
je LBB0_135
## %bb.1:
movq %r9, %rbx
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
leaq LJTI0_0(%rip), %r15
movq %r9, -80(%rbp) ## 8-byte Spill
jmp LBB0_6
LBB0_2: ## in Loop: Header=BB0_6 Depth=1
leaq 64(%r12), %rdx
movq 64(%r12), %rdi
LBB0_3: ## in Loop: Header=BB0_6 Depth=1
movl -44(%rbp), %r8d
movq 16(%rbp), %rax
movq %rax, (%rsp)
movq %r14, %rsi
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rbx, %r9
callq _lang_size_sections_1
LBB0_4: ## in Loop: Header=BB0_6 Depth=1
movl %eax, -44(%rbp)
LBB0_5: ## in Loop: Header=BB0_6 Depth=1
movq %r12, %r13
movq 8(%r12), %rax
addq $8, %r13
movq %rax, %r12
testq %rax, %rax
je LBB0_134
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl (%r12), %eax
addl $-128, %eax
cmpl $14, %eax
ja LBB0_30
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movslq (%r15,%rax,4), %rax
addq %r15, %rax
jmpq *%rax
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movl -44(%rbp), %eax
movq 16(%r14), %rcx
subl 8(%rcx), %eax
movl %eax, 72(%r12)
movq %rcx, 80(%r12)
movl 76(%r12), %edi
callq _bfd_get_reloc_size
movq %rbx, %r15
movl %eax, %ebx
movl %eax, %edi
callq _TO_ADDR
addl %eax, -44(%rbp)
movq 16(%r14), %rax
addl %ebx, 4(%rax)
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
movq %r15, %rbx
leaq LJTI0_0(%rip), %r15
jmp LBB0_5
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movl -44(%rbp), %eax
movl %eax, -72(%rbp)
movq 32(%r12), %r15
movq 16(%r14), %rsi
movq %r15, %rdi
leaq -72(%rbp), %rdx
callq _exp_fold_tree
movl 8(%r15), %eax
movq _etree_provided@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_6 Depth=1
movq _etree_assign@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_15
LBB0_12: ## in Loop: Header=BB0_6 Depth=1
movq (%r15), %rax
cmpb $46, (%rax)
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_6 Depth=1
cmpb $0, 1(%rax)
je LBB0_15
LBB0_14: ## in Loop: Header=BB0_6 Depth=1
movl $1, 8(%r14)
LBB0_15: ## in Loop: Header=BB0_6 Depth=1
cmpl $0, 24(%r14)
je LBB0_47
## %bb.16: ## in Loop: Header=BB0_6 Depth=1
leaq LJTI0_0(%rip), %r15
jmp LBB0_5
LBB0_17: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r14), %rax
movq _link_info@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
jmp LBB0_5
LBB0_18: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r14), %rax
movq %rax, 48(%r12)
movq 40(%r12), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_19: ## in Loop: Header=BB0_6 Depth=1
movl $0, 28(%r12)
movl -44(%rbp), %eax
movq 16(%r14), %rcx
subl 8(%rcx), %eax
movl %eax, 24(%r12)
jmp LBB0_5
LBB0_20: ## in Loop: Header=BB0_6 Depth=1
movl -44(%rbp), %eax
movq 16(%r14), %rcx
subl 8(%rcx), %eax
movl %eax, 88(%r12)
movq %rcx, 104(%r12)
movq 96(%r12), %rdi
movq _bfd_abs_section_ptr@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq -44(%rbp), %rdx
callq _exp_fold_tree
movl 92(%r12), %eax
movl $-143, %ecx
addl %ecx, %eax
cmpl $5, %eax
jae LBB0_136
## %bb.21: ## in Loop: Header=BB0_6 Depth=1
movl %eax, %eax
leaq l_switch.table.lang_size_sections_1(%rip), %rcx
movq (%rcx,%rax,8), %rax
movl (%rax), %r15d
movl $1, %edi
callq _TO_SIZE
cmpl %eax, %r15d
jae LBB0_23
## %bb.22: ## in Loop: Header=BB0_6 Depth=1
movl $1, %edi
callq _TO_SIZE
movl %eax, %r15d
LBB0_23: ## in Loop: Header=BB0_6 Depth=1
movl %r15d, %edi
callq _TO_ADDR
addl %eax, -44(%rbp)
movq 16(%r14), %rax
addl %r15d, 4(%rax)
leaq LJTI0_0(%rip), %r15
jmp LBB0_5
LBB0_24: ## in Loop: Header=BB0_6 Depth=1
testq %rbx, %rbx
je LBB0_29
## %bb.25: ## in Loop: Header=BB0_6 Depth=1
movq (%r13), %rax
movq 56(%rax), %rsi
movl 20(%rsi), %edi
movq _link_info@GOTPCREL(%rip), %rdx
leaq -72(%rbp), %rcx
callq _bfd_relax_section
testl %eax, %eax
jne LBB0_27
## %bb.26: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.7(%rip), %rdi
callq __
movl %eax, %edi
xorl %eax, %eax
callq _einfo
LBB0_27: ## in Loop: Header=BB0_6 Depth=1
cmpq $0, -72(%rbp)
je LBB0_29
## %bb.28: ## in Loop: Header=BB0_6 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rbx)
LBB0_29: ## in Loop: Header=BB0_6 Depth=1
movq 32(%r14), %rdx
movl -44(%rbp), %ecx
movq %r13, %rdi
movq %r14, %rsi
callq _size_input_section
jmp LBB0_4
LBB0_30: ## in Loop: Header=BB0_6 Depth=1
xorl %eax, %eax
callq _FAIL
jmp LBB0_5
LBB0_31: ## in Loop: Header=BB0_6 Depth=1
movq 168(%r12), %rdi
testq %rdi, %rdi
movq _expld@GOTPCREL(%rip), %r13
je LBB0_36
## %bb.32: ## in Loop: Header=BB0_6 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 208(%r12)
movq _bfd_abs_section_ptr@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq -44(%rbp), %rdx
callq _exp_fold_tree
cmpl $0, 24(%r13)
je LBB0_34
## %bb.33: ## in Loop: Header=BB0_6 Depth=1
movl (%r13), %eax
movq _lang_mark_phase_enum@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_35
LBB0_34: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str(%rip), %rdi
callq __
movl 196(%r12), %esi
movl %eax, %edi
xorl %eax, %eax
callq _einfo
LBB0_35: ## in Loop: Header=BB0_6 Depth=1
movl 8(%r13), %eax
movq 16(%r13), %rcx
subl (%rcx), %eax
movl %eax, -44(%rbp)
LBB0_36: ## in Loop: Header=BB0_6 Depth=1
cmpq $0, 128(%r12)
je LBB0_5
## %bb.37: ## in Loop: Header=BB0_6 Depth=1
movq _output_bfd@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bfd_get_flavour
movq _bfd_target_ecoff_flavour@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_39
## %bb.38: ## in Loop: Header=BB0_6 Depth=1
movq _output_bfd@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bfd_get_flavour
movq _bfd_target_coff_flavour@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_52
LBB0_39: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %r15
movq _SEC_COFF_SHARED_LIBRARY@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%r15), %eax
je LBB0_53
## %bb.40: ## in Loop: Header=BB0_6 Depth=1
movq 216(%r12), %rax
testq %rax, %rax
je LBB0_43
## %bb.41: ## in Loop: Header=BB0_6 Depth=1
cmpq $0, 8(%rax)
jne LBB0_43
## %bb.42: ## in Loop: Header=BB0_6 Depth=1
cmpl $136, (%rax)
je LBB0_44
LBB0_43: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.1(%rip), %rdi
callq __
movl 196(%r12), %esi
movl %eax, %edi
xorl %eax, %eax
callq _einfo
movq 128(%r12), %r15
movq 216(%r12), %rax
LBB0_44: ## in Loop: Header=BB0_6 Depth=1
movq 56(%rax), %r13
movl 20(%r15), %ebx
movl 20(%r13), %edi
movq %r13, %rsi
callq _bfd_section_vma
movl %ebx, %edi
movq %r15, %rsi
movl %eax, %edx
callq _bfd_set_section_vma
movl 4(%r13), %eax
movq 128(%r12), %rcx
movl %eax, 4(%rcx)
movq -80(%rbp), %rbx ## 8-byte Reload
leaq LJTI0_0(%rip), %r15
jmp LBB0_5
LBB0_45: ## in Loop: Header=BB0_6 Depth=1
movq _constructor_list@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq 64(%r12), %rdx
jmp LBB0_3
LBB0_46: ## in Loop: Header=BB0_6 Depth=1
leaq 16(%r12), %rdx
movq 16(%r12), %rdi
jmp LBB0_3
LBB0_47: ## in Loop: Header=BB0_6 Depth=1
movl -72(%rbp), %r15d
movq _abs_output_section@GOTPCREL(%rip), %rax
cmpq %r14, (%rax)
je LBB0_55
## %bb.48: ## in Loop: Header=BB0_6 Depth=1
subl -44(%rbp), %r15d
je LBB0_56
## %bb.49: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %r13
leaq 8(%r12), %rbx
movl %r15d, %edi
callq _TO_SIZE
movq 16(%r14), %rcx
movl -44(%rbp), %r8d
movq %rbx, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
callq _insert_pad
movq 8(%r12), %r12
movq _SEC_ALLOC@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _SEC_NEVER_LOAD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl %eax, %ecx
testl %ecx, 12(%r14)
jne LBB0_51
## %bb.50: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r14), %rcx
orl %eax, (%rcx)
LBB0_51: ## in Loop: Header=BB0_6 Depth=1
movq %r13, %rbx
jmp LBB0_56
LBB0_52: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %r15
LBB0_53: ## in Loop: Header=BB0_6 Depth=1
leaq 112(%r12), %rbx
movl -44(%rbp), %r13d
movq %r15, %rdi
callq _bfd_is_abs_section
testl %eax, %eax
movq %rbx, -56(%rbp) ## 8-byte Spill
je LBB0_57
## %bb.54: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rax
xorl %edi, %edi
cmpl $0, 8(%rax)
sete %dil
callq _ASSERT
leaq LJTI0_0(%rip), %r15
movq -80(%rbp), %rbx ## 8-byte Reload
jmp LBB0_82
LBB0_55: ## in Loop: Header=BB0_6 Depth=1
movq _DEFAULT_MEMORY_REGION@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _lang_memory_region_lookup
movl %r15d, 8(%rax)
LBB0_56: ## in Loop: Header=BB0_6 Depth=1
leaq LJTI0_0(%rip), %r15
movl -72(%rbp), %eax
jmp LBB0_4
LBB0_57: ## in Loop: Header=BB0_6 Depth=1
cmpq $0, 168(%r12)
movq %rbx, %rax
movq -80(%rbp), %rbx ## 8-byte Reload
jne LBB0_65
## %bb.58: ## in Loop: Header=BB0_6 Depth=1
movq 160(%r12), %rax
testq %rax, %rax
je LBB0_62
## %bb.59: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rcx
movq _SEC_LOAD@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movq _SEC_ALLOC@GOTPCREL(%rip), %rsi
orl (%rsi), %edx
testl %edx, (%rcx)
je LBB0_63
## %bb.60: ## in Loop: Header=BB0_6 Depth=1
movq (%rax), %rdi
cmpb $42, (%rdi)
jne LBB0_63
## %bb.61: ## in Loop: Header=BB0_6 Depth=1
movq _DEFAULT_MEMORY_REGION@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _strcmp
testl %eax, %eax
jne LBB0_63
LBB0_62: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rdi
callq _lang_memory_default
movq %rax, 160(%r12)
LBB0_63: ## in Loop: Header=BB0_6 Depth=1
cmpl $0, 136(%r12)
je LBB0_71
LBB0_64: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rax
movq 160(%r12), %rcx
movl 8(%rcx), %r13d
addq $12, %rax
LBB0_65: ## in Loop: Header=BB0_6 Depth=1
movl (%rax), %esi
testl %esi, %esi
jle LBB0_81
## %bb.66: ## in Loop: Header=BB0_6 Depth=1
movl %r13d, %edi
callq _align_power
movl %eax, %r15d
subl %r13d, %r15d
je LBB0_81
## %bb.67: ## in Loop: Header=BB0_6 Depth=1
movq _config@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
jne LBB0_69
## %bb.68: ## in Loop: Header=BB0_6 Depth=1
cmpq $0, 168(%r12)
je LBB0_80
LBB0_69: ## in Loop: Header=BB0_6 Depth=1
movq _expld@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _lang_mark_phase_enum@GOTPCREL(%rip), %rdx
cmpl (%rdx), %ecx
jne LBB0_79
LBB0_80: ## in Loop: Header=BB0_6 Depth=1
movl %eax, %r13d
jmp LBB0_81
LBB0_71: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rdi
callq _IGNORE_SECTION
cmpq $0, 16(%rbp)
je LBB0_64
## %bb.72: ## in Loop: Header=BB0_6 Depth=1
testl %eax, %eax
jne LBB0_64
## %bb.73: ## in Loop: Header=BB0_6 Depth=1
movq _link_info@GOTPCREL(%rip), %rax
cmpl $0, 8(%rax)
jne LBB0_64
## %bb.74: ## in Loop: Header=BB0_6 Depth=1
movq 160(%r12), %rax
movq (%rax), %rdi
movq _DEFAULT_MEMORY_REGION@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _strcmp
testl %eax, %eax
sete %cl
movq _lang_memory_region_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
setne %dl
andb %cl, %dl
cmpb $1, %dl
jne LBB0_64
## %bb.75: ## in Loop: Header=BB0_6 Depth=1
movq (%rax), %rdi
movq _DEFAULT_MEMORY_REGION@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _strcmp
testl %eax, %eax
jne LBB0_77
## %bb.76: ## in Loop: Header=BB0_6 Depth=1
movq _lang_memory_region_list@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq $0, 8(%rax)
je LBB0_64
LBB0_77: ## in Loop: Header=BB0_6 Depth=1
movq _expld@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _lang_mark_phase_enum@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
je LBB0_64
## %bb.78: ## in Loop: Header=BB0_6 Depth=1
movq _command_line@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
leaq L_.str.2(%rip), %rdi
leaq L_.str.3(%rip), %rax
cmoveq %rax, %rdi
callq __
movq %rbx, %r15
movl %eax, %ebx
movq _output_bfd@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq 128(%r12), %rsi
callq _bfd_get_section_name
movl %ebx, %edi
movq %r15, %rbx
movl %eax, %esi
xorl %eax, %eax
callq _einfo
jmp LBB0_64
LBB0_79: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.4(%rip), %rdi
movl %eax, %r13d
callq __
movl 196(%r12), %esi
movl %eax, %edi
movq %r15, %rdx
xorl %eax, %eax
callq _einfo
LBB0_81: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rsi
xorl %edi, %edi
movl %r13d, %edx
callq _bfd_set_section_vma
movq 128(%r12), %rax
movl $0, 24(%rax)
leaq LJTI0_0(%rip), %r15
LBB0_82: ## in Loop: Header=BB0_6 Depth=1
leaq 216(%r12), %rdx
movq 144(%r12), %rcx
movq 216(%r12), %rdi
movq 16(%rbp), %rax
movq %rax, (%rsp)
movq -56(%rbp), %rsi ## 8-byte Reload
movl %r13d, %r8d
movq %rbx, %r9
callq _lang_size_sections_1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 208(%r12)
movq 128(%r12), %rdi
callq _bfd_is_abs_section
testl %eax, %eax
jne LBB0_84
## %bb.83: ## in Loop: Header=BB0_6 Depth=1
cmpl $0, 136(%r12)
je LBB0_107
LBB0_84: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rax
xorl %edi, %edi
cmpl $0, 4(%rax)
sete %dil
callq _ASSERT
LBB0_85: ## in Loop: Header=BB0_6 Depth=1
movq 160(%r12), %r13
testq %r13, %r13
jne LBB0_87
## %bb.86: ## in Loop: Header=BB0_6 Depth=1
movq _DEFAULT_MEMORY_REGION@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _lang_memory_region_lookup
movq %rax, %r13
LBB0_87: ## in Loop: Header=BB0_6 Depth=1
movl 200(%r12), %edi
testl %edi, %edi
je LBB0_99
## %bb.88: ## in Loop: Header=BB0_6 Depth=1
xorl %esi, %esi
leaq L_.str.5(%rip), %rdx
callq _exp_get_abs_int
LBB0_89: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rdi
LBB0_90: ## in Loop: Header=BB0_6 Depth=1
movl %eax, 16(%rdi)
LBB0_91: ## in Loop: Header=BB0_6 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 184(%r12)
callq _bfd_is_abs_section
testl %eax, %eax
jne LBB0_5
## %bb.92: ## in Loop: Header=BB0_6 Depth=1
cmpl $0, 136(%r12)
jne LBB0_5
## %bb.93: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rax
movl (%rax), %ecx
movq _SEC_HAS_CONTENTS@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %ecx, %edx
je LBB0_110
LBB0_94: ## in Loop: Header=BB0_6 Depth=1
movq _SEC_ALLOC@GOTPCREL(%rip), %rsi
testl %ecx, (%rsi)
je LBB0_118
## %bb.95: ## in Loop: Header=BB0_6 Depth=1
cmpl $0, 4(%rax)
je LBB0_115
LBB0_96: ## in Loop: Header=BB0_6 Depth=1
cmpq $0, 152(%r12)
jne LBB0_118
## %bb.97: ## in Loop: Header=BB0_6 Depth=1
movq _link_info@GOTPCREL(%rip), %rsi
cmpl $0, 8(%rsi)
jne LBB0_118
## %bb.98: ## in Loop: Header=BB0_6 Depth=1
movq %r12, 16(%r13)
jmp LBB0_118
LBB0_99: ## in Loop: Header=BB0_6 Depth=1
movq 160(%r12), %rcx
testq %rcx, %rcx
je LBB0_101
## %bb.100: ## in Loop: Header=BB0_6 Depth=1
movq 152(%r12), %rax
testq %rax, %rax
sete %dl
cmpq %rcx, %rax
sete %cl
orb %dl, %cl
je LBB0_108
LBB0_101: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r13), %rax
movq 128(%r12), %rdi
testq %rax, %rax
je LBB0_91
## %bb.102: ## in Loop: Header=BB0_6 Depth=1
movq _SEC_ALLOC@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, (%rdi)
je LBB0_91
## %bb.103: ## in Loop: Header=BB0_6 Depth=1
movq 128(%rax), %rcx
movl -44(%rbp), %esi
movl 8(%rcx), %edx
movl %esi, %eax
subl %edx, %eax
jbe LBB0_111
LBB0_104: ## in Loop: Header=BB0_6 Depth=1
movl 192(%r12), %edx
movq _overlay_section@GOTPCREL(%rip), %rsi
cmpl (%rsi), %edx
jne LBB0_106
## %bb.105: ## in Loop: Header=BB0_6 Depth=1
movl 4(%rcx), %eax
LBB0_106: ## in Loop: Header=BB0_6 Depth=1
movq -56(%rbp), %rdx ## 8-byte Reload
addl 16(%rcx), %eax
movl (%rdx), %esi
cmpl $-1, %esi
jne LBB0_109
jmp LBB0_90
LBB0_107: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rax
movq %rbx, %r15
movl 8(%rax), %ebx
movl %ebx, -44(%rbp)
movl 4(%rax), %edi
callq _TO_ADDR
## kill: def $eax killed $eax def $rax
movl 116(%r12), %edi
addl %ebx, %eax
movq %r15, %rbx
leaq LJTI0_0(%rip), %r15
addl %edi, %eax
decl %eax
negl %edi
andl %eax, %edi
movq 128(%r12), %rax
subl 8(%rax), %edi
## kill: def $edi killed $edi killed $rdi
callq _TO_SIZE
movq 128(%r12), %rcx
movl %eax, 4(%rcx)
jmp LBB0_85
LBB0_108: ## in Loop: Header=BB0_6 Depth=1
movl 8(%rax), %eax
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %esi
cmpl $-1, %esi
je LBB0_89
LBB0_109: ## in Loop: Header=BB0_6 Depth=1
movl %eax, %edi
callq _align_power
jmp LBB0_89
LBB0_110: ## in Loop: Header=BB0_6 Depth=1
movq _SEC_THREAD_LOCAL@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
andl %ecx, %esi
jne LBB0_120
jmp LBB0_94
LBB0_111: ## in Loop: Header=BB0_6 Depth=1
movl 4(%rdi), %r8d
testl %r8d, %r8d
je LBB0_104
## %bb.112: ## in Loop: Header=BB0_6 Depth=1
addl %esi, %r8d
cmpl %edx, %r8d
ja LBB0_104
## %bb.113: ## in Loop: Header=BB0_6 Depth=1
cmpl 16(%rcx), %edx
je LBB0_91
## %bb.114: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.6(%rip), %rdi
callq __
movl 196(%r12), %esi
movl %eax, %edi
xorl %eax, %eax
callq _einfo
movq 128(%r12), %rdi
jmp LBB0_91
LBB0_115: ## in Loop: Header=BB0_6 Depth=1
movq 16(%r13), %rsi
testq %rsi, %rsi
je LBB0_117
## %bb.116: ## in Loop: Header=BB0_6 Depth=1
movl -44(%rbp), %edi
movq 128(%rsi), %rsi
cmpl 8(%rsi), %edi
jae LBB0_96
jmp LBB0_118
LBB0_117: ## in Loop: Header=BB0_6 Depth=1
movl 8(%rax), %esi
cmpl 16(%rax), %esi
jne LBB0_96
LBB0_118: ## in Loop: Header=BB0_6 Depth=1
testl %ecx, %edx
jne LBB0_122
## %bb.119: ## in Loop: Header=BB0_6 Depth=1
movq _SEC_THREAD_LOCAL@GOTPCREL(%rip), %rdx
andl (%rdx), %ecx
movl %ecx, %esi
LBB0_120: ## in Loop: Header=BB0_6 Depth=1
testl %esi, %esi
je LBB0_122
## %bb.121: ## in Loop: Header=BB0_6 Depth=1
movq _link_info@GOTPCREL(%rip), %rcx
cmpl $0, 8(%rcx)
je LBB0_123
LBB0_122: ## in Loop: Header=BB0_6 Depth=1
movl 4(%rax), %edi
callq _TO_ADDR
addl %eax, -44(%rbp)
LBB0_123: ## in Loop: Header=BB0_6 Depth=1
movq 176(%r12), %rdi
testq %rdi, %rdi
je LBB0_125
## %bb.124: ## in Loop: Header=BB0_6 Depth=1
movq _bfd_abs_section_ptr@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq -44(%rbp), %rdx
callq _exp_fold_tree
LBB0_125: ## in Loop: Header=BB0_6 Depth=1
movq 160(%r12), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.126: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rax
movl (%rax), %ecx
movq _SEC_NEVER_LOAD@GOTPCREL(%rip), %rdx
testl %ecx, (%rdx)
je LBB0_128
## %bb.127: ## in Loop: Header=BB0_6 Depth=1
movq _SEC_LOAD@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movq _SEC_ALLOC@GOTPCREL(%rip), %rdi
orl (%rdi), %edx
testl %ecx, %edx
je LBB0_5
LBB0_128: ## in Loop: Header=BB0_6 Depth=1
movl -44(%rbp), %ecx
movl %ecx, 8(%rsi)
cmpq $0, 16(%rbp)
je LBB0_130
## %bb.129: ## in Loop: Header=BB0_6 Depth=1
movq 168(%r12), %rdx
movl 8(%rax), %ecx
movq -56(%rbp), %rdi ## 8-byte Reload
callq _os_region_check
LBB0_130: ## in Loop: Header=BB0_6 Depth=1
movq 152(%r12), %rax
testq %rax, %rax
je LBB0_5
## %bb.131: ## in Loop: Header=BB0_6 Depth=1
cmpq 160(%r12), %rax
je LBB0_5
## %bb.132: ## in Loop: Header=BB0_6 Depth=1
movq %rbx, %r15
movq 128(%r12), %rax
movl 4(%rax), %edi
movl 16(%rax), %ebx
callq _TO_ADDR
addl %ebx, %eax
movq 152(%r12), %rsi
movl %eax, 8(%rsi)
cmpq $0, 16(%rbp)
je LBB0_9
## %bb.133: ## in Loop: Header=BB0_6 Depth=1
movq 128(%r12), %rax
movl 16(%rax), %ecx
movq -56(%rbp), %rdi ## 8-byte Reload
xorl %edx, %edx
callq _os_region_check
jmp LBB0_9
LBB0_134:
movl -44(%rbp), %r8d
LBB0_135:
movl %r8d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_136:
xorl %eax, %eax
callq _abort
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_5
.long L0_0_set_8
.long L0_0_set_19
.long L0_0_set_5
.long L0_0_set_31
.long L0_0_set_17
.long L0_0_set_5
.long L0_0_set_24
.long L0_0_set_46
.long L0_0_set_18
.long L0_0_set_20
.long L0_0_set_45
.long L0_0_set_10
.long L0_0_set_5
.end_data_region
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _bfd_abs_section_ptr,8,3 ## @bfd_abs_section_ptr
.comm _expld,32,3 ## @expld
.comm _lang_mark_phase_enum,4,2 ## @lang_mark_phase_enum
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%F%S: non constant or forward reference address expression for section %s\n"
.comm _output_bfd,4,2 ## @output_bfd
.comm _bfd_target_ecoff_flavour,4,2 ## @bfd_target_ecoff_flavour
.comm _bfd_target_coff_flavour,4,2 ## @bfd_target_coff_flavour
.comm _SEC_COFF_SHARED_LIBRARY,4,2 ## @SEC_COFF_SHARED_LIBRARY
L_.str.1: ## @.str.1
.asciz "%P%X: Internal error on COFF shared library section %s\n"
.comm _SEC_ALLOC,4,2 ## @SEC_ALLOC
.comm _SEC_LOAD,4,2 ## @SEC_LOAD
.comm _DEFAULT_MEMORY_REGION,4,2 ## @DEFAULT_MEMORY_REGION
.comm _link_info,16,3 ## @link_info
.comm _lang_memory_region_list,8,3 ## @lang_memory_region_list
.comm _command_line,4,2 ## @command_line
L_.str.2: ## @.str.2
.asciz "%P%F: error: no memory region specified for loadable section `%s'\n"
L_.str.3: ## @.str.3
.asciz "%P: warning: no memory region specified for loadable section `%s'\n"
.comm _config,4,2 ## @config
L_.str.4: ## @.str.4
.asciz "%P: warning: changing start of section %s by %lu bytes\n"
.comm _TRUE,8,3 ## @TRUE
L_.str.5: ## @.str.5
.asciz "load base"
L_.str.6: ## @.str.6
.asciz "%P: warning: dot moved backwards before `%s'\n"
.comm _overlay_section,4,2 ## @overlay_section
.comm _SEC_HAS_CONTENTS,4,2 ## @SEC_HAS_CONTENTS
.comm _SEC_THREAD_LOCAL,4,2 ## @SEC_THREAD_LOCAL
.comm _SEC_NEVER_LOAD,4,2 ## @SEC_NEVER_LOAD
.comm _constructor_list,8,3 ## @constructor_list
.comm _QUAD_SIZE,4,2 ## @QUAD_SIZE
.comm _LONG_SIZE,4,2 ## @LONG_SIZE
.comm _SHORT_SIZE,4,2 ## @SHORT_SIZE
.comm _BYTE_SIZE,4,2 ## @BYTE_SIZE
L_.str.7: ## @.str.7
.asciz "%P%F: can't relax section: %E\n"
.comm _etree_provided,4,2 ## @etree_provided
.comm _etree_assign,4,2 ## @etree_assign
.comm _abs_output_section,8,3 ## @abs_output_section
.no_dead_strip _lang_size_sections_1
.section __DATA,__const
.p2align 3, 0x0 ## @switch.table.lang_size_sections_1
l_switch.table.lang_size_sections_1:
.quad _QUAD_SIZE
.quad _SHORT_SIZE
.quad _QUAD_SIZE
.quad _LONG_SIZE
.quad _BYTE_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function lang_size_sections_1
_lang_size_sections_1: ; @lang_size_sections_1
.cfi_startproc
; %bb.0:
sub sp, sp, #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
str w4, [sp, #28]
cbz x0, LBB0_134
; %bb.1:
mov x19, x6
mov x20, x5
mov x22, x3
mov x26, x2
mov x21, x1
mov x23, x0
Lloh0:
adrp x28, _output_bfd@GOTPAGE
Lloh1:
ldr x28, [x28, _output_bfd@GOTPAGEOFF]
Lloh2:
adrp x24, _bfd_target_ecoff_flavour@GOTPAGE
Lloh3:
ldr x24, [x24, _bfd_target_ecoff_flavour@GOTPAGEOFF]
Lloh4:
adrp x27, lJTI0_0@PAGE
Lloh5:
add x27, x27, lJTI0_0@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #16]
Lloh6:
adrp x9, _link_info@GOTPAGE
Lloh7:
ldr x9, [x9, _link_info@GOTPAGEOFF]
Lloh8:
str x8, [x9]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #8]!
mov x26, x23
mov x23, x8
cbz x8, LBB0_133
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [x23]
sub w8, w8, #128
cmp w8, #14
b.hi LBB0_30
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
adr x9, LBB0_2
ldrh w10, [x27, x8, lsl #1]
add x9, x9, x10, lsl #2
br x9
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov x2, x23
ldr x0, [x2, #64]!
b LBB0_47
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #28]
str w8, [sp, #16]
ldr x25, [x23, #32]
ldr x1, [x21, #16]
add x2, sp, #16
mov x0, x25
bl _exp_fold_tree
ldr w8, [x25, #8]
Lloh9:
adrp x9, _etree_provided@GOTPAGE
Lloh10:
ldr x9, [x9, _etree_provided@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
Lloh12:
adrp x10, _etree_assign@GOTPAGE
Lloh13:
ldr x10, [x10, _etree_assign@GOTPAGEOFF]
Lloh14:
ldr w10, [x10]
cmp w8, w9
ccmp w8, w10, #4, ne
b.ne LBB0_11
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x25]
ldrb w9, [x8]
cmp w9, #46
b.ne LBB0_10
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldrb w8, [x8, #1]
cbz w8, LBB0_11
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1 ; =0x1
str w8, [x21, #8]
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x21, #24]
cbnz w8, LBB0_3
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
Lloh15:
adrp x8, _abs_output_section@GOTPAGE
Lloh16:
ldr x8, [x8, _abs_output_section@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
ldr w25, [sp, #16]
cmp x8, x21
b.eq LBB0_52
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #28]
subs w0, w25, w8
b.eq LBB0_53
; %bb.14: ; in Loop: Header=BB0_4 Depth=1
bl _TO_SIZE
mov x2, x0
ldr x3, [x21, #16]
ldr w4, [sp, #28]
add x0, x23, #8
mov x1, x22
bl _insert_pad
ldr x23, [x23, #8]
ldr w9, [x21, #12]
Lloh18:
adrp x8, _SEC_NEVER_LOAD@GOTPAGE
Lloh19:
ldr x8, [x8, _SEC_NEVER_LOAD@GOTPAGEOFF]
Lloh20:
ldr w10, [x8]
Lloh21:
adrp x8, _SEC_ALLOC@GOTPAGE
Lloh22:
ldr x8, [x8, _SEC_ALLOC@GOTPAGEOFF]
Lloh23:
ldr w8, [x8]
orr w10, w8, w10
tst w10, w9
b.ne LBB0_53
; %bb.15: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x21, #16]
ldr w10, [x9]
orr w8, w10, w8
str w8, [x9]
b LBB0_53
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x21, #16]
str x8, [x23, #48]
ldr x22, [x23, #40]
b LBB0_3
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
str wzr, [x23, #28]
ldr w8, [sp, #28]
ldr x9, [x21, #16]
ldr w9, [x9, #8]
sub w8, w8, w9
str w8, [x23, #24]
b LBB0_3
LBB0_18: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #28]
ldr x9, [x21, #16]
ldr w10, [x9, #8]
sub w8, w8, w10
str w8, [x23, #88]
str x9, [x23, #104]
ldr x0, [x23, #96]
Lloh24:
adrp x8, _bfd_abs_section_ptr@GOTPAGE
Lloh25:
ldr x8, [x8, _bfd_abs_section_ptr@GOTPAGEOFF]
Lloh26:
ldr x1, [x8]
add x2, sp, #28
bl _exp_fold_tree
ldr w8, [x23, #92]
sub w8, w8, #143
cmp w8, #5
b.hs LBB0_135
; %bb.19: ; in Loop: Header=BB0_4 Depth=1
Lloh27:
adrp x9, l_switch.table.lang_size_sections_1@PAGE
Lloh28:
add x9, x9, l_switch.table.lang_size_sections_1@PAGEOFF
ldr x8, [x9, w8, uxtw #3]
ldr w25, [x8]
mov w0, #1 ; =0x1
bl _TO_SIZE
cmp w25, w0
b.hs LBB0_21
; %bb.20: ; in Loop: Header=BB0_4 Depth=1
mov w0, #1 ; =0x1
bl _TO_SIZE
mov x25, x0
LBB0_21: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
b LBB0_23
LBB0_22: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #28]
ldr x9, [x21, #16]
ldr w10, [x9, #8]
sub w8, w8, w10
str w8, [x23, #72]
str x9, [x23, #80]
ldr w0, [x23, #76]
bl _bfd_get_reloc_size
mov x25, x0
LBB0_23: ; in Loop: Header=BB0_4 Depth=1
bl _TO_ADDR
ldr w8, [sp, #28]
add w8, w8, w0
str w8, [sp, #28]
ldr x8, [x21, #16]
ldr w9, [x8, #4]
add w9, w9, w25
str w9, [x8, #4]
b LBB0_3
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
cbz x20, LBB0_29
; %bb.25: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x26]
ldr x1, [x8, #56]
ldr w0, [x1, #20]
add x3, sp, #16
Lloh29:
adrp x2, _link_info@GOTPAGE
Lloh30:
ldr x2, [x2, _link_info@GOTPAGEOFF]
bl _bfd_relax_section
cbnz w0, LBB0_27
; %bb.26: ; in Loop: Header=BB0_4 Depth=1
Lloh31:
adrp x0, l_.str.7@PAGE
Lloh32:
add x0, x0, l_.str.7@PAGEOFF
bl __
bl _einfo
LBB0_27: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [sp, #16]
cbz x8, LBB0_29
; %bb.28: ; in Loop: Header=BB0_4 Depth=1
Lloh33:
adrp x8, _TRUE@GOTPAGE
Lloh34:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh35:
ldr x8, [x8]
str x8, [x20]
LBB0_29: ; in Loop: Header=BB0_4 Depth=1
ldr x2, [x21, #32]
ldr w3, [sp, #28]
mov x0, x26
mov x1, x21
bl _size_input_section
str w0, [sp, #28]
b LBB0_3
LBB0_30: ; in Loop: Header=BB0_4 Depth=1
bl _FAIL
b LBB0_3
LBB0_31: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x23, #168]
Lloh36:
adrp x25, _expld@GOTPAGE
Lloh37:
ldr x25, [x25, _expld@GOTPAGEOFF]
cbz x0, LBB0_36
; %bb.32: ; in Loop: Header=BB0_4 Depth=1
Lloh38:
adrp x8, _FALSE@GOTPAGE
Lloh39:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh40:
ldr x8, [x8]
str x8, [x23, #208]
Lloh41:
adrp x8, _bfd_abs_section_ptr@GOTPAGE
Lloh42:
ldr x8, [x8, _bfd_abs_section_ptr@GOTPAGEOFF]
Lloh43:
ldr x1, [x8]
add x2, sp, #28
bl _exp_fold_tree
ldr w8, [x25, #24]
cbz w8, LBB0_34
; %bb.33: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x25]
Lloh44:
adrp x9, _lang_mark_phase_enum@GOTPAGE
Lloh45:
ldr x9, [x9, _lang_mark_phase_enum@GOTPAGEOFF]
Lloh46:
ldr w9, [x9]
cmp w8, w9
b.eq LBB0_35
LBB0_34: ; in Loop: Header=BB0_4 Depth=1
Lloh47:
adrp x0, l_.str@PAGE
Lloh48:
add x0, x0, l_.str@PAGEOFF
bl __
ldr w8, [x23, #196]
str x8, [sp]
bl _einfo
LBB0_35: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x25, #8]
ldr x9, [x25, #16]
ldr w9, [x9]
sub w8, w8, w9
str w8, [sp, #28]
LBB0_36: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
cbz x8, LBB0_3
; %bb.37: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x28]
bl _bfd_get_flavour
ldr w8, [x24]
cmp w0, w8
b.eq LBB0_39
; %bb.38: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x28]
bl _bfd_get_flavour
Lloh49:
adrp x8, _bfd_target_coff_flavour@GOTPAGE
Lloh50:
ldr x8, [x8, _bfd_target_coff_flavour@GOTPAGEOFF]
Lloh51:
ldr w8, [x8]
cmp w0, w8
b.ne LBB0_49
LBB0_39: ; in Loop: Header=BB0_4 Depth=1
ldr x25, [x23, #128]
ldr w8, [x25]
Lloh52:
adrp x9, _SEC_COFF_SHARED_LIBRARY@GOTPAGE
Lloh53:
ldr x9, [x9, _SEC_COFF_SHARED_LIBRARY@GOTPAGEOFF]
Lloh54:
ldr w9, [x9]
orr w8, w9, w8
cbz w8, LBB0_50
; %bb.40: ; in Loop: Header=BB0_4 Depth=1
mov x27, x20
mov x20, x22
mov x22, x19
mov x19, x24
mov x24, x28
ldr x8, [x23, #216]
cbz x8, LBB0_43
; %bb.41: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x8, #8]
cbnz x9, LBB0_43
; %bb.42: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x8]
cmp w9, #136
b.eq LBB0_44
LBB0_43: ; in Loop: Header=BB0_4 Depth=1
Lloh55:
adrp x0, l_.str.1@PAGE
Lloh56:
add x0, x0, l_.str.1@PAGEOFF
bl __
ldr w8, [x23, #196]
str x8, [sp]
bl _einfo
ldr x8, [x23, #216]
ldr x25, [x23, #128]
LBB0_44: ; in Loop: Header=BB0_4 Depth=1
ldr x26, [x8, #56]
ldr w28, [x25, #20]
ldr w0, [x26, #20]
mov x1, x26
bl _bfd_section_vma
mov x2, x0
mov x0, x28
mov x1, x25
bl _bfd_set_section_vma
ldr w8, [x26, #4]
ldr x9, [x23, #128]
str w8, [x9, #4]
mov x28, x24
mov x24, x19
mov x19, x22
mov x22, x20
mov x20, x27
Lloh57:
adrp x27, lJTI0_0@PAGE
Lloh58:
add x27, x27, lJTI0_0@PAGEOFF
b LBB0_3
LBB0_45: ; in Loop: Header=BB0_4 Depth=1
Lloh59:
adrp x8, _constructor_list@GOTPAGE
Lloh60:
ldr x8, [x8, _constructor_list@GOTPAGEOFF]
Lloh61:
ldr x0, [x8]
ldr w4, [sp, #28]
add x2, x23, #64
b LBB0_48
LBB0_46: ; in Loop: Header=BB0_4 Depth=1
mov x2, x23
ldr x0, [x2, #16]!
LBB0_47: ; in Loop: Header=BB0_4 Depth=1
ldr w4, [sp, #28]
LBB0_48: ; in Loop: Header=BB0_4 Depth=1
mov x1, x21
mov x3, x22
mov x5, x20
mov x6, x19
bl _lang_size_sections_1
str w0, [sp, #28]
b LBB0_3
LBB0_49: ; in Loop: Header=BB0_4 Depth=1
ldr x25, [x23, #128]
LBB0_50: ; in Loop: Header=BB0_4 Depth=1
add x28, x23, #112
ldr w26, [sp, #28]
mov x0, x25
bl _bfd_is_abs_section
cbz w0, LBB0_54
; %bb.51: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
ldr w8, [x8, #8]
cmp w8, #0
cset w0, eq
bl _ASSERT
b LBB0_79
LBB0_52: ; in Loop: Header=BB0_4 Depth=1
Lloh62:
adrp x8, _DEFAULT_MEMORY_REGION@GOTPAGE
Lloh63:
ldr x8, [x8, _DEFAULT_MEMORY_REGION@GOTPAGEOFF]
Lloh64:
ldr w0, [x8]
Lloh65:
adrp x8, _FALSE@GOTPAGE
Lloh66:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh67:
ldr x1, [x8]
bl _lang_memory_region_lookup
str w25, [x0, #8]
LBB0_53: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #16]
str w8, [sp, #28]
b LBB0_3
LBB0_54: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x23, #168]
mov x8, x28
cbnz x9, LBB0_62
; %bb.55: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #160]
cbz x8, LBB0_59
; %bb.56: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x23, #128]
ldr w9, [x9]
Lloh68:
adrp x10, _SEC_ALLOC@GOTPAGE
Lloh69:
ldr x10, [x10, _SEC_ALLOC@GOTPAGEOFF]
Lloh70:
ldr w10, [x10]
Lloh71:
adrp x11, _SEC_LOAD@GOTPAGE
Lloh72:
ldr x11, [x11, _SEC_LOAD@GOTPAGEOFF]
Lloh73:
ldr w11, [x11]
orr w10, w11, w10
tst w10, w9
b.eq LBB0_60
; %bb.57: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x8]
ldrb w8, [x0]
cmp w8, #42
b.ne LBB0_60
; %bb.58: ; in Loop: Header=BB0_4 Depth=1
Lloh74:
adrp x8, _DEFAULT_MEMORY_REGION@GOTPAGE
Lloh75:
ldr x8, [x8, _DEFAULT_MEMORY_REGION@GOTPAGEOFF]
Lloh76:
ldr w1, [x8]
bl _strcmp
cbnz w0, LBB0_60
LBB0_59: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x23, #128]
bl _lang_memory_default
str x0, [x23, #160]
LBB0_60: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x23, #136]
cbz w8, LBB0_68
LBB0_61: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #160]
ldr w26, [x8, #8]
ldr x8, [x23, #128]
add x8, x8, #12
LBB0_62: ; in Loop: Header=BB0_4 Depth=1
ldr w1, [x8]
cmp w1, #1
b.lt LBB0_78
; %bb.63: ; in Loop: Header=BB0_4 Depth=1
mov x0, x26
bl _align_power
subs w25, w0, w26
b.eq LBB0_78
; %bb.64: ; in Loop: Header=BB0_4 Depth=1
Lloh77:
adrp x8, _config@GOTPAGE
Lloh78:
ldr x8, [x8, _config@GOTPAGEOFF]
Lloh79:
ldr w8, [x8]
cbnz w8, LBB0_66
; %bb.65: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #168]
cbz x8, LBB0_77
LBB0_66: ; in Loop: Header=BB0_4 Depth=1
Lloh80:
adrp x8, _expld@GOTPAGE
Lloh81:
ldr x8, [x8, _expld@GOTPAGEOFF]
Lloh82:
ldr w8, [x8]
Lloh83:
adrp x9, _lang_mark_phase_enum@GOTPAGE
Lloh84:
ldr x9, [x9, _lang_mark_phase_enum@GOTPAGEOFF]
Lloh85:
ldr w9, [x9]
mov x26, x0
cmp w8, w9
b.eq LBB0_78
; %bb.67: ; in Loop: Header=BB0_4 Depth=1
Lloh86:
adrp x0, l_.str.4@PAGE
Lloh87:
add x0, x0, l_.str.4@PAGEOFF
bl __
ldr w8, [x23, #196]
stp x8, x25, [sp]
bl _einfo
b LBB0_78
LBB0_68: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x23, #128]
bl _IGNORE_SECTION
cbz x19, LBB0_61
; %bb.69: ; in Loop: Header=BB0_4 Depth=1
cbnz w0, LBB0_61
; %bb.70: ; in Loop: Header=BB0_4 Depth=1
Lloh88:
adrp x8, _link_info@GOTPAGE
Lloh89:
ldr x8, [x8, _link_info@GOTPAGEOFF]
Lloh90:
ldr w8, [x8, #8]
cbnz w8, LBB0_61
; %bb.71: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #160]
ldr x0, [x8]
Lloh91:
adrp x8, _DEFAULT_MEMORY_REGION@GOTPAGE
Lloh92:
ldr x8, [x8, _DEFAULT_MEMORY_REGION@GOTPAGEOFF]
Lloh93:
ldr w1, [x8]
bl _strcmp
cbnz w0, LBB0_61
; %bb.72: ; in Loop: Header=BB0_4 Depth=1
Lloh94:
adrp x8, _lang_memory_region_list@GOTPAGE
Lloh95:
ldr x8, [x8, _lang_memory_region_list@GOTPAGEOFF]
Lloh96:
ldr x8, [x8]
cbz x8, LBB0_61
; %bb.73: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x8]
Lloh97:
adrp x8, _DEFAULT_MEMORY_REGION@GOTPAGE
Lloh98:
ldr x8, [x8, _DEFAULT_MEMORY_REGION@GOTPAGEOFF]
Lloh99:
ldr w1, [x8]
bl _strcmp
cbnz w0, LBB0_75
; %bb.74: ; in Loop: Header=BB0_4 Depth=1
Lloh100:
adrp x8, _lang_memory_region_list@GOTPAGE
Lloh101:
ldr x8, [x8, _lang_memory_region_list@GOTPAGEOFF]
Lloh102:
ldr x8, [x8]
ldr x8, [x8, #8]
cbz x8, LBB0_61
LBB0_75: ; in Loop: Header=BB0_4 Depth=1
Lloh103:
adrp x8, _expld@GOTPAGE
Lloh104:
ldr x8, [x8, _expld@GOTPAGEOFF]
Lloh105:
ldr w8, [x8]
Lloh106:
adrp x9, _lang_mark_phase_enum@GOTPAGE
Lloh107:
ldr x9, [x9, _lang_mark_phase_enum@GOTPAGEOFF]
Lloh108:
ldr w9, [x9]
cmp w8, w9
b.eq LBB0_61
; %bb.76: ; in Loop: Header=BB0_4 Depth=1
Lloh109:
adrp x8, _command_line@GOTPAGE
Lloh110:
ldr x8, [x8, _command_line@GOTPAGEOFF]
Lloh111:
ldr w8, [x8]
cmp w8, #0
Lloh112:
adrp x8, l_.str.2@PAGE
Lloh113:
add x8, x8, l_.str.2@PAGEOFF
Lloh114:
adrp x9, l_.str.3@PAGE
Lloh115:
add x9, x9, l_.str.3@PAGEOFF
csel x0, x9, x8, eq
bl __
mov x25, x0
Lloh116:
adrp x8, _output_bfd@GOTPAGE
Lloh117:
ldr x8, [x8, _output_bfd@GOTPAGEOFF]
Lloh118:
ldr w0, [x8]
ldr x1, [x23, #128]
bl _bfd_get_section_name
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x25
bl _einfo
b LBB0_61
LBB0_77: ; in Loop: Header=BB0_4 Depth=1
mov x26, x0
LBB0_78: ; in Loop: Header=BB0_4 Depth=1
ldr x1, [x23, #128]
mov w0, #0 ; =0x0
mov x2, x26
bl _bfd_set_section_vma
ldr x8, [x23, #128]
str wzr, [x8, #24]
LBB0_79: ; in Loop: Header=BB0_4 Depth=1
mov x25, x23
ldr x0, [x25, #216]!
ldur x3, [x25, #-72]
mov x1, x28
mov x2, x25
mov x4, x26
mov x5, x20
mov x6, x19
bl _lang_size_sections_1
Lloh119:
adrp x8, _TRUE@GOTPAGE
Lloh120:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh121:
ldr x8, [x8]
stur x8, [x25, #-8]
ldur x0, [x25, #-88]
bl _bfd_is_abs_section
cbnz w0, LBB0_81
; %bb.80: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x23, #136]
cbz w8, LBB0_90
LBB0_81: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
ldr w8, [x8, #4]
cmp w8, #0
cset w0, eq
bl _ASSERT
ldr x26, [x23, #160]
cbz x26, LBB0_91
LBB0_82: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x23, #200]
cbz w0, LBB0_92
LBB0_83: ; in Loop: Header=BB0_4 Depth=1
mov w1, #0 ; =0x0
Lloh122:
adrp x2, l_.str.5@PAGE
Lloh123:
add x2, x2, l_.str.5@PAGEOFF
bl _exp_get_abs_int
LBB0_84: ; in Loop: Header=BB0_4 Depth=1
mov x8, x0
LBB0_85: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x23, #128]
LBB0_86: ; in Loop: Header=BB0_4 Depth=1
str w8, [x0, #16]
LBB0_87: ; in Loop: Header=BB0_4 Depth=1
Lloh124:
adrp x8, _TRUE@GOTPAGE
Lloh125:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh126:
ldr x8, [x8]
str x8, [x23, #184]
bl _bfd_is_abs_section
cbnz w0, LBB0_89
; %bb.88: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x23, #136]
cbz w8, LBB0_103
LBB0_89: ; in Loop: Header=BB0_4 Depth=1
Lloh127:
adrp x28, _output_bfd@GOTPAGE
Lloh128:
ldr x28, [x28, _output_bfd@GOTPAGEOFF]
b LBB0_3
LBB0_90: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
ldp w0, w25, [x8, #4]
str w25, [sp, #28]
bl _TO_ADDR
ldr w8, [x23, #116]
add w9, w25, w8
add w9, w9, w0
sub w9, w9, #1
neg w8, w8
and w8, w9, w8
ldr x9, [x23, #128]
ldr w9, [x9, #8]
sub w0, w8, w9
bl _TO_SIZE
ldr x8, [x23, #128]
str w0, [x8, #4]
ldr x26, [x23, #160]
cbnz x26, LBB0_82
LBB0_91: ; in Loop: Header=BB0_4 Depth=1
Lloh129:
adrp x8, _DEFAULT_MEMORY_REGION@GOTPAGE
Lloh130:
ldr x8, [x8, _DEFAULT_MEMORY_REGION@GOTPAGEOFF]
Lloh131:
ldr w0, [x8]
Lloh132:
adrp x8, _FALSE@GOTPAGE
Lloh133:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh134:
ldr x1, [x8]
bl _lang_memory_region_lookup
mov x26, x0
ldr w0, [x23, #200]
cbnz w0, LBB0_83
LBB0_92: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x23, #160]
cbz x9, LBB0_96
; %bb.93: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #152]
cbz x8, LBB0_96
; %bb.94: ; in Loop: Header=BB0_4 Depth=1
cmp x8, x9
b.eq LBB0_96
; %bb.95: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x8, #8]
ldr w1, [x28]
cmn w1, #1
b.ne LBB0_102
b LBB0_85
LBB0_96: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x26, #16]
ldr x0, [x23, #128]
cbz x8, LBB0_87
; %bb.97: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x0]
Lloh135:
adrp x10, _SEC_ALLOC@GOTPAGE
Lloh136:
ldr x10, [x10, _SEC_ALLOC@GOTPAGEOFF]
Lloh137:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_87
; %bb.98: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x8, #128]
ldr w11, [sp, #28]
ldr w10, [x8, #8]
subs w9, w11, w10
b.ls LBB0_110
LBB0_99: ; in Loop: Header=BB0_4 Depth=1
ldr w10, [x23, #192]
Lloh138:
adrp x11, _overlay_section@GOTPAGE
Lloh139:
ldr x11, [x11, _overlay_section@GOTPAGEOFF]
Lloh140:
ldr w11, [x11]
cmp w10, w11
b.ne LBB0_101
; %bb.100: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x8, #4]
LBB0_101: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x8, #16]
add w8, w9, w8
ldr w1, [x28]
cmn w1, #1
b.eq LBB0_86
LBB0_102: ; in Loop: Header=BB0_4 Depth=1
mov x0, x8
bl _align_power
b LBB0_84
LBB0_103: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
ldr w9, [x8]
Lloh141:
adrp x10, _SEC_HAS_CONTENTS@GOTPAGE
Lloh142:
ldr x10, [x10, _SEC_HAS_CONTENTS@GOTPAGEOFF]
Lloh143:
ldr w10, [x10]
ands w10, w10, w9
b.eq LBB0_109
LBB0_104: ; in Loop: Header=BB0_4 Depth=1
Lloh144:
adrp x11, _SEC_ALLOC@GOTPAGE
Lloh145:
ldr x11, [x11, _SEC_ALLOC@GOTPAGEOFF]
Lloh146:
ldr w11, [x11]
tst w11, w9
b.eq LBB0_117
; %bb.105: ; in Loop: Header=BB0_4 Depth=1
ldr w11, [x8, #4]
cbz w11, LBB0_114
LBB0_106: ; in Loop: Header=BB0_4 Depth=1
ldr x11, [x23, #152]
cbnz x11, LBB0_117
; %bb.107: ; in Loop: Header=BB0_4 Depth=1
Lloh147:
adrp x11, _link_info@GOTPAGE
Lloh148:
ldr x11, [x11, _link_info@GOTPAGEOFF]
Lloh149:
ldr w11, [x11, #8]
cbnz w11, LBB0_117
; %bb.108: ; in Loop: Header=BB0_4 Depth=1
str x23, [x26, #16]
b LBB0_117
LBB0_109: ; in Loop: Header=BB0_4 Depth=1
Lloh150:
adrp x11, _SEC_THREAD_LOCAL@GOTPAGE
Lloh151:
ldr x11, [x11, _SEC_THREAD_LOCAL@GOTPAGEOFF]
Lloh152:
ldr w11, [x11]
ands w11, w11, w9
b.ne LBB0_119
b LBB0_104
LBB0_110: ; in Loop: Header=BB0_4 Depth=1
ldr w12, [x0, #4]
cbz w12, LBB0_99
; %bb.111: ; in Loop: Header=BB0_4 Depth=1
add w11, w12, w11
cmp w11, w10
b.hi LBB0_99
; %bb.112: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x8, #16]
cmp w10, w8
b.eq LBB0_87
; %bb.113: ; in Loop: Header=BB0_4 Depth=1
Lloh153:
adrp x0, l_.str.6@PAGE
Lloh154:
add x0, x0, l_.str.6@PAGEOFF
bl __
ldr w8, [x23, #196]
str x8, [sp]
bl _einfo
ldr x0, [x23, #128]
b LBB0_87
LBB0_114: ; in Loop: Header=BB0_4 Depth=1
ldr x11, [x26, #16]
cbz x11, LBB0_116
; %bb.115: ; in Loop: Header=BB0_4 Depth=1
ldr w12, [sp, #28]
ldr x11, [x11, #128]
ldr w11, [x11, #8]
cmp w12, w11
b.hs LBB0_106
b LBB0_117
LBB0_116: ; in Loop: Header=BB0_4 Depth=1
ldr w11, [x8, #8]
ldr w12, [x8, #16]
cmp w11, w12
b.ne LBB0_106
LBB0_117: ; in Loop: Header=BB0_4 Depth=1
cbnz w10, LBB0_121
; %bb.118: ; in Loop: Header=BB0_4 Depth=1
Lloh155:
adrp x10, _SEC_THREAD_LOCAL@GOTPAGE
Lloh156:
ldr x10, [x10, _SEC_THREAD_LOCAL@GOTPAGEOFF]
Lloh157:
ldr w10, [x10]
and w11, w10, w9
LBB0_119: ; in Loop: Header=BB0_4 Depth=1
cbz w11, LBB0_121
; %bb.120: ; in Loop: Header=BB0_4 Depth=1
Lloh158:
adrp x9, _link_info@GOTPAGE
Lloh159:
ldr x9, [x9, _link_info@GOTPAGEOFF]
Lloh160:
ldr w9, [x9, #8]
cbz w9, LBB0_122
LBB0_121: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x8, #4]
bl _TO_ADDR
ldr w8, [sp, #28]
add w8, w8, w0
str w8, [sp, #28]
LBB0_122: ; in Loop: Header=BB0_4 Depth=1
ldr x0, [x23, #176]
cbz x0, LBB0_124
; %bb.123: ; in Loop: Header=BB0_4 Depth=1
Lloh161:
adrp x8, _bfd_abs_section_ptr@GOTPAGE
Lloh162:
ldr x8, [x8, _bfd_abs_section_ptr@GOTPAGEOFF]
Lloh163:
ldr x1, [x8]
add x2, sp, #28
bl _exp_fold_tree
LBB0_124: ; in Loop: Header=BB0_4 Depth=1
ldr x1, [x23, #160]
cbz x1, LBB0_89
; %bb.125: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
ldr w9, [x8]
Lloh164:
adrp x10, _SEC_NEVER_LOAD@GOTPAGE
Lloh165:
ldr x10, [x10, _SEC_NEVER_LOAD@GOTPAGEOFF]
Lloh166:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_127
; %bb.126: ; in Loop: Header=BB0_4 Depth=1
Lloh167:
adrp x10, _SEC_ALLOC@GOTPAGE
Lloh168:
ldr x10, [x10, _SEC_ALLOC@GOTPAGEOFF]
Lloh169:
ldr w10, [x10]
Lloh170:
adrp x11, _SEC_LOAD@GOTPAGE
Lloh171:
ldr x11, [x11, _SEC_LOAD@GOTPAGEOFF]
Lloh172:
ldr w11, [x11]
orr w10, w11, w10
tst w10, w9
b.eq LBB0_89
LBB0_127: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [sp, #28]
str w9, [x1, #8]
cbz x19, LBB0_129
; %bb.128: ; in Loop: Header=BB0_4 Depth=1
ldr x2, [x23, #168]
ldr w3, [x8, #8]
mov x0, x28
bl _os_region_check
LBB0_129: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #152]
cbz x8, LBB0_89
; %bb.130: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x23, #160]
cmp x8, x9
b.eq LBB0_89
; %bb.131: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
ldr w25, [x8, #16]
ldr w0, [x8, #4]
bl _TO_ADDR
add w8, w0, w25
ldr x1, [x23, #152]
str w8, [x1, #8]
cbz x19, LBB0_89
; %bb.132: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x23, #128]
ldr w3, [x8, #16]
mov x0, x28
mov x2, #0 ; =0x0
bl _os_region_check
b LBB0_89
LBB0_133:
ldr w4, [sp, #28]
LBB0_134:
mov x0, x4
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_135:
bl _abort
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61
.loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67
.loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64
.loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85
.loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82
.loh AdrpAdd Lloh86, Lloh87
.loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90
.loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93
.loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96
.loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99
.loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108
.loh AdrpLdrGotLdr Lloh103, Lloh104, Lloh105
.loh AdrpLdrGotLdr Lloh116, Lloh117, Lloh118
.loh AdrpAdd Lloh114, Lloh115
.loh AdrpAdd Lloh112, Lloh113
.loh AdrpLdrGotLdr Lloh109, Lloh110, Lloh111
.loh AdrpLdrGotLdr Lloh119, Lloh120, Lloh121
.loh AdrpAdd Lloh122, Lloh123
.loh AdrpLdrGotLdr Lloh124, Lloh125, Lloh126
.loh AdrpLdrGot Lloh127, Lloh128
.loh AdrpLdrGotLdr Lloh132, Lloh133, Lloh134
.loh AdrpLdrGotLdr Lloh129, Lloh130, Lloh131
.loh AdrpLdrGotLdr Lloh135, Lloh136, Lloh137
.loh AdrpLdrGotLdr Lloh138, Lloh139, Lloh140
.loh AdrpLdrGotLdr Lloh141, Lloh142, Lloh143
.loh AdrpLdrGotLdr Lloh144, Lloh145, Lloh146
.loh AdrpLdrGotLdr Lloh147, Lloh148, Lloh149
.loh AdrpLdrGotLdr Lloh150, Lloh151, Lloh152
.loh AdrpAdd Lloh153, Lloh154
.loh AdrpLdrGotLdr Lloh155, Lloh156, Lloh157
.loh AdrpLdrGotLdr Lloh158, Lloh159, Lloh160
.loh AdrpLdrGotLdr Lloh161, Lloh162, Lloh163
.loh AdrpLdrGotLdr Lloh164, Lloh165, Lloh166
.loh AdrpLdrGotLdr Lloh170, Lloh171, Lloh172
.loh AdrpLdrGotLdr Lloh167, Lloh168, Lloh169
.cfi_endproc
.section __TEXT,__const
.p2align 1, 0x0
lJTI0_0:
.short (LBB0_6-LBB0_2)>>2
.short (LBB0_3-LBB0_2)>>2
.short (LBB0_22-LBB0_2)>>2
.short (LBB0_17-LBB0_2)>>2
.short (LBB0_3-LBB0_2)>>2
.short (LBB0_31-LBB0_2)>>2
.short (LBB0_2-LBB0_2)>>2
.short (LBB0_3-LBB0_2)>>2
.short (LBB0_24-LBB0_2)>>2
.short (LBB0_46-LBB0_2)>>2
.short (LBB0_16-LBB0_2)>>2
.short (LBB0_18-LBB0_2)>>2
.short (LBB0_45-LBB0_2)>>2
.short (LBB0_7-LBB0_2)>>2
.short (LBB0_3-LBB0_2)>>2
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _bfd_abs_section_ptr,8,3 ; @bfd_abs_section_ptr
.comm _expld,32,3 ; @expld
.comm _lang_mark_phase_enum,4,2 ; @lang_mark_phase_enum
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%F%S: non constant or forward reference address expression for section %s\n"
.comm _output_bfd,4,2 ; @output_bfd
.comm _bfd_target_ecoff_flavour,4,2 ; @bfd_target_ecoff_flavour
.comm _bfd_target_coff_flavour,4,2 ; @bfd_target_coff_flavour
.comm _SEC_COFF_SHARED_LIBRARY,4,2 ; @SEC_COFF_SHARED_LIBRARY
l_.str.1: ; @.str.1
.asciz "%P%X: Internal error on COFF shared library section %s\n"
.comm _SEC_ALLOC,4,2 ; @SEC_ALLOC
.comm _SEC_LOAD,4,2 ; @SEC_LOAD
.comm _DEFAULT_MEMORY_REGION,4,2 ; @DEFAULT_MEMORY_REGION
.comm _link_info,16,3 ; @link_info
.comm _lang_memory_region_list,8,3 ; @lang_memory_region_list
.comm _command_line,4,2 ; @command_line
l_.str.2: ; @.str.2
.asciz "%P%F: error: no memory region specified for loadable section `%s'\n"
l_.str.3: ; @.str.3
.asciz "%P: warning: no memory region specified for loadable section `%s'\n"
.comm _config,4,2 ; @config
l_.str.4: ; @.str.4
.asciz "%P: warning: changing start of section %s by %lu bytes\n"
.comm _TRUE,8,3 ; @TRUE
l_.str.5: ; @.str.5
.asciz "load base"
l_.str.6: ; @.str.6
.asciz "%P: warning: dot moved backwards before `%s'\n"
.comm _overlay_section,4,2 ; @overlay_section
.comm _SEC_HAS_CONTENTS,4,2 ; @SEC_HAS_CONTENTS
.comm _SEC_THREAD_LOCAL,4,2 ; @SEC_THREAD_LOCAL
.comm _SEC_NEVER_LOAD,4,2 ; @SEC_NEVER_LOAD
.comm _constructor_list,8,3 ; @constructor_list
.comm _QUAD_SIZE,4,2 ; @QUAD_SIZE
.comm _LONG_SIZE,4,2 ; @LONG_SIZE
.comm _SHORT_SIZE,4,2 ; @SHORT_SIZE
.comm _BYTE_SIZE,4,2 ; @BYTE_SIZE
l_.str.7: ; @.str.7
.asciz "%P%F: can't relax section: %E\n"
.comm _etree_provided,4,2 ; @etree_provided
.comm _etree_assign,4,2 ; @etree_assign
.comm _abs_output_section,8,3 ; @abs_output_section
.no_dead_strip _lang_size_sections_1
.section __DATA,__const
.p2align 3, 0x0 ; @switch.table.lang_size_sections_1
l_switch.table.lang_size_sections_1:
.quad _QUAD_SIZE
.quad _SHORT_SIZE
.quad _QUAD_SIZE
.quad _LONG_SIZE
.quad _BYTE_SIZE
.subsections_via_symbols
| assembly_file_112405.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function read_number
_read_number: ## @read_number
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edi, %r13d
xorl %eax, %eax
callq _make_buffer
movq %rax, %rbx
movq %rax, %rdi
movl %r13d, %esi
callq _buf_write
leaq L_.str(%rip), %r14
leaq L_.str.1(%rip), %r15
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
movl %r12d, %esi
callq _buf_write
movl %r12d, %r13d
LBB0_1: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _readc
movl %eax, %r12d
movsbl %r13b, %esi
movq %r14, %rdi
callq _strchr
movb $1, %r13b
testq %rax, %rax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq %r15, %rdi
movl %r12d, %esi
callq _strchr
testq %rax, %rax
setne %r13b
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leal -48(%r12), %eax
cmpl $10, %eax
jb LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl %r12d, %edi
callq _isalpha
testl %eax, %eax
setne %al
cmpl $46, %r12d
sete %cl
orb %r13b, %cl
orb %al, %cl
testb $1, %cl
jne LBB0_5
## %bb.6:
movl %r12d, %edi
callq _unreadc
movq %rbx, %rdi
xorl %esi, %esi
callq _buf_write
movq %rbx, %rdi
callq _buf_body
movl %eax, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _make_number ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "eEpP"
L_.str.1: ## @.str.1
.asciz "+-"
.no_dead_strip _read_number
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function read_number
_read_number: ; @read_number
.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 x23, x0
bl _make_buffer
mov x19, x0
mov x1, x23
bl _buf_write
Lloh0:
adrp x20, l_.str@PAGE
Lloh1:
add x20, x20, l_.str@PAGEOFF
mov w24, #46 ; =0x2e
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
mov x0, x19
mov x1, x22
bl _buf_write
mov x23, x22
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _readc
mov x22, x0
sxtb w1, w23
mov x0, x20
bl _strchr
cbz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov w23, #1 ; =0x1
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
mov x1, x22
bl _strchr
cmp x0, #0
cset w23, ne
LBB0_5: ; in Loop: Header=BB0_2 Depth=1
sub w8, w22, #48
cmp w8, #10
b.lo LBB0_1
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
mov x0, x22
bl _isalpha
cmp w0, #0
ccmp w22, w24, #4, eq
cset w8, eq
orr w8, w8, w23
tbnz w8, #0, LBB0_1
; %bb.7:
mov x0, x22
bl _unreadc
mov x0, x19
mov w1, #0 ; =0x0
bl _buf_write
mov x0, x19
bl _buf_body
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _make_number
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "eEpP"
l_.str.1: ; @.str.1
.asciz "+-"
.no_dead_strip _read_number
.subsections_via_symbols
| assembly_file_101168.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function my_psort
_my_psort: ## @my_psort
.cfi_startproc
## %bb.0:
## kill: def $edi killed $edi def $rdi
cmpl %esi, %edi
jge LBB0_11
## %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
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %ebx
movq _P@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leal (%rbx,%rdi), %edx
sarl %edx
movslq %edx, %rsi
shlq $4, %rsi
movq (%rcx,%rsi), %rdx
movq 8(%rcx,%rsi), %r8
movl %edi, %r14d
movl %ebx, %esi
jmp LBB0_2
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
cmpl %esi, %r14d
jg LBB0_10
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movslq %r14d, %r9
shlq $4, %r9
addq %rcx, %r9
movslq %esi, %r10
shlq $4, %r10
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
decl %esi
addq $-16, %r10
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rdx, (%rcx,%r10)
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
cmpq %r8, 8(%rcx,%r10)
jg LBB0_6
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
cmpl %esi, %r14d
jg LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
addq %r10, %rcx
movups (%r9), %xmm0
movaps %xmm0, -32(%rbp)
incl %r14d
movups (%rcx), %xmm0
movups %xmm0, (%r9)
movq (%rax), %rcx
decl %esi
movaps -32(%rbp), %xmm0
movups %xmm0, (%rcx,%r10)
movq (%rax), %rcx
jmp LBB0_9
LBB0_11:
retq
LBB0_10:
## kill: def $edi killed $edi killed $rdi
callq _my_psort
movl %r14d, %edi
movl %ebx, %esi
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
jmp _my_psort ## TAILCALL
.cfi_endproc
## -- End function
.comm _P,8,3 ## @P
.no_dead_strip _my_psort
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function my_psort
_my_psort: ; @my_psort
.cfi_startproc
; %bb.0:
sub sp, sp, #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
cmp w0, w1
b.ge LBB0_10
; %bb.1:
Lloh0:
adrp x8, _P@GOTPAGE
Lloh1:
ldr x8, [x8, _P@GOTPAGEOFF]
ldr x11, [x8]
add w9, w1, w0
asr w9, w9, #1
add x10, x11, w9, sxtw #4
ldp x9, x10, [x10]
mov x20, x0
mov x19, x1
; kill: def $w1 killed $w1 def $x1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
cmp w20, w1
b.gt LBB0_11
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
sbfiz x12, x1, #4, #32
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
sub w1, w1, #1
sub x12, x12, #16
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr x13, [x11, x12]
cmp x13, x9
b.gt LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
b.ne LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=2
add x13, x11, x12
ldr x13, [x13, #8]
cmp x13, x10
b.gt LBB0_4
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
cmp w20, w1
b.gt LBB0_2
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr q0, [x11, w20, sxtw #4]
str q0, [sp]
ldr q0, [x11, x12]
str q0, [x11, w20, sxtw #4]
add w20, w20, #1
ldr x11, [x8]
sub w1, w1, #1
ldr q0, [sp]
str q0, [x11, x12]
ldr x11, [x8]
b LBB0_2
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_11:
; kill: def $w1 killed $w1 killed $x1
bl _my_psort
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _my_psort
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _P,8,3 ; @P
.no_dead_strip _my_psort
.subsections_via_symbols
| assembly_file_175586.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fallback_get_hosts
_fallback_get_hosts: ## @fallback_get_hosts
.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
movl %r8d, -72(%rbp) ## 4-byte Spill
movl %ecx, -68(%rbp) ## 4-byte Spill
movq %rdx, %r15
movq %rsi, %rbx
movl %edi, %r14d
movq %rsp, -64(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq $0, -56(%rbp)
movq _NI_MAXSERV@GOTPCREL(%rip), %rax
movl (%rax), %r13d
movq %r13, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movl (%rbx), %ecx
movl 8(%rbx), %r8d
leaq L_.str(%rip), %rdx
movl %r14d, %edi
movl $2, %esi
movq %r15, %r9
callq __krb5_debug
movl (%rbx), %ecx
cmpl $5, %ecx
jge LBB0_1
## %bb.2:
movl 8(%rbx), %r8d
testl %ecx, %ecx
je LBB0_3
## %bb.4:
leaq L_.str.2(%rip), %rsi
leaq -56(%rbp), %rdi
movq %r15, %rdx
xorl %eax, %eax
callq _asprintf
jmp LBB0_5
LBB0_3:
leaq L_.str.1(%rip), %rsi
leaq -56(%rbp), %rdi
movq %r15, %rdx
movl %r8d, %ecx
xorl %eax, %eax
callq _asprintf
LBB0_5:
testl %eax, %eax
movl -72(%rbp), %esi ## 4-byte Reload
js LBB0_7
## %bb.6:
cmpq $0, -56(%rbp)
je LBB0_7
## %bb.8:
leaq -80(%rbp), %r14
movq %r14, %rdi
callq _make_hints
leaq L_.str.3(%rip), %rdx
movq %r12, %rdi
movl %r13d, %esi
movl -68(%rbp), %ecx ## 4-byte Reload
callq _snprintf
movq -56(%rbp), %rdi
leaq -88(%rbp), %rcx
movq %r12, %rsi
movq %r14, %rdx
callq _getaddrinfo
movq -56(%rbp), %r15
testl %eax, %eax
je LBB0_10
## %bb.9:
movq %r15, %rdi
callq _free
LBB0_1:
movq _KD_FALLBACK@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 4(%rbx)
LBB0_13:
xorl %eax, %eax
jmp LBB0_14
LBB0_10:
movq %r15, %rdi
callq _strlen
movq %rax, %r12
leal 32(%rax), %esi
movl $1, %edi
callq _calloc
testq %rax, %rax
je LBB0_11
## %bb.12:
movq %rax, %r13
movl -72(%rbp), %eax ## 4-byte Reload
movl %eax, (%r13)
movl -68(%rbp), %eax ## 4-byte Reload
movl %eax, 8(%r13)
movl %eax, 4(%r13)
movq -88(%rbp), %rax
movq %rax, 24(%r13)
movq 16(%r13), %r14
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq _memmove
movb $0, (%r14,%r12)
movq -56(%rbp), %rdi
callq _free
movq %rbx, %rdi
movq %r13, %rsi
callq _append_host_hostinfo
incl (%rbx)
jmp LBB0_13
LBB0_11:
movq %r15, %rdi
callq _free
LBB0_7:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_14:
movq -64(%rbp), %rcx ## 8-byte Reload
movq %rcx, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_16
## %bb.15:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _NI_MAXSERV,4,2 ## @NI_MAXSERV
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fallback lookup %d for realm %s (service %s)"
.comm _KD_FALLBACK,4,2 ## @KD_FALLBACK
L_.str.1: ## @.str.1
.asciz "%s.%s."
L_.str.2: ## @.str.2
.asciz "%s-%d.%s."
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.3: ## @.str.3
.asciz "%d"
.no_dead_strip _fallback_get_hosts
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fallback_get_hosts
_fallback_get_hosts: ; @fallback_get_hosts
.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
sub sp, sp, #32
mov x20, x4
mov x21, x3
mov x24, x2
mov x19, x1
mov x25, sp
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
stur xzr, [x29, #-80]
Lloh3:
adrp x8, _NI_MAXSERV@GOTPAGE
Lloh4:
ldr x8, [x8, _NI_MAXSERV@GOTPAGEOFF]
Lloh5:
ldr w23, [x8]
mov x9, x23
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x23, #15
and x9, x9, #0x1fffffff0
sub x22, x8, x9
mov sp, x22
ldr w3, [x1]
ldr w4, [x1, #8]
Lloh8:
adrp x2, l_.str@PAGE
Lloh9:
add x2, x2, l_.str@PAGEOFF
mov w1, #2
mov x5, x24
bl __krb5_debug
ldr w3, [x19]
cmp w3, #5
b.ge LBB0_7
; %bb.1:
ldr w8, [x19, #8]
cbz w3, LBB0_3
; %bb.2:
str x8, [sp, #-16]!
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
sub x0, x29, #80
mov x2, x24
bl _asprintf
add sp, sp, #16
tbz w0, #31, LBB0_4
b LBB0_11
LBB0_3:
Lloh12:
adrp x1, l_.str.1@PAGE
Lloh13:
add x1, x1, l_.str.1@PAGEOFF
sub x0, x29, #80
mov x2, x24
mov x3, x8
bl _asprintf
tbnz w0, #31, LBB0_11
LBB0_4:
ldur x8, [x29, #-80]
cbz x8, LBB0_11
; %bb.5:
sub x0, x29, #96
mov x1, x20
bl _make_hints
Lloh14:
adrp x2, l_.str.3@PAGE
Lloh15:
add x2, x2, l_.str.3@PAGEOFF
mov x0, x22
mov x1, x23
mov x3, x21
bl _snprintf
ldur x0, [x29, #-80]
sub x2, x29, #96
sub x3, x29, #88
mov x1, x22
bl _getaddrinfo
ldur x22, [x29, #-80]
cbz w0, LBB0_8
; %bb.6:
mov x0, x22
bl _free
LBB0_7:
mov w0, #0
Lloh16:
adrp x8, _KD_FALLBACK@GOTPAGE
Lloh17:
ldr x8, [x8, _KD_FALLBACK@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
ldr w9, [x19, #4]
orr w8, w9, w8
str w8, [x19, #4]
b LBB0_12
LBB0_8:
mov x0, x22
bl _strlen
mov x23, x0
add w1, w23, #32
mov w0, #1
bl _calloc
cbz x0, LBB0_10
; %bb.9:
mov x24, x0
stp w21, w21, [x0, #4]
str w20, [x0]
ldur x8, [x29, #-88]
str x8, [x0, #24]
ldr x20, [x0, #16]
mov x0, x20
mov x1, x22
mov x2, x23
bl _memmove
strb wzr, [x20, x23]
ldur x0, [x29, #-80]
bl _free
mov x0, x19
mov x1, x24
bl _append_host_hostinfo
mov w0, #0
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
b LBB0_12
LBB0_10:
mov x0, x22
bl _free
LBB0_11:
Lloh19:
adrp x8, _ENOMEM@GOTPAGE
Lloh20:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
ldr w0, [x8]
LBB0_12:
mov sp, x25
ldur x8, [x29, #-72]
Lloh22:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh23:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_14
; %bb.13:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_14:
bl ___stack_chk_fail
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _NI_MAXSERV,4,2 ; @NI_MAXSERV
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fallback lookup %d for realm %s (service %s)"
.comm _KD_FALLBACK,4,2 ; @KD_FALLBACK
l_.str.1: ; @.str.1
.asciz "%s.%s."
l_.str.2: ; @.str.2
.asciz "%s-%d.%s."
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.3: ; @.str.3
.asciz "%d"
.no_dead_strip _fallback_get_hosts
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/lib/krb5/extr_krbhst.c_fallback_get_hosts.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tcp_dsack_extend
_tcp_dsack_extend: ## @tcp_dsack_extend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
callq _tcp_sk
cmpl $0, 4(%rax)
je LBB0_1
## %bb.2:
movl (%rax), %edi
movl %r15d, %esi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _tcp_sack_extend ## TAILCALL
LBB0_1:
movq %rbx, %rdi
movl %r15d, %esi
movl %r14d, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _tcp_dsack_set ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _tcp_dsack_extend
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tcp_dsack_extend
_tcp_dsack_extend: ; @tcp_dsack_extend
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x1
mov x21, x0
bl _tcp_sk
ldr w8, [x0, #4]
cbz w8, LBB0_2
; %bb.1:
ldr w0, [x0]
mov x1, x20
mov x2, 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 _tcp_sack_extend
LBB0_2:
mov x0, x21
mov x1, x20
mov x2, 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 _tcp_dsack_set
.cfi_endproc
; -- End function
.no_dead_strip _tcp_dsack_extend
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/ipv4/extr_tcp_input.c_tcp_dsack_extend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ihex_set_section_contents
_ihex_set_section_contents: ## @ihex_set_section_contents
.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 _TRUE@GOTPCREL(%rip), %r15
testq %r8, %r8
je LBB0_19
## %bb.1:
movq %rdx, %r14
movq %rsi, %r13
movl (%rsi), %eax
movq _SEC_ALLOC@GOTPCREL(%rip), %rdx
testl %eax, (%rdx)
je LBB0_19
## %bb.2:
movq _SEC_LOAD@GOTPCREL(%rip), %rdx
testl %eax, (%rdx)
je LBB0_19
## %bb.3:
movq %r8, %rbx
movq %rdi, %r12
movq %rcx, -56(%rbp) ## 8-byte Spill
movl $32, %esi
callq _bfd_alloc
movq _FALSE@GOTPCREL(%rip), %r15
testq %rax, %rax
je LBB0_19
## %bb.4:
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r12, %rdi
movq %rbx, %rsi
callq _bfd_alloc
testq %rax, %rax
je LBB0_19
## %bb.5:
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %rax, %r14
callq _memcpy
movq -48(%rbp), %rsi ## 8-byte Reload
movq %r14, 24(%rsi)
movq -56(%rbp), %rdi ## 8-byte Reload
addq 8(%r13), %rdi
movq %rdi, (%rsi)
movq %rbx, 16(%rsi)
movq (%r12), %rax
movq (%rax), %rcx
testq %rcx, %rcx
je LBB0_7
## %bb.6:
cmpq (%rcx), %rdi
jge LBB0_12
LBB0_7:
leaq 8(%rax), %rcx
movq 8(%rax), %rdx
testq %rdx, %rdx
je LBB0_13
## %bb.8:
cmpq %rdi, (%rdx)
jge LBB0_14
## %bb.9:
movq _TRUE@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rcx
movq 8(%rdx), %rdx
testq %rdx, %rdx
je LBB0_15
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
cmpq %rdi, (%rdx)
jl LBB0_10
jmp LBB0_16
LBB0_12:
movq %rsi, 8(%rcx)
movq $0, 8(%rsi)
movq _TRUE@GOTPCREL(%rip), %r15
jmp LBB0_18
LBB0_13:
xorl %edx, %edx
LBB0_14:
movq _TRUE@GOTPCREL(%rip), %r15
jmp LBB0_17
LBB0_15:
xorl %edx, %edx
LBB0_16:
addq $8, %rcx
LBB0_17:
movq %rdx, 8(%rsi)
movq %rsi, (%rcx)
cmpq $0, 8(%rsi)
jne LBB0_19
LBB0_18:
movq %rsi, (%rax)
LBB0_19:
movl (%r15), %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SEC_ALLOC,4,2 ## @SEC_ALLOC
.comm _SEC_LOAD,4,2 ## @SEC_LOAD
.comm _TRUE,4,2 ## @TRUE
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _ihex_set_section_contents
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ihex_set_section_contents
_ihex_set_section_contents: ; @ihex_set_section_contents
.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
cbz x4, LBB0_16
; %bb.1:
mov x23, x1
ldr w8, [x1]
Lloh0:
adrp x9, _SEC_ALLOC@GOTPAGE
Lloh1:
ldr x9, [x9, _SEC_ALLOC@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_16
; %bb.2:
Lloh3:
adrp x9, _SEC_LOAD@GOTPAGE
Lloh4:
ldr x9, [x9, _SEC_LOAD@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
tst w9, w8
b.eq LBB0_16
; %bb.3:
mov x20, x4
mov x22, x3
mov x24, x2
mov x21, x0
mov w1, #32
bl _bfd_alloc
cbz x0, LBB0_13
; %bb.4:
mov x19, x0
mov x0, x21
mov x1, x20
bl _bfd_alloc
cbz x0, LBB0_13
; %bb.5:
mov x25, x0
mov x1, x24
mov x2, x20
bl _memcpy
ldr x8, [x23, #8]
add x9, x8, x22
str x9, [x19]
stp x20, x25, [x19, #16]
ldr x8, [x21]
ldr x10, [x8]
cbz x10, LBB0_7
; %bb.6:
ldr x11, [x10]
cmp x9, x11
b.ge LBB0_14
LBB0_7:
mov x11, x8
ldr x10, [x11, #8]!
cbz x10, LBB0_12
; %bb.8:
ldr x12, [x10]
cmp x12, x9
b.ge LBB0_12
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x11, x10
ldr x10, [x10, #8]
cbz x10, LBB0_11
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
ldr x12, [x10]
cmp x12, x9
b.lt LBB0_9
LBB0_11:
add x11, x11, #8
LBB0_12:
str x10, [x19, #8]
str x19, [x11]
ldr x9, [x19, #8]
cbnz x9, LBB0_16
b LBB0_15
LBB0_13:
Lloh6:
adrp x8, _FALSE@GOTPAGE
Lloh7:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
b LBB0_17
LBB0_14:
str x19, [x10, #8]
str xzr, [x19, #8]
LBB0_15:
str x19, [x8]
LBB0_16:
Lloh8:
adrp x8, _TRUE@GOTPAGE
Lloh9:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_17:
ldr w0, [x8]
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 Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _SEC_ALLOC,4,2 ; @SEC_ALLOC
.comm _SEC_LOAD,4,2 ; @SEC_LOAD
.comm _TRUE,4,2 ; @TRUE
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _ihex_set_section_contents
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/bfd/extr_ihex.c_ihex_set_section_contents.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function imx8_get_reply
_imx8_get_reply: ## @imx8_get_reply
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq 8(%rdi), %r14
testq %r14, %r14
je LBB0_8
## %bb.1:
movl (%rbx), %esi
leaq -32(%rbp), %rdx
movq %rbx, %rdi
movl $8, %ecx
callq _sof_mailbox_read
cmpl $0, -32(%rbp)
js LBB0_2
## %bb.3:
movl -28(%rbp), %ecx
movl (%r14), %edx
xorl %r15d, %r15d
cmpl %edx, %ecx
je LBB0_5
## %bb.4:
movl 4(%rbx), %edi
leaq L_.str.1(%rip), %rsi
callq _dev_err
movq _EINVAL@GOTPCREL(%rip), %rax
xorl %r15d, %r15d
subl (%rax), %r15d
movl (%r14), %ecx
LBB0_5:
testl %ecx, %ecx
jle LBB0_7
## %bb.6:
movl (%rbx), %esi
movq 8(%r14), %rdx
movq %rbx, %rdi
callq _sof_mailbox_read
jmp LBB0_7
LBB0_8:
movl 4(%rbx), %edi
leaq L_.str(%rip), %rsi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _dev_warn ## TAILCALL
LBB0_2:
movq 8(%r14), %rdi
leaq -32(%rbp), %rsi
movl $8, %edx
callq _memcpy
movl -32(%rbp), %r15d
LBB0_7:
movl %r15d, 4(%r14)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "unexpected ipc interrupt\n"
L_.str.1: ## @.str.1
.asciz "error: reply expected %zu got %u bytes\n"
.comm _EINVAL,4,2 ## @EINVAL
.no_dead_strip _imx8_get_reply
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function imx8_get_reply
_imx8_get_reply: ; @imx8_get_reply
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
ldr x20, [x0, #8]
cbz x20, LBB0_4
; %bb.1:
ldr w1, [x19]
add x2, sp, #8
mov x0, x19
mov w3, #8
bl _sof_mailbox_read
ldr w8, [sp, #8]
tbnz w8, #31, LBB0_5
; %bb.2:
ldr w3, [sp, #12]
ldr w2, [x20]
cmp w3, w2
b.ne LBB0_6
; %bb.3:
mov w21, #0
cmp w3, #1
b.ge LBB0_7
b LBB0_8
LBB0_4:
ldr w0, [x19, #4]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _dev_warn
LBB0_5:
ldr x0, [x20, #8]
add x1, sp, #8
mov w2, #8
bl _memcpy
ldr w21, [sp, #8]
b LBB0_8
LBB0_6:
ldr w0, [x19, #4]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _dev_err
Lloh4:
adrp x8, _EINVAL@GOTPAGE
Lloh5:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
neg w21, w8
ldr w3, [x20]
cmp w3, #1
b.lt LBB0_8
LBB0_7:
ldr w1, [x19]
ldr x2, [x20, #8]
mov x0, x19
bl _sof_mailbox_read
LBB0_8:
str w21, [x20, #4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "unexpected ipc interrupt\n"
l_.str.1: ; @.str.1
.asciz "error: reply expected %zu got %u bytes\n"
.comm _EINVAL,4,2 ; @EINVAL
.no_dead_strip _imx8_get_reply
.subsections_via_symbols
| AnghaBench/linux/sound/soc/sof/imx/extr_imx8.c_imx8_get_reply.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pretimeout_panic
_pretimeout_panic: ## @pretimeout_panic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
popq %rbp
jmp _panic ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "watchdog pretimeout event\n"
.no_dead_strip _pretimeout_panic
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pretimeout_panic
_pretimeout_panic: ; @pretimeout_panic
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b _panic
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "watchdog pretimeout event\n"
.no_dead_strip _pretimeout_panic
.subsections_via_symbols
| AnghaBench/linux/drivers/watchdog/extr_pretimeout_panic.c_pretimeout_panic.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function handle_watch_command
_handle_watch_command: ## @handle_watch_command
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq (%rsi), %rcx
movq _CMD_ADD_WATCH@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_8
## %bb.1:
movl (%rax), %edi
movl 8(%rbx), %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq _g_hash_table_lookup_extended
testq %rax, %rax
jne LBB0_2
## %bb.4:
movl 8(%rbx), %esi
movl 12(%rbx), %edx
movq %r14, %rdi
callq _handle_add_repo
movl 8(%rbx), %esi
testq %rax, %rax
js LBB0_5
## %bb.7:
leaq L_.str.1(%rip), %rdi
callq _seaf_debug
jmp LBB0_2
LBB0_8:
movq _CMD_DELETE_WATCH@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_13
## %bb.9:
movl (%rax), %edi
movl 8(%rbx), %esi
leaq -24(%rbp), %rdx
leaq -20(%rbp), %rcx
callq _g_hash_table_lookup_extended
testq %rax, %rax
je LBB0_11
## %bb.10:
movl 8(%rbx), %esi
movl -20(%rbp), %edx
movq %r14, %rdi
callq _handle_rm_repo
LBB0_11:
movq %r14, %rdi
xorl %esi, %esi
callq _reply_watch_command
jmp LBB0_12
LBB0_13:
movq _CMD_REFRESH_WATCH@GOTPCREL(%rip), %rax
cmpq (%rax), %rcx
jne LBB0_12
## %bb.14:
movl 8(%rbx), %esi
movq %r14, %rdi
callq _handle_refresh_repo
testq %rax, %rax
js LBB0_15
LBB0_2:
movq %r14, %rdi
xorl %esi, %esi
LBB0_3:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
jmp _reply_watch_command ## TAILCALL
LBB0_12:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_5:
leaq L_.str(%rip), %rdi
jmp LBB0_6
LBB0_15:
movl 8(%rbx), %esi
leaq L_.str.2(%rip), %rdi
LBB0_6:
callq _seaf_warning
movq %r14, %rdi
movl $-1, %esi
jmp LBB0_3
.cfi_endproc
## -- End function
.comm _CMD_ADD_WATCH,8,3 ## @CMD_ADD_WATCH
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[wt mon] failed to watch worktree of repo %s.\n"
L_.str.1: ## @.str.1
.asciz "[wt mon] add watch for repo %s\n"
.comm _CMD_DELETE_WATCH,8,3 ## @CMD_DELETE_WATCH
.comm _CMD_REFRESH_WATCH,8,3 ## @CMD_REFRESH_WATCH
L_.str.2: ## @.str.2
.asciz "[wt mon] failed to refresh watch of repo %s.\n"
.no_dead_strip _handle_watch_command
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function handle_watch_command
_handle_watch_command: ; @handle_watch_command
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
ldr x8, [x0]
ldr x9, [x1]
Lloh0:
adrp x10, _CMD_ADD_WATCH@GOTPAGE
Lloh1:
ldr x10, [x10, _CMD_ADD_WATCH@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_4
; %bb.1:
ldr w0, [x8]
ldr w1, [x20, #8]
mov x2, #0
mov x3, #0
bl _g_hash_table_lookup_extended
cbnz x0, LBB0_10
; %bb.2:
ldp w1, w2, [x20, #8]
mov x0, x19
bl _handle_add_repo
ldr w1, [x20, #8]
tbnz x0, #63, LBB0_13
; %bb.3:
Lloh3:
adrp x0, l_.str.1@PAGE
Lloh4:
add x0, x0, l_.str.1@PAGEOFF
bl _seaf_debug
b LBB0_10
LBB0_4:
Lloh5:
adrp x10, _CMD_DELETE_WATCH@GOTPAGE
Lloh6:
ldr x10, [x10, _CMD_DELETE_WATCH@GOTPAGEOFF]
Lloh7:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_8
; %bb.5:
ldr w0, [x8]
ldr w1, [x20, #8]
add x2, sp, #12
add x3, sp, #8
bl _g_hash_table_lookup_extended
cbz x0, LBB0_7
; %bb.6:
ldr w1, [x20, #8]
ldr w2, [sp, #8]
mov x0, x19
bl _handle_rm_repo
LBB0_7:
mov x0, x19
mov w1, #0
bl _reply_watch_command
b LBB0_12
LBB0_8:
Lloh8:
adrp x8, _CMD_REFRESH_WATCH@GOTPAGE
Lloh9:
ldr x8, [x8, _CMD_REFRESH_WATCH@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
cmp x9, x8
b.ne LBB0_12
; %bb.9:
ldr w1, [x20, #8]
mov x0, x19
bl _handle_refresh_repo
tbnz x0, #63, LBB0_14
LBB0_10:
mov x0, x19
mov w1, #0
LBB0_11:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
b _reply_watch_command
LBB0_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_13:
Lloh11:
adrp x0, l_.str@PAGE
Lloh12:
add x0, x0, l_.str@PAGEOFF
b LBB0_15
LBB0_14:
ldr w1, [x20, #8]
Lloh13:
adrp x0, l_.str.2@PAGE
Lloh14:
add x0, x0, l_.str.2@PAGEOFF
LBB0_15:
bl _seaf_warning
mov x0, x19
mov w1, #-1
b LBB0_11
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _CMD_ADD_WATCH,8,3 ; @CMD_ADD_WATCH
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[wt mon] failed to watch worktree of repo %s.\n"
l_.str.1: ; @.str.1
.asciz "[wt mon] add watch for repo %s\n"
.comm _CMD_DELETE_WATCH,8,3 ; @CMD_DELETE_WATCH
.comm _CMD_REFRESH_WATCH,8,3 ; @CMD_REFRESH_WATCH
l_.str.2: ; @.str.2
.asciz "[wt mon] failed to refresh watch of repo %s.\n"
.no_dead_strip _handle_watch_command
.subsections_via_symbols
| AnghaBench/seafile/daemon/extr_wt-monitor-macos.c_handle_watch_command.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/804952.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function odd_series
LCPI0_0:
.long 0 ## 0x0
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
LCPI0_1:
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
.long 4 ## 0x4
LCPI0_2:
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
.long 1 ## 0x1
LCPI0_3:
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
.long 8 ## 0x8
LCPI0_4:
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
.long 12 ## 0xc
LCPI0_5:
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.long 16 ## 0x10
.section __TEXT,__text,regular,pure_instructions
.globl _odd_series
.p2align 4, 0x90
_odd_series: ## @odd_series
.cfi_startproc
## %bb.0:
testl %edi, %edi
jle LBB0_1
## %bb.2:
xorl %ecx, %ecx
movl $0, %eax
cmpl $8, %edi
jb LBB0_10
## %bb.3:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %ecx
andl $-8, %ecx
leal -8(%rcx), %edx
movl %edx, %eax
shrl $3, %eax
incl %eax
testl %edx, %edx
je LBB0_4
## %bb.5:
movl %eax, %edx
andl $-2, %edx
pxor %xmm8, %xmm8
movdqa LCPI0_0(%rip), %xmm4 ## xmm4 = [0,1,2,3]
movdqa LCPI0_1(%rip), %xmm9 ## xmm9 = [4,4,4,4]
movdqa LCPI0_2(%rip), %xmm6 ## xmm6 = [1,1,1,1]
movdqa LCPI0_3(%rip), %xmm10 ## xmm10 = [8,8,8,8]
movdqa LCPI0_4(%rip), %xmm11 ## xmm11 = [12,12,12,12]
movdqa LCPI0_5(%rip), %xmm5 ## xmm5 = [16,16,16,16]
pxor %xmm1, %xmm1
pxor %xmm3, %xmm3
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movdqa %xmm4, %xmm2
paddd %xmm9, %xmm2
movdqa %xmm4, %xmm0
pand %xmm6, %xmm0
pcmpeqd %xmm8, %xmm0
movdqa %xmm4, %xmm7
blendvps %xmm0, %xmm6, %xmm7
blendvps %xmm0, %xmm6, %xmm2
paddd %xmm1, %xmm7
paddd %xmm3, %xmm2
movdqa %xmm4, %xmm1
paddd %xmm10, %xmm1
movdqa %xmm4, %xmm3
paddd %xmm11, %xmm3
blendvps %xmm0, %xmm6, %xmm1
blendvps %xmm0, %xmm6, %xmm3
paddd %xmm7, %xmm1
paddd %xmm2, %xmm3
paddd %xmm5, %xmm4
addl $-2, %edx
jne LBB0_6
## %bb.7:
testb $1, %al
je LBB0_9
LBB0_8:
movdqa LCPI0_1(%rip), %xmm2 ## xmm2 = [4,4,4,4]
paddd %xmm4, %xmm2
movdqa LCPI0_2(%rip), %xmm5 ## xmm5 = [1,1,1,1]
movdqa %xmm4, %xmm6
pand %xmm5, %xmm6
pxor %xmm0, %xmm0
pcmpeqd %xmm6, %xmm0
blendvps %xmm0, %xmm5, %xmm4
paddd %xmm4, %xmm1
blendvps %xmm0, %xmm5, %xmm2
paddd %xmm2, %xmm3
LBB0_9:
paddd %xmm3, %xmm1
pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3]
paddd %xmm1, %xmm0
pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1]
paddd %xmm0, %xmm1
movd %xmm1, %eax
cmpl %edi, %ecx
popq %rbp
je LBB0_12
LBB0_10:
movl $1, %edx
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
testb $1, %cl
movl %ecx, %esi
cmovel %edx, %esi
addl %esi, %eax
incl %ecx
cmpl %ecx, %edi
jne LBB0_11
LBB0_12:
retq
LBB0_1:
xorl %eax, %eax
retq
LBB0_4:
pxor %xmm1, %xmm1
movdqa LCPI0_0(%rip), %xmm4 ## xmm4 = [0,1,2,3]
pxor %xmm3, %xmm3
testb $1, %al
jne LBB0_8
jmp LBB0_9
.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 odd_series
lCPI0_0:
.long 0 ; 0x0
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.section __TEXT,__text,regular,pure_instructions
.globl _odd_series
.p2align 2
_odd_series: ; @odd_series
.cfi_startproc
; %bb.0:
cmp w0, #1
b.lt LBB0_3
; %bb.1:
cmp w0, #16
b.hs LBB0_4
; %bb.2:
mov w9, #0
mov w8, #0
b LBB0_7
LBB0_3:
mov w0, #0
ret
LBB0_4:
movi.2d v0, #0000000000000000
movi.4s v1, #4
Lloh0:
adrp x8, lCPI0_0@PAGE
Lloh1:
ldr q2, [x8, lCPI0_0@PAGEOFF]
movi.4s v3, #8
and w9, w0, #0xfffffff0
movi.4s v4, #12
movi.4s v5, #1
movi.4s v6, #16
mov x8, x9
movi.2d v7, #0000000000000000
movi.2d v16, #0000000000000000
movi.2d v17, #0000000000000000
LBB0_5: ; =>This Inner Loop Header: Depth=1
add.4s v18, v2, v1
add.4s v19, v2, v3
add.4s v20, v2, v4
and.16b v21, v2, v5
cmeq.4s v21, v21, #0
mov.16b v22, v21
bsl.16b v22, v5, v2
bit.16b v18, v5, v21
bit.16b v19, v5, v21
bit.16b v20, v5, v21
add.4s v0, v22, v0
add.4s v7, v18, v7
add.4s v16, v19, v16
add.4s v17, v20, v17
add.4s v2, v2, v6
subs w8, w8, #16
b.ne LBB0_5
; %bb.6:
add.4s v0, v7, v0
add.4s v0, v16, v0
add.4s v0, v17, v0
addv.4s s0, v0
fmov w8, s0
cmp w9, w0
b.eq LBB0_8
LBB0_7: ; =>This Inner Loop Header: Depth=1
tst w9, #0x1
csinc w10, w9, wzr, ne
add w8, w10, w8
add w9, w9, #1
cmp w0, w9
b.ne LBB0_7
LBB0_8:
mov x0, x8
ret
.loh AdrpLdr Lloh0, Lloh1
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/47928.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sh7705_flush_cache_page
_sh7705_flush_cache_page: ## @sh7705_flush_cache_page
.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
movq _PAGE_SHIFT@GOTPCREL(%rip), %rax
movb (%rax), %cl
shlq %cl, %rdi
popq %rbp
jmp ___flush_dcache_page ## TAILCALL
.cfi_endproc
## -- End function
.comm _PAGE_SHIFT,8,3 ## @PAGE_SHIFT
.no_dead_strip _sh7705_flush_cache_page
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sh7705_flush_cache_page
_sh7705_flush_cache_page: ; @sh7705_flush_cache_page
.cfi_startproc
; %bb.0:
ldr x8, [x0]
Lloh0:
adrp x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
ldr x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
lsl x0, x8, x9
b ___flush_dcache_page
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PAGE_SHIFT,8,3 ; @PAGE_SHIFT
.no_dead_strip _sh7705_flush_cache_page
.subsections_via_symbols
| AnghaBench/linux/arch/sh/mm/extr_cache-sh7705.c_sh7705_flush_cache_page.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read_file_to_array ## -- Begin function read_file_to_array
.p2align 4, 0x90
_read_file_to_array: ## @read_file_to_array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r15d
movl %edx, %ebx
movq %rsi, %r12
movq %rdi, %r13
leaq L_.str(%rip), %rsi
callq _fopen
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rax, %r14
imull %ebx, %r15d
testl %r15d, %r15d
jle LBB0_4
## %bb.2:
movl %r15d, %ebx
leaq L_.str.1(%rip), %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _fscanf
addq $8, %r12
decq %rbx
jne LBB0_3
LBB0_4:
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _fclose ## TAILCALL
LBB0_5:
movq %r13, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _perror ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function function_0_b
LCPI1_0:
.quad 0x4008000000000000 ## double 3
LCPI1_1:
.quad 0x4036000000000000 ## double 22
LCPI1_2:
.quad 0x401c000000000000 ## double 7
LCPI1_3:
.quad 0x4010000000000000 ## double 4
LCPI1_4:
.quad 0x4020000000000000 ## double 8
LCPI1_5:
.quad 0x4022000000000000 ## double 9
LCPI1_6:
.quad 0xbfd0000000000000 ## double -0.25
.section __TEXT,__text,regular,pure_instructions
.globl _function_0_b
.p2align 4, 0x90
_function_0_b: ## @function_0_b
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -24
movsd %xmm1, -40(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movsd %xmm0, -16(%rbp) ## 8-byte Spill
movapd %xmm1, %xmm2
divsd %xmm0, %xmm2
movsd %xmm2, -48(%rbp) ## 8-byte Spill
movsd LCPI1_0(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -16(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movapd %xmm2, %xmm1
mulsd %xmm2, %xmm1
movsd %xmm1, -32(%rbp) ## 8-byte Spill
mulsd LCPI1_0(%rip), %xmm1
mulsd LCPI1_1(%rip), %xmm1
divsd LCPI1_2(%rip), %xmm1
mulsd LCPI1_3(%rip), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -24(%rbp) ## 8-byte Spill
movsd LCPI1_4(%rip), %xmm1 ## xmm1 = mem[0],zero
movapd %xmm2, %xmm0
callq _pow
mulsd LCPI1_5(%rip), %xmm0
addsd -24(%rbp), %xmm0 ## 8-byte Folded Reload
mulsd -40(%rbp), %xmm0 ## 8-byte Folded Reload
addsd (%rbx), %xmm0
movsd -16(%rbp), %xmm5 ## 8-byte Reload
## xmm5 = mem[0],zero
movapd %xmm5, %xmm1
movsd LCPI1_0(%rip), %xmm4 ## xmm4 = mem[0],zero
mulsd %xmm4, %xmm1
addsd -32(%rbp), %xmm1 ## 8-byte Folded Reload
movsd LCPI1_6(%rip), %xmm2 ## xmm2 = mem[0],zero
movapd %xmm5, %xmm3
mulsd %xmm2, %xmm3
addsd %xmm1, %xmm3
movapd %xmm5, %xmm1
divsd %xmm5, %xmm3
addsd %xmm5, %xmm1
subsd %xmm3, %xmm1
addsd %xmm2, %xmm1
addsd %xmm4, %xmm1
mulsd -48(%rbp), %xmm1 ## 8-byte Folded Reload
addsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
addq $40, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI2_0:
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
LCPI2_2:
.quad 0x4008000000000000 ## double 3
.quad 0x4008000000000000 ## double 3
LCPI2_3:
.quad 0x4036000000000000 ## double 22
.quad 0x4036000000000000 ## double 22
LCPI2_4:
.quad 0x401c000000000000 ## double 7
.quad 0x401c000000000000 ## double 7
LCPI2_5:
.quad 0x4010000000000000 ## double 4
.quad 0x4010000000000000 ## double 4
LCPI2_7:
.quad 0x4022000000000000 ## double 9
.quad 0x4022000000000000 ## double 9
LCPI2_8:
.quad 0xbfd0000000000000 ## double -0.25
.quad 0xbfd0000000000000 ## double -0.25
LCPI2_16:
.space 16
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI2_1:
.quad 0x4008000000000000 ## double 3
LCPI2_6:
.quad 0x4020000000000000 ## double 8
LCPI2_9:
.quad 0x3ff0000000000000 ## double 1
LCPI2_10:
.quad 0x4036000000000000 ## double 22
LCPI2_11:
.quad 0x401c000000000000 ## double 7
LCPI2_12:
.quad 0x4010000000000000 ## double 4
LCPI2_13:
.quad 0x4022000000000000 ## double 9
LCPI2_14:
.quad 0xbfd0000000000000 ## double -0.25
LCPI2_15:
.quad 0x3e112e0be826d695 ## double 1.0000000000000001E-9
LCPI2_17:
.quad 0x0000000000000000 ## double 0
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $184, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
movq 8(%rbx), %rdi
leaq -224(%rbp), %r14
movq %r14, %rsi
movl $10, %edx
callq _strtol
movq %rax, %r15
movq 16(%rbx), %rdi
movq %r14, %rsi
movl $10, %edx
callq _strtol
movq %rax, %r13
movq 24(%rbx), %r14
movq 32(%rbx), %rax
movq %rax, -216(%rbp) ## 8-byte Spill
movq %r15, -72(%rbp) ## 8-byte Spill
imull %r15d, %r13d
movslq %r13d, %rbx
shlq $3, %rbx
movq %rbx, %rdi
callq _malloc
movq %rax, -112(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _malloc
movq %rax, %r15
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _fopen
movq %rax, %rbx
movl %r13d, %eax
movq %rax, -120(%rbp) ## 8-byte Spill
testq %rbx, %rbx
movq %r13, -104(%rbp) ## 8-byte Spill
je LBB2_5
## %bb.1:
testl %r13d, %r13d
jle LBB2_4
## %bb.2:
leaq L_.str.1(%rip), %r14
movq -112(%rbp), %r12 ## 8-byte Reload
movq -120(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB2_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %eax, %eax
callq _fscanf
addq $8, %r12
decq %r13
jne LBB2_3
LBB2_4:
movq %rbx, %rdi
callq _fclose
movq -104(%rbp), %r13 ## 8-byte Reload
LBB2_6:
xorpd %xmm0, %xmm0
movapd %xmm0, -208(%rbp)
movapd %xmm0, -192(%rbp)
leaq -208(%rbp), %rsi
movl $6, %edi
callq _clock_gettime
movq -72(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
movq -112(%rbp), %rbx ## 8-byte Reload
jle LBB2_13
## %bb.7:
movl %eax, %r14d
cmpq $2, %r14
jae LBB2_10
## %bb.8:
xorl %r12d, %r12d
jmp LBB2_9
LBB2_10:
andl $1, %eax
movq %r14, %r12
movq %rax, -72(%rbp) ## 8-byte Spill
subq %rax, %r12
movq %rbx, %r13
xorl %ebx, %ebx
.p2align 4, 0x90
LBB2_11: ## =>This Inner Loop Header: Depth=1
movupd (%r13,%rbx,8), %xmm1
movapd %xmm1, -64(%rbp) ## 16-byte Spill
movapd LCPI2_0(%rip), %xmm0 ## xmm0 = [1.0E+0,1.0E+0]
divpd %xmm1, %xmm0
movapd %xmm0, -176(%rbp) ## 16-byte Spill
movsd 8(%r13,%rbx,8), %xmm0 ## xmm0 = mem[0],zero
movsd %xmm0, -144(%rbp) ## 8-byte Spill
movsd LCPI2_1(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movaps %xmm0, -96(%rbp) ## 16-byte Spill
movapd -64(%rbp), %xmm0 ## 16-byte Reload
movsd LCPI2_1(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
unpcklpd -96(%rbp), %xmm0 ## 16-byte Folded Reload
## xmm0 = xmm0[0],mem[0]
movapd -64(%rbp), %xmm2 ## 16-byte Reload
mulpd %xmm2, %xmm2
movapd %xmm2, -160(%rbp) ## 16-byte Spill
movapd LCPI2_2(%rip), %xmm1 ## xmm1 = [3.0E+0,3.0E+0]
mulpd %xmm1, %xmm2
mulpd LCPI2_3(%rip), %xmm2
divpd LCPI2_4(%rip), %xmm2
mulpd LCPI2_5(%rip), %xmm0
addpd %xmm2, %xmm0
movapd %xmm0, -96(%rbp) ## 16-byte Spill
movsd -144(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd LCPI2_6(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movaps %xmm0, -144(%rbp) ## 16-byte Spill
movapd -64(%rbp), %xmm0 ## 16-byte Reload
movsd LCPI2_6(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movapd -64(%rbp), %xmm4 ## 16-byte Reload
movapd %xmm4, %xmm1
movapd LCPI2_2(%rip), %xmm5 ## xmm5 = [3.0E+0,3.0E+0]
mulpd %xmm5, %xmm1
unpcklpd -144(%rbp), %xmm0 ## 16-byte Folded Reload
## xmm0 = xmm0[0],mem[0]
addpd -160(%rbp), %xmm1 ## 16-byte Folded Reload
movapd %xmm4, %xmm2
movapd LCPI2_8(%rip), %xmm3 ## xmm3 = [-2.5E-1,-2.5E-1]
mulpd %xmm3, %xmm2
addpd %xmm1, %xmm2
mulpd LCPI2_7(%rip), %xmm0
divpd %xmm4, %xmm2
addpd %xmm4, %xmm4
subpd %xmm2, %xmm4
addpd -96(%rbp), %xmm0 ## 16-byte Folded Reload
addpd %xmm3, %xmm4
addpd %xmm5, %xmm4
mulpd -176(%rbp), %xmm4 ## 16-byte Folded Reload
addpd LCPI2_16(%rip), %xmm0
addpd %xmm0, %xmm4
movupd %xmm4, (%r15,%rbx,8)
addq $2, %rbx
cmpq %rbx, %r12
jne LBB2_11
## %bb.12:
cmpq $0, -72(%rbp) ## 8-byte Folded Reload
movq %r13, %rbx
movq -104(%rbp), %r13 ## 8-byte Reload
je LBB2_13
.p2align 4, 0x90
LBB2_9: ## =>This Inner Loop Header: Depth=1
movsd (%rbx,%r12,8), %xmm1 ## xmm1 = mem[0],zero
movsd %xmm1, -64(%rbp) ## 8-byte Spill
movsd LCPI2_9(%rip), %xmm0 ## xmm0 = mem[0],zero
divsd %xmm1, %xmm0
movsd %xmm0, -176(%rbp) ## 8-byte Spill
movapd %xmm1, %xmm0
movsd LCPI2_1(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -64(%rbp), %xmm2 ## 8-byte Reload
## xmm2 = mem[0],zero
movapd %xmm2, %xmm1
mulsd %xmm2, %xmm1
movsd %xmm1, -160(%rbp) ## 8-byte Spill
mulsd LCPI2_1(%rip), %xmm1
mulsd LCPI2_10(%rip), %xmm1
divsd LCPI2_11(%rip), %xmm1
mulsd LCPI2_12(%rip), %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -96(%rbp) ## 8-byte Spill
movapd %xmm2, %xmm0
movsd LCPI2_6(%rip), %xmm1 ## xmm1 = mem[0],zero
callq _pow
movsd -64(%rbp), %xmm4 ## 8-byte Reload
## xmm4 = mem[0],zero
movapd %xmm4, %xmm1
movsd LCPI2_1(%rip), %xmm5 ## xmm5 = mem[0],zero
mulsd %xmm5, %xmm1
addsd -160(%rbp), %xmm1 ## 8-byte Folded Reload
movapd %xmm4, %xmm2
movsd LCPI2_14(%rip), %xmm3 ## xmm3 = mem[0],zero
mulsd %xmm3, %xmm2
addsd %xmm1, %xmm2
mulsd LCPI2_13(%rip), %xmm0
divsd %xmm4, %xmm2
addsd %xmm4, %xmm4
subsd %xmm2, %xmm4
addsd -96(%rbp), %xmm0 ## 8-byte Folded Reload
addsd %xmm3, %xmm4
addsd %xmm5, %xmm4
mulsd -176(%rbp), %xmm4 ## 8-byte Folded Reload
addsd LCPI2_17(%rip), %xmm0
addsd %xmm0, %xmm4
movsd %xmm4, (%r15,%r12,8)
incq %r12
cmpq %r12, %r14
jne LBB2_9
LBB2_13:
leaq -192(%rbp), %rsi
movl $6, %edi
callq _clock_gettime
xorps %xmm0, %xmm0
cvtsi2sdq -192(%rbp), %xmm0
xorps %xmm4, %xmm4
cvtsi2sdq -184(%rbp), %xmm4
movsd LCPI2_15(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm4
xorps %xmm2, %xmm2
cvtsi2sdq -208(%rbp), %xmm2
xorps %xmm3, %xmm3
cvtsi2sdq -200(%rbp), %xmm3
addsd %xmm0, %xmm4
mulsd %xmm1, %xmm3
addsd %xmm2, %xmm3
subsd %xmm3, %xmm4
movsd %xmm4, -64(%rbp) ## 8-byte Spill
leaq L_.str.3(%rip), %rsi
movq -216(%rbp), %rdi ## 8-byte Reload
callq _fopen
movq %rax, %r12
leaq L_.str.4(%rip), %rsi
movq %rax, %rdi
movsd -64(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movb $1, %al
callq _fprintf
testl %r13d, %r13d
movq -120(%rbp), %r13 ## 8-byte Reload
jle LBB2_16
## %bb.14:
xorl %ebx, %ebx
leaq L_.str.4(%rip), %r14
.p2align 4, 0x90
LBB2_15: ## =>This Inner Loop Header: Depth=1
movsd (%r15,%rbx,8), %xmm0 ## xmm0 = mem[0],zero
movq %r12, %rdi
movq %r14, %rsi
movb $1, %al
callq _fprintf
incq %rbx
cmpq %rbx, %r13
jne LBB2_15
LBB2_16:
movq %r12, %rdi
callq _fclose
xorl %eax, %eax
addq $184, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB2_5:
movq %r14, %rdi
callq _perror
jmp LBB2_6
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L_.str.1: ## @.str.1
.asciz "%lf"
L_.str.2: ## @.str.2
.asciz "I am running..."
L_.str.3: ## @.str.3
.asciz "w+"
L_.str.4: ## @.str.4
.asciz "%f "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _read_file_to_array ; -- Begin function read_file_to_array
.p2align 2
_read_file_to_array: ; @read_file_to_array
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x19, x1
mov x23, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _fopen
cbz x0, LBB0_5
; %bb.1:
mov x20, x0
mul w22, w21, w22
cmp w22, #1
b.lt LBB0_4
; %bb.2:
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
str x19, [sp]
mov x0, x20
mov x1, x21
bl _fscanf
add x19, x19, #8
subs x22, x22, #1
b.ne LBB0_3
LBB0_4:
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _fclose
LBB0_5:
mov x0, x23
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _perror
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _function_0_b ; -- Begin function function_0_b
.p2align 2
_function_0_b: ; @function_0_b
.cfi_startproc
; %bb.0:
stp d13, d12, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
.cfi_offset b10, -56
.cfi_offset b11, -64
.cfi_offset b12, -72
.cfi_offset b13, -80
fmov d8, d1
mov x19, x0
fmov d9, d0
ldr d10, [x0]
fdiv d11, d1, d0
fmov d12, #3.00000000
fmov d1, #3.00000000
bl _pow
fmul d1, d9, d9
fmul d1, d1, d12
fmov d2, #22.00000000
fmul d1, d1, d2
fmov d2, #7.00000000
fdiv d1, d1, d2
fmov d2, #4.00000000
fmadd d13, d0, d2, d1
fmov d1, #8.00000000
fmov d0, d9
bl _pow
fmov d1, #9.00000000
fmadd d0, d0, d1, d13
fmadd d0, d0, d8, d10
fmul d1, d9, d12
fmadd d1, d9, d9, d1
fmov d2, #-0.25000000
fmul d3, d9, d2
fadd d1, d1, d3
fneg d1, d1
fdiv d1, d1, d9
fmov d3, #2.00000000
fmadd d1, d9, d3, d1
fadd d1, d1, d2
fadd d1, d1, d12
fmadd d0, d1, d11, d0
str d0, [x19]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
ldp d13, d12, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #416
.cfi_def_cfa_offset 416
stp d15, d14, [sp, #256] ; 16-byte Folded Spill
stp d13, d12, [sp, #272] ; 16-byte Folded Spill
stp d11, d10, [sp, #288] ; 16-byte Folded Spill
stp d9, d8, [sp, #304] ; 16-byte Folded Spill
stp x28, x27, [sp, #320] ; 16-byte Folded Spill
stp x26, x25, [sp, #336] ; 16-byte Folded Spill
stp x24, x23, [sp, #352] ; 16-byte Folded Spill
stp x22, x21, [sp, #368] ; 16-byte Folded Spill
stp x20, x19, [sp, #384] ; 16-byte Folded Spill
stp x29, x30, [sp, #400] ; 16-byte Folded Spill
add x29, sp, #400
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
.cfi_offset b8, -104
.cfi_offset b9, -112
.cfi_offset b10, -120
.cfi_offset b11, -128
.cfi_offset b12, -136
.cfi_offset b13, -144
.cfi_offset b14, -152
.cfi_offset b15, -160
mov x19, x1
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [x19, #8]
sub x1, x29, #160
mov w2, #10
bl _strtol
mov x22, x0
ldr x0, [x19, #16]
sub x1, x29, #160
mov w2, #10
bl _strtol
ldp x24, x20, [x19, #24]
mul w25, w0, w22
mov x8, x25
sbfiz x19, x8, #3, #32
mov x0, x19
bl _malloc
mov x21, x0
mov x0, x19
bl _malloc
mov x19, x0
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x24
bl _fopen
cbz x0, LBB2_17
; %bb.1:
mov x23, x0
cmp w25, #1
b.lt LBB2_4
; %bb.2:
Lloh8:
adrp x24, l_.str.1@PAGE
Lloh9:
add x24, x24, l_.str.1@PAGEOFF
mov x26, x21
mov x27, x25
LBB2_3: ; =>This Inner Loop Header: Depth=1
str x26, [sp]
mov x0, x23
mov x1, x24
bl _fscanf
add x26, x26, #8
subs x27, x27, #1
b.ne LBB2_3
LBB2_4:
mov x0, x23
bl _fclose
LBB2_5:
stp xzr, xzr, [x29, #-176]
stp xzr, xzr, [x29, #-192]
sub x1, x29, #176
mov w0, #6
bl _clock_gettime
cmp w22, #1
b.lt LBB2_13
; %bb.6:
and x23, x22, #0xffffffff
cmp x23, #2
b.hs LBB2_8
; %bb.7:
mov x22, #0
b LBB2_11
LBB2_8:
and x24, x22, #0x1
fmov.2d v1, #1.00000000
fmov.2d v0, #3.00000000
str q0, [sp, #176] ; 16-byte Folded Spill
sub x22, x23, x24
fmov.2d v0, #22.00000000
stp q0, q1, [sp, #96] ; 32-byte Folded Spill
fmov.2d v1, #7.00000000
fmov.2d v0, #4.00000000
stp q0, q1, [sp, #64] ; 32-byte Folded Spill
fmov.2d v1, #9.00000000
fmov.2d v0, #-0.25000000
stp q0, q1, [sp, #32] ; 32-byte Folded Spill
fmov.2d v0, #2.00000000
str q0, [sp, #16] ; 16-byte Folded Spill
mov x26, x22
mov x27, x19
mov x28, x21
LBB2_9: ; =>This Inner Loop Header: Depth=1
ldr q1, [x28], #16
str q1, [sp, #192] ; 16-byte Folded Spill
ldr q0, [sp, #112] ; 16-byte Folded Reload
fdiv.2d v0, v0, v1
str q0, [sp, #160] ; 16-byte Folded Spill
mov d8, v1[1]
fmov d1, #3.00000000
fmov d0, d8
bl _pow
str q0, [sp, #144] ; 16-byte Folded Spill
fmov d1, #3.00000000
ldr q0, [sp, #192] ; 16-byte Folded Reload
; kill: def $d0 killed $d0 killed $q0
bl _pow
; kill: def $d0 killed $d0 def $q0
ldr q1, [sp, #144] ; 16-byte Folded Reload
mov.d v0[1], v1[0]
ldp q2, q1, [sp, #176] ; 32-byte Folded Reload
fmul.2d v1, v1, v1
fmul.2d v1, v1, v2
ldr q2, [sp, #96] ; 16-byte Folded Reload
fmul.2d v1, v1, v2
ldr q2, [sp, #80] ; 16-byte Folded Reload
fdiv.2d v2, v1, v2
ldr q1, [sp, #64] ; 16-byte Folded Reload
fmla.2d v2, v1, v0
str q2, [sp, #144] ; 16-byte Folded Spill
fmov d1, #8.00000000
fmov d0, d8
bl _pow
str q0, [sp, #128] ; 16-byte Folded Spill
fmov d1, #8.00000000
ldr q0, [sp, #192] ; 16-byte Folded Reload
; kill: def $d0 killed $d0 killed $q0
bl _pow
; kill: def $d0 killed $d0 def $q0
ldp q1, q5, [sp, #128] ; 32-byte Folded Reload
mov.d v0[1], v1[0]
ldp q4, q3, [sp, #176] ; 32-byte Folded Reload
fmul.2d v1, v3, v4
fmla.2d v1, v3, v3
ldr q2, [sp, #48] ; 16-byte Folded Reload
fmla.2d v5, v2, v0
ldr q2, [sp, #32] ; 16-byte Folded Reload
fmul.2d v0, v3, v2
fadd.2d v0, v1, v0
fneg.2d v0, v0
fdiv.2d v0, v0, v3
ldr q1, [sp, #16] ; 16-byte Folded Reload
fmla.2d v0, v1, v3
movi.2d v1, #0000000000000000
fadd.2d v1, v5, v1
fadd.2d v0, v0, v2
fadd.2d v0, v0, v4
ldr q2, [sp, #160] ; 16-byte Folded Reload
fmla.2d v1, v2, v0
str q1, [x27], #16
subs x26, x26, #2
b.ne LBB2_9
; %bb.10:
cbz x24, LBB2_13
LBB2_11:
lsl x8, x22, #3
fmov d10, #3.00000000
add x24, x19, x8
add x21, x21, x8
sub x22, x23, x22
fmov d14, #9.00000000
movi d15, #0000000000000000
fmov d9, #-0.25000000
fmov d11, #2.00000000
LBB2_12: ; =>This Inner Loop Header: Depth=1
ldr d8, [x21], #8
fmov d0, #1.00000000
fdiv d12, d0, d8
fmov d1, #3.00000000
fmov d0, d8
bl _pow
fmul d1, d8, d8
fmul d1, d1, d10
fmov d2, #22.00000000
fmul d1, d1, d2
fmov d2, #7.00000000
fdiv d1, d1, d2
fmov d2, #4.00000000
fmadd d13, d0, d2, d1
fmov d1, #8.00000000
fmov d0, d8
bl _pow
fmul d1, d8, d10
fmadd d1, d8, d8, d1
fmadd d0, d0, d14, d13
fmul d2, d8, d9
fadd d1, d1, d2
fneg d1, d1
fdiv d1, d1, d8
fmadd d1, d8, d11, d1
fadd d0, d0, d15
fadd d1, d1, d9
fadd d1, d1, d10
fmadd d0, d1, d12, d0
str d0, [x24], #8
subs x22, x22, #1
b.ne LBB2_12
LBB2_13:
sub x1, x29, #192
mov w0, #6
bl _clock_gettime
ldp d0, d1, [x29, #-192]
scvtf d0, d0
scvtf d1, d1
mov x8, #54933
movk x8, #59430, lsl #16
movk x8, #11787, lsl #32
movk x8, #15889, lsl #48
fmov d2, x8
fmadd d0, d1, d2, d0
ldp d1, d3, [x29, #-176]
scvtf d1, d1
scvtf d3, d3
fmadd d1, d3, d2, d1
fsub d8, d0, d1
Lloh10:
adrp x1, l_.str.3@PAGE
Lloh11:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x20
bl _fopen
mov x20, x0
str d8, [sp]
Lloh12:
adrp x1, l_.str.4@PAGE
Lloh13:
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
cmp w25, #1
b.lt LBB2_16
; %bb.14:
Lloh14:
adrp x21, l_.str.4@PAGE
Lloh15:
add x21, x21, l_.str.4@PAGEOFF
LBB2_15: ; =>This Inner Loop Header: Depth=1
ldr d0, [x19], #8
str d0, [sp]
mov x0, x20
mov x1, x21
bl _fprintf
subs x25, x25, #1
b.ne LBB2_15
LBB2_16:
mov x0, x20
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #400] ; 16-byte Folded Reload
ldp x20, x19, [sp, #384] ; 16-byte Folded Reload
ldp x22, x21, [sp, #368] ; 16-byte Folded Reload
ldp x24, x23, [sp, #352] ; 16-byte Folded Reload
ldp x26, x25, [sp, #336] ; 16-byte Folded Reload
ldp x28, x27, [sp, #320] ; 16-byte Folded Reload
ldp d9, d8, [sp, #304] ; 16-byte Folded Reload
ldp d11, d10, [sp, #288] ; 16-byte Folded Reload
ldp d13, d12, [sp, #272] ; 16-byte Folded Reload
ldp d15, d14, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #416
ret
LBB2_17:
mov x0, x24
bl _perror
b LBB2_5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
l_.str.1: ; @.str.1
.asciz "%lf"
l_.str.2: ; @.str.2
.asciz "I am running..."
l_.str.3: ; @.str.3
.asciz "w+"
l_.str.4: ; @.str.4
.asciz "%f "
.subsections_via_symbols
| the_stack_data/374947.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function stripes_context_reset_horizontal_list
LCPI0_0:
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
LCPI0_1:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_stripes_context_reset_horizontal_list: ## @stripes_context_reset_horizontal_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $344, %rsp ## imm = 0x158
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MENU_LIST_HORIZONTAL@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _stripes_list_get_size
cvtsi2ssq 24(%r14), %xmm0
movq %rax, %rbx
xorps LCPI0_0(%rip), %xmm0
mulss 4(%r14), %xmm0
movss %xmm0, (%r14)
xorl %eax, %eax
cmpl $2, 8(%r14)
setl %al
leal -2(,%rax,2), %eax
imull 16(%r14), %eax
movq %r14, -312(%rbp) ## 8-byte Spill
movl %eax, 12(%r14)
testq %rbx, %rbx
je LBB0_16
## %bb.1:
leaq -320(%rbp), %r12
xorl %r15d, %r15d
movq %rbx, -328(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _image_texture_free
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
callq _free
movq -352(%rbp), %rdi ## 8-byte Reload
callq _free
movq %r14, %rdi
callq _free
movq -328(%rbp), %rbx ## 8-byte Reload
leaq -320(%rbp), %r12
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
decl %r15d
cmpq %r15, %rbx
jbe LBB0_16
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq $0, -320(%rbp)
movq -312(%rbp), %rdi ## 8-byte Reload
movl %r15d, %esi
callq _stripes_get_userdata_from_horizontal_list
testq %rax, %rax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq -312(%rbp), %rdi ## 8-byte Reload
movl %r15d, %esi
callq _stripes_node_allocate_userdata
testq %rax, %rax
je LBB0_16
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r13
movq -312(%rbp), %rax ## 8-byte Reload
movl 20(%rax), %edi
movl %r15d, %esi
movq %r12, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _file_list_get_at_offset
movq -320(%rbp), %rdi
testq %rdi, %rdi
je LBB0_15
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
leaq L_.str(%rip), %rsi
callq _strstr
testl %eax, %eax
je LBB0_15
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _malloc
movq %rax, %r14
movl (%rbx), %edi
callq _malloc
movq %rax, %r12
movl (%rbx), %edi
callq _malloc
movq %rax, -336(%rbp) ## 8-byte Spill
movb $0, (%rax)
movb $0, (%r12)
movb $0, -304(%rbp)
movb $0, (%r14)
movq -320(%rbp), %rsi
leaq -304(%rbp), %rdi
movl $256, %edx ## imm = 0x100
callq _fill_pathname_base_noext
movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
movq _APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
callq _fill_pathname_application_special
movl (%rbx), %r8d
movq %r12, %rdi
movq %r14, -344(%rbp) ## 8-byte Spill
movq %r14, %rsi
leaq -304(%rbp), %rdx
leaq L_.str.1(%rip), %rcx
callq _fill_pathname_join_concat
movq $0, -384(%rbp)
leaq -368(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
xorl %eax, %eax
callq _video_driver_supports_rgba
movl %eax, -376(%rbp)
leaq -384(%rbp), %rbx
movq %rbx, %rdi
movq %r12, -352(%rbp) ## 8-byte Spill
movq %r12, %rsi
callq _image_texture_load
testq %rax, %rax
je LBB0_10
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, -384(%rbp)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
leaq 4(%r13), %r14
movq %r14, %rdi
callq _video_driver_texture_unload
movq _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r14, %rdx
callq _video_driver_texture_load
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
callq _image_texture_free
LBB0_10: ## in Loop: Header=BB0_2 Depth=1
movq _PATH_MAX_LENGTH@GOTPCREL(%rip), %r14
movl (%r14), %edx
movq -344(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
leaq -304(%rbp), %rsi
callq _strlcat
movl (%r14), %r8d
movq -336(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movq %r12, %rsi
leaq L_.str.2(%rip), %rdx
movl $45, %ecx
callq _fill_pathname_join_delim
movq %rbx, %rdi
movq %r14, %rsi
callq _image_texture_load
testq %rax, %rax
je LBB0_14
## %bb.11: ## in Loop: Header=BB0_2 Depth=1
cmpq $0, -384(%rbp)
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
callq _video_driver_texture_unload
movq _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
movq %r13, %rdx
callq _video_driver_texture_load
jmp LBB0_13
LBB0_16:
movq -312(%rbp), %rdi ## 8-byte Reload
callq _stripes_toggle_horizontal_list
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_18
## %bb.17:
addq $344, %rsp ## imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MENU_LIST_HORIZONTAL,4,2 ## @MENU_LIST_HORIZONTAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ".lpl"
.comm _PATH_MAX_LENGTH,4,2 ## @PATH_MAX_LENGTH
.comm _APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS,4,2 ## @APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS
L_.str.1: ## @.str.1
.asciz ".png"
.comm _TEXTURE_FILTER_MIPMAP_LINEAR,4,2 ## @TEXTURE_FILTER_MIPMAP_LINEAR
L_.str.2: ## @.str.2
.asciz "content.png"
.no_dead_strip _stripes_context_reset_horizontal_list
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function stripes_context_reset_horizontal_list
_stripes_context_reset_horizontal_list: ; @stripes_context_reset_horizontal_list
.cfi_startproc
; %bb.0:
sub sp, sp, #416
stp x28, x27, [sp, #320] ; 16-byte Folded Spill
stp x26, x25, [sp, #336] ; 16-byte Folded Spill
stp x24, x23, [sp, #352] ; 16-byte Folded Spill
stp x22, x21, [sp, #368] ; 16-byte Folded Spill
stp x20, x19, [sp, #384] ; 16-byte Folded Spill
stp x29, x30, [sp, #400] ; 16-byte Folded Spill
add x29, sp, #400
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
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, #-96]
Lloh3:
adrp x8, _MENU_LIST_HORIZONTAL@GOTPAGE
Lloh4:
ldr x8, [x8, _MENU_LIST_HORIZONTAL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _stripes_list_get_size
ldr s0, [x19, #4]
ldr x8, [x19, #24]
scvtf s1, x8
fnmul s0, s1, s0
str s0, [x19]
ldr w8, [x19, #8]
ldr w9, [x19, #16]
mov w10, #-2 ; =0xfffffffe
cmp w8, #2
csel w8, wzr, w10, lt
mul w8, w8, w9
str w8, [x19, #12]
cbz x0, LBB0_16
; %bb.1:
mov x20, x0
mov w21, #0 ; =0x0
add x23, sp, #8
Lloh6:
adrp x22, l_.str@PAGE
Lloh7:
add x22, x22, l_.str@PAGEOFF
Lloh8:
adrp x24, _PATH_MAX_LENGTH@GOTPAGE
Lloh9:
ldr x24, [x24, _PATH_MAX_LENGTH@GOTPAGEOFF]
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #8
bl _image_texture_free
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x0, x26
bl _free
mov x0, x27
bl _free
mov x0, x28
bl _free
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub w21, w21, #1
cmp x20, x21
b.ls LBB0_16
LBB0_5: ; =>This Inner Loop Header: Depth=1
str xzr, [sp, #40]
mov x0, x19
mov x1, x21
bl _stripes_get_userdata_from_horizontal_list
cbnz x0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
mov x1, x21
bl _stripes_node_allocate_userdata
cbz x0, LBB0_16
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
mov x25, x0
ldr w0, [x19, #20]
add x2, sp, #40
mov x1, x21
mov x3, #0 ; =0x0
mov x4, #0 ; =0x0
mov x5, #0 ; =0x0
bl _file_list_get_at_offset
ldr x0, [sp, #40]
cbz x0, LBB0_4
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
mov x1, x22
bl _strstr
cbz w0, LBB0_4
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x24]
bl _malloc
mov x26, x0
ldr w0, [x24]
bl _malloc
mov x27, x0
ldr w0, [x24]
bl _malloc
mov x28, x0
strb wzr, [x0]
strb wzr, [x27]
strb wzr, [sp, #48]
strb wzr, [x26]
ldr x1, [sp, #40]
add x0, sp, #48
mov w2, #256 ; =0x100
bl _fill_pathname_base_noext
ldr w1, [x24]
Lloh10:
adrp x8, _APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS@GOTPAGE
Lloh11:
ldr x8, [x8, _APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS@GOTPAGEOFF]
Lloh12:
ldr w2, [x8]
mov x0, x26
bl _fill_pathname_application_special
ldr w4, [x24]
add x2, sp, #48
mov x0, x27
mov x1, x26
Lloh13:
adrp x3, l_.str.1@PAGE
Lloh14:
add x3, x3, l_.str.1@PAGEOFF
bl _fill_pathname_join_concat
str xzr, [sp, #8]
stp xzr, xzr, [x23, #16]
bl _video_driver_supports_rgba
str w0, [sp, #16]
add x0, sp, #8
mov x1, x27
bl _image_texture_load
cbz x0, LBB0_13
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8]
cbz x8, LBB0_12
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
add x0, x25, #4
bl _video_driver_texture_unload
Lloh15:
adrp x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGE
Lloh16:
ldr x8, [x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
add x0, sp, #8
add x2, x25, #4
bl _video_driver_texture_load
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #8
bl _image_texture_free
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
ldr w2, [x24]
add x1, sp, #48
mov x0, x26
bl _strlcat
ldr w4, [x24]
mov x0, x28
mov x1, x26
Lloh18:
adrp x2, l_.str.2@PAGE
Lloh19:
add x2, x2, l_.str.2@PAGEOFF
mov w3, #45 ; =0x2d
bl _fill_pathname_join_delim
add x0, sp, #8
mov x1, x28
bl _image_texture_load
cbz x0, LBB0_3
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [sp, #8]
cbz x8, LBB0_2
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
mov x0, x25
bl _video_driver_texture_unload
Lloh20:
adrp x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGE
Lloh21:
ldr x8, [x8, _TEXTURE_FILTER_MIPMAP_LINEAR@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
add x0, sp, #8
mov x2, x25
bl _video_driver_texture_load
b LBB0_2
LBB0_16:
mov x0, x19
bl _stripes_toggle_horizontal_list
ldur x8, [x29, #-96]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_18
; %bb.17:
ldp x29, x30, [sp, #400] ; 16-byte Folded Reload
ldp x20, x19, [sp, #384] ; 16-byte Folded Reload
ldp x22, x21, [sp, #368] ; 16-byte Folded Reload
ldp x24, x23, [sp, #352] ; 16-byte Folded Reload
ldp x26, x25, [sp, #336] ; 16-byte Folded Reload
ldp x28, x27, [sp, #320] ; 16-byte Folded Reload
add sp, sp, #416
ret
LBB0_18:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _MENU_LIST_HORIZONTAL,4,2 ; @MENU_LIST_HORIZONTAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ".lpl"
.comm _PATH_MAX_LENGTH,4,2 ; @PATH_MAX_LENGTH
.comm _APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS,4,2 ; @APPLICATION_SPECIAL_DIRECTORY_ASSETS_XMB_ICONS
l_.str.1: ; @.str.1
.asciz ".png"
.comm _TEXTURE_FILTER_MIPMAP_LINEAR,4,2 ; @TEXTURE_FILTER_MIPMAP_LINEAR
l_.str.2: ; @.str.2
.asciz "content.png"
.no_dead_strip _stripes_context_reset_horizontal_list
.subsections_via_symbols
| assembly_file_82210.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
leaq -64(%rbp), %rdi
callq _pipe
movl $1, %ebx
testl %eax, %eax
js LBB0_25
## %bb.1:
leaq -56(%rbp), %rdi
callq _pipe
testl %eax, %eax
js LBB0_25
## %bb.2:
leaq -48(%rbp), %rdi
callq _pipe
testl %eax, %eax
js LBB0_25
## %bb.3:
callq _fork
testl %eax, %eax
js LBB0_4
## %bb.5:
je LBB0_6
## %bb.12:
movl %eax, %r14d
callq _fork
testl %eax, %eax
js LBB0_13
## %bb.14:
movl %eax, %r15d
movl -64(%rbp), %edi
callq _close
testl %r15d, %r15d
je LBB0_15
## %bb.20:
movl -56(%rbp), %edi
callq _close
movl -52(%rbp), %edi
callq _close
movl -44(%rbp), %edi
callq _close
movl $0, -68(%rbp)
movl -60(%rbp), %edi
leaq -68(%rbp), %rsi
movl $4, %edx
callq _write
testq %rax, %rax
js LBB0_21
## %bb.22:
movl -48(%rbp), %edi
leaq -68(%rbp), %rsi
movl $4, %edx
callq _read
testq %rax, %rax
js LBB0_23
## %bb.24:
movl -68(%rbp), %esi
leaq L_.str(%rip), %rdi
xorl %ebx, %ebx
xorl %eax, %eax
callq _printf
movl -60(%rbp), %edi
callq _close
movl -48(%rbp), %edi
callq _close
movl %r14d, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _waitpid
movl %r15d, %edi
xorl %esi, %esi
xorl %edx, %edx
callq _waitpid
jmp LBB0_25
LBB0_4:
movl $2, %ebx
jmp LBB0_25
LBB0_6:
movl -60(%rbp), %edi
callq _close
movl -56(%rbp), %edi
callq _close
movl -48(%rbp), %edi
callq _close
movl -44(%rbp), %edi
callq _close
movl -64(%rbp), %edi
leaq -68(%rbp), %rsi
movl $4, %edx
callq _read
testq %rax, %rax
js LBB0_7
## %bb.8:
addl $5, -68(%rbp)
movl -52(%rbp), %edi
leaq -68(%rbp), %rsi
movl $4, %edx
callq _write
testq %rax, %rax
js LBB0_9
## %bb.10:
movl -64(%rbp), %edi
callq _close
movl -52(%rbp), %edi
jmp LBB0_11
LBB0_13:
movl $5, %ebx
jmp LBB0_25
LBB0_15:
movl -60(%rbp), %edi
callq _close
movl -52(%rbp), %edi
callq _close
movl -48(%rbp), %edi
callq _close
movl -56(%rbp), %edi
leaq -68(%rbp), %rsi
movl $4, %edx
callq _read
testq %rax, %rax
js LBB0_16
## %bb.17:
addl $5, -68(%rbp)
movl -44(%rbp), %edi
leaq -68(%rbp), %rsi
movl $4, %edx
callq _write
testq %rax, %rax
js LBB0_18
## %bb.19:
movl -56(%rbp), %edi
callq _close
movl -44(%rbp), %edi
LBB0_11:
callq _close
xorl %ebx, %ebx
jmp LBB0_25
LBB0_7:
movl $3, %ebx
jmp LBB0_25
LBB0_21:
movl $8, %ebx
jmp LBB0_25
LBB0_9:
movl $4, %ebx
jmp LBB0_25
LBB0_23:
movl $9, %ebx
jmp LBB0_25
LBB0_16:
movl $6, %ebx
jmp LBB0_25
LBB0_18:
movl $7, %ebx
LBB0_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB0_27
## %bb.26:
movl %ebx, %eax
addq $56, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_27:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Result is %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
add x19, sp, #16
add x0, sp, #16
bl _pipe
tbnz w0, #31, LBB0_10
; %bb.1:
add x0, x19, #8
bl _pipe
tbnz w0, #31, LBB0_10
; %bb.2:
add x8, sp, #16
add x0, x8, #16
bl _pipe
tbnz w0, #31, LBB0_10
; %bb.3:
bl _fork
tbnz w0, #31, LBB0_13
; %bb.4:
mov x19, x0
cbz w0, LBB0_14
; %bb.5:
bl _fork
tbnz w0, #31, LBB0_17
; %bb.6:
mov x20, x0
ldr w0, [sp, #16]
bl _close
cbz w20, LBB0_18
; %bb.7:
ldr w0, [sp, #24]
bl _close
ldr w0, [sp, #28]
bl _close
ldr w0, [sp, #36]
bl _close
str wzr, [sp, #12]
ldr w0, [sp, #20]
add x1, sp, #12
mov w2, #4
bl _write
tbnz x0, #63, LBB0_24
; %bb.8:
ldr w0, [sp, #32]
add x1, sp, #12
mov w2, #4
bl _read
tbnz x0, #63, LBB0_25
; %bb.9:
ldr w8, [sp, #12]
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #20]
bl _close
ldr w0, [sp, #32]
bl _close
mov x0, x19
mov x1, #0
mov w2, #0
bl _waitpid
mov x0, x20
mov x1, #0
mov w2, #0
bl _waitpid
b LBB0_22
LBB0_10:
mov w19, #1
LBB0_11:
ldur x8, [x29, #-24]
Lloh5:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh6:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_28
; %bb.12:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_13:
mov w19, #2
b LBB0_11
LBB0_14:
ldr w0, [sp, #20]
bl _close
ldr w0, [sp, #24]
bl _close
ldr w0, [sp, #32]
bl _close
ldr w0, [sp, #36]
bl _close
ldr w0, [sp, #16]
add x1, sp, #12
mov w2, #4
bl _read
tbnz x0, #63, LBB0_23
; %bb.15:
ldr w8, [sp, #12]
add w8, w8, #5
str w8, [sp, #12]
ldr w0, [sp, #28]
mov w19, #4
add x1, sp, #12
mov w2, #4
bl _write
tbnz x0, #63, LBB0_11
; %bb.16:
ldr w0, [sp, #16]
bl _close
ldr w0, [sp, #28]
b LBB0_21
LBB0_17:
mov w19, #5
b LBB0_11
LBB0_18:
ldr w0, [sp, #20]
bl _close
ldr w0, [sp, #28]
bl _close
ldr w0, [sp, #32]
bl _close
ldr w0, [sp, #24]
add x1, sp, #12
mov w2, #4
bl _read
tbnz x0, #63, LBB0_26
; %bb.19:
ldr w8, [sp, #12]
add w8, w8, #5
str w8, [sp, #12]
ldr w0, [sp, #36]
add x1, sp, #12
mov w2, #4
bl _write
tbnz x0, #63, LBB0_27
; %bb.20:
ldr w0, [sp, #24]
bl _close
ldr w0, [sp, #36]
LBB0_21:
bl _close
LBB0_22:
mov w19, #0
b LBB0_11
LBB0_23:
mov w19, #3
b LBB0_11
LBB0_24:
mov w19, #8
b LBB0_11
LBB0_25:
mov w19, #9
b LBB0_11
LBB0_26:
mov w19, #6
b LBB0_11
LBB0_27:
mov w19, #7
b LBB0_11
LBB0_28:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Result is %d\n"
.subsections_via_symbols
| the_stack_data/506174.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function openssl_pkey_type_str
_openssl_pkey_type_str: ## @openssl_pkey_type_str
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
callq _EVP_PKEY_id
movl %eax, %edi
callq _EVP_PKEY_type
addl $-128, %eax
cmpl $3, %eax
ja LBB0_3
## %bb.4:
cltq
leaq l_reltable.openssl_pkey_type_str(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
popq %rbp
retq
LBB0_1:
leaq L_.str(%rip), %rax
popq %rbp
retq
LBB0_3:
leaq L_.str.5(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "NULL"
L_.str.1: ## @.str.1
.asciz "RSA"
L_.str.2: ## @.str.2
.asciz "DSA"
L_.str.3: ## @.str.3
.asciz "DH"
L_.str.4: ## @.str.4
.asciz "EC"
L_.str.5: ## @.str.5
.asciz "?"
.no_dead_strip _openssl_pkey_type_str
.section __TEXT,__const
.p2align 2 ## @reltable.openssl_pkey_type_str
l_reltable.openssl_pkey_type_str:
.long L_.str.1-l_reltable.openssl_pkey_type_str
.long L_.str.4-l_reltable.openssl_pkey_type_str
.long L_.str.2-l_reltable.openssl_pkey_type_str
.long L_.str.3-l_reltable.openssl_pkey_type_str
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function openssl_pkey_type_str
_openssl_pkey_type_str: ; @openssl_pkey_type_str
.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
cbz x0, LBB0_3
; %bb.1:
bl _EVP_PKEY_id
bl _EVP_PKEY_type
sub w8, w0, #128
cmp w8, #3
b.hi LBB0_4
; %bb.2:
Lloh0:
adrp x9, l_switch.table.openssl_pkey_type_str@PAGE
Lloh1:
add x9, x9, l_switch.table.openssl_pkey_type_str@PAGEOFF
ldr x0, [x9, w8, sxtw #3]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_3:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_4:
Lloh4:
adrp x0, l_.str.5@PAGE
Lloh5:
add x0, x0, l_.str.5@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "NULL"
l_.str.1: ; @.str.1
.asciz "RSA"
l_.str.2: ; @.str.2
.asciz "DSA"
l_.str.3: ; @.str.3
.asciz "DH"
l_.str.4: ; @.str.4
.asciz "EC"
l_.str.5: ; @.str.5
.asciz "?"
.no_dead_strip _openssl_pkey_type_str
.section __DATA,__const
.p2align 3 ; @switch.table.openssl_pkey_type_str
l_switch.table.openssl_pkey_type_str:
.quad l_.str.1
.quad l_.str.4
.quad l_.str.2
.quad l_.str.3
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/crypto/extr_tls_openssl.c_openssl_pkey_type_str.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xmlParseEnumeratedType ## -- Begin function xmlParseEnumeratedType
.p2align 4, 0x90
_xmlParseEnumeratedType: ## @xmlParseEnumeratedType
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movl %edi, %ebx
movq _CUR_PTR@GOTPCREL(%rip), %rax
movl (%rax), %edi
subq $8, %rsp
movl $78, %esi
movl $79, %edx
movl $84, %ecx
movl $65, %r8d
movl $84, %r9d
pushq $78
pushq $79
pushq $73
callq _CMP8
addq $32, %rsp
testq %rax, %rax
je LBB0_5
## %bb.1:
movl $8, %edi
callq _SKIP
movq _SKIP_BLANKS@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_2
## %bb.3:
movl %ebx, %edi
callq _xmlParseNotationType
movq %rax, %rcx
movq %rax, (%r14)
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_8
## %bb.4:
movq _XML_ATTRIBUTE_NOTATION@GOTPCREL(%rip), %rax
jmp LBB0_7
LBB0_5:
movl %ebx, %edi
callq _xmlParseEnumerationType
movq %rax, %rcx
movq %rax, (%r14)
xorl %eax, %eax
testq %rcx, %rcx
je LBB0_8
## %bb.6:
movq _XML_ATTRIBUTE_ENUMERATION@GOTPCREL(%rip), %rax
LBB0_7:
movl (%rax), %eax
jmp LBB0_8
LBB0_2:
movq _XML_ERR_SPACE_REQUIRED@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movl %ebx, %edi
callq _xmlFatalErrMsg
xorl %eax, %eax
LBB0_8:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CUR_PTR,4,2 ## @CUR_PTR
.comm _SKIP_BLANKS,8,3 ## @SKIP_BLANKS
.comm _XML_ERR_SPACE_REQUIRED,4,2 ## @XML_ERR_SPACE_REQUIRED
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Space required after 'NOTATION'\n"
.comm _XML_ATTRIBUTE_NOTATION,4,2 ## @XML_ATTRIBUTE_NOTATION
.comm _XML_ATTRIBUTE_ENUMERATION,4,2 ## @XML_ATTRIBUTE_ENUMERATION
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xmlParseEnumeratedType ; -- Begin function xmlParseEnumeratedType
.p2align 2
_xmlParseEnumeratedType: ; @xmlParseEnumeratedType
.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, x1
mov x20, x0
Lloh0:
adrp x8, _CUR_PTR@GOTPAGE
Lloh1:
ldr x8, [x8, _CUR_PTR@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w8, #78
strb w8, [sp]
mov w1, #78
mov w2, #79
mov w3, #84
mov w4, #65
mov w5, #84
mov w6, #73
mov w7, #79
bl _CMP8
cbz x0, LBB0_3
; %bb.1:
mov w0, #8
bl _SKIP
Lloh3:
adrp x8, _SKIP_BLANKS@GOTPAGE
Lloh4:
ldr x8, [x8, _SKIP_BLANKS@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cbz x8, LBB0_5
; %bb.2:
mov x0, x20
bl _xmlParseNotationType
str x0, [x19]
Lloh6:
adrp x8, _XML_ATTRIBUTE_NOTATION@GOTPAGE
Lloh7:
ldr x8, [x8, _XML_ATTRIBUTE_NOTATION@GOTPAGEOFF]
b LBB0_4
LBB0_3:
mov x0, x20
bl _xmlParseEnumerationType
str x0, [x19]
Lloh8:
adrp x8, _XML_ATTRIBUTE_ENUMERATION@GOTPAGE
Lloh9:
ldr x8, [x8, _XML_ATTRIBUTE_ENUMERATION@GOTPAGEOFF]
LBB0_4:
ldr w8, [x8]
cmp x0, #0
csel w0, wzr, w8, eq
b LBB0_6
LBB0_5:
Lloh10:
adrp x8, _XML_ERR_SPACE_REQUIRED@GOTPAGE
Lloh11:
ldr x8, [x8, _XML_ERR_SPACE_REQUIRED@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
Lloh13:
adrp x2, l_.str@PAGE
Lloh14:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _xmlFatalErrMsg
mov w0, #0
LBB0_6:
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 AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _CUR_PTR,4,2 ; @CUR_PTR
.comm _SKIP_BLANKS,8,3 ; @SKIP_BLANKS
.comm _XML_ERR_SPACE_REQUIRED,4,2 ; @XML_ERR_SPACE_REQUIRED
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Space required after 'NOTATION'\n"
.comm _XML_ATTRIBUTE_NOTATION,4,2 ; @XML_ATTRIBUTE_NOTATION
.comm _XML_ATTRIBUTE_ENUMERATION,4,2 ; @XML_ATTRIBUTE_ENUMERATION
.subsections_via_symbols
| AnghaBench/reactos/sdk/lib/3rdparty/libxml2/extr_parser.c_xmlParseEnumeratedType.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_dec2bn
_test_dec2bn: ## @test_dec2bn
.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 $0, -16(%rbp)
leaq L_.str(%rip), %rsi
leaq -16(%rbp), %rdi
callq _parsedecBN
movl %eax, %edi
movl $1, %esi
callq _TEST_int_eq
testl %eax, %eax
je LBB0_1
## %bb.2:
movq -16(%rbp), %rdi
xorl %ebx, %ebx
xorl %esi, %esi
callq _TEST_BN_eq_word
testl %eax, %eax
je LBB0_37
## %bb.3:
movq -16(%rbp), %rdi
callq _TEST_BN_eq_zero
testl %eax, %eax
je LBB0_37
## %bb.4:
movq -16(%rbp), %rdi
callq _TEST_BN_le_zero
testl %eax, %eax
je LBB0_37
## %bb.5:
movq -16(%rbp), %rdi
callq _TEST_BN_ge_zero
testl %eax, %eax
je LBB0_37
## %bb.6:
movq -16(%rbp), %rdi
callq _TEST_BN_even
testl %eax, %eax
je LBB0_37
## %bb.7:
movq -16(%rbp), %rdi
callq _BN_free
movq $0, -16(%rbp)
leaq L_.str.1(%rip), %rsi
leaq -16(%rbp), %rdi
callq _parsedecBN
movl %eax, %edi
movl $3, %esi
callq _TEST_int_eq
testl %eax, %eax
je LBB0_37
## %bb.8:
movq -16(%rbp), %rdi
movl $256, %esi ## imm = 0x100
callq _TEST_BN_eq_word
testl %eax, %eax
je LBB0_37
## %bb.9:
movq -16(%rbp), %rdi
callq _TEST_BN_ge_zero
testl %eax, %eax
je LBB0_37
## %bb.10:
movq -16(%rbp), %rdi
callq _TEST_BN_gt_zero
testl %eax, %eax
je LBB0_37
## %bb.11:
movq -16(%rbp), %rdi
callq _TEST_BN_ne_zero
testl %eax, %eax
je LBB0_37
## %bb.12:
movq -16(%rbp), %rdi
callq _TEST_BN_even
testl %eax, %eax
je LBB0_37
## %bb.13:
movq -16(%rbp), %rdi
callq _BN_free
movq $0, -16(%rbp)
leaq L_.str.2(%rip), %rsi
leaq -16(%rbp), %rdi
callq _parsedecBN
movl %eax, %edi
movl $3, %esi
callq _TEST_int_eq
testl %eax, %eax
je LBB0_37
## %bb.14:
movq -16(%rbp), %rdi
movl $42, %esi
callq _TEST_BN_abs_eq_word
testl %eax, %eax
je LBB0_37
## %bb.15:
movq -16(%rbp), %rdi
callq _TEST_BN_lt_zero
testl %eax, %eax
je LBB0_37
## %bb.16:
movq -16(%rbp), %rdi
callq _TEST_BN_le_zero
testl %eax, %eax
je LBB0_37
## %bb.17:
movq -16(%rbp), %rdi
callq _TEST_BN_ne_zero
testl %eax, %eax
je LBB0_37
## %bb.18:
movq -16(%rbp), %rdi
callq _TEST_BN_even
testl %eax, %eax
je LBB0_37
## %bb.19:
movq -16(%rbp), %rdi
callq _BN_free
movq $0, -16(%rbp)
leaq L_.str.3(%rip), %rsi
leaq -16(%rbp), %rdi
callq _parsedecBN
movl %eax, %edi
movl $1, %esi
callq _TEST_int_eq
testl %eax, %eax
je LBB0_37
## %bb.20:
movq -16(%rbp), %rdi
movl $1, %esi
callq _TEST_BN_eq_word
testl %eax, %eax
je LBB0_37
## %bb.21:
movq -16(%rbp), %rdi
callq _TEST_BN_ne_zero
testl %eax, %eax
je LBB0_37
## %bb.22:
movq -16(%rbp), %rdi
callq _TEST_BN_gt_zero
testl %eax, %eax
je LBB0_37
## %bb.23:
movq -16(%rbp), %rdi
callq _TEST_BN_ge_zero
testl %eax, %eax
je LBB0_37
## %bb.24:
movq -16(%rbp), %rdi
callq _TEST_BN_eq_one
testl %eax, %eax
je LBB0_37
## %bb.25:
movq -16(%rbp), %rdi
callq _TEST_BN_odd
testl %eax, %eax
je LBB0_37
## %bb.26:
movq -16(%rbp), %rdi
callq _BN_free
movq $0, -16(%rbp)
leaq L_.str.4(%rip), %rsi
leaq -16(%rbp), %rdi
callq _parsedecBN
movl %eax, %edi
movl $2, %esi
callq _TEST_int_eq
testl %eax, %eax
je LBB0_37
## %bb.27:
movq -16(%rbp), %rdi
callq _TEST_BN_eq_zero
testl %eax, %eax
je LBB0_37
## %bb.28:
movq -16(%rbp), %rdi
callq _TEST_BN_ge_zero
testl %eax, %eax
je LBB0_37
## %bb.29:
movq -16(%rbp), %rdi
callq _TEST_BN_le_zero
testl %eax, %eax
je LBB0_37
## %bb.30:
movq -16(%rbp), %rdi
callq _TEST_BN_even
testl %eax, %eax
je LBB0_37
## %bb.31:
movq -16(%rbp), %rdi
callq _BN_free
movq $0, -16(%rbp)
leaq L_.str.5(%rip), %rsi
leaq -16(%rbp), %rdi
callq _parsedecBN
movl %eax, %edi
movl $2, %esi
callq _TEST_int_eq
testl %eax, %eax
je LBB0_37
## %bb.32:
movq -16(%rbp), %rdi
movl $42, %esi
callq _TEST_BN_abs_eq_word
testl %eax, %eax
je LBB0_37
## %bb.33:
movq -16(%rbp), %rdi
callq _TEST_BN_ge_zero
testl %eax, %eax
je LBB0_37
## %bb.34:
movq -16(%rbp), %rdi
callq _TEST_BN_gt_zero
testl %eax, %eax
je LBB0_37
## %bb.35:
movq -16(%rbp), %rdi
callq _TEST_BN_ne_zero
testl %eax, %eax
je LBB0_37
## %bb.36:
movq -16(%rbp), %rdi
callq _TEST_BN_even
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
jmp LBB0_37
LBB0_1:
xorl %ebx, %ebx
LBB0_37:
movq -16(%rbp), %rdi
callq _BN_free
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0"
L_.str.1: ## @.str.1
.asciz "256"
L_.str.2: ## @.str.2
.asciz "-42"
L_.str.3: ## @.str.3
.asciz "1"
L_.str.4: ## @.str.4
.asciz "-0"
L_.str.5: ## @.str.5
.asciz "42trailing garbage is ignored"
.no_dead_strip _test_dec2bn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_dec2bn
_test_dec2bn: ; @test_dec2bn
.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
str xzr, [sp, #8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x0, sp, #8
bl _parsedecBN
mov w1, #1
bl _TEST_int_eq
cbz w0, LBB0_36
; %bb.1:
ldr x0, [sp, #8]
mov w1, #0
bl _TEST_BN_eq_word
cbz w0, LBB0_36
; %bb.2:
ldr x0, [sp, #8]
bl _TEST_BN_eq_zero
cbz w0, LBB0_36
; %bb.3:
ldr x0, [sp, #8]
bl _TEST_BN_le_zero
cbz w0, LBB0_36
; %bb.4:
ldr x0, [sp, #8]
bl _TEST_BN_ge_zero
cbz w0, LBB0_36
; %bb.5:
ldr x0, [sp, #8]
bl _TEST_BN_even
cbz w0, LBB0_36
; %bb.6:
ldr x0, [sp, #8]
bl _BN_free
str xzr, [sp, #8]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
add x0, sp, #8
bl _parsedecBN
mov w1, #3
bl _TEST_int_eq
cbz w0, LBB0_36
; %bb.7:
ldr x0, [sp, #8]
mov w1, #256
bl _TEST_BN_eq_word
cbz w0, LBB0_36
; %bb.8:
ldr x0, [sp, #8]
bl _TEST_BN_ge_zero
cbz w0, LBB0_36
; %bb.9:
ldr x0, [sp, #8]
bl _TEST_BN_gt_zero
cbz w0, LBB0_36
; %bb.10:
ldr x0, [sp, #8]
bl _TEST_BN_ne_zero
cbz w0, LBB0_36
; %bb.11:
ldr x0, [sp, #8]
bl _TEST_BN_even
cbz w0, LBB0_36
; %bb.12:
ldr x0, [sp, #8]
bl _BN_free
str xzr, [sp, #8]
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
add x0, sp, #8
bl _parsedecBN
mov w1, #3
bl _TEST_int_eq
cbz w0, LBB0_36
; %bb.13:
ldr x0, [sp, #8]
mov w1, #42
bl _TEST_BN_abs_eq_word
cbz w0, LBB0_36
; %bb.14:
ldr x0, [sp, #8]
bl _TEST_BN_lt_zero
cbz w0, LBB0_36
; %bb.15:
ldr x0, [sp, #8]
bl _TEST_BN_le_zero
cbz w0, LBB0_36
; %bb.16:
ldr x0, [sp, #8]
bl _TEST_BN_ne_zero
cbz w0, LBB0_36
; %bb.17:
ldr x0, [sp, #8]
bl _TEST_BN_even
cbz w0, LBB0_36
; %bb.18:
ldr x0, [sp, #8]
bl _BN_free
str xzr, [sp, #8]
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
add x0, sp, #8
bl _parsedecBN
mov w1, #1
bl _TEST_int_eq
cbz w0, LBB0_36
; %bb.19:
ldr x0, [sp, #8]
mov w1, #1
bl _TEST_BN_eq_word
cbz w0, LBB0_36
; %bb.20:
ldr x0, [sp, #8]
bl _TEST_BN_ne_zero
cbz w0, LBB0_36
; %bb.21:
ldr x0, [sp, #8]
bl _TEST_BN_gt_zero
cbz w0, LBB0_36
; %bb.22:
ldr x0, [sp, #8]
bl _TEST_BN_ge_zero
cbz w0, LBB0_36
; %bb.23:
ldr x0, [sp, #8]
bl _TEST_BN_eq_one
cbz w0, LBB0_36
; %bb.24:
ldr x0, [sp, #8]
bl _TEST_BN_odd
cbz w0, LBB0_36
; %bb.25:
ldr x0, [sp, #8]
bl _BN_free
str xzr, [sp, #8]
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
add x0, sp, #8
bl _parsedecBN
mov w1, #2
bl _TEST_int_eq
cbz w0, LBB0_36
; %bb.26:
ldr x0, [sp, #8]
bl _TEST_BN_eq_zero
cbz w0, LBB0_36
; %bb.27:
ldr x0, [sp, #8]
bl _TEST_BN_ge_zero
cbz w0, LBB0_36
; %bb.28:
ldr x0, [sp, #8]
bl _TEST_BN_le_zero
cbz w0, LBB0_36
; %bb.29:
ldr x0, [sp, #8]
bl _TEST_BN_even
cbz w0, LBB0_36
; %bb.30:
ldr x0, [sp, #8]
bl _BN_free
str xzr, [sp, #8]
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
add x0, sp, #8
bl _parsedecBN
mov w1, #2
bl _TEST_int_eq
cbz w0, LBB0_36
; %bb.31:
ldr x0, [sp, #8]
mov w1, #42
bl _TEST_BN_abs_eq_word
cbz w0, LBB0_36
; %bb.32:
ldr x0, [sp, #8]
bl _TEST_BN_ge_zero
cbz w0, LBB0_36
; %bb.33:
ldr x0, [sp, #8]
bl _TEST_BN_gt_zero
cbz w0, LBB0_36
; %bb.34:
ldr x0, [sp, #8]
bl _TEST_BN_ne_zero
cbz w0, LBB0_36
; %bb.35:
ldr x0, [sp, #8]
bl _TEST_BN_even
cmp w0, #0
cset w19, ne
b LBB0_37
LBB0_36:
mov w19, #0
LBB0_37:
ldr x0, [sp, #8]
bl _BN_free
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 AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0"
l_.str.1: ; @.str.1
.asciz "256"
l_.str.2: ; @.str.2
.asciz "-42"
l_.str.3: ; @.str.3
.asciz "1"
l_.str.4: ; @.str.4
.asciz "-0"
l_.str.5: ; @.str.5
.asciz "42trailing garbage is ignored"
.no_dead_strip _test_dec2bn
.subsections_via_symbols
| AnghaBench/openssl/test/extr_bntest.c_test_dec2bn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input_item_parser_id_Interrupt ## -- Begin function input_item_parser_id_Interrupt
.p2align 4, 0x90
_input_item_parser_id_Interrupt: ## @input_item_parser_id_Interrupt
.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
popq %rbp
jmp _input_Stop ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _input_item_parser_id_Interrupt ; -- Begin function input_item_parser_id_Interrupt
.p2align 2
_input_item_parser_id_Interrupt: ; @input_item_parser_id_Interrupt
.cfi_startproc
; %bb.0:
ldr w0, [x0]
b _input_Stop
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/vlc/src/input/extr_item.c_input_item_parser_id_Interrupt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function i915_sg_page_sizes
_i915_sg_page_sizes: ## @i915_sg_page_sizes
.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_1
## %bb.2:
movq %rdi, %rbx
xorl %r14d, %r14d
movq _PAGE_SIZE@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %edi
callq _GEM_BUG_ON
movl 4(%rbx), %edi
movl (%r15), %esi
callq _IS_ALIGNED
xorl %edi, %edi
testl %eax, %eax
sete %dil
callq _GEM_BUG_ON
orl 4(%rbx), %r14d
movq %rbx, %rdi
callq ___sg_next
movq %rax, %rbx
testq %rax, %rax
jne LBB0_3
jmp LBB0_4
LBB0_1:
xorl %r14d, %r14d
LBB0_4:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,4,2 ## @PAGE_SIZE
.no_dead_strip _i915_sg_page_sizes
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function i915_sg_page_sizes
_i915_sg_page_sizes: ; @i915_sg_page_sizes
.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_3
; %bb.1:
mov x20, x0
mov w19, #0
Lloh0:
adrp x21, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20]
bl _GEM_BUG_ON
ldr w0, [x20, #4]
ldr w1, [x21]
bl _IS_ALIGNED
cmp w0, #0
cset w0, eq
bl _GEM_BUG_ON
ldr w8, [x20, #4]
orr w19, w8, w19
mov x0, x20
bl ___sg_next
mov x20, x0
cbnz x0, LBB0_2
b LBB0_4
LBB0_3:
mov w19, #0
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,4,2 ; @PAGE_SIZE
.no_dead_strip _i915_sg_page_sizes
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..i915_scatterlist.h_i915_sg_page_sizes.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function qede_dcbnl_setpgtccfgtx
_qede_dcbnl_setpgtccfgtx: ## @qede_dcbnl_setpgtccfgtx
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, %r14d
movl %r8d, %r15d
movl %ecx, %r12d
movl %edx, %r13d
movl %esi, %ebx
callq _netdev_priv
movq 8(%rax), %rcx
movq (%rcx), %rcx
movq (%rcx), %r11
movl (%rax), %edi
movl %ebx, %esi
movl %r13d, %edx
movl %r12d, %ecx
movl %r15d, %r8d
movl %r14d, %r9d
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%r11 ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _qede_dcbnl_setpgtccfgtx
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function qede_dcbnl_setpgtccfgtx
_qede_dcbnl_setpgtccfgtx: ; @qede_dcbnl_setpgtccfgtx
.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, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x1
bl _netdev_priv
ldr x8, [x0, #8]
ldr x8, [x8]
ldr x6, [x8]
ldr w0, [x0]
mov x1, x23
mov x2, x22
mov x3, x21
mov x4, x20
mov x5, 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
br x6
.cfi_endproc
; -- End function
.no_dead_strip _qede_dcbnl_setpgtccfgtx
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/qlogic/qede/extr_qede_dcbnl.c_qede_dcbnl_setpgtccfgtx.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dict_reset
_dict_reset: ## @dict_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movl 48(%rdi), %edi
callq _DEC_IS_SINGLE
testq %rax, %rax
je LBB0_2
## %bb.1:
movq (%r14), %rax
movq 16(%r14), %rcx
addq %rax, %rcx
movq %rcx, 40(%rbx)
movq 8(%r14), %rcx
subq %rax, %rcx
movq %rcx, 32(%rbx)
LBB0_2:
xorps %xmm0, %xmm0
movups %xmm0, 16(%rbx)
movups %xmm0, (%rbx)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _dict_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dict_reset
_dict_reset: ; @dict_reset
.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
ldr w0, [x0, #48]
bl _DEC_IS_SINGLE
cbz x0, LBB0_2
; %bb.1:
ldp x10, x8, [x20, #8]
ldr x9, [x20]
add x8, x9, x8
sub x9, x10, x9
stp x9, x8, [x19, #32]
LBB0_2:
movi.2d v0, #0000000000000000
stp q0, q0, [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 _dict_reset
.subsections_via_symbols
| AnghaBench/linux/lib/xz/extr_xz_dec_lzma2.c_dict_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kgd_gfx_v9_hqd_is_occupied ## -- Begin function kgd_gfx_v9_hqd_is_occupied
.p2align 4, 0x90
_kgd_gfx_v9_hqd_is_occupied: ## @kgd_gfx_v9_hqd_is_occupied
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r15
movq %rdx, %rbx
movl %esi, %r12d
movq %rdi, %r14
callq _get_amdgpu_device
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq _acquire_queue
movq _GC@GOTPCREL(%rip), %r13
movl (%r13), %edi
movq _mmCP_HQD_ACTIVE@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %r15d, %r15d
xorl %esi, %esi
callq _SOC15_REG_OFFSET
movl %eax, %edi
callq _RREG32
testq %rax, %rax
je LBB0_3
## %bb.1:
sarl $8, %r12d
movl %r12d, %edi
callq _lower_32_bits
movq %rax, %rbx
movl %r12d, %edi
callq _upper_32_bits
movq %rax, %r12
movl (%r13), %edi
movq _mmCP_HQD_PQ_BASE@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %r15d, %r15d
xorl %esi, %esi
callq _SOC15_REG_OFFSET
movl %eax, %edi
callq _RREG32
cmpq %rax, %rbx
jne LBB0_3
## %bb.2:
movl (%r13), %edi
movq _mmCP_HQD_PQ_BASE_HI@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %esi, %esi
callq _SOC15_REG_OFFSET
movl %eax, %edi
callq _RREG32
xorl %r15d, %r15d
cmpq %rax, %r12
sete %r15b
LBB0_3:
movq %r14, %rdi
callq _release_queue
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GC,4,2 ## @GC
.comm _mmCP_HQD_ACTIVE,4,2 ## @mmCP_HQD_ACTIVE
.comm _mmCP_HQD_PQ_BASE,4,2 ## @mmCP_HQD_PQ_BASE
.comm _mmCP_HQD_PQ_BASE_HI,4,2 ## @mmCP_HQD_PQ_BASE_HI
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kgd_gfx_v9_hqd_is_occupied ; -- Begin function kgd_gfx_v9_hqd_is_occupied
.p2align 2
_kgd_gfx_v9_hqd_is_occupied: ; @kgd_gfx_v9_hqd_is_occupied
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x21, x3
mov x22, x2
mov x20, x1
mov x19, x0
bl _get_amdgpu_device
mov x0, x19
mov x1, x22
mov x2, x21
bl _acquire_queue
Lloh0:
adrp x23, _GC@GOTPAGE
Lloh1:
ldr x23, [x23, _GC@GOTPAGEOFF]
ldr w0, [x23]
Lloh2:
adrp x8, _mmCP_HQD_ACTIVE@GOTPAGE
Lloh3:
ldr x8, [x8, _mmCP_HQD_ACTIVE@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
mov w1, #0
bl _SOC15_REG_OFFSET
bl _RREG32
cbz x0, LBB0_3
; %bb.1:
asr w20, w20, #8
mov x0, x20
bl _lower_32_bits
mov x22, x0
mov x0, x20
bl _upper_32_bits
mov x20, x0
ldr w0, [x23]
Lloh5:
adrp x8, _mmCP_HQD_PQ_BASE@GOTPAGE
Lloh6:
ldr x8, [x8, _mmCP_HQD_PQ_BASE@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
mov w1, #0
bl _SOC15_REG_OFFSET
bl _RREG32
mov w21, #0
cmp x22, x0
b.ne LBB0_4
; %bb.2:
ldr w0, [x23]
Lloh8:
adrp x8, _mmCP_HQD_PQ_BASE_HI@GOTPAGE
Lloh9:
ldr x8, [x8, _mmCP_HQD_PQ_BASE_HI@GOTPAGEOFF]
Lloh10:
ldr w2, [x8]
mov w1, #0
bl _SOC15_REG_OFFSET
bl _RREG32
cmp x20, x0
cset w21, eq
b LBB0_4
LBB0_3:
mov w21, #0
LBB0_4:
mov x0, x19
bl _release_queue
mov x0, 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
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _GC,4,2 ; @GC
.comm _mmCP_HQD_ACTIVE,4,2 ; @mmCP_HQD_ACTIVE
.comm _mmCP_HQD_PQ_BASE,4,2 ; @mmCP_HQD_PQ_BASE
.comm _mmCP_HQD_PQ_BASE_HI,4,2 ; @mmCP_HQD_PQ_BASE_HI
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_amdkfd_gfx_v9.c_kgd_gfx_v9_hqd_is_occupied.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function decode_motion_vectors
LCPI0_0:
.long 4294967281 ## 0xfffffff1
.long 15 ## 0xf
.space 4
.space 4
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_decode_motion_vectors: ## @decode_motion_vectors
.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, %r14
movq 8(%rdi), %r13
movq (%rdi), %xmm0 ## xmm0 = mem[0],zero
paddd LCPI0_0(%rip), %xmm0
psrad $4, %xmm0
movd %xmm0, %eax
pextrd $1, %xmm0, %r12d
imull %eax, %r12d
movl $0, -44(%rbp)
leaq 8(%r13), %r15
leaq 24(%r13), %rsi
leal (,%r12,8), %ebx
movq %r15, %rdi
movl %ebx, %edx
callq _av_fast_padded_malloc
cmpq $0, 8(%r13)
je LBB0_14
## %bb.1:
movl (%r13), %eax
movl %eax, -52(%rbp) ## 4-byte Spill
movq %r13, %rdi
callq _bytestream2_get_bytes_left
movq %r13, -64(%rbp) ## 8-byte Spill
movq 16(%r13), %rcx
movq (%rcx), %rdx
addq 8(%rcx), %rdx
addq 16(%rcx), %rdx
subq %rdx, %rax
movq %r14, %rdi
movl -52(%rbp), %esi ## 4-byte Reload
movq %rax, %rdx
callq _init_get_bits8
testl %eax, %eax
js LBB0_13
## %bb.2:
movq (%r15), %rdi
xorl %r13d, %r13d
xorl %esi, %esi
movl %ebx, %edx
callq _memset
testl %r12d, %r12d
js LBB0_10
## %bb.3:
leaq -56(%rbp), %rbx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq -44(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %rbx, %rcx
movl $1, %r8d
callq _read_code
testl %eax, %eax
js LBB0_13
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -48(%rbp), %eax
movq (%r15), %rcx
movslq %r13d, %rdx
movl %eax, (%rcx,%rdx,8)
movl -44(%rbp), %eax
leal (%rdx,%rax), %r13d
decl %r13d
cmpl %r12d, %r13d
jle LBB0_4
## %bb.6:
testl %r12d, %r12d
je LBB0_10
## %bb.7:
xorl %r13d, %r13d
leaq -56(%rbp), %rbx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
leaq -44(%rbp), %rsi
leaq -48(%rbp), %rdx
movq %rbx, %rcx
movl $1, %r8d
callq _read_code
testl %eax, %eax
js LBB0_13
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl -48(%rbp), %eax
movq (%r15), %rcx
movslq %r13d, %rdx
movl %eax, 4(%rcx,%rdx,8)
movl -44(%rbp), %eax
leal (%rdx,%rax), %r13d
incl %r13d
cmpl %r12d, %r13d
jl LBB0_8
LBB0_10:
movq %r14, %rdi
callq _get_bits_left
testq %rax, %rax
jle LBB0_11
## %bb.12:
movq %r14, %rdi
callq _get_bits_count
## kill: def $eax killed $eax def $rax
sarl $3, %eax
leal 1(%rax), %esi
movl %esi, -44(%rbp)
movq -64(%rbp), %rdi ## 8-byte Reload
callq _bytestream2_skip
xorl %eax, %eax
jmp LBB0_13
LBB0_14:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
LBB0_11:
movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_13:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA
.no_dead_strip _decode_motion_vectors
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function decode_motion_vectors
_decode_motion_vectors: ; @decode_motion_vectors
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
ldr x19, [x0, #8]
ldp w8, w9, [x0]
sub w8, w8, #15
asr w8, w8, #4
add w9, w9, #15
asr w9, w9, #4
mul w23, w9, w8
str wzr, [sp, #12]
lsl w21, w23, #3
add x0, x19, #8
add x1, x19, #24
mov x2, x21
bl _av_fast_padded_malloc
ldr x8, [x19, #8]
cbz x8, LBB0_12
; %bb.1:
ldr w22, [x19]
mov x0, x19
bl _bytestream2_get_bytes_left
ldr x8, [x19, #16]
ldp x9, x10, [x8]
ldr x8, [x8, #16]
add x9, x9, x10
sub x8, x0, x8
sub x2, x8, x9
mov x0, x20
mov x1, x22
bl _init_get_bits8
tbnz w0, #31, LBB0_14
; %bb.2:
ldur x0, [x19, #8]
mov w1, #0 ; =0x0
mov x2, x21
bl _memset
tbnz w23, #31, LBB0_10
; %bb.3:
mov w21, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x1, sp, #12
add x2, sp, #8
add x3, sp, #4
mov x0, x20
mov w4, #1 ; =0x1
bl _read_code
tbnz w0, #31, LBB0_14
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #8]
ldur x9, [x19, #8]
sbfiz x10, x21, #3, #32
str w8, [x9, x10]
ldr w8, [sp, #12]
add w8, w21, w8
sub w21, w8, #1
cmp w21, w23
b.le LBB0_4
; %bb.6:
cbz w23, LBB0_10
; %bb.7:
mov w21, #0 ; =0x0
LBB0_8: ; =>This Inner Loop Header: Depth=1
add x1, sp, #12
add x2, sp, #8
add x3, sp, #4
mov x0, x20
mov w4, #1 ; =0x1
bl _read_code
tbnz w0, #31, LBB0_14
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #8]
ldur x9, [x19, #8]
add x9, x9, w21, sxtw #3
str w8, [x9, #4]
ldr w8, [sp, #12]
add w8, w21, w8
add w21, w8, #1
cmp w21, w23
b.lt LBB0_8
LBB0_10:
mov x0, x20
bl _get_bits_left
cmp x0, #0
b.le LBB0_13
; %bb.11:
mov x0, x20
bl _get_bits_count
asr w8, w0, #3
add w1, w8, #1
str w1, [sp, #12]
mov x0, x19
bl _bytestream2_skip
mov w0, #0 ; =0x0
b LBB0_14
LBB0_12:
Lloh0:
adrp x8, _ENOMEM@GOTPAGE
Lloh1:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
b _AVERROR
LBB0_13:
Lloh3:
adrp x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
LBB0_14:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA
.no_dead_strip _decode_motion_vectors
.subsections_via_symbols
| assembly_file_122782.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function stop_usb_playback
_stop_usb_playback: ## @stop_usb_playback
.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 _USB_PLAYBACK_RUNNING@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq 8(%rbx), %rsi
callq _clear_bit
leaq 4(%rbx), %rdi
callq _kill_stream_urbs
movq %rbx, %rdi
callq _tasklet_kill
movq _INTF_PLAYBACK@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _disable_iso_interface ## TAILCALL
.cfi_endproc
## -- End function
.comm _USB_PLAYBACK_RUNNING,4,2 ## @USB_PLAYBACK_RUNNING
.comm _INTF_PLAYBACK,4,2 ## @INTF_PLAYBACK
.no_dead_strip _stop_usb_playback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function stop_usb_playback
_stop_usb_playback: ; @stop_usb_playback
.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, _USB_PLAYBACK_RUNNING@GOTPAGE
Lloh1:
ldr x8, [x8, _USB_PLAYBACK_RUNNING@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
add x1, x19, #8
bl _clear_bit
add x0, x19, #4
bl _kill_stream_urbs
mov x0, x19
bl _tasklet_kill
Lloh3:
adrp x8, _INTF_PLAYBACK@GOTPAGE
Lloh4:
ldr x8, [x8, _INTF_PLAYBACK@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _disable_iso_interface
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _USB_PLAYBACK_RUNNING,4,2 ; @USB_PLAYBACK_RUNNING
.comm _INTF_PLAYBACK,4,2 ; @INTF_PLAYBACK
.no_dead_strip _stop_usb_playback
.subsections_via_symbols
| AnghaBench/linux/sound/usb/misc/extr_ua101.c_stop_usb_playback.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function split_block
_split_block: ## @split_block
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r14
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
cmpl %esi, (%rdi)
jge LBB0_3
## %bb.1:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $32, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_6
## %bb.2:
movl %r12d, (%rax)
movl (%rbx), %ecx
subl %r12d, %ecx
addl 4(%rbx), %ecx
movl %ecx, 4(%rax)
movq $0, 8(%rax)
movq 16(%rbx), %rdx
movq %rdx, 16(%rax)
movq %rbx, 24(%rax)
movq 16(%rbx), %rdx
movq %rax, 24(%rdx)
movq %rax, 16(%rbx)
subl %ecx, 4(%rbx)
movq %rax, %rbx
LBB0_3:
cmpl %r15d, 4(%rbx)
jle LBB0_6
## %bb.4:
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl $32, %edi
callq _kmalloc
testq %rax, %rax
je LBB0_6
## %bb.5:
addl %r15d, %r12d
movl %r12d, (%rax)
movl 4(%rbx), %ecx
subl %r15d, %ecx
movl %ecx, 4(%rax)
movq $0, 8(%rax)
movq 16(%rbx), %rcx
movq %rcx, 16(%rax)
movq %rbx, 24(%rax)
movq 16(%rbx), %rcx
movq %rax, 24(%rcx)
movq %rax, 16(%rbx)
movl %r15d, 4(%rbx)
LBB0_6:
movq %r14, 8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.no_dead_strip _split_block
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function split_block
_split_block: ; @split_block
.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 x21, x2
mov x22, x1
mov x20, x0
ldr w8, [x0]
cmp w8, w1
b.ge LBB0_3
; %bb.1:
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w0, #32
bl _kmalloc
cbz x0, LBB0_6
; %bb.2:
str w22, [x0]
ldp w9, w8, [x20]
sub w9, w9, w22
add w8, w9, w8
str w8, [x0, #4]
ldr x9, [x20, #16]
stp xzr, x9, [x0, #8]
str x20, [x0, #24]
ldr x9, [x20, #16]
str x0, [x9, #24]
str x0, [x20, #16]
ldr w9, [x20, #4]
sub w8, w9, w8
str w8, [x20, #4]
mov x20, x0
LBB0_3:
ldr w8, [x20, #4]
cmp w8, w21
b.le LBB0_6
; %bb.4:
Lloh3:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh4:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov w0, #32
bl _kmalloc
cbz x0, LBB0_6
; %bb.5:
add w8, w21, w22
ldr w9, [x20, #4]
sub w9, w9, w21
stp w8, w9, [x0]
ldr x8, [x20, #16]
stp xzr, x8, [x0, #8]
str x20, [x0, #24]
ldr x8, [x20, #16]
str x0, [x8, #24]
str x0, [x20, #16]
str w21, [x20, #4]
LBB0_6:
str x19, [x20, #8]
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 _GFP_KERNEL,4,2 ; @GFP_KERNEL
.no_dead_strip _split_block
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_mem.c_split_block.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function TI4_Config
_TI4_Config: ## @TI4_Config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TIM_CCER_CC4E@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movl %r8d, %r9d
notl %r9d
andl (%rdi), %r9d
shll $12, %esi
orl %r8d, %esi
movl %r9d, (%rdi)
movq _TIM_CCMR2_CC4S@GOTPCREL(%rip), %r8
movq _TIM_CCMR2_IC4F@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl (%r8), %eax
notl %eax
andl 4(%rdi), %eax
shll $8, %edx
shll $12, %ecx
orl %edx, %ecx
orl %eax, %ecx
movq _TIM_CCER_CC4P@GOTPCREL(%rip), %rax
movq _TIM_CCER_CC4NP@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rax), %edx
notl %edx
andl %r9d, %edx
orl %edx, %esi
movl %ecx, 4(%rdi)
movl %esi, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TIM_CCER_CC4E,8,3 ## @TIM_CCER_CC4E
.comm _TIM_CCMR2_CC4S,8,3 ## @TIM_CCMR2_CC4S
.comm _TIM_CCMR2_IC4F,8,3 ## @TIM_CCMR2_IC4F
.comm _TIM_CCER_CC4P,4,2 ## @TIM_CCER_CC4P
.comm _TIM_CCER_CC4NP,4,2 ## @TIM_CCER_CC4NP
.no_dead_strip _TI4_Config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function TI4_Config
_TI4_Config: ; @TI4_Config
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _TIM_CCER_CC4E@GOTPAGE
Lloh1:
ldr x8, [x8, _TIM_CCER_CC4E@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
ldp w9, w10, [x0]
bic w9, w9, w8
Lloh3:
adrp x11, _TIM_CCMR2_CC4S@GOTPAGE
Lloh4:
ldr x11, [x11, _TIM_CCMR2_CC4S@GOTPAGEOFF]
Lloh5:
ldr w11, [x11]
Lloh6:
adrp x12, _TIM_CCMR2_IC4F@GOTPAGE
Lloh7:
ldr x12, [x12, _TIM_CCMR2_IC4F@GOTPAGEOFF]
Lloh8:
ldr w12, [x12]
orr w11, w12, w11
bic w10, w10, w11
lsl w11, w3, #12
orr w11, w11, w2, lsl #8
Lloh9:
adrp x12, _TIM_CCER_CC4P@GOTPAGE
Lloh10:
ldr x12, [x12, _TIM_CCER_CC4P@GOTPAGEOFF]
orr w10, w11, w10
str w9, [x0]
Lloh11:
ldr w11, [x12]
Lloh12:
adrp x12, _TIM_CCER_CC4NP@GOTPAGE
Lloh13:
ldr x12, [x12, _TIM_CCER_CC4NP@GOTPAGEOFF]
Lloh14:
ldr w12, [x12]
orr w11, w12, w11
bic w9, w9, w11
orr w8, w8, w1, lsl #12
orr w8, w8, w9
stp w8, w10, [x0]
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TIM_CCER_CC4E,8,3 ; @TIM_CCER_CC4E
.comm _TIM_CCMR2_CC4S,8,3 ; @TIM_CCMR2_CC4S
.comm _TIM_CCMR2_IC4F,8,3 ; @TIM_CCMR2_IC4F
.comm _TIM_CCER_CC4P,4,2 ; @TIM_CCER_CC4P
.comm _TIM_CCER_CC4NP,4,2 ; @TIM_CCER_CC4NP
.no_dead_strip _TI4_Config
.subsections_via_symbols
| AnghaBench/anypixel/firmware/display/ThirdParty/SPL/src/extr_stm32f0xx_tim.c_TI4_Config.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 %r14
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -24(%rbp)
movq l___const.main.array+32(%rip), %rax
movq %rax, -32(%rbp)
movaps l___const.main.array+16(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movaps l___const.main.array(%rip), %xmm0
movaps %xmm0, -64(%rbp)
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
callq _rand
cltq
imulq $1717986919, %rax, %rcx ## imm = 0x66666667
movq %rcx, %rdx
shrq $63, %rdx
shrq $32, %rcx
sarl $2, %ecx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
subl %ecx, %eax
movslq %eax, %rbx
movl -64(%rbp,%rbx,4), %esi
leaq L_.str.1(%rip), %r14
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl $1256, -64(%rbp,%rbx,4) ## imm = 0x4E8
callq _rand
cltq
imulq $954437177, %rax, %rcx ## imm = 0x38E38E39
movq %rcx, %rdx
shrq $63, %rdx
shrq $32, %rcx
sarl %ecx
addl %edx, %ecx
leal (%rcx,%rcx,8), %ecx
subl %ecx, %eax
movslq %eax, %rbx
movl -64(%rbp,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl -32(%rbp), %eax
movl %eax, -64(%rbp,%rbx,4)
callq _rand
## kill: def $eax killed $eax def $rax
leal 7(%rax), %ecx
testl %eax, %eax
cmovnsl %eax, %ecx
andl $-8, %ecx
subl %ecx, %eax
movslq %eax, %rbx
movl -64(%rbp,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl -36(%rbp), %eax
movl %eax, -64(%rbp,%rbx,4)
callq _rand
cltq
imulq $-1840700269, %rax, %rcx ## imm = 0x92492493
shrq $32, %rcx
addl %eax, %ecx
movl %ecx, %edx
shrl $31, %edx
sarl $2, %ecx
addl %edx, %ecx
leal (,%rcx,8), %edx
subl %edx, %ecx
addl %eax, %ecx
movslq %ecx, %rbx
movl -64(%rbp,%rbx,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movl -40(%rbp), %eax
movl %eax, -64(%rbp,%rbx,4)
callq _rand
cltq
imulq $715827883, %rax, %rcx ## imm = 0x2AAAAAAB
movq %rcx, %rdx
shrq $63, %rdx
shrq $32, %rcx
addl %edx, %ecx
addl %ecx, %ecx
leal (%rcx,%rcx,2), %ecx
subl %ecx, %eax
cltq
movl -64(%rbp,%rax,4), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -24(%rbp), %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _show ## -- Begin function show
.p2align 4, 0x90
_show: ## @show
.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
## kill: def $edx killed $edx def $rdx
movq %rdx, -48(%rbp) ## 8-byte Spill
cmpl %esi, %edx
jg LBB1_5
## %bb.1:
movl %esi, %r15d
movq %rdi, %rbx
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB1_4
## %bb.2:
movslq %r15d, %rax
movl %r15d, %r12d
leaq (%rbx,%rax,4), %r13
addq $-4, %r13
movq -48(%rbp), %rax ## 8-byte Reload
negl %eax
movq %rax, -48(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
callq _rand
leal (%r12,%r15), %ecx
cltd
idivl %ecx
movslq %edx, %r14
movl (%rbx,%r14,4), %esi
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf
movl (%rbx,%r14,4), %eax
movl (%r13,%r15,4), %ecx
movl %ecx, (%rbx,%r14,4)
movl %eax, (%r13,%r15,4)
decq %r15
cmpl %r15d, -48(%rbp) ## 4-byte Folded Reload
jne LBB1_3
LBB1_4:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB1_5:
leaq L_.str(%rip), %rdi
callq _puts
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.array
l___const.main.array:
.long 123 ## 0x7b
.long 213 ## 0xd5
.long 34 ## 0x22
.long 845 ## 0x34d
.long 6 ## 0x6
.long 456 ## 0x1c8
.long 732 ## 0x2dc
.long 62 ## 0x3e
.long 3 ## 0x3
.long 1256 ## 0x4e8
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "That's too big!\n"
L_.str.1: ## @.str.1
.asciz "u got %d!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-40]
Lloh3:
adrp x8, l___const.main.array@PAGE
Lloh4:
add x8, x8, l___const.main.array@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp, #16]
ldr x8, [x8, #32]
str x8, [sp, #48]
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _rand
mov w8, #26215
movk w8, #26214, lsl #16
smull x8, w0, w8
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #2
mov w9, #10
msub w8, w8, w9, w0
sbfiz x21, x8, #2, #32
add x20, sp, #16
ldr w8, [x20, x21]
str x8, [sp]
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
mov x0, x19
bl _printf
mov w8, #1256
str w8, [x20, x21]
bl _rand
mov w8, #36409
movk w8, #14563, lsl #16
smull x8, w0, w8
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #1
add w8, w8, w8, lsl #3
sub w8, w0, w8
sbfiz x21, x8, #2, #32
ldr w8, [x20, x21]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #48]
str w8, [x20, x21]
bl _rand
negs w8, w0
and w8, w8, #0x7
and w9, w0, #0x7
csneg w8, w9, w8, mi
sbfiz x21, x8, #2, #32
ldr w8, [x20, x21]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #44]
str w8, [x20, x21]
bl _rand
mov w8, #9363
movk w8, #37449, lsl #16
smull x8, w0, w8
lsr x8, x8, #32
add w8, w8, w0
asr w9, w8, #2
add w8, w9, w8, lsr #31
sub w8, w8, w8, lsl #3
add w8, w0, w8
sbfiz x21, x8, #2, #32
ldr w8, [x20, x21]
str x8, [sp]
mov x0, x19
bl _printf
ldr w8, [sp, #40]
str w8, [x20, x21]
bl _rand
mov w8, #43691
movk w8, #10922, lsl #16
smull x8, w0, w8
lsr x9, x8, #63
lsr x8, x8, #32
add w8, w8, w9
mov w9, #6
msub w8, w8, w9, w0
ldr w8, [x20, w8, sxtw #2]
str x8, [sp]
mov x0, x19
bl _printf
ldur x8, [x29, #-40]
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_2
; %bb.1:
mov w0, #0
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
add sp, sp, #112
ret
LBB0_2:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.globl _show ; -- Begin function show
.p2align 2
_show: ; @show
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
cmp w2, w1
b.gt LBB1_5
; %bb.1:
mov x19, x2
mov x20, x1
mov x21, x0
mov x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
cmp w19, #1
b.lt LBB1_4
; %bb.2:
add x8, x21, w20, sxtw #2
sub x23, x8, #4
Lloh10:
adrp x22, l_.str.1@PAGE
Lloh11:
add x22, x22, l_.str.1@PAGEOFF
LBB1_3: ; =>This Inner Loop Header: Depth=1
bl _rand
sdiv w8, w0, w20
msub w8, w8, w20, w0
sbfiz x24, x8, #2, #32
ldr w8, [x21, x24]
str x8, [sp]
mov x0, x22
bl _printf
ldr w8, [x21, x24]
ldr w9, [x23]
str w9, [x21, x24]
str w8, [x23], #-4
sub w20, w20, #1
subs w19, w19, #1
b.ne LBB1_3
LBB1_4:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB1_5:
Lloh12:
adrp x0, l_.str@PAGE
Lloh13:
add x0, x0, l_.str@PAGEOFF
bl _puts
mov w0, #1
bl _exit
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.array
l___const.main.array:
.long 123 ; 0x7b
.long 213 ; 0xd5
.long 34 ; 0x22
.long 845 ; 0x34d
.long 6 ; 0x6
.long 456 ; 0x1c8
.long 732 ; 0x2dc
.long 62 ; 0x3e
.long 3 ; 0x3
.long 1256 ; 0x4e8
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "That's too big!\n"
l_.str.1: ; @.str.1
.asciz "u got %d!\n"
.subsections_via_symbols
| the_stack_data/86074757.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _debug_record_line ## -- Begin function debug_record_line
.p2align 4, 0x90
_debug_record_line: ## @debug_record_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
cmpq $0, 16(%rdi)
je LBB0_1
## %bb.2:
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq 8(%rdi), %rax
testq %rax, %rax
je LBB0_9
## %bb.3:
movq (%rax), %rcx
cmpq (%r12), %rcx
jne LBB0_9
## %bb.4:
movq _DEBUG_LINENO_COUNT@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testq %rcx, %rcx
je LBB0_9
## %bb.5:
movq 8(%rax), %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpq $-1, (%rsi,%rdx,8)
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
incq %rdx
cmpq %rdx, %rcx
jne LBB0_6
LBB0_9:
movl $32, %edi
callq _xmalloc
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movq (%r12), %rax
movq %rax, (%rbx)
movq 8(%rbx), %rax
movq %r15, (%rax)
movq 24(%rbx), %rax
movq %r14, (%rax)
movq _DEBUG_LINENO_COUNT@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl $2, %eax
jb LBB0_11
## %bb.10:
movq 8(%rbx), %rdi
addq $8, %rdi
addl $-2, %eax
leaq 8(,%rax,8), %rdx
movl $255, %esi
callq _memset
LBB0_11:
movq 8(%r12), %rax
testq %rax, %rax
je LBB0_13
## %bb.12:
addq $16, %rax
jmp LBB0_14
LBB0_1:
leaq L_.str(%rip), %rdi
callq __
movl %eax, %edi
callq _debug_error
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_13:
movq 16(%r12), %rax
LBB0_14:
movq %rbx, (%rax)
movq %rbx, 8(%r12)
LBB0_15:
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_7:
movq %r15, (%rsi,%rdx,8)
movq 24(%rax), %rax
movq %r14, (%rax,%rdx,8)
jmp LBB0_15
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "debug_record_line: no current unit"
.comm _FALSE,4,2 ## @FALSE
.comm _DEBUG_LINENO_COUNT,4,2 ## @DEBUG_LINENO_COUNT
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _debug_record_line ; -- Begin function debug_record_line
.p2align 2
_debug_record_line: ; @debug_record_line
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
ldr x8, [x0, #16]
cbz x8, LBB0_11
; %bb.1:
mov x20, x2
mov x21, x1
mov x19, x0
ldr x8, [x0, #8]
Lloh0:
adrp x23, _DEBUG_LINENO_COUNT@GOTPAGE
Lloh1:
ldr x23, [x23, _DEBUG_LINENO_COUNT@GOTPAGEOFF]
cbz x8, LBB0_7
; %bb.2:
ldr x9, [x8]
ldr x10, [x19]
cmp x9, x10
b.ne LBB0_7
; %bb.3:
ldr w11, [x23]
cbz w11, LBB0_7
; %bb.4:
mov x9, #0
ldr x10, [x8, #8]
lsl x11, x11, #3
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x12, [x10, x9]
cmn x12, #1
b.eq LBB0_16
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x9, x9, #8
cmp x11, x9
b.ne LBB0_5
LBB0_7:
mov w0, #32
bl _xmalloc
mov x22, x0
mov w1, #0
mov w2, #32
bl _memset
ldr x8, [x19]
str x8, [x22]
ldr x8, [x22, #8]
str x21, [x8]
ldr x8, [x22, #24]
str x20, [x8]
ldr w8, [x23]
subs w8, w8, #2
b.lo LBB0_9
; %bb.8:
ldr x9, [x22, #8]
add x0, x9, #8
lsl x8, x8, #3
add x2, x8, #8
mov w1, #255
bl _memset
LBB0_9:
ldr x8, [x19, #8]
cbz x8, LBB0_12
; %bb.10:
add x8, x8, #16
b LBB0_13
LBB0_11:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl __
bl _debug_error
Lloh4:
adrp x8, _FALSE@GOTPAGE
Lloh5:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
b LBB0_15
LBB0_12:
ldr x8, [x19, #16]
LBB0_13:
str x22, [x8]
str x22, [x19, #8]
LBB0_14:
Lloh6:
adrp x8, _TRUE@GOTPAGE
Lloh7:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_15:
ldr w0, [x8]
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_16:
str x21, [x10, x9]
ldr x8, [x8, #24]
str x20, [x8, x9]
b LBB0_14
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "debug_record_line: no current unit"
.comm _FALSE,4,2 ; @FALSE
.comm _DEBUG_LINENO_COUNT,4,2 ; @DEBUG_LINENO_COUNT
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/freebsd/contrib/binutils/binutils/extr_debug.c_debug_record_line.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function JSGlobal_decodeURIComponent
_JSGlobal_decodeURIComponent: ## @JSGlobal_decodeURIComponent
.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 %r9, %rbx
movq %r8, %r15
movl %ecx, %r12d
movq %rdi, %r14
leaq L_.str(%rip), %rdi
callq _TRACE
testl %r12d, %r12d
je LBB0_21
## %bb.1:
movl (%r15), %esi
leaq -80(%rbp), %rdx
leaq -96(%rbp), %rcx
movq %r14, %rdi
callq _to_flat_string
movl %eax, %r14d
movl %eax, %edi
callq _FAILED
testq %rax, %rax
jne LBB0_30
## %bb.2:
movq -96(%rbp), %r15
xorl %r14d, %r14d
movq %rbx, -72(%rbp) ## 8-byte Spill
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
## Child Loop BB0_16 Depth 2
movzbl (%r15), %eax
cmpl $37, %eax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
testl %eax, %eax
je LBB0_31
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
incq %r15
movl $1, %eax
addq %rax, %r14
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movsbl 1(%r15), %edi
callq _hex_to_int
testl %eax, %eax
jns LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movsbl 2(%r15), %edi
callq _hex_to_int
testl %eax, %eax
js LBB0_27
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movsbl 1(%r15), %edi
callq _hex_to_int
movl %eax, %r13d
shll $4, %r13d
movsbl 2(%r15), %edi
callq _hex_to_int
subl %eax, %r13d
movb %r13b, -48(%rbp)
testb %r13b, %r13b
js LBB0_12
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
addq $3, %r15
xorl %ebx, %ebx
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq _CP_UTF8@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _MB_ERR_INVALID_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %esi
cmpl $1, %ebx
adcl $0, %ebx
leaq -48(%rbp), %rdx
movl %ebx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _MultiByteToWideChar
testl %eax, %eax
je LBB0_48
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
cltq
addq %rax, %r14
movq -72(%rbp), %rbx ## 8-byte Reload
jmp LBB0_3
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movsbl %r13b, %eax
movl $128, %ecx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %r13
shrl %ecx
decq %rbx
testl %eax, %ecx
jne LBB0_13
## %bb.14: ## in Loop: Header=BB0_3 Depth=1
movl $-5, %eax
subl %ebx, %eax
cmpl $-3, %eax
jb LBB0_49
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
movq %r14, -64(%rbp) ## 8-byte Spill
negq %rbx
addq $3, %r15
movl $1, %r14d
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $37, (%r15)
jne LBB0_25
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
movsbl 1(%r15), %edi
callq _hex_to_int
testl %eax, %eax
js LBB0_27
## %bb.18: ## in Loop: Header=BB0_16 Depth=2
movsbl 2(%r15), %edi
callq _hex_to_int
testl %eax, %eax
js LBB0_27
## %bb.19: ## in Loop: Header=BB0_16 Depth=2
movsbl 1(%r15), %edi
callq _hex_to_int
movl %eax, %r12d
shll $4, %r12d
movsbl 2(%r15), %edi
callq _hex_to_int
addl %r12d, %eax
movb %al, -48(%rbp,%r14)
addq $3, %r15
leaq (%r14,%r13), %rax
incq %rax
incq %r14
cmpq $2, %rax
jne LBB0_16
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq -64(%rbp), %r14 ## 8-byte Reload
jmp LBB0_10
LBB0_21:
testq %rbx, %rbx
je LBB0_24
## %bb.22:
xorl %eax, %eax
callq _jsstr_undefined
movq %rax, %rdi
LBB0_23:
callq _jsval_string
movl %eax, (%rbx)
LBB0_24:
movq _S_OK@GOTPCREL(%rip), %rax
jmp LBB0_29
LBB0_27:
leaq L_.str.1(%rip), %rdi
jmp LBB0_28
LBB0_25:
leaq L_.str.3(%rip), %rdi
LBB0_28:
callq _FIXME
movq -80(%rbp), %rdi
callq _jsstr_release
movq _E_FAIL@GOTPCREL(%rip), %rax
LBB0_29:
movl (%rax), %r14d
LBB0_30:
movl %r14d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_31:
leaq -48(%rbp), %rsi
movq %r14, %rdi
callq _jsstr_alloc_buf
testq %rax, %rax
je LBB0_50
## %bb.32:
movq %rax, -88(%rbp) ## 8-byte Spill
movq -96(%rbp), %r15
leaq -52(%rbp), %r12
jmp LBB0_35
LBB0_33: ## in Loop: Header=BB0_35 Depth=1
addq $3, %r15
xorl %ecx, %ecx
LBB0_34: ## in Loop: Header=BB0_35 Depth=1
movq _CP_UTF8@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _MB_ERR_INVALID_CHARS@GOTPCREL(%rip), %rax
movl (%rax), %esi
cmpl $1, %ecx
adcl $0, %ecx
movq -48(%rbp), %r8
movq %r12, %rdx
movq %r14, %r9
callq _MultiByteToWideChar
cltq
subq %rax, %r14
addq %rax, -48(%rbp)
LBB0_35: ## =>This Loop Header: Depth=1
## Child Loop BB0_40 Depth 2
## Child Loop BB0_44 Depth 2
movzbl (%r15), %eax
cmpl $37, %eax
je LBB0_38
## %bb.36: ## in Loop: Header=BB0_35 Depth=1
testl %eax, %eax
je LBB0_46
## %bb.37: ## in Loop: Header=BB0_35 Depth=1
incq %r15
movq -48(%rbp), %rcx
leaq 1(%rcx), %rdx
movq %rdx, -48(%rbp)
movb %al, (%rcx)
decq %r14
jmp LBB0_35
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_35 Depth=1
movsbl 1(%r15), %edi
callq _hex_to_int
movl %eax, %r13d
shll $4, %r13d
movsbl 2(%r15), %edi
callq _hex_to_int
addl %r13d, %eax
movb %al, -52(%rbp)
testb %al, %al
jns LBB0_33
## %bb.39: ## in Loop: Header=BB0_35 Depth=1
movq %r14, -64(%rbp) ## 8-byte Spill
movsbl %al, %eax
movl $128, %ecx
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_40: ## Parent Loop BB0_35 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %r14
shrl %ecx
incq %rbx
testl %eax, %ecx
jne LBB0_40
## %bb.41: ## in Loop: Header=BB0_35 Depth=1
addq $3, %r15
movl $1, %ecx
cmpl $1, %ebx
jne LBB0_43
## %bb.42: ## in Loop: Header=BB0_35 Depth=1
movq -72(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r14 ## 8-byte Reload
jmp LBB0_34
LBB0_43: ## in Loop: Header=BB0_35 Depth=1
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_44: ## Parent Loop BB0_35 Depth=1
## => This Inner Loop Header: Depth=2
movsbl 1(%r15), %edi
callq _hex_to_int
movl %eax, %r13d
shll $4, %r13d
movsbl 2(%r15), %edi
callq _hex_to_int
addl %r13d, %eax
movb %al, -51(%rbp,%r12)
addq $3, %r15
incq %r12
cmpq %r12, %r14
jne LBB0_44
## %bb.45: ## in Loop: Header=BB0_35 Depth=1
movl %ebx, %ecx
movq -72(%rbp), %rbx ## 8-byte Reload
movq -64(%rbp), %r14 ## 8-byte Reload
leaq -52(%rbp), %r12
jmp LBB0_34
LBB0_46:
movq -80(%rbp), %rdi
callq _jsstr_release
testq %rbx, %rbx
je LBB0_52
## %bb.47:
movq -88(%rbp), %rdi ## 8-byte Reload
jmp LBB0_23
LBB0_48:
leaq L_.str.4(%rip), %rdi
jmp LBB0_28
LBB0_49:
leaq L_.str.2(%rip), %rdi
jmp LBB0_28
LBB0_50:
movq -80(%rbp), %rdi
callq _jsstr_release
movq _E_OUTOFMEMORY@GOTPCREL(%rip), %rax
jmp LBB0_29
LBB0_52:
movq -88(%rbp), %rdi ## 8-byte Reload
callq _jsstr_release
jmp LBB0_24
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n"
.comm _S_OK,4,2 ## @S_OK
L_.str.1: ## @.str.1
.asciz "Throw URIError: Invalid hex sequence\n"
.comm _E_FAIL,4,2 ## @E_FAIL
L_.str.2: ## @.str.2
.asciz "Throw URIError: Invalid initial UTF character\n"
L_.str.3: ## @.str.3
.asciz "Throw URIError: Incomplete UTF sequence\n"
.comm _CP_UTF8,4,2 ## @CP_UTF8
.comm _MB_ERR_INVALID_CHARS,4,2 ## @MB_ERR_INVALID_CHARS
L_.str.4: ## @.str.4
.asciz "Throw URIError: Invalid UTF sequence\n"
.comm _E_OUTOFMEMORY,4,2 ## @E_OUTOFMEMORY
.no_dead_strip _JSGlobal_decodeURIComponent
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function JSGlobal_decodeURIComponent
_JSGlobal_decodeURIComponent: ; @JSGlobal_decodeURIComponent
.cfi_startproc
; %bb.0:
sub sp, sp, #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, x5
mov x21, x4
mov x22, x3
mov x20, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _TRACE
cbz w22, LBB0_21
; %bb.1:
ldr w1, [x21]
add x2, sp, #16
add x3, sp, #24
mov x0, x20
bl _to_flat_string
mov x20, x0
bl _FAILED
cbnz x0, LBB0_28
; %bb.2:
mov x20, #0 ; =0x0
ldr x25, [sp, #24]
add x8, sp, #8
add x24, x8, #1
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
Lloh4:
adrp x23, _CP_UTF8@GOTPAGE
Lloh5:
ldr x23, [x23, _CP_UTF8@GOTPAGEOFF]
mov w27, #-5 ; =0xfffffffb
mov w26, #1 ; =0x1
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
; Child Loop BB0_16 Depth 2
ldrb w8, [x25]
cmp w8, #37
b.eq LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
cbz w8, LBB0_29
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
add x25, x25, #1
mov w8, #1 ; =0x1
add x20, x8, x20
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldrsb w0, [x25, #1]
bl _hex_to_int
tbz w0, #31, LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldrsb w0, [x25, #2]
bl _hex_to_int
tbnz w0, #31, LBB0_26
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldrsb w0, [x25, #1]
bl _hex_to_int
lsl w22, w0, #4
ldrsb w0, [x25, #2]
bl _hex_to_int
sub w9, w22, w0
strb w9, [sp, #8]
tbnz w9, #7, LBB0_12
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
mov w28, #0 ; =0x0
add x25, x25, #3
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x23]
Lloh6:
adrp x8, _MB_ERR_INVALID_CHARS@GOTPAGE
Lloh7:
ldr x8, [x8, _MB_ERR_INVALID_CHARS@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
cmp w28, #1
csinc w3, w28, wzr, hi
add x2, sp, #8
mov x4, #0 ; =0x0
mov x5, #0 ; =0x0
bl _MultiByteToWideChar
; kill: def $w0 killed $w0 def $x0
cbz w0, LBB0_46
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
sxtw x8, w0
add x20, x8, x20
b LBB0_3
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
mov x8, #0 ; =0x0
sxtb w10, w9
mov w11, #128 ; =0x80
LBB0_13: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x9, x8
lsr w11, w11, #1
sub x8, x8, #1
and w12, w11, w10
cbnz w12, LBB0_13
; %bb.14: ; in Loop: Header=BB0_3 Depth=1
sub w10, w27, w8
cmn w10, #3
b.lo LBB0_47
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
neg x28, x8
add x25, x25, #3
sub x23, x26, x9
mov x26, x24
LBB0_16: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x25]
cmp w8, #37
b.ne LBB0_25
; %bb.17: ; in Loop: Header=BB0_16 Depth=2
ldrsb w0, [x25, #1]
bl _hex_to_int
tbnz w0, #31, LBB0_26
; %bb.18: ; in Loop: Header=BB0_16 Depth=2
ldrsb w0, [x25, #2]
bl _hex_to_int
tbnz w0, #31, LBB0_26
; %bb.19: ; in Loop: Header=BB0_16 Depth=2
ldrsb w0, [x25, #1]
bl _hex_to_int
mov x22, x0
ldrsb w0, [x25, #2]
bl _hex_to_int
add w8, w0, w22, lsl #4
strb w8, [x26], #1
add x25, x25, #3
subs x23, x23, #1
b.ne LBB0_16
; %bb.20: ; in Loop: Header=BB0_3 Depth=1
Lloh9:
adrp x23, _CP_UTF8@GOTPAGE
Lloh10:
ldr x23, [x23, _CP_UTF8@GOTPAGEOFF]
mov w26, #1 ; =0x1
b LBB0_10
LBB0_21:
cbz x19, LBB0_24
; %bb.22:
bl _jsstr_undefined
LBB0_23:
bl _jsval_string
str w0, [x19]
LBB0_24:
Lloh11:
adrp x8, _S_OK@GOTPAGE
Lloh12:
ldr x8, [x8, _S_OK@GOTPAGEOFF]
b LBB0_27
LBB0_25:
Lloh13:
adrp x21, l_.str.3@PAGE
Lloh14:
add x21, x21, l_.str.3@PAGEOFF
LBB0_26:
mov x0, x21
bl _FIXME
ldr x0, [sp, #16]
bl _jsstr_release
Lloh15:
adrp x8, _E_FAIL@GOTPAGE
Lloh16:
ldr x8, [x8, _E_FAIL@GOTPAGEOFF]
LBB0_27:
ldr w20, [x8]
LBB0_28:
mov x0, x20
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_29:
add x1, sp, #8
mov x0, x20
bl _jsstr_alloc_buf
cbz x0, LBB0_48
; %bb.30:
mov x21, x0
ldr x25, [sp, #24]
add x8, sp, #4
add x26, x8, #1
b LBB0_33
LBB0_31: ; in Loop: Header=BB0_33 Depth=1
mov w27, #0 ; =0x0
add x25, x25, #3
LBB0_32: ; in Loop: Header=BB0_33 Depth=1
ldr w0, [x23]
Lloh17:
adrp x8, _MB_ERR_INVALID_CHARS@GOTPAGE
Lloh18:
ldr x8, [x8, _MB_ERR_INVALID_CHARS@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
cmp w27, #1
csinc w3, w27, wzr, hi
ldr x4, [sp, #8]
add x2, sp, #4
mov x5, x20
bl _MultiByteToWideChar
; kill: def $w0 killed $w0 def $x0
sxtw x8, w0
sub x20, x20, x8
ldr x9, [sp, #8]
add x8, x9, x8
str x8, [sp, #8]
LBB0_33: ; =>This Loop Header: Depth=1
; Child Loop BB0_38 Depth 2
; Child Loop BB0_42 Depth 2
ldrb w8, [x25]
cmp w8, #37
b.eq LBB0_36
; %bb.34: ; in Loop: Header=BB0_33 Depth=1
cbz w8, LBB0_44
; %bb.35: ; in Loop: Header=BB0_33 Depth=1
add x25, x25, #1
ldr x9, [sp, #8]
add x10, x9, #1
str x10, [sp, #8]
strb w8, [x9]
sub x20, x20, #1
b LBB0_33
LBB0_36: ; in Loop: Header=BB0_33 Depth=1
ldrsb w0, [x25, #1]
bl _hex_to_int
mov x22, x0
ldrsb w0, [x25, #2]
bl _hex_to_int
add w8, w0, w22, lsl #4
strb w8, [sp, #4]
tbz w8, #7, LBB0_31
; %bb.37: ; in Loop: Header=BB0_33 Depth=1
mov x27, #0 ; =0x0
sxtb w8, w8
mov w9, #128 ; =0x80
LBB0_38: ; Parent Loop BB0_33 Depth=1
; => This Inner Loop Header: Depth=2
mov x23, x27
lsr w9, w9, #1
add x27, x27, #1
tst w9, w8
b.ne LBB0_38
; %bb.39: ; in Loop: Header=BB0_33 Depth=1
add x25, x25, #3
cmp w27, #1
b.ne LBB0_41
; %bb.40: ; in Loop: Header=BB0_33 Depth=1
mov w27, #1 ; =0x1
b LBB0_43
LBB0_41: ; in Loop: Header=BB0_33 Depth=1
mov x24, #0 ; =0x0
LBB0_42: ; Parent Loop BB0_33 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x25, #1]
bl _hex_to_int
mov x22, x0
ldrsb w0, [x25, #2]
bl _hex_to_int
add w8, w0, w22, lsl #4
strb w8, [x26, x24]
add x25, x25, #3
add x24, x24, #1
cmp x23, x24
b.ne LBB0_42
LBB0_43: ; in Loop: Header=BB0_33 Depth=1
Lloh20:
adrp x23, _CP_UTF8@GOTPAGE
Lloh21:
ldr x23, [x23, _CP_UTF8@GOTPAGEOFF]
b LBB0_32
LBB0_44:
ldr x0, [sp, #16]
bl _jsstr_release
mov x0, x21
cbnz x19, LBB0_23
; %bb.45:
bl _jsstr_release
b LBB0_24
LBB0_46:
Lloh22:
adrp x21, l_.str.4@PAGE
Lloh23:
add x21, x21, l_.str.4@PAGEOFF
b LBB0_26
LBB0_47:
Lloh24:
adrp x21, l_.str.2@PAGE
Lloh25:
add x21, x21, l_.str.2@PAGEOFF
b LBB0_26
LBB0_48:
ldr x0, [sp, #16]
bl _jsstr_release
Lloh26:
adrp x8, _E_OUTOFMEMORY@GOTPAGE
Lloh27:
ldr x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
b LBB0_27
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n"
.comm _S_OK,4,2 ; @S_OK
l_.str.1: ; @.str.1
.asciz "Throw URIError: Invalid hex sequence\n"
.comm _E_FAIL,4,2 ; @E_FAIL
l_.str.2: ; @.str.2
.asciz "Throw URIError: Invalid initial UTF character\n"
l_.str.3: ; @.str.3
.asciz "Throw URIError: Incomplete UTF sequence\n"
.comm _CP_UTF8,4,2 ; @CP_UTF8
.comm _MB_ERR_INVALID_CHARS,4,2 ; @MB_ERR_INVALID_CHARS
l_.str.4: ; @.str.4
.asciz "Throw URIError: Invalid UTF sequence\n"
.comm _E_OUTOFMEMORY,4,2 ; @E_OUTOFMEMORY
.no_dead_strip _JSGlobal_decodeURIComponent
.subsections_via_symbols
| assembly_file_108456.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_concat
_lua_concat: ## @lua_concat
.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
callq _api_checknelems
cmpl $2, %ebx
jl LBB0_2
## %bb.1:
movq %r14, %rdi
callq _luaC_checkGC
movq (%r14), %rdi
subq 8(%r14), %rdi
callq _cast_int
leaq -1(%rax), %rdx
movq %r14, %rdi
movl %ebx, %esi
callq _luaV_concat
decl %ebx
subq %rbx, (%r14)
jmp LBB0_3
LBB0_2:
testl %ebx, %ebx
je LBB0_4
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
LBB0_4:
movq (%r14), %rbx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq _luaS_newlstr
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _setsvalue
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _api_incr_top ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.no_dead_strip _lua_concat
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_concat
_lua_concat: ; @lua_concat
.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
bl _api_checknelems
cmp w20, #2
b.lt LBB0_2
; %bb.1:
mov x0, x19
bl _luaC_checkGC
ldp x8, x9, [x19]
sub x0, x8, x9
bl _cast_int
sub x2, x0, #1
mov x0, x19
mov x1, x20
bl _luaV_concat
sub w8, w20, #1
ldr x9, [x19]
sub x8, x9, x8
str x8, [x19]
b LBB0_3
LBB0_2:
cbz w20, LBB0_4
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_4:
ldr x20, [x19]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
mov w2, #0
bl _luaS_newlstr
mov x2, x0
mov x0, x19
mov x1, x20
bl _setsvalue
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _api_incr_top
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.no_dead_strip _lua_concat
.subsections_via_symbols
| AnghaBench/xLua/build/luajit-2.1.0b2/src/host/extr_minilua.c_lua_concat.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function GetData
_GetData: ## @GetData
.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
movl (%rdi), %ecx
testb $-128, %cl
jne LBB0_2
## %bb.1:
andl $127, %ecx
movl %ecx, (%rsi)
addq $4, %rax
popq %rbp
retq
LBB0_2:
movl %ecx, %edx
andl $192, %edx
cmpl $128, %edx
jne LBB0_4
## %bb.3:
andl $63, %ecx
shll $8, %ecx
orl 4(%rax), %ecx
movl %ecx, (%rsi)
addq $8, %rax
popq %rbp
retq
LBB0_4:
movl %ecx, %edx
andl $224, %edx
cmpl $192, %edx
jne LBB0_6
## %bb.5:
andl $31, %ecx
shll $24, %ecx
movl 4(%rax), %edx
movl 8(%rax), %edi
shll $16, %edx
shll $8, %edi
orl %edx, %edi
orl %ecx, %edi
orl 12(%rax), %edi
movl %edi, (%rsi)
addq $16, %rax
popq %rbp
retq
LBB0_6:
movl $-1, (%rsi)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _GetData
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function GetData
_GetData: ; @GetData
.cfi_startproc
; %bb.0:
ldr w8, [x0]
tbnz w8, #7, LBB0_2
; %bb.1:
and w8, w8, #0x7f
str w8, [x1]
add x0, x0, #4
ret
LBB0_2:
and w9, w8, #0xc0
cmp w9, #128
b.ne LBB0_4
; %bb.3:
ubfiz w8, w8, #8, #6
ldr w9, [x0, #4]
orr w8, w9, w8
str w8, [x1]
add x0, x0, #8
ret
LBB0_4:
and w9, w8, #0xe0
cmp w9, #192
b.ne LBB0_6
; %bb.5:
ubfiz w8, w8, #24, #5
ldp w9, w10, [x0, #4]
orr w8, w8, w9, lsl #16
orr w8, w8, w10, lsl #8
ldr w9, [x0, #12]
orr w8, w8, w9
str w8, [x1]
add x0, x0, #16
ret
LBB0_6:
mov x0, #0
mov w8, #-1
str w8, [x1]
ret
.cfi_endproc
; -- End function
.no_dead_strip _GetData
.subsections_via_symbols
| AnghaBench/reactos/dll/win32/fusion/extr_assembly.c_GetData.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 %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl $512, %esi ## imm = 0x200
movl $148, %edi
callq ___maskrune
testl %eax, %eax
leaq L_.str.2(%rip), %r14
leaq L_.str.1(%rip), %rbx
movq %rbx, %rsi
cmoveq %r14, %rsi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rsi
xorl %edi, %edi
callq _setlocale
movl $512, %esi ## imm = 0x200
movl $148, %edi
callq ___maskrune
testl %eax, %eax
cmoveq %r14, %rbx
leaq L_.str.4(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _printf
movq __DefaultRuneLocale@GOTPCREL(%rip), %r14
testb $2, 469(%r14)
jne LBB0_3
## %bb.1:
movl $102, %edi
leaq L___const.main.str+1(%rip), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
## kill: def $edi killed $edi killed $rdi
callq _putchar
movsbl (%rbx), %edi
incq %rbx
testb $2, 61(%r14,%rdi,4)
je LBB0_2
LBB0_3:
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "In the default C locale, \\x94 is %sa control character\n"
L_.str.1: ## @.str.1
.space 1
L_.str.2: ## @.str.2
.asciz "not "
L_.str.3: ## @.str.3
.asciz "en_GB.iso88591"
L_.str.4: ## @.str.4
.asciz "In ISO-8859-1 locale, \\x94 is %sa control character\n"
.p2align 4 ## @__const.main.str
L___const.main.str:
.asciz "first line \n second line \n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #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 w0, #148
mov w1, #512
bl ___maskrune
Lloh0:
adrp x19, l_.str.1@PAGE
Lloh1:
add x19, x19, l_.str.1@PAGEOFF
Lloh2:
adrp x20, l_.str.2@PAGE
Lloh3:
add x20, x20, l_.str.2@PAGEOFF
cmp w0, #0
csel x8, x20, x19, eq
str x8, [sp]
Lloh4:
adrp x0, l_.str@PAGE
Lloh5:
add x0, x0, l_.str@PAGEOFF
bl _printf
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov w0, #0
bl _setlocale
mov w0, #148
mov w1, #512
bl ___maskrune
cmp w0, #0
csel x8, x20, x19, eq
str x8, [sp]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
Lloh10:
adrp x19, __DefaultRuneLocale@GOTPAGE
Lloh11:
ldr x19, [x19, __DefaultRuneLocale@GOTPAGEOFF]
ldrb w8, [x19, #469]
tbnz w8, #1, LBB0_3
; %bb.1:
mov w0, #102
Lloh12:
adrp x20, l___const.main.str@PAGE+1
Lloh13:
add x20, x20, l___const.main.str@PAGEOFF+1
LBB0_2: ; =>This Inner Loop Header: Depth=1
bl _putchar
ldrsb w0, [x20], #1
add x8, x19, w0, uxtw #2
ldr w8, [x8, #60]
tbz w8, #9, LBB0_2
LBB0_3:
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 AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "In the default C locale, \\x94 is %sa control character\n"
l_.str.1: ; @.str.1
.space 1
l_.str.2: ; @.str.2
.asciz "not "
l_.str.3: ; @.str.3
.asciz "en_GB.iso88591"
l_.str.4: ; @.str.4
.asciz "In ISO-8859-1 locale, \\x94 is %sa control character\n"
l___const.main.str: ; @__const.main.str
.asciz "first line \n second line \n"
.subsections_via_symbols
| the_stack_data/48576332.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bus_dma_run_filter ## -- Begin function bus_dma_run_filter
.p2align 4, 0x90
_bus_dma_run_filter: ## @bus_dma_run_filter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _BUS_SPACE_MAXADDR@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $1, %eax
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl %esi, %ecx
jle LBB0_7
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl %esi, (%rdi)
jg LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl %esi, 4(%rdi)
jge LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl 8(%rdi), %edx
decl %edx
orl %esi, %edx
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq 24(%rdi), %rdi
testq %rdi, %rdi
jne LBB0_1
## %bb.6:
xorl %eax, %eax
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BUS_SPACE_MAXADDR,4,2 ## @BUS_SPACE_MAXADDR
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bus_dma_run_filter ; -- Begin function bus_dma_run_filter
.p2align 2
_bus_dma_run_filter: ; @bus_dma_run_filter
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _BUS_SPACE_MAXADDR@GOTPAGE
Lloh1:
ldr x8, [x8, _BUS_SPACE_MAXADDR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
LBB0_1: ; =>This Inner Loop Header: Depth=1
cmp w8, w1
b.le LBB0_7
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x0]
cmp w9, w1
b.gt LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x0, #4]
cmp w9, w1
b.ge LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [x0, #8]
sub w9, w9, #1
orr w9, w9, w1
cbnz w9, LBB0_7
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [x0, #24]
cbnz x0, LBB0_1
; %bb.6:
ret
LBB0_7:
mov w0, #1 ; =0x1
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _BUS_SPACE_MAXADDR,4,2 ; @BUS_SPACE_MAXADDR
.subsections_via_symbols
| assembly_file_162189.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reset ## -- Begin function reset
.p2align 4, 0x90
_reset: ## @reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-1, 256(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _push ## -- Begin function push
.p2align 4, 0x90
_push: ## @push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movslq 256(%rdi), %rax
incq %rax
movl %eax, 256(%rdi)
shlq $6, %rax
movaps 16(%rbp), %xmm0
movaps 32(%rbp), %xmm1
movaps 48(%rbp), %xmm2
movaps 64(%rbp), %xmm3
movups %xmm3, 48(%rdi,%rax)
movups %xmm2, 32(%rdi,%rax)
movups %xmm1, 16(%rdi,%rax)
movups %xmm0, (%rdi,%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pop ## -- Begin function pop
.p2align 4, 0x90
_pop: ## @pop
.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
movslq 256(%rsi), %rcx
leal -1(%rcx), %edx
movl %edx, 256(%rsi)
shlq $6, %rcx
movups (%rsi,%rcx), %xmm0
movups 16(%rsi,%rcx), %xmm1
movups 32(%rsi,%rcx), %xmm2
movups 48(%rsi,%rcx), %xmm3
movups %xmm3, 48(%rdi)
movups %xmm2, 32(%rdi)
movups %xmm1, 16(%rdi)
movups %xmm0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _top ## -- Begin function top
.p2align 4, 0x90
_top: ## @top
.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
movslq 256(%rsi), %rcx
shlq $6, %rcx
movups (%rsi,%rcx), %xmm0
movups 16(%rsi,%rcx), %xmm1
movups 32(%rsi,%rcx), %xmm2
movups 48(%rsi,%rcx), %xmm3
movups %xmm3, 48(%rdi)
movups %xmm2, 32(%rdi)
movups %xmm1, 16(%rdi)
movups %xmm0, (%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_empty ## -- Begin function is_empty
.p2align 4, 0x90
_is_empty: ## @is_empty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpl $-1, 256(%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _is_full ## -- Begin function is_full
.p2align 4, 0x90
_is_full: ## @is_full
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
cmpl $3, 256(%rdi)
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $344, %rsp ## imm = 0x158
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq -72(%rbp), %r13
movl $-1, %r12d
leaq L_.str.1(%rip), %rbx
leaq -376(%rbp), %r14
xorl %r15d, %r15d
jmp LBB6_1
.p2align 4, 0x90
LBB6_3: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.3(%rip), %rdi
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
leaq -68(%rbp), %rsi
xorl %eax, %eax
callq _scanf
callq _GEN_ID
movq %rax, -80(%rbp)
callq _rand
cltq
imulq $1759218605, %rax, %rcx ## imm = 0x68DB8BAD
movq %rcx, %rdx
shrq $63, %rdx
sarq $43, %rcx
addl %edx, %ecx
imull $5000, %ecx, %ecx ## imm = 0x1388
negl %ecx
addl %ecx, %eax
addl $4000, %eax ## imm = 0xFA0
movl %eax, -84(%rbp)
movslq %r12d, %rax
movq %rax, %rcx
shlq $6, %rcx
incl %eax
movl %eax, -120(%rbp)
movups -112(%rbp), %xmm0
movups -80(%rbp), %xmm1
movups -64(%rbp), %xmm2
movups %xmm2, 112(%rcx,%r14)
movups %xmm1, 96(%rcx,%r14)
movups %xmm0, 64(%rcx,%r14)
movups -96(%rbp), %xmm0
movups %xmm0, 80(%rcx,%r14)
movl -120(%rbp), %r12d
incl %r15d
cmpl $3, %r12d
je LBB6_5
LBB6_1: ## =>This Inner Loop Header: Depth=1
movl %r15d, -112(%rbp)
movq %rbx, %rdi
leaq -108(%rbp), %rsi
leaq -88(%rbp), %rdx
movq %r13, %rcx
xorl %eax, %eax
callq _scanf
cmpb $80, -72(%rbp)
jne LBB6_3
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
leaq L_.str.2(%rip), %rdi
jmp LBB6_4
LBB6_5:
leaq L_str.15(%rip), %rdi
callq _puts
movl $2, -120(%rbp)
movups -184(%rbp), %xmm0
movups -168(%rbp), %xmm1
movups -152(%rbp), %xmm2
movups -136(%rbp), %xmm3
movaps %xmm2, -80(%rbp)
movaps %xmm1, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm3, -64(%rbp)
movsbl -72(%rbp), %ebx
movl -88(%rbp), %eax
decl %eax
movl -112(%rbp), %esi
cmpl $80, %ebx
jne LBB6_11
## %bb.6:
cmpl $5, %eax
jae LBB6_7
## %bb.10:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
leaq L_.str.5(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
leaq -68(%rbp), %rbx
pushq %rbx
pushq $80
jmp LBB6_14
LBB6_11:
cmpl $5, %eax
jae LBB6_12
## %bb.13:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
movl -68(%rbp), %r10d
leaq L_.str.6(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
pushq %r10
pushq %rbx
LBB6_14:
callq _printf
addq $16, %rsp
movl $1, -120(%rbp)
movups -248(%rbp), %xmm0
movups -232(%rbp), %xmm1
movups -216(%rbp), %xmm2
movups -200(%rbp), %xmm3
movaps %xmm2, -80(%rbp)
movaps %xmm1, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm3, -64(%rbp)
movsbl -72(%rbp), %ebx
movl -88(%rbp), %eax
decl %eax
movl -112(%rbp), %esi
cmpl $80, %ebx
jne LBB6_15
## %bb.17:
cmpl $4, %eax
ja LBB6_7
## %bb.18:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
leaq L_.str.5(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
leaq -68(%rbp), %rbx
pushq %rbx
pushq $80
jmp LBB6_19
LBB6_15:
cmpl $4, %eax
ja LBB6_12
## %bb.16:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
movl -68(%rbp), %r10d
leaq L_.str.6(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
pushq %r10
pushq %rbx
LBB6_19:
callq _printf
addq $16, %rsp
movl $0, -120(%rbp)
movups -312(%rbp), %xmm0
movups -296(%rbp), %xmm1
movups -280(%rbp), %xmm2
movups -264(%rbp), %xmm3
movaps %xmm2, -80(%rbp)
movaps %xmm1, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm3, -64(%rbp)
movsbl -72(%rbp), %ebx
movl -88(%rbp), %eax
decl %eax
movl -112(%rbp), %esi
cmpl $80, %ebx
jne LBB6_20
## %bb.22:
cmpl $4, %eax
ja LBB6_7
## %bb.23:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
leaq L_.str.5(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
leaq -68(%rbp), %rbx
pushq %rbx
pushq $80
jmp LBB6_24
LBB6_20:
cmpl $4, %eax
ja LBB6_12
## %bb.21:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
movl -68(%rbp), %r10d
leaq L_.str.6(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
pushq %r10
pushq %rbx
LBB6_24:
callq _printf
addq $16, %rsp
movl $-1, -120(%rbp)
movups -376(%rbp), %xmm0
movups -360(%rbp), %xmm1
movups -344(%rbp), %xmm2
movups -328(%rbp), %xmm3
movaps %xmm2, -80(%rbp)
movaps %xmm1, -96(%rbp)
movaps %xmm0, -112(%rbp)
movaps %xmm3, -64(%rbp)
movsbl -72(%rbp), %ebx
movl -88(%rbp), %eax
decl %eax
movl -112(%rbp), %esi
cmpl $80, %ebx
jne LBB6_25
## %bb.27:
cmpl $4, %eax
ja LBB6_7
## %bb.28:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
leaq L_.str.5(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
leaq -68(%rbp), %rbx
pushq %rbx
pushq $80
jmp LBB6_29
LBB6_25:
cmpl $4, %eax
ja LBB6_12
## %bb.26:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rcx
movq -80(%rbp), %r8
movl -84(%rbp), %r9d
movl -68(%rbp), %r10d
leaq L_.str.6(%rip), %rdi
leaq -108(%rbp), %rdx
xorl %eax, %eax
pushq %r10
pushq %rbx
LBB6_29:
callq _printf
addq $16, %rsp
LBB6_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB6_30
## %bb.9:
xorl %eax, %eax
addq $344, %rsp ## imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB6_7:
callq _main.cold.1
jmp LBB6_8
LBB6_12:
callq _main.cold.2
jmp LBB6_8
LBB6_30:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.globl _GEN_ID ## -- Begin function GEN_ID
.p2align 4, 0x90
_GEN_ID: ## @GEN_ID
.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
xorl %ebx, %ebx
xorl %edi, %edi
callq _time
movl %eax, %edi
callq _srand
callq _rand
movl %eax, %r15d
cmpl $-1, %eax
cmovel %ebx, %r15d
movl $9, %edi
callq _malloc
movq %rax, %r14
movq %rax, %rdi
callq _strlen
leaq 2(%rax), %rdi
callq _malloc
movq %rax, %rbx
leaq L_.str.8(%rip), %rcx
movl $9, %edx
movq %r14, %rdi
xorl %esi, %esi
movl %r15d, %r8d
xorl %eax, %eax
callq ___sprintf_chk
movw $17732, (%rbx) ## imm = 0x4544
movb $0, 2(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq _strcat
movq %rbx, %rdi
callq _puts
movq %r14, %rdi
callq _free
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _StringDirectionT ## -- Begin function StringDirectionT
.p2align 4, 0x90
_StringDirectionT: ## @StringDirectionT
.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
decl %eax
cmpl $5, %eax
jae LBB8_1
## %bb.2:
cltq
leaq l_switch.table.StringDirectionT(%rip), %rcx
movq (%rcx,%rax,8), %rax
popq %rbp
retq
LBB8_1:
leaq L_str.16(%rip), %rdi
callq _puts
## implicit-def: $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.1
_main.cold.1: ## @main.cold.1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str.16(%rip), %rdi
callq _puts
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function main.cold.2
_main.cold.2: ## @main.cold.2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str.16(%rip), %rdi
callq _puts
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%s %u %c"
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "%d\t\t%s\t\t%s\t\t%s\t\t%d\t\t%c\t\t%s\n"
L_.str.6: ## @.str.6
.asciz "%d\t\t%s\t\t%s\t\t%s\t\t%d\t\t%c\t\t%d\n"
L_.str.7: ## @.str.7
.asciz "DE"
L_.str.8: ## @.str.8
.asciz "%08X"
L_.str.9: ## @.str.9
.asciz "HR"
L_.str.10: ## @.str.10
.asciz "Sales"
L_.str.11: ## @.str.11
.asciz "RD"
L_.str.12: ## @.str.12
.asciz "SW"
L_.str.13: ## @.str.13
.asciz "Exec"
L_str: ## @str
.asciz "Input info: \nname\tdept\tcontract_type\tLevelorPeriod"
L_str.15: ## @str.15
.asciz "\nIndex\t\tName\t\tDept\t\tsocial_id\t\tSalary\t\tcontract_type\t\tperiod or Level"
L_str.16: ## @str.16
.asciz "Illegal value!"
.section __DATA,__const
.p2align 3 ## @switch.table.StringDirectionT
l_switch.table.StringDirectionT:
.quad L_.str.9
.quad L_.str.10
.quad L_.str.11
.quad L_.str.12
.quad L_.str.13
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _reset ; -- Begin function reset
.p2align 2
_reset: ; @reset
.cfi_startproc
; %bb.0:
mov w8, #-1
str w8, [x0, #256]
ret
.cfi_endproc
; -- End function
.globl _push ; -- Begin function push
.p2align 2
_push: ; @push
.cfi_startproc
; %bb.0:
ldrsw x8, [x1, #256]
add x8, x8, #1
str w8, [x1, #256]
add x8, x1, x8, lsl #6
ldp q0, q1, [x0]
ldp q2, q3, [x0, #32]
stp q2, q3, [x8, #32]
stp q0, q1, [x8]
ret
.cfi_endproc
; -- End function
.globl _pop ; -- Begin function pop
.p2align 2
_pop: ; @pop
.cfi_startproc
; %bb.0:
ldrsw x9, [x0, #256]
sub w10, w9, #1
str w10, [x0, #256]
add x9, x0, x9, lsl #6
ldp q0, q1, [x9]
stp q0, q1, [x8]
ldp q0, q1, [x9, #32]
stp q0, q1, [x8, #32]
ret
.cfi_endproc
; -- End function
.globl _top ; -- Begin function top
.p2align 2
_top: ; @top
.cfi_startproc
; %bb.0:
ldrsw x9, [x0, #256]
add x9, x0, x9, lsl #6
ldp q0, q1, [x9]
stp q0, q1, [x8]
ldp q0, q1, [x9, #32]
stp q0, q1, [x8, #32]
ret
.cfi_endproc
; -- End function
.globl _is_empty ; -- Begin function is_empty
.p2align 2
_is_empty: ; @is_empty
.cfi_startproc
; %bb.0:
ldr w8, [x0, #256]
cmn w8, #1
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _is_full ; -- Begin function is_full
.p2align 2
_is_full: ; @is_full
.cfi_startproc
; %bb.0:
ldr w8, [x0, #256]
cmp w8, #3
cset w0, eq
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #432
sub x24, x29, #176
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-104]
Lloh3:
adrp x0, l_str@PAGE
Lloh4:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w25, #0
orr x8, x24, #0x4
str x8, [sp, #64] ; 8-byte Folded Spill
add x26, x24, #24
add x27, x24, #40
add x23, x24, #44
Lloh5:
adrp x19, l_.str.1@PAGE
Lloh6:
add x19, x19, l_.str.1@PAGEOFF
mov w22, #-1
mov w28, #35757
movk w28, #26843, lsl #16
mov w20, #5000
add x21, sp, #72
b LBB6_3
LBB6_1: ; in Loop: Header=BB6_3 Depth=1
str x23, [sp]
Lloh7:
adrp x0, l_.str.3@PAGE
Lloh8:
add x0, x0, l_.str.3@PAGEOFF
LBB6_2: ; in Loop: Header=BB6_3 Depth=1
bl _scanf
bl _GEN_ID
stur x0, [x29, #-144]
bl _rand
smull x8, w0, w28
lsr x9, x8, #32
lsr x8, x8, #63
add w8, w8, w9, asr #11
msub w8, w8, w20, w0
add w8, w8, #4000
stur w8, [x29, #-148]
sxtw x8, w22
add x8, x8, #1
str w8, [sp, #328]
add x8, x21, x8, lsl #6
ldp q0, q1, [x24, #32]
stp q0, q1, [x8, #32]
ldp q0, q1, [x24]
stp q0, q1, [x8]
ldr w22, [sp, #328]
add w25, w25, #1
cmp w22, #3
b.eq LBB6_5
LBB6_3: ; =>This Inner Loop Header: Depth=1
stur w25, [x29, #-176]
stp x26, x27, [sp, #8]
ldr x8, [sp, #64] ; 8-byte Folded Reload
str x8, [sp]
mov x0, x19
bl _scanf
ldurb w8, [x29, #-136]
cmp w8, #80
b.ne LBB6_1
; %bb.4: ; in Loop: Header=BB6_3 Depth=1
str x23, [sp]
Lloh9:
adrp x0, l_.str.2@PAGE
Lloh10:
add x0, x0, l_.str.2@PAGEOFF
b LBB6_2
LBB6_5:
Lloh11:
adrp x0, l_str.15@PAGE
Lloh12:
add x0, x0, l_str.15@PAGEOFF
bl _puts
mov w8, #2
str w8, [sp, #328]
add x8, sp, #9
ldur q0, [x8, #255]
add x8, sp, #25
ldur q1, [x8, #255]
stp q0, q1, [x24]
add x8, sp, #41
ldur q0, [x8, #255]
add x8, sp, #57
ldur q1, [x8, #255]
stp q0, q1, [x24, #32]
ldursb w9, [x29, #-136]
ldur w8, [x29, #-176]
ldur w10, [x29, #-152]
sub w10, w10, #1
cmp w9, #80
b.ne LBB6_8
; %bb.6:
cmp w10, #5
b.hs LBB6_27
; %bb.7:
Lloh13:
adrp x9, l_switch.table.StringDirectionT@PAGE
Lloh14:
add x9, x9, l_switch.table.StringDirectionT@PAGEOFF
ldr x9, [x9, w10, sxtw #3]
ldur x10, [x29, #-144]
ldur w11, [x29, #-148]
mov w12, #80
stp x12, x23, [sp, #40]
stp x10, x11, [sp, #24]
str x9, [sp, #16]
Lloh15:
adrp x0, l_.str.5@PAGE
Lloh16:
add x0, x0, l_.str.5@PAGEOFF
b LBB6_10
LBB6_8:
cmp w10, #5
b.hs LBB6_28
; %bb.9:
Lloh17:
adrp x11, l_switch.table.StringDirectionT@PAGE
Lloh18:
add x11, x11, l_switch.table.StringDirectionT@PAGEOFF
ldr x10, [x11, w10, sxtw #3]
ldur x11, [x29, #-144]
ldur w12, [x29, #-148]
ldur w13, [x29, #-132]
stp x9, x13, [sp, #40]
stp x11, x12, [sp, #24]
str x10, [sp, #16]
; kill: def $w8 killed $w8 killed $x8 def $x8
Lloh19:
adrp x0, l_.str.6@PAGE
Lloh20:
add x0, x0, l_.str.6@PAGEOFF
LBB6_10:
ldr x9, [sp, #64] ; 8-byte Folded Reload
stp x8, x9, [sp]
bl _printf
mov w8, #1
str w8, [sp, #328]
ldur q0, [sp, #200]
ldur q1, [sp, #216]
stp q0, q1, [x24]
ldur q0, [sp, #232]
ldur q1, [sp, #248]
stp q0, q1, [x24, #32]
ldursb w9, [x29, #-136]
ldur w8, [x29, #-176]
ldur w10, [x29, #-152]
sub w10, w10, #1
cmp w9, #80
b.ne LBB6_13
; %bb.11:
cmp w10, #4
b.hi LBB6_27
; %bb.12:
Lloh21:
adrp x9, l_switch.table.StringDirectionT@PAGE
Lloh22:
add x9, x9, l_switch.table.StringDirectionT@PAGEOFF
ldr x9, [x9, w10, sxtw #3]
ldur x10, [x29, #-144]
ldur w11, [x29, #-148]
mov w12, #80
stp x12, x23, [sp, #40]
stp x10, x11, [sp, #24]
str x9, [sp, #16]
; kill: def $w8 killed $w8 killed $x8 def $x8
Lloh23:
adrp x0, l_.str.5@PAGE
Lloh24:
add x0, x0, l_.str.5@PAGEOFF
b LBB6_15
LBB6_13:
cmp w10, #4
b.hi LBB6_28
; %bb.14:
Lloh25:
adrp x11, l_switch.table.StringDirectionT@PAGE
Lloh26:
add x11, x11, l_switch.table.StringDirectionT@PAGEOFF
ldr x10, [x11, w10, sxtw #3]
ldur x11, [x29, #-144]
ldur w12, [x29, #-148]
ldur w13, [x29, #-132]
stp x9, x13, [sp, #40]
stp x11, x12, [sp, #24]
str x10, [sp, #16]
Lloh27:
adrp x0, l_.str.6@PAGE
Lloh28:
add x0, x0, l_.str.6@PAGEOFF
LBB6_15:
ldr x9, [sp, #64] ; 8-byte Folded Reload
stp x8, x9, [sp]
bl _printf
str wzr, [sp, #328]
ldur q0, [sp, #136]
ldur q1, [sp, #152]
stp q0, q1, [x24]
ldur q0, [sp, #168]
ldur q1, [sp, #184]
stp q0, q1, [x24, #32]
ldursb w9, [x29, #-136]
ldur w8, [x29, #-176]
ldur w10, [x29, #-152]
sub w10, w10, #1
cmp w9, #80
b.ne LBB6_18
; %bb.16:
cmp w10, #4
b.hi LBB6_27
; %bb.17:
Lloh29:
adrp x9, l_switch.table.StringDirectionT@PAGE
Lloh30:
add x9, x9, l_switch.table.StringDirectionT@PAGEOFF
ldr x9, [x9, w10, sxtw #3]
ldur x10, [x29, #-144]
ldur w11, [x29, #-148]
mov w12, #80
stp x12, x23, [sp, #40]
stp x10, x11, [sp, #24]
str x9, [sp, #16]
; kill: def $w8 killed $w8 killed $x8 def $x8
Lloh31:
adrp x0, l_.str.5@PAGE
Lloh32:
add x0, x0, l_.str.5@PAGEOFF
b LBB6_20
LBB6_18:
cmp w10, #4
b.hi LBB6_28
; %bb.19:
Lloh33:
adrp x11, l_switch.table.StringDirectionT@PAGE
Lloh34:
add x11, x11, l_switch.table.StringDirectionT@PAGEOFF
ldr x10, [x11, w10, sxtw #3]
ldur x11, [x29, #-144]
ldur w12, [x29, #-148]
ldur w13, [x29, #-132]
stp x9, x13, [sp, #40]
stp x11, x12, [sp, #24]
str x10, [sp, #16]
Lloh35:
adrp x0, l_.str.6@PAGE
Lloh36:
add x0, x0, l_.str.6@PAGEOFF
LBB6_20:
ldr x9, [sp, #64] ; 8-byte Folded Reload
stp x8, x9, [sp]
bl _printf
mov w8, #-1
str w8, [sp, #328]
ldur q0, [sp, #72]
ldur q1, [sp, #88]
stp q0, q1, [x24]
ldur q0, [sp, #104]
ldur q1, [sp, #120]
stp q0, q1, [x24, #32]
ldursb w9, [x29, #-136]
ldur w8, [x29, #-176]
ldur w10, [x29, #-152]
sub w10, w10, #1
cmp w9, #80
b.ne LBB6_23
; %bb.21:
cmp w10, #4
b.hi LBB6_27
; %bb.22:
Lloh37:
adrp x9, l_switch.table.StringDirectionT@PAGE
Lloh38:
add x9, x9, l_switch.table.StringDirectionT@PAGEOFF
ldr x9, [x9, w10, sxtw #3]
ldur x10, [x29, #-144]
ldur w11, [x29, #-148]
mov w12, #80
stp x12, x23, [sp, #40]
stp x10, x11, [sp, #24]
str x9, [sp, #16]
; kill: def $w8 killed $w8 killed $x8 def $x8
Lloh39:
adrp x0, l_.str.5@PAGE
Lloh40:
add x0, x0, l_.str.5@PAGEOFF
b LBB6_25
LBB6_23:
cmp w10, #4
b.hi LBB6_28
; %bb.24:
Lloh41:
adrp x11, l_switch.table.StringDirectionT@PAGE
Lloh42:
add x11, x11, l_switch.table.StringDirectionT@PAGEOFF
ldr x10, [x11, w10, sxtw #3]
ldur x11, [x29, #-144]
ldur w12, [x29, #-148]
ldur w13, [x29, #-132]
stp x9, x13, [sp, #40]
stp x11, x12, [sp, #24]
str x10, [sp, #16]
Lloh43:
adrp x0, l_.str.6@PAGE
Lloh44:
add x0, x0, l_.str.6@PAGEOFF
LBB6_25:
ldr x9, [sp, #64] ; 8-byte Folded Reload
stp x8, x9, [sp]
bl _printf
ldur x8, [x29, #-104]
Lloh45:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh46:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
ldr x9, [x9]
cmp x9, x8
b.ne LBB6_29
; %bb.26:
mov w0, #0
add sp, sp, #432
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB6_27:
bl _main.cold.1
LBB6_28:
bl _main.cold.2
LBB6_29:
bl ___stack_chk_fail
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.cfi_endproc
; -- End function
.globl _GEN_ID ; -- Begin function GEN_ID
.p2align 2
_GEN_ID: ; @GEN_ID
.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 x0, #0
bl _time
; kill: def $w0 killed $w0 killed $x0
bl _srand
bl _rand
cmn w0, #1
csel w21, wzr, w0, eq
mov w0, #9
bl _malloc
mov x19, x0
bl _strlen
add x0, x0, #2
bl _malloc
mov x20, x0
str x21, [sp]
Lloh48:
adrp x3, l_.str.8@PAGE
Lloh49:
add x3, x3, l_.str.8@PAGEOFF
mov x0, x19
mov w1, #0
mov w2, #9
bl ___sprintf_chk
mov w8, #17732
strh w8, [x20]
strb wzr, [x20, #2]
mov x0, x20
mov x1, x19
bl _strcat
bl _puts
mov x0, x19
bl _free
mov x0, x20
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh48, Lloh49
.cfi_endproc
; -- End function
.globl _StringDirectionT ; -- Begin function StringDirectionT
.p2align 2
_StringDirectionT: ; @StringDirectionT
.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 w8, [x0]
sub w8, w8, #1
cmp w8, #5
b.hs LBB8_2
; %bb.1:
Lloh50:
adrp x9, l_switch.table.StringDirectionT@PAGE
Lloh51:
add x9, x9, l_switch.table.StringDirectionT@PAGEOFF
ldr x0, [x9, w8, sxtw #3]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB8_2:
Lloh52:
adrp x0, l_str.16@PAGE
Lloh53:
add x0, x0, l_str.16@PAGEOFF
bl _puts
; implicit-def: $x0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.1
_main.cold.1: ; @main.cold.1
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh54:
adrp x0, l_str.16@PAGE
Lloh55:
add x0, x0, l_str.16@PAGEOFF
bl _puts
brk #0x1
.loh AdrpAdd Lloh54, Lloh55
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function main.cold.2
_main.cold.2: ; @main.cold.2
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh56:
adrp x0, l_str.16@PAGE
Lloh57:
add x0, x0, l_str.16@PAGEOFF
bl _puts
brk #0x1
.loh AdrpAdd Lloh56, Lloh57
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%s %u %c"
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "%d\t\t%s\t\t%s\t\t%s\t\t%d\t\t%c\t\t%s\n"
l_.str.6: ; @.str.6
.asciz "%d\t\t%s\t\t%s\t\t%s\t\t%d\t\t%c\t\t%d\n"
l_.str.7: ; @.str.7
.asciz "DE"
l_.str.8: ; @.str.8
.asciz "%08X"
l_.str.9: ; @.str.9
.asciz "HR"
l_.str.10: ; @.str.10
.asciz "Sales"
l_.str.11: ; @.str.11
.asciz "RD"
l_.str.12: ; @.str.12
.asciz "SW"
l_.str.13: ; @.str.13
.asciz "Exec"
l_str: ; @str
.asciz "Input info: \nname\tdept\tcontract_type\tLevelorPeriod"
l_str.15: ; @str.15
.asciz "\nIndex\t\tName\t\tDept\t\tsocial_id\t\tSalary\t\tcontract_type\t\tperiod or Level"
l_str.16: ; @str.16
.asciz "Illegal value!"
.section __DATA,__const
.p2align 3 ; @switch.table.StringDirectionT
l_switch.table.StringDirectionT:
.quad l_.str.9
.quad l_.str.10
.quad l_.str.11
.quad l_.str.12
.quad l_.str.13
.subsections_via_symbols
| the_stack_data/264277.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function _clkctrl_idlest
__clkctrl_idlest: ## @_clkctrl_idlest
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _am33xx_cm_read_reg
movq _AM33XX_IDLEST_MASK@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movq _AM33XX_IDLEST_SHIFT@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
sarl %cl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AM33XX_IDLEST_MASK,4,2 ## @AM33XX_IDLEST_MASK
.comm _AM33XX_IDLEST_SHIFT,4,2 ## @AM33XX_IDLEST_SHIFT
.no_dead_strip __clkctrl_idlest
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function _clkctrl_idlest
__clkctrl_idlest: ; @_clkctrl_idlest
.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 _am33xx_cm_read_reg
Lloh0:
adrp x8, _AM33XX_IDLEST_MASK@GOTPAGE
Lloh1:
ldr x8, [x8, _AM33XX_IDLEST_MASK@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
and w8, w8, w0
Lloh3:
adrp x9, _AM33XX_IDLEST_SHIFT@GOTPAGE
Lloh4:
ldr x9, [x9, _AM33XX_IDLEST_SHIFT@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
asr w0, w8, w9
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AM33XX_IDLEST_MASK,4,2 ; @AM33XX_IDLEST_MASK
.comm _AM33XX_IDLEST_SHIFT,4,2 ; @AM33XX_IDLEST_SHIFT
.no_dead_strip __clkctrl_idlest
.subsections_via_symbols
| AnghaBench/linux/arch/arm/mach-omap2/extr_cm33xx.c__clkctrl_idlest.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/103265627.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _varobj_get_value ## -- Begin function varobj_get_value
.p2align 4, 0x90
_varobj_get_value: ## @varobj_get_value
.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 _my_value_of_variable ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _varobj_get_value ; -- Begin function varobj_get_value
.p2align 2
_varobj_get_value: ; @varobj_get_value
.cfi_startproc
; %bb.0:
b _my_value_of_variable
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_varobj.c_varobj_get_value.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/165769419.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xskq_create ## -- Begin function xskq_create
.p2align 4, 0x90
_xskq_create: ## @xskq_create
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %rbx
movq _GFP_KERNEL@GOTPCREL(%rip), %r12
movl (%r12), %esi
movl $24, %edi
callq _kzalloc
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r14
movq %rbx, 16(%rax)
decq %rbx
movq %rbx, 8(%rax)
movq ___GFP_ZERO@GOTPCREL(%rip), %rax
movl (%rax), %ebx
orl (%r12), %ebx
movq ___GFP_NOWARN@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq ___GFP_COMP@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq ___GFP_NORETRY@GOTPCREL(%rip), %rax
orl (%rax), %ebx
movq %r14, %rdi
testl %r15d, %r15d
je LBB0_3
## %bb.2:
callq _xskq_umem_get_ring_size
jmp LBB0_4
LBB0_3:
callq _xskq_rxtx_get_ring_size
LBB0_4:
movq %rax, %rdi
callq _get_order
movl %ebx, %edi
movl %eax, %esi
callq ___get_free_pages
movq %rax, (%r14)
testq %rax, %rax
jne LBB0_7
## %bb.5:
movq %r14, %rdi
callq _kfree
LBB0_6:
xorl %r14d, %r14d
LBB0_7:
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm ___GFP_ZERO,4,2 ## @__GFP_ZERO
.comm ___GFP_NOWARN,4,2 ## @__GFP_NOWARN
.comm ___GFP_COMP,4,2 ## @__GFP_COMP
.comm ___GFP_NORETRY,4,2 ## @__GFP_NORETRY
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _xskq_create ; -- Begin function xskq_create
.p2align 2
_xskq_create: ; @xskq_create
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x21, x0
Lloh0:
adrp x22, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
ldr w1, [x22]
mov w0, #24
bl _kzalloc
mov x19, x0
cbz x0, LBB0_6
; %bb.1:
sub x8, x21, #1
stp x8, x21, [x19, #8]
ldr w8, [x22]
Lloh2:
adrp x9, ___GFP_ZERO@GOTPAGE
Lloh3:
ldr x9, [x9, ___GFP_ZERO@GOTPAGEOFF]
Lloh4:
ldr w9, [x9]
orr w8, w9, w8
Lloh5:
adrp x9, ___GFP_NOWARN@GOTPAGE
Lloh6:
ldr x9, [x9, ___GFP_NOWARN@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
orr w8, w8, w9
Lloh8:
adrp x9, ___GFP_COMP@GOTPAGE
Lloh9:
ldr x9, [x9, ___GFP_COMP@GOTPAGEOFF]
Lloh10:
ldr w9, [x9]
orr w8, w8, w9
Lloh11:
adrp x9, ___GFP_NORETRY@GOTPAGE
Lloh12:
ldr x9, [x9, ___GFP_NORETRY@GOTPAGEOFF]
Lloh13:
ldr w9, [x9]
orr w21, w8, w9
mov x0, x19
cbz w20, LBB0_3
; %bb.2:
bl _xskq_umem_get_ring_size
b LBB0_4
LBB0_3:
bl _xskq_rxtx_get_ring_size
LBB0_4:
bl _get_order
mov x1, x0
mov x0, x21
bl ___get_free_pages
str x0, [x19]
cbnz x0, LBB0_6
; %bb.5:
mov x0, x19
bl _kfree
mov x19, #0
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm ___GFP_ZERO,4,2 ; @__GFP_ZERO
.comm ___GFP_NOWARN,4,2 ; @__GFP_NOWARN
.comm ___GFP_COMP,4,2 ; @__GFP_COMP
.comm ___GFP_NORETRY,4,2 ; @__GFP_NORETRY
.subsections_via_symbols
| AnghaBench/linux/net/xdp/extr_xsk_queue.c_xskq_create.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function save_comm
_save_comm: ## @save_comm
.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 (%rsi), %rdi
testq %rdi, %rdi
je LBB0_1
## %bb.3:
movq %rsi, %rbx
shrq $63, %rdi
## kill: def $edi killed $edi killed $rdi
callq _WARN_ON_ONCE
testq %rax, %rax
je LBB0_5
## %bb.4:
leaq L_.str.1(%rip), %rsi
jmp LBB0_2
LBB0_1:
leaq L_.str(%rip), %rsi
LBB0_2:
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _strcpy ## TAILCALL
LBB0_5:
movl 8(%rbx), %esi
movq _TASK_COMM_LEN@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _strncpy ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "<idle>"
L_.str.1: ## @.str.1
.asciz "<XXX>"
.comm _TASK_COMM_LEN,4,2 ## @TASK_COMM_LEN
.no_dead_strip _save_comm
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function save_comm
_save_comm: ; @save_comm
.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, [x1]
cbz x8, LBB0_3
; %bb.1:
mov x20, x1
lsr x0, x8, #63
; kill: def $w0 killed $w0 killed $x0
bl _WARN_ON_ONCE
cbz x0, LBB0_5
; %bb.2:
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_4
LBB0_3:
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _strcpy
LBB0_5:
ldr w1, [x20, #8]
Lloh4:
adrp x8, _TASK_COMM_LEN@GOTPAGE
Lloh5:
ldr x8, [x8, _TASK_COMM_LEN@GOTPAGEOFF]
Lloh6:
ldr w2, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _strncpy
.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
.asciz "<idle>"
l_.str.1: ; @.str.1
.asciz "<XXX>"
.comm _TASK_COMM_LEN,4,2 ; @TASK_COMM_LEN
.no_dead_strip _save_comm
.subsections_via_symbols
| AnghaBench/linux/kernel/trace/extr_trace_events_hist.c_save_comm.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function rain_saver
_rain_saver: ## @rain_saver
.cfi_startproc
## %bb.0:
testl %esi, %esi
je LBB0_25
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _blanked@GOTPCREL(%rip), %r15
cmpq $0, (%r15)
jg LBB0_24
## %bb.2:
xorl %r14d, %r14d
xorl %eax, %eax
callq _splhigh
movl %eax, -48(%rbp) ## 4-byte Spill
movq _scrmode@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _vidd_set_mode
movq _rain_pal@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _vidd_load_palette
movq %rbx, %rdi
xorl %esi, %esi
callq _vidd_set_border
incq (%r15)
movq 8(%rbx), %rax
movq _vid@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl (%rbx), %eax
movq _banksize@GOTPCREL(%rip), %r12
movl %eax, (%r12)
movl 4(%rbx), %eax
movq _bpsl@GOTPCREL(%rip), %r13
movl %eax, (%r13)
movl -48(%rbp), %edi ## 4-byte Reload
callq _splx
movq _scrh@GOTPCREL(%rip), %r15
movl (%r15), %eax
imull (%r13), %eax
testl %eax, %eax
js LBB0_4
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movl %r14d, %esi
callq _SET_ORIGIN
movl (%r15), %esi
imull (%r13), %esi
subl %r14d, %esi
movl (%r12), %eax
movq _vid@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
cmpl %eax, %esi
cmovgel %eax, %esi
callq _bzero
addl (%r12), %r14d
movl (%r15), %eax
imull (%r13), %eax
cmpl %eax, %r14d
jle LBB0_3
LBB0_4:
movq %rbx, %rdi
xorl %esi, %esi
callq _SET_ORIGIN
movq _scrw@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_8
## %bb.5:
movq _MAX@GOTPCREL(%rip), %r15
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %ecx, %ecx
jmp LBB0_6
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_6 Depth=1
addl %eax, %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq _SET_ORIGIN
LBB0_15: ## in Loop: Header=BB0_6 Depth=1
xorl %eax, %eax
callq _random
cltd
idivl (%r15)
movl $1, %eax
subl %edx, %eax
movq _vid@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movslq %r13d, %rcx
movl %eax, (%rdx,%rcx,4)
addl $2, %r12d
addl $2, %ecx
movq _scrw@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %eax, %r12d
jge LBB0_8
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq _banksize@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %ecx, %r13d
subl %eax, %r13d
jg LBB0_14
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl %ecx, %r13d
jmp LBB0_15
LBB0_25:
movq _blanked@GOTPCREL(%rip), %rax
movq $0, (%rax)
xorl %eax, %eax
retq
LBB0_8:
movq _scrh@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
cmpl $2, %ecx
movq _banksize@GOTPCREL(%rip), %rdx
movq _bpsl@GOTPCREL(%rip), %rsi
jl LBB0_24
## %bb.9:
xorl %r14d, %r14d
movl $1, %edi
jmp LBB0_10
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_10 Depth=1
movq _scrh@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _bpsl@GOTPCREL(%rip), %rsi
movq -48(%rbp), %rdi ## 8-byte Reload
LBB0_23: ## in Loop: Header=BB0_10 Depth=1
incl %edi
cmpl %ecx, %edi
jge LBB0_24
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
## Child Loop BB0_17 Depth 3
testl %eax, %eax
jle LBB0_23
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq %rdi, -48(%rbp) ## 8-byte Spill
leal -1(%rdi), %ecx
imull (%rsi), %ecx
subl %r14d, %ecx
xorl %r12d, %r12d
jmp LBB0_12
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_12 Depth=2
movslq %ecx, %rcx
movl %r13d, (%rax,%rcx,4)
addl $2, %r12d
addl $2, %r15d
movq _scrw@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %r15d, %ecx
cmpl %eax, %r12d
jge LBB0_22
LBB0_12: ## Parent Loop BB0_10 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_17 Depth 3
movl (%rdx), %eax
cmpl %eax, %ecx
jle LBB0_13
## %bb.16: ## in Loop: Header=BB0_12 Depth=2
xorl %edx, %edx
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_10 Depth=1
## Parent Loop BB0_12 Depth=2
## => This Inner Loop Header: Depth=3
subl %eax, %edx
leal (%rcx,%rdx), %r15d
cmpl %eax, %r15d
jg LBB0_17
## %bb.18: ## in Loop: Header=BB0_12 Depth=2
subl %edx, %r14d
jmp LBB0_19
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_12 Depth=2
movl %ecx, %r15d
LBB0_19: ## in Loop: Header=BB0_12 Depth=2
movq %rbx, %rdi
movl %r14d, %esi
callq _SET_ORIGIN
movq _vid@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %r15d, %rcx
movl (%rax,%rcx,4), %edx
leal 1(%rdx), %r13d
movq _MAX@GOTPCREL(%rip), %rsi
cmpl (%rsi), %edx
movl $1, %edx
cmovgel %edx, %r13d
movq _bpsl@GOTPCREL(%rip), %rdx
addl (%rdx), %ecx
movq _banksize@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
cmpl %esi, %ecx
jl LBB0_21
## %bb.20: ## in Loop: Header=BB0_12 Depth=2
addl %r14d, %esi
movq %rbx, %rdi
callq _SET_ORIGIN
movq _banksize@GOTPCREL(%rip), %rdx
movq _vid@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _bpsl@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
addl %r15d, %ecx
subl (%rdx), %ecx
jmp LBB0_21
LBB0_24:
movq %rbx, %rdi
callq _rain_update
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
xorl %eax, %eax
retq
.cfi_endproc
## -- End function
.comm _blanked,8,3 ## @blanked
.comm _scrmode,4,2 ## @scrmode
.comm _rain_pal,4,2 ## @rain_pal
.comm _vid,8,3 ## @vid
.comm _banksize,4,2 ## @banksize
.comm _bpsl,4,2 ## @bpsl
.comm _scrh,4,2 ## @scrh
.comm _scrw,4,2 ## @scrw
.comm _MAX,4,2 ## @MAX
.no_dead_strip _rain_saver
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function rain_saver
_rain_saver: ; @rain_saver
.cfi_startproc
; %bb.0:
cbz w1, LBB0_10
; %bb.1:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x21, _blanked@GOTPAGE
Lloh1:
ldr x21, [x21, _blanked@GOTPAGEOFF]
ldr x8, [x21]
cmp x8, #0
b.gt LBB0_22
; %bb.2:
bl _splhigh
mov x20, x0
Lloh2:
adrp x8, _scrmode@GOTPAGE
Lloh3:
ldr x8, [x8, _scrmode@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
mov x0, x19
bl _vidd_set_mode
Lloh5:
adrp x8, _rain_pal@GOTPAGE
Lloh6:
ldr x8, [x8, _rain_pal@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _vidd_load_palette
mov x0, x19
mov w1, #0 ; =0x0
bl _vidd_set_border
ldr x8, [x21]
add x8, x8, #1
str x8, [x21]
ldr x8, [x19, #8]
Lloh8:
adrp x21, _vid@GOTPAGE
Lloh9:
ldr x21, [x21, _vid@GOTPAGEOFF]
str x8, [x21]
Lloh10:
adrp x22, _banksize@GOTPAGE
Lloh11:
ldr x22, [x22, _banksize@GOTPAGEOFF]
ldp w8, w9, [x19]
str w8, [x22]
Lloh12:
adrp x23, _bpsl@GOTPAGE
Lloh13:
ldr x23, [x23, _bpsl@GOTPAGEOFF]
str w9, [x23]
mov x0, x20
bl _splx
ldr w8, [x23]
Lloh14:
adrp x27, _scrh@GOTPAGE
Lloh15:
ldr x27, [x27, _scrh@GOTPAGEOFF]
ldr w9, [x27]
mul w8, w9, w8
tbnz w8, #31, LBB0_5
; %bb.3:
mov w20, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _SET_ORIGIN
ldr w8, [x23]
ldr w9, [x27]
neg w10, w20
madd w8, w9, w8, w10
ldr w9, [x22]
ldr x0, [x21]
cmp w8, w9
csel w1, w8, w9, lt
bl _bzero
ldr w8, [x22]
ldr w9, [x23]
ldr w10, [x27]
mul w9, w10, w9
add w20, w8, w20
cmp w20, w9
b.le LBB0_4
LBB0_5:
mov x0, x19
mov w1, #0 ; =0x0
bl _SET_ORIGIN
Lloh16:
adrp x8, _scrw@GOTPAGE
Lloh17:
ldr x8, [x8, _scrw@GOTPAGEOFF]
Lloh18:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_11
; %bb.6:
mov w24, #0 ; =0x0
mov w20, #0 ; =0x0
mov w25, #0 ; =0x0
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_8 Depth=1
bl _random
Lloh19:
adrp x8, _MAX@GOTPAGE
Lloh20:
ldr x8, [x8, _MAX@GOTPAGEOFF]
Lloh21:
ldr w8, [x8]
sdiv w9, w0, w8
neg w10, w0
madd w8, w9, w8, w10
add w8, w8, #1
ldr x9, [x21]
str w8, [x9, w25, sxtw #2]
add w24, w24, #2
add w25, w25, #2
Lloh22:
adrp x8, _scrw@GOTPAGE
Lloh23:
ldr x8, [x8, _scrw@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
cmp w24, w8
b.ge LBB0_11
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22]
subs w26, w25, w8
b.le LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
add w20, w8, w20
mov x0, x19
mov x1, x20
bl _SET_ORIGIN
mov x25, x26
b LBB0_7
LBB0_10:
Lloh25:
adrp x8, _blanked@GOTPAGE
Lloh26:
ldr x8, [x8, _blanked@GOTPAGEOFF]
Lloh27:
str xzr, [x8]
mov w0, #0 ; =0x0
ret
LBB0_11:
ldr w9, [x27]
cmp w9, #1
b.le LBB0_22
; %bb.12:
mov w20, #0 ; =0x0
mov w27, #1 ; =0x1
mov w28, #1 ; =0x1
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
Lloh28:
adrp x9, _scrh@GOTPAGE
Lloh29:
ldr x9, [x9, _scrh@GOTPAGEOFF]
Lloh30:
ldr w9, [x9]
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
add w28, w28, #1
cmp w28, w9
b.ge LBB0_22
LBB0_15: ; =>This Loop Header: Depth=1
; Child Loop BB0_18 Depth 2
; Child Loop BB0_19 Depth 3
cmp w8, #1
b.lt LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
mov w24, #0 ; =0x0
ldr w8, [x23]
sub w9, w28, #1
neg w10, w20
madd w25, w8, w9, w10
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=2
str w26, [x8, w9, sxtw #2]
add w24, w24, #2
add w25, w25, #2
Lloh31:
adrp x8, _scrw@GOTPAGE
Lloh32:
ldr x8, [x8, _scrw@GOTPAGEOFF]
Lloh33:
ldr w8, [x8]
cmp w24, w8
b.ge LBB0_13
LBB0_18: ; Parent Loop BB0_15 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_19 Depth 3
ldr w8, [x22]
cmp w25, w8
b.le LBB0_20
LBB0_19: ; Parent Loop BB0_15 Depth=1
; Parent Loop BB0_18 Depth=2
; => This Inner Loop Header: Depth=3
add w20, w20, w8
sub w25, w25, w8
cmp w25, w8
b.gt LBB0_19
LBB0_20: ; in Loop: Header=BB0_18 Depth=2
mov x0, x19
mov x1, x20
bl _SET_ORIGIN
ldr x8, [x21]
ldr w9, [x8, w25, sxtw #2]
Lloh34:
adrp x10, _MAX@GOTPAGE
Lloh35:
ldr x10, [x10, _MAX@GOTPAGEOFF]
Lloh36:
ldr w10, [x10]
cmp w9, w10
csinc w26, w27, w9, ge
ldr w9, [x23]
ldr w10, [x22]
add w9, w9, w25
cmp w9, w10
b.lt LBB0_17
; %bb.21: ; in Loop: Header=BB0_18 Depth=2
add w1, w10, w20
mov x0, x19
bl _SET_ORIGIN
ldr x8, [x21]
ldr w9, [x23]
ldr w10, [x22]
add w9, w9, w25
sub w9, w9, w10
b LBB0_17
LBB0_22:
mov x0, x19
bl _rain_update
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
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.cfi_endproc
; -- End function
.comm _blanked,8,3 ; @blanked
.comm _scrmode,4,2 ; @scrmode
.comm _rain_pal,4,2 ; @rain_pal
.comm _vid,8,3 ; @vid
.comm _banksize,4,2 ; @banksize
.comm _bpsl,4,2 ; @bpsl
.comm _scrh,4,2 ; @scrh
.comm _scrw,4,2 ; @scrw
.comm _MAX,4,2 ; @MAX
.no_dead_strip _rain_saver
.subsections_via_symbols
| assembly_file_5165.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _GX_InitTexObjTlut ## -- Begin function GX_InitTexObjTlut
.p2align 4, 0x90
_GX_InitTexObjTlut: ## @GX_InitTexObjTlut
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %esi, (%rdi)
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 _GX_InitTexObjTlut ; -- Begin function GX_InitTexObjTlut
.p2align 2
_GX_InitTexObjTlut: ; @GX_InitTexObjTlut
.cfi_startproc
; %bb.0:
str w1, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/RetroArch/wii/libogc/libogc/extr_gx.c_GX_InitTexObjTlut.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function select_queue_by_priority
_select_queue_by_priority: ## @select_queue_by_priority
.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
cmpq $0, 32(%rdi)
je LBB0_7
## %bb.1:
cmpl $3, %esi
ja LBB0_3
## %bb.2:
movl %esi, %eax
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5:
addq $16, %rbx
jmp LBB0_7
LBB0_3:
movl $1, %edi
callq _B43_WARN_ON
LBB0_4:
addq $24, %rbx
jmp LBB0_7
LBB0_6:
addq $8, %rbx
LBB0_7:
movq (%rbx), %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_5
.long L0_0_set_7
.long L0_0_set_6
.end_data_region
## -- End function
.no_dead_strip _select_queue_by_priority
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function select_queue_by_priority
_select_queue_by_priority: ; @select_queue_by_priority
.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, #32]
cbz x8, LBB0_7
; %bb.1:
cmp w1, #3
b.hi LBB0_4
; %bb.2:
mov w8, w1
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_3:
add x19, x19, #16
b LBB0_7
LBB0_4:
mov w0, #1
bl _B43_WARN_ON
LBB0_5:
add x19, x19, #24
b LBB0_7
LBB0_6:
add x19, x19, #8
LBB0_7:
ldr x0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_5-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_7-LBB0_3)>>2
.byte (LBB0_6-LBB0_3)>>2
; -- End function
.no_dead_strip _select_queue_by_priority
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/broadcom/b43/extr_pio.c_select_queue_by_priority.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pl011_break_ctl
_pl011_break_ctl: ## @pl011_break_ctl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r14d
movq %rdi, %rbx
callq _spin_lock_irqsave
movq _UART011_LCRH@GOTPCREL(%rip), %r15
movq (%r15), %rdi
addq 8(%rbx), %rdi
callq _readw
movq _UART01x_LCRH_BRK@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movl %edi, %ecx
orl %eax, %ecx
notl %edi
andl %eax, %edi
cmpl $-1, %r14d
cmovel %ecx, %edi
movq (%r15), %rsi
addq 8(%rbx), %rsi
callq _writew
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _spin_unlock_irqrestore ## TAILCALL
.cfi_endproc
## -- End function
.comm _UART011_LCRH,8,3 ## @UART011_LCRH
.comm _UART01x_LCRH_BRK,4,2 ## @UART01x_LCRH_BRK
.no_dead_strip _pl011_break_ctl
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pl011_break_ctl
_pl011_break_ctl: ; @pl011_break_ctl
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _spin_lock_irqsave
ldr x8, [x20, #8]
Lloh0:
adrp x21, _UART011_LCRH@GOTPAGE
Lloh1:
ldr x21, [x21, _UART011_LCRH@GOTPAGEOFF]
ldr x9, [x21]
add x0, x9, x8
bl _readw
Lloh2:
adrp x8, _UART01x_LCRH_BRK@GOTPAGE
Lloh3:
ldr x8, [x8, _UART01x_LCRH_BRK@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
orr w9, w8, w0
bic w8, w0, w8
cmn w19, #1
csel w0, w9, w8, eq
ldr x8, [x20, #8]
ldr x9, [x21]
add x1, x9, x8
bl _writew
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 _spin_unlock_irqrestore
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _UART011_LCRH,8,3 ; @UART011_LCRH
.comm _UART01x_LCRH_BRK,4,2 ; @UART01x_LCRH_BRK
.no_dead_strip _pl011_break_ctl
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/serial/extr_amba-pl011.c_pl011_break_ctl.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function insert
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdx), %eax
testl %eax, %eax
jle LBB0_4
## %bb.1:
movq 8(%rdx), %rcx
cmpq %rdi, (%rcx)
jne LBB0_2
## %bb.3:
orl %esi, 8(%rcx)
popq %rbp
retq
LBB0_4:
leal 1(%rax), %ecx
movl %ecx, (%rdx)
testl %eax, %eax
jns LBB0_5
jmp LBB0_7
LBB0_2:
incl %eax
movl %eax, (%rdx)
LBB0_5:
movd %esi, %xmm0
movl $8, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 8(%rdx), %rsi
movq -8(%rsi,%rax), %r8
incq %rcx
movq %rdi, -8(%rsi,%rax)
movq (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, (%rsi,%rax)
movslq (%rdx), %rsi
addq $16, %rax
movq %r8, %rdi
movdqa %xmm1, %xmm0
cmpq %rsi, %rcx
jl LBB0_6
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _insert
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function insert
_insert: ; @insert
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
ldr x9, [x2, #8]
ldr x10, [x9]
cmp x0, x10
b.ne LBB0_4
; %bb.2:
ldr w8, [x9, #8]
orr w8, w8, w1
str w8, [x9, #8]
ret
LBB0_3:
add w9, w8, #1
str w9, [x2]
tbz w8, #31, LBB0_5
b LBB0_7
LBB0_4:
add w8, w8, #1
str w8, [x2]
LBB0_5:
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x10, [x2, #8]
add x10, x10, x8
ldp x11, x12, [x10]
add x9, x9, #1
stp x0, x1, [x10]
ldrsw x10, [x2]
add x8, x8, #16
mov x1, x12
mov x0, x11
cmp x9, x10
b.lt LBB0_6
LBB0_7:
ret
.cfi_endproc
; -- End function
.no_dead_strip _insert
.subsections_via_symbols
| assembly_file_183139.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _S_new ## -- Begin function S_new
.p2align 4, 0x90
_S_new: ## @S_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
movl $4, %edi
callq _malloc
movl %ebx, (%rax)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _fun ## -- Begin function fun
.p2align 4, 0x90
_fun: ## @fun
.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
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _S_new ; -- Begin function S_new
.p2align 2
_S_new: ; @S_new
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #4
bl _malloc
str w19, [x0]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _fun ; -- Begin function fun
.p2align 2
_fun: ; @fun
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/5712.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function chip_bus_lock
_chip_bus_lock: ## @chip_bus_lock
.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
movl %edi, %r14d
movq (%rsi), %rax
movq (%rax), %rdi
callq _unlikely
testq %rax, %rax
je LBB0_1
## %bb.2:
movq (%rbx), %rax
movl %r14d, %edi
popq %rbx
popq %r14
popq %rbp
jmpq *(%rax) ## TAILCALL
LBB0_1:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _chip_bus_lock
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function chip_bus_lock
_chip_bus_lock: ; @chip_bus_lock
.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
ldr x8, [x1]
ldr x0, [x8]
bl _unlikely
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x20]
ldr x1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
br x1
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
.no_dead_strip _chip_bus_lock
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/kernel/irq/extr_internals.h_chip_bus_lock.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function xgbe_phy_config_fixed
_xgbe_phy_config_fixed: ## @xgbe_phy_config_fixed
.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 _link@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl 24(%rdi), %edx
leaq L_.str(%rip), %rcx
callq _netif_dbg
movq %rbx, %rdi
callq _xgbe_an_disable
movl 8(%rbx), %esi
movq %rbx, %rdi
callq *16(%rbx)
## kill: def $eax killed $eax def $rax
leal -130(%rax), %ecx
cmpl $6, %ecx
jae LBB0_1
LBB0_3:
movq (%rbx), %rcx
movq _DUPLEX_FULL@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_2
## %bb.4:
movq %rbx, %rdi
movl %eax, %esi
callq _xgbe_set_mode
xorl %eax, %eax
jmp LBB0_5
LBB0_1:
cmpl $128, %eax
je LBB0_3
LBB0_2:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _link,4,2 ## @link
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "fixed PHY configuration\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _DUPLEX_FULL,8,3 ## @DUPLEX_FULL
.no_dead_strip _xgbe_phy_config_fixed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function xgbe_phy_config_fixed
_xgbe_phy_config_fixed: ; @xgbe_phy_config_fixed
.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, _link@GOTPAGE
Lloh1:
ldr x8, [x8, _link@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
ldr w2, [x0, #24]
Lloh3:
adrp x3, l_.str@PAGE
Lloh4:
add x3, x3, l_.str@PAGEOFF
bl _netif_dbg
mov x0, x19
bl _xgbe_an_disable
ldr x8, [x19, #16]
ldr w1, [x19, #8]
mov x0, x19
blr x8
mov x1, x0
sub w8, w0, #130
cmp w8, #6
b.hs LBB0_3
LBB0_1:
ldr x8, [x19]
Lloh5:
adrp x9, _DUPLEX_FULL@GOTPAGE
Lloh6:
ldr x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
mov x0, x19
bl _xgbe_set_mode
mov w0, #0
b LBB0_5
LBB0_3:
cmp w1, #128
b.eq LBB0_1
LBB0_4:
Lloh8:
adrp x8, _EINVAL@GOTPAGE
Lloh9:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
neg w0, w8
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _link,4,2 ; @link
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fixed PHY configuration\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _DUPLEX_FULL,8,3 ; @DUPLEX_FULL
.no_dead_strip _xgbe_phy_config_fixed
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-mdio.c_xgbe_phy_config_fixed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pebble_strtok ## -- Begin function pebble_strtok
.p2align 4, 0x90
_pebble_strtok: ## @pebble_strtok
.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
testq %rdi, %rdi
jne LBB0_3
## %bb.1:
movq _pebble_strtok.last(%rip), %rax
testq %rax, %rax
je LBB0_2
.p2align 4, 0x90
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
leaq 1(%rax), %r9
movb (%rax), %dl
movq %rsi, %rdi
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rdi), %ecx
testb %cl, %cl
je LBB0_7
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
incq %rdi
cmpb %cl, %dl
jne LBB0_4
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq %r9, %rax
jmp LBB0_3
LBB0_7:
testb %dl, %dl
je LBB0_8
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
leaq 1(%r9), %r8
movb (%r9), %dl
movq %rsi, %rdi
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%rdi), %ecx
cmpb %dl, %cl
je LBB0_11
## %bb.13: ## in Loop: Header=BB0_10 Depth=2
incq %rdi
testb %cl, %cl
jne LBB0_10
## %bb.14: ## in Loop: Header=BB0_9 Depth=1
movq %r8, %r9
jmp LBB0_9
LBB0_11:
testb %dl, %dl
je LBB0_12
## %bb.15:
movb $0, (%r9)
jmp LBB0_16
LBB0_8:
xorl %r8d, %r8d
xorl %eax, %eax
jmp LBB0_16
LBB0_12:
xorl %r8d, %r8d
LBB0_16:
movq %r8, _pebble_strtok.last(%rip)
popq %rbp
retq
LBB0_2:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_pebble_strtok.last,8,3 ## @pebble_strtok.last
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pebble_strtok ; -- Begin function pebble_strtok
.p2align 2
_pebble_strtok: ; @pebble_strtok
.cfi_startproc
; %bb.0:
adrp x8, _pebble_strtok.last@PAGE
cbnz x0, LBB0_2
; %bb.1:
ldr x0, [x8, _pebble_strtok.last@PAGEOFF]
cbz x0, LBB0_18
LBB0_2:
mov x9, x0
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
ldrb w10, [x9], #1
mov x11, x1
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w12, [x11]
cbz w12, LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
add x11, x11, #1
cmp w10, w12
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
mov x0, x9
b LBB0_3
LBB0_7:
cbz w10, LBB0_15
; %bb.8:
mov x10, x9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
ldrb w11, [x10], #1
mov x12, x1
LBB0_10: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w13, [x12]
cmp w13, w11
b.eq LBB0_13
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
add x12, x12, #1
cbnz w13, LBB0_10
; %bb.12: ; in Loop: Header=BB0_9 Depth=1
mov x9, x10
b LBB0_9
LBB0_13:
cbz w11, LBB0_16
; %bb.14:
strb wzr, [x9]
b LBB0_17
LBB0_15:
mov x10, #0
mov x0, #0
b LBB0_17
LBB0_16:
mov x10, #0
LBB0_17:
str x10, [x8, _pebble_strtok.last@PAGEOFF]
LBB0_18:
ret
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_pebble_strtok.last,8,3 ; @pebble_strtok.last
.subsections_via_symbols
| the_stack_data/221890.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _of_hwspin_lock_get_id_byname ## -- Begin function of_hwspin_lock_get_id_byname
.p2align 4, 0x90
_of_hwspin_lock_get_id_byname: ## @of_hwspin_lock_get_id_byname
.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 %rsi, %rsi
je LBB0_1
## %bb.2:
movq %rsi, %rdx
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _of_property_match_string
testl %eax, %eax
js LBB0_3
## %bb.4:
movq %rbx, %rdi
movl %eax, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _of_hwspin_lock_get_id ## TAILCALL
LBB0_1:
movq _EINVAL@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
LBB0_3:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EINVAL,4,2 ## @EINVAL
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "hwlock-names"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _of_hwspin_lock_get_id_byname ; -- Begin function of_hwspin_lock_get_id_byname
.p2align 2
_of_hwspin_lock_get_id_byname: ; @of_hwspin_lock_get_id_byname
.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
cbz x1, LBB0_3
; %bb.1:
mov x2, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _of_property_match_string
mov x1, x0
tbnz w0, #31, LBB0_4
; %bb.2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _of_hwspin_lock_get_id
LBB0_3:
Lloh2:
adrp x8, _EINVAL@GOTPAGE
Lloh3:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w1, w8
LBB0_4:
mov x0, x1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _EINVAL,4,2 ; @EINVAL
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "hwlock-names"
.subsections_via_symbols
| AnghaBench/linux/drivers/hwspinlock/extr_hwspinlock_core.c_of_hwspin_lock_get_id_byname.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function efx_get_mcdi_phy_flags
_efx_get_mcdi_phy_flags: ## @efx_get_mcdi_phy_flags
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rax
movl (%rax), %r8d
movq _MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %edx, %edx
btl %eax, %r8d
movq _PHY_MODE_TX_DISABLED@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, %esi
cmovael %edx, %esi
movq _MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
btl %ecx, %r8d
movq _PHY_MODE_LOW_POWER@GOTPCREL(%rip), %rcx
movl (%rcx), %r9d
movl %r9d, %ecx
cmovael %edx, %ecx
orl %esi, %ecx
movq _MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN@GOTPCREL(%rip), %rsi
movl (%rsi), %esi
btl %esi, %r8d
movq _PHY_MODE_OFF@GOTPCREL(%rip), %rsi
movl (%rsi), %r8d
cmovbl %r8d, %edx
orl %ecx, %edx
andl (%rdi), %edx
andl %edx, %eax
movq _MC_CMD_SET_LINK_IN_TXDIS_LBN@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
movl $1, %esi
shll %cl, %esi
testl %eax, %eax
cmovel %eax, %esi
movq _MC_CMD_SET_LINK_IN_LOWPOWER_LBN@GOTPCREL(%rip), %rax
movb (%rax), %cl
movl $1, %edi
shll %cl, %edi
andl %edx, %r9d
testl %r9d, %r9d
cmovel %r9d, %edi
movl $1, %eax
orl %esi, %edi
andl %r8d, %edx
movq _MC_CMD_SET_LINK_IN_POWEROFF_LBN@GOTPCREL(%rip), %rcx
movb (%rcx), %cl
shll %cl, %eax
testl %edx, %edx
cmovel %edx, %eax
orl %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN,4,2 ## @MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN
.comm _PHY_MODE_TX_DISABLED,4,2 ## @PHY_MODE_TX_DISABLED
.comm _MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN,4,2 ## @MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN
.comm _PHY_MODE_LOW_POWER,4,2 ## @PHY_MODE_LOW_POWER
.comm _MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN,4,2 ## @MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN
.comm _PHY_MODE_OFF,4,2 ## @PHY_MODE_OFF
.comm _MC_CMD_SET_LINK_IN_TXDIS_LBN,4,2 ## @MC_CMD_SET_LINK_IN_TXDIS_LBN
.comm _MC_CMD_SET_LINK_IN_LOWPOWER_LBN,4,2 ## @MC_CMD_SET_LINK_IN_LOWPOWER_LBN
.comm _MC_CMD_SET_LINK_IN_POWEROFF_LBN,4,2 ## @MC_CMD_SET_LINK_IN_POWEROFF_LBN
.no_dead_strip _efx_get_mcdi_phy_flags
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function efx_get_mcdi_phy_flags
_efx_get_mcdi_phy_flags: ; @efx_get_mcdi_phy_flags
.cfi_startproc
; %bb.0:
ldr x8, [x0, #8]
ldr w8, [x8]
Lloh0:
adrp x9, _MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN@GOTPAGE
Lloh1:
ldr x9, [x9, _MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x10, _PHY_MODE_TX_DISABLED@GOTPAGE
Lloh4:
ldr x10, [x10, _PHY_MODE_TX_DISABLED@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
lsr w9, w8, w9
sbfx w9, w9, #0, #1
and w9, w9, w10
Lloh6:
adrp x11, _MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN@GOTPAGE
Lloh7:
ldr x11, [x11, _MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN@GOTPAGEOFF]
Lloh8:
ldr w11, [x11]
Lloh9:
adrp x12, _PHY_MODE_LOW_POWER@GOTPAGE
Lloh10:
ldr x12, [x12, _PHY_MODE_LOW_POWER@GOTPAGEOFF]
Lloh11:
ldr w12, [x12]
lsr w11, w8, w11
sbfx w11, w11, #0, #1
and w11, w11, w12
orr w9, w11, w9
Lloh12:
adrp x11, _MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN@GOTPAGE
Lloh13:
ldr x11, [x11, _MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN@GOTPAGEOFF]
Lloh14:
adrp x13, _PHY_MODE_OFF@GOTPAGE
Lloh15:
ldr x13, [x13, _PHY_MODE_OFF@GOTPAGEOFF]
Lloh16:
ldr w11, [x11]
Lloh17:
ldr w13, [x13]
lsr w8, w8, w11
sbfx w8, w8, #0, #1
and w8, w8, w13
orr w8, w9, w8
ldr w9, [x0]
and w8, w8, w9
Lloh18:
adrp x9, _MC_CMD_SET_LINK_IN_TXDIS_LBN@GOTPAGE
Lloh19:
ldr x9, [x9, _MC_CMD_SET_LINK_IN_TXDIS_LBN@GOTPAGEOFF]
Lloh20:
ldr w9, [x9]
mov w11, #1
lsl w9, w11, w9
tst w8, w10
csel w9, wzr, w9, eq
Lloh21:
adrp x10, _MC_CMD_SET_LINK_IN_LOWPOWER_LBN@GOTPAGE
Lloh22:
ldr x10, [x10, _MC_CMD_SET_LINK_IN_LOWPOWER_LBN@GOTPAGEOFF]
Lloh23:
ldr w10, [x10]
lsl w10, w11, w10
tst w8, w12
csel w10, wzr, w10, eq
orr w9, w9, w10
Lloh24:
adrp x10, _MC_CMD_SET_LINK_IN_POWEROFF_LBN@GOTPAGE
Lloh25:
ldr x10, [x10, _MC_CMD_SET_LINK_IN_POWEROFF_LBN@GOTPAGEOFF]
Lloh26:
ldr w10, [x10]
lsl w10, w11, w10
tst w8, w13
csel w8, wzr, w10, eq
orr w0, w9, w8
ret
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN,4,2 ; @MC_CMD_GET_PHY_CFG_OUT_TXDIS_LBN
.comm _PHY_MODE_TX_DISABLED,4,2 ; @PHY_MODE_TX_DISABLED
.comm _MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN,4,2 ; @MC_CMD_GET_PHY_CFG_OUT_LOWPOWER_LBN
.comm _PHY_MODE_LOW_POWER,4,2 ; @PHY_MODE_LOW_POWER
.comm _MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN,4,2 ; @MC_CMD_GET_PHY_CFG_OUT_POWEROFF_LBN
.comm _PHY_MODE_OFF,4,2 ; @PHY_MODE_OFF
.comm _MC_CMD_SET_LINK_IN_TXDIS_LBN,4,2 ; @MC_CMD_SET_LINK_IN_TXDIS_LBN
.comm _MC_CMD_SET_LINK_IN_LOWPOWER_LBN,4,2 ; @MC_CMD_SET_LINK_IN_LOWPOWER_LBN
.comm _MC_CMD_SET_LINK_IN_POWEROFF_LBN,4,2 ; @MC_CMD_SET_LINK_IN_POWEROFF_LBN
.no_dead_strip _efx_get_mcdi_phy_flags
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/sfc/extr_mcdi_port.c_efx_get_mcdi_phy_flags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_net_ns_by_pid ## -- Begin function get_net_ns_by_pid
.p2align 4, 0x90
_get_net_ns_by_pid: ## @get_net_ns_by_pid
.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
movq _ESRCH@GOTPCREL(%rip), %rax
xorl %edi, %edi
subl (%rax), %edi
callq _ERR_PTR
movq %rax, %r14
xorl %eax, %eax
callq _rcu_read_lock
movl %ebx, %edi
callq _find_task_by_vpid
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rax, %rbx
movq %rax, %rdi
callq _task_lock
movq (%rbx), %rax
testq %rax, %rax
je LBB0_3
## %bb.2:
movl (%rax), %edi
callq _get_net
movq %rax, %r14
LBB0_3:
movq %rbx, %rdi
callq _task_unlock
LBB0_4:
xorl %eax, %eax
callq _rcu_read_unlock
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESRCH,4,2 ## @ESRCH
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_net_ns_by_pid ; -- Begin function get_net_ns_by_pid
.p2align 2
_get_net_ns_by_pid: ; @get_net_ns_by_pid
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
Lloh0:
adrp x8, _ESRCH@GOTPAGE
Lloh1:
ldr x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
neg w0, w8
bl _ERR_PTR
mov x19, x0
bl _rcu_read_lock
mov x0, x20
bl _find_task_by_vpid
cbz x0, LBB0_4
; %bb.1:
mov x20, x0
bl _task_lock
ldr x8, [x20]
cbz x8, LBB0_3
; %bb.2:
ldr w0, [x8]
bl _get_net
mov x19, x0
LBB0_3:
mov x0, x20
bl _task_unlock
LBB0_4:
bl _rcu_read_unlock
mov x0, 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 _ESRCH,4,2 ; @ESRCH
.subsections_via_symbols
| AnghaBench/linux/net/core/extr_net_namespace.c_get_net_ns_by_pid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function bios_getquirks
_bios_getquirks: ## @bios_getquirks
.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 _quirks@GOTPCREL(%rip), %r14
movq (%r14), %rax
cmpq $0, (%rax)
je LBB0_5
## %bb.1:
xorl %ebx, %ebx
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl 16(%rax,%rbx), %edi
movl 8(%rax,%rbx), %edx
movl 12(%rax,%rbx), %esi
callq _smbios_match
testq %rax, %rax
jne LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
incq %r15
movq (%r14), %rax
cmpq $0, 24(%rax,%rbx)
leaq 24(%rbx), %rbx
jne LBB0_2
LBB0_5:
xorl %eax, %eax
jmp LBB0_6
LBB0_3:
movl %r15d, %eax
movq (%r14), %rcx
leaq (%rax,%rax,2), %rax
movl (%rcx,%rax,8), %eax
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _quirks,8,3 ## @quirks
.no_dead_strip _bios_getquirks
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function bios_getquirks
_bios_getquirks: ; @bios_getquirks
.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 x19, _quirks@GOTPAGE
Lloh1:
ldr x19, [x19, _quirks@GOTPAGEOFF]
ldr x8, [x19]
ldr x9, [x8]
cbz x9, LBB0_4
; %bb.1:
mov x21, #0
mov x20, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x8, x8, x21
ldp w1, w0, [x8, #12]
ldr w2, [x8, #8]
bl _smbios_match
cbnz x0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x20, x20, #1
ldr x8, [x19]
add x9, x8, x21
ldr x9, [x9, #24]
add x21, x21, #24
cbnz x9, LBB0_2
LBB0_4:
mov w0, #0
b LBB0_6
LBB0_5:
and x8, x20, #0xffffffff
ldr x9, [x19]
mov w10, #24
mul x8, x8, x10
ldr w0, [x9, x8]
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _quirks,8,3 ; @quirks
.no_dead_strip _bios_getquirks
.subsections_via_symbols
| AnghaBench/freebsd/stand/i386/libi386/extr_biosmem.c_bios_getquirks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _VS_FacetsForTriangleSurface ## -- Begin function VS_FacetsForTriangleSurface
.p2align 4, 0x90
_VS_FacetsForTriangleSurface: ## @VS_FacetsForTriangleSurface
.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 %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq _qfalse@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 32(%rdx)
movq (%rdi), %rcx
movq _MST_TRIANGLE_SOUP@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_2
## %bb.1:
movq _qtrue@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_2:
movq %rax, 24(%rbx)
movslq 8(%r15), %rax
imulq $1431655766, %rax, %rdi ## imm = 0x55555556
movq %rdi, %rax
shrq $63, %rax
shrq $32, %rdi
addl %eax, %edi
movl %edi, (%rbx)
shll $2, %edi
## kill: def $edi killed $edi killed $rdi
callq _malloc
movq %rax, 8(%rbx)
movq %r14, 16(%rbx)
movl (%rbx), %eax
testl %eax, %eax
jle LBB0_3
## %bb.4:
movq %r14, -56(%rbp) ## 8-byte Spill
xorl %r12d, %r12d
movl $0, -44(%rbp) ## 4-byte Folded Spill
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq _drawIndexes@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq 12(%r15), %rdx
movslq %r12d, %r10
leaq (%r10,%r10,2), %rsi
addq %rdx, %rsi
movq %rbx, %r11
movslq (%rcx,%rsi,4), %rbx
movslq %esi, %rsi
movl 4(%rcx,%rsi,4), %r8d
movl 8(%rcx,%rsi,4), %r9d
movq _drawVerts@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq %r15, %r13
movslq 16(%r15), %rdi
addq %rdi, %rbx
leaq (%rdx,%rbx,4), %rbx
movq %rbx, -72(%rbp) ## 8-byte Spill
leal (%rdi,%r8), %ebx
movslq %ebx, %rbx
leaq (%rdx,%rbx,4), %rbx
movq %rbx, -64(%rbp) ## 8-byte Spill
leal (%rdi,%r9), %ebx
movslq %ebx, %rbx
leaq (%rdx,%rbx,4), %r14
movq %r11, %rbx
decl %eax
movslq -44(%rbp), %r15 ## 4-byte Folded Reload
cmpl %eax, %r10d
je LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl %r9d, 12(%rcx,%rsi,4)
jne LBB0_10
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
cmpl %r8d, 16(%rcx,%rsi,4)
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
movslq 20(%rcx,%rsi,4), %rax
addq %rdi, %rax
leaq (%rdx,%rax,4), %r9
leaq (,%r15,4), %rdx
addq 8(%rbx), %rdx
movq %r14, (%rsp)
movq %r13, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq -72(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r8 ## 8-byte Reload
callq _VS_GenerateFacetFor4Points
testq %rax, %rax
je LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
incl -44(%rbp) ## 4-byte Folded Spill
incl %r12d
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
shlq $2, %r15
addq 8(%rbx), %r15
movq %r13, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
movq %r15, %rdx
movq -72(%rbp), %rcx ## 8-byte Reload
movq -64(%rbp), %r8 ## 8-byte Reload
movq %r14, %r9
callq _VS_GenerateFacetFor3Points
cmpq $1, %rax
sbbl $-1, -44(%rbp) ## 4-byte Folded Spill
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
incl %r12d
movl (%rbx), %eax
cmpl %eax, %r12d
movq %r13, %r15
jl LBB0_5
jmp LBB0_12
LBB0_3:
movl $0, -44(%rbp) ## 4-byte Folded Spill
LBB0_12:
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, (%rbx)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _qfalse,8,3 ## @qfalse
.comm _MST_TRIANGLE_SOUP,8,3 ## @MST_TRIANGLE_SOUP
.comm _qtrue,8,3 ## @qtrue
.comm _drawIndexes,8,3 ## @drawIndexes
.comm _drawVerts,8,3 ## @drawVerts
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _VS_FacetsForTriangleSurface ; -- Begin function VS_FacetsForTriangleSurface
.p2align 2
_VS_FacetsForTriangleSurface: ; @VS_FacetsForTriangleSurface
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, _qfalse@GOTPAGE
Lloh1:
ldr x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x0]
Lloh3:
adrp x10, _MST_TRIANGLE_SOUP@GOTPAGE
Lloh4:
ldr x10, [x10, _MST_TRIANGLE_SOUP@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
Lloh6:
adrp x11, _qtrue@GOTPAGE
Lloh7:
ldr x11, [x11, _qtrue@GOTPAGEOFF]
Lloh8:
ldr x11, [x11]
cmp x9, x10
csel x9, x11, x8, eq
stp x9, x8, [x2, #24]
ldrsw x8, [x0, #8]
mov w9, #21846
movk w9, #21845, lsl #16
mul x8, x8, x9
lsr x9, x8, #63
lsr x8, x8, #32
add w8, w8, w9
str w8, [x2]
lsl w0, w8, #2
bl _malloc
stp x0, x20, [x19, #8]
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_9
; %bb.1:
mov w26, #0
mov w25, #0
Lloh9:
adrp x27, _drawIndexes@GOTPAGE
Lloh10:
ldr x27, [x27, _drawIndexes@GOTPAGEOFF]
Lloh11:
adrp x28, _drawVerts@GOTPAGE
Lloh12:
ldr x28, [x28, _drawVerts@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x27]
sxtw x10, w26
add x11, x10, w26, sxtw #1
ldp w12, w10, [x21, #12]
; kill: def $w12 killed $w12 def $x12
sxtw x12, w12
add x14, x12, x11
add x11, x9, x14, lsl #2
ldp w16, w13, [x11]
ldr w15, [x11, #8]
ldr x12, [x28]
add w16, w10, w16
add x22, x12, w16, sxtw #2
add w16, w10, w13
add x23, x12, w16, sxtw #2
add w16, w10, w15
add x24, x12, w16, sxtw #2
sub w8, w8, #1
cmp w26, w8
b.eq LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x11, #12]
cmp w8, w15
b.ne LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add x8, x9, x14, lsl #2
ldr w8, [x8, #16]
cmp w8, w13
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x11, #20]
add w8, w8, w10
add x5, x12, w8, sxtw #2
ldr x8, [x19, #8]
add x2, x8, w25, sxtw #2
mov x0, x21
mov x1, x20
mov x3, x22
mov x4, x23
mov x6, x24
bl _VS_GenerateFacetFor4Points
cbz x0, LBB0_7
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
add w25, w25, #1
add w26, w26, #1
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x19, #8]
add x2, x8, w25, sxtw #2
mov x0, x21
mov x1, x20
mov x3, x22
mov x4, x23
mov x5, x24
bl _VS_GenerateFacetFor3Points
cmp x0, #0
cinc w25, w25, ne
LBB0_8: ; in Loop: Header=BB0_2 Depth=1
add w26, w26, #1
ldr w8, [x19]
cmp w26, w8
b.lt LBB0_2
b LBB0_10
LBB0_9:
mov w25, #0
LBB0_10:
str w25, [x19]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _qfalse,8,3 ; @qfalse
.comm _MST_TRIANGLE_SOUP,8,3 ; @MST_TRIANGLE_SOUP
.comm _qtrue,8,3 ; @qtrue
.comm _drawIndexes,8,3 ; @drawIndexes
.comm _drawVerts,8,3 ; @drawVerts
.subsections_via_symbols
| AnghaBench/Quake-III-Arena/q3map/extr_soundv.c_VS_FacetsForTriangleSurface.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ov772x_select_fps
_ov772x_select_fps: ## @ov772x_select_fps
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl (%rsi), %ecx
movl 4(%rsi), %r15d
testl %ecx, %ecx
je LBB0_2
## %bb.1:
movl %r15d, %eax
xorl %edx, %edx
divl %ecx
movl %eax, %r15d
LBB0_2:
movq _ov772x_frame_intervals@GOTPCREL(%rip), %r14
movq (%r14), %rdi
callq _ARRAY_SIZE
xorl %r12d, %r12d
testl %eax, %eax
je LBB0_6
## %bb.3:
movl $-1, %r13d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rdi
movl %r15d, %eax
subl (%rdi,%rbx,4), %eax
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
cmpl %r13d, %ecx
cmovbl %ecx, %r13d
cmovbl %ebx, %r12d
incq %rbx
callq _ARRAY_SIZE
movl %eax, %eax
cmpq %rax, %rbx
jb LBB0_4
## %bb.5:
movl %r12d, %r12d
LBB0_6:
movq (%r14), %rax
movl (%rax,%r12,4), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ov772x_frame_intervals,8,3 ## @ov772x_frame_intervals
.no_dead_strip _ov772x_select_fps
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ov772x_select_fps
_ov772x_select_fps: ; @ov772x_select_fps
.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
ldp w8, w9, [x1]
udiv w10, w9, w8
cmp w8, #0
csel w20, w9, w10, eq
Lloh0:
adrp x19, _ov772x_frame_intervals@GOTPAGE
Lloh1:
ldr x19, [x19, _ov772x_frame_intervals@GOTPAGEOFF]
ldr x0, [x19]
bl _ARRAY_SIZE
cbz w0, LBB0_3
; %bb.1:
mov x22, #0
mov w21, #0
mov w23, #-1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19]
ldr w8, [x0, x22, lsl #2]
subs w8, w20, w8
cneg w8, w8, mi
cmp w8, w23
csel w23, w8, w23, lo
csel w21, w22, w21, lo
add x22, x22, #1
bl _ARRAY_SIZE
cmp x22, w0, uxtw
b.lo LBB0_2
b LBB0_4
LBB0_3:
mov x21, #0
LBB0_4:
ldr x8, [x19]
ldr w0, [x8, x21, lsl #2]
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 _ov772x_frame_intervals,8,3 ; @ov772x_frame_intervals
.no_dead_strip _ov772x_select_fps
.subsections_via_symbols
| AnghaBench/linux/drivers/media/i2c/extr_ov772x.c_ov772x_select_fps.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pcs_add_function
_pcs_add_function: ## @pcs_add_function
.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 %r9, -48(%rbp) ## 8-byte Spill
movl %r8d, %r14d
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
movl (%rdi), %edi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $16, %esi
callq _devm_kzalloc
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movl 16(%rbp), %ecx
movq %r12, 8(%rax)
movl %r14d, (%rax)
movl 4(%r15), %edi
movq %r13, %rsi
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rax, %r8
callq _pinmux_generic_add_function
movl %eax, %r12d
testl %eax, %eax
jns LBB0_4
## %bb.3:
movl (%r15), %edi
movq %rbx, %rsi
callq _devm_kfree
xorl %ebx, %ebx
LBB0_4:
movq -56(%rbp), %rax ## 8-byte Reload
movq %rbx, (%rax)
jmp LBB0_5
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r12d, %r12d
subl (%rax), %r12d
LBB0_5:
movl %r12d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _pcs_add_function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pcs_add_function
_pcs_add_function: ; @pcs_add_function
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x6
mov x23, x5
mov x25, x4
mov x26, x3
mov x24, x2
mov x19, x1
mov x20, x0
ldr w0, [x0]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #16
bl _devm_kzalloc
cbz x0, LBB0_4
; %bb.1:
mov x22, x0
str x26, [x0, #8]
str w25, [x0]
ldr w0, [x20, #4]
mov x1, x24
mov x2, x23
mov x3, x21
mov x4, x22
bl _pinmux_generic_add_function
mov x21, x0
tbz w0, #31, LBB0_3
; %bb.2:
ldr w0, [x20]
mov x1, x22
bl _devm_kfree
mov x22, #0
LBB0_3:
str x22, [x19]
b LBB0_5
LBB0_4:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w21, w8
LBB0_5:
mov x0, x21
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.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 _pcs_add_function
.subsections_via_symbols
| AnghaBench/linux/drivers/pinctrl/extr_pinctrl-single.c_pcs_add_function.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gdImageCropAuto ## -- Begin function gdImageCropAuto
.p2align 4, 0x90
_gdImageCropAuto: ## @gdImageCropAuto
.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, %ebx
movq %rdi, %r14
callq _gdImageSX
movl %eax, %r12d
movq %r14, %rdi
callq _gdImageSY
movl %eax, -48(%rbp) ## 4-byte Spill
movl $0, -64(%rbp)
movq $0, -72(%rbp)
addl $-128, %ebx
cmpl $4, %ebx
ja LBB0_6
## %bb.1:
leaq LJTI0_0(%rip), %rax
movslq (%rax,%rbx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
LBB0_6:
movq %r14, %rdi
callq _gdImageGetTransparent
jmp LBB0_7
LBB0_4:
movq %r14, %rdi
movl $255, %esi
movl $255, %edx
movl $255, %ecx
jmp LBB0_3
LBB0_5:
leaq -44(%rbp), %rsi
movq %r14, %rdi
callq _gdGuessBackgroundColorFromCorners
jmp LBB0_8
LBB0_2:
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
LBB0_3:
xorl %r8d, %r8d
callq _gdImageColorClosestAlpha
LBB0_7:
movl %eax, -44(%rbp)
LBB0_8:
xorl %eax, %eax
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jle LBB0_43
.p2align 4, 0x90
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_12 Depth 2
movl %eax, %r15d
testl %r12d, %r12d
jle LBB0_10
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl $1, %ebx
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
leal -1(%rbx), %esi
movq %r14, %rdi
movl %r15d, %edx
callq _gdImageGetPixel
movl -44(%rbp), %edx
cmpl %eax, %edx
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
leal 1(%rbx), %ecx
cmpl %r12d, %ebx
movl %ecx, %ebx
jl LBB0_12
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
xorl %ecx, %ecx
cmpl %eax, %edx
sete %cl
testl %ecx, %ecx
jne LBB0_16
jmp LBB0_17
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_9 Depth=1
movl $1, %ecx
testl %ecx, %ecx
je LBB0_17
LBB0_16: ## in Loop: Header=BB0_9 Depth=1
leal 1(%r15), %eax
cmpl -48(%rbp), %eax ## 4-byte Folded Reload
jl LBB0_9
LBB0_17:
testl %ecx, %ecx
je LBB0_19
## %bb.18:
xorl %eax, %eax
jmp LBB0_43
LBB0_19:
movl %r15d, -68(%rbp)
.p2align 4, 0x90
LBB0_23: ## =>This Loop Header: Depth=1
## Child Loop BB0_26 Depth 2
movl -48(%rbp), %eax ## 4-byte Reload
movl %eax, %edx
leal -1(%rdx), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
testl %r12d, %r12d
jle LBB0_24
## %bb.25: ## in Loop: Header=BB0_23 Depth=1
movq %rdx, -56(%rbp) ## 8-byte Spill
movl $1, %ebx
.p2align 4, 0x90
LBB0_26: ## Parent Loop BB0_23 Depth=1
## => This Inner Loop Header: Depth=2
leal -1(%rbx), %esi
movl -44(%rbp), %r13d
movq %r14, %rdi
movl -48(%rbp), %edx ## 4-byte Reload
callq _gdImageGetPixel
cmpl %eax, %r13d
jne LBB0_20
## %bb.27: ## in Loop: Header=BB0_26 Depth=2
leal 1(%rbx), %ecx
cmpl %r12d, %ebx
movl %ecx, %ebx
jl LBB0_26
LBB0_20: ## in Loop: Header=BB0_23 Depth=1
xorl %ecx, %ecx
cmpl %eax, %r13d
sete %cl
movq -56(%rbp), %rdx ## 8-byte Reload
testl %ecx, %ecx
jne LBB0_22
jmp LBB0_28
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_23 Depth=1
movl $1, %ecx
testl %ecx, %ecx
je LBB0_28
LBB0_22: ## in Loop: Header=BB0_23 Depth=1
cmpl $2, %edx
jge LBB0_23
LBB0_28:
movl %edx, %eax
subl %r15d, %eax
movl %eax, -60(%rbp)
testl %r12d, %r12d
jle LBB0_44
## %bb.29:
xorl %eax, %eax
movq %rdx, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_30: ## =>This Loop Header: Depth=1
## Child Loop BB0_31 Depth 2
movl %eax, %r13d
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_31: ## Parent Loop BB0_30 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %ebx
cmpl %edx, %ecx
jge LBB0_33
## %bb.32: ## in Loop: Header=BB0_31 Depth=2
movl -44(%rbp), %r15d
movq %r14, %rdi
movl %r13d, %esi
movl %ebx, %edx
callq _gdImageGetPixel
movq -56(%rbp), %rdx ## 8-byte Reload
leal 1(%rbx), %ecx
cmpl %eax, %r15d
je LBB0_31
LBB0_33: ## in Loop: Header=BB0_30 Depth=1
cmpl %edx, %ebx
jl LBB0_35
## %bb.34: ## in Loop: Header=BB0_30 Depth=1
leal 1(%r13), %eax
cmpl %r12d, %eax
jl LBB0_30
LBB0_35:
leal -1(%r12), %r15d
movl %r13d, -72(%rbp)
testl %r12d, %r12d
jle LBB0_42
.p2align 4, 0x90
LBB0_36: ## =>This Loop Header: Depth=1
## Child Loop BB0_37 Depth 2
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_37: ## Parent Loop BB0_36 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %ebx
cmpl %edx, %ecx
jge LBB0_39
## %bb.38: ## in Loop: Header=BB0_37 Depth=2
movl -44(%rbp), %r12d
movq %r14, %rdi
movl %r15d, %esi
movl %ebx, %edx
callq _gdImageGetPixel
movq -56(%rbp), %rdx ## 8-byte Reload
leal 1(%rbx), %ecx
cmpl %eax, %r12d
je LBB0_37
LBB0_39: ## in Loop: Header=BB0_36 Depth=1
leal -1(%r15), %eax
cmpl %edx, %ebx
jl LBB0_41
## %bb.40: ## in Loop: Header=BB0_36 Depth=1
testl %r15d, %r15d
movl %eax, %r15d
jg LBB0_36
LBB0_41:
movl %eax, %r15d
jmp LBB0_42
LBB0_44:
movl $-1, -72(%rbp)
decl %r12d
movl $-1, %r13d
movl %r12d, %r15d
LBB0_42:
subl %r13d, %r15d
addl $2, %r15d
movl %r15d, -64(%rbp)
leaq -72(%rbp), %rsi
movq %r14, %rdi
callq _gdImageCrop
LBB0_43:
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 L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_6
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_2
.end_data_region
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _gdImageCropAuto ; -- Begin function gdImageCropAuto
.p2align 2
_gdImageCropAuto: ; @gdImageCropAuto
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x22, x1
mov x19, x0
bl _gdImageSX
mov x20, x0
mov x0, x19
bl _gdImageSY
mov x21, x0
str wzr, [sp, #16]
str xzr, [sp, #8]
sub w8, w22, #128
cmp w8, #4
b.hi LBB0_2
; %bb.1:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_2
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_2:
mov x0, x19
bl _gdImageGetTransparent
b LBB0_7
LBB0_3:
mov x0, x19
mov w1, #255
mov w2, #255
mov w3, #255
b LBB0_6
LBB0_4:
add x1, sp, #28
mov x0, x19
bl _gdGuessBackgroundColorFromCorners
cmp w21, #1
b.ge LBB0_8
b LBB0_16
LBB0_5:
mov x0, x19
mov w1, #0
mov w2, #0
mov w3, #0
LBB0_6:
mov w4, #0
bl _gdImageColorClosestAlpha
LBB0_7:
str w0, [sp, #28]
cmp w21, #1
b.lt LBB0_16
LBB0_8:
mov w9, #0
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=1
mov w8, #1
cbz w8, LBB0_15
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
add w9, w22, #1
cmp w9, w21
b.ge LBB0_15
LBB0_11: ; =>This Loop Header: Depth=1
; Child Loop BB0_13 Depth 2
mov x22, x9
cmp w20, #1
b.lt LBB0_9
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
mov w23, #1
LBB0_13: ; Parent Loop BB0_11 Depth=1
; => This Inner Loop Header: Depth=2
sub w1, w23, #1
mov x0, x19
mov x2, x22
bl _gdImageGetPixel
ldr w8, [sp, #28]
cmp w8, w0
ccmp w23, w20, #0, eq
add w23, w23, #1
b.lt LBB0_13
; %bb.14: ; in Loop: Header=BB0_11 Depth=1
cmp w8, w0
cset w8, eq
cbnz w8, LBB0_10
LBB0_15:
cbz w8, LBB0_17
LBB0_16:
mov x0, #0
b LBB0_40
LBB0_17:
str w22, [sp, #12]
b LBB0_20
LBB0_18: ; in Loop: Header=BB0_20 Depth=1
mov w8, #1
cbz w8, LBB0_24
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
cmp w23, #1
b.le LBB0_24
LBB0_20: ; =>This Loop Header: Depth=1
; Child Loop BB0_22 Depth 2
mov x23, x21
sub w21, w21, #1
cmp w20, #1
b.lt LBB0_18
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
mov w24, #1
LBB0_22: ; Parent Loop BB0_20 Depth=1
; => This Inner Loop Header: Depth=2
sub w1, w24, #1
ldr w25, [sp, #28]
mov x0, x19
mov x2, x21
bl _gdImageGetPixel
cmp w25, w0
ccmp w24, w20, #0, eq
add w24, w24, #1
b.lt LBB0_22
; %bb.23: ; in Loop: Header=BB0_20 Depth=1
cmp w25, w0
cset w8, eq
cbnz w8, LBB0_19
LBB0_24:
sub w8, w23, w22
str w8, [sp, #20]
subs w22, w20, #1
b.lt LBB0_38
; %bb.25:
mov w9, #0
LBB0_26: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
mov w8, #0
mov x21, x9
LBB0_27: ; Parent Loop BB0_26 Depth=1
; => This Inner Loop Header: Depth=2
mov x22, x8
cmp w8, w23
b.ge LBB0_29
; %bb.28: ; in Loop: Header=BB0_27 Depth=2
ldr w24, [sp, #28]
mov x0, x19
mov x1, x21
mov x2, x22
bl _gdImageGetPixel
add w8, w22, #1
cmp w24, w0
b.eq LBB0_27
LBB0_29: ; in Loop: Header=BB0_26 Depth=1
cmp w22, w23
b.lt LBB0_31
; %bb.30: ; in Loop: Header=BB0_26 Depth=1
add w9, w21, #1
cmp w9, w20
b.lt LBB0_26
LBB0_31:
str w21, [sp, #8]
subs w22, w20, #1
b.lt LBB0_39
LBB0_32: ; =>This Loop Header: Depth=1
; Child Loop BB0_33 Depth 2
mov w8, #0
LBB0_33: ; Parent Loop BB0_32 Depth=1
; => This Inner Loop Header: Depth=2
mov x20, x8
cmp w8, w23
b.ge LBB0_35
; %bb.34: ; in Loop: Header=BB0_33 Depth=2
ldr w24, [sp, #28]
mov x0, x19
mov x1, x22
mov x2, x20
bl _gdImageGetPixel
add w8, w20, #1
cmp w24, w0
b.eq LBB0_33
LBB0_35: ; in Loop: Header=BB0_32 Depth=1
sub w8, w22, #1
cmp w20, w23
b.lt LBB0_37
; %bb.36: ; in Loop: Header=BB0_32 Depth=1
cmp w22, #0
mov x22, x8
b.gt LBB0_32
LBB0_37:
mov x22, x8
b LBB0_39
LBB0_38:
mov w21, #-1
str w21, [sp, #8]
LBB0_39:
sub w8, w22, w21
add w8, w8, #2
str w8, [sp, #16]
add x1, sp, #8
mov x0, x19
bl _gdImageCrop
LBB0_40:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
; -- End function
.subsections_via_symbols
| AnghaBench/php-src/ext/gd/libgd/extr_gd_crop.c_gdImageCropAuto.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function layout_array_type
_layout_array_type: ## @layout_array_type
.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
callq _TREE_TYPE
movl %eax, %edi
callq _TREE_CODE
movq _ARRAY_TYPE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
movl %ebx, %edi
callq _TREE_TYPE
movl %eax, %edi
callq _layout_array_type
LBB0_2:
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _layout_type ## TAILCALL
.cfi_endproc
## -- End function
.comm _ARRAY_TYPE,8,3 ## @ARRAY_TYPE
.no_dead_strip _layout_array_type
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function layout_array_type
_layout_array_type: ; @layout_array_type
.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 _TREE_TYPE
bl _TREE_CODE
Lloh0:
adrp x8, _ARRAY_TYPE@GOTPAGE
Lloh1:
ldr x8, [x8, _ARRAY_TYPE@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_2
; %bb.1:
mov x0, x19
bl _TREE_TYPE
bl _layout_array_type
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _layout_type
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ARRAY_TYPE,8,3 ; @ARRAY_TYPE
.no_dead_strip _layout_array_type
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_c-decl.c_layout_array_type.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cudbg_get_workspace_size
_cudbg_get_workspace_size: ## @cudbg_get_workspace_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 _CUDBG_ZLIB_WIN_BITS@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _CUDBG_ZLIB_MEM_LVL@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _zlib_deflate_workspacesize ## TAILCALL
.cfi_endproc
## -- End function
.comm _CUDBG_ZLIB_WIN_BITS,4,2 ## @CUDBG_ZLIB_WIN_BITS
.comm _CUDBG_ZLIB_MEM_LVL,4,2 ## @CUDBG_ZLIB_MEM_LVL
.no_dead_strip _cudbg_get_workspace_size
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cudbg_get_workspace_size
_cudbg_get_workspace_size: ; @cudbg_get_workspace_size
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _CUDBG_ZLIB_WIN_BITS@GOTPAGE
Lloh1:
ldr x8, [x8, _CUDBG_ZLIB_WIN_BITS@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
Lloh3:
adrp x8, _CUDBG_ZLIB_MEM_LVL@GOTPAGE
Lloh4:
ldr x8, [x8, _CUDBG_ZLIB_MEM_LVL@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
b _zlib_deflate_workspacesize
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _CUDBG_ZLIB_WIN_BITS,4,2 ; @CUDBG_ZLIB_WIN_BITS
.comm _CUDBG_ZLIB_MEM_LVL,4,2 ; @CUDBG_ZLIB_MEM_LVL
.no_dead_strip _cudbg_get_workspace_size
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/chelsio/cxgb4/extr_cudbg_zlib.h_cudbg_get_workspace_size.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _memcmp ## -- Begin function memcmp
.p2align 4, 0x90
_memcmp: ## @memcmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdx, %rdx
je LBB0_6
## %bb.1:
xorl %eax, %eax
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%rax,8), %rcx
cmpq %rcx, (%rdi,%rax,8)
jl LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
jg LBB0_8
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
incq %rax
cmpq %rax, %rdx
jne LBB0_2
LBB0_6:
xorl %eax, %eax
popq %rbp
retq
LBB0_7:
movl $-1, %eax
popq %rbp
retq
LBB0_8:
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 _memcmp ; -- Begin function memcmp
.p2align 2
_memcmp: ; @memcmp
.cfi_startproc
; %bb.0:
cbz x2, LBB0_4
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0]
ldr x9, [x1]
cmp x8, x9
b.lt LBB0_5
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
b.gt LBB0_6
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
add x1, x1, #8
add x0, x0, #8
subs x2, x2, #1
b.ne LBB0_1
LBB0_4:
mov w0, #0
ret
LBB0_5:
mov w0, #-1
ret
LBB0_6:
mov w0, #1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/unbound/compat/extr_memcmp.c_memcmp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_str(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "I'm wrong."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "I'm wrong."
.subsections_via_symbols
| the_stack_data/38435.c | stack |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.