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 _sci_unsolicited_frame_control_construct ## -- Begin function sci_unsolicited_frame_control_construct
.p2align 4, 0x90
_sci_unsolicited_frame_control_construct: ## @sci_unsolicited_frame_control_construct
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
.cfi_offset %rbx, -24
movl (%rdi), %eax
movq 8(%rdi), %rcx
movq _SCI_UFI_BUF_SIZE@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
leal (%rdx,%rax), %r8d
movl %r8d, 16(%rdi)
addq %rcx, %rdx
movq %rdx, 24(%rdi)
movq _SCI_UFI_HDR_SIZE@GOTPCREL(%rip), %rsi
movslq (%rsi), %r9
addl %r9d, %r8d
movl %r8d, 32(%rdi)
leaq (%rdx,%r9), %rsi
movq %rsi, 40(%rdi)
movq $0, 56(%rdi)
movq _SCU_MAX_UNSOLICITED_FRAMES@GOTPCREL(%rip), %r8
cmpl $0, (%r8)
jle LBB0_3
## %bb.1:
movq 48(%rdi), %rdi
addq $16, %rdi
xorl %esi, %esi
movq _UNSOLICITED_FRAME_EMPTY@GOTPCREL(%rip), %r10
movq _SCU_UNSOLICITED_FRAME_BUFFER_SIZE@GOTPCREL(%rip), %r11
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %eax, (%rdx,%r9)
movq %rcx, (%rdi)
movq %rdx, -8(%rdi)
movl (%r10), %ebx
movl %ebx, -16(%rdi)
movslq (%r11), %rbx
addq %rbx, %rcx
addl %ebx, %eax
incq %rsi
movslq (%r8), %rbx
addq $4, %rdx
addq $24, %rdi
cmpq %rbx, %rsi
jl LBB0_2
LBB0_3:
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SCI_UFI_BUF_SIZE,4,2 ## @SCI_UFI_BUF_SIZE
.comm _SCI_UFI_HDR_SIZE,4,2 ## @SCI_UFI_HDR_SIZE
.comm _SCU_MAX_UNSOLICITED_FRAMES,4,2 ## @SCU_MAX_UNSOLICITED_FRAMES
.comm _UNSOLICITED_FRAME_EMPTY,4,2 ## @UNSOLICITED_FRAME_EMPTY
.comm _SCU_UNSOLICITED_FRAME_BUFFER_SIZE,4,2 ## @SCU_UNSOLICITED_FRAME_BUFFER_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sci_unsolicited_frame_control_construct ; -- Begin function sci_unsolicited_frame_control_construct
.p2align 2
_sci_unsolicited_frame_control_construct: ; @sci_unsolicited_frame_control_construct
.cfi_startproc
; %bb.0:
ldr w8, [x0]
Lloh0:
adrp x10, _SCI_UFI_BUF_SIZE@GOTPAGE
Lloh1:
ldr x10, [x10, _SCI_UFI_BUF_SIZE@GOTPAGEOFF]
ldr x9, [x0, #8]
Lloh2:
ldrsw x11, [x10]
Lloh3:
adrp x10, _SCI_UFI_HDR_SIZE@GOTPAGE
Lloh4:
ldr x10, [x10, _SCI_UFI_HDR_SIZE@GOTPAGEOFF]
Lloh5:
ldrsw x10, [x10]
add w12, w11, w8
add w13, w10, w12
str w12, [x0, #16]
add x11, x9, x11
add x12, x11, x10
str x11, [x0, #24]
str w13, [x0, #32]
str x12, [x0, #40]
str xzr, [x0, #56]
Lloh6:
adrp x12, _SCU_MAX_UNSOLICITED_FRAMES@GOTPAGE
Lloh7:
ldr x12, [x12, _SCU_MAX_UNSOLICITED_FRAMES@GOTPAGEOFF]
ldr w13, [x12]
cmp w13, #1
b.lt LBB0_3
; %bb.1:
mov x13, #0
ldr x14, [x0, #48]
add x14, x14, #16
Lloh8:
adrp x15, _UNSOLICITED_FRAME_EMPTY@GOTPAGE
Lloh9:
ldr x15, [x15, _UNSOLICITED_FRAME_EMPTY@GOTPAGEOFF]
Lloh10:
adrp x16, _SCU_UNSOLICITED_FRAME_BUFFER_SIZE@GOTPAGE
Lloh11:
ldr x16, [x16, _SCU_UNSOLICITED_FRAME_BUFFER_SIZE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
str w8, [x11, x10]
stp x11, x9, [x14, #-8]
ldr w17, [x15]
stur w17, [x14, #-16]
ldrsw x17, [x16]
add x9, x9, x17
add w8, w17, w8
add x13, x13, #1
ldrsw x17, [x12]
add x11, x11, #4
add x14, x14, #24
cmp x13, x17
b.lt LBB0_2
LBB0_3:
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _SCI_UFI_BUF_SIZE,4,2 ; @SCI_UFI_BUF_SIZE
.comm _SCI_UFI_HDR_SIZE,4,2 ; @SCI_UFI_HDR_SIZE
.comm _SCU_MAX_UNSOLICITED_FRAMES,4,2 ; @SCU_MAX_UNSOLICITED_FRAMES
.comm _UNSOLICITED_FRAME_EMPTY,4,2 ; @UNSOLICITED_FRAME_EMPTY
.comm _SCU_UNSOLICITED_FRAME_BUFFER_SIZE,4,2 ; @SCU_UNSOLICITED_FRAME_BUFFER_SIZE
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/isci/extr_unsolicited_frame_control.c_sci_unsolicited_frame_control_construct.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ahd_get_sense_bufsize
_ahd_get_sense_bufsize: ## @ahd_get_sense_bufsize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $4, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _ahd_get_sense_bufsize
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ahd_get_sense_bufsize
_ahd_get_sense_bufsize: ; @ahd_get_sense_bufsize
.cfi_startproc
; %bb.0:
mov w0, #4
ret
.cfi_endproc
; -- End function
.no_dead_strip _ahd_get_sense_bufsize
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/scsi/aic7xxx/extr_aic79xx_osm.h_ahd_get_sense_bufsize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mls ## -- Begin function mls
.p2align 4, 0x90
_mls: ## @mls
.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 %edi, -44(%rbp)
movq %rsi, -56(%rbp)
movl %edi, %eax
cmpl $1, %edi
jg LBB0_3
## %bb.1:
leaq L_.str(%rip), %rdx
leaq -44(%rbp), %rdi
leaq -56(%rbp), %rsi
callq _another
testl %eax, %eax
je LBB0_23
## %bb.2:
movl -44(%rbp), %eax
LBB0_3:
movl %eax, %ecx
cmpl $2, %eax
jg LBB0_6
## %bb.4:
leaq L_.str.1(%rip), %rdx
leaq -44(%rbp), %rdi
leaq -56(%rbp), %rsi
callq _another
testl %eax, %eax
je LBB0_23
## %bb.5:
movl -44(%rbp), %eax
LBB0_6:
movq -56(%rbp), %rcx
cltq
movq -8(%rcx,%rax,8), %rdx
movq %rdx, -64(%rbp)
movq $0, -8(%rcx,%rax,8)
movq -64(%rbp), %rbx
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_11
## %bb.7:
cmpb $124, (%rbx)
je LBB0_11
## %bb.8:
leaq -64(%rbp), %rdi
callq _globulize
testl %eax, %eax
je LBB0_10
## %bb.9:
movq -64(%rbp), %rsi
leaq L_.str.4(%rip), %rdi
callq _confirm
testq %rax, %rax
je LBB0_10
LBB0_11:
movq -56(%rbp), %rax
movq (%rax), %rax
cmpb $108, 1(%rax)
leaq L_.str.5(%rip), %rcx
leaq L_.str.6(%rip), %r14
cmoveq %rcx, %r14
movq _mname@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq _mflag@GOTPCREL(%rip), %rbx
movl $1, (%rbx)
movq _SIGINT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _mabort@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _signal
movl %eax, -68(%rbp) ## 4-byte Spill
movq _jabort@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _setjmp
movb $0, -45(%rbp)
cmpl $0, (%rbx)
je LBB0_21
## %bb.12:
cmpl $3, -44(%rbp)
jl LBB0_21
## %bb.13:
movl $2, %eax
movl $119, %r13d
movq _interactive@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq %rax, %r12
cmpq $2, %rax
movl $97, %eax
cmovel %r13d, %eax
## kill: def $al killed $al killed $eax
movb %al, -46(%rbp)
movq -64(%rbp), %rsi
movq -56(%rbp), %rax
movq -8(%rax,%r12,8), %rdx
movq %r14, %rdi
leaq -46(%rbp), %rcx
xorl %r8d, %r8d
movl $1, %r9d
callq _recvrequest
movl (%rbx), %eax
testl %eax, %eax
jne LBB0_19
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq _fromatty@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_19
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movl (%r15), %r13d
movl $1, (%r15)
movq -56(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.7(%rip), %rdi
callq _confirm
movl (%rbx), %ecx
testq %rax, %rax
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_14 Depth=1
incl %ecx
movl %ecx, (%rbx)
LBB0_18: ## in Loop: Header=BB0_14 Depth=1
movl %r13d, (%r15)
movl %ecx, %eax
movl $119, %r13d
movq _mflag@GOTPCREL(%rip), %rbx
LBB0_19: ## in Loop: Header=BB0_14 Depth=1
testl %eax, %eax
je LBB0_21
## %bb.20: ## in Loop: Header=BB0_14 Depth=1
movslq -44(%rbp), %rcx
decq %rcx
leaq 1(%r12), %rax
cmpq %rcx, %r12
jl LBB0_14
LBB0_21:
movq _SIGINT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl -68(%rbp), %esi ## 4-byte Reload
callq _signal
movl $0, (%rbx)
jmp LBB0_22
LBB0_23:
movq -56(%rbp), %rax
movq (%rax), %rsi
leaq L_.str.2(%rip), %rdi
callq _printf
LBB0_10:
movq _code@GOTPCREL(%rip), %rax
movl $-1, (%rax)
LBB0_22:
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 "remote-files"
L_.str.1: ## @.str.1
.asciz "local-file"
L_.str.2: ## @.str.2
.asciz "usage: %s remote-files local-file\n"
.comm _code,4,2 ## @code
L_.str.3: ## @.str.3
.asciz "-"
L_.str.4: ## @.str.4
.asciz "output to local-file:"
L_.str.5: ## @.str.5
.asciz "NLST"
L_.str.6: ## @.str.6
.asciz "LIST"
.comm _mname,8,3 ## @mname
.comm _mflag,4,2 ## @mflag
.comm _SIGINT,4,2 ## @SIGINT
.comm _mabort,4,2 ## @mabort
.comm _jabort,4,2 ## @jabort
.comm _fromatty,8,3 ## @fromatty
.comm _interactive,4,2 ## @interactive
L_.str.7: ## @.str.7
.asciz "Continue with"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mls ; -- Begin function mls
.p2align 2
_mls: ; @mls
.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
str w0, [sp, #44]
str x1, [sp, #32]
mov x8, x0
cmp w0, #2
b.ge LBB0_3
; %bb.1:
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
add x0, sp, #44
add x1, sp, #32
bl _another
cbz w0, LBB0_19
; %bb.2:
ldr w8, [sp, #44]
LBB0_3:
mov x9, x8
cmp w8, #2
b.gt LBB0_6
; %bb.4:
Lloh2:
adrp x2, l_.str.1@PAGE
Lloh3:
add x2, x2, l_.str.1@PAGEOFF
add x0, sp, #44
add x1, sp, #32
bl _another
cbz w0, LBB0_19
; %bb.5:
ldr w8, [sp, #44]
LBB0_6:
ldr x10, [sp, #32]
sub w8, w8, #1
; kill: def $w8 killed $w8 def $x8
sbfiz x8, x8, #3, #32
ldr x11, [x10, x8]
str x11, [sp, #16]
str xzr, [x10, x8]
ldr x19, [sp, #16]
Lloh4:
adrp x1, l_.str.3@PAGE
Lloh5:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _strcmp
cbz x0, LBB0_10
; %bb.7:
ldrb w8, [x19]
cmp w8, #124
b.eq LBB0_10
; %bb.8:
add x0, sp, #16
bl _globulize
cbz w0, LBB0_20
; %bb.9:
ldr x1, [sp, #16]
Lloh6:
adrp x0, l_.str.4@PAGE
Lloh7:
add x0, x0, l_.str.4@PAGEOFF
bl _confirm
cbz x0, LBB0_20
LBB0_10:
ldr x8, [sp, #32]
ldr x8, [x8]
Lloh8:
adrp x9, l_.str.6@PAGE
Lloh9:
add x9, x9, l_.str.6@PAGEOFF
ldrb w10, [x8, #1]
Lloh10:
adrp x11, l_.str.5@PAGE
Lloh11:
add x11, x11, l_.str.5@PAGEOFF
cmp w10, #108
Lloh12:
adrp x10, _mname@GOTPAGE
Lloh13:
ldr x10, [x10, _mname@GOTPAGEOFF]
csel x20, x11, x9, eq
Lloh14:
str x8, [x10]
Lloh15:
adrp x24, _mflag@GOTPAGE
Lloh16:
ldr x24, [x24, _mflag@GOTPAGEOFF]
mov w8, #1
str w8, [x24]
Lloh17:
adrp x8, _SIGINT@GOTPAGE
Lloh18:
ldr x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
Lloh20:
adrp x8, _mabort@GOTPAGE
Lloh21:
ldr x8, [x8, _mabort@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
bl _signal
str w0, [sp, #12] ; 4-byte Folded Spill
Lloh23:
adrp x8, _jabort@GOTPAGE
Lloh24:
ldr x8, [x8, _jabort@GOTPAGEOFF]
Lloh25:
ldr w0, [x8]
bl _setjmp
mov w8, #0
strb wzr, [sp, #31]
ldr w8, [x24]
cbz w8, LBB0_18
; %bb.11:
ldr w8, [sp, #44]
cmp w8, #3
b.lt LBB0_18
; %bb.12:
mov w21, #1
mov x19, x21
mov w26, #97
mov w27, #119
Lloh26:
adrp x28, _fromatty@GOTPAGE
Lloh27:
ldr x28, [x28, _fromatty@GOTPAGEOFF]
add x22, sp, #30
Lloh28:
adrp x25, _interactive@GOTPAGE
Lloh29:
ldr x25, [x25, _interactive@GOTPAGEOFF]
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_15 Depth=1
mov x0, x8
str w23, [x25]
LBB0_14: ; in Loop: Header=BB0_15 Depth=1
add x19, x19, #1
ldrsw x10, [sp, #44]
sub x10, x10, #1
cmp w8, #0
ccmp x19, x10, #0, ne
b.ge LBB0_18
LBB0_15: ; =>This Inner Loop Header: Depth=1
cmp x19, #1
csel w8, w27, w26, eq
strb w8, [sp, #30]
ldr x1, [sp, #16]
ldr x8, [sp, #32]
ldr x2, [x8, x19, lsl #3]
mov w4, #0
mov x0, x20
mov x3, x22
mov x5, x21
bl _recvrequest
ldr w8, [x24]
cmp w8, #0
ldr x9, [x28]
ccmp x9, #0, #4, eq
b.eq LBB0_14
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
ldr w23, [x25]
str w21, [x25]
ldr x8, [sp, #32]
ldr x1, [x8]
Lloh30:
adrp x0, l_.str.7@PAGE
Lloh31:
add x0, x0, l_.str.7@PAGEOFF
bl _confirm
ldr w8, [x24]
cbz x0, LBB0_13
; %bb.17: ; in Loop: Header=BB0_15 Depth=1
add w8, w8, #1
str w8, [x24]
b LBB0_13
LBB0_18:
Lloh32:
adrp x8, _SIGINT@GOTPAGE
Lloh33:
ldr x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh34:
ldr w0, [x8]
ldr w1, [sp, #12] ; 4-byte Folded Reload
bl _signal
mov w8, #0
str wzr, [x24]
b LBB0_21
LBB0_19:
ldr x8, [sp, #32]
ldr x1, [x8]
Lloh35:
adrp x0, l_.str.2@PAGE
Lloh36:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
LBB0_20:
Lloh37:
adrp x8, _code@GOTPAGE
Lloh38:
ldr x8, [x8, _code@GOTPAGEOFF]
mov w9, #-1
Lloh39:
str w9, [x8]
LBB0_21:
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 Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpLdrGotStr Lloh37, Lloh38, Lloh39
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "remote-files"
l_.str.1: ; @.str.1
.asciz "local-file"
l_.str.2: ; @.str.2
.asciz "usage: %s remote-files local-file\n"
.comm _code,4,2 ; @code
l_.str.3: ; @.str.3
.asciz "-"
l_.str.4: ; @.str.4
.asciz "output to local-file:"
l_.str.5: ; @.str.5
.asciz "NLST"
l_.str.6: ; @.str.6
.asciz "LIST"
.comm _mname,8,3 ; @mname
.comm _mflag,4,2 ; @mflag
.comm _SIGINT,4,2 ; @SIGINT
.comm _mabort,4,2 ; @mabort
.comm _jabort,4,2 ; @jabort
.comm _fromatty,8,3 ; @fromatty
.comm _interactive,4,2 ; @interactive
l_.str.7: ; @.str.7
.asciz "Continue with"
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/appl/ftp/ftp/extr_cmds.c_mls.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rtc_clk_cpu_freq_to_pll
_rtc_clk_cpu_freq_to_pll: ## @rtc_clk_cpu_freq_to_pll
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq _s_cur_pll@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _RTC_PLL_NONE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_9
## %bb.1:
movq _RTC_PLL_320M@GOTPCREL(%rip), %rdx
movq _RTC_CPU_FREQ_240M@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq (%rdx), %rax
jne LBB0_3
## %bb.2:
cmpq %rbx, %rcx
jne LBB0_3
LBB0_9:
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _rtc_clk_cpu_freq_set ## TAILCALL
LBB0_3:
movq _RTC_CPU_FREQ_80M@GOTPCREL(%rip), %rdx
xorl %r14d, %r14d
movl $80, %r12d
movq _DIG_DBIAS_80M_160M@GOTPCREL(%rip), %rax
cmpq %rbx, (%rdx)
je LBB0_7
## %bb.4:
movq _RTC_CPU_320M_80M@GOTPCREL(%rip), %rdx
cmpq %rbx, (%rdx)
je LBB0_7
## %bb.5:
movq _RTC_CPU_FREQ_160M@GOTPCREL(%rip), %rax
cmpq %rbx, (%rax)
sete %al
movq _RTC_CPU_320M_160M@GOTPCREL(%rip), %rdx
cmpq %rbx, (%rdx)
sete %dl
orb %al, %dl
movq _DIG_DBIAS_240M@GOTPCREL(%rip), %rax
movzbl %dl, %edx
movl $2, %r14d
subl %edx, %r14d
testb %dl, %dl
cmovneq _DIG_DBIAS_80M_160M@GOTPCREL(%rip), %rax
movl $160, %edx
movl $240, %r12d
cmovnel %edx, %r12d
jne LBB0_7
## %bb.6:
xorl %r15d, %r15d
cmpq %rbx, %rcx
jne LBB0_8
LBB0_7:
movq _RTC_CNTL_REG@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
movq _RTC_CNTL_DIG_DBIAS_WAK@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl (%rax), %edx
callq _REG_SET_FIELD
movq _DPORT_CPU_PER_CONF_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %r14d, %esi
callq _DPORT_REG_WRITE
movl %r12d, %r15d
LBB0_8:
movq _MHZ@GOTPCREL(%rip), %rax
movl (%rax), %eax
shll $4, %eax
leal (%rax,%rax,4), %edi
callq _rtc_clk_apb_freq_update
movl %r15d, %edi
callq _ets_update_cpu_frequency
movq _s_cur_freq@GOTPCREL(%rip), %rax
movq %rbx, (%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _s_cur_pll,8,3 ## @s_cur_pll
.comm _RTC_PLL_NONE,8,3 ## @RTC_PLL_NONE
.comm _RTC_PLL_320M,8,3 ## @RTC_PLL_320M
.comm _RTC_CPU_FREQ_240M,8,3 ## @RTC_CPU_FREQ_240M
.comm _RTC_CPU_FREQ_80M,8,3 ## @RTC_CPU_FREQ_80M
.comm _RTC_CPU_320M_80M,8,3 ## @RTC_CPU_320M_80M
.comm _RTC_CNTL_REG,4,2 ## @RTC_CNTL_REG
.comm _RTC_CNTL_DIG_DBIAS_WAK,4,2 ## @RTC_CNTL_DIG_DBIAS_WAK
.comm _DIG_DBIAS_80M_160M,4,2 ## @DIG_DBIAS_80M_160M
.comm _DPORT_CPU_PER_CONF_REG,4,2 ## @DPORT_CPU_PER_CONF_REG
.comm _RTC_CPU_FREQ_160M,8,3 ## @RTC_CPU_FREQ_160M
.comm _RTC_CPU_320M_160M,8,3 ## @RTC_CPU_320M_160M
.comm _DIG_DBIAS_240M,4,2 ## @DIG_DBIAS_240M
.comm _MHZ,4,2 ## @MHZ
.comm _s_cur_freq,8,3 ## @s_cur_freq
.no_dead_strip _rtc_clk_cpu_freq_to_pll
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rtc_clk_cpu_freq_to_pll
_rtc_clk_cpu_freq_to_pll: ; @rtc_clk_cpu_freq_to_pll
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
Lloh0:
adrp x8, _s_cur_pll@GOTPAGE
Lloh1:
ldr x8, [x8, _s_cur_pll@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _RTC_PLL_NONE@GOTPAGE
Lloh4:
ldr x9, [x9, _RTC_PLL_NONE@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_4
; %bb.1:
Lloh6:
adrp x9, _RTC_PLL_320M@GOTPAGE
Lloh7:
ldr x9, [x9, _RTC_PLL_320M@GOTPAGEOFF]
Lloh8:
ldr x10, [x9]
Lloh9:
adrp x9, _RTC_CPU_FREQ_240M@GOTPAGE
Lloh10:
ldr x9, [x9, _RTC_CPU_FREQ_240M@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x8, x10
ccmp x9, x19, #0, eq
b.eq LBB0_4
; %bb.2:
Lloh12:
adrp x8, _RTC_CPU_FREQ_80M@GOTPAGE
Lloh13:
ldr x8, [x8, _RTC_CPU_FREQ_80M@GOTPAGEOFF]
Lloh14:
adrp x10, _RTC_CPU_320M_80M@GOTPAGE
Lloh15:
ldr x10, [x10, _RTC_CPU_320M_80M@GOTPAGEOFF]
Lloh16:
ldr x11, [x8]
Lloh17:
ldr x10, [x10]
Lloh18:
adrp x8, _DIG_DBIAS_80M_160M@GOTPAGE
Lloh19:
ldr x8, [x8, _DIG_DBIAS_80M_160M@GOTPAGEOFF]
cmp x11, x19
ccmp x10, x19, #4, ne
b.ne LBB0_5
; %bb.3:
mov w21, #0
mov w20, #80
b LBB0_8
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
b _rtc_clk_cpu_freq_set
LBB0_5:
Lloh20:
adrp x10, _RTC_CPU_FREQ_160M@GOTPAGE
Lloh21:
ldr x10, [x10, _RTC_CPU_FREQ_160M@GOTPAGEOFF]
Lloh22:
ldr x10, [x10]
cmp x10, x19
Lloh23:
adrp x10, _RTC_CPU_320M_160M@GOTPAGE
Lloh24:
ldr x10, [x10, _RTC_CPU_320M_160M@GOTPAGEOFF]
Lloh25:
ldr x10, [x10]
ccmp x10, x19, #4, ne
Lloh26:
adrp x10, _DIG_DBIAS_240M@GOTPAGE
Lloh27:
ldr x10, [x10, _DIG_DBIAS_240M@GOTPAGEOFF]
csel x8, x8, x10, eq
mov w10, #1
cinc w21, w10, ne
mov w10, #240
mov w11, #160
csel w20, w11, w10, eq
b.eq LBB0_8
; %bb.6:
cmp x9, x19
b.eq LBB0_8
; %bb.7:
mov w20, #0
b LBB0_9
LBB0_8:
Lloh28:
adrp x9, _RTC_CNTL_REG@GOTPAGE
Lloh29:
ldr x9, [x9, _RTC_CNTL_REG@GOTPAGEOFF]
Lloh30:
ldr w0, [x9]
Lloh31:
adrp x9, _RTC_CNTL_DIG_DBIAS_WAK@GOTPAGE
Lloh32:
ldr x9, [x9, _RTC_CNTL_DIG_DBIAS_WAK@GOTPAGEOFF]
Lloh33:
ldr w1, [x9]
ldr w2, [x8]
bl _REG_SET_FIELD
Lloh34:
adrp x8, _DPORT_CPU_PER_CONF_REG@GOTPAGE
Lloh35:
ldr x8, [x8, _DPORT_CPU_PER_CONF_REG@GOTPAGEOFF]
Lloh36:
ldr w0, [x8]
mov x1, x21
bl _DPORT_REG_WRITE
LBB0_9:
Lloh37:
adrp x8, _MHZ@GOTPAGE
Lloh38:
ldr x8, [x8, _MHZ@GOTPAGEOFF]
Lloh39:
ldr w8, [x8]
add w8, w8, w8, lsl #2
lsl w0, w8, #4
bl _rtc_clk_apb_freq_update
mov x0, x20
bl _ets_update_cpu_frequency
Lloh40:
adrp x8, _s_cur_freq@GOTPAGE
Lloh41:
ldr x8, [x8, _s_cur_freq@GOTPAGEOFF]
Lloh42:
str x19, [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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh16
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGotStr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.cfi_endproc
; -- End function
.comm _s_cur_pll,8,3 ; @s_cur_pll
.comm _RTC_PLL_NONE,8,3 ; @RTC_PLL_NONE
.comm _RTC_PLL_320M,8,3 ; @RTC_PLL_320M
.comm _RTC_CPU_FREQ_240M,8,3 ; @RTC_CPU_FREQ_240M
.comm _RTC_CPU_FREQ_80M,8,3 ; @RTC_CPU_FREQ_80M
.comm _RTC_CPU_320M_80M,8,3 ; @RTC_CPU_320M_80M
.comm _RTC_CNTL_REG,4,2 ; @RTC_CNTL_REG
.comm _RTC_CNTL_DIG_DBIAS_WAK,4,2 ; @RTC_CNTL_DIG_DBIAS_WAK
.comm _DIG_DBIAS_80M_160M,4,2 ; @DIG_DBIAS_80M_160M
.comm _DPORT_CPU_PER_CONF_REG,4,2 ; @DPORT_CPU_PER_CONF_REG
.comm _RTC_CPU_FREQ_160M,8,3 ; @RTC_CPU_FREQ_160M
.comm _RTC_CPU_320M_160M,8,3 ; @RTC_CPU_320M_160M
.comm _DIG_DBIAS_240M,4,2 ; @DIG_DBIAS_240M
.comm _MHZ,4,2 ; @MHZ
.comm _s_cur_freq,8,3 ; @s_cur_freq
.no_dead_strip _rtc_clk_cpu_freq_to_pll
.subsections_via_symbols
| AnghaBench/esp-idf/components/soc/esp32s2beta/extr_rtc_clk.c_rtc_clk_cpu_freq_to_pll.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x44fa0000 ## float 2000
LCPI0_1:
.long 0xc4fa0000 ## float -2000
LCPI0_3:
.long 0x453b8000 ## float 3000
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_2:
.quad 0x3fb47ae147ae147b ## double 0.080000000000000002
.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
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss LCPI0_0(%rip), %xmm0
jbe LBB0_2
## %bb.1:
addss LCPI0_1(%rip), %xmm0
cvtss2sd %xmm0, %xmm1
mulsd LCPI0_2(%rip), %xmm1
cvtsd2ss %xmm1, %xmm1
movaps %xmm0, %xmm2
cmpless LCPI0_3(%rip), %xmm2
movaps %xmm2, %xmm3
andnps %xmm0, %xmm3
andps %xmm1, %xmm2
orps %xmm3, %xmm2
xorps %xmm1, %xmm1
cmpltss %xmm0, %xmm1
andps %xmm1, %xmm2
andnps %xmm0, %xmm1
orps %xmm2, %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
LBB0_2:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "%.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub x8, x29, #4
str x8, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur s0, [x29, #-4]
mov w8, #1157234688
fmov s1, w8
fcmp s0, s1
b.le LBB0_2
; %bb.1:
mov w8, #-990248960
fmov s1, w8
fadd s0, s0, s1
mov w8, #32768
movk w8, #17723, lsl #16
fmov s1, w8
fcmp s0, s1
movi d1, #0000000000000000
fccmp s0, s1, #4, ls
fcvt d1, s0
mov x8, #5243
movk x8, #18350, lsl #16
movk x8, #31457, lsl #32
movk x8, #16308, lsl #48
fmov d2, x8
fmul d1, d1, d2
fcvt s1, d1
fcsel s0, s1, s0, gt
fcvt d0, s0
str d0, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f"
l_.str.1: ; @.str.1
.asciz "%.2f"
.subsections_via_symbols
| the_stack_data/31388868.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/178266572.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _min ## -- Begin function min
.p2align 4, 0x90
_min: ## @min
.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, %eax
cmpl %esi, %edi
cmovll %edi, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _build ## -- Begin function build
.p2align 4, 0x90
_build: ## @build
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r8d, %r14d
## kill: def $edx killed $edx def $rdx
movq %rsi, %r13
movq %rdi, %r12
cmpl %ecx, %edx
jne LBB1_3
## %bb.1:
movslq %edx, %rax
movl (%r12,%rax,4), %eax
jmp LBB1_2
LBB1_3:
movl %ecx, %r15d
leal (%r15,%rdx), %eax
movl %eax, %ebx
shrl $31, %ebx
addl %eax, %ebx
sarl %ebx
leal (%r14,%r14), %r8d
movl %r8d, -44(%rbp) ## 4-byte Spill
movq %r12, %rdi
movq %r13, %rsi
## kill: def $edx killed $edx killed $rdx
movl %ebx, %ecx
callq _build
incl %ebx
movq %r14, -56(%rbp) ## 8-byte Spill
movq -56(%rbp), %rax ## 8-byte Reload
leal (%rax,%rax), %r14d
incl %r14d
movq %r12, %rdi
movq %r13, %rsi
movl %ebx, %edx
movl %r15d, %ecx
movl %r14d, %r8d
callq _build
movslq -44(%rbp), %rax ## 4-byte Folded Reload
movl (%r13,%rax,4), %ecx
movslq %r14d, %rax
movq -56(%rbp), %r14 ## 8-byte Reload
movl (%r13,%rax,4), %eax
cmpl %eax, %ecx
cmovll %ecx, %eax
LBB1_2:
movslq %r14d, %rcx
movl %eax, (%r13,%rcx,4)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _query ## -- Begin function query
.p2align 4, 0x90
_query: ## @query
.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
## kill: def $r9d killed $r9d def $r9
## kill: def $esi killed $esi def $rsi
movl $2147483647, %eax ## imm = 0x7FFFFFFF
cmpl %ecx, %edx
jl LBB2_5
## %bb.1:
movl %r8d, %r14d
cmpl %r8d, %esi
jg LBB2_5
## %bb.2:
movl %ecx, %ebx
movl %edx, %r12d
movq %rdi, %r13
cmpl %ecx, %esi
jl LBB2_6
## %bb.3:
cmpl %r14d, %r12d
jg LBB2_6
## %bb.4:
movslq %r9d, %rax
movl (%r13,%rax,4), %eax
jmp LBB2_5
LBB2_6:
leal (%r12,%rsi), %eax
movl %eax, %r15d
shrl $31, %r15d
addl %eax, %r15d
sarl %r15d
movq %r9, -56(%rbp) ## 8-byte Spill
addl %r9d, %r9d
movq %r13, %rdi
## kill: def $esi killed $esi killed $rsi
movl %r15d, %edx
movl %ebx, %ecx
movl %r14d, %r8d
callq _query
movl %eax, -44(%rbp) ## 4-byte Spill
incl %r15d
movq -56(%rbp), %rax ## 8-byte Reload
leal (%rax,%rax), %r9d
incl %r9d
movq %r13, %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %ebx, %ecx
movl %r14d, %r8d
callq _query
movl -44(%rbp), %ecx ## 4-byte Reload
cmpl %eax, %ecx
cmovll %ecx, %eax
LBB2_5:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -52(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movq %rsp, %r12
movl -52(%rbp), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movl $4, %edi
callq _malloc
movq %rax, %r14
leaq L_str(%rip), %rdi
callq _puts
movl -52(%rbp), %ecx
testl %ecx, %ecx
jle LBB3_4
## %bb.1:
movq %r12, -72(%rbp) ## 8-byte Spill
leaq L_.str.1(%rip), %r12
movq %r15, %rbx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB3_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
incq %r13
movslq -52(%rbp), %rcx
addq $4, %rbx
cmpq %rcx, %r13
jl LBB3_2
## %bb.3:
movq -72(%rbp), %r12 ## 8-byte Reload
LBB3_4:
decl %ecx
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
## kill: def $ecx killed $ecx killed $rcx
movl $1, %r8d
callq _build
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -60(%rbp), %rsi
leaq -56(%rbp), %rdx
xorl %eax, %eax
callq _scanf
movl -52(%rbp), %edx
decl %edx
movl -60(%rbp), %r15d
leal -1(%r15), %ecx
movl -56(%rbp), %ebx
leal -1(%rbx), %r8d
movq %r14, %rdi
xorl %esi, %esi
movl $1, %r9d
callq _query
leaq L_.str.5(%rip), %rdi
movl %r15d, %esi
movl %ebx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq _printf
movq %r12, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB3_6
## %bb.5:
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the size of the array: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "Enter the range of the query: "
L_.str.4: ## @.str.4
.asciz "%d %d"
L_.str.5: ## @.str.5
.asciz "Minimum value in index range %d to %d is: %d\n"
L_str: ## @str
.asciz "Enter the elements."
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _min ; -- Begin function min
.p2align 2
_min: ; @min
.cfi_startproc
; %bb.0:
cmp w0, w1
csel w0, w0, w1, lt
ret
.cfi_endproc
; -- End function
.globl _build ; -- Begin function build
.p2align 2
_build: ; @build
.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, x4
mov x20, x1
mov x22, x0
cmp w2, w3
b.ne LBB1_2
; %bb.1:
ldr w8, [x22, w2, sxtw #2]
b LBB1_3
LBB1_2:
mov x21, x3
add w8, w3, w2
cmp w8, #0
cinc w8, w8, lt
asr w23, w8, #1
lsl w4, w19, #1
mov x0, x22
mov x1, x20
mov x3, x23
bl _build
add w2, w23, #1
mov w23, #1
bfi w23, w19, #1, #31
mov x0, x22
mov x1, x20
mov x3, x21
mov x4, x23
bl _build
sbfiz x8, x19, #3, #32
ldr w8, [x20, x8]
ldr w9, [x20, w23, sxtw #2]
cmp w8, w9
csel w8, w8, w9, lt
LBB1_3:
str w8, [x20, w19, sxtw #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
.cfi_endproc
; -- End function
.globl _query ; -- Begin function query
.p2align 2
_query: ; @query
.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 x23, x0
mov w0, #2147483647
cmp w2, w3
b.lt LBB2_6
; %bb.1:
mov x19, x4
cmp w1, w4
b.gt LBB2_6
; %bb.2:
mov x21, x5
mov x20, x3
mov x22, x2
cmp w1, w3
b.lt LBB2_5
; %bb.3:
cmp w22, w19
b.gt LBB2_5
; %bb.4:
ldr w0, [x23, w21, sxtw #2]
b LBB2_6
LBB2_5:
add w8, w22, w1
cmp w8, #0
cinc w8, w8, lt
asr w24, w8, #1
lsl w5, w21, #1
mov x0, x23
mov x2, x24
mov x3, x20
mov x4, x19
bl _query
mov x25, x0
add w1, w24, #1
mov w5, #1
bfi w5, w21, #1, #31
mov x0, x23
mov x2, x22
mov x3, x20
mov x4, x19
bl _query
cmp w25, w0
csel w0, w25, w0, lt
LBB2_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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
sub sp, sp, #32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-56]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _printf
sub x8, x29, #60
str x8, [sp, #-16]!
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
mov x22, sp
ldur w8, [x29, #-60]
lsl x8, x8, #2
mov x9, x8
Lloh7:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh8:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
mov w0, #4
bl _malloc
mov x19, x0
Lloh9:
adrp x0, l_str@PAGE
Lloh10:
add x0, x0, l_str@PAGEOFF
bl _puts
ldur w8, [x29, #-60]
cmp w8, #1
b.lt LBB3_3
; %bb.1:
mov x23, #0
Lloh11:
adrp x21, l_.str.1@PAGE
Lloh12:
add x21, x21, l_.str.1@PAGEOFF
mov x24, x20
LBB3_2: ; =>This Inner Loop Header: Depth=1
str x24, [sp, #-16]!
mov x0, x21
bl _scanf
add sp, sp, #16
add x23, x23, #1
ldursw x8, [x29, #-60]
add x24, x24, #4
cmp x23, x8
b.lt LBB3_2
LBB3_3:
sub w3, w8, #1
mov x0, x20
mov x1, x19
mov w2, #0
mov w4, #1
bl _build
Lloh13:
adrp x0, l_.str.3@PAGE
Lloh14:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
sub x8, x29, #68
sub x9, x29, #64
stp x9, x8, [sp, #-16]!
Lloh15:
adrp x0, l_.str.4@PAGE
Lloh16:
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
add sp, sp, #16
ldp w20, w8, [x29, #-64]
sub w2, w8, #1
sub w3, w20, #1
ldur w21, [x29, #-68]
sub w4, w21, #1
mov x0, x19
mov w1, #0
mov w5, #1
bl _query
; kill: def $w0 killed $w0 def $x0
sub sp, sp, #32
stp x21, x0, [sp, #8]
str x20, [sp]
Lloh17:
adrp x0, l_.str.5@PAGE
Lloh18:
add x0, x0, l_.str.5@PAGEOFF
bl _printf
add sp, sp, #32
mov sp, x22
ldur x8, [x29, #-56]
Lloh19:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh20:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_5
; %bb.4:
mov w0, #0
sub sp, x29, #48
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
LBB3_5:
bl ___stack_chk_fail
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the size of the array: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "Enter the range of the query: "
l_.str.4: ; @.str.4
.asciz "%d %d"
l_.str.5: ; @.str.5
.asciz "Minimum value in index range %d to %d is: %d\n"
l_str: ; @str
.asciz "Enter the elements."
.subsections_via_symbols
| the_stack_data/920737.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _agp_generic_unbind_memory ## -- Begin function agp_generic_unbind_memory
.p2align 4, 0x90
_agp_generic_unbind_memory: ## @agp_generic_unbind_memory
.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, %r12
movl %edi, %r15d
callq _device_get_softc
movq %rax, %rbx
movq %rax, %rdi
callq _mtx_lock
cmpq $0, 8(%r12)
je LBB0_9
## %bb.1:
movq %rbx, -56(%rbp) ## 8-byte Spill
cmpl $0, (%r12)
jle LBB0_4
## %bb.2:
xorl %ebx, %ebx
movq _AGP_PAGE_SIZE@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movslq %ebx, %rbx
movq 16(%r12), %rsi
addq %rbx, %rsi
movl %r15d, %edi
callq _AGP_UNBIND_PAGE
addl (%r14), %ebx
cmpl (%r12), %ebx
jl LBB0_3
LBB0_4:
leaq 8(%r12), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movl %r15d, %edi
callq _AGP_FLUSH_TLB
movl 24(%r12), %edi
callq _VM_OBJECT_WLOCK
cmpl $0, (%r12)
jle LBB0_7
## %bb.5:
xorl %ebx, %ebx
movq _PQ_INACTIVE@GOTPCREL(%rip), %r13
movq _PAGE_SIZE@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl 24(%r12), %r15d
movl %ebx, %edi
callq _atop
movl %r15d, %edi
movl %eax, %esi
callq _vm_page_lookup
movl (%r13), %esi
movl %eax, %edi
callq _vm_page_unwire
addl (%r14), %ebx
cmpl (%r12), %ebx
jl LBB0_6
LBB0_7:
movl 24(%r12), %edi
callq _VM_OBJECT_WUNLOCK
xorps %xmm0, %xmm0
movq -48(%rbp), %rax ## 8-byte Reload
movups %xmm0, (%rax)
movq -56(%rbp), %rdi ## 8-byte Reload
callq _mtx_unlock
xorl %eax, %eax
jmp LBB0_8
LBB0_9:
leaq L_.str(%rip), %rsi
movl %r15d, %edi
callq _device_printf
movq %rbx, %rdi
callq _mtx_unlock
movq _EINVAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_8:
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 "memory is not bound\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _AGP_PAGE_SIZE,8,3 ## @AGP_PAGE_SIZE
.comm _PQ_INACTIVE,4,2 ## @PQ_INACTIVE
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _agp_generic_unbind_memory ; -- Begin function agp_generic_unbind_memory
.p2align 2
_agp_generic_unbind_memory: ; @agp_generic_unbind_memory
.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 x20, x1
mov x21, x0
bl _device_get_softc
mov x19, x0
bl _mtx_lock
mov x23, x20
ldr x8, [x23, #8]!
cbz x8, LBB0_8
; %bb.1:
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_4
; %bb.2:
mov w22, #0
Lloh0:
adrp x24, _AGP_PAGE_SIZE@GOTPAGE
Lloh1:
ldr x24, [x24, _AGP_PAGE_SIZE@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #16]
add x1, x8, w22, sxtw
mov x0, x21
bl _AGP_UNBIND_PAGE
ldr w8, [x24]
ldr w9, [x20]
add w22, w22, w8
cmp w22, w9
b.lt LBB0_3
LBB0_4:
mov x0, x21
bl _AGP_FLUSH_TLB
ldr w0, [x20, #24]
bl _VM_OBJECT_WLOCK
ldr w8, [x20]
cmp w8, #1
b.lt LBB0_7
; %bb.5:
mov w21, #0
Lloh2:
adrp x24, _PQ_INACTIVE@GOTPAGE
Lloh3:
ldr x24, [x24, _PQ_INACTIVE@GOTPAGEOFF]
Lloh4:
adrp x25, _PAGE_SIZE@GOTPAGE
Lloh5:
ldr x25, [x25, _PAGE_SIZE@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w22, [x20, #24]
mov x0, x21
bl _atop
mov x1, x0
mov x0, x22
bl _vm_page_lookup
ldr w1, [x24]
bl _vm_page_unwire
ldr w8, [x25]
ldr w9, [x20]
add w21, w21, w8
cmp w21, w9
b.lt LBB0_6
LBB0_7:
ldr w0, [x20, #24]
bl _VM_OBJECT_WUNLOCK
stp xzr, xzr, [x23]
mov x0, x19
bl _mtx_unlock
mov w0, #0
b LBB0_9
LBB0_8:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _device_printf
mov x0, x19
bl _mtx_unlock
Lloh8:
adrp x8, _EINVAL@GOTPAGE
Lloh9:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
ldr w0, [x8]
LBB0_9:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "memory is not bound\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _AGP_PAGE_SIZE,8,3 ; @AGP_PAGE_SIZE
.comm _PQ_INACTIVE,4,2 ; @PQ_INACTIVE
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/agp/extr_agp.c_agp_generic_unbind_memory.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _layer_state_set_user ## -- Begin function layer_state_set_user
.p2align 4, 0x90
_layer_state_set_user: ## @layer_state_set_user
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq __LOWER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq __RAISE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq __ADJUST@GOTPCREL(%rip), %rax
movl (%rax), %ecx
popq %rbp
jmp _update_tri_layer_state ## TAILCALL
.cfi_endproc
## -- End function
.comm __LOWER,4,2 ## @_LOWER
.comm __RAISE,4,2 ## @_RAISE
.comm __ADJUST,4,2 ## @_ADJUST
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _layer_state_set_user ; -- Begin function layer_state_set_user
.p2align 2
_layer_state_set_user: ; @layer_state_set_user
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, __LOWER@GOTPAGE
Lloh1:
ldr x8, [x8, __LOWER@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x8, __RAISE@GOTPAGE
Lloh4:
ldr x8, [x8, __RAISE@GOTPAGEOFF]
Lloh5:
adrp x9, __ADJUST@GOTPAGE
Lloh6:
ldr x9, [x9, __ADJUST@GOTPAGEOFF]
Lloh7:
ldr w2, [x8]
Lloh8:
ldr w3, [x9]
b _update_tri_layer_state
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm __LOWER,4,2 ; @_LOWER
.comm __RAISE,4,2 ; @_RAISE
.comm __ADJUST,4,2 ; @_ADJUST
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/planck/keymaps/dsanchezseco/extr_keymap.c_layer_state_set_user.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function moveToChild
_moveToChild: ## @moveToChild
.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, %r14d
movq %rdi, %rbx
movq 56(%rdi), %r15
callq _cursorOwnsBtShared
movl %eax, %edi
callq _assert
movq (%rbx), %rax
movq _CURSOR_VALID@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
callq _assert
movl 8(%rbx), %eax
movq _BTCURSOR_MAX_DEPTH@GOTPCREL(%rip), %r12
xorl %edi, %edi
cmpl (%r12), %eax
setl %dil
callq _assert
movl 8(%rbx), %edi
notl %edi
shrl $31, %edi
callq _assert
movslq 8(%rbx), %rax
movl (%r12), %ecx
decl %ecx
cmpl %ecx, %eax
jge LBB0_1
## %bb.2:
movq $0, 48(%rbx)
movq _BTCF_ValidNKey@GOTPCREL(%rip), %rcx
movq _BTCF_ValidOvfl@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
notl %edx
andl %edx, 12(%rbx)
movq 24(%rbx), %rcx
movq 40(%rbx), %rdx
movq %rcx, (%rdx,%rax,8)
leaq 20(%rbx), %rdx
movl 20(%rbx), %ecx
movq 32(%rbx), %rsi
movl %ecx, (%rsi,%rax,4)
movq $0, 24(%rbx)
incl 8(%rbx)
movl 16(%rbx), %r8d
movq %r15, %rdi
movl %r14d, %esi
movq %rbx, %rcx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _getAndInitPage ## TAILCALL
LBB0_1:
movq _SQLITE_CORRUPT_BKPT@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CURSOR_VALID,8,3 ## @CURSOR_VALID
.comm _BTCURSOR_MAX_DEPTH,4,2 ## @BTCURSOR_MAX_DEPTH
.comm _SQLITE_CORRUPT_BKPT,4,2 ## @SQLITE_CORRUPT_BKPT
.comm _BTCF_ValidNKey,4,2 ## @BTCF_ValidNKey
.comm _BTCF_ValidOvfl,4,2 ## @BTCF_ValidOvfl
.no_dead_strip _moveToChild
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function moveToChild
_moveToChild: ; @moveToChild
.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 x21, [x0, #56]
bl _cursorOwnsBtShared
bl _assert
ldr x8, [x19]
Lloh0:
adrp x9, _CURSOR_VALID@GOTPAGE
Lloh1:
ldr x9, [x9, _CURSOR_VALID@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
cset w0, eq
bl _assert
ldr w8, [x19, #8]
Lloh3:
adrp x22, _BTCURSOR_MAX_DEPTH@GOTPAGE
Lloh4:
ldr x22, [x22, _BTCURSOR_MAX_DEPTH@GOTPAGEOFF]
ldr w9, [x22]
cmp w8, w9
cset w0, lt
bl _assert
ldr w8, [x19, #8]
mvn w8, w8
lsr w0, w8, #31
bl _assert
ldrsw x8, [x19, #8]
ldr w9, [x22]
sub w9, w9, #1
cmp w8, w9
b.ge LBB0_2
; %bb.1:
str xzr, [x19, #48]
Lloh5:
adrp x9, _BTCF_ValidNKey@GOTPAGE
Lloh6:
ldr x9, [x9, _BTCF_ValidNKey@GOTPAGEOFF]
Lloh7:
ldr w9, [x9]
Lloh8:
adrp x10, _BTCF_ValidOvfl@GOTPAGE
Lloh9:
ldr x10, [x10, _BTCF_ValidOvfl@GOTPAGEOFF]
Lloh10:
ldr w10, [x10]
orr w9, w10, w9
ldr w10, [x19, #12]
bic w9, w10, w9
str w9, [x19, #12]
ldp x11, x9, [x19, #32]
ldr x10, [x19, #24]
str x10, [x9, x8, lsl #3]
mov x2, x19
ldr w9, [x2, #20]!
str w9, [x11, x8, lsl #2]
str xzr, [x19, #24]
ldr w8, [x19, #8]
add w8, w8, #1
str w8, [x19, #8]
ldr w4, [x19, #16]
mov x0, x21
mov x1, x20
mov x3, 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 _getAndInitPage
LBB0_2:
Lloh11:
adrp x8, _SQLITE_CORRUPT_BKPT@GOTPAGE
Lloh12:
ldr x8, [x8, _SQLITE_CORRUPT_BKPT@GOTPAGEOFF]
Lloh13:
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 AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _CURSOR_VALID,8,3 ; @CURSOR_VALID
.comm _BTCURSOR_MAX_DEPTH,4,2 ; @BTCURSOR_MAX_DEPTH
.comm _SQLITE_CORRUPT_BKPT,4,2 ; @SQLITE_CORRUPT_BKPT
.comm _BTCF_ValidNKey,4,2 ; @BTCF_ValidNKey
.comm _BTCF_ValidOvfl,4,2 ; @BTCF_ValidOvfl
.no_dead_strip _moveToChild
.subsections_via_symbols
| AnghaBench/wcdb/android/sqlcipher/extr_sqlite3.c_moveToChild.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function unmap_pte_fn
_unmap_pte_fn: ## @unmap_pte_fn
.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 %rdx, %rbx
movq %rdi, %r14
xorl %edi, %edi
callq ___pte
movq _init_mm@GOTPCREL(%rip), %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl %eax, %ecx
callq _set_pte_at
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _init_mm,4,2 ## @init_mm
.no_dead_strip _unmap_pte_fn
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function unmap_pte_fn
_unmap_pte_fn: ; @unmap_pte_fn
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x0
mov w0, #0
bl ___pte
mov x3, x0
Lloh0:
adrp x0, _init_mm@GOTPAGE
Lloh1:
ldr x0, [x0, _init_mm@GOTPAGEOFF]
mov x1, x19
mov x2, x20
bl _set_pte_at
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _init_mm,4,2 ; @init_mm
.no_dead_strip _unmap_pte_fn
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/x86/xen/extr_grant-table.c_unmap_pte_fn.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function radeon_mem_type_to_domain
_radeon_mem_type_to_domain: ## @radeon_mem_type_to_domain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $130, %edi
je LBB0_5
## %bb.1:
cmpl $129, %edi
je LBB0_4
## %bb.2:
xorl %eax, %eax
cmpl $128, %edi
jne LBB0_7
## %bb.3:
movq _RADEON_GEM_DOMAIN_VRAM@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _RADEON_GEM_DOMAIN_CPU@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_4:
movq _RADEON_GEM_DOMAIN_GTT@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _RADEON_GEM_DOMAIN_VRAM,4,2 ## @RADEON_GEM_DOMAIN_VRAM
.comm _RADEON_GEM_DOMAIN_GTT,4,2 ## @RADEON_GEM_DOMAIN_GTT
.comm _RADEON_GEM_DOMAIN_CPU,4,2 ## @RADEON_GEM_DOMAIN_CPU
.no_dead_strip _radeon_mem_type_to_domain
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function radeon_mem_type_to_domain
_radeon_mem_type_to_domain: ; @radeon_mem_type_to_domain
.cfi_startproc
; %bb.0:
cmp w0, #130
b.eq LBB0_4
; %bb.1:
cmp w0, #129
b.eq LBB0_5
; %bb.2:
cmp w0, #128
b.ne LBB0_6
; %bb.3:
Lloh0:
adrp x8, _RADEON_GEM_DOMAIN_VRAM@GOTPAGE
Lloh1:
ldr x8, [x8, _RADEON_GEM_DOMAIN_VRAM@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
LBB0_4:
Lloh3:
adrp x8, _RADEON_GEM_DOMAIN_CPU@GOTPAGE
Lloh4:
ldr x8, [x8, _RADEON_GEM_DOMAIN_CPU@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
LBB0_5:
Lloh6:
adrp x8, _RADEON_GEM_DOMAIN_GTT@GOTPAGE
Lloh7:
ldr x8, [x8, _RADEON_GEM_DOMAIN_GTT@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
ret
LBB0_6:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _RADEON_GEM_DOMAIN_VRAM,4,2 ; @RADEON_GEM_DOMAIN_VRAM
.comm _RADEON_GEM_DOMAIN_GTT,4,2 ; @RADEON_GEM_DOMAIN_GTT
.comm _RADEON_GEM_DOMAIN_CPU,4,2 ; @RADEON_GEM_DOMAIN_CPU
.no_dead_strip _radeon_mem_type_to_domain
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/gpu/drm/radeon/extr_radeon_object.h_radeon_mem_type_to_domain.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function cpc925_cpu_exit
_cpc925_cpu_exit: ## @cpc925_cpu_exit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _cpc925_cpu_exit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function cpc925_cpu_exit
_cpc925_cpu_exit: ; @cpc925_cpu_exit
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _cpc925_cpu_exit
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/drivers/edac/extr_cpc925_edac.c_cpc925_cpu_exit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nfp_net_tx_tso
_nfp_net_tx_tso: ## @nfp_net_tx_tso
.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 %r8d, %r15d
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq %rcx, %rdi
callq _skb_is_gso
testl %eax, %eax
je LBB0_5
## %bb.1:
movq %r13, -72(%rbp) ## 8-byte Spill
movl %r15d, -60(%rbp) ## 4-byte Spill
cmpl $0, 4(%rbx)
je LBB0_2
## %bb.3:
movq %rbx, %rdi
callq _skb_inner_network_offset
movl %eax, -44(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _skb_inner_transport_offset
movl %eax, %r13d
movq %rbx, %rdi
callq _skb_inner_transport_header
movq %r14, -56(%rbp) ## 8-byte Spill
movl %eax, %r14d
subl (%rbx), %r14d
movq %rbx, %rdi
callq _inner_tcp_hdrlen
movl %eax, %r15d
addl %r14d, %r15d
movq -56(%rbp), %r14 ## 8-byte Reload
jmp LBB0_4
LBB0_5:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq %rbx, %rdi
callq _skb_network_offset
movl %eax, -44(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _skb_transport_offset
movl %eax, %r13d
movq %rbx, %rdi
callq _skb_transport_offset
movl %eax, -56(%rbp) ## 4-byte Spill
movq %rbx, %rdi
callq _tcp_hdrlen
movl %eax, %r15d
addl -56(%rbp), %r15d ## 4-byte Folded Reload
LBB0_4:
movq %rbx, %rdi
callq _skb_shinfo
movl (%rax), %eax
movq -72(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
decl %eax
imull %r15d, %eax
addl %eax, 4(%rcx)
movq %rbx, %rdi
callq _skb_shinfo
movq _PCIE_DESC_TX_MSS_MASK@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
andl 4(%rax), %edi
movl -60(%rbp), %eax ## 4-byte Reload
movl -44(%rbp), %ecx ## 4-byte Reload
subl %eax, %ecx
movl %ecx, (%r12)
subl %eax, %r13d
movl %r13d, 4(%r12)
subl %eax, %r15d
movl %r15d, 8(%r12)
callq _cpu_to_le16
movl %eax, 16(%r12)
movq _PCIE_DESC_TX_LSO@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 12(%r12)
movq %r14, %rdi
callq _u64_stats_update_begin
incl 4(%r14)
movq %r14, %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _u64_stats_update_end ## TAILCALL
.cfi_endproc
## -- End function
.comm _PCIE_DESC_TX_MSS_MASK,4,2 ## @PCIE_DESC_TX_MSS_MASK
.comm _PCIE_DESC_TX_LSO,4,2 ## @PCIE_DESC_TX_LSO
.no_dead_strip _nfp_net_tx_tso
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nfp_net_tx_tso
_nfp_net_tx_tso: ; @nfp_net_tx_tso
.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, x4
mov x22, x3
mov x20, x2
mov x23, x1
mov x19, x0
mov x0, x3
bl _skb_is_gso
cbz w0, LBB0_3
; %bb.1:
ldr w8, [x22, #4]
cbz w8, LBB0_4
; %bb.2:
mov x0, x22
bl _skb_inner_network_offset
mov x24, x0
mov x0, x22
bl _skb_inner_transport_offset
mov x25, x0
mov x0, x22
bl _skb_inner_transport_header
ldr w8, [x22]
sub w26, w0, w8
mov x0, x22
bl _inner_tcp_hdrlen
add w26, w26, w0
b LBB0_5
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_4:
mov x0, x22
bl _skb_network_offset
mov x24, x0
mov x0, x22
bl _skb_transport_offset
mov x25, x0
mov x0, x22
bl _skb_transport_offset
mov x26, x0
mov x0, x22
bl _tcp_hdrlen
add w26, w0, w26
LBB0_5:
mov x0, x22
bl _skb_shinfo
ldr w8, [x0]
sub w9, w8, #1
ldr w10, [x23, #4]
madd w9, w9, w26, w10
stp w8, w9, [x23]
mov x0, x22
bl _skb_shinfo
ldr w8, [x0, #4]
Lloh0:
adrp x9, _PCIE_DESC_TX_MSS_MASK@GOTPAGE
Lloh1:
ldr x9, [x9, _PCIE_DESC_TX_MSS_MASK@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
and w0, w9, w8
sub w8, w24, w21
sub w9, w25, w21
stp w8, w9, [x20]
sub w8, w26, w21
str w8, [x20, #8]
bl _cpu_to_le16
Lloh3:
adrp x8, _PCIE_DESC_TX_LSO@GOTPAGE
Lloh4:
ldr x8, [x8, _PCIE_DESC_TX_LSO@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x20, #12]
orr w8, w9, w8
stp w8, w0, [x20, #12]
mov x0, x19
bl _u64_stats_update_begin
ldr w8, [x19, #4]
add w8, w8, #1
str w8, [x19, #4]
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _u64_stats_update_end
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PCIE_DESC_TX_MSS_MASK,4,2 ; @PCIE_DESC_TX_MSS_MASK
.comm _PCIE_DESC_TX_LSO,4,2 ; @PCIE_DESC_TX_LSO
.no_dead_strip _nfp_net_tx_tso
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/netronome/nfp/extr_nfp_net_common.c_nfp_net_tx_tso.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _kstrdup_quotable ## -- Begin function kstrdup_quotable
.p2align 4, 0x90
_kstrdup_quotable: ## @kstrdup_quotable
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _ESCAPE_HEX@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movabsq $6636906219838441996, %rax ## imm = 0x5C1B070B090D0A0C
movq %rax, -64(%rbp)
movw $34, -56(%rbp)
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movl %esi, %r12d
movq %rdi, %r14
callq _strlen
movq %rax, %r13
xorl %ebx, %ebx
leaq -64(%rbp), %r9
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl %r15d, -68(%rbp) ## 4-byte Spill
movl %r15d, %r8d
callq _string_escape_mem
movq %rax, %r15
leaq -1(%rax), %rdi
movl %r12d, %esi
callq _kmalloc
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %rax, %r12
leaq -64(%rbp), %r9
movq %r14, %rdi
movq %r13, %rsi
movq %rax, %rdx
movq %r15, %rcx
movl -68(%rbp), %r8d ## 4-byte Reload
callq _string_escape_mem
xorl %edi, %edi
cmpq %r15, %rax
setne %dil
callq _WARN_ON
movb $0, (%r12,%r15)
movq %r12, %rbx
jmp LBB0_4
LBB0_1:
xorl %ebx, %ebx
LBB0_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_6
## %bb.5:
movq %rbx, %rax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ESCAPE_HEX,4,2 ## @ESCAPE_HEX
.section __TEXT,__cstring,cstring_literals
L___const.kstrdup_quotable.esc: ## @__const.kstrdup_quotable.esc
.asciz "\f\n\r\t\013\007\033\\\""
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _kstrdup_quotable ; -- Begin function kstrdup_quotable
.p2align 2
_kstrdup_quotable: ; @kstrdup_quotable
.cfi_startproc
; %bb.0:
sub sp, sp, #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
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
Lloh3:
adrp x8, _ESCAPE_HEX@GOTPAGE
Lloh4:
ldr x8, [x8, _ESCAPE_HEX@GOTPAGEOFF]
Lloh5:
ldr w19, [x8]
Lloh6:
adrp x8, l___const.kstrdup_quotable.esc@PAGE
Lloh7:
add x8, x8, l___const.kstrdup_quotable.esc@PAGEOFF
Lloh8:
ldr x8, [x8]
str x8, [sp, #8]
mov w8, #34 ; =0x22
strh w8, [sp, #16]
cbz x0, LBB0_3
; %bb.1:
mov x21, x1
mov x20, x0
bl _strlen
mov x22, x0
add x5, sp, #8
mov x0, x20
mov x1, x22
mov x2, #0 ; =0x0
mov x3, #0 ; =0x0
mov x4, x19
bl _string_escape_mem
mov x23, x0
sub x0, x0, #1
mov x1, x21
bl _kmalloc
cbz x0, LBB0_3
; %bb.2:
add x5, sp, #8
mov x21, x0
mov x0, x20
mov x1, x22
mov x2, x21
mov x3, x23
mov x4, x19
bl _string_escape_mem
cmp x0, x23
cset w0, ne
bl _WARN_ON
mov x0, x21
strb wzr, [x21, x23]
LBB0_3:
ldr x8, [sp, #24]
Lloh9:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh10:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_5
; %bb.4:
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
LBB0_5:
bl ___stack_chk_fail
.loh AdrpAddLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _ESCAPE_HEX,4,2 ; @ESCAPE_HEX
.section __TEXT,__cstring,cstring_literals
l___const.kstrdup_quotable.esc: ; @__const.kstrdup_quotable.esc
.asciz "\f\n\r\t\013\007\033\\\""
.subsections_via_symbols
| assembly_file_91584.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _compute_average ## -- Begin function compute_average
.p2align 4, 0x90
_compute_average: ## @compute_average
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq _average@GOTPCREL(%rip), %rbx
leaq 80(%rbx), %rdi
leaq 56(%rbx), %rsi
movq %rbx, %rdx
callq _clear_counters
movq _sum_counters@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq _for_all_cpus
movq _tv_delta@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 112(%rbx)
movq _topo@GOTPCREL(%rip), %r14
movl (%r14), %esi
movl 80(%rbx), %eax
movl 84(%rbx), %ecx
cltd
idivl %esi
movl %eax, 80(%rbx)
movl %ecx, %eax
cltd
idivl %esi
movl %eax, 84(%rbx)
movl 88(%rbx), %eax
cltd
idivl %esi
movl %eax, 88(%rbx)
movl 92(%rbx), %eax
cltd
idivl %esi
movl %eax, 92(%rbx)
cmpl $10000000, 96(%rbx) ## imm = 0x989680
jl LBB0_2
## %bb.1:
movq _sums_need_wide_columns@GOTPCREL(%rip), %rax
movl $1, (%rax)
LBB0_2:
movl 4(%r14), %esi
movl 56(%rbx), %eax
movl 60(%rbx), %ecx
cltd
idivl %esi
movl %eax, 56(%rbx)
movl %ecx, %eax
cltd
idivl %esi
movl %eax, 60(%rbx)
movl 64(%rbx), %eax
cltd
idivl %esi
movl %eax, 64(%rbx)
movl 68(%rbx), %eax
cltd
idivl %esi
movl %eax, 68(%rbx)
movq _BIC_Totl_c0@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DO_BIC
testq %rax, %rax
je LBB0_4
## %bb.3:
movl (%rbx), %eax
cltd
idivl 8(%r14)
movl %eax, (%rbx)
LBB0_4:
movq _BIC_Any_c0@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DO_BIC
testq %rax, %rax
je LBB0_6
## %bb.5:
movl 4(%rbx), %eax
cltd
idivl 8(%r14)
movl %eax, 4(%rbx)
LBB0_6:
movq _BIC_GFX_c0@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DO_BIC
testq %rax, %rax
je LBB0_8
## %bb.7:
movl 8(%rbx), %eax
cltd
idivl 8(%r14)
movl %eax, 8(%rbx)
LBB0_8:
movq _BIC_CPUGFX@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DO_BIC
movl 8(%r14), %ecx
testq %rax, %rax
je LBB0_10
## %bb.9:
movl 12(%rbx), %eax
cltd
idivl %ecx
movl %eax, 12(%rbx)
LBB0_10:
movl 16(%rbx), %eax
cltd
idivl %ecx
movl %eax, 16(%rbx)
movq _BIC_Pkgpc3@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DO_BIC
testq %rax, %rax
je LBB0_12
## %bb.11:
movl 20(%rbx), %eax
cltd
idivl 8(%r14)
movl %eax, 20(%rbx)
LBB0_12:
movq _BIC_Pkgpc6@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DO_BIC
testq %rax, %rax
je LBB0_14
## %bb.13:
movl 24(%rbx), %eax
cltd
idivl 8(%r14)
movl %eax, 24(%rbx)
LBB0_14:
movq _BIC_Pkgpc7@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _DO_BIC
movl 8(%r14), %esi
testq %rax, %rax
je LBB0_16
## %bb.15:
movl 28(%rbx), %eax
cltd
idivl %esi
movl %eax, 28(%rbx)
LBB0_16:
movl 32(%rbx), %eax
movl 36(%rbx), %ecx
cltd
idivl %esi
movl %eax, 32(%rbx)
movl %ecx, %eax
cltd
idivl %esi
movl %eax, 36(%rbx)
movl 40(%rbx), %eax
cltd
idivl %esi
movl %eax, 40(%rbx)
movq _sys@GOTPCREL(%rip), %rcx
movq 16(%rcx), %rsi
testq %rsi, %rsi
je LBB0_24
## %bb.17:
movq _FORMAT_RAW@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _COUNTER_ITEMS@GOTPCREL(%rip), %rax
movq (%rax), %r8
movq 104(%rbx), %r9
movq _sums_need_wide_columns@GOTPCREL(%rip), %r10
jmp LBB0_18
.p2align 4, 0x90
LBB0_22: ## in Loop: Header=BB0_18 Depth=1
movl (%r9), %eax
cltd
idivl (%r14)
movl %eax, (%r9)
LBB0_23: ## in Loop: Header=BB0_18 Depth=1
movq 16(%rsi), %rsi
addq $-4, %r9
testq %rsi, %rsi
je LBB0_24
LBB0_18: ## =>This Inner Loop Header: Depth=1
cmpq %rdi, (%rsi)
je LBB0_24
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpq %r8, 8(%rsi)
jne LBB0_22
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
cmpl $10000000, (%r9) ## imm = 0x989680
jl LBB0_23
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
movl $1, (%r10)
jmp LBB0_23
LBB0_24:
movq 8(%rcx), %rsi
testq %rsi, %rsi
je LBB0_32
## %bb.25:
movq _FORMAT_RAW@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _COUNTER_ITEMS@GOTPCREL(%rip), %rax
movq (%rax), %r8
movq 72(%rbx), %r9
movq _sums_need_wide_columns@GOTPCREL(%rip), %r10
jmp LBB0_26
.p2align 4, 0x90
LBB0_30: ## in Loop: Header=BB0_26 Depth=1
movl (%r9), %eax
cltd
idivl 4(%r14)
movl %eax, (%r9)
LBB0_31: ## in Loop: Header=BB0_26 Depth=1
movq 16(%rsi), %rsi
addq $4, %r9
testq %rsi, %rsi
je LBB0_32
LBB0_26: ## =>This Inner Loop Header: Depth=1
cmpq %rdi, (%rsi)
je LBB0_31
## %bb.27: ## in Loop: Header=BB0_26 Depth=1
cmpq %r8, 8(%rsi)
jne LBB0_30
## %bb.28: ## in Loop: Header=BB0_26 Depth=1
cmpl $10000000, (%r9) ## imm = 0x989680
jl LBB0_30
## %bb.29: ## in Loop: Header=BB0_26 Depth=1
movl $1, (%r10)
jmp LBB0_30
LBB0_32:
movq (%rcx), %rcx
testq %rcx, %rcx
je LBB0_40
## %bb.33:
movq _FORMAT_RAW@GOTPCREL(%rip), %rax
movq (%rax), %rsi
movq _COUNTER_ITEMS@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq 48(%rbx), %r8
movq _sums_need_wide_columns@GOTPCREL(%rip), %r9
jmp LBB0_34
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_34 Depth=1
movl (%r8), %eax
cltd
idivl 8(%r14)
movl %eax, (%r8)
LBB0_39: ## in Loop: Header=BB0_34 Depth=1
movq 16(%rcx), %rcx
addq $4, %r8
testq %rcx, %rcx
je LBB0_40
LBB0_34: ## =>This Inner Loop Header: Depth=1
cmpq %rsi, (%rcx)
je LBB0_39
## %bb.35: ## in Loop: Header=BB0_34 Depth=1
cmpq %rdi, 8(%rcx)
jne LBB0_38
## %bb.36: ## in Loop: Header=BB0_34 Depth=1
cmpl $10000000, (%r8) ## imm = 0x989680
jl LBB0_38
## %bb.37: ## in Loop: Header=BB0_34 Depth=1
movl $1, (%r9)
jmp LBB0_38
LBB0_40:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _average,120,3 ## @average
.comm _sum_counters,4,2 ## @sum_counters
.comm _tv_delta,4,2 ## @tv_delta
.comm _topo,12,2 ## @topo
.comm _sums_need_wide_columns,4,2 ## @sums_need_wide_columns
.comm _BIC_Totl_c0,4,2 ## @BIC_Totl_c0
.comm _BIC_Any_c0,4,2 ## @BIC_Any_c0
.comm _BIC_GFX_c0,4,2 ## @BIC_GFX_c0
.comm _BIC_CPUGFX,4,2 ## @BIC_CPUGFX
.comm _BIC_Pkgpc3,4,2 ## @BIC_Pkgpc3
.comm _BIC_Pkgpc6,4,2 ## @BIC_Pkgpc6
.comm _BIC_Pkgpc7,4,2 ## @BIC_Pkgpc7
.comm _sys,24,3 ## @sys
.comm _FORMAT_RAW,8,3 ## @FORMAT_RAW
.comm _COUNTER_ITEMS,8,3 ## @COUNTER_ITEMS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _compute_average ; -- Begin function compute_average
.p2align 2
_compute_average: ; @compute_average
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
mov x21, x1
mov x22, x0
mov w23, #38527 ; =0x967f
movk w23, #152, lsl #16
Lloh0:
adrp x19, _average@GOTPAGE
Lloh1:
ldr x19, [x19, _average@GOTPAGEOFF]
add x0, x19, #80
add x1, x19, #56
mov x2, x19
bl _clear_counters
Lloh2:
adrp x8, _sum_counters@GOTPAGE
Lloh3:
ldr x8, [x8, _sum_counters@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
mov x1, x22
mov x2, x21
mov x3, x20
bl _for_all_cpus
Lloh5:
adrp x8, _tv_delta@GOTPAGE
Lloh6:
ldr x8, [x8, _tv_delta@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
Lloh8:
adrp x20, _topo@GOTPAGE
Lloh9:
ldr x20, [x20, _topo@GOTPAGEOFF]
str w8, [x19, #112]
ldr w8, [x20]
ldp w9, w10, [x19, #80]
sdiv w9, w9, w8
sdiv w10, w10, w8
stp w9, w10, [x19, #80]
ldp w9, w10, [x19, #88]
sdiv w9, w9, w8
sdiv w8, w10, w8
stp w9, w8, [x19, #88]
ldr w8, [x19, #96]
Lloh10:
adrp x21, _sums_need_wide_columns@GOTPAGE
Lloh11:
ldr x21, [x21, _sums_need_wide_columns@GOTPAGEOFF]
cmp w8, w23
b.le LBB0_2
; %bb.1:
mov w8, #1 ; =0x1
str w8, [x21]
LBB0_2:
ldr w8, [x20, #4]
ldp w9, w10, [x19, #56]
sdiv w9, w9, w8
sdiv w10, w10, w8
stp w9, w10, [x19, #56]
ldp w9, w10, [x19, #64]
sdiv w9, w9, w8
sdiv w8, w10, w8
stp w9, w8, [x19, #64]
Lloh12:
adrp x8, _BIC_Totl_c0@GOTPAGE
Lloh13:
ldr x8, [x8, _BIC_Totl_c0@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _DO_BIC
cbz x0, LBB0_4
; %bb.3:
ldr w8, [x20, #8]
ldr w9, [x19]
sdiv w8, w9, w8
str w8, [x19]
LBB0_4:
Lloh15:
adrp x8, _BIC_Any_c0@GOTPAGE
Lloh16:
ldr x8, [x8, _BIC_Any_c0@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
bl _DO_BIC
cbz x0, LBB0_6
; %bb.5:
ldr w8, [x20, #8]
ldr w9, [x19, #4]
sdiv w8, w9, w8
str w8, [x19, #4]
LBB0_6:
Lloh18:
adrp x8, _BIC_GFX_c0@GOTPAGE
Lloh19:
ldr x8, [x8, _BIC_GFX_c0@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
bl _DO_BIC
cbz x0, LBB0_8
; %bb.7:
ldr w8, [x20, #8]
ldr w9, [x19, #8]
sdiv w8, w9, w8
str w8, [x19, #8]
LBB0_8:
Lloh21:
adrp x8, _BIC_CPUGFX@GOTPAGE
Lloh22:
ldr x8, [x8, _BIC_CPUGFX@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
bl _DO_BIC
ldr w8, [x20, #8]
cbz x0, LBB0_10
; %bb.9:
ldr w9, [x19, #12]
sdiv w9, w9, w8
str w9, [x19, #12]
LBB0_10:
ldr w9, [x19, #16]
sdiv w8, w9, w8
str w8, [x19, #16]
Lloh24:
adrp x8, _BIC_Pkgpc3@GOTPAGE
Lloh25:
ldr x8, [x8, _BIC_Pkgpc3@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
bl _DO_BIC
cbz x0, LBB0_12
; %bb.11:
ldr w8, [x20, #8]
ldr w9, [x19, #20]
sdiv w8, w9, w8
str w8, [x19, #20]
LBB0_12:
Lloh27:
adrp x8, _BIC_Pkgpc6@GOTPAGE
Lloh28:
ldr x8, [x8, _BIC_Pkgpc6@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
bl _DO_BIC
cbz x0, LBB0_14
; %bb.13:
ldr w8, [x20, #8]
ldr w9, [x19, #24]
sdiv w8, w9, w8
str w8, [x19, #24]
LBB0_14:
Lloh30:
adrp x8, _BIC_Pkgpc7@GOTPAGE
Lloh31:
ldr x8, [x8, _BIC_Pkgpc7@GOTPAGEOFF]
Lloh32:
ldr w0, [x8]
bl _DO_BIC
ldr w8, [x20, #8]
cbz x0, LBB0_16
; %bb.15:
ldr w9, [x19, #28]
sdiv w9, w9, w8
str w9, [x19, #28]
LBB0_16:
ldp w9, w10, [x19, #32]
sdiv w9, w9, w8
sdiv w10, w10, w8
stp w9, w10, [x19, #32]
ldr w9, [x19, #40]
Lloh33:
adrp x10, _sys@GOTPAGE
Lloh34:
ldr x10, [x10, _sys@GOTPAGEOFF]
sdiv w8, w9, w8
str w8, [x19, #40]
ldr x11, [x10, #16]
Lloh35:
adrp x8, _FORMAT_RAW@GOTPAGE
Lloh36:
ldr x8, [x8, _FORMAT_RAW@GOTPAGEOFF]
Lloh37:
adrp x9, _COUNTER_ITEMS@GOTPAGE
Lloh38:
ldr x9, [x9, _COUNTER_ITEMS@GOTPAGEOFF]
cbz x11, LBB0_24
; %bb.17:
ldr x12, [x8]
ldr x13, [x9]
mov w14, #1 ; =0x1
ldr x15, [x19, #104]
b LBB0_20
LBB0_18: ; in Loop: Header=BB0_20 Depth=1
ldr w16, [x20]
ldr w17, [x15]
sdiv w16, w17, w16
str w16, [x15]
LBB0_19: ; in Loop: Header=BB0_20 Depth=1
ldr x11, [x11, #16]
sub x15, x15, #4
cbz x11, LBB0_24
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr x16, [x11]
cmp x16, x12
b.eq LBB0_24
; %bb.21: ; in Loop: Header=BB0_20 Depth=1
ldr x16, [x11, #8]
cmp x16, x13
b.ne LBB0_18
; %bb.22: ; in Loop: Header=BB0_20 Depth=1
ldr w16, [x15]
cmp w16, w23
b.le LBB0_19
; %bb.23: ; in Loop: Header=BB0_20 Depth=1
str w14, [x21]
b LBB0_19
LBB0_24:
ldr x11, [x10, #8]
cbz x11, LBB0_32
; %bb.25:
ldr x12, [x8]
ldr x13, [x9]
mov w14, #1 ; =0x1
ldr x15, [x19, #72]
b LBB0_28
LBB0_26: ; in Loop: Header=BB0_28 Depth=1
ldr w16, [x20, #4]
ldr w17, [x15]
sdiv w16, w17, w16
str w16, [x15]
LBB0_27: ; in Loop: Header=BB0_28 Depth=1
ldr x11, [x11, #16]
add x15, x15, #4
cbz x11, LBB0_32
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr x16, [x11]
cmp x16, x12
b.eq LBB0_27
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
ldr x16, [x11, #8]
cmp x16, x13
b.ne LBB0_26
; %bb.30: ; in Loop: Header=BB0_28 Depth=1
ldr w16, [x15]
cmp w16, w23
b.le LBB0_26
; %bb.31: ; in Loop: Header=BB0_28 Depth=1
str w14, [x21]
b LBB0_26
LBB0_32:
ldr x10, [x10]
cbz x10, LBB0_40
; %bb.33:
ldr x8, [x8]
ldr x9, [x9]
mov w11, #1 ; =0x1
ldr x12, [x19, #48]
b LBB0_36
LBB0_34: ; in Loop: Header=BB0_36 Depth=1
ldr w13, [x20, #8]
ldr w14, [x12]
sdiv w13, w14, w13
str w13, [x12]
LBB0_35: ; in Loop: Header=BB0_36 Depth=1
ldr x10, [x10, #16]
add x12, x12, #4
cbz x10, LBB0_40
LBB0_36: ; =>This Inner Loop Header: Depth=1
ldr x13, [x10]
cmp x13, x8
b.eq LBB0_35
; %bb.37: ; in Loop: Header=BB0_36 Depth=1
ldr x13, [x10, #8]
cmp x13, x9
b.ne LBB0_34
; %bb.38: ; in Loop: Header=BB0_36 Depth=1
ldr w13, [x12]
cmp w13, w23
b.le LBB0_34
; %bb.39: ; in Loop: Header=BB0_36 Depth=1
str w11, [x21]
b LBB0_34
LBB0_40:
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 Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpLdrGot Lloh35, Lloh36
.loh AdrpLdrGot Lloh33, Lloh34
.cfi_endproc
; -- End function
.comm _average,120,3 ; @average
.comm _sum_counters,4,2 ; @sum_counters
.comm _tv_delta,4,2 ; @tv_delta
.comm _topo,12,2 ; @topo
.comm _sums_need_wide_columns,4,2 ; @sums_need_wide_columns
.comm _BIC_Totl_c0,4,2 ; @BIC_Totl_c0
.comm _BIC_Any_c0,4,2 ; @BIC_Any_c0
.comm _BIC_GFX_c0,4,2 ; @BIC_GFX_c0
.comm _BIC_CPUGFX,4,2 ; @BIC_CPUGFX
.comm _BIC_Pkgpc3,4,2 ; @BIC_Pkgpc3
.comm _BIC_Pkgpc6,4,2 ; @BIC_Pkgpc6
.comm _BIC_Pkgpc7,4,2 ; @BIC_Pkgpc7
.comm _sys,24,3 ; @sys
.comm _FORMAT_RAW,8,3 ; @FORMAT_RAW
.comm _COUNTER_ITEMS,8,3 ; @COUNTER_ITEMS
.subsections_via_symbols
| assembly_file_57041.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function cookie_parse_url
_cookie_parse_url: ## @cookie_parse_url
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdx, %rbx
movq %rsi, %r14
movups l___const.cookie_parse_url.comp(%rip), %xmm0
movaps %xmm0, -48(%rbp)
movups l___const.cookie_parse_url.comp+16(%rip), %xmm0
movaps %xmm0, -32(%rbp)
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, -44(%rbp)
leaq -48(%rbp), %rcx
xorl %esi, %esi
xorl %edx, %edx
callq _InternetCrackUrlW
testl %eax, %eax
setne %al
movl -44(%rbp), %esi
testl %esi, %esi
setne %cl
andb %al, %cl
cmpb $1, %cl
jne LBB0_1
## %bb.2:
movslq -40(%rbp), %rax
testq %rax, %rax
je LBB0_6
## %bb.3:
movq -32(%rbp), %rcx
leal 1(%rax), %edx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpb $47, -1(%rcx,%rax)
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl %edx, -40(%rbp)
incl %edx
## kill: def $edx killed $edx def $rdx
incq %rax
jne LBB0_4
LBB0_6:
movq -24(%rbp), %rdi
callq _substr
movl %eax, (%r14)
movl -40(%rbp), %esi
testl %esi, %esi
je LBB0_8
## %bb.7:
movq -32(%rbp), %rdi
jmp LBB0_9
LBB0_1:
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_10
LBB0_8:
leaq _cookie_parse_url.rootW(%rip), %rdi
movl $1, %esi
LBB0_9:
callq _substr
movl %eax, (%rbx)
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_10:
movl (%rax), %eax
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 3, 0x0 ## @__const.cookie_parse_url.comp
l___const.cookie_parse_url.comp:
.long 32 ## 0x20
.long 0 ## 0x0
.long 0 ## 0x0
.space 4
.quad 0
.quad 0
_cookie_parse_url.rootW: ## @cookie_parse_url.rootW
.asciz "/"
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _cookie_parse_url
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function cookie_parse_url
_cookie_parse_url: ; @cookie_parse_url
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x1
Lloh0:
adrp x8, l___const.cookie_parse_url.comp@PAGE
Lloh1:
add x8, x8, l___const.cookie_parse_url.comp@PAGEOFF
ldp q0, q1, [x8]
stp q0, q1, [sp]
movi.2s v0, #1
stur d0, [sp, #4]
mov x3, sp
mov w1, #0 ; =0x0
mov w2, #0 ; =0x0
bl _InternetCrackUrlW
Lloh2:
adrp x8, _FALSE@GOTPAGE
Lloh3:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
cbz w0, LBB0_10
; %bb.1:
ldr w1, [sp, #4]
cbz w1, LBB0_10
; %bb.2:
ldrsw x8, [sp, #8]
cbz w8, LBB0_6
; %bb.3:
ldr x9, [sp, #16]
sub x9, x9, #1
add w10, w8, #1
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w11, [x9, x8]
cmp w11, #47
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
str w10, [sp, #8]
add w10, w10, #1
adds x8, x8, #1
b.lo LBB0_4
LBB0_6:
ldr x0, [sp, #24]
bl _substr
str w0, [x20]
ldr w1, [sp, #8]
cbz w1, LBB0_8
; %bb.7:
ldr x0, [sp, #16]
b LBB0_9
LBB0_8:
Lloh4:
adrp x0, _cookie_parse_url.rootW@PAGE
Lloh5:
add x0, x0, _cookie_parse_url.rootW@PAGEOFF
mov w1, #1 ; =0x1
LBB0_9:
bl _substr
str w0, [x19]
Lloh6:
adrp x8, _TRUE@GOTPAGE
Lloh7:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_10:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 3, 0x0 ; @__const.cookie_parse_url.comp
l___const.cookie_parse_url.comp:
.long 32 ; 0x20
.long 0 ; 0x0
.long 0 ; 0x0
.space 4
.quad 0
.quad 0
_cookie_parse_url.rootW: ; @cookie_parse_url.rootW
.asciz "/"
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _cookie_parse_url
.subsections_via_symbols
| assembly_file_29368.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mvs_port_deformed ## -- Begin function mvs_port_deformed
.p2align 4, 0x90
_mvs_port_deformed: ## @mvs_port_deformed
.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, %esi
popq %rbp
jmp _mvs_port_notify_deformed ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mvs_port_deformed ; -- Begin function mvs_port_deformed
.p2align 2
_mvs_port_deformed: ; @mvs_port_deformed
.cfi_startproc
; %bb.0:
mov w1, #1
b _mvs_port_notify_deformed
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/mvsas/extr_mv_sas.c_mvs_port_deformed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function do_one_display
_do_one_display: ## @do_one_display
.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
cmpq $0, (%rdi)
je LBB0_16
## %bb.1:
movq %rdi, %r13
cmpq $0, 32(%rdi)
je LBB0_3
## %bb.2:
xorl %edi, %edi
callq _get_selected_block
movq 32(%r13), %rsi
movl %eax, %edi
callq _contained_in
testl %eax, %eax
je LBB0_16
LBB0_3:
movl 8(%r13), %eax
movq _current_display_number@GOTPCREL(%rip), %r12
movl %eax, (%r12)
xorl %eax, %eax
callq _annotate_display_begin
movl 8(%r13), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
xorl %eax, %eax
callq _annotate_display_number_end
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
movl 12(%r13), %ebx
xorl %eax, %eax
callq _annotate_display_format
testl %ebx, %ebx
je LBB0_12
## %bb.4:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
movl 16(%r13), %esi
cmpl $1, %esi
je LBB0_6
## %bb.5:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
LBB0_6:
movsbl 20(%r13), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
movb 20(%r13), %al
cmpb $105, %al
je LBB0_9
## %bb.7:
cmpb $115, %al
je LBB0_9
## %bb.8:
movl 12(%r13), %esi
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
LBB0_9:
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
xorl %eax, %eax
callq _annotate_display_expression
movl 24(%r13), %edi
movq _gdb_stdout@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _print_expression
xorl %eax, %eax
callq _annotate_display_expression_end
cmpl $1, 16(%r13)
leaq L_.str.6(%rip), %rax
leaq L_.str.5(%rip), %rdi
cmoveq %rax, %rdi
xorl %eax, %eax
callq _printf_filtered
movl 24(%r13), %edi
callq _evaluate_expression
movq %rax, %r14
movq %rax, %rdi
callq _value_as_address
movl %eax, %r15d
cmpb $105, 20(%r13)
jne LBB0_11
## %bb.10:
movl %r15d, %edi
callq _ADDR_BITS_REMOVE
movl %eax, %r15d
LBB0_11:
xorl %eax, %eax
callq _annotate_display_value
movq %r14, %rdi
callq _VALUE_BFD_SECTION
movq 12(%r13), %rdi
movl 20(%r13), %esi
movl %r15d, %edx
movl %eax, %ecx
callq _do_examine
jmp LBB0_15
LBB0_12:
movsbl 20(%r13), %esi
testl %esi, %esi
je LBB0_14
## %bb.13:
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
LBB0_14:
xorl %eax, %eax
callq _annotate_display_expression
movl 24(%r13), %edi
movq _gdb_stdout@GOTPCREL(%rip), %r14
movl (%r14), %esi
callq _print_expression
xorl %eax, %eax
callq _annotate_display_expression_end
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
xorl %eax, %eax
callq _annotate_display_expression
movl 24(%r13), %edi
callq _evaluate_expression
movsbl 20(%r13), %esi
movl 12(%r13), %edx
movl (%r14), %ecx
movq %rax, %rdi
callq _print_formatted
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
callq _printf_filtered
LBB0_15:
xorl %eax, %eax
callq _annotate_display_end
movq _gdb_stdout@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _gdb_flush
movl $-1, (%r12)
LBB0_16:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _current_display_number,4,2 ## @current_display_number
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz ": "
L_.str.2: ## @.str.2
.asciz "x/"
L_.str.3: ## @.str.3
.asciz "%c"
L_.str.4: ## @.str.4
.asciz " "
.comm _gdb_stdout,4,2 ## @gdb_stdout
L_.str.5: ## @.str.5
.asciz "\n"
L_.str.6: ## @.str.6
.asciz " "
L_.str.7: ## @.str.7
.asciz "/%c "
L_.str.8: ## @.str.8
.asciz " = "
.no_dead_strip _do_one_display
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function do_one_display
_do_one_display: ; @do_one_display
.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
ldr x8, [x0]
cbz x8, LBB0_16
; %bb.1:
mov x19, x0
ldr x8, [x0, #32]
cbz x8, LBB0_3
; %bb.2:
mov w0, #0
bl _get_selected_block
ldr x1, [x19, #32]
bl _contained_in
cbz w0, LBB0_16
LBB0_3:
ldr w8, [x19, #8]
Lloh0:
adrp x22, _current_display_number@GOTPAGE
Lloh1:
ldr x22, [x22, _current_display_number@GOTPAGEOFF]
str w8, [x22]
bl _annotate_display_begin
ldr w8, [x19, #8]
str x8, [sp]
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _printf_filtered
bl _annotate_display_number_end
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _printf_filtered
ldr w20, [x19, #12]
bl _annotate_display_format
Lloh6:
adrp x23, _gdb_stdout@GOTPAGE
Lloh7:
ldr x23, [x23, _gdb_stdout@GOTPAGEOFF]
cbz w20, LBB0_12
; %bb.4:
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _printf_filtered
ldr w8, [x19, #16]
cmp w8, #1
b.eq LBB0_6
; %bb.5:
str x8, [sp]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _printf_filtered
LBB0_6:
ldrsb x8, [x19, #20]
str x8, [sp]
Lloh12:
adrp x0, l_.str.3@PAGE
Lloh13:
add x0, x0, l_.str.3@PAGEOFF
bl _printf_filtered
ldrb w8, [x19, #20]
cmp w8, #105
b.eq LBB0_9
; %bb.7:
cmp w8, #115
b.eq LBB0_9
; %bb.8:
ldr w8, [x19, #12]
str x8, [sp]
Lloh14:
adrp x0, l_.str.3@PAGE
Lloh15:
add x0, x0, l_.str.3@PAGEOFF
bl _printf_filtered
LBB0_9:
Lloh16:
adrp x0, l_.str.4@PAGE
Lloh17:
add x0, x0, l_.str.4@PAGEOFF
bl _printf_filtered
bl _annotate_display_expression
ldr w0, [x19, #24]
ldr w1, [x23]
bl _print_expression
bl _annotate_display_expression_end
ldr w8, [x19, #16]
Lloh18:
adrp x9, l_.str.5@PAGE
Lloh19:
add x9, x9, l_.str.5@PAGEOFF
Lloh20:
adrp x10, l_.str.6@PAGE
Lloh21:
add x10, x10, l_.str.6@PAGEOFF
cmp w8, #1
csel x0, x10, x9, eq
bl _printf_filtered
ldr w0, [x19, #24]
bl _evaluate_expression
mov x21, x0
bl _value_as_address
mov x20, x0
ldrb w8, [x19, #20]
cmp w8, #105
b.ne LBB0_11
; %bb.10:
mov x0, x20
bl _ADDR_BITS_REMOVE
mov x20, x0
LBB0_11:
bl _annotate_display_value
mov x0, x21
bl _VALUE_BFD_SECTION
mov x3, x0
ldur x0, [x19, #12]
ldr w1, [x19, #20]
mov x2, x20
bl _do_examine
b LBB0_15
LBB0_12:
ldrsb w8, [x19, #20]
cbz w8, LBB0_14
; %bb.13:
str x8, [sp]
Lloh22:
adrp x0, l_.str.7@PAGE
Lloh23:
add x0, x0, l_.str.7@PAGEOFF
bl _printf_filtered
LBB0_14:
bl _annotate_display_expression
ldr w0, [x19, #24]
ldr w1, [x23]
bl _print_expression
bl _annotate_display_expression_end
Lloh24:
adrp x0, l_.str.8@PAGE
Lloh25:
add x0, x0, l_.str.8@PAGEOFF
bl _printf_filtered
bl _annotate_display_expression
ldr w0, [x19, #24]
bl _evaluate_expression
ldrsb w1, [x19, #20]
ldr w2, [x19, #12]
ldr w3, [x23]
bl _print_formatted
Lloh26:
adrp x0, l_.str.5@PAGE
Lloh27:
add x0, x0, l_.str.5@PAGEOFF
bl _printf_filtered
LBB0_15:
bl _annotate_display_end
ldr w0, [x23]
bl _gdb_flush
mov w8, #-1
str w8, [x22]
LBB0_16:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _current_display_number,4,2 ; @current_display_number
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz ": "
l_.str.2: ; @.str.2
.asciz "x/"
l_.str.3: ; @.str.3
.asciz "%c"
l_.str.4: ; @.str.4
.asciz " "
.comm _gdb_stdout,4,2 ; @gdb_stdout
l_.str.5: ; @.str.5
.asciz "\n"
l_.str.6: ; @.str.6
.asciz " "
l_.str.7: ; @.str.7
.asciz "/%c "
l_.str.8: ; @.str.8
.asciz " = "
.no_dead_strip _do_one_display
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gdb/gdb/extr_printcmd.c_do_one_display.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BIO_meth_free ## -- Begin function BIO_meth_free
.p2align 4, 0x90
_BIO_meth_free: ## @BIO_meth_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _OPENSSL_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _OPENSSL_free ## TAILCALL
LBB0_1:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _BIO_meth_free ; -- Begin function BIO_meth_free
.p2align 2
_BIO_meth_free: ; @BIO_meth_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _OPENSSL_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _OPENSSL_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/crypto/openssl/crypto/bio/extr_bio_meth.c_BIO_meth_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function getdebt
_getdebt: ## @getdebt
.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
testl %eax, %eax
jle LBB0_1
## %bb.2:
movl 4(%rdi), %ecx
movq _STEPMULADJ@GOTPCREL(%rip), %rsi
cltd
idivl (%rsi)
movl %eax, %esi
incl %esi
movq _MAX_LMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %eax
cltd
idivl %ecx
imull %esi, %ecx
cmpl %eax, %esi
cmovgel %edi, %ecx
jmp LBB0_3
LBB0_1:
xorl %ecx, %ecx
LBB0_3:
movl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _STEPMULADJ,4,2 ## @STEPMULADJ
.comm _MAX_LMEM,4,2 ## @MAX_LMEM
.no_dead_strip _getdebt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function getdebt
_getdebt: ; @getdebt
.cfi_startproc
; %bb.0:
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_2
; %bb.1:
ldr w9, [x0, #4]
Lloh0:
adrp x10, _STEPMULADJ@GOTPAGE
Lloh1:
ldr x10, [x10, _STEPMULADJ@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
sdiv w8, w8, w10
Lloh3:
adrp x10, _MAX_LMEM@GOTPAGE
Lloh4:
ldr x10, [x10, _MAX_LMEM@GOTPAGEOFF]
add w8, w8, #1
Lloh5:
ldr w10, [x10]
sdiv w11, w10, w9
mul w9, w8, w9
cmp w8, w11
csel w0, w9, w10, lt
ret
LBB0_2:
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _STEPMULADJ,4,2 ; @STEPMULADJ
.comm _MAX_LMEM,4,2 ; @MAX_LMEM
.no_dead_strip _getdebt
.subsections_via_symbols
| AnghaBench/xLua/build/lua-5.3.5/src/extr_lgc.c_getdebt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fieldbus_dev_online_changed ## -- Begin function fieldbus_dev_online_changed
.p2align 4, 0x90
_fieldbus_dev_online_changed: ## @fieldbus_dev_online_changed
.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)
movq 8(%rdi), %rdi
movq _KOBJ_CHANGE@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _kobject_uevent ## TAILCALL
.cfi_endproc
## -- End function
.comm _KOBJ_CHANGE,4,2 ## @KOBJ_CHANGE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _fieldbus_dev_online_changed ; -- Begin function fieldbus_dev_online_changed
.p2align 2
_fieldbus_dev_online_changed: ; @fieldbus_dev_online_changed
.cfi_startproc
; %bb.0:
str w1, [x0]
ldr x0, [x0, #8]
Lloh0:
adrp x8, _KOBJ_CHANGE@GOTPAGE
Lloh1:
ldr x8, [x8, _KOBJ_CHANGE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _kobject_uevent
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _KOBJ_CHANGE,4,2 ; @KOBJ_CHANGE
.subsections_via_symbols
| AnghaBench/linux/drivers/staging/fieldbus/extr_dev_core.c_fieldbus_dev_online_changed.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trim_header ## -- Begin function trim_header
.p2align 4, 0x90
_trim_header: ## @trim_header
.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 _screen_width@GOTPCREL(%rip), %rax
movl (%rax), %ebx
callq _strlen
movq _header_length@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
cmpl %ebx, %eax
jl LBB0_2
## %bb.1:
movq %r14, %rdi
movl %ebx, %esi
callq _strndup
testq %rax, %rax
jne LBB0_3
LBB0_2:
xorl %eax, %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _screen_width,4,2 ## @screen_width
.comm _header_length,4,2 ## @header_length
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trim_header ; -- Begin function trim_header
.p2align 2
_trim_header: ; @trim_header
.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, _screen_width@GOTPAGE
Lloh1:
ldr x8, [x8, _screen_width@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
bl _strlen
Lloh3:
adrp x8, _header_length@GOTPAGE
Lloh4:
ldr x8, [x8, _header_length@GOTPAGEOFF]
Lloh5:
str w0, [x8]
cmp w0, w20
b.ge LBB0_2
; %bb.1:
mov x0, #0
b LBB0_3
LBB0_2:
mov x0, x19
mov x1, x20
bl _strndup
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _screen_width,4,2 ; @screen_width
.comm _header_length,4,2 ; @header_length
.subsections_via_symbols
| AnghaBench/freebsd/usr.bin/top/extr_display.c_trim_header.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function dwc3_remove_requests
_dwc3_remove_requests: ## @dwc3_remove_requests
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rsi, %rdi
movl $1, %esi
xorl %edx, %edx
callq _dwc3_stop_active_transfer
leaq 8(%rbx), %r14
movq %r14, %rdi
callq _list_empty
testl %eax, %eax
jne LBB0_3
## %bb.1:
movq _ESHUTDOWN@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _next_request
xorl %edx, %edx
subl (%r15), %edx
movq %rbx, %rdi
movq %rax, %rsi
callq _dwc3_gadget_giveback
movq %r14, %rdi
callq _list_empty
testl %eax, %eax
je LBB0_2
LBB0_3:
leaq 4(%rbx), %r14
movq %r14, %rdi
callq _list_empty
testl %eax, %eax
jne LBB0_6
## %bb.4:
movq _ESHUTDOWN@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _next_request
xorl %edx, %edx
subl (%r15), %edx
movq %rbx, %rdi
movq %rax, %rsi
callq _dwc3_gadget_giveback
movq %r14, %rdi
callq _list_empty
testl %eax, %eax
je LBB0_5
LBB0_6:
movq %rbx, %rdi
callq _list_empty
testl %eax, %eax
jne LBB0_9
## %bb.7:
movq _ESHUTDOWN@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _next_request
xorl %edx, %edx
subl (%r14), %edx
movq %rbx, %rdi
movq %rax, %rsi
callq _dwc3_gadget_giveback
movq %rbx, %rdi
callq _list_empty
testl %eax, %eax
je LBB0_8
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ESHUTDOWN,4,2 ## @ESHUTDOWN
.no_dead_strip _dwc3_remove_requests
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function dwc3_remove_requests
_dwc3_remove_requests: ; @dwc3_remove_requests
.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 x0, x1
mov w1, #1
mov w2, #0
bl _dwc3_stop_active_transfer
add x20, x19, #8
mov x0, x20
bl _list_empty
cbnz w0, LBB0_3
; %bb.1:
Lloh0:
adrp x21, _ESHUTDOWN@GOTPAGE
Lloh1:
ldr x21, [x21, _ESHUTDOWN@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _next_request
mov x1, x0
ldr w8, [x21]
neg w2, w8
mov x0, x19
bl _dwc3_gadget_giveback
mov x0, x20
bl _list_empty
cbz w0, LBB0_2
LBB0_3:
add x20, x19, #4
mov x0, x20
bl _list_empty
cbnz w0, LBB0_6
; %bb.4:
Lloh2:
adrp x21, _ESHUTDOWN@GOTPAGE
Lloh3:
ldr x21, [x21, _ESHUTDOWN@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _next_request
mov x1, x0
ldr w8, [x21]
neg w2, w8
mov x0, x19
bl _dwc3_gadget_giveback
mov x0, x20
bl _list_empty
cbz w0, LBB0_5
LBB0_6:
mov x0, x19
bl _list_empty
cbnz w0, LBB0_9
; %bb.7:
Lloh4:
adrp x20, _ESHUTDOWN@GOTPAGE
Lloh5:
ldr x20, [x20, _ESHUTDOWN@GOTPAGEOFF]
LBB0_8: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _next_request
mov x1, x0
ldr w8, [x20]
neg w2, w8
mov x0, x19
bl _dwc3_gadget_giveback
mov x0, x19
bl _list_empty
cbz w0, LBB0_8
LBB0_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ESHUTDOWN,4,2 ; @ESHUTDOWN
.no_dead_strip _dwc3_remove_requests
.subsections_via_symbols
| AnghaBench/linux/drivers/usb/dwc3/extr_gadget.c_dwc3_remove_requests.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function panel_bridge_pre_enable
_panel_bridge_pre_enable: ## @panel_bridge_pre_enable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _drm_bridge_to_panel_bridge
movl (%rax), %edi
popq %rbp
jmp _drm_panel_prepare ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _panel_bridge_pre_enable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function panel_bridge_pre_enable
_panel_bridge_pre_enable: ; @panel_bridge_pre_enable
.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 _drm_bridge_to_panel_bridge
ldr w0, [x0]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
b _drm_panel_prepare
.cfi_endproc
; -- End function
.no_dead_strip _panel_bridge_pre_enable
.subsections_via_symbols
| AnghaBench/linux/drivers/gpu/drm/bridge/extr_panel.c_panel_bridge_pre_enable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function reset_control_array_assert
_reset_control_array_assert: ## @reset_control_array_assert
.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
cmpl $0, (%rdi)
jle LBB0_7
## %bb.1:
movq %rdi, %r14
xorl %r12d, %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movl (%rax,%rbx,4), %edi
callq _reset_control_assert
testl %eax, %eax
jne LBB0_3
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
movslq (%r14), %rax
addq $-4, %r12
cmpq %rax, %rbx
jl LBB0_2
LBB0_7:
xorl %r15d, %r15d
jmp LBB0_8
LBB0_3:
movl %eax, %r15d
testl %ebx, %ebx
je LBB0_8
## %bb.4:
negq %r12
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movl -4(%rax,%r12), %edi
callq _reset_control_deassert
addq $-4, %r12
jne LBB0_5
LBB0_8:
movl %r15d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _reset_control_array_assert
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function reset_control_array_assert
_reset_control_array_assert: ; @reset_control_array_assert
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_4
; %bb.1:
mov x19, x0
mov x22, #0
mov w21, #4
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x22, lsl #2]
bl _reset_control_assert
cbnz w0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
ldrsw x8, [x19]
sub x21, x21, #4
cmp x22, x8
b.lt LBB0_2
LBB0_4:
mov w20, #0
b LBB0_8
LBB0_5:
mov x20, x0
cbz w22, LBB0_8
; %bb.6:
neg x21, x21
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x21]
bl _reset_control_deassert
sub x21, x21, #4
cmn x21, #4
b.ne LBB0_7
LBB0_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
.cfi_endproc
; -- End function
.no_dead_strip _reset_control_array_assert
.subsections_via_symbols
| AnghaBench/linux/drivers/reset/extr_core.c_reset_control_array_assert.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ahc_aic7770_setup
_ahc_aic7770_setup: ## @ahc_aic7770_setup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movw $16961, (%rdi) ## imm = 0x4241
movq _AHC_AIC7770@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%rdi)
movq _AHC_AIC7770_FE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rdi)
movq _AHC_TMODE_WIDEODD_BUG@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 12(%rdi)
movq _AHC_PAGESCBS@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 8(%rdi)
movl $448, 4(%rdi) ## imm = 0x1C0
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AHC_AIC7770,4,2 ## @AHC_AIC7770
.comm _AHC_AIC7770_FE,4,2 ## @AHC_AIC7770_FE
.comm _AHC_TMODE_WIDEODD_BUG,4,2 ## @AHC_TMODE_WIDEODD_BUG
.comm _AHC_PAGESCBS,4,2 ## @AHC_PAGESCBS
.no_dead_strip _ahc_aic7770_setup
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ahc_aic7770_setup
_ahc_aic7770_setup: ; @ahc_aic7770_setup
.cfi_startproc
; %bb.0:
mov w8, #16961
strh w8, [x0]
Lloh0:
adrp x8, _AHC_AIC7770@GOTPAGE
Lloh1:
ldr x8, [x8, _AHC_AIC7770@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _AHC_AIC7770_FE@GOTPAGE
Lloh4:
ldr x9, [x9, _AHC_AIC7770_FE@GOTPAGEOFF]
str w8, [x0, #20]
Lloh5:
adrp x8, _AHC_TMODE_WIDEODD_BUG@GOTPAGE
Lloh6:
ldr x8, [x8, _AHC_TMODE_WIDEODD_BUG@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
ldp w11, w10, [x0, #8]
orr w8, w10, w8
Lloh8:
ldr w9, [x9]
stp w8, w9, [x0, #12]
Lloh9:
adrp x8, _AHC_PAGESCBS@GOTPAGE
Lloh10:
ldr x8, [x8, _AHC_PAGESCBS@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
orr w8, w11, w8
mov w9, #448
stp w9, w8, [x0, #4]
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh8
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _AHC_AIC7770,4,2 ; @AHC_AIC7770
.comm _AHC_AIC7770_FE,4,2 ; @AHC_AIC7770_FE
.comm _AHC_TMODE_WIDEODD_BUG,4,2 ; @AHC_TMODE_WIDEODD_BUG
.comm _AHC_PAGESCBS,4,2 ; @AHC_PAGESCBS
.no_dead_strip _ahc_aic7770_setup
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic7770.c_ahc_aic7770_setup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _snd_emux_delete_virmidi ## -- Begin function snd_emux_delete_virmidi
.p2align 4, 0x90
_snd_emux_delete_virmidi: ## @snd_emux_delete_virmidi
.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 8(%rdi), %rdi
testq %rdi, %rdi
je LBB0_7
## %bb.1:
movl (%r14), %eax
testl %eax, %eax
jle LBB0_6
## %bb.2:
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
movslq %eax, %rcx
movq 8(%r14), %rdi
cmpq %rcx, %rbx
jge LBB0_6
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rbx,8), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl 16(%r14), %edi
callq _snd_device_free
movl (%r14), %eax
jmp LBB0_5
LBB0_6:
callq _kfree
movq $0, 8(%r14)
LBB0_7:
xorl %eax, %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 _snd_emux_delete_virmidi ; -- Begin function snd_emux_delete_virmidi
.p2align 2
_snd_emux_delete_virmidi: ; @snd_emux_delete_virmidi
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
cbz x0, LBB0_7
; %bb.1:
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_6
; %bb.2:
mov x20, #0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x20, x20, #1
ldr x0, [x19, #8]
cmp x20, w8, sxtw
b.ge LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x1, [x0, x20, lsl #3]
cbz x1, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x19, #16]
bl _snd_device_free
ldr w8, [x19]
b LBB0_3
LBB0_6:
bl _kfree
str xzr, [x19, #8]
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/linux/sound/synth/emux/extr_emux_seq.c_snd_emux_delete_virmidi.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/40762190.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _igb_phy_sw_reset ## -- Begin function igb_phy_sw_reset
.p2align 4, 0x90
_igb_phy_sw_reset: ## @igb_phy_sw_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
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq 8(%rdi), %rax
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %rdi, %rbx
movq _PHY_CONTROL@GOTPCREL(%rip), %r14
movl (%r14), %esi
leaq -20(%rbp), %rdx
callq *%rax
testq %rax, %rax
jne LBB0_5
## %bb.2:
movq _MII_CR_RESET@GOTPCREL(%rip), %rax
movl -20(%rbp), %edx
orl (%rax), %edx
movl %edx, -20(%rbp)
movl (%r14), %esi
movq %rbx, %rdi
callq *(%rbx)
testq %rax, %rax
jne LBB0_5
## %bb.3:
movl $1, %edi
callq _udelay
LBB0_4:
xorl %eax, %eax
LBB0_5:
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PHY_CONTROL,4,2 ## @PHY_CONTROL
.comm _MII_CR_RESET,4,2 ## @MII_CR_RESET
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _igb_phy_sw_reset ; -- Begin function igb_phy_sw_reset
.p2align 2
_igb_phy_sw_reset: ; @igb_phy_sw_reset
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0, #8]
cbz x8, LBB0_4
; %bb.1:
mov x19, x0
Lloh0:
adrp x20, _PHY_CONTROL@GOTPAGE
Lloh1:
ldr x20, [x20, _PHY_CONTROL@GOTPAGEOFF]
ldr w1, [x20]
add x2, sp, #12
blr x8
cbnz x0, LBB0_5
; %bb.2:
Lloh2:
adrp x8, _MII_CR_RESET@GOTPAGE
Lloh3:
ldr x8, [x8, _MII_CR_RESET@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
ldr w9, [sp, #12]
orr w2, w9, w8
str w2, [sp, #12]
ldr x8, [x19]
ldr w1, [x20]
mov x0, x19
blr x8
cbnz x0, LBB0_5
; %bb.3:
mov w0, #1
bl _udelay
LBB0_4:
mov x0, #0
LBB0_5:
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 Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _PHY_CONTROL,4,2 ; @PHY_CONTROL
.comm _MII_CR_RESET,4,2 ; @MII_CR_RESET
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/igb/extr_e1000_phy.c_igb_phy_sw_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _loop ## -- Begin function loop
.p2align 4, 0x90
_loop: ## @loop
.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
andl $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 _loop ; -- Begin function loop
.p2align 2
_loop: ; @loop
.cfi_startproc
; %bb.0:
and x0, x0, #0x1
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/167331585.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function free_elist
_free_elist: ## @free_elist
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq (%rdi), %rbx
testq %rbx, %rbx
jne LBB0_1
LBB0_4:
popq %rbx
popq %r14
popq %rbp
retq
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _free
movq %r14, %rbx
testq %r14, %r14
je LBB0_4
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
movq 8(%rbx), %r14
testq %rdi, %rdi
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
callq _free
jmp LBB0_3
.cfi_endproc
## -- End function
.no_dead_strip _free_elist
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function free_elist
_free_elist: ; @free_elist
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x19, [x0]
cbnz x19, LBB0_3
LBB0_1:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x19
bl _free
mov x19, x20
cbz x20, LBB0_1
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldp x0, x20, [x19]
cbz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
bl _free
b LBB0_2
.cfi_endproc
; -- End function
.no_dead_strip _free_elist
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/extr_tdata.c_free_elist.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/501109.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_kb ## -- Begin function process_record_kb
.p2align 4, 0x90
_process_record_kb: ## @process_record_kb
.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 _process_record_user ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _process_record_kb ; -- Begin function process_record_kb
.p2align 2
_process_record_kb: ; @process_record_kb
.cfi_startproc
; %bb.0:
b _process_record_user
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/qmk_firmware/keyboards/converter/siemens_tastatur/extr_siemens_tastatur.c_process_record_kb.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function closure
_closure: ## @closure
.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
xorl %eax, %eax
callq _atom
movq _tok@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _QMARK@GOTPCREL(%rip), %r12
jmp LBB0_1
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_1 Depth=1
movq %rax, %rdi
callq _addtok
movq %r12, %r15
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq _lex
movq _tok@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq %r15, %r12
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
## Child Loop BB0_14 Depth 2
movq _maxrep@GOTPCREL(%rip), %r15
movq _minrep@GOTPCREL(%rip), %r13
movq _REPMN@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq (%r12), %rax
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _STAR@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
je LBB0_4
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq _PLUS@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
sete %dl
cmpq %rcx, %rax
sete %sil
orb %dl, %sil
cmpb $1, %sil
jne LBB0_17
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
cmpq %rcx, %rax
jne LBB0_15
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq _dfa@GOTPCREL(%rip), %r14
movq (%r14), %rax
movl (%rax), %edi
callq _nsubtoks
movl %eax, %ebx
movq (%r14), %rax
movl (%rax), %r14d
addl %ebx, %r14d
cmpl $0, (%r15)
jg LBB0_7
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movq _PLUS@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _addtok
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, -44(%rbp) ## 4-byte Spill
movl %ebx, -48(%rbp) ## 4-byte Spill
movl (%r13), %eax
testl %eax, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq (%r12), %rdi
callq _addtok
movl (%r13), %eax
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
movl $1, %r12d
cmpl $2, %eax
jl LBB0_13
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movl $2, %r12d
movq _CAT@GOTPCREL(%rip), %rbx
movl -48(%rbp), %r14d ## 4-byte Reload
movl -44(%rbp), %r15d ## 4-byte Reload
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %r15d, %edi
movl %r14d, %esi
callq _copytoks
movq (%rbx), %rdi
callq _addtok
decl %r12d
cmpl (%r13), %r12d
jle LBB0_11
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
decl %r12d
movq _maxrep@GOTPCREL(%rip), %r15
LBB0_13: ## in Loop: Header=BB0_1 Depth=1
cmpl (%r15), %r12d
movq _QMARK@GOTPCREL(%rip), %r15
movq _CAT@GOTPCREL(%rip), %rbx
movl -48(%rbp), %r14d ## 4-byte Reload
movl -44(%rbp), %r13d ## 4-byte Reload
jge LBB0_16
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl %r13d, %edi
movl %r14d, %esi
callq _copytoks
movq (%r15), %rdi
callq _addtok
movq (%rbx), %rdi
callq _addtok
incl %r12d
movq _maxrep@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
jl LBB0_14
jmp LBB0_16
LBB0_17:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _tok,8,3 ## @tok
.comm _QMARK,8,3 ## @QMARK
.comm _STAR,8,3 ## @STAR
.comm _PLUS,8,3 ## @PLUS
.comm _REPMN,8,3 ## @REPMN
.comm _dfa,8,3 ## @dfa
.comm _maxrep,4,2 ## @maxrep
.comm _minrep,4,2 ## @minrep
.comm _CAT,8,3 ## @CAT
.no_dead_strip _closure
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function closure
_closure: ; @closure
.cfi_startproc
; %bb.0:
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
bl _atom
Lloh0:
adrp x8, _tok@GOTPAGE
Lloh1:
ldr x8, [x8, _tok@GOTPAGEOFF]
Lloh2:
ldr x0, [x8]
Lloh3:
adrp x21, _QMARK@GOTPAGE
Lloh4:
ldr x21, [x21, _QMARK@GOTPAGEOFF]
Lloh5:
adrp x22, _STAR@GOTPAGE
Lloh6:
ldr x22, [x22, _STAR@GOTPAGEOFF]
Lloh7:
adrp x23, _REPMN@GOTPAGE
Lloh8:
ldr x23, [x23, _REPMN@GOTPAGEOFF]
Lloh9:
adrp x25, _dfa@GOTPAGE
Lloh10:
ldr x25, [x25, _dfa@GOTPAGEOFF]
Lloh11:
adrp x26, _maxrep@GOTPAGE
Lloh12:
ldr x26, [x26, _maxrep@GOTPAGEOFF]
Lloh13:
adrp x27, _minrep@GOTPAGE
Lloh14:
ldr x27, [x27, _minrep@GOTPAGEOFF]
Lloh15:
adrp x28, _CAT@GOTPAGE
Lloh16:
ldr x28, [x28, _CAT@GOTPAGEOFF]
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
bl _addtok
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
bl _lex
Lloh17:
adrp x8, _tok@GOTPAGE
Lloh18:
ldr x8, [x8, _tok@GOTPAGEOFF]
Lloh19:
str x0, [x8]
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_16 Depth 2
ldr x9, [x21]
ldr x10, [x22]
ldr x8, [x23]
cmp x0, x9
ccmp x0, x10, #0, eq
b.eq LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
Lloh20:
adrp x9, _PLUS@GOTPAGE
Lloh21:
ldr x9, [x9, _PLUS@GOTPAGEOFF]
Lloh22:
ldr x9, [x9]
cmp x0, x9
ccmp x0, x8, #4, ne
b.ne LBB0_17
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
cmp x0, x8
b.ne LBB0_1
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x25]
ldr w0, [x8]
bl _nsubtoks
mov x19, x0
ldr x8, [x25]
ldr w24, [x8]
ldr w8, [x26]
cmp w8, #0
b.le LBB0_12
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x27]
cbz w8, LBB0_13
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #2
b.lt LBB0_14
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
mov w20, #2 ; =0x2
LBB0_10: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add w0, w24, w19
mov x1, x19
bl _copytoks
ldr x0, [x28]
bl _addtok
ldr w8, [x27]
sub w20, w20, #1
cmp w20, w8
b.le LBB0_10
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
sub w20, w20, #1
b LBB0_16
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
Lloh23:
adrp x8, _PLUS@GOTPAGE
Lloh24:
ldr x8, [x8, _PLUS@GOTPAGEOFF]
Lloh25:
ldr x0, [x8]
bl _addtok
ldr w8, [x27]
cbnz w8, LBB0_8
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
ldr x0, [x21]
bl _addtok
ldr w8, [x27]
cmp w8, #2
b.ge LBB0_9
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
mov w20, #1 ; =0x1
b LBB0_16
LBB0_15: ; in Loop: Header=BB0_16 Depth=2
add w0, w24, w19
mov x1, x19
bl _copytoks
ldr x0, [x21]
bl _addtok
ldr x0, [x28]
bl _addtok
add w20, w20, #1
LBB0_16: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x26]
cmp w20, w8
b.lt LBB0_15
b LBB0_2
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
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.comm _tok,8,3 ; @tok
.comm _QMARK,8,3 ; @QMARK
.comm _STAR,8,3 ; @STAR
.comm _PLUS,8,3 ; @PLUS
.comm _REPMN,8,3 ; @REPMN
.comm _dfa,8,3 ; @dfa
.comm _maxrep,4,2 ; @maxrep
.comm _minrep,4,2 ; @minrep
.comm _CAT,8,3 ; @CAT
.no_dead_strip _closure
.subsections_via_symbols
| assembly_file_185979.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function test_authenticator
_test_authenticator: ## @test_authenticator
.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 $232, %rsp
.cfi_offset %rbx, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -16(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -96(%rbp)
movaps %xmm0, -80(%rbp)
movaps %xmm0, -48(%rbp)
movaps %xmm0, -32(%rbp)
movaps %xmm0, -64(%rbp)
leaq -80(%rbp), %rdi
movq $63, -88(%rbp)
leaq L_.str(%rip), %rax
movq %rax, -80(%rbp)
movq $67, -48(%rbp)
leaq L_.str.1(%rip), %rax
movq %rax, -40(%rbp)
movl $5, -240(%rbp)
leaq L_.str.2(%rip), %rax
movq %rax, -232(%rbp)
movq _KRB5_NT_PRINCIPAL@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -224(%rbp)
movl $0, -220(%rbp)
movq $10, -216(%rbp)
movq $99, -208(%rbp)
movups %xmm0, -200(%rbp)
movups %xmm0, -188(%rbp)
movl $5, -168(%rbp)
leaq L_.str.3(%rip), %rcx
movq %rcx, -160(%rbp)
movl %eax, -152(%rbp)
movl $0, -148(%rbp)
movq $292, -144(%rbp) ## imm = 0x124
movq $999, -136(%rbp) ## imm = 0x3E7
movaps %xmm0, -128(%rbp)
movups %xmm0, -116(%rbp)
leaq -240(%rbp), %rax
movq %rax, -72(%rbp)
leaq L_.str.4(%rip), %rsi
xorl %edx, %edx
callq _asprintf
testq %rax, %rax
jns LBB0_2
## %bb.1:
leaq L_.str.5(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_2:
leaq -40(%rbp), %rbx
cmpq $0, -80(%rbp)
jne LBB0_4
## %bb.3:
leaq L_.str.5(%rip), %rsi
movl $1, %edi
callq _errx
LBB0_4:
leaq -168(%rbp), %rax
movq %rax, -32(%rbp)
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
movl $1, %edx
callq _asprintf
testq %rax, %rax
js LBB0_5
## %bb.6:
cmpq $0, -40(%rbp)
je LBB0_7
LBB0_8:
movq _encode_Authenticator@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _length_Authenticator@GOTPCREL(%rip), %rax
movl (%rax), %r8d
movq _decode_Authenticator@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq _free_Authenticator@GOTPCREL(%rip), %rax
movl (%rax), %r10d
movq _cmp_authenticator@GOTPCREL(%rip), %rdx
movl (%rdx), %ebx
movq _copy_Authenticator@GOTPCREL(%rip), %rdx
movl (%rdx), %eax
subq $8, %rsp
leaq -96(%rbp), %rdi
movl $2, %esi
movl $72, %edx
pushq %rax
pushq %rbx
pushq %r10
callq _generic_test
addq $32, %rsp
movl %eax, %ebx
movq -80(%rbp), %rdi
callq _free
movq -40(%rbp), %rdi
callq _free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -16(%rbp), %rax
jne LBB0_10
## %bb.9:
movl %ebx, %eax
addq $232, %rsp
popq %rbx
popq %rbp
retq
LBB0_5:
leaq L_.str.5(%rip), %rsi
movl $1, %edi
callq _errx
cmpq $0, -40(%rbp)
jne LBB0_8
LBB0_7:
leaq L_.str.5(%rip), %rsi
movl $1, %edi
callq _errx
jmp LBB0_8
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "b=0;\240\003\002\001\005\241\n\033\bE.KTH.SE\242\0200\016\240\003\002\001\001\241\0070\005\033\003lha\244\003\002\001\n\245\021\030\01719700101000139Z"
L_.str.1: ## @.str.1
.asciz "bA0?\240\003\002\001\005\241\007\033\005SU.SE\242\0260\024\240\003\002\001\001\241\r0\013\033\003lha\033\004root\244\004\002\002\001$\245\021\030\01719700101001639Z"
L_.str.2: ## @.str.2
.asciz "E.KTH.SE"
.comm _KRB5_NT_PRINCIPAL,4,2 ## @KRB5_NT_PRINCIPAL
L_.str.3: ## @.str.3
.asciz "SU.SE"
L_.str.4: ## @.str.4
.asciz "Authenticator %d"
L_.str.5: ## @.str.5
.asciz "malloc"
.comm _encode_Authenticator,8,3 ## @encode_Authenticator
.comm _length_Authenticator,8,3 ## @length_Authenticator
.comm _decode_Authenticator,8,3 ## @decode_Authenticator
.comm _free_Authenticator,8,3 ## @free_Authenticator
.comm _cmp_authenticator,4,2 ## @cmp_authenticator
.comm _copy_Authenticator,8,3 ## @copy_Authenticator
.comm _lha_principal,4,2 ## @lha_principal
.comm _lharoot_princ,4,2 ## @lharoot_princ
.no_dead_strip _test_authenticator
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function test_authenticator
_test_authenticator: ; @test_authenticator
.cfi_startproc
; %bb.0:
sub sp, sp, #288
.cfi_def_cfa_offset 288
stp x20, x19, [sp, #256] ; 16-byte Folded Spill
stp x29, x30, [sp, #272] ; 16-byte Folded Spill
add x29, sp, #272
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-24]
movi.2d v0, #0000000000000000
stp q0, q0, [x29, #-112]
stp q0, q0, [x29, #-64]
stur q0, [x29, #-80]
sub x8, x29, #112
add x0, x8, #16
mov w9, #63
Lloh3:
adrp x10, l_.str@PAGE
Lloh4:
add x10, x10, l_.str@PAGEOFF
stp x9, x10, [x29, #-104]
mov w9, #67
add x19, x8, #56
Lloh5:
adrp x8, l_.str.1@PAGE
Lloh6:
add x8, x8, l_.str.1@PAGEOFF
stp x9, x8, [x29, #-64]
mov w8, #5
str w8, [sp, #16]
Lloh7:
adrp x9, l_.str.2@PAGE
Lloh8:
add x9, x9, l_.str.2@PAGEOFF
str x9, [sp, #24]
Lloh9:
adrp x9, _KRB5_NT_PRINCIPAL@GOTPAGE
Lloh10:
ldr x9, [x9, _KRB5_NT_PRINCIPAL@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
stp w9, wzr, [sp, #32]
mov w10, #10
mov w11, #99
stp x10, x11, [sp, #40]
stp xzr, xzr, [sp, #64]
str xzr, [sp, #56]
str wzr, [sp, #80]
str w8, [sp, #88]
Lloh12:
adrp x8, l_.str.3@PAGE
Lloh13:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp, #96]
stp w9, wzr, [sp, #104]
mov w8, #292
mov w9, #999
stp x8, x9, [sp, #112]
stp xzr, xzr, [sp, #136]
str xzr, [sp, #128]
str wzr, [sp, #152]
add x8, sp, #16
stur x8, [x29, #-88]
Lloh14:
adrp x1, l_.str.4@PAGE
Lloh15:
add x1, x1, l_.str.4@PAGEOFF
mov w2, #0
bl _asprintf
tbnz x0, #63, LBB0_6
; %bb.1:
ldur x8, [x29, #-96]
cbz x8, LBB0_7
LBB0_2:
add x8, sp, #16
add x8, x8, #72
stur x8, [x29, #-48]
Lloh16:
adrp x1, l_.str.4@PAGE
Lloh17:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
mov w2, #1
bl _asprintf
tbnz x0, #63, LBB0_8
; %bb.3:
ldur x8, [x29, #-56]
cbz x8, LBB0_9
LBB0_4:
Lloh18:
adrp x8, _encode_Authenticator@GOTPAGE
Lloh19:
ldr x8, [x8, _encode_Authenticator@GOTPAGEOFF]
Lloh20:
ldr w3, [x8]
Lloh21:
adrp x8, _length_Authenticator@GOTPAGE
Lloh22:
ldr x8, [x8, _length_Authenticator@GOTPAGEOFF]
Lloh23:
ldr w4, [x8]
Lloh24:
adrp x8, _decode_Authenticator@GOTPAGE
Lloh25:
ldr x8, [x8, _decode_Authenticator@GOTPAGEOFF]
Lloh26:
ldr w5, [x8]
Lloh27:
adrp x8, _free_Authenticator@GOTPAGE
Lloh28:
ldr x8, [x8, _free_Authenticator@GOTPAGEOFF]
Lloh29:
ldr w6, [x8]
Lloh30:
adrp x8, _cmp_authenticator@GOTPAGE
Lloh31:
ldr x8, [x8, _cmp_authenticator@GOTPAGEOFF]
Lloh32:
ldr w7, [x8]
Lloh33:
adrp x8, _copy_Authenticator@GOTPAGE
Lloh34:
ldr x8, [x8, _copy_Authenticator@GOTPAGEOFF]
Lloh35:
ldr x8, [x8]
str w8, [sp]
sub x0, x29, #112
mov w1, #2
mov w2, #72
bl _generic_test
mov x19, x0
ldur x0, [x29, #-96]
bl _free
ldur x0, [x29, #-56]
bl _free
ldur x8, [x29, #-24]
Lloh36:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh37:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_10
; %bb.5:
mov x0, x19
ldp x29, x30, [sp, #272] ; 16-byte Folded Reload
ldp x20, x19, [sp, #256] ; 16-byte Folded Reload
add sp, sp, #288
ret
LBB0_6:
Lloh39:
adrp x1, l_.str.5@PAGE
Lloh40:
add x1, x1, l_.str.5@PAGEOFF
mov w0, #1
bl _errx
ldur x8, [x29, #-96]
cbnz x8, LBB0_2
LBB0_7:
Lloh41:
adrp x1, l_.str.5@PAGE
Lloh42:
add x1, x1, l_.str.5@PAGEOFF
mov w0, #1
bl _errx
b LBB0_2
LBB0_8:
Lloh43:
adrp x1, l_.str.5@PAGE
Lloh44:
add x1, x1, l_.str.5@PAGEOFF
mov w0, #1
bl _errx
ldur x8, [x29, #-56]
cbnz x8, LBB0_4
LBB0_9:
Lloh45:
adrp x1, l_.str.5@PAGE
Lloh46:
add x1, x1, l_.str.5@PAGEOFF
mov w0, #1
bl _errx
b LBB0_4
LBB0_10:
bl ___stack_chk_fail
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "b=0;\240\003\002\001\005\241\n\033\bE.KTH.SE\242\0200\016\240\003\002\001\001\241\0070\005\033\003lha\244\003\002\001\n\245\021\030\01719700101000139Z"
l_.str.1: ; @.str.1
.asciz "bA0?\240\003\002\001\005\241\007\033\005SU.SE\242\0260\024\240\003\002\001\001\241\r0\013\033\003lha\033\004root\244\004\002\002\001$\245\021\030\01719700101001639Z"
l_.str.2: ; @.str.2
.asciz "E.KTH.SE"
.comm _KRB5_NT_PRINCIPAL,4,2 ; @KRB5_NT_PRINCIPAL
l_.str.3: ; @.str.3
.asciz "SU.SE"
l_.str.4: ; @.str.4
.asciz "Authenticator %d"
l_.str.5: ; @.str.5
.asciz "malloc"
.comm _encode_Authenticator,8,3 ; @encode_Authenticator
.comm _length_Authenticator,8,3 ; @length_Authenticator
.comm _decode_Authenticator,8,3 ; @decode_Authenticator
.comm _free_Authenticator,8,3 ; @free_Authenticator
.comm _cmp_authenticator,4,2 ; @cmp_authenticator
.comm _copy_Authenticator,8,3 ; @copy_Authenticator
.comm _lha_principal,4,2 ; @lha_principal
.comm _lharoot_princ,4,2 ; @lharoot_princ
.no_dead_strip _test_authenticator
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/lib/asn1/extr_check-gen.c_test_authenticator.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function layout_simple_string
_layout_simple_string: ## @layout_simple_string
.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 %r8, %r14
movq %rcx, %rbx
movaps %xmm0, %xmm3
movq %rdx, %r15
movq %rdi, %r13
movq %rsi, -64(%rbp) ## 8-byte Spill
movss %xmm1, -44(%rbp) ## 4-byte Spill
movaps %xmm1, %xmm0
movaps %xmm2, %xmm1
movss %xmm3, -52(%rbp) ## 4-byte Spill
movaps %xmm3, %xmm2
movq %rcx, %rdx
callq _fz_add_layout_line
cmpq %r14, %rbx
jae LBB0_5
## %bb.1:
movq %r14, %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
movq %r15, %rsi
movl %eax, %edx
callq _fz_encode_character
movq %r13, %rdi
movq %r15, %rsi
movl %eax, %edx
xorl %ecx, %ecx
callq _fz_advance_glyph
movaps %xmm0, %xmm1
mulss -52(%rbp), %xmm1 ## 4-byte Folded Reload
movss %xmm1, -56(%rbp) ## 4-byte Spill
movq %r13, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
movss -44(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
movq %rbx, %rdx
callq _fz_add_layout_char
movslq %r14d, %rax
addq %rax, %rbx
movss -44(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
addss -56(%rbp), %xmm0 ## 4-byte Folded Reload
movss %xmm0, -44(%rbp) ## 4-byte Spill
cmpq %r12, %rbx
jae LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
leaq -48(%rbp), %rdi
movq %rbx, %rsi
callq _fz_chartorune
movl %eax, %r14d
movl -48(%rbp), %edi
callq _fz_windows_1252_from_unicode
movl %eax, -48(%rbp)
testl %eax, %eax
jns LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq _REPLACEMENT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -48(%rbp)
jmp LBB0_4
LBB0_5:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _REPLACEMENT,4,2 ## @REPLACEMENT
.no_dead_strip _layout_simple_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function layout_simple_string
_layout_simple_string: ; @layout_simple_string
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp d11, d10, [sp, #16] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -88
.cfi_offset b9, -96
.cfi_offset b10, -104
.cfi_offset b11, -112
mov x19, x4
mov x20, x3
fmov s8, s1
fmov s9, s0
mov x21, x2
mov x22, x1
mov x23, x0
fmov s0, s1
fmov s1, s2
fmov s2, s9
mov x2, x3
bl _fz_add_layout_line
cmp x20, x19
b.hs LBB0_5
; %bb.1:
Lloh0:
adrp x25, _REPLACEMENT@GOTPAGE
Lloh1:
ldr x25, [x25, _REPLACEMENT@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x0, x23
mov x1, x21
bl _fz_encode_character
mov x2, x0
mov x0, x23
mov x1, x21
mov w3, #0
bl _fz_advance_glyph
fmul s10, s0, s9
mov x0, x23
mov x1, x22
fmov s0, s8
fmov s1, s10
mov x2, x20
bl _fz_add_layout_char
add x20, x20, w24, sxtw
fadd s8, s8, s10
cmp x20, x19
b.hs LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
add x0, sp, #12
mov x1, x20
bl _fz_chartorune
mov x24, x0
ldr w0, [sp, #12]
bl _fz_windows_1252_from_unicode
mov x2, x0
str w0, [sp, #12]
tbz w0, #31, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w2, [x25]
str w2, [sp, #12]
b LBB0_2
LBB0_5:
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 d9, d8, [sp, #32] ; 16-byte Folded Reload
ldp d11, d10, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _REPLACEMENT,4,2 ; @REPLACEMENT
.no_dead_strip _layout_simple_string
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-appearance.c_layout_simple_string.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strncpy ## -- Begin function strncpy
.p2align 4, 0x90
_strncpy: ## @strncpy
.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
## kill: def $edx killed $edx def $rdx
movq %rdi, %rbx
testl %edx, %edx
jle LBB0_6
## %bb.1:
leal -2(%rdx), %eax
movl $1, %edi
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl -1(%rsi,%rdi), %ecx
movb %cl, -1(%rbx,%rdi)
testb %cl, %cl
je LBB0_3
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
incq %rdi
decl %eax
cmpl $-2, %eax
jne LBB0_2
jmp LBB0_6
LBB0_3:
cmpl %edx, %edi
jge LBB0_6
## %bb.4:
addq %rbx, %rdi
movl %eax, %esi
incq %rsi
callq ___bzero
LBB0_6:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _strncpy ; -- Begin function strncpy
.p2align 2
_strncpy: ; @strncpy
.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
cmp w2, #1
b.lt LBB0_6
; %bb.1:
sub w8, w2, #2
add x0, x19, #1
mov w9, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w10, [x1]
sturb w10, [x0, #-1]
cbz w10, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x1, x1, #1
add w9, w9, #1
sub w8, w8, #1
add x0, x0, #1
cmn w8, #2
b.ne LBB0_2
b LBB0_6
LBB0_4:
cmp w9, w2
b.ge LBB0_6
; %bb.5:
mov w8, w8
add x1, x8, #1
bl _bzero
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| the_stack_data/93871.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PrimeNumbersRange ## -- Begin function PrimeNumbersRange
.p2align 4, 0x90
_PrimeNumbersRange: ## @PrimeNumbersRange
.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, %ebx
movl %edi, %r15d
leaq L_.str(%rip), %rdi
movl %r15d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq _printf
leal 1(%r15), %r13d
movl %ebx, -44(%rbp) ## 4-byte Spill
cmpl %ebx, %r13d
jge LBB0_11
## %bb.1:
leaq L_.str.1(%rip), %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_3 Depth=1
incl %r13d
incl %r15d
cmpl -44(%rbp), %r13d ## 4-byte Folded Reload
je LBB0_11
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
testl %r13d, %r13d
jle LBB0_2
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
xorl %ebx, %ebx
xorl %r14d, %r14d
jmp LBB0_5
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
movq %r12, %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _printf
LBB0_10: ## in Loop: Header=BB0_5 Depth=2
cmpl %ebx, %r13d
je LBB0_2
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %ebx, %ecx
leal 1(%rcx), %ebx
movl %r13d, %eax
cltd
idivl %ebx
cmpl $1, %edx
adcl $0, %r14d
cmpl $2, %r14d
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
testl %r15d, %r15d
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
cmpl %ecx, %r15d
jne LBB0_10
jmp LBB0_9
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=2
testl %r15d, %r15d
jne LBB0_10
jmp LBB0_9
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.3(%rip), %rbx
leaq -52(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
leaq L_.str.4(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq -48(%rbp), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _scanf
movl -52(%rbp), %r15d
movl -48(%rbp), %r14d
leaq L_.str(%rip), %rdi
movl %r15d, %esi
movl %r14d, %edx
xorl %eax, %eax
callq _printf
leal 1(%r15), %ebx
movl %r14d, -44(%rbp) ## 4-byte Spill
cmpl %r14d, %ebx
jl LBB1_3
LBB1_1:
xorl %eax, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.p2align 4, 0x90
LBB1_2: ## in Loop: Header=BB1_3 Depth=1
incl %ebx
incl %r15d
cmpl -44(%rbp), %ebx ## 4-byte Folded Reload
je LBB1_1
LBB1_3: ## =>This Loop Header: Depth=1
## Child Loop BB1_5 Depth 2
testl %ebx, %ebx
jle LBB1_2
## %bb.4: ## in Loop: Header=BB1_3 Depth=1
leal 1(%r15), %r13d
xorl %r14d, %r14d
xorl %r12d, %r12d
jmp LBB1_5
.p2align 4, 0x90
LBB1_9: ## in Loop: Header=BB1_5 Depth=2
leaq L_.str.1(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
LBB1_10: ## in Loop: Header=BB1_5 Depth=2
cmpl %r14d, %r13d
je LBB1_2
LBB1_5: ## Parent Loop BB1_3 Depth=1
## => This Inner Loop Header: Depth=2
movl %r14d, %ecx
leal 1(%rcx), %r14d
movl %ebx, %eax
cltd
idivl %r14d
cmpl $1, %edx
adcl $0, %r12d
cmpl $2, %r12d
jne LBB1_8
## %bb.6: ## in Loop: Header=BB1_5 Depth=2
testl %r15d, %r15d
je LBB1_9
## %bb.7: ## in Loop: Header=BB1_5 Depth=2
cmpl %ecx, %r15d
jne LBB1_10
jmp LBB1_9
.p2align 4, 0x90
LBB1_8: ## in Loop: Header=BB1_5 Depth=2
testl %r15d, %r15d
jne LBB1_10
jmp LBB1_9
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The prime numbers between %d and %d are "
L_.str.1: ## @.str.1
.asciz "%d, "
L_.str.2: ## @.str.2
.asciz "Enter the first number: "
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Enter the second number: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _PrimeNumbersRange ; -- Begin function PrimeNumbersRange
.p2align 2
_PrimeNumbersRange: ; @PrimeNumbersRange
.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 x19, x1
mov x20, x0
stp x20, x19, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
add w22, w20, #1
cmp w22, w19
b.ge LBB0_11
; %bb.1:
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w22, w22, #1
add w20, w20, #1
cmp w22, w19
b.eq LBB0_11
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
cmp w22, #1
b.lt LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w23, #0
mov w24, #0
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=2
str x22, [sp]
mov x0, x21
bl _printf
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
add w23, w23, #1
cmp w22, w23
b.eq LBB0_2
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w23, #1
sdiv w9, w22, w8
msub w8, w9, w8, w22
cmp w8, #0
cinc w24, w24, eq
cmp w24, #2
b.ne LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
cbz w20, LBB0_5
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
cmp w20, w23
b.ne LBB0_6
b LBB0_5
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
cbnz w20, LBB0_6
b LBB0_5
LBB0_11:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp 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
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
add x8, sp, #28
str x8, [sp]
Lloh6:
adrp x19, l_.str.3@PAGE
Lloh7:
add x19, x19, l_.str.3@PAGEOFF
mov x0, x19
bl _scanf
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _printf
add x8, sp, #24
str x8, [sp]
mov x0, x19
bl _scanf
ldp w21, w20, [sp, #24]
stp x20, x21, [sp]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
bl _printf
add w22, w20, #1
cmp w22, w21
b.ge LBB1_11
; %bb.1:
Lloh12:
adrp x19, l_.str.1@PAGE
Lloh13:
add x19, x19, l_.str.1@PAGEOFF
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
add w22, w22, #1
add w20, w20, #1
cmp w22, w21
b.eq LBB1_11
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
cmp w22, #1
b.lt LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
mov w23, #0
mov w24, #0
add w25, w20, #1
b LBB1_7
LBB1_5: ; in Loop: Header=BB1_7 Depth=2
str x22, [sp]
mov x0, x19
bl _printf
LBB1_6: ; in Loop: Header=BB1_7 Depth=2
add w23, w23, #1
cmp w25, w23
b.eq LBB1_2
LBB1_7: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
add w8, w23, #1
sdiv w9, w22, w8
msub w8, w9, w8, w22
cmp w8, #0
cinc w24, w24, eq
cmp w24, #2
b.ne LBB1_10
; %bb.8: ; in Loop: Header=BB1_7 Depth=2
cbz w20, LBB1_5
; %bb.9: ; in Loop: Header=BB1_7 Depth=2
cmp w20, w23
b.ne LBB1_6
b LBB1_5
LBB1_10: ; in Loop: Header=BB1_7 Depth=2
cbnz w20, LBB1_6
b LBB1_5
LBB1_11:
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
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 Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The prime numbers between %d and %d are "
l_.str.1: ; @.str.1
.asciz "%d, "
l_.str.2: ; @.str.2
.asciz "Enter the first number: "
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Enter the second number: "
.subsections_via_symbols
| the_stack_data/61351.c | stack |
.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 get_position
LCPI0_0:
.quad 0x3fe0000000000000 ## double 0.5
LCPI0_1:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_get_position: ## @get_position
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movl 4(%rdi), %edi
callq _OidIsValid
cmpq $0, 8(%r14)
movq 8(%r12), %rdx
je LBB0_3
## %bb.1:
testq %rdx, %rdx
je LBB0_7
## %bb.2:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [5.0E-1,0.0E+0]
jmp LBB0_16
LBB0_3:
movq 8(%rbx), %rcx
testq %rdx, %rdx
je LBB0_10
## %bb.4:
testq %rcx, %rcx
je LBB0_9
## %bb.5:
cmpq $0, (%rbx)
jne LBB0_9
jmp LBB0_15
LBB0_7:
cmpq $0, 8(%rbx)
je LBB0_15
## %bb.8:
cmpq $0, (%rbx)
je LBB0_15
LBB0_9:
xorpd %xmm0, %xmm0
jmp LBB0_16
LBB0_15:
movsd LCPI0_1(%rip), %xmm0 ## xmm0 = [1.0E+0,0.0E+0]
LBB0_16:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [5.0E-1,0.0E+0]
testq %rcx, %rcx
jne LBB0_16
## %bb.11:
testl %eax, %eax
je LBB0_16
## %bb.12:
leaq 4(%r15), %r13
movl (%r15), %esi
movl 16(%r12), %edx
movl 16(%r14), %ecx
movq %r13, %rdi
callq _FunctionCall2Coll
movl %eax, %edi
callq _DatumGetFloat8
movapd %xmm0, %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [5.0E-1,0.0E+0]
jae LBB0_16
## %bb.13:
movl (%r15), %esi
movl 16(%rbx), %edx
movl 16(%r14), %ecx
movq %r13, %rdi
movsd %xmm1, -48(%rbp) ## 8-byte Spill
callq _FunctionCall2Coll
movl %eax, %edi
callq _DatumGetFloat8
divsd -48(%rbp), %xmm0 ## 8-byte Folded Reload
xorpd %xmm1, %xmm1
callq _Max
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0]
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _Min ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _get_position
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_position
_get_position: ; @get_position
.cfi_startproc
; %bb.0:
stp d9, d8, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset b8, -72
.cfi_offset b9, -80
mov x23, x3
mov x20, x2
mov x19, x1
mov x22, x0
mov x21, x0
ldr w0, [x21, #4]!
bl _OidIsValid
ldr x9, [x20, #8]
ldr x8, [x23, #8]
cbz x9, LBB0_4
; %bb.1:
fmov d0, #0.50000000
cbnz x8, LBB0_12
; %bb.2:
ldr x8, [x19, #8]
cbnz x8, LBB0_6
; %bb.3:
fmov d0, #1.00000000
b LBB0_12
LBB0_4:
ldr x9, [x19, #8]
cbz x8, LBB0_7
; %bb.5:
cbz x9, LBB0_11
LBB0_6:
ldr x8, [x19]
cmp x8, #0
movi d0, #0000000000000000
fmov d1, #1.00000000
fcsel d0, d1, d0, eq
b LBB0_12
LBB0_7:
fmov d0, #0.50000000
cbnz x9, LBB0_12
; %bb.8:
cbz w0, LBB0_12
; %bb.9:
ldr w1, [x22]
ldr w2, [x23, #16]
ldr w3, [x20, #16]
mov x0, x21
bl _FunctionCall2Coll
bl _DatumGetFloat8
fmov d8, d0
fmov d0, #0.50000000
fcmp d8, #0.0
b.ls LBB0_12
; %bb.10:
ldr w1, [x22]
ldr w2, [x19, #16]
ldr w3, [x20, #16]
mov x0, x21
bl _FunctionCall2Coll
bl _DatumGetFloat8
fdiv d0, d0, d8
movi d1, #0000000000000000
bl _Max
fmov d1, #1.00000000
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 d9, d8, [sp], #80 ; 16-byte Folded Reload
b _Min
LBB0_11:
movi d0, #0000000000000000
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 d9, d8, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _get_position
.subsections_via_symbols
| assembly_file_36159.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _min_heap_elt_is_top_ ## -- Begin function min_heap_elt_is_top_
.p2align 4, 0x90
_min_heap_elt_is_top_: ## @min_heap_elt_is_top_
.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
cmpq $0, (%rdi)
sete %al
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 _min_heap_elt_is_top_ ; -- Begin function min_heap_elt_is_top_
.p2align 2
_min_heap_elt_is_top_: ; @min_heap_elt_is_top_
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cmp x8, #0
cset w0, eq
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/libevent/extr_minheap-internal.h_min_heap_elt_is_top_.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 get_rgb2xyz_matrix
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_get_rgb2xyz_matrix: ## @get_rgb2xyz_matrix
.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 $104, %rsp
.cfi_offset %rbx, -24
movq %rdi, %rbx
movapd 16(%rbp), %xmm4
movupd 24(%rbp), %xmm0
movsd 48(%rbp), %xmm1 ## xmm1 = mem[0],zero
movsd 56(%rbp), %xmm2 ## xmm2 = mem[0],zero
movapd %xmm1, %xmm3
divsd %xmm2, %xmm3
movapd %xmm3, %xmm5
movapd %xmm3, -112(%rbp) ## 16-byte Spill
movsd 64(%rbp), %xmm7 ## xmm7 = mem[0],zero
movsd 72(%rbp), %xmm3 ## xmm3 = mem[0],zero
unpcklpd %xmm7, %xmm1 ## xmm1 = xmm1[0],xmm7[0]
movhpd 32(%rbp), %xmm4 ## xmm4 = xmm4[0],mem[0]
movhpd 40(%rbp), %xmm0 ## xmm0 = xmm0[0],mem[0]
divsd %xmm3, %xmm7
movsd %xmm5, 16(%rdi)
movapd LCPI0_0(%rip), %xmm6 ## xmm6 = [1.0E+0,1.0E+0]
movupd %xmm6, 32(%rdi)
movsd %xmm7, 24(%rdi)
movapd %xmm7, -64(%rbp) ## 16-byte Spill
movabsq $4607182418800017408, %rax ## imm = 0x3FF0000000000000
movq %rax, 48(%rdi)
movapd %xmm6, %xmm5
subpd %xmm1, %xmm5
unpcklpd %xmm3, %xmm2 ## xmm2 = xmm2[0],xmm3[0]
subpd %xmm2, %xmm5
divpd %xmm2, %xmm5
movapd %xmm5, -48(%rbp) ## 16-byte Spill
movupd %xmm5, 64(%rdi)
subpd %xmm4, %xmm6
divpd %xmm0, %xmm4
movapd %xmm4, -96(%rbp) ## 16-byte Spill
movupd %xmm4, (%rdi)
movddup %xmm7, %xmm1 ## xmm1 = xmm7[0,0]
movapd %xmm1, -32(%rbp) ## 16-byte Spill
subpd %xmm0, %xmm6
divpd %xmm0, %xmm6
movapd %xmm6, -80(%rbp) ## 16-byte Spill
movhpd %xmm6, 56(%rdi)
movq %rdi, %rsi
callq _invert_matrix3x3
movsd (%rbx), %xmm0 ## xmm0 = mem[0],zero
movsd 8(%rbx), %xmm1 ## xmm1 = mem[0],zero
movhpd 24(%rbx), %xmm0 ## xmm0 = xmm0[0],mem[0]
movsd 16(%rbx), %xmm2 ## xmm2 = mem[0],zero
mulpd -32(%rbp), %xmm0 ## 16-byte Folded Reload
movhpd 32(%rbx), %xmm1 ## xmm1 = xmm1[0],mem[0]
addpd %xmm0, %xmm1
movhpd 40(%rbx), %xmm2 ## xmm2 = xmm2[0],mem[0]
movapd -48(%rbp), %xmm4 ## 16-byte Reload
movapd %xmm4, %xmm0
unpckhpd %xmm4, %xmm0 ## xmm0 = xmm0[1],xmm4[1]
mulpd %xmm0, %xmm2
movapd -64(%rbp), %xmm3 ## 16-byte Reload
mulsd 48(%rbx), %xmm3
addsd 56(%rbx), %xmm3
mulsd 64(%rbx), %xmm0
addpd %xmm1, %xmm2
addsd %xmm3, %xmm0
movapd -96(%rbp), %xmm1 ## 16-byte Reload
mulpd %xmm2, %xmm1
movupd %xmm1, (%rbx)
movupd %xmm2, 24(%rbx)
mulpd -80(%rbp), %xmm2 ## 16-byte Folded Reload
movupd %xmm2, 48(%rbx)
movapd -112(%rbp), %xmm1 ## 16-byte Reload
mulsd %xmm0, %xmm1
movsd %xmm1, 16(%rbx)
movsd %xmm0, 40(%rbx)
mulsd %xmm4, %xmm0
movsd %xmm0, 64(%rbx)
addq $104, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _get_rgb2xyz_matrix
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_rgb2xyz_matrix
_get_rgb2xyz_matrix: ; @get_rgb2xyz_matrix
.cfi_startproc
; %bb.0:
stp d15, d14, [sp, #-96]! ; 16-byte Folded Spill
stp d13, d12, [sp, #16] ; 16-byte Folded Spill
stp d11, d10, [sp, #32] ; 16-byte Folded Spill
stp d9, d8, [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 b8, -40
.cfi_offset b9, -48
.cfi_offset b10, -56
.cfi_offset b11, -64
.cfi_offset b12, -72
.cfi_offset b13, -80
.cfi_offset b14, -88
.cfi_offset b15, -96
mov x19, x1
ldp d0, d1, [x0]
fdiv d9, d0, d1
ldp d2, d3, [x0, #16]
fdiv d10, d2, d3
ldp d4, d5, [x0, #32]
fdiv d8, d4, d5
ldp d6, d7, [x0, #48]
fdiv d11, d6, d7
fmov d16, #1.00000000
fsub d0, d16, d0
fsub d0, d0, d1
fsub d2, d16, d2
fsub d2, d2, d3
fdiv d12, d2, d3
fsub d2, d16, d4
fsub d2, d2, d5
fdiv d13, d2, d5
fsub d2, d16, d6
fsub d2, d2, d7
fdiv d14, d2, d7
stp d9, d10, [x1]
fmov.2d v2, #1.00000000
str q2, [x1, #32]
stp d12, d13, [x1, #56]
stp d8, d11, [x1, #16]
mov x8, #4607182418800017408 ; =0x3ff0000000000000
str x8, [x1, #48]
str d14, [x1, #72]
fdiv d15, d0, d1
mov x0, x1
bl _invert_matrix3x3
ldp d0, d1, [x19]
fmadd d0, d0, d11, d1
ldp d1, d2, [x19, #16]
fmadd d0, d1, d14, d0
ldp d1, d3, [x19, #32]
fmadd d1, d2, d11, d1
fmadd d1, d3, d14, d1
ldp d2, d3, [x19, #48]
fmadd d2, d2, d11, d3
ldr d3, [x19, #64]
fmadd d2, d3, d14, d2
fmul d3, d0, d9
fmul d4, d0, d15
fmul d5, d1, d10
stp d3, d5, [x19]
fmul d3, d1, d12
stp d4, d3, [x19, #48]
fmul d3, d2, d8
stp d3, d0, [x19, #16]
stp d1, d2, [x19, #32]
fmul d0, d2, d13
str d0, [x19, #64]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp d9, d8, [sp, #48] ; 16-byte Folded Reload
ldp d11, d10, [sp, #32] ; 16-byte Folded Reload
ldp d13, d12, [sp, #16] ; 16-byte Folded Reload
ldp d15, d14, [sp], #96 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _get_rgb2xyz_matrix
.subsections_via_symbols
| assembly_file_147436.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vgic_v4_teardown ## -- Begin function vgic_v4_teardown
.p2align 4, 0x90
_vgic_v4_teardown: ## @vgic_v4_teardown
.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
cmpq $0, 8(%rdi)
je LBB0_5
## %bb.1:
movq %rdi, %r14
cmpl $0, (%rdi)
jle LBB0_4
## %bb.2:
xorl %ebx, %ebx
movq _DB_IRQ_FLAGS@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl %ebx, %esi
callq _kvm_get_vcpu
movq %rax, %r15
movq 8(%r14), %rax
movq (%rax,%rbx,8), %rax
movl (%rax), %r12d
movl (%r13), %esi
movl %r12d, %edi
callq _irq_clear_status_flags
movl %r12d, %edi
movq %r15, %rsi
callq _free_irq
incq %rbx
movslq (%r14), %rax
cmpq %rax, %rbx
jl LBB0_3
LBB0_4:
movq %r14, %rdi
callq _its_free_vcpu_irqs
movq 8(%r14), %rdi
callq _kfree
movl $0, (%r14)
movq $0, 8(%r14)
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DB_IRQ_FLAGS,4,2 ## @DB_IRQ_FLAGS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vgic_v4_teardown ; -- Begin function vgic_v4_teardown
.p2align 2
_vgic_v4_teardown: ; @vgic_v4_teardown
.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, #8]
cbz x8, LBB0_5
; %bb.1:
mov x19, x0
ldr w8, [x0]
cmp w8, #1
b.lt LBB0_4
; %bb.2:
mov x20, #0
Lloh0:
adrp x23, _DB_IRQ_FLAGS@GOTPAGE
Lloh1:
ldr x23, [x23, _DB_IRQ_FLAGS@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x20
bl _kvm_get_vcpu
mov x21, x0
ldr x8, [x19, #8]
ldr x8, [x8, x20, lsl #3]
ldr w22, [x8]
ldr w1, [x23]
mov x0, x22
bl _irq_clear_status_flags
mov x0, x22
mov x1, x21
bl _free_irq
add x20, x20, #1
ldrsw x8, [x19]
cmp x20, x8
b.lt LBB0_3
LBB0_4:
mov x0, x19
bl _its_free_vcpu_irqs
ldr x0, [x19, #8]
bl _kfree
str wzr, [x19]
str xzr, [x19, #8]
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DB_IRQ_FLAGS,4,2 ; @DB_IRQ_FLAGS
.subsections_via_symbols
| AnghaBench/linux/virt/kvm/arm/vgic/extr_vgic-v4.c_vgic_v4_teardown.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 $248, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movl $3, -288(%rbp)
movl $9, -96(%rbp)
leaq -72(%rbp), %rax
movl $20, -72(%rbp)
leaq -144(%rbp), %rcx
movl $15, -144(%rbp)
leaq -120(%rbp), %rdx
movl $7, -120(%rbp)
leaq -96(%rbp), %rsi
movq %rsi, -280(%rbp)
movq %rax, -272(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -88(%rbp)
movq %rcx, -64(%rbp)
movq %rdx, -56(%rbp)
movups %xmm0, -184(%rbp)
movaps %xmm0, -160(%rbp)
movups %xmm0, -136(%rbp)
movaps %xmm0, -112(%rbp)
leaq -240(%rbp), %r12
movq %r12, -232(%rbp)
movq %r12, -240(%rbp)
movl $6400, %edi ## imm = 0x1900
callq _malloc
movq %rax, -248(%rbp) ## 8-byte Spill
movl $1, %edi
movl $3200, %esi ## imm = 0xC80
callq _calloc
movq %rax, %rbx
movl $24, %edi
callq _malloc
leaq -288(%rbp), %rcx
movq %rcx, (%rax)
leaq 8(%rax), %r14
movq %r14, -200(%rbp)
leaq -208(%rbp), %rcx
movq %rcx, 8(%rax)
movq %rcx, 16(%rax)
movq %r14, -208(%rbp)
movq %rbx, -216(%rbp) ## 8-byte Spill
movl $1, (%rbx)
movl $1, %r15d
xorl %r13d, %r13d
movq %r12, %rbx
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movslq %r15d, %r12
leaq (,%r12,4), %rdi
callq _malloc
movq %rax, %r10
movq -248(%rbp), %rax ## 8-byte Reload
movq %r10, (%rax,%r13,8)
testl %r12d, %r12d
jle LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
leaq 1(%r13), %rax
movq %rax, -264(%rbp) ## 8-byte Spill
movl %r15d, %r11d
decq %r11
xorl %r15d, %r15d
movq -216(%rbp), %r8 ## 8-byte Reload
xorps %xmm0, %xmm0
leaq -240(%rbp), %rdi
leaq -208(%rbp), %r9
movq %r10, -224(%rbp) ## 8-byte Spill
movq %r11, -256(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -8(%r14), %rax
movl (%rax), %ecx
movl %ecx, (%r10,%r15,4)
movq 8(%rax), %r12
testq %r12, %r12
je LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
cmpq %rdi, %rbx
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_4 Depth=2
leaq -8(%rbx), %rax
leaq 8(%rbx), %rcx
movq (%rbx), %rdx
movq 8(%rbx), %rsi
movq %rsi, 8(%rdx)
movq 8(%rbx), %rsi
movq %rdx, (%rsi)
movups %xmm0, (%rbx)
jmp LBB0_8
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=2
movl $24, %edi
callq _malloc
movq -256(%rbp), %r11 ## 8-byte Reload
movq -224(%rbp), %r10 ## 8-byte Reload
leaq -208(%rbp), %r9
leaq -240(%rbp), %rdi
xorps %xmm0, %xmm0
movq -216(%rbp), %r8 ## 8-byte Reload
leaq 16(%rax), %rcx
movq %rax, %rbx
addq $8, %rbx
LBB0_8: ## in Loop: Header=BB0_4 Depth=2
movq %r12, (%rax)
movq -200(%rbp), %rax
movq %rbx, -200(%rbp)
movq %r9, (%rbx)
movq %rax, (%rcx)
movq %rbx, (%rax)
incl 4(%r8,%r13,4)
movq -8(%r14), %rax
LBB0_9: ## in Loop: Header=BB0_4 Depth=2
movq 16(%rax), %rbx
testq %rbx, %rbx
je LBB0_14
## %bb.10: ## in Loop: Header=BB0_4 Depth=2
movq -240(%rbp), %rcx
cmpq %rdi, %rcx
je LBB0_11
## %bb.12: ## in Loop: Header=BB0_4 Depth=2
leaq -8(%rcx), %rax
movq (%rcx), %rdx
movq 8(%rcx), %rsi
movq %rsi, 8(%rdx)
movq 8(%rcx), %rsi
movq %rdx, (%rsi)
movups %xmm0, (%rcx)
jmp LBB0_13
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_4 Depth=2
movl $24, %edi
callq _malloc
movq -256(%rbp), %r11 ## 8-byte Reload
movq -224(%rbp), %r10 ## 8-byte Reload
leaq -208(%rbp), %r9
leaq -240(%rbp), %rdi
xorps %xmm0, %xmm0
movq -216(%rbp), %r8 ## 8-byte Reload
LBB0_13: ## in Loop: Header=BB0_4 Depth=2
movq %rbx, (%rax)
leaq 8(%rax), %rcx
movq -200(%rbp), %rdx
movq %rcx, -200(%rbp)
movq %r9, 8(%rax)
movq %rdx, 16(%rax)
movq %rcx, (%rdx)
incl 4(%r8,%r13,4)
LBB0_14: ## in Loop: Header=BB0_4 Depth=2
movq (%r14), %rax
movq 8(%r14), %rcx
movq %rcx, 8(%rax)
movq 8(%r14), %rcx
movq %rax, (%rcx)
movups %xmm0, (%r14)
movq -240(%rbp), %rax
movq %r14, 8(%rax)
movq %rax, (%r14)
movq %rdi, 8(%r14)
movq %r14, -240(%rbp)
movq %r14, %rbx
cmpq %r15, %r11
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_4 Depth=2
movq -208(%rbp), %r14
incq %r15
jmp LBB0_4
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_1 Depth=1
movq -208(%rbp), %r14
movq -264(%rbp), %r13 ## 8-byte Reload
cmpq %r9, %r14
jne LBB0_18
jmp LBB0_19
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
incq %r13
movq -216(%rbp), %r8 ## 8-byte Reload
leaq -208(%rbp), %r9
cmpq %r9, %r14
je LBB0_19
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movl (%r8,%r13,4), %r15d
jmp LBB0_1
LBB0_19:
testl %r13d, %r13d
jle LBB0_25
## %bb.20:
movl %r13d, %eax
movq %rax, -224(%rbp) ## 8-byte Spill
leaq L_.str(%rip), %r12
xorl %r15d, %r15d
jmp LBB0_21
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_21 Depth=1
movl $10, %edi
callq _putchar
incq %r15
cmpq -224(%rbp), %r15 ## 8-byte Folded Reload
movq -216(%rbp), %r8 ## 8-byte Reload
je LBB0_25
LBB0_21: ## =>This Loop Header: Depth=1
## Child Loop BB0_23 Depth 2
movl (%r8,%r15,4), %r13d
testl %r13d, %r13d
jle LBB0_24
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movq -248(%rbp), %rax ## 8-byte Reload
movq (%rax,%r15,8), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_21 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx,%r14,4), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _printf
incq %r14
cmpq %r14, %r13
jne LBB0_23
jmp LBB0_24
LBB0_25:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_27
## %bb.26:
xorl %eax, %eax
addq $248, %rsp
popq %rbx
popq %r12
popq %r13
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 "%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, #336
.cfi_def_cfa_offset 336
stp x28, x27, [sp, #240] ; 16-byte Folded Spill
stp x26, x25, [sp, #256] ; 16-byte Folded Spill
stp x24, x23, [sp, #272] ; 16-byte Folded Spill
stp x22, x21, [sp, #288] ; 16-byte Folded Spill
stp x20, x19, [sp, #304] ; 16-byte Folded Spill
stp x29, x30, [sp, #320] ; 16-byte Folded Spill
add x29, sp, #320
.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 x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-96]
mov w8, #3
str w8, [sp, #24]
mov w8, #9
stur w8, [x29, #-144]
sub x8, x29, #144
add x9, x8, #24
mov w10, #20
stur w10, [x29, #-120]
add x10, sp, #80
add x11, x10, #48
mov w12, #15
str w12, [sp, #128]
add x10, x10, #72
mov w12, #7
str w12, [sp, #152]
stp x8, x9, [sp, #32]
stp xzr, xzr, [x29, #-136]
stp x11, x10, [x29, #-112]
stp xzr, xzr, [sp, #88]
stp xzr, xzr, [sp, #112]
stp xzr, xzr, [sp, #136]
stp xzr, xzr, [sp, #160]
add x22, sp, #64
stp x22, x22, [sp, #64]
mov w0, #6400
bl _malloc
mov x26, x0
mov w19, #1
mov w0, #1
mov w1, #3200
bl _calloc
mov x20, x0
mov w0, #24
bl _malloc
mov x23, #0
add x8, sp, #24
str x8, [x0]
add x24, sp, #48
mov x25, x0
str x24, [x25, #8]!
str x24, [x0, #16]
stp x25, x25, [sp, #48]
str w19, [x20]
add x27, sp, #64
; kill: def $w19 killed $w19 killed $x19 def $x19
str x26, [sp, #16] ; 8-byte Folded Spill
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
sbfiz x0, x19, #2, #32
bl _malloc
str x0, [x26, x23, lsl #3]
cmp w19, #0
b.le LBB0_16
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x21, x0
add x23, x23, #1
mov w8, w19
sub x26, x8, #1
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x25, #-8]
ldr w9, [x8]
str w9, [x21]
ldr x19, [x8, #8]
lsl x28, x23, #2
cbz x19, LBB0_8
; %bb.4: ; in Loop: Header=BB0_3 Depth=2
cmp x27, x22
b.eq LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=2
sub x0, x27, #8
mov x8, x27
ldr x9, [x8, #8]!
ldr x10, [x27]
str x9, [x10, #8]
ldr x9, [x8]
str x10, [x9]
str xzr, [x27]
str xzr, [x8]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
mov w0, #24
bl _malloc
add x8, x0, #16
add x27, x0, #8
LBB0_7: ; in Loop: Header=BB0_3 Depth=2
str x19, [x0]
ldr x9, [sp, #56]
str x27, [sp, #56]
str x24, [x27]
str x9, [x8]
str x27, [x9]
ldr w8, [x20, x28]
add w8, w8, #1
str w8, [x20, x28]
ldur x8, [x25, #-8]
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
ldr x19, [x8, #16]
cbz x19, LBB0_13
; %bb.9: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #64]
cmp x8, x22
b.eq LBB0_11
; %bb.10: ; in Loop: Header=BB0_3 Depth=2
sub x0, x8, #8
ldp x10, x9, [x8]
str x9, [x10, #8]
ldr x9, [x8, #8]
str x10, [x9]
stp xzr, xzr, [x8]
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_3 Depth=2
mov w0, #24
bl _malloc
LBB0_12: ; in Loop: Header=BB0_3 Depth=2
str x19, [x0]
ldr x8, [sp, #56]
mov x9, x0
str x24, [x9, #8]!
str x9, [sp, #56]
str x8, [x0, #16]
str x9, [x8]
ldr w8, [x20, x28]
add w8, w8, #1
str w8, [x20, x28]
LBB0_13: ; in Loop: Header=BB0_3 Depth=2
ldp x9, x8, [x25]
str x8, [x9, #8]
ldr x8, [x25, #8]
str x9, [x8]
stp xzr, xzr, [x25]
ldr x8, [sp, #64]
str x25, [x8, #8]
stp x8, x22, [x25]
str x25, [sp, #64]
mov x27, x25
cbz x26, LBB0_15
; %bb.14: ; in Loop: Header=BB0_3 Depth=2
ldr x25, [sp, #48]
sub x26, x26, #1
add x21, x21, #4
b LBB0_3
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldr x25, [sp, #48]
ldr x26, [sp, #16] ; 8-byte Folded Reload
cmp x25, x24
b.ne LBB0_17
b LBB0_18
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
add x23, x23, #1
cmp x25, x24
b.eq LBB0_18
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
ldr w19, [x20, x23, lsl #2]
b LBB0_1
LBB0_18:
cmp w23, #1
b.lt LBB0_24
; %bb.19:
mov x22, #0
and x23, x23, #0xffffffff
Lloh3:
adrp x21, l_.str@PAGE
Lloh4:
add x21, x21, l_.str@PAGEOFF
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
mov w0, #10
bl _putchar
add x22, x22, #1
cmp x22, x23
b.eq LBB0_24
LBB0_21: ; =>This Loop Header: Depth=1
; Child Loop BB0_23 Depth 2
ldr w19, [x20, x22, lsl #2]
cmp w19, #1
b.lt LBB0_20
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
ldr x24, [x26, x22, lsl #3]
LBB0_23: ; Parent Loop BB0_21 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x24], #4
str x8, [sp]
mov x0, x21
bl _printf
subs x19, x19, #1
b.ne LBB0_23
b LBB0_20
LBB0_24:
ldur x8, [x29, #-96]
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_26
; %bb.25:
mov w0, #0
ldp x29, x30, [sp, #320] ; 16-byte Folded Reload
ldp x20, x19, [sp, #304] ; 16-byte Folded Reload
ldp x22, x21, [sp, #288] ; 16-byte Folded Reload
ldp x24, x23, [sp, #272] ; 16-byte Folded Reload
ldp x26, x25, [sp, #256] ; 16-byte Folded Reload
ldp x28, x27, [sp, #240] ; 16-byte Folded Reload
add sp, sp, #336
ret
LBB0_26:
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 "%d "
.subsections_via_symbols
| the_stack_data/95451701.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mpc_timer_refresh
_mpc_timer_refresh: ## @mpc_timer_refresh
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _jiffies@GOTPCREL(%rip), %rax
movq _MPC_P2@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
movq _HZ@GOTPCREL(%rip), %rdx
movslq (%rdx), %rdx
imulq %rcx, %rdx
addq (%rax), %rdx
movq _mpc_timer@GOTPCREL(%rip), %rdi
movq %rdx, 8(%rdi)
movq %rdx, 16(%rdi)
movq _mpc_cache_check@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
popq %rbp
jmp _add_timer ## TAILCALL
.cfi_endproc
## -- End function
.comm _jiffies,8,3 ## @jiffies
.comm _MPC_P2,4,2 ## @MPC_P2
.comm _HZ,4,2 ## @HZ
.comm _mpc_timer,24,3 ## @mpc_timer
.comm _mpc_cache_check,4,2 ## @mpc_cache_check
.no_dead_strip _mpc_timer_refresh
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mpc_timer_refresh
_mpc_timer_refresh: ; @mpc_timer_refresh
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _jiffies@GOTPAGE
Lloh1:
ldr x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _MPC_P2@GOTPAGE
Lloh4:
ldr x9, [x9, _MPC_P2@GOTPAGEOFF]
Lloh5:
adrp x10, _HZ@GOTPAGE
Lloh6:
ldr x10, [x10, _HZ@GOTPAGEOFF]
Lloh7:
ldrsw x9, [x9]
Lloh8:
ldrsw x10, [x10]
madd x8, x10, x9, x8
Lloh9:
adrp x0, _mpc_timer@GOTPAGE
Lloh10:
ldr x0, [x0, _mpc_timer@GOTPAGEOFF]
stp x8, x8, [x0, #8]
Lloh11:
adrp x8, _mpc_cache_check@GOTPAGE
Lloh12:
ldr x8, [x8, _mpc_cache_check@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
str w8, [x0]
b _add_timer
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _jiffies,8,3 ; @jiffies
.comm _MPC_P2,4,2 ; @MPC_P2
.comm _HZ,4,2 ; @HZ
.comm _mpc_timer,24,3 ; @mpc_timer
.comm _mpc_cache_check,4,2 ; @mpc_cache_check
.no_dead_strip _mpc_timer_refresh
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/net/atm/extr_mpc.c_mpc_timer_refresh.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap ## -- Begin function swap
.p2align 4, 0x90
_swap: ## @swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb (%rdi), %al
movb (%rsi), %cl
movb %cl, (%rdi)
movb %al, (%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _permute ## -- Begin function permute
.p2align 4, 0x90
_permute: ## @permute
.cfi_startproc
## %bb.0:
cmpl %edx, %esi
jne LBB1_1
## %bb.5:
jmp _puts ## TAILCALL
LBB1_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
leaq -40(%rsp), %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
jg LBB1_4
## %bb.2:
movl %edx, %r15d
movl %esi, %r12d
movslq %esi, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
addq %rdi, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl %edx, %eax
subl %esi, %eax
incl %r12d
incl %eax
movq %rax, -56(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
movq %rdi, -48(%rbp) ## 8-byte Spill
movq -72(%rbp), %r13 ## 8-byte Reload
movq -64(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB1_3: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi,%r13), %eax
movzbl (%rbx,%r14), %ecx
movb %cl, (%rdi,%r13)
movb %al, (%rbx,%r14)
movq -48(%rbp), %rdi ## 8-byte Reload
movl %r12d, %esi
movl %r15d, %edx
callq _permute
movq -48(%rbp), %rdi ## 8-byte Reload
movzbl (%rdi,%r13), %eax
movzbl (%rbx,%r14), %ecx
movb %cl, (%rdi,%r13)
movb %al, (%rbx,%r14)
incq %r14
cmpl %r14d, -56(%rbp) ## 4-byte Folded Reload
jne LBB1_3
LBB1_4:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
callq _scanf
callq _strlen
leaq L_.str.2(%rip), %rdi
movq %rax, %rdx
xorl %eax, %eax
callq _printf
callq _strlen
leal -1(%rax), %edx
xorl %esi, %esi
callq _permute
callq _getchar
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "%s,Length =%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _swap ; -- Begin function swap
.p2align 2
_swap: ; @swap
.cfi_startproc
; %bb.0:
ldrb w8, [x0]
ldrb w9, [x1]
strb w9, [x0]
strb w8, [x1]
ret
.cfi_endproc
; -- End function
.globl _permute ; -- Begin function permute
.p2align 2
_permute: ; @permute
.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
; kill: def $w1 killed $w1 def $x1
mov x20, x0
cmp w1, w2
b.ne LBB1_2
; %bb.1:
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
b _puts
LBB1_2:
b.gt LBB1_5
; %bb.3:
mov x19, x2
sxtw x22, w1
add w21, w1, #1
sub w23, w1, #1
mov x24, x22
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x20, x22]
ldrb w9, [x20, x24]
strb w9, [x20, x22]
strb w8, [x20, x24]
mov x0, x20
mov x1, x21
mov x2, x19
bl _permute
ldrb w8, [x20, x22]
ldrb w9, [x20, x24]
strb w9, [x20, x22]
strb w8, [x20, x24]
add x24, x24, #1
add w23, w23, #1
cmp w19, w23
b.ne LBB1_4
LBB1_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
ldp x24, x23, [sp], #64 ; 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, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
bl _strlen
str x0, [sp, #8]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
bl _strlen
sub w2, w0, #1
mov w1, #0
bl _permute
bl _getchar
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "%s,Length =%d"
.subsections_via_symbols
| the_stack_data/32949840.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function construct_path_with_fanout
_construct_path_with_fanout: ## @construct_path_with_fanout
.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, %r15
movl %esi, %r13d
movq %rdi, %r14
movq _the_hash_algo@GOTPCREL(%rip), %r10
movq (%r10), %rax
cmpb %r13b, (%rax)
ja LBB0_2
## %bb.1:
movzbl %r13b, %esi
leaq L_.str(%rip), %rdi
movq %r10, %rbx
callq _die
movq %rbx, %r10
LBB0_2:
testb %r13b, %r13b
je LBB0_3
## %bb.4:
leal -1(%r13), %eax
cmpb $15, %al
jb LBB0_5
## %bb.6:
movzbl %al, %r8d
leaq (%r14,%r8,2), %rax
addq $2, %rax
cmpq %r15, %rax
jbe LBB0_8
## %bb.7:
leaq (%r8,%r8,2), %rax
addq %r15, %rax
addq $3, %rax
cmpq %r14, %rax
jbe LBB0_8
LBB0_5:
xorl %ebx, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_11: ## =>This Inner Loop Header: Depth=1
movzbl (%r14,%r12), %eax
movb %al, (%r15,%rbx)
movzbl 1(%r14,%r12), %eax
addq $2, %r12
movb %al, 1(%r15,%rbx)
movb $47, 2(%r15,%rbx)
addq $3, %rbx
decb %r13b
jne LBB0_11
jmp LBB0_12
LBB0_3:
xorl %ebx, %ebx
xorl %r12d, %r12d
jmp LBB0_12
LBB0_8:
incq %r8
movl %r8d, %r9d
andl $-16, %r9d
leaq (%r9,%r9,2), %rbx
leaq (%r9,%r9), %r12
subb %r9b, %r13b
leaq 31(%r14), %rdx
xorl %esi, %esi
movl $47, %edi
movd %edi, %xmm0
movq %r15, %rax
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movdqa %xmm0, %xmm1
pinsrb $1, -9(%rdx,%rsi,2), %xmm1
pinsrb $2, -8(%rdx,%rsi,2), %xmm1
pinsrb $3, %edi, %xmm1
pinsrb $4, -7(%rdx,%rsi,2), %xmm1
pinsrb $5, -6(%rdx,%rsi,2), %xmm1
pinsrb $6, %edi, %xmm1
pinsrb $7, -5(%rdx,%rsi,2), %xmm1
pinsrb $8, -4(%rdx,%rsi,2), %xmm1
pinsrb $9, %edi, %xmm1
pinsrb $10, -3(%rdx,%rsi,2), %xmm1
pinsrb $11, -2(%rdx,%rsi,2), %xmm1
pinsrb $12, %edi, %xmm1
pinsrb $13, -1(%rdx,%rsi,2), %xmm1
pinsrb $14, (%rdx,%rsi,2), %xmm1
pinsrb $15, %edi, %xmm1
movzbl -31(%rdx,%rsi,2), %ecx
movd %ecx, %xmm2
pinsrb $1, -30(%rdx,%rsi,2), %xmm2
pinsrb $2, %edi, %xmm2
pinsrb $3, -29(%rdx,%rsi,2), %xmm2
pinsrb $4, -28(%rdx,%rsi,2), %xmm2
pinsrb $5, %edi, %xmm2
pinsrb $6, -27(%rdx,%rsi,2), %xmm2
pinsrb $7, -26(%rdx,%rsi,2), %xmm2
pinsrb $8, %edi, %xmm2
pinsrb $9, -25(%rdx,%rsi,2), %xmm2
pinsrb $10, -24(%rdx,%rsi,2), %xmm2
pinsrb $11, %edi, %xmm2
pinsrb $12, -23(%rdx,%rsi,2), %xmm2
pinsrb $13, -22(%rdx,%rsi,2), %xmm2
pinsrb $14, %edi, %xmm2
pinsrb $15, -21(%rdx,%rsi,2), %xmm2
movzbl -20(%rdx,%rsi,2), %ecx
movd %ecx, %xmm3
pinsrb $1, %edi, %xmm3
pinsrb $2, -19(%rdx,%rsi,2), %xmm3
pinsrb $3, -18(%rdx,%rsi,2), %xmm3
pinsrb $4, %edi, %xmm3
pinsrb $5, -17(%rdx,%rsi,2), %xmm3
pinsrb $6, -16(%rdx,%rsi,2), %xmm3
pinsrb $7, %edi, %xmm3
pinsrb $8, -15(%rdx,%rsi,2), %xmm3
pinsrb $9, -14(%rdx,%rsi,2), %xmm3
pinsrb $10, %edi, %xmm3
pinsrb $11, -13(%rdx,%rsi,2), %xmm3
pinsrb $12, -12(%rdx,%rsi,2), %xmm3
pinsrb $13, %edi, %xmm3
pinsrb $14, -11(%rdx,%rsi,2), %xmm3
pinsrb $15, -10(%rdx,%rsi,2), %xmm3
movdqu %xmm1, 32(%rax)
movdqu %xmm3, 16(%rax)
movdqu %xmm2, (%rax)
addq $16, %rsi
addq $48, %rax
cmpq %rsi, %r9
jne LBB0_9
## %bb.10:
cmpq %r9, %r8
jne LBB0_11
LBB0_12:
movl %ebx, %edi
addq %r15, %rdi
movl %r12d, %eax
addq %rax, %r14
movq (%r10), %rax
movl 4(%rax), %edx
subl %r12d, %edx
movq %r14, %rsi
movq %r10, %r14
callq _memcpy
movq (%r14), %rax
subl %r12d, %ebx
addl 4(%rax), %ebx
movb $0, (%r15,%rbx)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _the_hash_algo,8,3 ## @the_hash_algo
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Too large fanout (%u)"
.no_dead_strip _construct_path_with_fanout
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function construct_path_with_fanout
_construct_path_with_fanout: ; @construct_path_with_fanout
.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
Lloh0:
adrp x22, _the_hash_algo@GOTPAGE
Lloh1:
ldr x22, [x22, _the_hash_algo@GOTPAGEOFF]
ldr x8, [x22]
ldrb w8, [x8]
cmp w8, w1
b.hi LBB0_2
; %bb.1:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
mov x1, x21
bl _die
LBB0_2:
cbz w21, LBB0_9
; %bb.3:
sub w8, w21, #1
cmp w8, #31
b.lo LBB0_6
; %bb.4:
and x9, x8, #0xff
lsl x10, x9, #1
add x11, x10, x20
add x11, x11, #2
cmp x11, x19
b.ls LBB0_10
; %bb.5:
add x9, x10, x9
add x9, x9, x19
add x9, x9, #3
cmp x9, x20
b.ls LBB0_10
LBB0_6:
mov x23, #0
mov x24, #0
LBB0_7:
add x8, x19, #2
mov w9, #47
LBB0_8: ; =>This Inner Loop Header: Depth=1
add x10, x20, x24
ldrb w11, [x10]
add x12, x8, x23
sturb w11, [x12, #-2]
add x24, x24, #2
ldrb w10, [x10, #1]
sturb w10, [x12, #-1]
add x23, x23, #3
strb w9, [x12]
sub w21, w21, #1
tst w21, #0xff
b.ne LBB0_8
b LBB0_13
LBB0_9:
mov w23, #0
mov w24, #0
b LBB0_13
LBB0_10:
; kill: def $w8 killed $w8 killed $x8 def $x8
and x8, x8, #0xff
add x8, x8, #1
and x9, x8, #0x1e0
lsl x24, x9, #1
add x23, x24, x9
sub w21, w21, w9
add x10, x20, #32
movi.16b v2, #47
mov x12, x19
mov x11, x9
LBB0_11: ; =>This Inner Loop Header: Depth=1
sub x13, x10, #32
ld2.16b { v0, v1 }, [x13]
ld2.16b { v3, v4 }, [x10]
mov.16b v5, v2
add x13, x12, #96
st3.16b { v0, v1, v2 }, [x12], #48
st3.16b { v3, v4, v5 }, [x12]
add x10, x10, #64
mov x12, x13
subs x11, x11, #32
b.ne LBB0_11
; %bb.12:
cmp x8, x9
b.ne LBB0_7
LBB0_13:
add x0, x19, w23, uxtw
add x1, x20, w24, uxtw
ldr x8, [x22]
ldr w8, [x8, #4]
sub w2, w8, w24
bl _memcpy
ldr x8, [x22]
ldr w8, [x8, #4]
sub w9, w23, w24
add w8, w9, w8
strb wzr, [x19, w8, uxtw]
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
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _the_hash_algo,8,3 ; @the_hash_algo
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Too large fanout (%u)"
.no_dead_strip _construct_path_with_fanout
.subsections_via_symbols
| AnghaBench/git/extr_fast-import.c_construct_path_with_fanout.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _user_metafile_message_lookup ## -- Begin function user_metafile_message_lookup
.p2align 4, 0x90
_user_metafile_message_lookup: ## @user_metafile_message_lookup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %r9
movl %edx, %r14d
movl %esi, %ebx
movq %rdi, %r15
testq %rdi, %rdi
je LBB0_2
## %bb.1:
testl %ebx, %ebx
jg LBB0_3
LBB0_2:
movq _stderr@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%r9), %eax
movl %eax, (%rsp)
leaq L_.str(%rip), %rsi
movq %r15, %rdx
movl %ebx, %ecx
movl %r14d, %r8d
callq _fprintf
LBB0_3:
testq %r15, %r15
setne %al
testl %ebx, %ebx
setg %cl
andb %al, %cl
movzbl %cl, %edi
callq _assert
movl (%r15), %eax
cmpl %r14d, %eax
jg LBB0_4
## %bb.5:
cmpl %r14d, 4(%r15)
jl LBB0_4
## %bb.7:
movslq 8(%r15), %rbx
addq %r15, %rbx
subl %eax, %r14d
movslq %r14d, %r14
movl (%rbx,%r14,4), %ecx
movl 4(%rbx,%r14,4), %eax
xorl %edi, %edi
cmpl %eax, %ecx
jne LBB0_9
LBB0_4:
xorl %r15d, %r15d
LBB0_13:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
cmpl 12(%r15), %ecx
jl LBB0_12
## %bb.10:
cmpl %eax, %ecx
jge LBB0_12
## %bb.11:
xorl %edi, %edi
cmpl 16(%r15), %eax
setle %dil
LBB0_12:
## kill: def $edi killed $edi killed $rdi
callq _assert
movslq (%rbx,%r14,4), %rax
addq %rax, %r15
movl 4(%rbx,%r14,4), %esi
subl %eax, %esi
movq %r15, %rdi
xorl %edx, %edx
callq _check_message_size
jmp LBB0_13
.cfi_endproc
## -- End function
.comm _stderr,4,2 ## @stderr
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "user_metafile_message_lookup (%p, %d, %d, %p [%d])\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _user_metafile_message_lookup ; -- Begin function user_metafile_message_lookup
.p2align 2
_user_metafile_message_lookup: ; @user_metafile_message_lookup
.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 x5, x3
mov x20, x2
mov x21, x1
mov x19, x0
cbz x0, LBB0_2
; %bb.1:
cmp w21, #0
b.gt LBB0_3
LBB0_2:
Lloh0:
adrp x8, _stderr@GOTPAGE
Lloh1:
ldr x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ldr w6, [x5]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x2, x19
mov x3, x21
mov x4, x20
bl _fprintf
LBB0_3:
cmp x19, #0
ccmp w21, #0, #4, ne
cset w0, gt
bl _assert
ldr w8, [x19]
cmp w8, w20
b.gt LBB0_6
; %bb.4:
ldr w9, [x19, #4]
cmp w9, w20
b.lt LBB0_6
; %bb.5:
ldrsw x9, [x19, #8]
add x9, x19, x9
sub w8, w20, w8
add x20, x9, w8, sxtw #2
ldp w9, w8, [x20]
cmp w9, w8
b.ne LBB0_8
LBB0_6:
mov x19, #0
LBB0_7:
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
LBB0_8:
ldr w10, [x19, #12]
cmp w9, w10
ccmp w9, w8, #0, ge
b.lt LBB0_10
; %bb.9:
mov w0, #0
b LBB0_11
LBB0_10:
ldr w9, [x19, #16]
cmp w8, w9
cset w0, le
LBB0_11:
bl _assert
ldp w8, w9, [x20]
; kill: def $w8 killed $w8 def $x8
sxtw x8, w8
add x19, x19, x8
sub w1, w9, w8
mov x0, x19
mov w2, #0
bl _check_message_size
b LBB0_7
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _stderr,4,2 ; @stderr
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "user_metafile_message_lookup (%p, %d, %d, %p [%d])\n"
.subsections_via_symbols
| AnghaBench/kphp-kdb/text/extr_text-data.c_user_metafile_message_lookup.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _BIO_accept ## -- Begin function BIO_accept
.p2align 4, 0x90
_BIO_accept: ## @BIO_accept
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
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, %r12
leaq -44(%rbp), %rsi
xorl %edx, %edx
callq _BIO_accept_ex
movl %eax, %ebx
movq _INVALID_SOCKET@GOTPCREL(%rip), %r14
cmpl (%r14), %eax
jne LBB0_3
## %bb.1:
movl %ebx, %edi
callq _BIO_sock_should_retry
movq %rax, %rcx
movl $-2, %eax
testq %rcx, %rcx
jne LBB0_11
## %bb.2:
movq _ERR_LIB_SYS@GOTPCREL(%rip), %rax
movl (%rax), %r14d
xorl %eax, %eax
callq _get_last_socket_error
leaq L_.str(%rip), %rdx
movl %r14d, %edi
movl %eax, %esi
callq _ERR_raise_data
movq _BIO_F_BIO_ACCEPT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _BIO_R_ACCEPT_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _BIOerr
jmp LBB0_10
LBB0_3:
testq %r12, %r12
je LBB0_10
## %bb.4:
leaq -44(%rbp), %r15
movq %r15, %rdi
movl $1, %esi
callq _BIO_ADDR_hostname_string
movq %rax, %r13
movq %r15, %rdi
movl $1, %esi
callq _BIO_ADDR_service_string
movq %rax, %r15
movq %r13, %rax
orq %r15, %rax
je LBB0_5
## %bb.6:
movq %r13, %rdi
callq _strlen
movq %r13, -56(%rbp) ## 8-byte Spill
movq %rax, %r13
movq %r15, %rdi
callq _strlen
subq %rax, %r13
addq $2, %r13
movq %r13, %rdi
movq -56(%rbp), %r13 ## 8-byte Reload
callq _OPENSSL_zalloc
movq %rax, (%r12)
testq %rax, %rax
je LBB0_7
## %bb.8:
movq %rax, %rdi
movq %r13, %rsi
callq _strcpy
movq (%r12), %rdi
leaq L_.str.1(%rip), %rsi
callq _strcat
movq (%r12), %rdi
movq %r15, %rsi
callq _strcat
jmp LBB0_9
LBB0_5:
movq $0, (%r12)
LBB0_7:
movq _BIO_F_BIO_ACCEPT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _BIOerr
movl %ebx, %edi
callq _BIO_closesocket
movl (%r14), %ebx
LBB0_9:
movq %r13, %rdi
callq _OPENSSL_free
movq %r15, %rdi
callq _OPENSSL_free
LBB0_10:
movl %ebx, %eax
LBB0_11:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INVALID_SOCKET,8,3 ## @INVALID_SOCKET
.comm _ERR_LIB_SYS,4,2 ## @ERR_LIB_SYS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "calling accept()"
.comm _BIO_F_BIO_ACCEPT,4,2 ## @BIO_F_BIO_ACCEPT
.comm _BIO_R_ACCEPT_ERROR,4,2 ## @BIO_R_ACCEPT_ERROR
.comm _ERR_R_MALLOC_FAILURE,4,2 ## @ERR_R_MALLOC_FAILURE
L_.str.1: ## @.str.1
.asciz ":"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _BIO_accept ; -- Begin function BIO_accept
.p2align 2
_BIO_accept: ; @BIO_accept
.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 x21, x1
add x1, sp, #12
mov w2, #0 ; =0x0
bl _BIO_accept_ex
mov x19, x0
Lloh0:
adrp x24, _INVALID_SOCKET@GOTPAGE
Lloh1:
ldr x24, [x24, _INVALID_SOCKET@GOTPAGEOFF]
ldr w8, [x24]
cmp w0, w8
b.ne LBB0_3
; %bb.1:
mov x0, x19
bl _BIO_sock_should_retry
cbz x0, LBB0_7
; %bb.2:
mov w19, #-2 ; =0xfffffffe
b LBB0_11
LBB0_3:
cbz x21, LBB0_11
; %bb.4:
add x0, sp, #12
mov w1, #1 ; =0x1
bl _BIO_ADDR_hostname_string
mov x20, x0
add x0, sp, #12
mov w1, #1 ; =0x1
bl _BIO_ADDR_service_string
mov x22, x0
orr x8, x20, x0
cbz x8, LBB0_8
; %bb.5:
mov x0, x20
bl _strlen
mov x23, x0
mov x0, x22
bl _strlen
sub x8, x23, x0
add x0, x8, #2
bl _OPENSSL_zalloc
str x0, [x21]
cbz x0, LBB0_9
; %bb.6:
mov x1, x20
bl _strcpy
ldr x0, [x21]
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
bl _strcat
ldr x0, [x21]
mov x1, x22
bl _strcat
b LBB0_10
LBB0_7:
Lloh4:
adrp x8, _ERR_LIB_SYS@GOTPAGE
Lloh5:
ldr x8, [x8, _ERR_LIB_SYS@GOTPAGEOFF]
Lloh6:
ldr w20, [x8]
bl _get_last_socket_error
mov x1, x0
Lloh7:
adrp x2, l_.str@PAGE
Lloh8:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
bl _ERR_raise_data
Lloh9:
adrp x8, _BIO_F_BIO_ACCEPT@GOTPAGE
Lloh10:
ldr x8, [x8, _BIO_F_BIO_ACCEPT@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
Lloh12:
adrp x8, _BIO_R_ACCEPT_ERROR@GOTPAGE
Lloh13:
ldr x8, [x8, _BIO_R_ACCEPT_ERROR@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
bl _BIOerr
b LBB0_11
LBB0_8:
str xzr, [x21]
LBB0_9:
Lloh15:
adrp x8, _BIO_F_BIO_ACCEPT@GOTPAGE
Lloh16:
ldr x8, [x8, _BIO_F_BIO_ACCEPT@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
Lloh18:
adrp x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh19:
ldr x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
bl _BIOerr
mov x0, x19
bl _BIO_closesocket
ldr w19, [x24]
LBB0_10:
mov x0, x20
bl _OPENSSL_free
mov x0, x22
bl _OPENSSL_free
LBB0_11:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _INVALID_SOCKET,8,3 ; @INVALID_SOCKET
.comm _ERR_LIB_SYS,4,2 ; @ERR_LIB_SYS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "calling accept()"
.comm _BIO_F_BIO_ACCEPT,4,2 ; @BIO_F_BIO_ACCEPT
.comm _BIO_R_ACCEPT_ERROR,4,2 ; @BIO_R_ACCEPT_ERROR
.comm _ERR_R_MALLOC_FAILURE,4,2 ; @ERR_R_MALLOC_FAILURE
l_.str.1: ; @.str.1
.asciz ":"
.subsections_via_symbols
| assembly_file_115006.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function output_frame
_output_frame: ## @output_frame
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $200, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 8(%rdi), %rax
movq 8(%rax), %rcx
movq %rax, -232(%rbp) ## 8-byte Spill
movq 16(%rax), %rax
movq (%rax), %r12
movq $0, -216(%rbp)
movq %rcx, -184(%rbp) ## 8-byte Spill
movl (%rcx), %esi
movq %r12, %rdi
callq _ff_get_audio_buffer
movq %rax, -240(%rbp)
testq %rax, %rax
je LBB0_1
## %bb.3:
movq %rax, %r14
movq -184(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
movl 40(%rax), %edi
movq 8(%r14), %rsi
callq _av_audio_fifo_peek
testl %eax, %eax
jle LBB0_4
## %bb.5:
movq %r14, -192(%rbp) ## 8-byte Spill
movq -184(%rbp), %rax ## 8-byte Reload
cmpq $0, 80(%rax)
movq %r12, -200(%rbp) ## 8-byte Spill
je LBB0_11
## %bb.6:
cmpl $0, (%r15)
movq %r15, %r13
jle LBB0_9
## %bb.7:
movl $1, %r12d
xorl %r15d, %r15d
movq -184(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq 48(%rbx), %r14
addq %r15, %r14
movq %rbx, %rdi
movq %r14, %rsi
leaq -176(%rbp), %rdx
callq _get_auto_noise_levels
movq %rbx, %rdi
movq %r14, %rsi
leaq -176(%rbp), %rdx
xorl %ecx, %ecx
callq _set_noise_profile
movslq (%r13), %rax
decq %r12
addq $-8, %r15
cmpq %rax, %r12
jle LBB0_8
LBB0_9:
movq -184(%rbp), %rdx ## 8-byte Reload
movq 8(%rdx), %rax
cmpq 16(%rdx), %rax
movq %r13, %r15
je LBB0_11
## %bb.10:
movq -184(%rbp), %rdi ## 8-byte Reload
callq _set_parameters
LBB0_11:
movq -184(%rbp), %rax ## 8-byte Reload
cmpq $0, 72(%rax)
je LBB0_16
## %bb.12:
cmpl $0, (%r15)
movq %r15, %r13
jle LBB0_15
## %bb.13:
xorl %r14d, %r14d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq -184(%rbp), %rax ## 8-byte Reload
movq 48(%rax), %rdi
addq %r14, %rdi
callq _init_sample_noise
incq %r15
movslq (%r13), %rax
addq $8, %r14
cmpq %rax, %r15
jl LBB0_14
LBB0_15:
movq -184(%rbp), %rax ## 8-byte Reload
movq $0, 72(%rax)
movl $1, 24(%rax)
movq %r13, %r15
movq -192(%rbp), %r12 ## 8-byte Reload
jmp LBB0_17
LBB0_1:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_68
## %bb.2:
addq $200, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
LBB0_4:
movl %eax, %r13d
jmp LBB0_64
LBB0_16:
movq -184(%rbp), %rax ## 8-byte Reload
cmpl $0, 24(%rax)
movq -192(%rbp), %r12 ## 8-byte Reload
je LBB0_20
LBB0_17:
cmpl $0, (%r15)
jle LBB0_20
## %bb.18:
xorl %r14d, %r14d
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_19: ## =>This Inner Loop Header: Depth=1
movq -184(%rbp), %rdi ## 8-byte Reload
movq 48(%rdi), %rsi
addq %r14, %rsi
movq %r12, %rdx
movl %r13d, %ecx
callq _sample_noise_block
incq %r13
movslq (%r15), %rax
addq $8, %r14
cmpq %rax, %r13
jl LBB0_19
LBB0_20:
movq %r15, -208(%rbp) ## 8-byte Spill
movq -184(%rbp), %rax ## 8-byte Reload
cmpq $0, 64(%rax)
movq -200(%rbp), %r12 ## 8-byte Reload
je LBB0_25
## %bb.21:
movq -208(%rbp), %rcx ## 8-byte Reload
cmpl $0, (%rcx)
jle LBB0_24
## %bb.22:
xorl %r12d, %r12d
xorl %r15d, %r15d
movq -184(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movq 48(%r13), %r14
addq %r12, %r14
movq %r13, %rdi
movq %r14, %rsi
leaq -176(%rbp), %rdx
movq %rcx, %rbx
callq _finish_sample_noise
movq %r13, %rdi
movq %r14, %rsi
leaq -176(%rbp), %rdx
movl $1, %ecx
callq _set_noise_profile
movq %r13, %rdi
movq %r14, %rsi
callq _set_band_parameters
movq %rbx, %rcx
incq %r15
movslq (%rbx), %rax
addq $8, %r12
cmpq %rax, %r15
jl LBB0_23
LBB0_24:
movq -184(%rbp), %rax ## 8-byte Reload
movl $0, 24(%rax)
movq $0, 64(%rax)
movq -200(%rbp), %r12 ## 8-byte Reload
LBB0_25:
movq -184(%rbp), %rbx ## 8-byte Reload
incl 56(%rbx)
movq -192(%rbp), %rax ## 8-byte Reload
movq %rax, -176(%rbp)
movq -232(%rbp), %r15 ## 8-byte Reload
movq (%r15), %rax
movq (%rax), %rax
movq %rax, -224(%rbp) ## 8-byte Spill
movq _filter_channel@GOTPCREL(%rip), %rax
movl (%rax), %r14d
movl (%r12), %r13d
movq %r15, %rdi
callq _ff_filter_get_nb_threads
movl %r13d, %edi
movl %eax, %esi
callq _FFMIN
leaq -176(%rbp), %rdx
movq %r15, %rdi
movl %r14d, %esi
xorl %ecx, %ecx
movl %eax, %r8d
callq *-224(%rbp) ## 8-byte Folded Reload
movl 28(%rbx), %esi
movq %r12, %rdi
callq _ff_get_audio_buffer
movq %rax, -216(%rbp)
testq %rax, %rax
je LBB0_66
## %bb.26:
movq %rax, %r12
movq -208(%rbp), %r15 ## 8-byte Reload
cmpl $0, (%r15)
jle LBB0_62
## %bb.27:
xorl %r13d, %r13d
movq -184(%rbp), %rbx ## 8-byte Reload
jmp LBB0_28
.p2align 4, 0x90
LBB0_61: ## in Loop: Header=BB0_28 Depth=1
cltq
leaq (,%rax,8), %rcx
movq %r14, %rsi
subq %rcx, %rsi
movl (%rbx), %edx
subl %eax, %edx
shll $3, %edx
movq %r14, %rdi
callq _memmove
movslq (%rbx), %rax
movslq 28(%rbx), %rcx
subq %rcx, %rax
leaq (%r14,%rax,8), %rdi
leal (,%rcx,8), %edx
xorl %esi, %esi
callq _memset
incq %r13
movslq (%r15), %rax
cmpq %rax, %r13
jge LBB0_62
LBB0_28: ## =>This Loop Header: Depth=1
## Child Loop BB0_40 Depth 2
## Child Loop BB0_38 Depth 2
## Child Loop BB0_54 Depth 2
## Child Loop BB0_58 Depth 2
## Child Loop BB0_60 Depth 2
## Child Loop BB0_46 Depth 2
## Child Loop BB0_48 Depth 2
movq -184(%rbp), %rdx ## 8-byte Reload
movq 48(%rdx), %rax
movq (%rax,%r13,8), %r14
movq 8(%r12), %rax
movq (%rax,%r13,8), %rcx
movl 32(%rdx), %eax
cmpl $128, %eax
je LBB0_42
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movq -192(%rbp), %rdx ## 8-byte Reload
movq 8(%rdx), %rdx
movq (%rdx,%r13,8), %rdx
cmpl $130, %eax
je LBB0_49
## %bb.30: ## in Loop: Header=BB0_28 Depth=1
cmpl $129, %eax
jne LBB0_67
## %bb.31: ## in Loop: Header=BB0_28 Depth=1
movq -184(%rbp), %rax ## 8-byte Reload
movslq 28(%rax), %rax
testq %rax, %rax
jle LBB0_61
## %bb.32: ## in Loop: Header=BB0_28 Depth=1
cmpl $4, %eax
jb LBB0_33
## %bb.34: ## in Loop: Header=BB0_28 Depth=1
movq %rcx, %rdi
subq %rdx, %rdi
movl $0, %esi
cmpq $15, %rdi
jbe LBB0_35
## %bb.39: ## in Loop: Header=BB0_28 Depth=1
movl %eax, %esi
andl $2147483644, %esi ## imm = 0x7FFFFFFC
movl %eax, %edi
shrl $2, %edi
andl $536870911, %edi ## imm = 0x1FFFFFFF
shlq $4, %rdi
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_40: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
cvtps2pd (%rdx,%r8), %xmm0
cvtps2pd 8(%rdx,%r8), %xmm1
movupd (%r14,%r8,2), %xmm2
subpd %xmm2, %xmm0
movupd 16(%r14,%r8,2), %xmm2
subpd %xmm2, %xmm1
cvtpd2ps %xmm0, %xmm0
cvtpd2ps %xmm1, %xmm1
unpcklpd %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
movupd %xmm0, (%rcx,%r8)
addq $16, %r8
cmpq %r8, %rdi
jne LBB0_40
## %bb.41: ## in Loop: Header=BB0_28 Depth=1
cmpq %rax, %rsi
je LBB0_61
jmp LBB0_35
.p2align 4, 0x90
LBB0_49: ## in Loop: Header=BB0_28 Depth=1
movq -184(%rbp), %rax ## 8-byte Reload
movslq 28(%rax), %rax
testq %rax, %rax
jle LBB0_61
## %bb.50: ## in Loop: Header=BB0_28 Depth=1
cmpl $8, %eax
jb LBB0_51
## %bb.52: ## in Loop: Header=BB0_28 Depth=1
movq %rcx, %rdi
subq %rdx, %rdi
movl $0, %esi
cmpq $32, %rdi
jb LBB0_56
## %bb.53: ## in Loop: Header=BB0_28 Depth=1
movl %eax, %esi
andl $2147483640, %esi ## imm = 0x7FFFFFF8
movl %eax, %edi
shrl $3, %edi
andl $268435455, %edi ## imm = 0xFFFFFFF
shlq $5, %rdi
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_54: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movupd (%rdx,%r8), %xmm0
movupd 16(%rdx,%r8), %xmm1
movupd %xmm0, (%rcx,%r8)
movupd %xmm1, 16(%rcx,%r8)
addq $32, %r8
cmpq %r8, %rdi
jne LBB0_54
## %bb.55: ## in Loop: Header=BB0_28 Depth=1
cmpq %rax, %rsi
je LBB0_61
jmp LBB0_56
.p2align 4, 0x90
LBB0_42: ## in Loop: Header=BB0_28 Depth=1
movq -184(%rbp), %rax ## 8-byte Reload
movslq 28(%rax), %rax
testq %rax, %rax
jle LBB0_61
## %bb.43: ## in Loop: Header=BB0_28 Depth=1
cmpl $3, %eax
ja LBB0_45
## %bb.44: ## in Loop: Header=BB0_28 Depth=1
xorl %edx, %edx
jmp LBB0_48
LBB0_45: ## in Loop: Header=BB0_28 Depth=1
movl %eax, %edx
andl $2147483644, %edx ## imm = 0x7FFFFFFC
movl %eax, %esi
shrl $2, %esi
andl $536870911, %esi ## imm = 0x1FFFFFFF
shlq $4, %rsi
xorl %edi, %edi
.p2align 4, 0x90
LBB0_46: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movupd (%r14,%rdi,2), %xmm0
movupd 16(%r14,%rdi,2), %xmm1
cvtpd2ps %xmm0, %xmm0
cvtpd2ps %xmm1, %xmm1
unpcklpd %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0]
movupd %xmm0, (%rcx,%rdi)
addq $16, %rdi
cmpq %rdi, %rsi
jne LBB0_46
## %bb.47: ## in Loop: Header=BB0_28 Depth=1
cmpq %rax, %rdx
je LBB0_61
.p2align 4, 0x90
LBB0_48: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movsd (%r14,%rdx,8), %xmm0 ## xmm0 = mem[0],zero
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %rax
jne LBB0_48
jmp LBB0_61
LBB0_51: ## in Loop: Header=BB0_28 Depth=1
xorl %esi, %esi
LBB0_56: ## in Loop: Header=BB0_28 Depth=1
movq %rax, %r8
movq %rsi, %rdi
andq $3, %r8
je LBB0_59
## %bb.57: ## in Loop: Header=BB0_28 Depth=1
movq %rsi, %rdi
.p2align 4, 0x90
LBB0_58: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movss (%rdx,%rdi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rcx,%rdi,4)
incq %rdi
decq %r8
jne LBB0_58
LBB0_59: ## in Loop: Header=BB0_28 Depth=1
subq %rax, %rsi
cmpq $-4, %rsi
ja LBB0_61
.p2align 4, 0x90
LBB0_60: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movss (%rdx,%rdi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, (%rcx,%rdi,4)
movss 4(%rdx,%rdi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 4(%rcx,%rdi,4)
movss 8(%rdx,%rdi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 8(%rcx,%rdi,4)
movss 12(%rdx,%rdi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss %xmm0, 12(%rcx,%rdi,4)
addq $4, %rdi
cmpq %rdi, %rax
jne LBB0_60
jmp LBB0_61
LBB0_33: ## in Loop: Header=BB0_28 Depth=1
xorl %esi, %esi
LBB0_35: ## in Loop: Header=BB0_28 Depth=1
movq %rsi, %rdi
testb $1, %al
je LBB0_37
## %bb.36: ## in Loop: Header=BB0_28 Depth=1
movss (%rdx,%rsi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
subsd (%r14,%rsi,8), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rcx,%rsi,4)
movq %rsi, %rdi
orq $1, %rdi
LBB0_37: ## in Loop: Header=BB0_28 Depth=1
leaq -1(%rax), %r8
cmpq %r8, %rsi
je LBB0_61
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_28 Depth=1
## => This Inner Loop Header: Depth=2
movss (%rdx,%rdi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
subsd (%r14,%rdi,8), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rcx,%rdi,4)
movss 4(%rdx,%rdi,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
subsd 8(%r14,%rdi,8), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 4(%rcx,%rdi,4)
addq $2, %rdi
cmpq %rdi, %rax
jne LBB0_38
jmp LBB0_61
LBB0_62:
movq -184(%rbp), %rbx ## 8-byte Reload
movl 28(%rbx), %esi
movl 40(%rbx), %edi
callq _av_audio_fifo_drain
movl 36(%rbx), %eax
movl %eax, (%r12)
movq -200(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _ff_filter_frame
movl %eax, %r13d
testl %eax, %eax
js LBB0_64
## %bb.63:
movq -184(%rbp), %rcx ## 8-byte Reload
movl 28(%rcx), %eax
addl %eax, 36(%rcx)
jmp LBB0_64
LBB0_66:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _AVERROR
movl %eax, %r13d
jmp LBB0_64
LBB0_67:
leaq -216(%rbp), %rdi
callq _av_frame_free
movq _AVERROR_BUG@GOTPCREL(%rip), %rax
movl (%rax), %r13d
LBB0_64:
leaq -240(%rbp), %rdi
callq _av_frame_free
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_68
## %bb.65:
movl %r13d, %eax
addq $200, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_68:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _filter_channel,4,2 ## @filter_channel
.comm _AVERROR_BUG,4,2 ## @AVERROR_BUG
.no_dead_strip _output_frame
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function output_frame
_output_frame: ; @output_frame
.cfi_startproc
; %bb.0:
sub sp, sp, #224
stp x26, x25, [sp, #144] ; 16-byte Folded Spill
stp x24, x23, [sp, #160] ; 16-byte Folded Spill
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
ldr x23, [x0, #8]
ldp x19, x8, [x23, #8]
ldr x20, [x8]
str xzr, [sp, #8]
ldr w1, [x19]
mov x0, x20
bl _ff_get_audio_buffer
str x0, [sp]
cbz x0, LBB0_13
; %bb.1:
mov x22, x0
ldr w0, [x19, #40]
ldr x1, [x22, #8]
ldr w2, [x19]
bl _av_audio_fifo_peek
cmp w0, #1
b.lt LBB0_15
; %bb.2:
ldr x8, [x19, #80]
cbz x8, LBB0_8
; %bb.3:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_6
; %bb.4:
mov x24, #0 ; =0x0
mov w25, #1 ; =0x1
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x26, [x19, #48]
add x1, x26, x24
add x2, sp, #16
mov x0, x19
bl _get_auto_noise_levels
add x1, x26, x24
add x2, sp, #16
mov x0, x19
mov w3, #0 ; =0x0
bl _set_noise_profile
ldrsw x8, [x21]
sub x25, x25, #1
sub x24, x24, #8
cmp x25, x8
b.le LBB0_5
LBB0_6:
ldp x8, x9, [x19, #8]
cmp x8, x9
b.eq LBB0_8
; %bb.7:
mov x0, x19
bl _set_parameters
LBB0_8:
ldr x8, [x19, #72]
cbz x8, LBB0_16
; %bb.9:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_12
; %bb.10:
mov x24, #0 ; =0x0
mov x25, #0 ; =0x0
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #48]
add x0, x8, x24
bl _init_sample_noise
add x25, x25, #1
ldrsw x8, [x21]
add x24, x24, #8
cmp x25, x8
b.lt LBB0_11
LBB0_12:
str xzr, [x19, #72]
mov w8, #1 ; =0x1
str w8, [x19, #24]
b LBB0_17
LBB0_13:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ldur x8, [x29, #-72]
Lloh6:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh7:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_63
; %bb.14:
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #224
b _AVERROR
LBB0_15:
mov x24, x0
b LBB0_61
LBB0_16:
ldr w8, [x19, #24]
cbz w8, LBB0_20
LBB0_17:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_20
; %bb.18:
mov x25, #0 ; =0x0
mov x24, #0 ; =0x0
LBB0_19: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #48]
add x1, x8, x25
mov x0, x19
mov x2, x22
mov x3, x24
bl _sample_noise_block
add x24, x24, #1
ldrsw x8, [x21]
add x25, x25, #8
cmp x24, x8
b.lt LBB0_19
LBB0_20:
ldr x8, [x19, #64]
cbz x8, LBB0_25
; %bb.21:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_24
; %bb.22:
mov x24, #0 ; =0x0
mov x25, #0 ; =0x0
LBB0_23: ; =>This Inner Loop Header: Depth=1
ldr x26, [x19, #48]
add x1, x26, x24
add x2, sp, #16
mov x0, x19
bl _finish_sample_noise
add x1, x26, x24
add x2, sp, #16
mov x0, x19
mov w3, #1 ; =0x1
bl _set_noise_profile
add x1, x26, x24
mov x0, x19
bl _set_band_parameters
add x25, x25, #1
ldrsw x8, [x21]
add x24, x24, #8
cmp x25, x8
b.lt LBB0_23
LBB0_24:
str wzr, [x19, #24]
str xzr, [x19, #64]
LBB0_25:
ldr w8, [x19, #56]
add w8, w8, #1
str w8, [x19, #56]
str x22, [sp, #16]
ldr x8, [x23]
ldr x26, [x8]
Lloh9:
adrp x8, _filter_channel@GOTPAGE
Lloh10:
ldr x8, [x8, _filter_channel@GOTPAGEOFF]
Lloh11:
ldr w24, [x8]
ldr w25, [x20]
mov x0, x23
bl _ff_filter_get_nb_threads
mov x1, x0
mov x0, x25
bl _FFMIN
mov x4, x0
add x2, sp, #16
mov x0, x23
mov x1, x24
mov x3, #0 ; =0x0
blr x26
ldr w1, [x19, #28]
mov x0, x20
bl _ff_get_audio_buffer
str x0, [sp, #8]
cbz x0, LBB0_59
; %bb.26:
mov x23, x0
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_57
; %bb.27:
mov x25, #0 ; =0x0
b LBB0_30
LBB0_28: ; in Loop: Header=BB0_30 Depth=1
; kill: def $w10 killed $w10 killed $x10 def $x10
LBB0_29: ; in Loop: Header=BB0_30 Depth=1
sub x1, x24, w10, sxtw #3
ldr w8, [x19]
sub w8, w8, w10
lsl w2, w8, #3
mov x0, x24
bl _memmove
ldr w8, [x19]
ldr w9, [x19, #28]
sub w8, w8, w9
add x0, x24, w8, sxtw #3
lsl w2, w9, #3
mov w1, #0 ; =0x0
bl _memset
add x25, x25, #1
ldrsw x8, [x21]
cmp x25, x8
b.ge LBB0_57
LBB0_30: ; =>This Loop Header: Depth=1
; Child Loop BB0_37 Depth 2
; Child Loop BB0_40 Depth 2
; Child Loop BB0_45 Depth 2
; Child Loop BB0_48 Depth 2
; Child Loop BB0_53 Depth 2
; Child Loop BB0_56 Depth 2
ldr x8, [x19, #48]
ldr x24, [x8, x25, lsl #3]
ldr x8, [x23, #8]
ldr x8, [x8, x25, lsl #3]
ldr w10, [x19, #32]
cmp w10, #128
b.eq LBB0_49
; %bb.31: ; in Loop: Header=BB0_30 Depth=1
ldr x9, [x22, #8]
ldr x9, [x9, x25, lsl #3]
cmp w10, #130
b.eq LBB0_41
; %bb.32: ; in Loop: Header=BB0_30 Depth=1
cmp w10, #129
b.ne LBB0_60
; %bb.33: ; in Loop: Header=BB0_30 Depth=1
ldr w10, [x19, #28]
cmp w10, #1
b.lt LBB0_29
; %bb.34: ; in Loop: Header=BB0_30 Depth=1
mov x11, #0 ; =0x0
cmp w10, #16
b.lo LBB0_39
; %bb.35: ; in Loop: Header=BB0_30 Depth=1
sub x12, x8, x9
cmp x12, #63
b.ls LBB0_39
; %bb.36: ; in Loop: Header=BB0_30 Depth=1
and x11, x10, #0x7ffffff0
add x12, x8, #32
add x13, x9, #32
add x14, x24, #64
mov x15, x11
LBB0_37: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x13, #-32]
ldp q2, q3, [x13], #64
fcvtl v4.2d, v0.2s
fcvtl2 v0.2d, v0.4s
fcvtl v5.2d, v1.2s
fcvtl2 v1.2d, v1.4s
fcvtl v6.2d, v2.2s
fcvtl2 v2.2d, v2.4s
fcvtl v7.2d, v3.2s
fcvtl2 v3.2d, v3.4s
ldp q16, q17, [x14, #-64]
ldp q18, q19, [x14, #-32]
ldp q20, q21, [x14]
ldp q22, q23, [x14, #32]
fsub.2d v0, v0, v17
fsub.2d v4, v4, v16
fsub.2d v1, v1, v19
fsub.2d v5, v5, v18
fsub.2d v2, v2, v21
fsub.2d v6, v6, v20
fsub.2d v3, v3, v23
fsub.2d v7, v7, v22
fcvtn v4.2s, v4.2d
fcvtn2 v4.4s, v0.2d
fcvtn v0.2s, v5.2d
fcvtn2 v0.4s, v1.2d
fcvtn v1.2s, v6.2d
fcvtn2 v1.4s, v2.2d
fcvtn v2.2s, v7.2d
fcvtn2 v2.4s, v3.2d
stp q4, q0, [x12, #-32]
stp q1, q2, [x12], #64
add x14, x14, #128
subs x15, x15, #16
b.ne LBB0_37
; %bb.38: ; in Loop: Header=BB0_30 Depth=1
cmp x11, x10
b.eq LBB0_29
LBB0_39: ; in Loop: Header=BB0_30 Depth=1
lsl x13, x11, #2
add x8, x8, x13
add x12, x24, x11, lsl #3
add x9, x9, x13
sub x11, x10, x11
LBB0_40: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x9], #4
ldr d1, [x12], #8
fcvt d0, s0
fsub d0, d0, d1
fcvt s0, d0
str s0, [x8], #4
subs x11, x11, #1
b.ne LBB0_40
b LBB0_29
LBB0_41: ; in Loop: Header=BB0_30 Depth=1
ldr w10, [x19, #28]
cmp w10, #1
b.lt LBB0_28
; %bb.42: ; in Loop: Header=BB0_30 Depth=1
mov x11, #0 ; =0x0
cmp w10, #16
b.lo LBB0_47
; %bb.43: ; in Loop: Header=BB0_30 Depth=1
sub x12, x8, x9
cmp x12, #64
b.lo LBB0_47
; %bb.44: ; in Loop: Header=BB0_30 Depth=1
and x11, x10, #0x7ffffff0
add x12, x8, #32
add x13, x9, #32
mov x14, x11
LBB0_45: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x13, #-32]
ldp q2, q3, [x13], #64
stp q0, q1, [x12, #-32]
stp q2, q3, [x12], #64
subs x14, x14, #16
b.ne LBB0_45
; %bb.46: ; in Loop: Header=BB0_30 Depth=1
cmp x11, x10
b.eq LBB0_28
LBB0_47: ; in Loop: Header=BB0_30 Depth=1
lsl x12, x11, #2
add x8, x8, x12
add x9, x9, x12
sub x11, x10, x11
LBB0_48: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldr s0, [x9], #4
str s0, [x8], #4
subs x11, x11, #1
b.ne LBB0_48
b LBB0_28
LBB0_49: ; in Loop: Header=BB0_30 Depth=1
ldr w10, [x19, #28]
cmp w10, #1
b.lt LBB0_28
; %bb.50: ; in Loop: Header=BB0_30 Depth=1
cmp w10, #15
b.hi LBB0_52
; %bb.51: ; in Loop: Header=BB0_30 Depth=1
mov x9, #0 ; =0x0
b LBB0_55
LBB0_52: ; in Loop: Header=BB0_30 Depth=1
and x9, x10, #0x7ffffff0
add x11, x8, #32
add x12, x24, #64
mov x13, x9
LBB0_53: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldp q1, q0, [x12, #-64]
ldp q3, q2, [x12, #-32]
ldp q5, q4, [x12]
ldp q7, q6, [x12, #32]
fcvtn v1.2s, v1.2d
fcvtn2 v1.4s, v0.2d
fcvtn v0.2s, v3.2d
fcvtn2 v0.4s, v2.2d
fcvtn v2.2s, v5.2d
fcvtn2 v2.4s, v4.2d
fcvtn v3.2s, v7.2d
fcvtn2 v3.4s, v6.2d
stp q1, q0, [x11, #-32]
stp q2, q3, [x11], #64
add x12, x12, #128
subs x13, x13, #16
b.ne LBB0_53
; %bb.54: ; in Loop: Header=BB0_30 Depth=1
cmp x9, x10
b.eq LBB0_28
LBB0_55: ; in Loop: Header=BB0_30 Depth=1
add x8, x8, x9, lsl #2
sub x11, x10, x9
add x9, x24, x9, lsl #3
LBB0_56: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
ldr d0, [x9], #8
fcvt s0, d0
str s0, [x8], #4
subs x11, x11, #1
b.ne LBB0_56
b LBB0_28
LBB0_57:
ldr w0, [x19, #40]
ldr w1, [x19, #28]
bl _av_audio_fifo_drain
ldr w8, [x19, #36]
str w8, [x23]
mov x0, x20
mov x1, x23
bl _ff_filter_frame
mov x24, x0
tbnz w0, #31, LBB0_61
; %bb.58:
ldr w8, [x19, #28]
ldr w9, [x19, #36]
add w8, w9, w8
str w8, [x19, #36]
b LBB0_61
LBB0_59:
Lloh12:
adrp x8, _ENOMEM@GOTPAGE
Lloh13:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _AVERROR
mov x24, x0
b LBB0_61
LBB0_60:
add x0, sp, #8
bl _av_frame_free
Lloh15:
adrp x8, _AVERROR_BUG@GOTPAGE
Lloh16:
ldr x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh17:
ldr w24, [x8]
LBB0_61:
mov x0, sp
bl _av_frame_free
ldur x8, [x29, #-72]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_63
; %bb.62:
mov x0, x24
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #224
ret
LBB0_63:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _filter_channel,4,2 ; @filter_channel
.comm _AVERROR_BUG,4,2 ; @AVERROR_BUG
.no_dead_strip _output_frame
.subsections_via_symbols
| assembly_file_131868.c | assembly_dataset |
.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 0x40091eb851eb851f ## double 3.1400000000000001
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movl $8, %edi
callq _malloc
movq %rax, %rbx
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
cvtsi2sdl (%rbx), %xmm0
movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm0, %xmm1
mulsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
movss %xmm0, 4(%rbx)
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
movq %rbx, %rdi
callq _free
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%f"
L_str: ## @str
.asciz "enter the radious of circle "
.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, #8
bl _malloc
mov x19, x0
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
str x19, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr s0, [x19]
sshll.2d v0, v0, #0
scvtf d0, d0
mov x8, #34079
movk x8, #20971, lsl #16
movk x8, #7864, lsl #32
movk x8, #16393, lsl #48
fmov d1, x8
fmul d1, d0, d1
fmul d0, d1, d0
fcvt s0, d0
str s0, [x19, #4]
fcvt d0, s0
str d0, [sp]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x0, x19
bl _free
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%f"
l_str: ; @str
.asciz "enter the radious of circle "
.subsections_via_symbols
| the_stack_data/61075504.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function create_arginit
_create_arginit: ## @create_arginit
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl $16, %esi
callq _bzero
leaq L_.str(%rip), %rax
movq %rax, (%rbx)
movq _rootfh@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl 4(%rax), %ecx
movl %ecx, 12(%rbx)
movl (%rax), %eax
movl %eax, 8(%rbx)
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pinky-blue"
.comm _rootfh,8,3 ## @rootfh
.no_dead_strip _create_arginit
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function create_arginit
_create_arginit: ; @create_arginit
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w1, #16
bl _bzero
Lloh0:
adrp x8, l_.str@PAGE
Lloh1:
add x8, x8, l_.str@PAGEOFF
str x8, [x19]
Lloh2:
adrp x8, _rootfh@GOTPAGE
Lloh3:
ldr x8, [x8, _rootfh@GOTPAGEOFF]
Lloh4:
ldr x8, [x8]
ldr d0, [x8]
str d0, [x19, #8]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pinky-blue"
.comm _rootfh,8,3 ; @rootfh
.no_dead_strip _create_arginit
.subsections_via_symbols
| AnghaBench/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/extr_tst.call3.c_create_arginit.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function fts5ExprNodeTest_NOT
_fts5ExprNodeTest_NOT: ## @fts5ExprNodeTest_NOT
.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, %r13
movq _SQLITE_OK@GOTPCREL(%rip), %r15
movl (%r15), %r12d
movq 32(%rsi), %rax
movq (%rax), %rbx
movq 8(%rax), %r14
xorl %edi, %edi
movq %rsi, -72(%rbp) ## 8-byte Spill
cmpl $2, (%rsi)
sete %dil
callq _assert
cmpl (%r15), %r12d
jne LBB0_10
## %bb.1:
movq %r14, -64(%rbp) ## 8-byte Spill
movq %r13, -80(%rbp) ## 8-byte Spill
movq %rbx, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%rbx)
jne LBB0_10
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, -44(%rbp) ## 4-byte Spill
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq _fts5NodeCompare
testl %eax, %eax
jle LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %r12
movq %r14, %r15
movl 16(%rbx), %ecx
movq %r13, %rdi
movq %r14, %rsi
movl $1, %edx
callq _fts5ExprNodeNext
movl %eax, %ebx
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq _fts5NodeCompare
movl %eax, %r14d
jmp LBB0_6
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %r14d
movl -44(%rbp), %ebx ## 4-byte Reload
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq _SQLITE_OK@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
setne %al
testl %r14d, %r14d
setle %cl
orb %al, %cl
movzbl %cl, %edi
callq _assert
testl %r14d, %r14d
movl %ebx, %r12d
jne LBB0_7
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq -64(%rbp), %r14 ## 8-byte Reload
cmpq $0, 24(%r14)
movq _SQLITE_OK@GOTPCREL(%rip), %r15
movq -80(%rbp), %r13 ## 8-byte Reload
movq -56(%rbp), %rbx ## 8-byte Reload
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq _fts5ExprNodeNext
movl %eax, %r12d
cmpl (%r15), %eax
je LBB0_2
jmp LBB0_10
LBB0_7:
movq -64(%rbp), %r14 ## 8-byte Reload
movq -56(%rbp), %rbx ## 8-byte Reload
LBB0_10:
movq 8(%rbx), %rax
movq -72(%rbp), %rcx ## 8-byte Reload
movq %rax, 8(%rcx)
movq 24(%rbx), %rax
movq %rax, 24(%rcx)
movl 16(%rbx), %eax
movl %eax, 16(%rcx)
cmpq $0, 8(%rbx)
je LBB0_12
## %bb.11:
movq %r14, %rdi
callq _fts5ExprNodeZeroPoslist
LBB0_12:
movl %r12d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _SQLITE_OK,4,2 ## @SQLITE_OK
.no_dead_strip _fts5ExprNodeTest_NOT
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function fts5ExprNodeTest_NOT
_fts5ExprNodeTest_NOT: ; @fts5ExprNodeTest_NOT
.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 x23, x0
Lloh0:
adrp x25, _SQLITE_OK@GOTPAGE
Lloh1:
ldr x25, [x25, _SQLITE_OK@GOTPAGEOFF]
ldr w22, [x25]
ldr x8, [x1, #32]
ldp x21, x20, [x8]
ldr w8, [x1]
cmp w8, #2
cset w0, eq
bl _assert
ldr w8, [x25]
cmp w22, w8
b.ne LBB0_7
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x21, #8]
cbnz x8, LBB0_7
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
mov x1, x21
mov x2, x20
bl _fts5NodeCompare
cmp w0, #1
b.lt LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr w3, [x21, #16]
mov x0, x23
mov x1, x20
mov w2, #1
bl _fts5ExprNodeNext
mov x22, x0
mov x0, x23
mov x1, x21
mov x2, x20
bl _fts5NodeCompare
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
mov x24, x0
ldr w8, [x25]
cmp w22, w8
ccmp w0, #1, #8, eq
cset w0, lt
bl _assert
cbnz w24, LBB0_7
; %bb.5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x20, #24]
cbnz x8, LBB0_7
; %bb.6: ; in Loop: Header=BB0_1 Depth=1
mov x0, x23
mov x1, x21
mov w2, #0
mov w3, #0
bl _fts5ExprNodeNext
mov x22, x0
ldr w8, [x25]
cmp w0, w8
b.eq LBB0_1
LBB0_7:
ldr x8, [x21, #8]
str x8, [x19, #8]
ldr x8, [x21, #24]
str x8, [x19, #24]
ldr w8, [x21, #16]
str w8, [x19, #16]
ldr x8, [x21, #8]
cbz x8, LBB0_9
; %bb.8:
mov x0, x20
bl _fts5ExprNodeZeroPoslist
LBB0_9:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _SQLITE_OK,4,2 ; @SQLITE_OK
.no_dead_strip _fts5ExprNodeTest_NOT
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/fts5/extr_fts5_expr.c_fts5ExprNodeTest_NOT.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yy_create_buffer ## -- Begin function yy_create_buffer
.p2align 4, 0x90
_yy_create_buffer: ## @yy_create_buffer
.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, %r15d
movq %rdi, %r14
movl $4, %edi
callq _yyalloc
movq %rax, %rbx
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _YY_FATAL_ERROR
LBB0_2:
movl %r15d, (%rbx)
addl $2, %r15d
movl %r15d, %edi
callq _yyalloc
movq %rax, 8(%rbx)
testq %rax, %rax
jne LBB0_4
## %bb.3:
leaq L_.str(%rip), %rdi
callq _YY_FATAL_ERROR
LBB0_4:
movl $1, 16(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
callq _yy_init_buffer
movq %rbx, %rax
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 "out of dynamic memory in yy_create_buffer()"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _yy_create_buffer ; -- Begin function yy_create_buffer
.p2align 2
_yy_create_buffer: ; @yy_create_buffer
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x1
mov x19, x0
mov w0, #4
bl _yyalloc
mov x20, x0
cbnz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _YY_FATAL_ERROR
LBB0_2:
str w21, [x20]
add w0, w21, #2
bl _yyalloc
str x0, [x20, #8]
cbnz x0, LBB0_4
; %bb.3:
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _YY_FATAL_ERROR
LBB0_4:
mov w8, #1
str w8, [x20, #16]
mov x0, x20
mov x1, x19
bl _yy_init_buffer
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "out of dynamic memory in yy_create_buffer()"
.subsections_via_symbols
| AnghaBench/freebsd/crypto/heimdal/lib/com_err/extr_lex.c_yy_create_buffer.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function acpi_ut_update_ref_count
_acpi_ut_update_ref_count: ## @acpi_ut_update_ref_count
.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, %ebx
movq %rdi, %r12
movq _ut_update_ref_count@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _ACPI_FUNCTION_NAME
testq %r12, %r12
je LBB0_12
## %bb.1:
movq _acpi_gbl_reference_count_lock@GOTPCREL(%rip), %r13
movl (%r13), %edi
callq _acpi_os_acquire_lock
movl %eax, %esi
movq (%r12), %r15
cmpl $129, %ebx
je LBB0_6
## %bb.2:
cmpl $128, %ebx
jne LBB0_13
## %bb.3:
leaq 1(%r15), %r14
movq %r14, (%r12)
movl (%r13), %edi
callq _acpi_os_release_lock
testq %r15, %r15
jne LBB0_5
## %bb.4:
movl %r12d, %edi
callq _ACPI_WARNING
LBB0_5:
movq %r12, %rdi
callq _acpi_ut_get_object_type_name
movl %r14d, %edi
callq _ACPI_DEBUG_PRINT
leaq L_.str.2(%rip), %rdi
jmp LBB0_11
LBB0_6:
testq %r15, %r15
je LBB0_7
## %bb.9:
decq %r15
movq %r15, (%r12)
movl (%r13), %edi
callq _acpi_os_release_lock
movl %r15d, %edi
callq _ACPI_DEBUG_PRINT_RAW
testq %r15, %r15
je LBB0_8
## %bb.10:
leaq L_.str.5(%rip), %rdi
movq %r15, %r14
jmp LBB0_11
LBB0_13:
movl (%r13), %edi
callq _acpi_os_release_lock
movl %ebx, %edi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ACPI_ERROR ## TAILCALL
LBB0_7:
movl (%r13), %edi
callq _acpi_os_release_lock
movl %r12d, %edi
callq _ACPI_WARNING
xorl %edi, %edi
callq _ACPI_DEBUG_PRINT_RAW
LBB0_8:
movq %r12, %rdi
callq _acpi_ut_delete_internal_obj
leaq L_.str.5(%rip), %rdi
xorl %r14d, %r14d
LBB0_11:
movq _ACPI_MAX_REFERENCE_COUNT@GOTPCREL(%rip), %rax
cmpq (%rax), %r14
jle LBB0_12
## %bb.14:
## kill: def $edi killed $edi killed $rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _ACPI_WARNING ## TAILCALL
LBB0_12:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ut_update_ref_count,4,2 ## @ut_update_ref_count
.comm _acpi_gbl_reference_count_lock,4,2 ## @acpi_gbl_reference_count_lock
.comm _AE_INFO,4,2 ## @AE_INFO
.comm _ACPI_DB_ALLOCATIONS,4,2 ## @ACPI_DB_ALLOCATIONS
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "Incremement"
.comm _ACPI_GET_FUNCTION_NAME,4,2 ## @ACPI_GET_FUNCTION_NAME
L_.str.5: ## @.str.5
.asciz "Decrement"
.comm _ACPI_MAX_REFERENCE_COUNT,8,3 ## @ACPI_MAX_REFERENCE_COUNT
.no_dead_strip _acpi_ut_update_ref_count
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function acpi_ut_update_ref_count
_acpi_ut_update_ref_count: ; @acpi_ut_update_ref_count
.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
Lloh0:
adrp x8, _ut_update_ref_count@GOTPAGE
Lloh1:
ldr x8, [x8, _ut_update_ref_count@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _ACPI_FUNCTION_NAME
cbz x19, LBB0_14
; %bb.1:
Lloh3:
adrp x21, _acpi_gbl_reference_count_lock@GOTPAGE
Lloh4:
ldr x21, [x21, _acpi_gbl_reference_count_lock@GOTPAGEOFF]
ldr w0, [x21]
bl _acpi_os_acquire_lock
mov x1, x0
ldr x22, [x19]
cmp w20, #129
b.eq LBB0_6
; %bb.2:
cmp w20, #128
b.ne LBB0_8
; %bb.3:
add x20, x22, #1
str x20, [x19]
ldr w0, [x21]
bl _acpi_os_release_lock
cbnz x22, LBB0_5
; %bb.4:
mov x0, x19
bl _ACPI_WARNING
LBB0_5:
mov x0, x19
bl _acpi_ut_get_object_type_name
mov x0, x20
bl _ACPI_DEBUG_PRINT
Lloh5:
adrp x0, l_.str.2@PAGE
Lloh6:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_12
LBB0_6:
cbz x22, LBB0_9
; %bb.7:
sub x20, x22, #1
str x20, [x19]
ldr w0, [x21]
bl _acpi_os_release_lock
mov x0, x20
bl _ACPI_DEBUG_PRINT_RAW
cbnz x20, LBB0_11
b LBB0_10
LBB0_8:
ldr w0, [x21]
bl _acpi_os_release_lock
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 _ACPI_ERROR
LBB0_9:
ldr w0, [x21]
bl _acpi_os_release_lock
mov x0, x19
bl _ACPI_WARNING
mov w0, #0
bl _ACPI_DEBUG_PRINT_RAW
LBB0_10:
mov x0, x19
bl _acpi_ut_delete_internal_obj
mov x20, #0
LBB0_11:
Lloh7:
adrp x0, l_.str.5@PAGE
Lloh8:
add x0, x0, l_.str.5@PAGEOFF
LBB0_12:
Lloh9:
adrp x8, _ACPI_MAX_REFERENCE_COUNT@GOTPAGE
Lloh10:
ldr x8, [x8, _ACPI_MAX_REFERENCE_COUNT@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x20, x8
b.le LBB0_14
; %bb.13:
; kill: def $w0 killed $w0 killed $x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _ACPI_WARNING
LBB0_14:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _ut_update_ref_count,4,2 ; @ut_update_ref_count
.comm _acpi_gbl_reference_count_lock,4,2 ; @acpi_gbl_reference_count_lock
.comm _AE_INFO,4,2 ; @AE_INFO
.comm _ACPI_DB_ALLOCATIONS,4,2 ; @ACPI_DB_ALLOCATIONS
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "Incremement"
.comm _ACPI_GET_FUNCTION_NAME,4,2 ; @ACPI_GET_FUNCTION_NAME
l_.str.5: ; @.str.5
.asciz "Decrement"
.comm _ACPI_MAX_REFERENCE_COUNT,8,3 ; @ACPI_MAX_REFERENCE_COUNT
.no_dead_strip _acpi_ut_update_ref_count
.subsections_via_symbols
| AnghaBench/linux/drivers/acpi/acpica/extr_utdelete.c_acpi_ut_update_ref_count.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function setup_window
LCPI0_0:
.long 0x40400000 ## float 3
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_setup_window: ## @setup_window
.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
leaq 24(%rdi), %rsi
movl %r14d, %edi
callq _GetWindowThreadProcessId
movq 24(%rbx), %rdx
testq %rdx, %rdx
je LBB0_5
## %bb.1:
movq _PROCESS_QUERY_INFORMATION@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _open_process
testq %rax, %rax
je LBB0_5
## %bb.2:
movq %rax, %r15
movq %rax, %rdi
callq _is_app
movl %eax, 20(%rbx)
testl %eax, %eax
je LBB0_4
## %bb.3:
movq %r15, %rdi
callq _get_app_sid
movl %eax, 16(%rbx)
LBB0_4:
movq %r15, %rdi
callq _CloseHandle
LBB0_5:
movq _EVENT_CAPTURE_RESTART@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _open_event_gc
testq %rax, %rax
je LBB0_7
## %bb.6:
movl $0, (%rbx)
movq %rax, %rdi
callq _CloseHandle
LBB0_7:
cmpl $0, (%rbx)
je LBB0_9
## %bb.8:
movl 12(%rbx), %edi
callq _hook_rate_to_float
mulss LCPI0_0(%rip), %xmm0
movss %xmm0, 4(%rbx)
movl $0, (%rbx)
jmp LBB0_10
LBB0_9:
movl %r14d, 8(%rbx)
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PROCESS_QUERY_INFORMATION,4,2 ## @PROCESS_QUERY_INFORMATION
.comm _EVENT_CAPTURE_RESTART,4,2 ## @EVENT_CAPTURE_RESTART
.no_dead_strip _setup_window
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setup_window
_setup_window: ; @setup_window
.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
add x1, x0, #24
mov x0, x20
bl _GetWindowThreadProcessId
ldr x2, [x19, #24]
cbz x2, LBB0_5
; %bb.1:
Lloh0:
adrp x8, _PROCESS_QUERY_INFORMATION@GOTPAGE
Lloh1:
ldr x8, [x8, _PROCESS_QUERY_INFORMATION@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0
bl _open_process
cbz x0, LBB0_5
; %bb.2:
mov x21, x0
bl _is_app
str w0, [x19, #20]
cbz w0, LBB0_4
; %bb.3:
mov x0, x21
bl _get_app_sid
str w0, [x19, #16]
LBB0_4:
mov x0, x21
bl _CloseHandle
LBB0_5:
Lloh3:
adrp x8, _EVENT_CAPTURE_RESTART@GOTPAGE
Lloh4:
ldr x8, [x8, _EVENT_CAPTURE_RESTART@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _open_event_gc
cbz x0, LBB0_7
; %bb.6:
str wzr, [x19]
bl _CloseHandle
LBB0_7:
ldr w8, [x19]
cbz w8, LBB0_9
; %bb.8:
ldr w0, [x19, #12]
bl _hook_rate_to_float
fmov s1, #3.00000000
fmul s0, s0, s1
str s0, [x19, #4]
str wzr, [x19]
b LBB0_10
LBB0_9:
str w20, [x19, #8]
LBB0_10:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _PROCESS_QUERY_INFORMATION,4,2 ; @PROCESS_QUERY_INFORMATION
.comm _EVENT_CAPTURE_RESTART,4,2 ; @EVENT_CAPTURE_RESTART
.no_dead_strip _setup_window
.subsections_via_symbols
| AnghaBench/obs-studio/plugins/win-capture/extr_game-capture.c_setup_window.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function omap4_clkdm_restore_context
_omap4_clkdm_restore_context: ## @omap4_clkdm_restore_context
.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
addl $-128, %eax
cmpl $3, %eax
ja LBB0_6
## %bb.1:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_4:
callq _omap4_clkdm_wakeup
jmp LBB0_6
LBB0_3:
callq _omap4_clkdm_sleep
jmp LBB0_6
LBB0_5:
callq _omap4_clkdm_allow_idle
jmp LBB0_6
LBB0_2:
callq _omap4_clkdm_deny_idle
LBB0_6:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-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_3
.long L0_0_set_5
.long L0_0_set_2
.end_data_region
## -- End function
.no_dead_strip _omap4_clkdm_restore_context
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function omap4_clkdm_restore_context
_omap4_clkdm_restore_context: ; @omap4_clkdm_restore_context
.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, #128
cmp w8, #3
b.hi LBB0_6
; %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:
bl _omap4_clkdm_wakeup
b LBB0_6
LBB0_3:
bl _omap4_clkdm_sleep
b LBB0_6
LBB0_4:
bl _omap4_clkdm_allow_idle
b LBB0_6
LBB0_5:
bl _omap4_clkdm_deny_idle
LBB0_6:
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_3-LBB0_2)>>2
.byte (LBB0_4-LBB0_2)>>2
.byte (LBB0_5-LBB0_2)>>2
; -- End function
.no_dead_strip _omap4_clkdm_restore_context
.subsections_via_symbols
| AnghaBench/linux/arch/arm/mach-omap2/extr_cminst44xx.c_omap4_clkdm_restore_context.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function mt7601u_phy_rf_pa_mode_val
_mt7601u_phy_rf_pa_mode_val: ## @mt7601u_phy_rf_pa_mode_val
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edx, %ecx
cmpl $129, %esi
je LBB0_3
## %bb.1:
cmpl $128, %esi
jne LBB0_4
## %bb.2:
addl $4, %ecx
LBB0_3:
movq (%rdi), %rax
jmp LBB0_5
LBB0_4:
movq (%rdi), %rax
addq $4, %rax
LBB0_5:
movl (%rax), %eax
addl %ecx, %ecx
## kill: def $cl killed $cl killed $ecx
sarl %cl, %eax
andl $3, %eax
leaq _mt7601u_phy_rf_pa_mode_val.decode_tb(%rip), %rcx
movl (%rcx,%rax,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @mt7601u_phy_rf_pa_mode_val.decode_tb
_mt7601u_phy_rf_pa_mode_val.decode_tb:
.long 0 ## 0x0
.long 8847 ## 0x228f
.long 4294961562 ## 0xffffe99a
.long 4294961562 ## 0xffffe99a
.no_dead_strip _mt7601u_phy_rf_pa_mode_val
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function mt7601u_phy_rf_pa_mode_val
_mt7601u_phy_rf_pa_mode_val: ; @mt7601u_phy_rf_pa_mode_val
.cfi_startproc
; %bb.0:
cmp w1, #129
b.eq LBB0_3
; %bb.1:
cmp w1, #128
b.ne LBB0_4
; %bb.2:
add w2, w2, #4
LBB0_3:
ldr x8, [x0]
b LBB0_5
LBB0_4:
ldr x8, [x0]
add x8, x8, #4
LBB0_5:
ldr w8, [x8]
lsl w9, w2, #1
asr w8, w8, w9
and w8, w8, #0x3
Lloh0:
adrp x9, _mt7601u_phy_rf_pa_mode_val.decode_tb@PAGE
Lloh1:
add x9, x9, _mt7601u_phy_rf_pa_mode_val.decode_tb@PAGEOFF
ldr w0, [x9, w8, uxtw #2]
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @mt7601u_phy_rf_pa_mode_val.decode_tb
_mt7601u_phy_rf_pa_mode_val.decode_tb:
.long 0 ; 0x0
.long 8847 ; 0x228f
.long 4294961562 ; 0xffffe99a
.long 4294961562 ; 0xffffe99a
.no_dead_strip _mt7601u_phy_rf_pa_mode_val
.subsections_via_symbols
| AnghaBench/linux/drivers/net/wireless/mediatek/mt7601u/extr_phy.c_mt7601u_phy_rf_pa_mode_val.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Cbuf_Execute ## -- Begin function Cbuf_Execute
.p2align 4, 0x90
_Cbuf_Execute: ## @Cbuf_Execute
.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 ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAX_CMD_LINE@GOTPCREL(%rip), %rax
movl (%rax), %eax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %rbx
movq _cmd_text@GOTPCREL(%rip), %r15
movl (%r15), %ecx
testl %ecx, %ecx
je LBB0_42
## %bb.1:
movq _qfalse@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq %r13, %r12
jmp LBB0_4
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movl %eax, %edx
notl %edx
addl %ecx, %edx
movl %edx, (%r15)
leaq (%rax,%r14), %rsi
incq %rsi
movq %r14, %rdi
callq _memmove
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
movq %rbx, %rdi
callq _Cmd_ExecuteString
movl (%r15), %ecx
testl %ecx, %ecx
je LBB0_42
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_9 Depth 2
movq _cmd_wait@GOTPCREL(%rip), %rax
movq (%rax), %rax
testq %rax, %rax
jg LBB0_41
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq 8(%r15), %r14
testl %ecx, %ecx
js LBB0_34
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq _qtrue@GOTPCREL(%rip), %rax
movq (%rax), %rdx
incl %ecx
xorl %eax, %eax
xorl %esi, %esi
jmp LBB0_9
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_9 Depth=2
testq %r12, %r12
je LBB0_31
LBB0_8: ## in Loop: Header=BB0_9 Depth=2
incq %rax
cmpq %rax, %rcx
je LBB0_35
LBB0_9: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl %esi, %r8d
movzbl (%r14,%rax), %edi
xorl %esi, %esi
cmpl $34, %edi
sete %sil
addl %r8d, %esi
testb $1, %sil
jne LBB0_7
## %bb.10: ## in Loop: Header=BB0_9 Depth=2
testq %r12, %r12
jne LBB0_14
## %bb.11: ## in Loop: Header=BB0_9 Depth=2
cmpb $47, %dil
jne LBB0_14
## %bb.12: ## in Loop: Header=BB0_9 Depth=2
movzbl 1(%r14,%rax), %r8d
cmpb $47, %r8b
jne LBB0_21
## %bb.13: ## in Loop: Header=BB0_9 Depth=2
xorl %r8d, %r8d
movq %rdx, %r13
jmp LBB0_28
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_9 Depth=2
testq %r13, %r13
jne LBB0_18
## %bb.15: ## in Loop: Header=BB0_9 Depth=2
cmpb $47, %dil
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_9 Depth=2
cmpb $42, 1(%r14,%rax)
je LBB0_25
## %bb.17: ## in Loop: Header=BB0_9 Depth=2
movl $0, %r8d
movl $0, %r13d
testq %r12, %r12
jne LBB0_8
jmp LBB0_28
LBB0_18: ## in Loop: Header=BB0_9 Depth=2
testq %r12, %r12
je LBB0_23
## %bb.19: ## in Loop: Header=BB0_9 Depth=2
cmpl $42, %edi
jne LBB0_8
## %bb.20: ## in Loop: Header=BB0_9 Depth=2
cmpb $47, 1(%r14,%rax)
jne LBB0_8
jmp LBB0_40
LBB0_21: ## in Loop: Header=BB0_9 Depth=2
testq %r13, %r13
jne LBB0_22
## %bb.24: ## in Loop: Header=BB0_9 Depth=2
cmpb $42, %r8b
jne LBB0_26
LBB0_25: ## in Loop: Header=BB0_9 Depth=2
movq %rdx, %r8
jmp LBB0_27
LBB0_23: ## in Loop: Header=BB0_9 Depth=2
xorl %r8d, %r8d
jmp LBB0_28
LBB0_26: ## in Loop: Header=BB0_9 Depth=2
xorl %r8d, %r8d
LBB0_27: ## in Loop: Header=BB0_9 Depth=2
xorl %r13d, %r13d
LBB0_28: ## in Loop: Header=BB0_9 Depth=2
movq %r13, %r9
orq %r8, %r9
movq %r8, %r12
jne LBB0_7
## %bb.29: ## in Loop: Header=BB0_9 Depth=2
cmpl $59, %edi
je LBB0_39
## %bb.30: ## in Loop: Header=BB0_9 Depth=2
xorl %r13d, %r13d
LBB0_31: ## in Loop: Header=BB0_9 Depth=2
cmpl $13, %edi
je LBB0_36
## %bb.32: ## in Loop: Header=BB0_9 Depth=2
cmpl $10, %edi
je LBB0_36
LBB0_22: ## in Loop: Header=BB0_9 Depth=2
xorl %r12d, %r12d
jmp LBB0_8
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_4 Depth=1
xorl %eax, %eax
jmp LBB0_37
.p2align 4, 0x90
LBB0_35: ## in Loop: Header=BB0_4 Depth=1
movl %ecx, %eax
jmp LBB0_37
.p2align 4, 0x90
LBB0_36: ## in Loop: Header=BB0_4 Depth=1
movq _qfalse@GOTPCREL(%rip), %rcx
movq (%rcx), %r13
xorl %r12d, %r12d
LBB0_37: ## in Loop: Header=BB0_4 Depth=1
movq _MAX_CMD_LINE@GOTPCREL(%rip), %rcx
movl (%rcx), %r15d
decl %r15d
cmpl %r15d, %eax
cmovll %eax, %r15d
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq _Com_Memcpy
movslq %r15d, %rax
movb $0, (%rbx,%rax)
movq _cmd_text@GOTPCREL(%rip), %r15
movl (%r15), %ecx
cmpl %ecx, %eax
jne LBB0_2
## %bb.38: ## in Loop: Header=BB0_4 Depth=1
movl $0, (%r15)
jmp LBB0_3
LBB0_39: ## in Loop: Header=BB0_4 Depth=1
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_37
LBB0_40: ## in Loop: Header=BB0_4 Depth=1
incl %eax
movq _qfalse@GOTPCREL(%rip), %rcx
movq (%rcx), %r12
jmp LBB0_37
LBB0_41:
decq %rax
movq _cmd_wait@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
LBB0_42:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_44
## %bb.43:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_44:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAX_CMD_LINE,4,2 ## @MAX_CMD_LINE
.comm _qfalse,8,3 ## @qfalse
.comm _cmd_text,16,3 ## @cmd_text
.comm _cmd_wait,8,3 ## @cmd_wait
.comm _qtrue,8,3 ## @qtrue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _Cbuf_Execute ; -- Begin function Cbuf_Execute
.p2align 2
_Cbuf_Execute: ; @Cbuf_Execute
.cfi_startproc
; %bb.0:
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
sub sp, sp, #16
.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 x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x22, _MAX_CMD_LINE@GOTPAGE
Lloh4:
ldr x22, [x22, _MAX_CMD_LINE@GOTPAGEOFF]
ldr w8, [x22]
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x1fffffff0
sub x19, x9, x8
mov sp, x19
Lloh7:
adrp x23, _cmd_text@GOTPAGE
Lloh8:
ldr x23, [x23, _cmd_text@GOTPAGEOFF]
ldr w11, [x23]
cbz w11, LBB0_38
; %bb.1:
Lloh9:
adrp x24, _qfalse@GOTPAGE
Lloh10:
ldr x24, [x24, _qfalse@GOTPAGEOFF]
ldr x28, [x24]
Lloh11:
adrp x25, _cmd_wait@GOTPAGE
Lloh12:
ldr x25, [x25, _cmd_wait@GOTPAGEOFF]
Lloh13:
adrp x26, _qtrue@GOTPAGE
Lloh14:
ldr x26, [x26, _qtrue@GOTPAGEOFF]
mov x27, x28
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add x8, x8, #1
sub w2, w9, w8
str w2, [x23]
add x1, x20, x8
mov x0, x20
bl _memmove
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
bl _Cmd_ExecuteString
ldr w11, [x23]
cbz w11, LBB0_38
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_9 Depth 2
ldr x8, [x25]
subs x8, x8, #1
b.ge LBB0_37
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x20, [x23, #8]
tbnz w11, #31, LBB0_31
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
ldr x10, [x26]
add w11, w11, #1
add x12, x20, #1
mov x13, x11
mov x14, x28
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=2
cbz x27, LBB0_29
LBB0_8: ; in Loop: Header=BB0_9 Depth=2
add x8, x8, #1
add x12, x12, #1
subs x13, x13, #1
b.eq LBB0_32
LBB0_9: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldurb w15, [x12, #-1]
cmp w15, #34
cinc w9, w9, eq
tbnz w9, #0, LBB0_7
; %bb.10: ; in Loop: Header=BB0_9 Depth=2
cbnz x27, LBB0_14
; %bb.11: ; in Loop: Header=BB0_9 Depth=2
cmp w15, #47
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_9 Depth=2
ldrb w16, [x12]
cmp w16, #47
b.ne LBB0_21
; %bb.13: ; in Loop: Header=BB0_9 Depth=2
mov x16, #0 ; =0x0
mov x14, x10
b LBB0_27
LBB0_14: ; in Loop: Header=BB0_9 Depth=2
cbnz x14, LBB0_18
; %bb.15: ; in Loop: Header=BB0_9 Depth=2
cmp w15, #47
b.ne LBB0_18
; %bb.16: ; in Loop: Header=BB0_9 Depth=2
ldrb w14, [x12]
cmp w14, #42
b.eq LBB0_25
; %bb.17: ; in Loop: Header=BB0_9 Depth=2
mov x16, #0 ; =0x0
mov x14, #0 ; =0x0
cbnz x27, LBB0_8
b LBB0_27
LBB0_18: ; in Loop: Header=BB0_9 Depth=2
cbz x27, LBB0_23
; %bb.19: ; in Loop: Header=BB0_9 Depth=2
cmp w15, #42
b.ne LBB0_8
; %bb.20: ; in Loop: Header=BB0_9 Depth=2
ldrb w15, [x12]
cmp w15, #47
b.ne LBB0_8
b LBB0_36
LBB0_21: ; in Loop: Header=BB0_9 Depth=2
cbz x14, LBB0_24
; %bb.22: ; in Loop: Header=BB0_9 Depth=2
mov x27, #0 ; =0x0
b LBB0_8
LBB0_23: ; in Loop: Header=BB0_9 Depth=2
mov x16, #0 ; =0x0
b LBB0_27
LBB0_24: ; in Loop: Header=BB0_9 Depth=2
cmp w16, #42
b.ne LBB0_26
LBB0_25: ; in Loop: Header=BB0_9 Depth=2
mov x14, #0 ; =0x0
mov x16, x10
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_9 Depth=2
mov x16, #0 ; =0x0
mov x14, #0 ; =0x0
LBB0_27: ; in Loop: Header=BB0_9 Depth=2
mov x27, x16
orr x16, x14, x16
cbnz x16, LBB0_7
; %bb.28: ; in Loop: Header=BB0_9 Depth=2
mov x14, #0 ; =0x0
mov x27, #0 ; =0x0
mov x28, #0 ; =0x0
cmp w15, #59
b.eq LBB0_34
LBB0_29: ; in Loop: Header=BB0_9 Depth=2
cmp w15, #13
mov x27, #0 ; =0x0
ccmp w15, #10, #4, ne
b.ne LBB0_8
; %bb.30: ; in Loop: Header=BB0_4 Depth=1
ldr x28, [x24]
b LBB0_34
LBB0_31: ; in Loop: Header=BB0_4 Depth=1
mov w8, #0 ; =0x0
b LBB0_34
LBB0_32: ; in Loop: Header=BB0_4 Depth=1
mov x8, x11
LBB0_33: ; in Loop: Header=BB0_4 Depth=1
mov x28, x14
LBB0_34: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x22]
sub w9, w9, #1
cmp w8, w9
csel w21, w8, w9, lt
mov x0, x19
mov x1, x20
mov x2, x21
bl _Com_Memcpy
sxtw x8, w21
strb wzr, [x19, x8]
ldr w9, [x23]
cmp w21, w9
b.ne LBB0_2
; %bb.35: ; in Loop: Header=BB0_4 Depth=1
str wzr, [x23]
b LBB0_3
LBB0_36: ; in Loop: Header=BB0_4 Depth=1
add w8, w8, #1
ldr x27, [x24]
b LBB0_33
LBB0_37:
str x8, [x25]
LBB0_38:
ldur x8, [x29, #-88]
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_40
; %bb.39:
sub sp, x29, #80
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_40:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _MAX_CMD_LINE,4,2 ; @MAX_CMD_LINE
.comm _qfalse,8,3 ; @qfalse
.comm _cmd_text,16,3 ; @cmd_text
.comm _cmd_wait,8,3 ; @cmd_wait
.comm _qtrue,8,3 ; @qtrue
.subsections_via_symbols
| assembly_file_123405.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function ZWRAPC_finishWithErrorMsg
_ZWRAPC_finishWithErrorMsg: ## @ZWRAPC_finishWithErrorMsg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, %rax
movq 8(%rdi), %rdi
movq %rsi, (%rax)
testq %rdi, %rdi
je LBB0_1
## %bb.2:
movq %rax, %rsi
xorl %edx, %edx
popq %rbp
jmp _ZWRAPC_finishWithError ## TAILCALL
LBB0_1:
movq _Z_STREAM_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Z_STREAM_ERROR,4,2 ## @Z_STREAM_ERROR
.no_dead_strip _ZWRAPC_finishWithErrorMsg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function ZWRAPC_finishWithErrorMsg
_ZWRAPC_finishWithErrorMsg: ; @ZWRAPC_finishWithErrorMsg
.cfi_startproc
; %bb.0:
mov x8, x0
ldr x0, [x0, #8]
str x1, [x8]
cbz x0, LBB0_2
; %bb.1:
mov x1, x8
mov w2, #0
b _ZWRAPC_finishWithError
LBB0_2:
Lloh0:
adrp x8, _Z_STREAM_ERROR@GOTPAGE
Lloh1:
ldr x8, [x8, _Z_STREAM_ERROR@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Z_STREAM_ERROR,4,2 ; @Z_STREAM_ERROR
.no_dead_strip _ZWRAPC_finishWithErrorMsg
.subsections_via_symbols
| AnghaBench/zstd/zlibWrapper/extr_zstd_zlibwrapper.c_ZWRAPC_finishWithErrorMsg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_http_lua_read_bytes ## -- Begin function ngx_http_lua_read_bytes
.p2align 4, 0x90
_ngx_http_lua_read_bytes: ## @ngx_http_lua_read_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rcx, %rcx
je LBB0_1
## %bb.2:
movq (%rdx), %r8
movq (%rsi), %rax
movq (%rax), %rsi
cmpq %rcx, %r8
jbe LBB0_3
## %bb.4:
addq %rcx, %rsi
movq %rsi, (%rax)
addq %rcx, (%rdi)
movq (%rdx), %rsi
subq %rcx, %rsi
movq _NGX_AGAIN@GOTPCREL(%rip), %rax
jmp LBB0_5
LBB0_1:
movq _NGX_ERROR@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_3:
addq %r8, %rsi
movq %rsi, (%rax)
movq (%rdx), %rax
addq %rax, (%rdi)
movq _NGX_OK@GOTPCREL(%rip), %rax
xorl %esi, %esi
LBB0_5:
movq %rsi, (%rdx)
LBB0_6:
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NGX_ERROR,4,2 ## @NGX_ERROR
.comm _NGX_OK,4,2 ## @NGX_OK
.comm _NGX_AGAIN,4,2 ## @NGX_AGAIN
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ngx_http_lua_read_bytes ; -- Begin function ngx_http_lua_read_bytes
.p2align 2
_ngx_http_lua_read_bytes: ; @ngx_http_lua_read_bytes
.cfi_startproc
; %bb.0:
cbz x3, LBB0_3
; %bb.1:
ldr x10, [x2]
ldr x8, [x1]
ldr x11, [x8]
cmp x10, x3
b.ls LBB0_4
; %bb.2:
add x9, x11, x3
str x9, [x8]
ldr x8, [x0]
add x8, x8, x3
str x8, [x0]
ldr x8, [x2]
sub x9, x8, x3
Lloh0:
adrp x8, _NGX_AGAIN@GOTPAGE
Lloh1:
ldr x8, [x8, _NGX_AGAIN@GOTPAGEOFF]
b LBB0_5
LBB0_3:
Lloh2:
adrp x8, _NGX_ERROR@GOTPAGE
Lloh3:
ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ret
LBB0_4:
mov x9, #0
add x10, x11, x10
str x10, [x8]
ldr x8, [x2]
ldr x10, [x0]
add x8, x10, x8
str x8, [x0]
Lloh5:
adrp x8, _NGX_OK@GOTPAGE
Lloh6:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
LBB0_5:
str x9, [x2]
ldr w0, [x8]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _NGX_ERROR,4,2 ; @NGX_ERROR
.comm _NGX_OK,4,2 ; @NGX_OK
.comm _NGX_AGAIN,4,2 ; @NGX_AGAIN
.subsections_via_symbols
| AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_input_filters.c_ngx_http_lua_read_bytes.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
leaq L_str.3(%rip), %rdi
callq _puts
leaq L_str.4(%rip), %rdi
callq _puts
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_str: ## @str
.asciz "Condition is true, because a and b is non-zero"
L_str.3: ## @str.3
.asciz "Condition is true, because a or b is non-zero"
L_str.4: ## @str.4
.asciz "Condition is true, because NOT reversed the logical condition"
.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
Lloh2:
adrp x0, l_str.3@PAGE
Lloh3:
add x0, x0, l_str.3@PAGEOFF
bl _puts
Lloh4:
adrp x0, l_str.4@PAGE
Lloh5:
add x0, x0, l_str.4@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_str: ; @str
.asciz "Condition is true, because a and b is non-zero"
l_str.3: ; @str.3
.asciz "Condition is true, because a or b is non-zero"
l_str.4: ; @str.4
.asciz "Condition is true, because NOT reversed the logical condition"
.subsections_via_symbols
| the_stack_data/567383.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function whereLoopDelete
_whereLoopDelete: ## @whereLoopDelete
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
callq _whereLoopClear
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _sqlite3DbFreeNN ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _whereLoopDelete
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function whereLoopDelete
_whereLoopDelete: ; @whereLoopDelete
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
bl _whereLoopClear
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _sqlite3DbFreeNN
.cfi_endproc
; -- End function
.no_dead_strip _whereLoopDelete
.subsections_via_symbols
| AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_whereLoopDelete.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iscsi_pdu_handle_reject
_iscsi_pdu_handle_reject: ## @iscsi_pdu_handle_reject
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _PDU_SESSION
movq (%rbx), %rcx
movl (%rcx), %edx
leaq L_.str(%rip), %rsi
movq %rax, %rdi
callq _ISCSI_SESSION_WARN
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _icl_pdu_free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "received Reject PDU, reason 0x%x; protocol error?"
.no_dead_strip _iscsi_pdu_handle_reject
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iscsi_pdu_handle_reject
_iscsi_pdu_handle_reject: ; @iscsi_pdu_handle_reject
.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 _PDU_SESSION
ldr x8, [x19]
ldr w2, [x8]
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _ISCSI_SESSION_WARN
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _icl_pdu_free
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "received Reject PDU, reason 0x%x; protocol error?"
.no_dead_strip _iscsi_pdu_handle_reject
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/iscsi/extr_iscsi.c_iscsi_pdu_handle_reject.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function snd_ymfpci_writew
_snd_ymfpci_writew: ## @snd_ymfpci_writew
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
addq (%rdi), %rsi
movl %edx, %edi
popq %rbp
jmp _writew ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _snd_ymfpci_writew
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function snd_ymfpci_writew
_snd_ymfpci_writew: ; @snd_ymfpci_writew
.cfi_startproc
; %bb.0:
ldr x8, [x0]
add x1, x8, x1
mov x0, x2
b _writew
.cfi_endproc
; -- End function
.no_dead_strip _snd_ymfpci_writew
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/sound/pci/ymfpci/extr_ymfpci_main.c_snd_ymfpci_writew.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _init_walk_dominator_tree ## -- Begin function init_walk_dominator_tree
.p2align 4, 0x90
_init_walk_dominator_tree: ## @init_walk_dominator_tree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorps %xmm0, %xmm0
movups %xmm0, (%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 _init_walk_dominator_tree ; -- Begin function init_walk_dominator_tree
.p2align 2
_init_walk_dominator_tree: ; @init_walk_dominator_tree
.cfi_startproc
; %bb.0:
stp xzr, xzr, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/freebsd/contrib/gcc/extr_domwalk.c_init_walk_dominator_tree.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function eap_gpsk_process_gpsk_4
_eap_gpsk_process_gpsk_4: ## @eap_gpsk_process_gpsk_4
.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, %rbx
movq %rdx, %r12
movq %rsi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _EAP_GPSK_MAX_MIC_LEN@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq (%r15), %rax
movq _GPSK_3@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_20
## %bb.1:
movq _MSG_DEBUG@GOTPCREL(%rip), %r13
movl (%r13), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
callq _wpa_printf
cmpq $1, %rbx
jg LBB0_6
## %bb.2:
movl (%r13), %edi
leaq L_.str.1(%rip), %rsi
jmp LBB0_3
LBB0_6:
movq %r12, %rdi
callq _WPA_GET_BE16
leaq -8(,%rbx,4), %rcx
sarq $2, %rcx
movslq %eax, %r13
cmpq %r13, %rcx
jge LBB0_8
## %bb.7:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.2(%rip), %rsi
LBB0_3:
xorl %eax, %eax
callq _wpa_printf
LBB0_4:
movq _FAILURE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.5:
movq %r15, %rdi
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _eap_gpsk_state ## TAILCALL
LBB0_8:
leaq (%r12,%rbx,4), %rbx
leaq 8(%r12), %rdx
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.3(%rip), %rsi
movq %r13, %rcx
callq _wpa_hexdump
leaq (%r12,%r13,4), %r13
addq $8, %r13
movl 8(%r15), %esi
movl 12(%r15), %edi
callq _eap_gpsk_mic_len
movq %rbx, -56(%rbp) ## 8-byte Spill
movq %rbx, %rdx
movq %rax, %rbx
subq %r13, %rdx
sarq $2, %rdx
movslq %ebx, %rax
cmpq %rax, %rdx
jge LBB0_11
## %bb.9:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.4(%rip), %rsi
movq %rbx, %rcx
xorl %eax, %eax
callq _wpa_printf
jmp LBB0_4
LBB0_11:
movl 20(%r15), %edi
movl 16(%r15), %esi
movl 8(%r15), %ecx
movl 12(%r15), %edx
movq %r13, %r9
subq %r12, %r9
shrq $2, %r9
subq $8, %rsp
movq %r12, %r8
## kill: def $r9d killed $r9d killed $r9
pushq %r14
callq _eap_gpsk_compute_mic
addq $16, %rsp
testq %rax, %rax
js LBB0_12
## %bb.14:
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq _os_memcmp_const
testq %rax, %rax
je LBB0_16
## %bb.15:
movq _MSG_INFO@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.6(%rip), %rsi
xorl %eax, %eax
callq _wpa_printf
movq _MSG_DEBUG@GOTPCREL(%rip), %r12
movl (%r12), %edi
leaq L_.str.7(%rip), %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq _wpa_hexdump
movl (%r12), %edi
leaq L_.str.8(%rip), %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq _wpa_hexdump
movq _FAILURE@GOTPCREL(%rip), %rax
jmp LBB0_19
LBB0_12:
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
callq _wpa_printf
movq _FAILURE@GOTPCREL(%rip), %rax
jmp LBB0_19
LBB0_16:
leaq (,%rbx,4), %rax
addq %r13, %rax
movq -56(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, %rax
je LBB0_18
## %bb.17:
movq _MSG_DEBUG@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
subq %rax, %rdx
sarq $2, %rdx
leaq L_.str.9(%rip), %rsi
xorl %eax, %eax
callq _wpa_printf
LBB0_18:
movq _SUCCESS@GOTPCREL(%rip), %rax
LBB0_19:
movl (%rax), %esi
movq %r15, %rdi
callq _eap_gpsk_state
LBB0_20:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.21:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _EAP_GPSK_MAX_MIC_LEN,4,2 ## @EAP_GPSK_MAX_MIC_LEN
.comm _GPSK_3,8,3 ## @GPSK_3
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "EAP-GPSK: Received Response/GPSK-4"
L_.str.1: ## @.str.1
.asciz "EAP-GPSK: Too short message for PD_Payload_1 length"
.comm _FAILURE,4,2 ## @FAILURE
L_.str.2: ## @.str.2
.asciz "EAP-GPSK: Too short message for PD_Payload_1"
L_.str.3: ## @.str.3
.asciz "EAP-GPSK: PD_Payload_1"
L_.str.4: ## @.str.4
.asciz "EAP-GPSK: Message too short for MIC (left=%lu miclen=%lu)"
L_.str.5: ## @.str.5
.asciz "EAP-GPSK: Failed to compute MIC"
.comm _MSG_INFO,4,2 ## @MSG_INFO
L_.str.6: ## @.str.6
.asciz "EAP-GPSK: Incorrect MIC in GPSK-4"
L_.str.7: ## @.str.7
.asciz "EAP-GPSK: Received MIC"
L_.str.8: ## @.str.8
.asciz "EAP-GPSK: Computed MIC"
L_.str.9: ## @.str.9
.asciz "EAP-GPSK: Ignored %lu bytes of extra data in the end of GPSK-4"
.comm _SUCCESS,4,2 ## @SUCCESS
.no_dead_strip _eap_gpsk_process_gpsk_4
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function eap_gpsk_process_gpsk_4
_eap_gpsk_process_gpsk_4: ; @eap_gpsk_process_gpsk_4
.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, #16
mov x22, x3
mov x21, x2
mov x19, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _EAP_GPSK_MAX_MIC_LEN@GOTPAGE
Lloh4:
ldr x8, [x8, _EAP_GPSK_MAX_MIC_LEN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #2
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x20, x9, x8
mov sp, x20
ldr x8, [x1]
Lloh8:
adrp x9, _GPSK_3@GOTPAGE
Lloh9:
ldr x9, [x9, _GPSK_3@GOTPAGEOFF]
Lloh10:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_19
; %bb.1:
Lloh11:
adrp x24, _MSG_DEBUG@GOTPAGE
Lloh12:
ldr x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
ldr w0, [x24]
Lloh13:
adrp x1, l_.str@PAGE
Lloh14:
add x1, x1, l_.str@PAGEOFF
bl _wpa_printf
cmp x22, #1
b.gt LBB0_3
; %bb.2:
ldr w0, [x24]
Lloh15:
adrp x1, l_.str.1@PAGE
Lloh16:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_5
LBB0_3:
mov x0, x21
bl _WPA_GET_BE16
; kill: def $w0 killed $w0 def $x0
lsl x8, x22, #2
sub x8, x8, #8
sxtw x23, w0
cmp x23, x8, asr #2
b.le LBB0_8
; %bb.4:
ldr w0, [x24]
Lloh17:
adrp x1, l_.str.2@PAGE
Lloh18:
add x1, x1, l_.str.2@PAGEOFF
LBB0_5:
bl _wpa_printf
LBB0_6:
Lloh19:
adrp x8, _FAILURE@GOTPAGE
Lloh20:
ldr x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh21:
ldr w1, [x8]
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_21
; %bb.7:
mov x0, x19
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
b _eap_gpsk_state
LBB0_8:
add x25, x21, x22, lsl #2
add x22, x21, #8
ldr w0, [x24]
Lloh25:
adrp x1, l_.str.3@PAGE
Lloh26:
add x1, x1, l_.str.3@PAGEOFF
mov x2, x22
mov x3, x23
bl _wpa_hexdump
add x23, x22, x23, lsl #2
ldp w1, w0, [x19, #8]
bl _eap_gpsk_mic_len
mov x22, x0
sub x8, x25, x23
asr x8, x8, #2
cmp x8, w22, sxtw
b.ge LBB0_10
; %bb.9:
ldr w0, [x24]
stp x8, x22, [sp, #-16]!
Lloh27:
adrp x1, l_.str.4@PAGE
Lloh28:
add x1, x1, l_.str.4@PAGEOFF
bl _wpa_printf
add sp, sp, #16
b LBB0_6
LBB0_10:
ldp w1, w0, [x19, #16]
ldp w3, w2, [x19, #8]
sub x8, x23, x21
lsr x5, x8, #2
mov x4, x21
; kill: def $w5 killed $w5 killed $x5
mov x6, x20
bl _eap_gpsk_compute_mic
tbnz x0, #63, LBB0_13
; %bb.11:
mov x0, x20
mov x1, x23
mov x2, x22
bl _os_memcmp_const
cbz x0, LBB0_15
; %bb.12:
Lloh29:
adrp x8, _MSG_INFO@GOTPAGE
Lloh30:
ldr x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh31:
ldr w0, [x8]
Lloh32:
adrp x1, l_.str.6@PAGE
Lloh33:
add x1, x1, l_.str.6@PAGEOFF
bl _wpa_printf
ldr w0, [x24]
Lloh34:
adrp x1, l_.str.7@PAGE
Lloh35:
add x1, x1, l_.str.7@PAGEOFF
mov x2, x23
mov x3, x22
bl _wpa_hexdump
ldr w0, [x24]
Lloh36:
adrp x1, l_.str.8@PAGE
Lloh37:
add x1, x1, l_.str.8@PAGEOFF
mov x2, x20
mov x3, x22
bl _wpa_hexdump
b LBB0_14
LBB0_13:
ldr w0, [x24]
Lloh38:
adrp x1, l_.str.5@PAGE
Lloh39:
add x1, x1, l_.str.5@PAGEOFF
bl _wpa_printf
LBB0_14:
Lloh40:
adrp x8, _FAILURE@GOTPAGE
Lloh41:
ldr x8, [x8, _FAILURE@GOTPAGEOFF]
b LBB0_18
LBB0_15:
add x8, x23, x22, lsl #2
cmp x8, x25
b.eq LBB0_17
; %bb.16:
ldr w0, [x24]
sub x8, x25, x8
asr x8, x8, #2
str x8, [sp, #-16]!
Lloh42:
adrp x1, l_.str.9@PAGE
Lloh43:
add x1, x1, l_.str.9@PAGEOFF
bl _wpa_printf
add sp, sp, #16
LBB0_17:
Lloh44:
adrp x8, _SUCCESS@GOTPAGE
Lloh45:
ldr x8, [x8, _SUCCESS@GOTPAGEOFF]
LBB0_18:
ldr w1, [x8]
mov x0, x19
bl _eap_gpsk_state
LBB0_19:
ldur x8, [x29, #-72]
Lloh46:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh47:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_21
; %bb.20:
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_21:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGot Lloh44, Lloh45
.loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48
.cfi_endproc
; -- End function
.comm _EAP_GPSK_MAX_MIC_LEN,4,2 ; @EAP_GPSK_MAX_MIC_LEN
.comm _GPSK_3,8,3 ; @GPSK_3
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "EAP-GPSK: Received Response/GPSK-4"
l_.str.1: ; @.str.1
.asciz "EAP-GPSK: Too short message for PD_Payload_1 length"
.comm _FAILURE,4,2 ; @FAILURE
l_.str.2: ; @.str.2
.asciz "EAP-GPSK: Too short message for PD_Payload_1"
l_.str.3: ; @.str.3
.asciz "EAP-GPSK: PD_Payload_1"
l_.str.4: ; @.str.4
.asciz "EAP-GPSK: Message too short for MIC (left=%lu miclen=%lu)"
l_.str.5: ; @.str.5
.asciz "EAP-GPSK: Failed to compute MIC"
.comm _MSG_INFO,4,2 ; @MSG_INFO
l_.str.6: ; @.str.6
.asciz "EAP-GPSK: Incorrect MIC in GPSK-4"
l_.str.7: ; @.str.7
.asciz "EAP-GPSK: Received MIC"
l_.str.8: ; @.str.8
.asciz "EAP-GPSK: Computed MIC"
l_.str.9: ; @.str.9
.asciz "EAP-GPSK: Ignored %lu bytes of extra data in the end of GPSK-4"
.comm _SUCCESS,4,2 ; @SUCCESS
.no_dead_strip _eap_gpsk_process_gpsk_4
.subsections_via_symbols
| AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_gpsk.c_eap_gpsk_process_gpsk_4.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sci_stp_remote_device_ready_idle_substate_resume_complete_handler
_sci_stp_remote_device_ready_idle_substate_resume_complete_handler: ## @sci_stp_remote_device_ready_idle_substate_resume_complete_handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rax
movq _SCI_STP_DEV_NCQ@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_2
## %bb.1:
popq %rbp
retq
LBB0_2:
movq %rdi, %rsi
movq 8(%rdi), %rax
movq (%rax), %rdi
popq %rbp
jmp _isci_remote_device_ready ## TAILCALL
.cfi_endproc
## -- End function
.comm _SCI_STP_DEV_NCQ,8,3 ## @SCI_STP_DEV_NCQ
.no_dead_strip _sci_stp_remote_device_ready_idle_substate_resume_complete_handler
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sci_stp_remote_device_ready_idle_substate_resume_complete_handler
_sci_stp_remote_device_ready_idle_substate_resume_complete_handler: ; @sci_stp_remote_device_ready_idle_substate_resume_complete_handler
.cfi_startproc
; %bb.0:
ldr x8, [x0]
Lloh0:
adrp x9, _SCI_STP_DEV_NCQ@GOTPAGE
Lloh1:
ldr x9, [x9, _SCI_STP_DEV_NCQ@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
ret
LBB0_2:
mov x1, x0
ldr x8, [x0, #8]
ldr x0, [x8]
b _isci_remote_device_ready
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _SCI_STP_DEV_NCQ,8,3 ; @SCI_STP_DEV_NCQ
.no_dead_strip _sci_stp_remote_device_ready_idle_substate_resume_complete_handler
.subsections_via_symbols
| AnghaBench/linux/drivers/scsi/isci/extr_remote_device.c_sci_stp_remote_device_ready_idle_substate_resume_complete_handler.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
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _x_1,4,2 ## @x_1
.comm _x_3,4,2 ## @x_3
.comm _x_2,4,2 ## @x_2
.comm _x_0,4,2 ## @x_0
.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:
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.comm _x_1,4,2 ; @x_1
.comm _x_3,4,2 ; @x_3
.comm _x_2,4,2 ; @x_2
.comm _x_0,4,2 ; @x_0
.subsections_via_symbols
| the_stack_data/1082394.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _route_Add ## -- Begin function route_Add
.p2align 4, 0x90
_route_Add: ## @route_Add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r14
movq %rdx, %r15
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
movl %esi, -44(%rbp) ## 4-byte Spill
je LBB0_10
## %bb.1:
movq %r14, -56(%rbp) ## 8-byte Spill
movq _ROUTE_DSTANY@GOTPCREL(%rip), %r14
movl (%r14), %r12d
andl %esi, %r12d
xorl %r13d, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
addq $8, %rdi
movq %r15, %rsi
callq _ncprange_equal
testq %rax, %rax
je LBB0_6
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r13, %rdi
callq _free
movq (%rbx), %r13
movq 16(%r13), %rdi
movq %rdi, (%rbx)
testq %rdi, %rdi
jne LBB0_2
jmp LBB0_9
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq (%rbx), %rdi
jmp LBB0_7
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
testl %r12d, %r12d
je LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl (%r14), %eax
andl (%rdi), %eax
cmpl %eax, %r12d
je LBB0_4
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq %rdi, %rbx
movq 16(%rdi), %rdi
addq $16, %rbx
testq %rdi, %rdi
jne LBB0_2
LBB0_9:
testq %r13, %r13
movq -56(%rbp), %r14 ## 8-byte Reload
jne LBB0_11
LBB0_10:
movl $24, %edi
callq _malloc
movq %rax, %r13
testq %rax, %rax
je LBB0_12
LBB0_11:
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, (%r13)
movq $0, 16(%r13)
leaq 8(%r13), %rdi
movq %r15, %rsi
callq _ncprange_copy
leaq 4(%r13), %rdi
movq %r14, %rsi
callq _ncpaddr_copy
movq %r13, (%rbx)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
movq _LogERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _log_Printf ## TAILCALL
.cfi_endproc
## -- End function
.comm _ROUTE_DSTANY,4,2 ## @ROUTE_DSTANY
.comm _LogERROR,4,2 ## @LogERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "route_Add: Out of memory!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _route_Add ; -- Begin function route_Add
.p2align 2
_route_Add: ; @route_Add
.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, x3
mov x20, x2
mov x22, x1
mov x21, x0
ldr x8, [x0]
cbz x8, LBB0_9
; %bb.1:
mov x23, #0
Lloh0:
adrp x24, _ROUTE_DSTANY@GOTPAGE
Lloh1:
ldr x24, [x24, _ROUTE_DSTANY@GOTPAGEOFF]
ldr w9, [x24]
and w25, w9, w22
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
add x0, x8, #8
mov x1, x20
bl _ncprange_equal
cbz x0, LBB0_4
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
bl _free
ldr x23, [x21]
ldr x8, [x23, #16]
str x8, [x21]
cbnz x8, LBB0_5
b LBB0_8
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x21]
b LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
cbz w25, LBB0_2
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w9, [x8]
ldr w10, [x24]
and w9, w10, w9
cmp w25, w9
b.eq LBB0_3
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [x8, #16]!
mov x21, x8
mov x8, x9
cbnz x8, LBB0_5
LBB0_8:
cbnz x23, LBB0_10
LBB0_9:
mov w0, #24
bl _malloc
mov x23, x0
cbz x0, LBB0_11
LBB0_10:
str w22, [x23]
str xzr, [x23, #16]
add x0, x23, #8
mov x1, x20
bl _ncprange_copy
add x0, x23, #4
mov x1, x19
bl _ncpaddr_copy
str x23, [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
LBB0_11:
Lloh2:
adrp x8, _LogERROR@GOTPAGE
Lloh3:
ldr x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
Lloh5:
adrp x1, l_.str@PAGE
Lloh6:
add x1, x1, l_.str@PAGEOFF
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _log_Printf
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _ROUTE_DSTANY,4,2 ; @ROUTE_DSTANY
.comm _LogERROR,4,2 ; @LogERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "route_Add: Out of memory!\n"
.subsections_via_symbols
| AnghaBench/freebsd/usr.sbin/ppp/extr_route.c_route_Add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _vlc_stream_Tell ## -- Begin function vlc_stream_Tell
.p2align 4, 0x90
_vlc_stream_Tell: ## @vlc_stream_Tell
.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
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 _vlc_stream_Tell ; -- Begin function vlc_stream_Tell
.p2align 2
_vlc_stream_Tell: ; @vlc_stream_Tell
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/vlc/src/input/extr_stream.c_vlc_stream_Tell.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.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
callq _puts
leaq L_.str.1(%rip), %rdi
callq _puts
leaq L_.str.2(%rip), %rdi
callq _puts
leaq L_.str.3(%rip), %rdi
callq _puts
leaq L_.str.4(%rip), %rdi
callq _puts
leaq L_.str.5(%rip), %rdi
callq _puts
movq _J_B@GOTPCREL(%rip), %rbx
movq __io_status@GOTPCREL(%rip), %r15
movq _IO_SENDING@GOTPCREL(%rip), %r14
movq _IO_IDLE@GOTPCREL(%rip), %r12
xorl %eax, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_18: ## in Loop: Header=BB0_5 Depth=1
movq __io_in@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
callq _waitpadup
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_35 Depth 2
## Child Loop BB0_36 Depth 3
## Child Loop BB0_22 Depth 2
## Child Loop BB0_23 Depth 3
## Child Loop BB0_24 Depth 4
## Child Loop BB0_14 Depth 2
## Child Loop BB0_7 Depth 2
movl (%rbx), %edi
movq _J_A@GOTPCREL(%rip), %rax
orl (%rax), %edi
movq _J_START@GOTPCREL(%rip), %rax
orl (%rax), %edi
movq _J_SELECT@GOTPCREL(%rip), %rax
orl (%rax), %edi
callq _waitpad
movl %eax, %r13d
xorl %eax, %eax
callq _waitpadup
movq _J_A@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jne LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -48(%rbp), %rcx ## 8-byte Reload
leal 1(%rcx), %ebx
movq __io_out@GOTPCREL(%rip), %rax
movb %cl, (%rax)
xorl %eax, %eax
callq _send_byte
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r15), %rsi
cmpq (%r14), %rsi
jne LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
xorl %eax, %eax
callq _joypad
testq %rax, %rax
je LBB0_7
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq (%r15), %rsi
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
cmpq (%r12), %rsi
jne LBB0_11
## %bb.1: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.15(%rip), %rdi
callq _puts
jmp LBB0_2
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
cmpl (%rbx), %r13d
jne LBB0_19
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.9(%rip), %rdi
xorl %eax, %eax
callq _printf
xorl %eax, %eax
callq _receive_byte
movq _IO_RECEIVING@GOTPCREL(%rip), %r13
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq (%r15), %rsi
cmpq (%r13), %rsi
jne LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
xorl %eax, %eax
callq _joypad
testq %rax, %rax
je LBB0_14
## %bb.16: ## in Loop: Header=BB0_5 Depth=1
movq (%r15), %rsi
LBB0_17: ## in Loop: Header=BB0_5 Depth=1
cmpq (%r12), %rsi
je LBB0_18
## %bb.32: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.8(%rip), %rdi
jmp LBB0_44
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_2: ## in Loop: Header=BB0_5 Depth=1
movl %ebx, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
movq _J_B@GOTPCREL(%rip), %rbx
jmp LBB0_4
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_5 Depth=1
movq _J_START@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jne LBB0_33
## %bb.20: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.11(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _str@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq __io_out@GOTPCREL(%rip), %r13
jmp LBB0_22
.p2align 4, 0x90
LBB0_21: ## in Loop: Header=BB0_22 Depth=2
cmpb $0, (%rbx)
leaq 1(%rbx), %rbx
je LBB0_31
LBB0_22: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_23 Depth 3
## Child Loop BB0_24 Depth 4
movb (%rbx), %al
movb %al, (%r13)
.p2align 4, 0x90
LBB0_23: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_22 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_24 Depth 4
xorl %eax, %eax
callq _send_byte
.p2align 4, 0x90
LBB0_24: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_22 Depth=2
## Parent Loop BB0_23 Depth=3
## => This Inner Loop Header: Depth=4
movq (%r15), %rax
cmpq (%r14), %rax
jne LBB0_27
## %bb.25: ## in Loop: Header=BB0_24 Depth=4
xorl %eax, %eax
callq _joypad
testq %rax, %rax
je LBB0_24
## %bb.26: ## in Loop: Header=BB0_23 Depth=3
movq (%r15), %rax
LBB0_27: ## in Loop: Header=BB0_23 Depth=3
cmpq (%r12), %rax
je LBB0_21
## %bb.28: ## in Loop: Header=BB0_23 Depth=3
xorl %eax, %eax
callq _joypad
testq %rax, %rax
je LBB0_23
## %bb.29: ## in Loop: Header=BB0_22 Depth=2
movq (%r15), %rsi
cmpq (%r12), %rsi
je LBB0_21
## %bb.30: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq (%r15), %rax
cmpq (%r12), %rax
jne LBB0_3
LBB0_31: ## in Loop: Header=BB0_5 Depth=1
leaq L_str.15(%rip), %rdi
callq _puts
jmp LBB0_3
LBB0_33: ## in Loop: Header=BB0_5 Depth=1
movq _J_SELECT@GOTPCREL(%rip), %rax
cmpl (%rax), %r13d
jne LBB0_4
## %bb.34: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.12(%rip), %rdi
xorl %eax, %eax
callq _printf
movq _buffer@GOTPCREL(%rip), %rax
movq (%rax), %r13
movq _IO_RECEIVING@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_35: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_36 Depth 3
xorl %eax, %eax
callq _receive_byte
.p2align 4, 0x90
LBB0_36: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_35 Depth=2
## => This Inner Loop Header: Depth=3
movq (%r15), %rsi
cmpq (%rbx), %rsi
jne LBB0_39
## %bb.37: ## in Loop: Header=BB0_36 Depth=3
xorl %eax, %eax
callq _joypad
testq %rax, %rax
je LBB0_36
## %bb.38: ## in Loop: Header=BB0_35 Depth=2
movq (%r15), %rsi
LBB0_39: ## in Loop: Header=BB0_35 Depth=2
cmpq (%r12), %rsi
jne LBB0_41
## %bb.40: ## in Loop: Header=BB0_35 Depth=2
movq __io_in@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _putchar
movq __io_in@GOTPCREL(%rip), %rax
movl (%rax), %eax
movb %al, (%r13)
incq %r13
testb $-1, %al
jne LBB0_35
jmp LBB0_42
LBB0_41: ## in Loop: Header=BB0_5 Depth=1
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB0_42: ## in Loop: Header=BB0_5 Depth=1
movq (%r15), %rax
cmpq (%r12), %rax
movq _J_B@GOTPCREL(%rip), %rbx
jne LBB0_4
## %bb.43: ## in Loop: Header=BB0_5 Depth=1
movq _buffer@GOTPCREL(%rip), %rax
movq (%rax), %rsi
leaq L_.str.13(%rip), %rdi
LBB0_44: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
callq _printf
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Byte"
L_.str.1: ## @.str.1
.asciz " A : Send"
L_.str.2: ## @.str.2
.asciz " B : Receive"
L_.str.3: ## @.str.3
.asciz "String"
L_.str.4: ## @.str.4
.asciz " START : Send"
L_.str.5: ## @.str.5
.asciz " SELECT : Receive"
.comm _J_A,4,2 ## @J_A
.comm _J_B,4,2 ## @J_B
.comm _J_START,4,2 ## @J_START
.comm _J_SELECT,4,2 ## @J_SELECT
L_.str.6: ## @.str.6
.asciz "Sending b... "
.comm __io_out,1,0 ## @_io_out
.comm __io_status,8,3 ## @_io_status
.comm _IO_SENDING,8,3 ## @IO_SENDING
.comm _IO_IDLE,8,3 ## @IO_IDLE
L_.str.8: ## @.str.8
.asciz "#%d\n"
L_.str.9: ## @.str.9
.asciz "Receiving b... "
.comm _IO_RECEIVING,8,3 ## @IO_RECEIVING
L_.str.10: ## @.str.10
.asciz "OK\n%d\n"
.comm __io_in,4,2 ## @_io_in
L_.str.11: ## @.str.11
.asciz "Sending s... "
.comm _str,8,3 ## @str
L_.str.12: ## @.str.12
.asciz "Receiving s... "
.comm _buffer,8,3 ## @buffer
L_.str.13: ## @.str.13
.asciz "OK\n%s\n"
L_str.15: ## @str.15
.asciz "OK"
.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 x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _puts
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _puts
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _puts
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _puts
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _puts
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _puts
mov w25, #0
Lloh12:
adrp x28, _J_A@GOTPAGE
Lloh13:
ldr x28, [x28, _J_A@GOTPAGEOFF]
Lloh14:
adrp x26, _J_B@GOTPAGE
Lloh15:
ldr x26, [x26, _J_B@GOTPAGEOFF]
Lloh16:
adrp x24, __io_out@GOTPAGE
Lloh17:
ldr x24, [x24, __io_out@GOTPAGEOFF]
Lloh18:
adrp x22, __io_status@GOTPAGE
Lloh19:
ldr x22, [x22, __io_status@GOTPAGEOFF]
Lloh20:
adrp x20, _IO_SENDING@GOTPAGE
Lloh21:
ldr x20, [x20, _IO_SENDING@GOTPAGEOFF]
Lloh22:
adrp x21, _IO_IDLE@GOTPAGE
Lloh23:
ldr x21, [x21, _IO_IDLE@GOTPAGEOFF]
Lloh24:
adrp x19, _IO_RECEIVING@GOTPAGE
Lloh25:
ldr x19, [x19, _IO_RECEIVING@GOTPAGEOFF]
Lloh26:
adrp x23, __io_in@GOTPAGE
Lloh27:
ldr x23, [x23, __io_in@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
Lloh28:
adrp x0, l_.str.8@PAGE
Lloh29:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov x25, x27
bl _waitpadup
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_32 Depth 2
; Child Loop BB0_33 Depth 3
; Child Loop BB0_19 Depth 2
; Child Loop BB0_20 Depth 3
; Child Loop BB0_21 Depth 4
; Child Loop BB0_11 Depth 2
; Child Loop BB0_4 Depth 2
ldr w8, [x28]
ldr w9, [x26]
orr w8, w9, w8
Lloh30:
adrp x9, _J_START@GOTPAGE
Lloh31:
ldr x9, [x9, _J_START@GOTPAGEOFF]
Lloh32:
ldr w9, [x9]
orr w8, w8, w9
Lloh33:
adrp x9, _J_SELECT@GOTPAGE
Lloh34:
ldr x9, [x9, _J_SELECT@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
orr w0, w8, w9
bl _waitpad
mov x27, x0
bl _waitpadup
ldr w8, [x28]
cmp w27, w8
b.ne LBB0_9
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
Lloh36:
adrp x0, l_.str.6@PAGE
Lloh37:
add x0, x0, l_.str.6@PAGEOFF
bl _printf
add w27, w25, #1
strb w25, [x24]
bl _send_byte
LBB0_4: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x22]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
bl _joypad
cbz x0, LBB0_4
; %bb.6: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x22]
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_1
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
Lloh38:
adrp x0, l_str.15@PAGE
Lloh39:
add x0, x0, l_str.15@PAGEOFF
bl _puts
mov x25, x27
bl _waitpadup
b LBB0_2
LBB0_9: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x26]
cmp w27, w8
b.ne LBB0_16
; %bb.10: ; in Loop: Header=BB0_2 Depth=1
Lloh40:
adrp x0, l_.str.9@PAGE
Lloh41:
add x0, x0, l_.str.9@PAGEOFF
bl _printf
bl _receive_byte
LBB0_11: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x22]
ldr x9, [x19]
cmp x8, x9
b.ne LBB0_14
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
bl _joypad
cbz x0, LBB0_11
; %bb.13: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x22]
LBB0_14: ; in Loop: Header=BB0_2 Depth=1
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_29
; %bb.15: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x23]
str x8, [sp]
Lloh42:
adrp x0, l_.str.10@PAGE
Lloh43:
add x0, x0, l_.str.10@PAGEOFF
b LBB0_41
LBB0_16: ; in Loop: Header=BB0_2 Depth=1
Lloh44:
adrp x8, _J_START@GOTPAGE
Lloh45:
ldr x8, [x8, _J_START@GOTPAGEOFF]
Lloh46:
ldr w8, [x8]
cmp w27, w8
b.ne LBB0_30
; %bb.17: ; in Loop: Header=BB0_2 Depth=1
Lloh47:
adrp x0, l_.str.11@PAGE
Lloh48:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
Lloh49:
adrp x8, _str@GOTPAGE
Lloh50:
ldr x8, [x8, _str@GOTPAGEOFF]
Lloh51:
ldr x27, [x8]
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=2
ldrb w8, [x27], #1
cbz w8, LBB0_28
LBB0_19: ; Parent Loop BB0_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_20 Depth 3
; Child Loop BB0_21 Depth 4
ldrb w8, [x27]
strb w8, [x24]
LBB0_20: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_19 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_21 Depth 4
bl _send_byte
LBB0_21: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_19 Depth=2
; Parent Loop BB0_20 Depth=3
; => This Inner Loop Header: Depth=4
ldr x8, [x22]
ldr x9, [x20]
cmp x8, x9
b.ne LBB0_24
; %bb.22: ; in Loop: Header=BB0_21 Depth=4
bl _joypad
cbz x0, LBB0_21
; %bb.23: ; in Loop: Header=BB0_20 Depth=3
ldr x8, [x22]
LBB0_24: ; in Loop: Header=BB0_20 Depth=3
ldr x9, [x21]
cmp x8, x9
b.eq LBB0_18
; %bb.25: ; in Loop: Header=BB0_20 Depth=3
bl _joypad
cbz x0, LBB0_20
; %bb.26: ; in Loop: Header=BB0_19 Depth=2
ldr x8, [x22]
ldr x9, [x21]
cmp x8, x9
b.eq LBB0_18
; %bb.27: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
Lloh52:
adrp x0, l_.str.8@PAGE
Lloh53:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldr x8, [x22]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_42
LBB0_28: ; in Loop: Header=BB0_2 Depth=1
Lloh54:
adrp x0, l_str.15@PAGE
Lloh55:
add x0, x0, l_str.15@PAGEOFF
bl _puts
bl _waitpadup
b LBB0_2
LBB0_29: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
Lloh56:
adrp x0, l_.str.8@PAGE
Lloh57:
add x0, x0, l_.str.8@PAGEOFF
b LBB0_41
LBB0_30: ; in Loop: Header=BB0_2 Depth=1
Lloh58:
adrp x8, _J_SELECT@GOTPAGE
Lloh59:
ldr x8, [x8, _J_SELECT@GOTPAGEOFF]
Lloh60:
ldr w8, [x8]
cmp w27, w8
b.ne LBB0_42
; %bb.31: ; in Loop: Header=BB0_2 Depth=1
Lloh61:
adrp x0, l_.str.12@PAGE
Lloh62:
add x0, x0, l_.str.12@PAGEOFF
bl _printf
Lloh63:
adrp x8, _buffer@GOTPAGE
Lloh64:
ldr x8, [x8, _buffer@GOTPAGEOFF]
Lloh65:
ldr x27, [x8]
LBB0_32: ; Parent Loop BB0_2 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_33 Depth 3
bl _receive_byte
LBB0_33: ; Parent Loop BB0_2 Depth=1
; Parent Loop BB0_32 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x22]
ldr x9, [x19]
cmp x8, x9
b.ne LBB0_36
; %bb.34: ; in Loop: Header=BB0_33 Depth=3
bl _joypad
cbz x0, LBB0_33
; %bb.35: ; in Loop: Header=BB0_32 Depth=2
ldr x8, [x22]
LBB0_36: ; in Loop: Header=BB0_32 Depth=2
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_38
; %bb.37: ; in Loop: Header=BB0_32 Depth=2
ldr w0, [x23]
bl _putchar
ldr w8, [x23]
strb w8, [x27], #1
tst w8, #0xff
b.ne LBB0_32
b LBB0_39
LBB0_38: ; in Loop: Header=BB0_2 Depth=1
str x8, [sp]
Lloh66:
adrp x0, l_.str.8@PAGE
Lloh67:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
LBB0_39: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x22]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_42
; %bb.40: ; in Loop: Header=BB0_2 Depth=1
Lloh68:
adrp x8, _buffer@GOTPAGE
Lloh69:
ldr x8, [x8, _buffer@GOTPAGEOFF]
Lloh70:
ldr x8, [x8]
str x8, [sp]
Lloh71:
adrp x0, l_.str.13@PAGE
Lloh72:
add x0, x0, l_.str.13@PAGEOFF
LBB0_41: ; in Loop: Header=BB0_2 Depth=1
bl _printf
LBB0_42: ; in Loop: Header=BB0_2 Depth=1
bl _waitpadup
b LBB0_2
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh66, Lloh67
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Byte"
l_.str.1: ; @.str.1
.asciz " A : Send"
l_.str.2: ; @.str.2
.asciz " B : Receive"
l_.str.3: ; @.str.3
.asciz "String"
l_.str.4: ; @.str.4
.asciz " START : Send"
l_.str.5: ; @.str.5
.asciz " SELECT : Receive"
.comm _J_A,4,2 ; @J_A
.comm _J_B,4,2 ; @J_B
.comm _J_START,4,2 ; @J_START
.comm _J_SELECT,4,2 ; @J_SELECT
l_.str.6: ; @.str.6
.asciz "Sending b... "
.comm __io_out,1,0 ; @_io_out
.comm __io_status,8,3 ; @_io_status
.comm _IO_SENDING,8,3 ; @IO_SENDING
.comm _IO_IDLE,8,3 ; @IO_IDLE
l_.str.8: ; @.str.8
.asciz "#%d\n"
l_.str.9: ; @.str.9
.asciz "Receiving b... "
.comm _IO_RECEIVING,8,3 ; @IO_RECEIVING
l_.str.10: ; @.str.10
.asciz "OK\n%d\n"
.comm __io_in,4,2 ; @_io_in
l_.str.11: ; @.str.11
.asciz "Sending s... "
.comm _str,8,3 ; @str
l_.str.12: ; @.str.12
.asciz "Receiving s... "
.comm _buffer,8,3 ; @buffer
l_.str.13: ; @.str.13
.asciz "OK\n%s\n"
l_str.15: ; @str.15
.asciz "OK"
.subsections_via_symbols
| AnghaBench/gb-studio/buildTools/darwin-x64/gbdk/examples/gb/extr_comm.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pgstat_report_tempfile ## -- Begin function pgstat_report_tempfile
.p2align 4, 0x90
_pgstat_report_tempfile: ## @pgstat_report_tempfile
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -24
movq _pgStatSock@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _PGINVALID_SOCKET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_3
## %bb.1:
movq _pgstat_track_counts@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_3
## %bb.2:
movq %rdi, %rbx
leaq -12(%rbp), %rdi
movq _PGSTAT_MTYPE_TEMPFILE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pgstat_setheader
movq _MyDatabaseId@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -16(%rbp)
movq %rbx, -24(%rbp)
leaq -24(%rbp), %rdi
movl $16, %esi
callq _pgstat_send
LBB0_3:
addq $24, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pgStatSock,8,3 ## @pgStatSock
.comm _PGINVALID_SOCKET,8,3 ## @PGINVALID_SOCKET
.comm _pgstat_track_counts,4,2 ## @pgstat_track_counts
.comm _PGSTAT_MTYPE_TEMPFILE,4,2 ## @PGSTAT_MTYPE_TEMPFILE
.comm _MyDatabaseId,4,2 ## @MyDatabaseId
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _pgstat_report_tempfile ; -- Begin function pgstat_report_tempfile
.p2align 2
_pgstat_report_tempfile: ; @pgstat_report_tempfile
.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, _pgStatSock@GOTPAGE
Lloh1:
ldr x8, [x8, _pgStatSock@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _PGINVALID_SOCKET@GOTPAGE
Lloh4:
ldr x9, [x9, _PGINVALID_SOCKET@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
Lloh6:
adrp x10, _pgstat_track_counts@GOTPAGE
Lloh7:
ldr x10, [x10, _pgstat_track_counts@GOTPAGEOFF]
Lloh8:
ldr w10, [x10]
cmp x8, x9
ccmp w10, #0, #4, ne
b.eq LBB0_2
; %bb.1:
mov x19, x0
mov x8, sp
add x0, x8, #12
Lloh9:
adrp x8, _PGSTAT_MTYPE_TEMPFILE@GOTPAGE
Lloh10:
ldr x8, [x8, _PGSTAT_MTYPE_TEMPFILE@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
bl _pgstat_setheader
Lloh12:
adrp x8, _MyDatabaseId@GOTPAGE
Lloh13:
ldr x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
str w8, [sp, #8]
str x19, [sp]
mov x0, sp
mov w1, #16
bl _pgstat_send
LBB0_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _pgStatSock,8,3 ; @pgStatSock
.comm _PGINVALID_SOCKET,8,3 ; @PGINVALID_SOCKET
.comm _pgstat_track_counts,4,2 ; @pgstat_track_counts
.comm _PGSTAT_MTYPE_TEMPFILE,4,2 ; @PGSTAT_MTYPE_TEMPFILE
.comm _MyDatabaseId,4,2 ; @MyDatabaseId
.subsections_via_symbols
| AnghaBench/postgres/src/backend/postmaster/extr_pgstat.c_pgstat_report_tempfile.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function nilfs_sufile_get_header_block
_nilfs_sufile_get_header_block: ## @nilfs_sufile_get_header_block
.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, %r8
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
popq %rbp
jmp _nilfs_mdt_get_block ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _nilfs_sufile_get_header_block
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function nilfs_sufile_get_header_block
_nilfs_sufile_get_header_block: ; @nilfs_sufile_get_header_block
.cfi_startproc
; %bb.0:
mov x4, x1
mov w1, #0
mov w2, #0
mov x3, #0
b _nilfs_mdt_get_block
.cfi_endproc
; -- End function
.no_dead_strip _nilfs_sufile_get_header_block
.subsections_via_symbols
| AnghaBench/linux/fs/nilfs2/extr_sufile.c_nilfs_sufile_get_header_block.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _udf_get_pblock_virt15 ## -- Begin function udf_get_pblock_virt15
.p2align 4, 0x90
_udf_get_pblock_virt15: ## @udf_get_pblock_virt15
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -56(%rbp) ## 4-byte Spill
movq %rdx, %r13
movl %esi, %ebx
movq %rdi, %r14
callq _UDF_SB
movq %rax, %r15
movl (%rax), %edi
callq _UDF_I
movq %rax, %r12
movq 8(%r15), %rax
movl (%rax,%r13,8), %edx
cmpl %ebx, %edx
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _udf_debug
jmp LBB0_16
LBB0_2:
movq (%r12), %rcx
movq _ICBTAG_FLAG_AD_IN_ICB@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_4
## %bb.3:
movslq 4(%rax,%r13,8), %rax
addq 16(%r12), %rax
movslq %ebx, %rcx
movl (%rax,%rcx,4), %edi
callq _le32_to_cpu
movl %eax, %ebx
jmp LBB0_12
LBB0_4:
movslq (%r14), %rcx
movl 4(%rax,%r13,8), %edx
movl %ecx, %eax
subl %edx, %eax
sarl $2, %eax
cmpl %ebx, %eax
jle LBB0_6
## %bb.5:
sarl $2, %edx
addl %ebx, %edx
movq %rdx, -48(%rbp) ## 8-byte Spill
xorl %esi, %esi
jmp LBB0_10
LBB0_6:
subl %eax, %ebx
movslq %ebx, %rax
shrq $2, %rcx
movq %rax, %rdx
orq %rcx, %rdx
shrq $32, %rdx
je LBB0_8
## %bb.7:
xorl %edx, %edx
divq %rcx
movq %rdx, -48(%rbp) ## 8-byte Spill
movq %rax, %rsi
jmp LBB0_9
LBB0_8:
movl %ebx, %eax
xorl %edx, %edx
divl %ecx
## kill: def $edx killed $edx def $rdx
movq %rdx, -48(%rbp) ## 8-byte Spill
movl %eax, %esi
LBB0_9:
incl %esi
LBB0_10:
movl (%r15), %edi
## kill: def $esi killed $esi killed $rsi
callq _udf_block_map
movq %r14, %rdi
movl %eax, -52(%rbp) ## 4-byte Spill
movl %eax, %esi
callq _sb_bread
testq %rax, %rax
je LBB0_15
## %bb.11:
movq %rax, %r15
movq (%rax), %rax
movslq -48(%rbp), %rcx ## 4-byte Folded Reload
movl (%rax,%rcx,4), %edi
callq _le32_to_cpu
movl %eax, %ebx
movq %r15, %rdi
callq _brelse
LBB0_12:
movq 8(%r12), %rdx
cmpq %r13, %rdx
jne LBB0_14
## %bb.13:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _udf_debug
jmp LBB0_16
LBB0_14:
movq %r14, %rdi
movl %ebx, %esi
movl -56(%rbp), %ecx ## 4-byte Reload
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _udf_get_pblock ## TAILCALL
LBB0_15:
leaq L_.str.1(%rip), %rdi
movq %r14, %rsi
movl %ebx, %edx
movq %r13, %rcx
movl -52(%rbp), %r8d ## 4-byte Reload
movq -48(%rbp), %r9 ## 8-byte Reload
## kill: def $r9d killed $r9d killed $r9
xorl %eax, %eax
callq _udf_debug
LBB0_16:
movl $-1, %eax
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 "Trying to access block beyond end of VAT (%d max %d)\n"
.comm _ICBTAG_FLAG_AD_IN_ICB,8,3 ## @ICBTAG_FLAG_AD_IN_ICB
L_.str.1: ## @.str.1
.asciz "get_pblock(UDF_VIRTUAL_MAP:%p,%d,%d) VAT: %d[%d]\n"
L_.str.2: ## @.str.2
.asciz "recursive call to udf_get_pblock!\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _udf_get_pblock_virt15 ; -- Begin function udf_get_pblock_virt15
.p2align 2
_udf_get_pblock_virt15: ; @udf_get_pblock_virt15
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
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
mov x20, x3
mov x21, x2
mov x23, x1
mov x19, x0
bl _UDF_SB
mov x24, x0
ldr w0, [x0]
bl _UDF_I
ldr x8, [x24, #8]
lsl x9, x21, #3
ldr w9, [x8, x9]
cmp w9, w23
b.ge LBB0_2
; %bb.1:
stp x23, x9, [sp]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
b LBB0_10
LBB0_2:
mov x22, x0
ldr x9, [x0]
Lloh2:
adrp x10, _ICBTAG_FLAG_AD_IN_ICB@GOTPAGE
Lloh3:
ldr x10, [x10, _ICBTAG_FLAG_AD_IN_ICB@GOTPAGEOFF]
Lloh4:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_4
; %bb.3:
ldr x9, [x22, #16]
add x8, x8, x21, lsl #3
ldrsw x8, [x8, #4]
add x8, x9, x8
ldr w0, [x8, w23, sxtw #2]
bl _le32_to_cpu
mov x23, x0
b LBB0_6
LBB0_4:
ldrsw x9, [x19]
add x8, x8, x21, lsl #3
ldr w8, [x8, #4]
sub w10, w9, w8
asr w10, w10, #2
add w8, w23, w8, asr #2
sub w11, w23, w10
sxtw x12, w11
lsr x9, x9, #2
udiv x13, x12, x9
msub w9, w13, w9, w12
cmp w10, w23
csel w25, w8, w9, gt
csinc w1, wzr, w13, gt
csel w26, w23, w11, gt
ldr w0, [x24]
bl _udf_block_map
mov x23, x0
mov x0, x19
mov x1, x23
bl _sb_bread
cbz x0, LBB0_9
; %bb.5:
mov x24, x0
ldr x8, [x0]
ldr w0, [x8, w25, sxtw #2]
bl _le32_to_cpu
mov x23, x0
mov x0, x24
bl _brelse
LBB0_6:
ldr x2, [x22, #8]
cmp x2, x21
b.ne LBB0_8
; %bb.7:
Lloh5:
adrp x0, l_.str.2@PAGE
Lloh6:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_10
LBB0_8:
mov x0, x19
mov x1, x23
mov x3, 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
add sp, sp, #128
b _udf_get_pblock
LBB0_9:
stp x23, x25, [sp, #24]
stp x26, x21, [sp, #8]
str x19, [sp]
Lloh7:
adrp x0, l_.str.1@PAGE
Lloh8:
add x0, x0, l_.str.1@PAGEOFF
LBB0_10:
bl _udf_debug
mov w0, #-1
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
add sp, sp, #128
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Trying to access block beyond end of VAT (%d max %d)\n"
.comm _ICBTAG_FLAG_AD_IN_ICB,8,3 ; @ICBTAG_FLAG_AD_IN_ICB
l_.str.1: ; @.str.1
.asciz "get_pblock(UDF_VIRTUAL_MAP:%p,%d,%d) VAT: %d[%d]\n"
l_.str.2: ; @.str.2
.asciz "recursive call to udf_get_pblock!\n"
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/fs/udf/extr_partition.c_udf_get_pblock_virt15.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_matrix ## -- Begin function get_matrix
.p2align 4, 0x90
_get_matrix: ## @get_matrix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r15
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movq %r13, %rsi
xorl %eax, %eax
callq _scanf
cmpl $1, %eax
jne LBB0_3
## %bb.1:
movl (%r13), %eax
addl $-11, %eax
cmpl $-10, %eax
jb LBB0_3
## %bb.5:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
movq %r14, %rsi
xorl %eax, %eax
callq _scanf
cmpl $1, %eax
jne LBB0_3
## %bb.6:
movl (%r14), %eax
addl $-11, %eax
cmpl $-10, %eax
jae LBB0_9
LBB0_3:
movl $1, %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
leaq L_str(%rip), %rdi
callq _puts
movl (%r13), %edx
testl %edx, %edx
jle LBB0_18
## %bb.10:
movl (%r14), %ecx
xorl %edi, %edi
jmp LBB0_12
LBB0_11: ## in Loop: Header=BB0_12 Depth=1
incq %rdi
movslq %edx, %rsi
addq $40, %r15
xorl %eax, %eax
cmpq %rsi, %rdi
jge LBB0_4
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
testl %ecx, %ecx
jle LBB0_11
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq %rdi, -48(%rbp) ## 8-byte Spill
movq %r15, %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
cmpl $1, %eax
jne LBB0_3
## %bb.15: ## in Loop: Header=BB0_14 Depth=2
incq %r12
movslq (%r14), %rcx
addq $4, %rbx
cmpq %rcx, %r12
jl LBB0_14
## %bb.16: ## in Loop: Header=BB0_12 Depth=1
movl (%r13), %edx
movq -48(%rbp), %rdi ## 8-byte Reload
jmp LBB0_11
LBB0_18:
xorl %eax, %eax
jmp LBB0_4
.cfi_endproc
## -- End function
.globl _x_row_swap ## -- Begin function x_row_swap
.p2align 4, 0x90
_x_row_swap: ## @x_row_swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, -44(%rbp) ## 4-byte Spill
## kill: def $esi killed $esi def $rsi
movq %rdi, -56(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
testl %esi, %esi
jle LBB1_20
## %bb.1:
movq -64(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %ecx
shrl %ecx
movq %rcx, -96(%rbp) ## 8-byte Spill
movl -44(%rbp), %edx ## 4-byte Reload
movslq %edx, %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
leal -1(%rax), %r14d
movq -56(%rbp), %r15 ## 8-byte Reload
leaq 48(%r15), %rax
leaq 4(%r15), %rcx
movq $-8, %r11
xorl %r8d, %r8d
movq %rcx, -80(%rbp) ## 8-byte Spill
movl %edx, %r13d
jmp LBB1_2
.p2align 4, 0x90
LBB1_19: ## in Loop: Header=BB1_2 Depth=1
incq %r8
decl %r13d
decq %r11
addq $4, %r15
decl %r14d
addq $44, %rax
addq $40, %rcx
cmpq -96(%rbp), %r8 ## 8-byte Folded Reload
je LBB1_20
LBB1_2: ## =>This Loop Header: Depth=1
## Child Loop BB1_9 Depth 2
## Child Loop BB1_18 Depth 2
movl %r13d, %r13d
movq -88(%rbp), %rdx ## 8-byte Reload
subq %r8, %rdx
cmpq %rdx, %r8
jge LBB1_19
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movslq %r14d, %rdx
shlq $3, %rdx
leaq (%rdx,%rdx,4), %rbx
movq %r13, %r10
subq %r8, %r10
movl %r8d, %edx
notl %edx
addl -64(%rbp), %edx ## 4-byte Folded Reload
movslq %edx, %rdx
movq %rdx, -72(%rbp) ## 8-byte Spill
movq %r8, %r12
cmpq $8, %r10
jb LBB1_14
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
imulq $44, %r8, %rsi
movq -56(%rbp), %rdx ## 8-byte Reload
addq %rdx, %rsi
movq %r8, %rdi
notq %rdi
leaq (%rdx,%r8,4), %r9
movl %r8d, %edx
notl %edx
addl -64(%rbp), %edx ## 4-byte Folded Reload
movslq %edx, %rdx
addq %rdx, %rdx
leaq (%rdx,%rdx,4), %r12
leaq (%r12,%rdi), %rdx
addq %r13, %rdx
leaq (%r9,%rdx,4), %rdx
addq $4, %rdx
cmpq %rdx, %rsi
jae LBB1_6
## %bb.5: ## in Loop: Header=BB1_2 Depth=1
addq %r13, %rdi
leaq (%rsi,%rdi,4), %rdx
addq $4, %rdx
leaq (%r9,%r12,4), %rsi
movq %r8, %r12
cmpq %rdx, %rsi
jb LBB1_14
LBB1_6: ## in Loop: Header=BB1_2 Depth=1
movl -44(%rbp), %edx ## 4-byte Reload
movl %edx, %esi
subl %r8d, %esi
subq %r8, %rsi
addq $-8, %rsi
movq %rsi, %rdx
shrq $3, %rdx
incq %rdx
cmpq $8, %rsi
jae LBB1_8
## %bb.7: ## in Loop: Header=BB1_2 Depth=1
xorl %r9d, %r9d
jmp LBB1_10
LBB1_8: ## in Loop: Header=BB1_2 Depth=1
leaq (%r11,%r13), %rsi
shrq $3, %rsi
incq %rsi
andq $-2, %rsi
leaq (%r15,%rbx), %rdi
xorl %r9d, %r9d
.p2align 4, 0x90
LBB1_9: ## Parent Loop BB1_2 Depth=1
## => This Inner Loop Header: Depth=2
movups -48(%rax,%r9,4), %xmm0
movups -32(%rax,%r9,4), %xmm1
movups (%rdi,%r9,4), %xmm2
movups 16(%rdi,%r9,4), %xmm3
movups %xmm2, -48(%rax,%r9,4)
movups %xmm3, -32(%rax,%r9,4)
movups %xmm0, (%rdi,%r9,4)
movups %xmm1, 16(%rdi,%r9,4)
movups -16(%rax,%r9,4), %xmm0
movups (%rax,%r9,4), %xmm1
movups 32(%rdi,%r9,4), %xmm2
movups 48(%rdi,%r9,4), %xmm3
movups %xmm2, -16(%rax,%r9,4)
movups %xmm3, (%rax,%r9,4)
movups %xmm0, 32(%rdi,%r9,4)
movups %xmm1, 48(%rdi,%r9,4)
addq $16, %r9
addq $-2, %rsi
jne LBB1_9
LBB1_10: ## in Loop: Header=BB1_2 Depth=1
movq %r10, %r12
andq $-8, %r12
testb $1, %dl
je LBB1_12
## %bb.11: ## in Loop: Header=BB1_2 Depth=1
addq %r8, %r9
leaq (%r8,%r8,4), %rdx
movq -56(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rdx,8), %rdx
movups (%rdx,%r9,4), %xmm0
movups 16(%rdx,%r9,4), %xmm1
movq -72(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rsi,4), %rsi
leaq (%rdi,%rsi,8), %rsi
movups (%rsi,%r9,4), %xmm2
movups 16(%rsi,%r9,4), %xmm3
movups %xmm2, (%rdx,%r9,4)
movups %xmm3, 16(%rdx,%r9,4)
movups %xmm0, (%rsi,%r9,4)
movups %xmm1, 16(%rsi,%r9,4)
LBB1_12: ## in Loop: Header=BB1_2 Depth=1
cmpq %r12, %r10
je LBB1_19
## %bb.13: ## in Loop: Header=BB1_2 Depth=1
addq %r8, %r12
.p2align 4, 0x90
LBB1_14: ## in Loop: Header=BB1_2 Depth=1
movl %r13d, %esi
subl %r12d, %esi
movq %r12, %rdx
testb $1, %sil
je LBB1_16
## %bb.15: ## in Loop: Header=BB1_2 Depth=1
leaq (%r8,%r8,4), %rdx
movq -56(%rbp), %rsi ## 8-byte Reload
leaq (%rsi,%rdx,8), %rdx
movl (%rdx,%r12,4), %r9d
movq -72(%rbp), %rdi ## 8-byte Reload
leaq (%rdi,%rdi,4), %rdi
leaq (%rsi,%rdi,8), %rdi
movl (%rdi,%r12,4), %esi
movl %esi, (%rdx,%r12,4)
movl %r9d, (%rdi,%r12,4)
leaq 1(%r12), %rdx
LBB1_16: ## in Loop: Header=BB1_2 Depth=1
notq %r12
addq %r13, %r12
je LBB1_19
## %bb.17: ## in Loop: Header=BB1_2 Depth=1
addq -80(%rbp), %rbx ## 8-byte Folded Reload
.p2align 4, 0x90
LBB1_18: ## Parent Loop BB1_2 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%rcx,%rdx,4), %esi
movl -4(%rbx,%rdx,4), %edi
movl %edi, -4(%rcx,%rdx,4)
movl %esi, -4(%rbx,%rdx,4)
movl (%rcx,%rdx,4), %esi
movl (%rbx,%rdx,4), %edi
movl %edi, (%rcx,%rdx,4)
movl %esi, (%rbx,%rdx,4)
addq $2, %rdx
cmpq %rdx, %r13
jne LBB1_18
jmp LBB1_19
LBB1_20:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_matrtix ## -- Begin function print_matrtix
.p2align 4, 0x90
_print_matrtix: ## @print_matrtix
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, -44(%rbp) ## 4-byte Spill
testl %esi, %esi
jle LBB2_6
## %bb.1:
movq %rdi, %rbx
movl %esi, %eax
movq %rax, -56(%rbp) ## 8-byte Spill
movl -44(%rbp), %r13d ## 4-byte Reload
leaq L_.str.4(%rip), %r15
xorl %r14d, %r14d
jmp LBB2_2
.p2align 4, 0x90
LBB2_5: ## in Loop: Header=BB2_2 Depth=1
movl $10, %edi
callq _putchar
incq %r14
addq $40, %rbx
cmpq -56(%rbp), %r14 ## 8-byte Folded Reload
je LBB2_6
LBB2_2: ## =>This Loop Header: Depth=1
## Child Loop BB2_4 Depth 2
cmpl $0, -44(%rbp) ## 4-byte Folded Reload
jle LBB2_5
## %bb.3: ## in Loop: Header=BB2_2 Depth=1
xorl %r12d, %r12d
.p2align 4, 0x90
LBB2_4: ## Parent Loop BB2_2 Depth=1
## => This Inner Loop Header: Depth=2
movl (%rbx,%r12,4), %esi
movq %r15, %rdi
xorl %eax, %eax
callq _printf
incq %r12
cmpq %r12, %r13
jne LBB2_4
jmp LBB2_5
LBB2_6:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $456, %rsp ## imm = 0x1C8
.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 -448(%rbp), %r14
leaq -456(%rbp), %rsi
leaq -452(%rbp), %rdx
movq %r14, %rdi
callq _get_matrix
testl %eax, %eax
je LBB3_3
## %bb.1:
movl $1, %ebx
leaq L_str.9(%rip), %rdi
callq _puts
jmp LBB3_32
LBB3_3:
movl -456(%rbp), %r12d
cmpl -452(%rbp), %r12d
jne LBB3_4
## %bb.5:
testl %r12d, %r12d
jle LBB3_25
## %bb.6:
leaq 1(%r12), %rax
shrq %rax
movq %rax, -480(%rbp) ## 8-byte Spill
leal -1(%r12), %r9d
leaq -400(%rbp), %rsi
leaq -444(%rbp), %rax
movq $-8, %r11
leaq -448(%rbp), %r15
xorl %r10d, %r10d
movl %r12d, %r13d
movq %r12, -464(%rbp) ## 8-byte Spill
jmp LBB3_7
.p2align 4, 0x90
LBB3_24: ## in Loop: Header=BB3_7 Depth=1
incq %r10
decl %r13d
decq %r11
addq $4, %r15
decl %r9d
addq $44, %rsi
addq $40, %rax
cmpq -480(%rbp), %r10 ## 8-byte Folded Reload
je LBB3_25
LBB3_7: ## =>This Loop Header: Depth=1
## Child Loop BB3_14 Depth 2
## Child Loop BB3_23 Depth 2
movl %r13d, %r13d
movq %r12, %rcx
subq %r10, %rcx
cmpq %rcx, %r10
jge LBB3_24
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
movslq %r9d, %rcx
shlq $3, %rcx
leaq (%rcx,%rcx,4), %rdi
movq %r13, %rdx
subq %r10, %rdx
movl %r10d, %ecx
notl %ecx
addl %r12d, %ecx
movslq %ecx, %rcx
movq %rcx, -496(%rbp) ## 8-byte Spill
movq %r10, %r8
movq %rdx, -488(%rbp) ## 8-byte Spill
cmpq $8, %rdx
jb LBB3_19
## %bb.9: ## in Loop: Header=BB3_7 Depth=1
imulq $44, %r10, %rcx
addq %rbp, %rcx
addq $-448, %rcx ## imm = 0xFE40
movq %rcx, -472(%rbp) ## 8-byte Spill
movq %r10, %rdx
notq %rdx
leaq -448(,%r10,4), %rbx
addq %rbp, %rbx
movl %r10d, %ecx
notl %ecx
addl -464(%rbp), %ecx ## 4-byte Folded Reload
movslq %ecx, %rcx
addq %rcx, %rcx
leaq (%rcx,%rcx,4), %r12
leaq (%r12,%rdx), %r8
addq %r13, %r8
leaq (%rbx,%r8,4), %rcx
addq $4, %rcx
movq %rbx, %r8
movq -472(%rbp), %rbx ## 8-byte Reload
cmpq %rcx, %rbx
jae LBB3_11
## %bb.10: ## in Loop: Header=BB3_7 Depth=1
movq %rbx, %rcx
addq %r13, %rdx
leaq (%rbx,%rdx,4), %rcx
addq $4, %rcx
leaq (%r8,%r12,4), %rdx
movq %r10, %r8
cmpq %rcx, %rdx
jb LBB3_19
LBB3_11: ## in Loop: Header=BB3_7 Depth=1
movq -464(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx def $rcx
subl %r10d, %ecx
subq %r10, %rcx
addq $-8, %rcx
movq %rcx, %rdx
shrq $3, %rdx
incq %rdx
movq %rdx, -472(%rbp) ## 8-byte Spill
cmpq $8, %rcx
jae LBB3_13
## %bb.12: ## in Loop: Header=BB3_7 Depth=1
xorl %r12d, %r12d
movq -488(%rbp), %rbx ## 8-byte Reload
jmp LBB3_15
LBB3_13: ## in Loop: Header=BB3_7 Depth=1
leaq (%r11,%r13), %rcx
shrq $3, %rcx
incq %rcx
andq $-2, %rcx
leaq (%r15,%rdi), %rdx
xorl %r12d, %r12d
movq -488(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB3_14: ## Parent Loop BB3_7 Depth=1
## => This Inner Loop Header: Depth=2
movups -48(%rsi,%r12,4), %xmm0
movups -32(%rsi,%r12,4), %xmm1
movups (%rdx,%r12,4), %xmm2
movups 16(%rdx,%r12,4), %xmm3
movups %xmm2, -48(%rsi,%r12,4)
movups %xmm3, -32(%rsi,%r12,4)
movups %xmm0, (%rdx,%r12,4)
movups %xmm1, 16(%rdx,%r12,4)
movups -16(%rsi,%r12,4), %xmm0
movups (%rsi,%r12,4), %xmm1
movups 32(%rdx,%r12,4), %xmm2
movups 48(%rdx,%r12,4), %xmm3
movups %xmm2, -16(%rsi,%r12,4)
movups %xmm3, (%rsi,%r12,4)
movups %xmm0, 32(%rdx,%r12,4)
movups %xmm1, 48(%rdx,%r12,4)
addq $16, %r12
addq $-2, %rcx
jne LBB3_14
LBB3_15: ## in Loop: Header=BB3_7 Depth=1
movq %rbx, %r8
andq $-8, %r8
testb $1, -472(%rbp) ## 1-byte Folded Reload
je LBB3_17
## %bb.16: ## in Loop: Header=BB3_7 Depth=1
addq %r10, %r12
leaq (%r10,%r10,4), %rcx
leaq -448(,%rcx,8), %rcx
addq %rbp, %rcx
movups (%rcx,%r12,4), %xmm0
movups 16(%rcx,%r12,4), %xmm1
movq -496(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rdx,4), %rdx
leaq -448(%rbp,%rdx,8), %rdx
movups (%rdx,%r12,4), %xmm2
movups 16(%rdx,%r12,4), %xmm3
movups %xmm2, (%rcx,%r12,4)
movups %xmm3, 16(%rcx,%r12,4)
movups %xmm0, (%rdx,%r12,4)
movups %xmm1, 16(%rdx,%r12,4)
LBB3_17: ## in Loop: Header=BB3_7 Depth=1
cmpq %r8, %rbx
movq -464(%rbp), %r12 ## 8-byte Reload
je LBB3_24
## %bb.18: ## in Loop: Header=BB3_7 Depth=1
addq %r10, %r8
.p2align 4, 0x90
LBB3_19: ## in Loop: Header=BB3_7 Depth=1
movl %r13d, %edx
subl %r8d, %edx
movq %r8, %rcx
testb $1, %dl
je LBB3_21
## %bb.20: ## in Loop: Header=BB3_7 Depth=1
leaq (%r10,%r10,4), %rcx
leaq -448(,%rcx,8), %rbx
addq %rbp, %rbx
movl (%rbx,%r8,4), %r12d
movq -496(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rcx,4), %rdx
leaq -448(%rbp,%rdx,8), %rdx
movl (%rdx,%r8,4), %ecx
movl %ecx, (%rbx,%r8,4)
movl %r12d, (%rdx,%r8,4)
leaq 1(%r8), %rcx
LBB3_21: ## in Loop: Header=BB3_7 Depth=1
notq %r8
addq %r13, %r8
movq -464(%rbp), %r12 ## 8-byte Reload
je LBB3_24
## %bb.22: ## in Loop: Header=BB3_7 Depth=1
leaq -444(%rbp), %rdx
addq %rdx, %rdi
.p2align 4, 0x90
LBB3_23: ## Parent Loop BB3_7 Depth=1
## => This Inner Loop Header: Depth=2
movl -4(%rax,%rcx,4), %edx
movl -4(%rdi,%rcx,4), %ebx
movl %ebx, -4(%rax,%rcx,4)
movl %edx, -4(%rdi,%rcx,4)
movl (%rax,%rcx,4), %edx
movl (%rdi,%rcx,4), %ebx
movl %ebx, (%rax,%rcx,4)
movl %edx, (%rdi,%rcx,4)
addq $2, %rcx
cmpq %rcx, %r13
jne LBB3_23
jmp LBB3_24
LBB3_4:
movl $2, %ebx
leaq L_str.8(%rip), %rdi
callq _puts
jmp LBB3_32
LBB3_25:
movl $10, %edi
callq _putchar
movl -456(%rbp), %eax
movq %rax, -480(%rbp) ## 8-byte Spill
testl %eax, %eax
jle LBB3_31
## %bb.26:
movl -452(%rbp), %ebx
leaq L_.str.4(%rip), %r12
xorl %r13d, %r13d
jmp LBB3_27
.p2align 4, 0x90
LBB3_30: ## in Loop: Header=BB3_27 Depth=1
movl $10, %edi
callq _putchar
incq %r13
addq $40, %r14
cmpq -480(%rbp), %r13 ## 8-byte Folded Reload
je LBB3_31
LBB3_27: ## =>This Loop Header: Depth=1
## Child Loop BB3_29 Depth 2
testl %ebx, %ebx
jle LBB3_30
## %bb.28: ## in Loop: Header=BB3_27 Depth=1
xorl %r15d, %r15d
.p2align 4, 0x90
LBB3_29: ## Parent Loop BB3_27 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14,%r15,4), %esi
movq %r12, %rdi
xorl %eax, %eax
callq _printf
incq %r15
cmpq %r15, %rbx
jne LBB3_29
jmp LBB3_30
LBB3_31:
xorl %ebx, %ebx
LBB3_32:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB3_34
## %bb.33:
movl %ebx, %eax
addq $456, %rsp ## imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB3_34:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Input row's number:\n "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Input column's number:\n "
L_.str.4: ## @.str.4
.asciz "%d "
L_str: ## @str
.asciz "Input elements of matrix:"
L_str.8: ## @str.8
.asciz "The matrix must be square"
L_str.9: ## @str.9
.asciz "Input error found"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_matrix ; -- Begin function get_matrix
.p2align 2
_get_matrix: ; @get_matrix
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _printf
str x20, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
cmp w0, #1
b.ne LBB0_4
; %bb.1:
ldr w8, [x20]
sub w8, w8, #11
cmn w8, #10
b.lo LBB0_4
; %bb.2:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str x19, [sp]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
cmp w0, #1
b.ne LBB0_4
; %bb.3:
ldr w8, [x19]
sub w8, w8, #11
cmn w8, #10
b.hs LBB0_6
LBB0_4:
mov w0, #1
LBB0_5:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_6:
Lloh8:
adrp x0, l_str@PAGE
Lloh9:
add x0, x0, l_str@PAGEOFF
bl _puts
ldr w9, [x20]
cmp w9, #1
b.lt LBB0_14
; %bb.7:
mov x23, #0
ldr w8, [x19]
Lloh10:
adrp x22, l_.str.1@PAGE
Lloh11:
add x22, x22, l_.str.1@PAGEOFF
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
mov w0, #0
add x23, x23, #1
add x21, x21, #40
cmp x23, w9, sxtw
b.ge LBB0_5
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
cmp w8, #1
b.lt LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
mov x24, #0
mov x25, x21
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
str x25, [sp]
mov x0, x22
bl _scanf
cmp w0, #1
b.ne LBB0_4
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
add x24, x24, #1
ldrsw x8, [x19]
add x25, x25, #4
cmp x24, x8
b.lt LBB0_11
; %bb.13: ; in Loop: Header=BB0_9 Depth=1
ldr w9, [x20]
b LBB0_8
LBB0_14:
mov w0, #0
b LBB0_5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.globl _x_row_swap ; -- Begin function x_row_swap
.p2align 2
_x_row_swap: ; @x_row_swap
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
.cfi_offset w19, -8
.cfi_offset w20, -16
.cfi_offset w21, -24
.cfi_offset w22, -32
; kill: def $w2 killed $w2 def $x2
subs w4, w1, #1
b.lt LBB1_11
; %bb.1:
mov x8, #0
mov x9, #0
add w10, w1, #1
lsr w10, w10, #1
sxtw x11, w2
add x12, x0, #16
mov w13, #40
mov w14, #44
mov w15, #10
mov x16, x0
mov x17, x0
b LBB1_3
LBB1_2: ; in Loop: Header=BB1_3 Depth=1
add x9, x9, #1
sub w2, w2, #1
sub x8, x8, #1
add x17, x17, #4
sub w4, w3, #1
add x12, x12, #44
add x16, x16, #40
cmp x9, x10
b.eq LBB1_11
LBB1_3: ; =>This Loop Header: Depth=1
; Child Loop BB1_7 Depth 2
; Child Loop BB1_10 Depth 2
sxtw x3, w4
sub x5, x11, x9
cmp x9, x5
mov w2, w2
b.ge LBB1_2
; %bb.4: ; in Loop: Header=BB1_3 Depth=1
sub x5, x2, x9
mov x6, x9
cmp x5, #8
b.lo LBB1_9
; %bb.5: ; in Loop: Header=BB1_3 Depth=1
madd x6, x9, x14, x0
mvn x7, x9
add x19, x7, x2
add x19, x6, x19, lsl #2
add x19, x19, #4
add x20, x0, x9, lsl #2
mvn w21, w9
add w21, w21, w1
smull x22, w21, w15
add x22, x20, x22, lsl #2
smaddl x7, w21, w15, x7
add x7, x7, x2
add x7, x20, x7, lsl #2
add x7, x7, #4
cmp x6, x7
ccmp x22, x19, #2, lo
mov x6, x9
b.lo LBB1_9
; %bb.6: ; in Loop: Header=BB1_3 Depth=1
add x6, x8, x2
and x7, x6, #0xfffffffffffffff8
smaddl x4, w4, w13, x17
and x19, x5, #0xfffffffffffffff8
add x6, x9, x19
mov x20, x12
LBB1_7: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x20, #-16]
ldp q2, q3, [x4]
stp q2, q3, [x20, #-16]
stp q0, q1, [x4], #32
add x20, x20, #32
subs x7, x7, #8
b.ne LBB1_7
; %bb.8: ; in Loop: Header=BB1_3 Depth=1
cmp x5, x19
b.eq LBB1_2
LBB1_9: ; in Loop: Header=BB1_3 Depth=1
madd x4, x3, x13, x0
lsl x5, x6, #2
add x4, x4, x5
add x5, x16, x5
sub x6, x2, x6
LBB1_10: ; Parent Loop BB1_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w7, [x5]
ldr w19, [x4]
str w19, [x5], #4
str w7, [x4], #4
subs x6, x6, #1
b.ne LBB1_10
b LBB1_2
LBB1_11:
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _print_matrtix ; -- Begin function print_matrtix
.p2align 2
_print_matrtix: ; @print_matrtix
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
cmp w1, #1
b.lt LBB2_5
; %bb.1:
mov x19, x2
mov x20, x0
mov x22, #0
mov w23, w1
Lloh12:
adrp x21, l_.str.4@PAGE
Lloh13:
add x21, x21, l_.str.4@PAGEOFF
mov w24, w2
b LBB2_3
LBB2_2: ; in Loop: Header=BB2_3 Depth=1
mov w0, #10
bl _putchar
add x22, x22, #1
add x20, x20, #40
cmp x22, x23
b.eq LBB2_5
LBB2_3: ; =>This Loop Header: Depth=1
; Child Loop BB2_4 Depth 2
mov x25, x24
mov x26, x20
cmp w19, #1
b.lt LBB2_2
LBB2_4: ; Parent Loop BB2_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x26], #4
str x8, [sp]
mov x0, x21
bl _printf
subs x25, x25, #1
b.ne LBB2_4
b LBB2_2
LBB2_5:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.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, #432
Lloh14:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh15:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
ldr x8, [x8]
stur x8, [x29, #-72]
add x0, sp, #24
add x1, sp, #20
add x2, sp, #16
bl _get_matrix
cbz w0, LBB3_2
; %bb.1:
mov w19, #1
Lloh17:
adrp x0, l_str.9@PAGE
Lloh18:
add x0, x0, l_str.9@PAGEOFF
bl _puts
b LBB3_21
LBB3_2:
ldp w9, w8, [sp, #16]
cmp w8, w9
b.ne LBB3_14
; %bb.3:
subs w3, w8, #1
b.lt LBB3_15
; %bb.4:
mov x9, #0
mov x10, #0
add x11, x8, #1
lsr x11, x11, #1
add x12, sp, #24
add x13, x12, #16
mov w14, #40
mov w15, #44
mov w16, #10
add x17, sp, #24
add x0, sp, #24
mov x2, x8
b LBB3_6
LBB3_5: ; in Loop: Header=BB3_6 Depth=1
add x10, x10, #1
sub w2, w2, #1
sub x9, x9, #1
add x0, x0, #4
sub w3, w1, #1
add x13, x13, #44
add x17, x17, #40
cmp x10, x11
b.eq LBB3_15
LBB3_6: ; =>This Loop Header: Depth=1
; Child Loop BB3_10 Depth 2
; Child Loop BB3_13 Depth 2
sxtw x1, w3
sub x4, x8, x10
cmp x10, x4
mov w2, w2
b.ge LBB3_5
; %bb.7: ; in Loop: Header=BB3_6 Depth=1
sub x4, x2, x10
mov x5, x10
cmp x4, #8
b.lo LBB3_12
; %bb.8: ; in Loop: Header=BB3_6 Depth=1
madd x5, x10, x15, x12
mvn x6, x10
add x7, x6, x2
add x7, x5, x7, lsl #2
add x7, x7, #4
add x19, x12, x10, lsl #2
mvn w20, w10
add w20, w8, w20
smull x21, w20, w16
add x21, x19, x21, lsl #2
smaddl x6, w20, w16, x6
add x6, x6, x2
add x6, x19, x6, lsl #2
add x6, x6, #4
cmp x5, x6
ccmp x21, x7, #2, lo
mov x5, x10
b.lo LBB3_12
; %bb.9: ; in Loop: Header=BB3_6 Depth=1
add x5, x9, x2
and x6, x5, #0xfffffffffffffff8
smaddl x3, w3, w14, x0
and x7, x4, #0xfffffffffffffff8
add x5, x10, x7
mov x19, x13
LBB3_10: ; Parent Loop BB3_6 Depth=1
; => This Inner Loop Header: Depth=2
ldp q0, q1, [x19, #-16]
ldp q2, q3, [x3]
stp q2, q3, [x19, #-16]
stp q0, q1, [x3], #32
add x19, x19, #32
subs x6, x6, #8
b.ne LBB3_10
; %bb.11: ; in Loop: Header=BB3_6 Depth=1
cmp x4, x7
b.eq LBB3_5
LBB3_12: ; in Loop: Header=BB3_6 Depth=1
madd x3, x1, x14, x12
lsl x4, x5, #2
add x3, x3, x4
add x4, x17, x4
sub x5, x2, x5
LBB3_13: ; Parent Loop BB3_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w6, [x4]
ldr w7, [x3]
str w7, [x4], #4
str w6, [x3], #4
subs x5, x5, #1
b.ne LBB3_13
b LBB3_5
LBB3_14:
mov w19, #2
Lloh19:
adrp x0, l_str.8@PAGE
Lloh20:
add x0, x0, l_str.8@PAGEOFF
bl _puts
b LBB3_21
LBB3_15:
mov w0, #10
bl _putchar
ldr w20, [sp, #20]
cmp w20, #1
b.lt LBB3_20
; %bb.16:
mov x21, #0
ldr w22, [sp, #16]
add x23, sp, #24
Lloh21:
adrp x19, l_.str.4@PAGE
Lloh22:
add x19, x19, l_.str.4@PAGEOFF
b LBB3_18
LBB3_17: ; in Loop: Header=BB3_18 Depth=1
mov w0, #10
bl _putchar
add x21, x21, #1
add x23, x23, #40
cmp x21, x20
b.eq LBB3_20
LBB3_18: ; =>This Loop Header: Depth=1
; Child Loop BB3_19 Depth 2
mov x24, x22
mov x25, x23
cmp w22, #1
b.lt LBB3_17
LBB3_19: ; Parent Loop BB3_18 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x25], #4
str x8, [sp]
mov x0, x19
bl _printf
subs x24, x24, #1
b.ne LBB3_19
b LBB3_17
LBB3_20:
mov w19, #0
LBB3_21:
ldur x8, [x29, #-72]
Lloh23:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh24:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
ldr x9, [x9]
cmp x9, x8
b.ne LBB3_23
; %bb.22:
mov x0, x19
add sp, sp, #432
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
LBB3_23:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Input row's number:\n "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Input column's number:\n "
l_.str.4: ; @.str.4
.asciz "%d "
l_str: ; @str
.asciz "Input elements of matrix:"
l_str.8: ; @str.8
.asciz "The matrix must be square"
l_str.9: ; @str.9
.asciz "Input error found"
.subsections_via_symbols
| the_stack_data/31049.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mycmp
_mycmp: ## @mycmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, -48(%rbp) ## 4-byte Spill
movl %edx, -44(%rbp) ## 4-byte Spill
movq %rsi, %r12
movq %rdi, %r13
xorl %r15d, %r15d
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
incl %r15d
incq %r13
LBB0_1: ## =>This Inner Loop Header: Depth=1
movsbl (%r13), %edi
movslq %r15d, %r14
testl %edi, %edi
jne LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpb $0, (%r12,%r14)
je LBB0_8
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpl -44(%rbp), %r15d ## 4-byte Folded Reload
jge LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
callq _tolower
movq %rax, %rbx
movsbl (%r12,%r14), %edi
callq _tolower
cmpq %rax, %rbx
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
xorl %r15d, %r15d
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
incq %r13
jmp LBB0_1
LBB0_8:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
sete %al
cmpl -44(%rbp), %r14d ## 4-byte Folded Reload
setne %cl
orb %al, %cl
movzbl %cl, %r15d
LBB0_9:
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _mycmp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function mycmp
_mycmp: ; @mycmp
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x3
mov x19, x2
mov x21, x1
mov x22, x0
mov w8, #0 ; =0x0
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add w8, w24, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x22], #1
sxtw x24, w8
cbnz w0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x21, x24]
cmp w8, #0
ccmp w24, w19, #0, ne
b.ge LBB0_6
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
bl _tolower
mov x23, x0
ldrsb w0, [x21, x24]
bl _tolower
cmp x23, x0
b.eq LBB0_1
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
mov w8, #0 ; =0x0
mov w0, #0 ; =0x0
cbnz w20, LBB0_2
b LBB0_7
LBB0_6:
cmp w20, #0
ccmp w24, w19, #0, ne
cset w0, ne
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _mycmp
.subsections_via_symbols
| assembly_file_39219.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _AspectsVersionString ## @AspectsVersionString
.p2align 4
_AspectsVersionString:
.asciz "@(#)PROGRAM:Aspects PROJECT:Pods-1\n"
.globl _AspectsVersionNumber ## @AspectsVersionNumber
.p2align 3
_AspectsVersionNumber:
.quad 0x3ff0000000000000 ## double 1
.no_dead_strip _AspectsVersionNumber
.no_dead_strip _AspectsVersionString
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _AspectsVersionString ; @AspectsVersionString
_AspectsVersionString:
.asciz "@(#)PROGRAM:Aspects PROJECT:Pods-1\n"
.globl _AspectsVersionNumber ; @AspectsVersionNumber
.p2align 3
_AspectsVersionNumber:
.quad 0x3ff0000000000000 ; double 1
.no_dead_strip _AspectsVersionNumber
.no_dead_strip _AspectsVersionString
.subsections_via_symbols
| the_stack_data/92325064.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/232955108.c | stack |
.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 create
LCPI0_0:
.quad 0xc000000000000000 ## double -2
LCPI0_1:
.quad 0x3fd0000000000000 ## double 0.25
LCPI0_2:
.quad 0x3fefd70a3d70a3d7 ## double 0.99499999999999999
LCPI0_3:
.quad 0x3fe999999999999a ## double 0.80000000000000004
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_create: ## @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
subq $48, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movsd %xmm2, -48(%rbp) ## 8-byte Spill
movl %edx, %r14d
movl %esi, %ebx
movq %rdi, %r15
movl 32(%rbp), %r12d
movl 16(%rbp), %eax
movq _AV_SAMPLE_FMT_S16P@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
movsd %xmm0, -56(%rbp) ## 8-byte Spill
jne LBB0_2
## %bb.1:
movq _SOXR_INT16_S@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_2:
movq _AV_SAMPLE_FMT_S16@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_4
## %bb.3:
movq _SOXR_INT16_I@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_4:
movq _AV_SAMPLE_FMT_S32P@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_6
## %bb.5:
movq _SOXR_INT32_S@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_6:
movq _AV_SAMPLE_FMT_S32@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_8
## %bb.7:
movq _SOXR_INT32_I@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_8:
movq _AV_SAMPLE_FMT_FLTP@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_10
## %bb.9:
movq _SOXR_FLOAT32_S@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_10:
movq _AV_SAMPLE_FMT_FLT@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_12
## %bb.11:
movq _SOXR_FLOAT32_I@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_12:
movq _AV_SAMPLE_FMT_DBLP@GOTPCREL(%rip), %rcx
cmpl %eax, (%rcx)
jne LBB0_14
## %bb.13:
movq _SOXR_FLOAT64_S@GOTPCREL(%rip), %rax
jmp LBB0_16
LBB0_14:
movq _AV_SAMPLE_FMT_DBL@GOTPCREL(%rip), %rcx
movl $-1, %edi
cmpl %eax, (%rcx)
jne LBB0_17
## %bb.15:
movq _SOXR_FLOAT64_I@GOTPCREL(%rip), %rax
LBB0_16:
movl (%rax), %edi
LBB0_17:
movl %edi, %esi
callq _soxr_io_spec
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [-2.0E+0,0.0E+0]
addsd -48(%rbp), %xmm0 ## 8-byte Folded Reload
mulsd LCPI0_1(%rip), %xmm0
movq _SOXR_HI_PREC_CLOCK@GOTPCREL(%rip), %rcx
movq _SOXR_ROLLOFF_NONE@GOTPCREL(%rip), %rdx
movl (%rdx), %esi
orl (%rcx), %esi
cvttsd2si %xmm0, %edi
movl %eax, -36(%rbp)
testl %r12d, %r12d
cmovel %r12d, %esi
callq _soxr_quality_spec
movq %rax, -64(%rbp)
movsd -48(%rbp), %xmm0 ## 8-byte Reload
## xmm0 = mem[0],zero
movsd %xmm0, -72(%rbp)
xorpd %xmm0, %xmm0
movsd -56(%rbp), %xmm1 ## 8-byte Reload
## xmm1 = mem[0],zero
ucomisd %xmm0, %xmm1
jne LBB0_18
jnp LBB0_19
LBB0_18:
movapd %xmm1, %xmm0
movsd LCPI0_2(%rip), %xmm1 ## xmm1 = [9.9499999999999999E-1,0.0E+0]
callq _FFMIN
movsd LCPI0_3(%rip), %xmm0 ## xmm0 = [8.0000000000000004E-1,0.0E+0]
movl %eax, %edi
callq _FFMAX
imull $100, %eax, %eax
LBB0_19:
movl %eax, -64(%rbp)
movl %r15d, %edi
callq _soxr_delete
movl $0, (%rsp)
leaq -40(%rbp), %rcx
leaq -36(%rbp), %r8
leaq -72(%rbp), %r9
movl %r14d, %edi
movl %ebx, %esi
xorl %edx, %edx
callq _soxr_create
testq %rax, %rax
jne LBB0_21
## %bb.20:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movl -40(%rbp), %ecx
leaq L_.str(%rip), %rdx
xorl %edi, %edi
movq %rax, %rbx
callq _av_log
movq %rbx, %rax
LBB0_21:
addq $48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AV_SAMPLE_FMT_S16P,4,2 ## @AV_SAMPLE_FMT_S16P
.comm _SOXR_INT16_S,4,2 ## @SOXR_INT16_S
.comm _AV_SAMPLE_FMT_S16,4,2 ## @AV_SAMPLE_FMT_S16
.comm _SOXR_INT16_I,4,2 ## @SOXR_INT16_I
.comm _AV_SAMPLE_FMT_S32P,4,2 ## @AV_SAMPLE_FMT_S32P
.comm _SOXR_INT32_S,4,2 ## @SOXR_INT32_S
.comm _AV_SAMPLE_FMT_S32,4,2 ## @AV_SAMPLE_FMT_S32
.comm _SOXR_INT32_I,4,2 ## @SOXR_INT32_I
.comm _AV_SAMPLE_FMT_FLTP,4,2 ## @AV_SAMPLE_FMT_FLTP
.comm _SOXR_FLOAT32_S,4,2 ## @SOXR_FLOAT32_S
.comm _AV_SAMPLE_FMT_FLT,4,2 ## @AV_SAMPLE_FMT_FLT
.comm _SOXR_FLOAT32_I,4,2 ## @SOXR_FLOAT32_I
.comm _AV_SAMPLE_FMT_DBLP,4,2 ## @AV_SAMPLE_FMT_DBLP
.comm _SOXR_FLOAT64_S,4,2 ## @SOXR_FLOAT64_S
.comm _AV_SAMPLE_FMT_DBL,4,2 ## @AV_SAMPLE_FMT_DBL
.comm _SOXR_FLOAT64_I,4,2 ## @SOXR_FLOAT64_I
.comm _SOXR_HI_PREC_CLOCK,4,2 ## @SOXR_HI_PREC_CLOCK
.comm _SOXR_ROLLOFF_NONE,4,2 ## @SOXR_ROLLOFF_NONE
.comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "soxr_create: %s\n"
.no_dead_strip _create
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function create
_create: ; @create
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
fmov d9, d2
fmov d8, d0
mov x20, x2
mov x19, x1
mov x21, x0
ldr w22, [x29, #16]
Lloh0:
adrp x8, _AV_SAMPLE_FMT_S16P@GOTPAGE
Lloh1:
ldr x8, [x8, _AV_SAMPLE_FMT_S16P@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
cmp w8, w6
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _SOXR_INT16_S@GOTPAGE
Lloh4:
ldr x8, [x8, _SOXR_INT16_S@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
b LBB0_15
LBB0_2:
Lloh6:
adrp x8, _AV_SAMPLE_FMT_S16@GOTPAGE
Lloh7:
ldr x8, [x8, _AV_SAMPLE_FMT_S16@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
cmp w8, w6
b.ne LBB0_4
; %bb.3:
Lloh9:
adrp x8, _SOXR_INT16_I@GOTPAGE
Lloh10:
ldr x8, [x8, _SOXR_INT16_I@GOTPAGEOFF]
Lloh11:
ldr w0, [x8]
b LBB0_15
LBB0_4:
Lloh12:
adrp x8, _AV_SAMPLE_FMT_S32P@GOTPAGE
Lloh13:
ldr x8, [x8, _AV_SAMPLE_FMT_S32P@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
cmp w8, w6
b.ne LBB0_6
; %bb.5:
Lloh15:
adrp x8, _SOXR_INT32_S@GOTPAGE
Lloh16:
ldr x8, [x8, _SOXR_INT32_S@GOTPAGEOFF]
Lloh17:
ldr w0, [x8]
b LBB0_15
LBB0_6:
Lloh18:
adrp x8, _AV_SAMPLE_FMT_S32@GOTPAGE
Lloh19:
ldr x8, [x8, _AV_SAMPLE_FMT_S32@GOTPAGEOFF]
Lloh20:
ldr w8, [x8]
cmp w8, w6
b.ne LBB0_8
; %bb.7:
Lloh21:
adrp x8, _SOXR_INT32_I@GOTPAGE
Lloh22:
ldr x8, [x8, _SOXR_INT32_I@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
b LBB0_15
LBB0_8:
Lloh24:
adrp x8, _AV_SAMPLE_FMT_FLTP@GOTPAGE
Lloh25:
ldr x8, [x8, _AV_SAMPLE_FMT_FLTP@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
cmp w8, w6
b.ne LBB0_10
; %bb.9:
Lloh27:
adrp x8, _SOXR_FLOAT32_S@GOTPAGE
Lloh28:
ldr x8, [x8, _SOXR_FLOAT32_S@GOTPAGEOFF]
Lloh29:
ldr w0, [x8]
b LBB0_15
LBB0_10:
Lloh30:
adrp x8, _AV_SAMPLE_FMT_FLT@GOTPAGE
Lloh31:
ldr x8, [x8, _AV_SAMPLE_FMT_FLT@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
cmp w8, w6
b.ne LBB0_12
; %bb.11:
Lloh33:
adrp x8, _SOXR_FLOAT32_I@GOTPAGE
Lloh34:
ldr x8, [x8, _SOXR_FLOAT32_I@GOTPAGEOFF]
Lloh35:
ldr w0, [x8]
b LBB0_15
LBB0_12:
Lloh36:
adrp x8, _AV_SAMPLE_FMT_DBLP@GOTPAGE
Lloh37:
ldr x8, [x8, _AV_SAMPLE_FMT_DBLP@GOTPAGEOFF]
Lloh38:
ldr w8, [x8]
cmp w8, w6
b.ne LBB0_14
; %bb.13:
Lloh39:
adrp x8, _SOXR_FLOAT64_S@GOTPAGE
Lloh40:
ldr x8, [x8, _SOXR_FLOAT64_S@GOTPAGEOFF]
Lloh41:
ldr w0, [x8]
b LBB0_15
LBB0_14:
Lloh42:
adrp x8, _AV_SAMPLE_FMT_DBL@GOTPAGE
Lloh43:
ldr x8, [x8, _AV_SAMPLE_FMT_DBL@GOTPAGEOFF]
Lloh44:
ldr w8, [x8]
Lloh45:
adrp x9, _SOXR_FLOAT64_I@GOTPAGE
Lloh46:
ldr x9, [x9, _SOXR_FLOAT64_I@GOTPAGEOFF]
Lloh47:
ldr w9, [x9]
cmp w8, w6
csinv w0, w9, wzr, eq
LBB0_15:
mov x1, x0
bl _soxr_io_spec
str w0, [sp, #24]
fmov d0, #-2.00000000
fadd d0, d9, d0
fmov d1, #0.25000000
fmul d0, d0, d1
fcvtzs w0, d0
Lloh48:
adrp x8, _SOXR_HI_PREC_CLOCK@GOTPAGE
Lloh49:
ldr x8, [x8, _SOXR_HI_PREC_CLOCK@GOTPAGEOFF]
Lloh50:
ldr w8, [x8]
Lloh51:
adrp x9, _SOXR_ROLLOFF_NONE@GOTPAGE
Lloh52:
ldr x9, [x9, _SOXR_ROLLOFF_NONE@GOTPAGEOFF]
Lloh53:
ldr w9, [x9]
orr w8, w9, w8
cmp w22, #0
csel w1, wzr, w8, eq
bl _soxr_quality_spec
str x1, [sp, #16]
str d9, [sp, #8]
fcmp d8, #0.0
b.eq LBB0_17
; %bb.16:
mov x8, #41943 ; =0xa3d7
movk x8, #15728, lsl #16
movk x8, #55050, lsl #32
movk x8, #16367, lsl #48
fmov d1, x8
fmov d0, d8
bl _FFMIN
mov x8, #-7378697629483820647 ; =0x9999999999999999
movk x8, #39322
movk x8, #16361, lsl #48
fmov d0, x8
bl _FFMAX
mov w8, #100 ; =0x64
mul w1, w0, w8
LBB0_17:
str w1, [sp, #16]
mov x0, x21
bl _soxr_delete
add x3, sp, #28
add x4, sp, #24
add x5, sp, #8
mov x0, x20
mov x1, x19
mov w2, #0 ; =0x0
mov w6, #0 ; =0x0
bl _soxr_create
cbnz x0, LBB0_19
; %bb.18:
Lloh54:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh55:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh56:
ldr w1, [x8]
ldr w3, [sp, #28]
Lloh57:
adrp x2, l_.str@PAGE
Lloh58:
add x2, x2, l_.str@PAGEOFF
mov x19, x0
bl _av_log
mov x0, x19
LBB0_19:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp d9, d8, [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 Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56
.cfi_endproc
; -- End function
.comm _AV_SAMPLE_FMT_S16P,4,2 ; @AV_SAMPLE_FMT_S16P
.comm _SOXR_INT16_S,4,2 ; @SOXR_INT16_S
.comm _AV_SAMPLE_FMT_S16,4,2 ; @AV_SAMPLE_FMT_S16
.comm _SOXR_INT16_I,4,2 ; @SOXR_INT16_I
.comm _AV_SAMPLE_FMT_S32P,4,2 ; @AV_SAMPLE_FMT_S32P
.comm _SOXR_INT32_S,4,2 ; @SOXR_INT32_S
.comm _AV_SAMPLE_FMT_S32,4,2 ; @AV_SAMPLE_FMT_S32
.comm _SOXR_INT32_I,4,2 ; @SOXR_INT32_I
.comm _AV_SAMPLE_FMT_FLTP,4,2 ; @AV_SAMPLE_FMT_FLTP
.comm _SOXR_FLOAT32_S,4,2 ; @SOXR_FLOAT32_S
.comm _AV_SAMPLE_FMT_FLT,4,2 ; @AV_SAMPLE_FMT_FLT
.comm _SOXR_FLOAT32_I,4,2 ; @SOXR_FLOAT32_I
.comm _AV_SAMPLE_FMT_DBLP,4,2 ; @AV_SAMPLE_FMT_DBLP
.comm _SOXR_FLOAT64_S,4,2 ; @SOXR_FLOAT64_S
.comm _AV_SAMPLE_FMT_DBL,4,2 ; @AV_SAMPLE_FMT_DBL
.comm _SOXR_FLOAT64_I,4,2 ; @SOXR_FLOAT64_I
.comm _SOXR_HI_PREC_CLOCK,4,2 ; @SOXR_HI_PREC_CLOCK
.comm _SOXR_ROLLOFF_NONE,4,2 ; @SOXR_ROLLOFF_NONE
.comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "soxr_create: %s\n"
.no_dead_strip _create
.subsections_via_symbols
| assembly_file_106434.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PQunescapeBytea ## -- Begin function PQunescapeBytea
.p2align 4, 0x90
_PQunescapeBytea: ## @PQunescapeBytea
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_2
## %bb.1:
xorl %eax, %eax
retq
LBB0_2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, -48(%rbp) ## 8-byte Spill
xorl %edi, %edi
callq _strlen
cmpb $120, 1
jne LBB0_12
## %bb.3:
addq $-2, %rax
movq %rax, %rcx
shrq %rcx
cmpq $2, %rax
movl $1, %edi
cmovaeq %rcx, %rdi
callq _malloc
testq %rax, %rax
je LBB0_19
## %bb.4:
movq %rax, %rbx
movzbl -2, %edi
movq %rax, %r12
testb %dil, %dil
je LBB0_14
## %bb.5:
movq $-2, %r13
movq %rbx, %r12
jmp LBB0_8
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_8 Depth=1
addq $2, %r13
movzbl (%r13), %edi
movq %r13, %r15
LBB0_7: ## in Loop: Header=BB0_8 Depth=1
movq %r15, %r13
testb %dil, %dil
je LBB0_14
LBB0_8: ## =>This Inner Loop Header: Depth=1
leaq 1(%r13), %r15
movzbl %dil, %edi
callq _get_hex
movzbl 1(%r13), %edi
testl %edi, %edi
je LBB0_7
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movl %eax, %r14d
cmpb $-1, %al
je LBB0_7
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
callq _get_hex
cmpb $-1, %al
je LBB0_6
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
shlb $4, %r14b
andb %r14b, %al
movb %al, (%r12)
incq %r12
jmp LBB0_6
LBB0_12:
incq %rax
movq %rax, %rdi
callq _malloc
testq %rax, %rax
je LBB0_19
## %bb.13:
movq %rax, %rbx
xorl %r12d, %r12d
jmp LBB0_15
LBB0_14:
subq %rbx, %r12
LBB0_15:
leaq 1(%r12), %rsi
movq %rbx, %rdi
callq _realloc
testq %rax, %rax
je LBB0_17
## %bb.16:
movq -48(%rbp), %rcx ## 8-byte Reload
movq %r12, (%rcx)
jmp LBB0_20
LBB0_17:
movq %rbx, %rdi
callq _free
LBB0_19:
xorl %eax, %eax
LBB0_20:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _PQunescapeBytea ; -- Begin function PQunescapeBytea
.p2align 2
_PQunescapeBytea: ; @PQunescapeBytea
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
mov x0, #0 ; =0x0
ret
LBB0_2:
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 x21, x1
bl _strlen
mov w8, #1 ; =0x1
ldrb w8, [x8]
cmp w8, #120
b.ne LBB0_12
; %bb.3:
sub x8, x0, #2
lsr x9, x8, #1
cmp x8, #2
csinc x0, x9, xzr, hs
bl _malloc
cbz x0, LBB0_17
; %bb.4:
mov x19, x0
mov x8, #-2 ; =0xfffffffffffffffe
ldrb w0, [x8]
mov x22, x19
cbz w0, LBB0_11
; %bb.5:
mov x23, #-2 ; =0xfffffffffffffffe
mov x22, x19
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
mov x23, x8
cbz w0, LBB0_11
LBB0_7: ; =>This Inner Loop Header: Depth=1
bl _get_hex
mov x20, x0
mov x8, x23
ldrb w0, [x8, #1]!
cmp w0, #0
ccmn w20, #1, #4, ne
b.eq LBB0_6
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
bl _get_hex
cmn w0, #1
b.eq LBB0_10
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
and w8, w0, w20, lsl #4
strb w8, [x22], #1
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
ldrb w0, [x23, #2]!
cbnz w0, LBB0_7
LBB0_11:
sub x20, x22, x19
b LBB0_14
LBB0_12:
add x0, x0, #1
bl _malloc
cbz x0, LBB0_17
; %bb.13:
mov x19, x0
mov x20, #0 ; =0x0
LBB0_14:
add x1, x20, #1
mov x0, x19
bl _realloc
cbz x0, LBB0_16
; %bb.15:
str x20, [x21]
b LBB0_17
LBB0_16:
mov x0, x19
bl _free
mov x0, #0 ; =0x0
LBB0_17:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_130909.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function geomCallback
_geomCallback: ## @geomCallback
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movl %esi, %r12d
movq %rdi, %rbx
callq _sqlite3_user_data
movq %rax, -56(%rbp) ## 8-byte Spill
leal (,%r12,8), %eax
leal (%rax,%r12,4), %r14d
addl $28, %r14d
movl %r14d, %edi
callq _sqlite3_malloc64
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r13
movq %rbx, -48(%rbp) ## 8-byte Spill
movslq %r12d, %rax
movl %r14d, (%r13)
movq -56(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %ecx
movl %ecx, 24(%r13)
shlq $2, %rax
addq 16(%r13), %rax
movq %rax, 8(%r13)
movl %r12d, 4(%r13)
testl %r12d, %r12d
jle LBB0_5
## %bb.2:
movl %r12d, %r14d
xorl %ebx, %ebx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r15,%rbx,8), %rdi
callq _sqlite3_value_dup
movq 8(%r13), %rcx
movq %rax, (%rcx,%rbx,8)
testq %rax, %rax
movl $1, %eax
cmovel %eax, %r12d
movq (%r15,%rbx,8), %rdi
callq _sqlite3_value_double
movq 16(%r13), %rcx
movl %eax, (%rcx,%rbx,4)
incq %rbx
cmpq %rbx, %r14
jne LBB0_3
## %bb.4:
testl %r12d, %r12d
je LBB0_5
## %bb.7:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _sqlite3_result_error_nomem
movq %r13, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _rtreeMatchArgFree ## TAILCALL
LBB0_6:
movq %rbx, %rdi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _sqlite3_result_error_nomem ## TAILCALL
LBB0_5:
leaq L_.str(%rip), %rdx
movq _rtreeMatchArgFree@GOTPCREL(%rip), %rcx
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r13, %rsi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _sqlite3_result_pointer ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "RtreeMatchArg"
.no_dead_strip _geomCallback
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function geomCallback
_geomCallback: ; @geomCallback
.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 x20, x2
mov x22, x1
mov x19, x0
bl _sqlite3_user_data
mov x23, x0
lsl w8, w22, #2
add w8, w8, w22, lsl #3
add w24, w8, #28
mov x0, x24
bl _sqlite3_malloc64
cbz x0, LBB0_6
; %bb.1:
mov x21, x0
str w24, [x0]
ldr w8, [x23]
str w8, [x0, #24]
ldr x8, [x0, #16]
add x8, x8, w22, sxtw #2
str x8, [x0, #8]
str w22, [x0, #4]
cmp w22, #1
b.lt LBB0_7
; %bb.2:
mov x24, #0
mov w23, #0
mov w22, w22
LBB0_3: ; =>This Inner Loop Header: Depth=1
lsl x25, x24, #3
ldr x0, [x20, x25]
bl _sqlite3_value_dup
ldr x8, [x21, #8]
str x0, [x8, x25]
cmp x0, #0
csinc w23, w23, wzr, ne
ldr x0, [x20, x25]
bl _sqlite3_value_double
ldr x8, [x21, #16]
str w0, [x8, x24, lsl #2]
add x24, x24, #1
cmp x22, x24
b.ne LBB0_3
; %bb.4:
cbz w23, LBB0_7
; %bb.5:
mov x0, x19
bl _sqlite3_result_error_nomem
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
b _rtreeMatchArgFree
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
b _sqlite3_result_error_nomem
LBB0_7:
Lloh0:
adrp x2, l_.str@PAGE
Lloh1:
add x2, x2, l_.str@PAGEOFF
Lloh2:
adrp x3, _rtreeMatchArgFree@GOTPAGE
Lloh3:
ldr x3, [x3, _rtreeMatchArgFree@GOTPAGEOFF]
mov x0, x19
mov x1, 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
b _sqlite3_result_pointer
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "RtreeMatchArg"
.no_dead_strip _geomCallback
.subsections_via_symbols
| AnghaBench/sqlcipher/ext/rtree/extr_rtree.c_geomCallback.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rangecmp
_rangecmp: ## @rangecmp
.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
subl (%rsi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _rangecmp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rangecmp
_rangecmp: ; @rangecmp
.cfi_startproc
; %bb.0:
ldr w8, [x0]
ldr w9, [x1]
sub w0, w8, w9
ret
.cfi_endproc
; -- End function
.no_dead_strip _rangecmp
.subsections_via_symbols
| AnghaBench/sumatrapdf/mupdf/source/pdf/extr_pdf-form.c_rangecmp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ath9k_check_chirping
_ath9k_check_chirping: ## @ath9k_check_chirping
.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 %r8d, -68(%rbp) ## 4-byte Spill
movl %ecx, %r13d
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %r14
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _FFT_NUM_SAMPLES@GOTPCREL(%rip), %rbx
movl (%rbx), %eax
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -80(%rbp) ## 8-byte Spill
movq (%r14), %r14
movq %r14, %rdi
callq _ath9k_hw_common
movq %rax, -64(%rbp) ## 8-byte Spill
movl (%r14), %edi
callq _IS_CHAN_HT40
testq %rax, %rax
je LBB0_3
## %bb.1:
cmpl $4, %r12d
jb LBB0_2
## %bb.5:
movl %r13d, -56(%rbp) ## 4-byte Spill
movl %r12d, %ebx
sarl $2, %ebx
movq _DFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq -64(%rbp), %rdi ## 8-byte Reload
movq %rdi, %r13
movl %r12d, %ecx
movl %ebx, %r8d
xorl %eax, %eax
callq _ath_dbg
movq _FFT_NUM_SAMPLES@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
movq _FFT_NUM_SAMPLES@GOTPCREL(%rip), %rbx
jle LBB0_14
## %bb.6:
movq _DFS@GOTPCREL(%rip), %r13
andl $3, %r12d
cmpl $2, %r12d
jne LBB0_8
## %bb.7:
addq $8, %r15
movl (%r13), %esi
leaq L_.str.2(%rip), %rdx
movq -64(%rbp), %rdi ## 8-byte Reload
xorl %eax, %eax
callq _ath_dbg
LBB0_8:
movl -56(%rbp), %r13d ## 4-byte Reload
movl (%r14), %edi
callq _IS_CHAN_HT40MINUS
testq %rax, %rax
je LBB0_10
## %bb.9:
movl %r13d, %edi
movl -68(%rbp), %esi ## 4-byte Reload
callq _swap
LBB0_10:
cmpl $0, (%rbx)
movq -80(%rbp), %rdx ## 8-byte Reload
movl -68(%rbp), %r14d ## 4-byte Reload
jle LBB0_18
## %bb.11:
movq %rbx, %r12
movl $1, %ebx
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq %r15, -56(%rbp) ## 8-byte Spill
movq %r15, %rdi
movl %r13d, %esi
movq %rdx, %r15
movl %r14d, %edx
callq _ath9k_get_max_index_ht40
movq %r15, %rdx
movq -56(%rbp), %r15 ## 8-byte Reload
movl %eax, -4(%rdx,%rbx,4)
movslq (%r12), %rax
decq %rbx
addq $-4, %r15
cmpq %rax, %rbx
jle LBB0_12
jmp LBB0_18
LBB0_3:
cmpl $4, %r12d
jae LBB0_13
LBB0_2:
xorl %r13d, %r13d
jmp LBB0_32
LBB0_13:
movq %rbx, %r14
movl %r12d, %ebx
sarl $2, %ebx
movq _DFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdx
movq -64(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
movl %r12d, %ecx
movl %ebx, %r8d
xorl %eax, %eax
callq _ath_dbg
movl (%r14), %eax
cmpl %eax, %ebx
jge LBB0_15
LBB0_14:
movq _DFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdx
movq %r13, %rdi
xorl %eax, %eax
callq _ath_dbg
xorl %r13d, %r13d
jmp LBB0_32
LBB0_15:
testl %eax, %eax
movq -80(%rbp), %rdx ## 8-byte Reload
jle LBB0_18
## %bb.16:
movq %r14, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movl (%r15,%rbx,4), %edi
movq %rdx, %r14
callq _fft_max_index
movq %r14, %rdx
xorl $32, %eax
movl %eax, (%r14,%rbx,4)
incq %rbx
movslq (%r12), %rax
cmpq %rax, %rbx
jl LBB0_17
LBB0_18:
movq _DFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl (%rdx), %ebx
movl 4(%rdx), %r14d
movl 8(%rdx), %r9d
movl 12(%rdx), %r10d
subq $8, %rsp
leaq L_.str.4(%rip), %rdx
movq $0, -56(%rbp) ## 8-byte Folded Spill
movq -64(%rbp), %r12 ## 8-byte Reload
movq %r12, %rdi
movl %ebx, %ecx
movl %r14d, %r8d
xorl %eax, %eax
pushq %r10
callq _ath_dbg
addq $16, %rsp
movq _NUM_DIFFS@GOTPCREL(%rip), %r15
movl $1, %r13d
cmpl $0, (%r15)
jle LBB0_32
## %bb.19:
movl %r14d, %r13d
subl %ebx, %r13d
movl %r13d, %edi
callq _abs
movq _BIN_DELTA_MIN@GOTPCREL(%rip), %rbx
cmpq (%rbx), %rax
jl LBB0_20
## %bb.21:
movl %r13d, %edi
callq _abs
movq _BIN_DELTA_MAX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jle LBB0_23
LBB0_20:
movl %r13d, %r15d
LBB0_31:
movq _DFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.5(%rip), %rdx
xorl %r13d, %r13d
movq %r12, %rdi
movl %r15d, %ecx
movq -56(%rbp), %r8 ## 8-byte Reload
## kill: def $r8d killed $r8d killed $r8
xorl %eax, %eax
callq _ath_dbg
LBB0_32:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_35
## %bb.33:
movl %r13d, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
movq _DFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.7(%rip), %rdx
movq %r12, %rdi
xorl %ecx, %ecx
movl %r13d, %r8d
movl $-1, %r9d
xorl %eax, %eax
callq _ath_dbg
cmpl $2, (%r15)
jl LBB0_29
## %bb.24:
movl $1, %edx
LBB0_25: ## =>This Inner Loop Header: Depth=1
movq -80(%rbp), %rcx ## 8-byte Reload
movq %rdx, -56(%rbp) ## 8-byte Spill
movl 4(%rcx,%rdx,4), %r12d
movl %r12d, %r15d
subl %r14d, %r15d
movl %r15d, %edi
callq _abs
cmpq (%rbx), %rax
jl LBB0_30
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movl %r15d, %edi
callq _abs
movq _BIN_DELTA_MAX@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_30
## %bb.27: ## in Loop: Header=BB0_25 Depth=1
movq %rbx, %r14
movl %r15d, %ebx
subl %r13d, %ebx
movl %ebx, %edi
callq _abs
movq _DFS@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq _MAX_DIFF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_34
## %bb.28: ## in Loop: Header=BB0_25 Depth=1
movq -56(%rbp), %rcx ## 8-byte Reload
leaq 1(%rcx), %r13
movq -64(%rbp), %rdi ## 8-byte Reload
leaq L_.str.7(%rip), %rdx
## kill: def $ecx killed $ecx killed $rcx
movl %r15d, %r8d
movl %ebx, %r9d
xorl %eax, %eax
callq _ath_dbg
movq _NUM_DIFFS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq %r13, %rcx
movq %r13, %rdx
movl %r15d, %r13d
cmpq %rax, %rcx
movq %r14, %rbx
movl %r12d, %r14d
jl LBB0_25
LBB0_29:
movl $1, %r13d
jmp LBB0_32
LBB0_30:
movq -64(%rbp), %r12 ## 8-byte Reload
jmp LBB0_31
LBB0_34:
leaq L_.str.6(%rip), %rdx
xorl %r13d, %r13d
movq -64(%rbp), %rdi ## 8-byte Reload
movl %ebx, %ecx
xorl %eax, %eax
callq _ath_dbg
jmp LBB0_32
LBB0_35:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _FFT_NUM_SAMPLES,4,2 ## @FFT_NUM_SAMPLES
.comm _DFS,4,2 ## @DFS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "HT40: datalen=%d, num_fft_packets=%d\n"
L_.str.1: ## @.str.1
.asciz "not enough packets for chirp\n"
L_.str.2: ## @.str.2
.asciz "fixing datalen by 2\n"
L_.str.3: ## @.str.3
.asciz "HT20: datalen=%d, num_fft_packets=%d\n"
L_.str.4: ## @.str.4
.asciz "bin_max = [%d, %d, %d, %d]\n"
.comm _NUM_DIFFS,4,2 ## @NUM_DIFFS
.comm _BIN_DELTA_MIN,8,3 ## @BIN_DELTA_MIN
.comm _BIN_DELTA_MAX,8,3 ## @BIN_DELTA_MAX
L_.str.5: ## @.str.5
.asciz "CHIRP: invalid delta %d in sample %d\n"
.comm _MAX_DIFF,8,3 ## @MAX_DIFF
L_.str.6: ## @.str.6
.asciz "CHIRP: ddelta %d too high\n"
L_.str.7: ## @.str.7
.asciz "CHIRP - %d: delta=%d, ddelta=%d\n"
.no_dead_strip _ath9k_check_chirping
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ath9k_check_chirping
_ath9k_check_chirping: ; @ath9k_check_chirping
.cfi_startproc
; %bb.0:
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
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x21, x4
mov x22, x3
mov x23, x2
mov x20, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-88]
Lloh3:
adrp x26, _FFT_NUM_SAMPLES@GOTPAGE
Lloh4:
ldr x26, [x26, _FFT_NUM_SAMPLES@GOTPAGEOFF]
ldr w8, [x26]
lsl x8, x8, #2
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0x7fffffff0
sub x25, x9, x8
mov sp, x25
ldr x24, [x0]
mov x0, x24
bl _ath9k_hw_common
mov x19, x0
ldr w0, [x24]
bl _IS_CHAN_HT40
cmp w23, #4
cbz x0, LBB0_10
; %bb.1:
b.lo LBB0_11
; %bb.2:
asr w28, w23, #2
Lloh7:
adrp x27, _DFS@GOTPAGE
Lloh8:
ldr x27, [x27, _DFS@GOTPAGEOFF]
ldr w1, [x27]
stp x23, x28, [sp, #-16]!
Lloh9:
adrp x2, l_.str@PAGE
Lloh10:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _ath_dbg
add sp, sp, #16
ldr w8, [x26]
cmp w28, w8
b.le LBB0_14
; %bb.3:
and w8, w23, #0x3
cmp w8, #2
b.ne LBB0_5
; %bb.4:
add x20, x20, #8
ldr w1, [x27]
Lloh11:
adrp x2, l_.str.2@PAGE
Lloh12:
add x2, x2, l_.str.2@PAGEOFF
mov x0, x19
bl _ath_dbg
LBB0_5:
ldr w0, [x24]
bl _IS_CHAN_HT40MINUS
cbz x0, LBB0_7
; %bb.6:
mov x0, x22
mov x1, x21
bl _swap
LBB0_7:
ldr w8, [x26]
cmp w8, #1
b.lt LBB0_19
; %bb.8:
mov w23, #1 ; =0x1
mov x24, x25
LBB0_9: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x22
mov x2, x21
bl _ath9k_get_max_index_ht40
str w0, [x24], #-4
ldrsw x8, [x26]
sub x23, x23, #1
sub x20, x20, #4
cmp x23, x8
b.le LBB0_9
b LBB0_19
LBB0_10:
b.hs LBB0_12
LBB0_11:
mov w0, #0 ; =0x0
b LBB0_32
LBB0_12:
asr w22, w23, #2
Lloh13:
adrp x21, _DFS@GOTPAGE
Lloh14:
ldr x21, [x21, _DFS@GOTPAGEOFF]
ldr w1, [x21]
; kill: def $w23 killed $w23 killed $x23 def $x23
stp x23, x22, [sp, #-16]!
Lloh15:
adrp x2, l_.str.3@PAGE
Lloh16:
add x2, x2, l_.str.3@PAGEOFF
mov x0, x19
bl _ath_dbg
add sp, sp, #16
ldr w8, [x26]
cmp w22, w8
b.ge LBB0_16
; %bb.13:
ldr w1, [x21]
b LBB0_15
LBB0_14:
ldr w1, [x27]
LBB0_15:
Lloh17:
adrp x2, l_.str.1@PAGE
Lloh18:
add x2, x2, l_.str.1@PAGEOFF
mov x0, x19
bl _ath_dbg
mov w0, #0 ; =0x0
b LBB0_32
LBB0_16:
cmp w8, #1
b.lt LBB0_19
; %bb.17:
mov x21, #0 ; =0x0
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr w0, [x20, x21, lsl #2]
bl _fft_max_index
eor w8, w0, #0x20
str w8, [x25, x21, lsl #2]
add x21, x21, #1
ldrsw x8, [x26]
cmp x21, x8
b.lt LBB0_18
LBB0_19:
Lloh19:
adrp x24, _DFS@GOTPAGE
Lloh20:
ldr x24, [x24, _DFS@GOTPAGEOFF]
ldr w1, [x24]
ldp w20, w28, [x25]
ldp w8, w9, [x25, #8]
sub sp, sp, #32
stp x8, x9, [sp, #16]
stp x20, x28, [sp]
Lloh21:
adrp x2, l_.str.4@PAGE
Lloh22:
add x2, x2, l_.str.4@PAGEOFF
mov x0, x19
bl _ath_dbg
add sp, sp, #32
Lloh23:
adrp x22, _NUM_DIFFS@GOTPAGE
Lloh24:
ldr x22, [x22, _NUM_DIFFS@GOTPAGEOFF]
ldr w8, [x22]
cmp w8, #1
b.lt LBB0_31
; %bb.20:
sub w20, w28, w20
mov x0, x20
bl _abs
Lloh25:
adrp x21, _BIN_DELTA_MIN@GOTPAGE
Lloh26:
ldr x21, [x21, _BIN_DELTA_MIN@GOTPAGEOFF]
ldr x8, [x21]
cmp x0, x8
b.lt LBB0_22
; %bb.21:
mov x0, x20
bl _abs
Lloh27:
adrp x8, _BIN_DELTA_MAX@GOTPAGE
Lloh28:
ldr x8, [x8, _BIN_DELTA_MAX@GOTPAGEOFF]
Lloh29:
ldr x8, [x8]
cmp x0, x8
b.le LBB0_25
LBB0_22:
mov w21, #0 ; =0x0
mov x22, x20
LBB0_23:
ldr w1, [x24]
; kill: def $w22 killed $w22 killed $x22 def $x22
stp x22, x21, [sp, #-16]!
Lloh30:
adrp x2, l_.str.5@PAGE
Lloh31:
add x2, x2, l_.str.5@PAGEOFF
LBB0_24:
mov x0, x19
bl _ath_dbg
add sp, sp, #16
mov w0, #0 ; =0x0
b LBB0_32
LBB0_25:
ldr w1, [x24]
sub sp, sp, #32
mov w8, #-1 ; =0xffffffff
stp x20, x8, [sp, #8]
str xzr, [sp]
Lloh32:
adrp x2, l_.str.7@PAGE
Lloh33:
add x2, x2, l_.str.7@PAGEOFF
mov x0, x19
bl _ath_dbg
add sp, sp, #32
ldr w8, [x22]
cmp w8, #2
b.lt LBB0_31
; %bb.26:
add x25, x25, #8
mov w26, #1 ; =0x1
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldr w27, [x25], #4
sub w22, w27, w28
mov x0, x22
bl _abs
ldr x8, [x21]
cmp x0, x8
b.lt LBB0_34
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
mov x0, x22
bl _abs
Lloh34:
adrp x8, _BIN_DELTA_MAX@GOTPAGE
Lloh35:
ldr x8, [x8, _BIN_DELTA_MAX@GOTPAGEOFF]
Lloh36:
ldr x8, [x8]
cmp x0, x8
b.gt LBB0_34
; %bb.29: ; in Loop: Header=BB0_27 Depth=1
sub w20, w22, w20
mov x0, x20
bl _abs
Lloh37:
adrp x8, _MAX_DIFF@GOTPAGE
Lloh38:
ldr x8, [x8, _MAX_DIFF@GOTPAGEOFF]
Lloh39:
ldr x8, [x8]
ldr w1, [x24]
cmp x0, x8
b.gt LBB0_35
; %bb.30: ; in Loop: Header=BB0_27 Depth=1
mov x23, x21
add x21, x26, #1
sub sp, sp, #32
stp x22, x20, [sp, #8]
str x26, [sp]
mov x0, x19
Lloh40:
adrp x2, l_.str.7@PAGE
Lloh41:
add x2, x2, l_.str.7@PAGEOFF
bl _ath_dbg
add sp, sp, #32
mov w0, #1 ; =0x1
Lloh42:
adrp x8, _NUM_DIFFS@GOTPAGE
Lloh43:
ldr x8, [x8, _NUM_DIFFS@GOTPAGEOFF]
Lloh44:
ldrsw x8, [x8]
mov x28, x27
mov x26, x21
mov x20, x22
cmp x21, x8
mov x21, x23
b.lt LBB0_27
b LBB0_32
LBB0_31:
mov w0, #1 ; =0x1
LBB0_32:
ldur x8, [x29, #-88]
Lloh45:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh46:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_36
; %bb.33:
sub sp, x29, #80
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_34:
mov x21, x26
b LBB0_23
LBB0_35:
str x20, [sp, #-16]!
Lloh48:
adrp x2, l_.str.6@PAGE
Lloh49:
add x2, x2, l_.str.6@PAGEOFF
b LBB0_24
LBB0_36:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _FFT_NUM_SAMPLES,4,2 ; @FFT_NUM_SAMPLES
.comm _DFS,4,2 ; @DFS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "HT40: datalen=%d, num_fft_packets=%d\n"
l_.str.1: ; @.str.1
.asciz "not enough packets for chirp\n"
l_.str.2: ; @.str.2
.asciz "fixing datalen by 2\n"
l_.str.3: ; @.str.3
.asciz "HT20: datalen=%d, num_fft_packets=%d\n"
l_.str.4: ; @.str.4
.asciz "bin_max = [%d, %d, %d, %d]\n"
.comm _NUM_DIFFS,4,2 ; @NUM_DIFFS
.comm _BIN_DELTA_MIN,8,3 ; @BIN_DELTA_MIN
.comm _BIN_DELTA_MAX,8,3 ; @BIN_DELTA_MAX
l_.str.5: ; @.str.5
.asciz "CHIRP: invalid delta %d in sample %d\n"
.comm _MAX_DIFF,8,3 ; @MAX_DIFF
l_.str.6: ; @.str.6
.asciz "CHIRP: ddelta %d too high\n"
l_.str.7: ; @.str.7
.asciz "CHIRP - %d: delta=%d, ddelta=%d\n"
.no_dead_strip _ath9k_check_chirping
.subsections_via_symbols
| assembly_file_15330.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function iavf_free_traffic_irqs
_iavf_free_traffic_irqs: ## @iavf_free_traffic_irqs
.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 16(%rdi), %rax
testq %rax, %rax
je LBB0_5
## %bb.1:
movq %rdi, %r15
movl (%rdi), %ebx
movq _NONQ_VECS@GOTPCREL(%rip), %r13
movslq (%r13), %rcx
subl %ecx, %ebx
testl %ebx, %ebx
jle LBB0_5
## %bb.2:
movl (%rax,%rcx,4), %r14d
movl %r14d, %edi
xorl %esi, %esi
callq _irq_set_affinity_notifier
movl %r14d, %edi
xorl %esi, %esi
callq _irq_set_affinity_hint
movq 8(%r15), %rsi
movl %r14d, %edi
callq _free_irq
cmpl $1, %ebx
je LBB0_5
## %bb.3:
movl %ebx, %eax
movq %rax, -48(%rbp) ## 8-byte Spill
movl $1, %ebx
movl $4, %r12d
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 16(%r15), %rax
movl (%r13), %ecx
addl %ebx, %ecx
movslq %ecx, %rcx
movq %r13, %r14
movl (%rax,%rcx,4), %r13d
movl %r13d, %edi
xorl %esi, %esi
callq _irq_set_affinity_notifier
movl %r13d, %edi
xorl %esi, %esi
callq _irq_set_affinity_hint
movq 8(%r15), %rsi
addq %r12, %rsi
movl %r13d, %edi
movq %r14, %r13
callq _free_irq
incq %rbx
addq $4, %r12
cmpq %rbx, -48(%rbp) ## 8-byte Folded Reload
jne LBB0_4
LBB0_5:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NONQ_VECS,4,2 ## @NONQ_VECS
.no_dead_strip _iavf_free_traffic_irqs
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function iavf_free_traffic_irqs
_iavf_free_traffic_irqs: ; @iavf_free_traffic_irqs
.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_5
; %bb.1:
mov x19, x0
ldr w10, [x0]
Lloh0:
adrp x21, _NONQ_VECS@GOTPAGE
Lloh1:
ldr x21, [x21, _NONQ_VECS@GOTPAGEOFF]
ldrsw x9, [x21]
sub w22, w10, w9
cmp w22, #1
b.lt LBB0_5
; %bb.2:
ldr w20, [x8, x9, lsl #2]
mov x0, x20
mov x1, #0
bl _irq_set_affinity_notifier
mov x0, x20
mov x1, #0
bl _irq_set_affinity_hint
ldr x1, [x19, #8]
mov x0, x20
bl _free_irq
cmp w22, #1
b.eq LBB0_5
; %bb.3:
mov w23, #1
mov w24, #4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
ldr w9, [x21]
add w9, w23, w9
ldr w20, [x8, w9, sxtw #2]
mov x0, x20
mov x1, #0
bl _irq_set_affinity_notifier
mov x0, x20
mov x1, #0
bl _irq_set_affinity_hint
ldr x8, [x19, #8]
add x1, x8, x24
mov x0, x20
bl _free_irq
add x23, x23, #1
add x24, x24, #4
cmp x22, x23
b.ne LBB0_4
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
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _NONQ_VECS,4,2 ; @NONQ_VECS
.no_dead_strip _iavf_free_traffic_irqs
.subsections_via_symbols
| AnghaBench/linux/drivers/net/ethernet/intel/iavf/extr_iavf_main.c_iavf_free_traffic_irqs.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function __prci_wrpll_write_cfg
___prci_wrpll_write_cfg: ## @__prci_wrpll_write_cfg
.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
movq %rdi, %r15
movq %rdx, %rdi
callq ___prci_wrpll_pack
movl 4(%rbx), %esi
movl %eax, %edi
movq %r15, %rdx
callq ___prci_writel
movq %rbx, %rdi
movq %r14, %rsi
movl $4, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _memcpy ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip ___prci_wrpll_write_cfg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function __prci_wrpll_write_cfg
___prci_wrpll_write_cfg: ; @__prci_wrpll_write_cfg
.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
mov x0, x2
bl ___prci_wrpll_pack
ldr w1, [x20, #4]
mov x2, x21
bl ___prci_writel
mov x0, x20
mov x1, x19
mov w2, #4
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 _memcpy
.cfi_endproc
; -- End function
.no_dead_strip ___prci_wrpll_write_cfg
.subsections_via_symbols
| AnghaBench/linux/drivers/clk/sifive/extr_fu540-prci.c___prci_wrpll_write_cfg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function m68k_op_and_16_er_aw
_m68k_op_and_16_er_aw: ## @m68k_op_and_16_er_aw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
callq _OPER_AW_16
orl $-65536, %eax ## imm = 0xFFFF0000
movq _DX@GOTPCREL(%rip), %rcx
andl (%rcx), %eax
movl %eax, (%rcx)
movl %eax, %edi
callq _MASK_OUT_ABOVE_16
movq _FLAG_Z@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl %eax, %edi
callq _NFLAG_16
movq _FLAG_N@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _CFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_C@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq _VFLAG_CLEAR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _FLAG_V@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _DX,4,2 ## @DX
.comm _FLAG_Z,4,2 ## @FLAG_Z
.comm _FLAG_N,4,2 ## @FLAG_N
.comm _CFLAG_CLEAR,4,2 ## @CFLAG_CLEAR
.comm _FLAG_C,4,2 ## @FLAG_C
.comm _VFLAG_CLEAR,4,2 ## @VFLAG_CLEAR
.comm _FLAG_V,4,2 ## @FLAG_V
.no_dead_strip _m68k_op_and_16_er_aw
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function m68k_op_and_16_er_aw
_m68k_op_and_16_er_aw: ; @m68k_op_and_16_er_aw
.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 _OPER_AW_16
orr w8, w0, #0xffff0000
Lloh0:
adrp x9, _DX@GOTPAGE
Lloh1:
ldr x9, [x9, _DX@GOTPAGEOFF]
ldr w10, [x9]
and w0, w10, w8
str w0, [x9]
bl _MASK_OUT_ABOVE_16
Lloh2:
adrp x8, _FLAG_Z@GOTPAGE
Lloh3:
ldr x8, [x8, _FLAG_Z@GOTPAGEOFF]
Lloh4:
str w0, [x8]
bl _NFLAG_16
Lloh5:
adrp x8, _FLAG_N@GOTPAGE
Lloh6:
ldr x8, [x8, _FLAG_N@GOTPAGEOFF]
Lloh7:
str w0, [x8]
Lloh8:
adrp x8, _CFLAG_CLEAR@GOTPAGE
Lloh9:
ldr x8, [x8, _CFLAG_CLEAR@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
Lloh11:
adrp x9, _FLAG_C@GOTPAGE
Lloh12:
ldr x9, [x9, _FLAG_C@GOTPAGEOFF]
Lloh13:
str w8, [x9]
Lloh14:
adrp x8, _VFLAG_CLEAR@GOTPAGE
Lloh15:
ldr x8, [x8, _VFLAG_CLEAR@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
Lloh17:
adrp x9, _FLAG_V@GOTPAGE
Lloh18:
ldr x9, [x9, _FLAG_V@GOTPAGEOFF]
Lloh19:
str w8, [x9]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _DX,4,2 ; @DX
.comm _FLAG_Z,4,2 ; @FLAG_Z
.comm _FLAG_N,4,2 ; @FLAG_N
.comm _CFLAG_CLEAR,4,2 ; @CFLAG_CLEAR
.comm _FLAG_C,4,2 ; @FLAG_C
.comm _VFLAG_CLEAR,4,2 ; @VFLAG_CLEAR
.comm _FLAG_V,4,2 ; @FLAG_V
.no_dead_strip _m68k_op_and_16_er_aw
.subsections_via_symbols
| AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_and_16_er_aw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printvars ## -- Begin function printvars
.p2align 4, 0x90
_printvars: ## @printvars
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %ecx, %eax
movl %edx, %ecx
movq %rsi, %rdx
movq %rdi, %rsi
movq _rawmode@GOTPCREL(%rip), %rdi
cmpq $0, (%rdi)
je LBB0_2
## %bb.1:
movl %eax, %edi
popq %rbp
jmp _rawprint ## TAILCALL
LBB0_2:
movl %eax, %edi
popq %rbp
jmp _cookedprint ## TAILCALL
.cfi_endproc
## -- End function
.comm _rawmode,8,3 ## @rawmode
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _printvars ; -- Begin function printvars
.p2align 2
_printvars: ; @printvars
.cfi_startproc
; %bb.0:
mov x8, x3
mov x3, x2
mov x2, x1
mov x1, x0
Lloh0:
adrp x9, _rawmode@GOTPAGE
Lloh1:
ldr x9, [x9, _rawmode@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cbz x9, LBB0_2
; %bb.1:
mov x0, x8
b _rawprint
LBB0_2:
mov x0, x8
b _cookedprint
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _rawmode,8,3 ; @rawmode
.subsections_via_symbols
| AnghaBench/freebsd/contrib/ntp/ntpq/extr_ntpq.c_printvars.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function PE_parse_boot_argn_internal
_PE_parse_boot_argn_internal: ## @PE_parse_boot_argn_internal
.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 %rcx, -88(%rbp) ## 8-byte Spill
## kill: def $edx killed $edx def $rdx
movq %rdx, -72(%rbp) ## 8-byte Spill
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, -96(%rbp) ## 8-byte Spill
movq $0, -104(%rbp)
xorl %eax, %eax
callq _PE_boot_args
movq %rax, %r15
movzbl (%rax), %edx
movq _FALSE@GOTPCREL(%rip), %rcx
movq (%rcx), %rax
testb %dl, %dl
je LBB0_51
## %bb.1:
movq %rax, -56(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movsbl %dl, %edi
callq _isargsep
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movzbl 1(%r15), %edx
incq %r15
testb %dl, %dl
jne LBB0_2
LBB0_4:
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
sete %al
movq -72(%rbp), %rcx ## 8-byte Reload
testl %ecx, %ecx
setns %dl
andb %al, %dl
movb %dl, -41(%rbp) ## 1-byte Spill
leal -1(%rcx), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq -96(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
## Child Loop BB0_18 Depth 2
## Child Loop BB0_45 Depth 2
## Child Loop BB0_48 Depth 2
movzbl (%r15), %eax
movq _TRUE@GOTPCREL(%rip), %rcx
cmpl $45, %eax
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
testl %eax, %eax
je LBB0_50
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq _FALSE@GOTPCREL(%rip), %rcx
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movq (%rcx), %r12
movsbl %al, %edi
callq _isargsep
movq %r15, %r13
testq %rax, %rax
jne LBB0_12
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movq %r15, %r13
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpb $61, (%r13)
je LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=2
movsbl 1(%r13), %edi
incq %r13
callq _isargsep
testq %rax, %rax
je LBB0_10
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_5 Depth=1
movzbl (%r13), %edx
cmpb $61, %dl
sete %al
testq %r12, %r12
setne %cl
orb %al, %cl
cmpb $1, %cl
jne LBB0_44
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movb %dl, -42(%rbp) ## 1-byte Spill
movq %r13, %rbx
subq %r15, %rbx
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _strncmp
testq %rax, %rax
jne LBB0_44
## %bb.14: ## in Loop: Header=BB0_5 Depth=1
movq %r14, %rdi
callq _strlen
cmpq %rax, %rbx
jne LBB0_44
## %bb.15: ## in Loop: Header=BB0_5 Depth=1
testq %r12, %r12
je LBB0_16
## %bb.22: ## in Loop: Header=BB0_5 Depth=1
cmpb $0, -41(%rbp) ## 1-byte Folded Reload
je LBB0_5
## %bb.23: ## in Loop: Header=BB0_5 Depth=1
movl $1, %edi
movq -64(%rbp), %rsi ## 8-byte Reload
movq -72(%rbp), %rdx ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _argnumcpy
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_5
LBB0_16: ## in Loop: Header=BB0_5 Depth=1
movzbl (%r13), %eax
testb %al, %al
je LBB0_21
## %bb.17: ## in Loop: Header=BB0_5 Depth=1
incq %r13
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
callq _isargsep
testq %rax, %rax
je LBB0_24
## %bb.19: ## in Loop: Header=BB0_18 Depth=2
movzbl (%r13), %eax
incq %r13
testb %al, %al
jne LBB0_18
## %bb.20: ## in Loop: Header=BB0_5 Depth=1
decq %r13
LBB0_21: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
LBB0_27: ## in Loop: Header=BB0_5 Depth=1
movq -96(%rbp), %rcx ## 8-byte Reload
cmpb $95, (%rcx)
je LBB0_28
## %bb.32: ## in Loop: Header=BB0_5 Depth=1
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
setne %cl
testb %al, %cl
jne LBB0_38
## %bb.33: ## in Loop: Header=BB0_5 Depth=1
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq %r13, %rdi
leaq -104(%rbp), %rsi
movq _isargsep@GOTPCREL(%rip), %rdx
callq _getval
cmpl $128, %eax
je LBB0_38
## %bb.34: ## in Loop: Header=BB0_5 Depth=1
cmpl $129, %eax
jne LBB0_44
## %bb.35: ## in Loop: Header=BB0_5 Depth=1
movq -72(%rbp), %rdx ## 8-byte Reload
testl %edx, %edx
jle LBB0_37
## %bb.36: ## in Loop: Header=BB0_5 Depth=1
movq -104(%rbp), %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
## kill: def $edx killed $edx killed $rdx
callq _argnumcpy
jmp LBB0_43
LBB0_38: ## in Loop: Header=BB0_5 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
jle LBB0_40
## %bb.39: ## in Loop: Header=BB0_5 Depth=1
incq %r13
movq %r13, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
movl -76(%rbp), %edx ## 4-byte Reload
callq _argstrcpy2
LBB0_43: ## in Loop: Header=BB0_5 Depth=1
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB0_44
LBB0_24: ## in Loop: Header=BB0_5 Depth=1
cmpb $61, -1(%r13)
sete %al
cmpb $61, -42(%rbp) ## 1-byte Folded Reload
setne %cl
testb %al, %cl
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_5 Depth=1
movq %r13, %r15
jmp LBB0_44
LBB0_40: ## in Loop: Header=BB0_5 Depth=1
cmpl $-1, %eax
je LBB0_42
## %bb.41: ## in Loop: Header=BB0_5 Depth=1
testl %eax, %eax
je LBB0_43
jmp LBB0_44
LBB0_26: ## in Loop: Header=BB0_5 Depth=1
decq %r13
jmp LBB0_27
LBB0_42: ## in Loop: Header=BB0_5 Depth=1
incq %r13
movq %r13, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _argstrcpy
jmp LBB0_43
LBB0_37: ## in Loop: Header=BB0_5 Depth=1
je LBB0_43
LBB0_44: ## in Loop: Header=BB0_5 Depth=1
decq %r15
.p2align 4, 0x90
LBB0_45: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movsbl 1(%r15), %edi
incq %r15
callq _isargsep
testq %rax, %rax
je LBB0_45
## %bb.46: ## in Loop: Header=BB0_5 Depth=1
movzbl (%r15), %eax
testb %al, %al
je LBB0_5
.p2align 4, 0x90
LBB0_48: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movsbl %al, %edi
callq _isargsep
testq %rax, %rax
je LBB0_5
## %bb.49: ## in Loop: Header=BB0_48 Depth=2
movzbl 1(%r15), %eax
incq %r15
testb %al, %al
jne LBB0_48
jmp LBB0_5
LBB0_50:
movq -56(%rbp), %rax ## 8-byte Reload
LBB0_51:
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_28:
movq -72(%rbp), %rax ## 8-byte Reload
testl %eax, %eax
jle LBB0_30
## %bb.29:
cmpl $18, %eax
movl $17, %edx
cmovael %eax, %edx
incq %r13
decl %edx
movq %r13, %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
callq _argstrcpy2
jmp LBB0_31
LBB0_30:
movq -56(%rbp), %rax ## 8-byte Reload
jne LBB0_51
LBB0_31:
movq _TRUE@GOTPCREL(%rip), %rax
movq (%rax), %rax
jmp LBB0_51
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _TRUE,8,3 ## @TRUE
.no_dead_strip _PE_parse_boot_argn_internal
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function PE_parse_boot_argn_internal
_PE_parse_boot_argn_internal: ; @PE_parse_boot_argn_internal
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x3
mov x20, x2
str x1, [sp, #24] ; 8-byte Folded Spill
mov x22, x0
str xzr, [sp, #40]
bl _PE_boot_args
mov x23, x0
ldrb w8, [x0]
Lloh0:
adrp x26, _FALSE@GOTPAGE
Lloh1:
ldr x26, [x26, _FALSE@GOTPAGEOFF]
ldr x0, [x26]
cbz w8, LBB0_45
; %bb.1:
str x0, [sp, #32] ; 8-byte Folded Spill
LBB0_2: ; =>This Inner Loop Header: Depth=1
sxtb w0, w8
bl _isargsep
cbz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldrb w8, [x23, #1]!
cbnz w8, LBB0_2
LBB0_4:
cmp w20, #0
str x19, [sp, #16] ; 8-byte Folded Spill
ccmp x19, #0, #0, ge
cset w21, eq
sub w8, w20, #1
str w8, [sp, #12] ; 4-byte Folded Spill
Lloh2:
adrp x25, _TRUE@GOTPAGE
Lloh3:
ldr x25, [x25, _TRUE@GOTPAGEOFF]
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_10 Depth 2
; Child Loop BB0_20 Depth 2
; Child Loop BB0_36 Depth 2
; Child Loop BB0_38 Depth 2
ldrb w8, [x23]
mov x9, x25
cmp w8, #45
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cbz w8, LBB0_44
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x9, x26
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
sxtb w0, w8
ldr x24, [x9]
bl _isargsep
mov x27, x23
cbnz x0, LBB0_12
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov x27, x23
LBB0_10: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w8, [x27]
cmp w8, #61
b.eq LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=2
ldrsb w0, [x27, #1]!
bl _isargsep
cbz x0, LBB0_10
LBB0_12: ; in Loop: Header=BB0_5 Depth=1
ldrb w19, [x27]
cmp w19, #61
ccmp x24, #0, #0, ne
b.eq LBB0_35
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
sub x28, x27, x23
mov x0, x23
mov x1, x22
mov x2, x28
bl _strncmp
cbnz x0, LBB0_35
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
bl _strlen
cmp x28, x0
b.ne LBB0_35
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
cbz x24, LBB0_18
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
cbz w21, LBB0_5
; %bb.17: ; in Loop: Header=BB0_5 Depth=1
mov w0, #1 ; =0x1
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x2, x20
bl _argnumcpy
ldr x8, [x25]
str x8, [sp, #32] ; 8-byte Folded Spill
b LBB0_5
LBB0_18: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [x27]
cbz w8, LBB0_26
; %bb.19: ; in Loop: Header=BB0_5 Depth=1
add x24, x27, #1
LBB0_20: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w0, w8
bl _isargsep
cbz x0, LBB0_23
; %bb.21: ; in Loop: Header=BB0_20 Depth=2
ldrb w8, [x24], #1
cbnz w8, LBB0_20
; %bb.22: ; in Loop: Header=BB0_5 Depth=1
sub x27, x24, #1
b LBB0_26
LBB0_23: ; in Loop: Header=BB0_5 Depth=1
mov x27, x24
ldrb w9, [x27, #-1]!
cmp w9, #61
cset w8, eq
cmp w19, #61
b.eq LBB0_26
; %bb.24: ; in Loop: Header=BB0_5 Depth=1
cmp w9, #61
b.ne LBB0_26
; %bb.25: ; in Loop: Header=BB0_5 Depth=1
mov x23, x24
b LBB0_35
LBB0_26: ; in Loop: Header=BB0_5 Depth=1
ldrb w9, [x22]
cmp w9, #95
b.eq LBB0_46
; %bb.27: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [sp, #16] ; 8-byte Folded Reload
cmp x9, #0
csel w8, wzr, w8, eq
tbnz w8, #0, LBB0_32
; %bb.28: ; in Loop: Header=BB0_5 Depth=1
ldr x3, [x26]
add x1, sp, #40
mov x0, x27
Lloh4:
adrp x2, _isargsep@GOTPAGE
Lloh5:
ldr x2, [x2, _isargsep@GOTPAGEOFF]
bl _getval
cmp w0, #128
b.eq LBB0_32
; %bb.29: ; in Loop: Header=BB0_5 Depth=1
cmp w0, #129
b.ne LBB0_35
; %bb.30: ; in Loop: Header=BB0_5 Depth=1
cmp w20, #1
b.lt LBB0_43
; %bb.31: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [sp, #40]
ldr x1, [sp, #24] ; 8-byte Folded Reload
mov x2, x20
bl _argnumcpy
b LBB0_34
LBB0_32: ; in Loop: Header=BB0_5 Depth=1
cmp w20, #1
b.lt LBB0_40
; %bb.33: ; in Loop: Header=BB0_5 Depth=1
add x0, x27, #1
ldr x1, [sp, #24] ; 8-byte Folded Reload
ldr w2, [sp, #12] ; 4-byte Folded Reload
bl _argstrcpy2
LBB0_34: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x25]
str x8, [sp, #32] ; 8-byte Folded Spill
LBB0_35: ; in Loop: Header=BB0_5 Depth=1
sub x23, x23, #1
LBB0_36: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldrsb w0, [x23, #1]!
bl _isargsep
cbz x0, LBB0_36
; %bb.37: ; in Loop: Header=BB0_5 Depth=1
ldrb w8, [x23]
cbz w8, LBB0_5
LBB0_38: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
sxtb w0, w8
bl _isargsep
cbz x0, LBB0_5
; %bb.39: ; in Loop: Header=BB0_38 Depth=2
ldrb w8, [x23, #1]!
cbnz w8, LBB0_38
b LBB0_5
LBB0_40: ; in Loop: Header=BB0_5 Depth=1
cmn w20, #1
b.eq LBB0_42
; %bb.41: ; in Loop: Header=BB0_5 Depth=1
cbz w20, LBB0_34
b LBB0_35
LBB0_42: ; in Loop: Header=BB0_5 Depth=1
add x0, x27, #1
ldr x1, [sp, #24] ; 8-byte Folded Reload
bl _argstrcpy
b LBB0_34
LBB0_43: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x25]
cmp w20, #0
ldr x9, [sp, #32] ; 8-byte Folded Reload
csel x9, x8, x9, eq
str x9, [sp, #32] ; 8-byte Folded Spill
b LBB0_35
LBB0_44:
ldr x0, [sp, #32] ; 8-byte Folded Reload
LBB0_45:
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
LBB0_46:
cmp w20, #1
b.lt LBB0_48
; %bb.47:
mov w8, #17 ; =0x11
cmp w20, #17
csel w8, w20, w8, hi
sub w2, w8, #1
add x0, x27, #1
ldr x1, [sp, #24] ; 8-byte Folded Reload
bl _argstrcpy2
ldr x0, [x25]
b LBB0_45
LBB0_48:
ldr x8, [x25]
cmp w20, #0
ldr x0, [sp, #32] ; 8-byte Folded Reload
csel x0, x8, x0, eq
b LBB0_45
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _TRUE,8,3 ; @TRUE
.no_dead_strip _PE_parse_boot_argn_internal
.subsections_via_symbols
| assembly_file_159193.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pqisrc_update_log_dev_qdepth
_pqisrc_update_log_dev_qdepth: ## @pqisrc_update_log_dev_qdepth
.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, %r14
leaq L_.str(%rip), %rdi
callq _DBG_FUNC
movq _PQI_MAX_DEVICES@GOTPCREL(%rip), %rax
movl (%rax), %ecx
testl %ecx, %ecx
je LBB0_20
## %bb.1:
movq _PQI_MAX_MULTILUN@GOTPCREL(%rip), %r12
movl (%r12), %eax
xorl %r13d, %r13d
movq %r14, -56(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movq _PQI_MAX_DEVICES@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
incq %r13
movl %ecx, %edx
cmpq %rdx, %r13
jae LBB0_20
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
## Child Loop BB0_12 Depth 3
testl %eax, %eax
movl $0, %eax
je LBB0_19
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
xorl %r15d, %r15d
movq %r13, -64(%rbp) ## 8-byte Spill
jmp LBB0_4
LBB0_10: ## in Loop: Header=BB0_4 Depth=2
xorl %r14d, %r14d
LBB0_16: ## in Loop: Header=BB0_4 Depth=2
movl %r14d, 8(%rbx)
movq -56(%rbp), %r14 ## 8-byte Reload
movq _PQI_MAX_MULTILUN@GOTPCREL(%rip), %r12
movq -64(%rbp), %r13 ## 8-byte Reload
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_4 Depth=2
incq %r15
movl (%r12), %eax
cmpq %rax, %r15
jae LBB0_18
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_12 Depth 3
movq (%r14), %rax
movq (%rax,%r13,8), %rax
movq (%rax,%r15,8), %rbx
testq %rbx, %rbx
je LBB0_17
## %bb.5: ## in Loop: Header=BB0_4 Depth=2
movq (%rbx), %rax
movq _DISK_DEVICE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_17
## %bb.6: ## in Loop: Header=BB0_4 Depth=2
movq %rbx, %rdi
callq _pqisrc_is_logical_device
testl %eax, %eax
je LBB0_17
## %bb.7: ## in Loop: Header=BB0_4 Depth=2
movq %rbx, %rdi
callq _pqisrc_is_external_raid_device
testq %rax, %rax
jne LBB0_17
## %bb.8: ## in Loop: Header=BB0_4 Depth=2
movq _PQI_LOGICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
movq 24(%rbx), %r14
testq %r14, %r14
je LBB0_14
## %bb.9: ## in Loop: Header=BB0_4 Depth=2
movq 16(%r14), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movl 12(%r14), %edi
callq _LE_16
movl %eax, -48(%rbp) ## 4-byte Spill
movl 8(%r14), %edi
callq _LE_16
movl %eax, %r12d
movl 4(%r14), %edi
callq _LE_16
addl %r12d, %eax
movl %eax, %r12d
movl (%r14), %edi
callq _LE_16
imull -48(%rbp), %eax ## 4-byte Folded Reload
imull %r12d, %eax
testl %eax, %eax
je LBB0_10
## %bb.11: ## in Loop: Header=BB0_4 Depth=2
movq %r14, -48(%rbp) ## 8-byte Spill
movl %eax, %r13d
xorl %r12d, %r12d
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_2 Depth=1
## Parent Loop BB0_4 Depth=2
## => This Inner Loop Header: Depth=3
movq -72(%rbp), %rax ## 8-byte Reload
movl (%rax,%r12,4), %esi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _pqisrc_identify_device_via_ioaccel
testq %rax, %rax
je LBB0_13
## %bb.15: ## in Loop: Header=BB0_12 Depth=3
addl 8(%rax), %r14d
incq %r12
cmpq %r12, %r13
jne LBB0_12
jmp LBB0_16
LBB0_13:
movq 32(%rbx), %rax
movl (%rax), %edi
callq _BE_64
leaq L_.str.1(%rip), %rdi
movq %rax, %rsi
callq _DBG_WARN
movq $0, 12(%rbx)
movq -56(%rbp), %rdi ## 8-byte Reload
movq -48(%rbp), %rsi ## 8-byte Reload
movl $24, %edx
callq _os_mem_free
movq $0, 24(%rbx)
LBB0_14:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_20:
leaq L_.str.2(%rip), %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _DBG_FUNC ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "IN\n"
.comm _PQI_MAX_DEVICES,4,2 ## @PQI_MAX_DEVICES
.comm _PQI_MAX_MULTILUN,4,2 ## @PQI_MAX_MULTILUN
.comm _DISK_DEVICE,8,3 ## @DISK_DEVICE
.comm _PQI_LOGICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH,4,2 ## @PQI_LOGICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH
L_.str.1: ## @.str.1
.asciz "Failed to find physical disk handle for logical drive %016llx\n"
L_.str.2: ## @.str.2
.asciz "OUT\n"
.no_dead_strip _pqisrc_update_log_dev_qdepth
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pqisrc_update_log_dev_qdepth
_pqisrc_update_log_dev_qdepth: ; @pqisrc_update_log_dev_qdepth
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _DBG_FUNC
Lloh2:
adrp x8, _PQI_MAX_DEVICES@GOTPAGE
Lloh3:
ldr x8, [x8, _PQI_MAX_DEVICES@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
cbz w8, LBB0_18
; %bb.1:
mov x25, #0
Lloh5:
adrp x26, _PQI_MAX_MULTILUN@GOTPAGE
Lloh6:
ldr x26, [x26, _PQI_MAX_MULTILUN@GOTPAGEOFF]
ldr w9, [x26]
Lloh7:
adrp x27, _DISK_DEVICE@GOTPAGE
Lloh8:
ldr x27, [x27, _DISK_DEVICE@GOTPAGEOFF]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
Lloh9:
adrp x8, _PQI_MAX_DEVICES@GOTPAGE
Lloh10:
ldr x8, [x8, _PQI_MAX_DEVICES@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x25, x25, #1
cmp x25, w8, uxtw
b.hs LBB0_18
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
; Child Loop BB0_14 Depth 3
cbz w9, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x28, #0
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_8 Depth=2
str w23, [x20, #8]
LBB0_7: ; in Loop: Header=BB0_8 Depth=2
add x28, x28, #1
ldr w9, [x26]
cmp x28, x9
b.hs LBB0_2
LBB0_8: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_14 Depth 3
ldr x8, [x19]
ldr x8, [x8, x25, lsl #3]
ldr x20, [x8, x28, lsl #3]
cbz x20, LBB0_7
; %bb.9: ; in Loop: Header=BB0_8 Depth=2
ldr x8, [x20]
ldr x9, [x27]
cmp x8, x9
b.ne LBB0_7
; %bb.10: ; in Loop: Header=BB0_8 Depth=2
mov x0, x20
bl _pqisrc_is_logical_device
cbz w0, LBB0_7
; %bb.11: ; in Loop: Header=BB0_8 Depth=2
mov x0, x20
bl _pqisrc_is_external_raid_device
cbnz x0, LBB0_7
; %bb.12: ; in Loop: Header=BB0_8 Depth=2
Lloh12:
adrp x8, _PQI_LOGICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH@GOTPAGE
Lloh13:
ldr x8, [x8, _PQI_LOGICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
str w8, [x20, #8]
ldr x21, [x20, #24]
cbz x21, LBB0_17
; %bb.13: ; in Loop: Header=BB0_8 Depth=2
ldr x24, [x21, #16]
ldr w0, [x21, #12]
bl _LE_16
mov x22, x0
ldr w0, [x21, #8]
bl _LE_16
mov x23, x0
ldr w0, [x21, #4]
bl _LE_16
add w8, w0, w23
mul w22, w8, w22
ldr w0, [x21]
bl _LE_16
mov w23, #0
mul w22, w22, w0
cbz w22, LBB0_6
LBB0_14: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_8 Depth=2
; => This Inner Loop Header: Depth=3
ldr w1, [x24]
mov x0, x19
bl _pqisrc_identify_device_via_ioaccel
cbz x0, LBB0_16
; %bb.15: ; in Loop: Header=BB0_14 Depth=3
ldr w8, [x0, #8]
add w23, w8, w23
add x24, x24, #4
subs x22, x22, #1
b.ne LBB0_14
b LBB0_6
LBB0_16:
ldr x8, [x20, #32]
ldr w0, [x8]
bl _BE_64
mov x1, x0
Lloh15:
adrp x0, l_.str.1@PAGE
Lloh16:
add x0, x0, l_.str.1@PAGEOFF
bl _DBG_WARN
stp wzr, wzr, [x20, #12]
mov x0, x19
mov x1, x21
mov w2, #24
bl _os_mem_free
str xzr, [x20, #24]
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
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_18:
Lloh17:
adrp x0, l_.str.2@PAGE
Lloh18:
add x0, x0, l_.str.2@PAGEOFF
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
b _DBG_FUNC
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "IN\n"
.comm _PQI_MAX_DEVICES,4,2 ; @PQI_MAX_DEVICES
.comm _PQI_MAX_MULTILUN,4,2 ; @PQI_MAX_MULTILUN
.comm _DISK_DEVICE,8,3 ; @DISK_DEVICE
.comm _PQI_LOGICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH,4,2 ; @PQI_LOGICAL_DISK_DEFAULT_MAX_QUEUE_DEPTH
l_.str.1: ; @.str.1
.asciz "Failed to find physical disk handle for logical drive %016llx\n"
l_.str.2: ; @.str.2
.asciz "OUT\n"
.no_dead_strip _pqisrc_update_log_dev_qdepth
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/smartpqi/extr_smartpqi_discovery.c_pqisrc_update_log_dev_qdepth.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function randombytes_esp32_implementation_name
_randombytes_esp32_implementation_name: ## @randombytes_esp32_implementation_name
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "esp32"
.no_dead_strip _randombytes_esp32_implementation_name
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function randombytes_esp32_implementation_name
_randombytes_esp32_implementation_name: ; @randombytes_esp32_implementation_name
.cfi_startproc
; %bb.0:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "esp32"
.no_dead_strip _randombytes_esp32_implementation_name
.subsections_via_symbols
| AnghaBench/esp-idf/components/libsodium/port/extr_randombytes_esp32.c_randombytes_esp32_implementation_name.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
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $0, -28(%rbp)
leaq L_str(%rip), %rdi
callq _puts
leaq L_.str.1(%rip), %rdi
leaq -28(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -28(%rbp), %esi
cmpl $56, %esi
je LBB0_3
## %bb.1:
leaq L_.str.3(%rip), %r14
leaq L_.str.1(%rip), %r15
leaq -32(%rbp), %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %esi, -32(%rbp)
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq _scanf
movl -32(%rbp), %esi
movl %esi, -28(%rbp)
cmpl $56, %esi
jne LBB0_2
LBB0_3:
leaq L_str.4(%rip), %rdi
callq _puts
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _critic ## -- Begin function critic
.p2align 4, 0x90
_critic: ## @critic
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, %esi
movl %edi, -4(%rbp)
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -4(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "No luck, not %d my friend. Try again.\n"
L_str: ## @str
.asciz "How many pounds to a firkin of butter?"
L_str.4: ## @str.4
.asciz "You must looked it up!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
str wzr, [sp, #8]
Lloh0:
adrp x0, l_str@PAGE
Lloh1:
add x0, x0, l_str@PAGEOFF
bl _puts
add x8, sp, #8
str x8, [sp]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr w8, [sp, #8]
cmp w8, #56
b.eq LBB0_3
; %bb.1:
Lloh4:
adrp x19, l_.str.3@PAGE
Lloh5:
add x19, x19, l_.str.3@PAGEOFF
add x21, sp, #12
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
LBB0_2: ; =>This Inner Loop Header: Depth=1
str w8, [sp, #12]
str x8, [sp]
mov x0, x19
bl _printf
str x21, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
str w8, [sp, #8]
cmp w8, #56
b.ne LBB0_2
LBB0_3:
Lloh8:
adrp x0, l_str.4@PAGE
Lloh9:
add x0, x0, l_str.4@PAGEOFF
bl _puts
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.globl _critic ; -- Begin function critic
.p2align 2
_critic: ; @critic
.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
; kill: def $w0 killed $w0 def $x0
stur w0, [x29, #-4]
str x0, [sp]
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
bl _printf
sub x8, x29, #4
str x8, [sp]
Lloh12:
adrp x0, l_.str.1@PAGE
Lloh13:
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "No luck, not %d my friend. Try again.\n"
l_str: ; @str
.asciz "How many pounds to a firkin of butter?"
l_str.4: ; @str.4
.asciz "You must looked it up!"
.subsections_via_symbols
| the_stack_data/925014.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_operation ## -- Begin function do_operation
.p2align 4, 0x90
_do_operation: ## @do_operation
.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 _semaphore_name(%rip), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq _sem_open
cmpq $-1, %rax
je LBB0_2
## %bb.1:
movq %rax, %r14
movl $100000000, %ebx ## imm = 0x5F5E100
movq _shared_counter@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
callq _sem_wait
testl %eax, %eax
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
incl (%r15)
movq %r14, %rdi
callq _sem_post
testl %eax, %eax
jne LBB0_7
## %bb.3: ## in Loop: Header=BB0_4 Depth=1
decl %ebx
jne LBB0_4
LBB0_8:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
callq _do_operation.cold.1
jmp LBB0_8
LBB0_5:
callq _do_operation.cold.3
jmp LBB0_8
LBB0_7:
callq _do_operation.cold.2
jmp LBB0_8
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function main
LCPI1_0:
.long 1127219200 ## 0x43300000
.long 1160773632 ## 0x45300000
.long 0 ## 0x0
.long 0 ## 0x0
LCPI1_1:
.quad 0x4330000000000000 ## double 4503599627370496
.quad 0x4530000000000000 ## double 1.9342813113834067E+25
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI1_2:
.quad 0x41cdcd6500000000 ## double 1.0E+9
.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 %rbx
subq $88, %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)
movq _semaphore_name(%rip), %rdi
callq _sem_unlink
cmpl $-1, %eax
je LBB1_1
LBB1_2:
movq _semaphore_name(%rip), %rdi
movl $512, %esi ## imm = 0x200
movl $384, %edx ## imm = 0x180
movl $1, %ecx
xorl %eax, %eax
callq _sem_open
cmpq $-1, %rax
je LBB1_3
## %bb.6:
movq %rax, %rdi
callq _sem_close
leaq -112(%rbp), %rsi
movl $12, %edi
callq _clock_gettime
leaq -80(%rbp), %rsi
xorl %edi, %edi
callq _clock_gettime
leaq _do_operation(%rip), %rdx
leaq -48(%rbp), %rdi
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
testl %eax, %eax
jne LBB1_13
## %bb.7:
leaq -40(%rbp), %rdi
leaq _do_operation(%rip), %rdx
xorl %esi, %esi
xorl %ecx, %ecx
callq _pthread_create
testl %eax, %eax
jne LBB1_13
## %bb.8:
movq -48(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
testl %eax, %eax
jne LBB1_9
LBB1_10:
movq -40(%rbp), %rdi
xorl %esi, %esi
callq _pthread_join
testl %eax, %eax
jne LBB1_11
LBB1_12:
leaq -64(%rbp), %rsi
xorl %edi, %edi
callq _clock_gettime
leaq -96(%rbp), %rsi
movl $12, %edi
callq _clock_gettime
movq _shared_counter@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
leaq L_.str.7(%rip), %rdi
xorl %eax, %eax
callq _printf
cmpl $200000000, (%rbx) ## imm = 0xBEBC200
leaq L_.str.9(%rip), %rax
leaq L_.str.10(%rip), %rsi
cmoveq %rax, %rsi
leaq L_.str.8(%rip), %rdi
xorl %eax, %eax
callq _printf
movq -96(%rbp), %rax
subq -112(%rbp), %rax
imulq $1000000000, %rax, %rbx ## imm = 0x3B9ACA00
addq -88(%rbp), %rbx
subq -104(%rbp), %rbx
movq %rbx, %xmm1
punpckldq LCPI1_0(%rip), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd LCPI1_1(%rip), %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0 ## xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
divsd LCPI1_2(%rip), %xmm0
leaq L_.str.11(%rip), %rdi
movq %rbx, %rsi
movb $1, %al
callq _printf
movabsq $-6067343680855748867, %r15 ## imm = 0xABCC77118461CEFD
movq %rbx, %rax
mulq %r15
shrq $27, %rdx
leaq L_.str.12(%rip), %r14
movq %r14, %rdi
movq %rdx, %rsi
xorl %eax, %eax
callq _printf
movq -64(%rbp), %rax
subq -80(%rbp), %rax
imulq $1000000000, %rax, %rbx ## imm = 0x3B9ACA00
addq -56(%rbp), %rbx
subq -72(%rbp), %rbx
movq %rbx, %xmm1
punpckldq LCPI1_0(%rip), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd LCPI1_1(%rip), %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0 ## xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
divsd LCPI1_2(%rip), %xmm0
leaq L_.str.13(%rip), %rdi
movq %rbx, %rsi
movb $1, %al
callq _printf
movq %rbx, %rax
mulq %r15
shrq $27, %rdx
movq %r14, %rdi
movq %rdx, %rsi
xorl %eax, %eax
callq _printf
LBB1_4:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -32(%rbp), %rax
jne LBB1_14
## %bb.5:
xorl %eax, %eax
addq $88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB1_13:
callq _main.cold.2
jmp LBB1_4
LBB1_1:
leaq L_.str.4(%rip), %rdi
callq _perror
jmp LBB1_2
LBB1_3:
callq _main.cold.1
jmp LBB1_4
LBB1_9:
leaq L_.str.6(%rip), %rdi
callq _perror
jmp LBB1_10
LBB1_11:
leaq L_.str.6(%rip), %rdi
callq _perror
jmp LBB1_12
LBB1_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function do_operation.cold.1
_do_operation.cold.1: ## @do_operation.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 do_operation.cold.2
_do_operation.cold.2: ## @do_operation.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 do_operation.cold.3
_do_operation.cold.3: ## @do_operation.cold.3
.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.2(%rip), %rdi
callq _perror
pushq $1
popq %rdi
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.5(%rip), %rdi
callq _perror
pushq $1
popq %rdi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/il_mio_semaforo_031.3"
.section __DATA,__data
.globl _semaphore_name ## @semaphore_name
.p2align 3
_semaphore_name:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "sem_open"
L_.str.2: ## @.str.2
.asciz "sem_wait"
.comm _shared_counter,4,2 ## @shared_counter
L_.str.3: ## @.str.3
.asciz "sem_post"
L_.str.4: ## @.str.4
.asciz "sem_unlink"
L_.str.5: ## @.str.5
.asciz "pthread_create"
L_.str.6: ## @.str.6
.asciz "pthread_join"
L_.str.7: ## @.str.7
.asciz "shared_counter = %d\n"
L_.str.8: ## @.str.8
.asciz "risultato corretto? %s\n"
L_.str.9: ## @.str.9
.asciz "OK"
L_.str.10: ## @.str.10
.asciz "NO"
L_.str.11: ## @.str.11
.asciz "dt = %lu ns, %.3lf s\n"
L_.str.12: ## @.str.12
.asciz "dt/NUMBER_OF_CYCLES/2 = %ld ns\n"
L_.str.13: ## @.str.13
.asciz "clock_gettime(CLOCK_REALTIME): dt = %ld ns, %.3lf s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _do_operation ; -- Begin function do_operation
.p2align 2
_do_operation: ; @do_operation
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, _semaphore_name@PAGE
Lloh1:
ldr x0, [x8, _semaphore_name@PAGEOFF]
mov w1, #0
bl _sem_open
cmn x0, #1
b.eq LBB0_8
; %bb.1:
mov x19, x0
mov w20, #57600
movk w20, #1525, lsl #16
Lloh2:
adrp x21, _shared_counter@GOTPAGE
Lloh3:
ldr x21, [x21, _shared_counter@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _sem_wait
cbnz w0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x21]
add w8, w8, #1
str w8, [x21]
mov x0, x19
bl _sem_post
cbnz w0, LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
subs w20, w20, #1
b.ne LBB0_2
; %bb.5:
mov x0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6:
bl _do_operation.cold.3
LBB0_7:
bl _do_operation.cold.2
LBB0_8:
bl _do_operation.cold.1
.loh AdrpLdr Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp d9, d8, [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 b8, -56
.cfi_offset b9, -64
Lloh4:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh5:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
stur x8, [x29, #-56]
adrp x19, _semaphore_name@PAGE
ldr x0, [x19, _semaphore_name@PAGEOFF]
bl _sem_unlink
cmn w0, #1
b.eq LBB1_8
LBB1_1:
ldr x0, [x19, _semaphore_name@PAGEOFF]
mov w8, #1
mov w9, #384
stp x9, x8, [sp]
mov w1, #512
bl _sem_open
cmn x0, #1
b.eq LBB1_12
; %bb.2:
bl _sem_close
add x1, sp, #72
mov w0, #12
bl _clock_gettime
add x1, sp, #40
mov w0, #0
bl _clock_gettime
Lloh7:
adrp x2, _do_operation@PAGE
Lloh8:
add x2, x2, _do_operation@PAGEOFF
sub x19, x29, #72
sub x0, x29, #72
mov x1, #0
mov x3, #0
bl _pthread_create
cbnz w0, LBB1_11
; %bb.3:
add x0, x19, #8
Lloh9:
adrp x2, _do_operation@PAGE
Lloh10:
add x2, x2, _do_operation@PAGEOFF
mov x1, #0
mov x3, #0
bl _pthread_create
cbnz w0, LBB1_11
; %bb.4:
ldur x0, [x29, #-72]
mov x1, #0
bl _pthread_join
cbnz w0, LBB1_9
LBB1_5:
ldur x0, [x29, #-64]
mov x1, #0
bl _pthread_join
cbnz w0, LBB1_10
LBB1_6:
add x1, sp, #24
mov w0, #0
bl _clock_gettime
add x1, sp, #56
mov w0, #12
bl _clock_gettime
Lloh11:
adrp x19, _shared_counter@GOTPAGE
Lloh12:
ldr x19, [x19, _shared_counter@GOTPAGEOFF]
ldr w8, [x19]
str x8, [sp]
Lloh13:
adrp x0, l_.str.7@PAGE
Lloh14:
add x0, x0, l_.str.7@PAGEOFF
bl _printf
Lloh15:
adrp x8, l_.str.10@PAGE
Lloh16:
add x8, x8, l_.str.10@PAGEOFF
ldr w9, [x19]
Lloh17:
adrp x10, l_.str.9@PAGE
Lloh18:
add x10, x10, l_.str.9@PAGEOFF
mov w11, #49664
movk w11, #3051, lsl #16
cmp w9, w11
csel x8, x10, x8, eq
str x8, [sp]
Lloh19:
adrp x0, l_.str.8@PAGE
Lloh20:
add x0, x0, l_.str.8@PAGEOFF
bl _printf
ldp x8, x9, [sp, #56]
ldp x10, x11, [sp, #72]
sub x8, x8, x10
mov w20, #51712
movk w20, #15258, lsl #16
madd x8, x8, x20, x9
sub x19, x8, x11
ucvtf d0, x19
mov x8, #225833675390976
movk x8, #16845, lsl #48
fmov d8, x8
fdiv d0, d0, d8
str x19, [sp]
str d0, [sp, #8]
Lloh21:
adrp x0, l_.str.11@PAGE
Lloh22:
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov x21, #52989
movk x21, #33889, lsl #16
movk x21, #30481, lsl #32
movk x21, #43980, lsl #48
umulh x8, x19, x21
lsr x8, x8, #27
str x8, [sp]
Lloh23:
adrp x19, l_.str.12@PAGE
Lloh24:
add x19, x19, l_.str.12@PAGEOFF
mov x0, x19
bl _printf
ldp x8, x9, [sp, #24]
ldp x10, x11, [sp, #40]
sub x8, x8, x10
madd x8, x8, x20, x9
sub x20, x8, x11
ucvtf d0, x20
fdiv d0, d0, d8
str x20, [sp]
str d0, [sp, #8]
Lloh25:
adrp x0, l_.str.13@PAGE
Lloh26:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
umulh x8, x20, x21
lsr x8, x8, #27
str x8, [sp]
mov x0, x19
bl _printf
ldur x8, [x29, #-56]
Lloh27:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh28:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
ldr x9, [x9]
cmp x9, x8
b.ne LBB1_13
; %bb.7:
mov w0, #0
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 d9, d8, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #176
ret
LBB1_8:
Lloh30:
adrp x0, l_.str.4@PAGE
Lloh31:
add x0, x0, l_.str.4@PAGEOFF
bl _perror
b LBB1_1
LBB1_9:
Lloh32:
adrp x0, l_.str.6@PAGE
Lloh33:
add x0, x0, l_.str.6@PAGEOFF
bl _perror
b LBB1_5
LBB1_10:
Lloh34:
adrp x0, l_.str.6@PAGE
Lloh35:
add x0, x0, l_.str.6@PAGEOFF
bl _perror
b LBB1_6
LBB1_11:
bl _main.cold.2
LBB1_12:
bl _main.cold.1
LBB1_13:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function do_operation.cold.1
_do_operation.cold.1: ; @do_operation.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
Lloh36:
adrp x0, l_.str.1@PAGE
Lloh37:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh36, Lloh37
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function do_operation.cold.2
_do_operation.cold.2: ; @do_operation.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
Lloh38:
adrp x0, l_.str.3@PAGE
Lloh39:
add x0, x0, l_.str.3@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh38, Lloh39
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function do_operation.cold.3
_do_operation.cold.3: ; @do_operation.cold.3
.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
Lloh40:
adrp x0, l_.str.2@PAGE
Lloh41:
add x0, x0, l_.str.2@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh40, Lloh41
.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
Lloh42:
adrp x0, l_.str.1@PAGE
Lloh43:
add x0, x0, l_.str.1@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh42, Lloh43
.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
Lloh44:
adrp x0, l_.str.5@PAGE
Lloh45:
add x0, x0, l_.str.5@PAGEOFF
bl _perror
bl _OUTLINED_FUNCTION_0
.loh AdrpAdd Lloh44, Lloh45
.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 "/il_mio_semaforo_031.3"
.section __DATA,__data
.globl _semaphore_name ; @semaphore_name
.p2align 3
_semaphore_name:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "sem_open"
l_.str.2: ; @.str.2
.asciz "sem_wait"
.comm _shared_counter,4,2 ; @shared_counter
l_.str.3: ; @.str.3
.asciz "sem_post"
l_.str.4: ; @.str.4
.asciz "sem_unlink"
l_.str.5: ; @.str.5
.asciz "pthread_create"
l_.str.6: ; @.str.6
.asciz "pthread_join"
l_.str.7: ; @.str.7
.asciz "shared_counter = %d\n"
l_.str.8: ; @.str.8
.asciz "risultato corretto? %s\n"
l_.str.9: ; @.str.9
.asciz "OK"
l_.str.10: ; @.str.10
.asciz "NO"
l_.str.11: ; @.str.11
.asciz "dt = %lu ns, %.3lf s\n"
l_.str.12: ; @.str.12
.asciz "dt/NUMBER_OF_CYCLES/2 = %ld ns\n"
l_.str.13: ; @.str.13
.asciz "clock_gettime(CLOCK_REALTIME): dt = %ld ns, %.3lf s\n"
.subsections_via_symbols
| the_stack_data/100141766.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
leaq L_.str.11(%rip), %r15
leaq -48(%rbp), %r12
leaq L_.str.24(%rip), %r13
leaq LJTI0_0(%rip), %r14
xorl %ebx, %ebx
jmp LBB0_1
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
leaq L_str.55(%rip), %rdi
LBB0_31: ## in Loop: Header=BB0_1 Depth=1
callq _puts
LBB0_32: ## in Loop: Header=BB0_1 Depth=1
movq %r13, %rdi
callq _system
cmpl $9, -48(%rbp)
je LBB0_33
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
## Child Loop BB0_16 Depth 2
leaq L_.str(%rip), %rdi
callq _system
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.33(%rip), %rdi
callq _puts
leaq L_str.34(%rip), %rdi
callq _puts
leaq L_str.35(%rip), %rdi
callq _puts
leaq L_str.36(%rip), %rdi
callq _puts
leaq L_str.37(%rip), %rdi
callq _puts
leaq L_str.38(%rip), %rdi
callq _puts
leaq L_str.39(%rip), %rdi
callq _puts
leaq L_str.40(%rip), %rdi
callq _puts
leaq L_.str.10(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq _scanf
movl $10, %edi
callq _putchar
movl -48(%rbp), %eax
decl %eax
cmpl $8, %eax
ja LBB0_30
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.13(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %esi
movq %rbx, %rdi
callq _insert_node
movq %rax, %rbx
jmp LBB0_32
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
testq %rbx, %rbx
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
leaq L_str.52(%rip), %rdi
callq _puts
movq %rbx, %rdi
callq _pre_order
leaq L_str.53(%rip), %rdi
jmp LBB0_31
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
testq %rbx, %rbx
je LBB0_5
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
leaq L_str.49(%rip), %rdi
callq _puts
movq %rbx, %rdi
callq _in_order
leaq L_str.53(%rip), %rdi
jmp LBB0_31
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
testq %rbx, %rbx
je LBB0_5
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
leaq L_str.46(%rip), %rdi
callq _puts
movq %rbx, %rdi
callq _post_order
leaq L_str.53(%rip), %rdi
jmp LBB0_31
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
testq %rbx, %rbx
je LBB0_5
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.19(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %esi
movq %rbx, %rdi
callq _delete_node
movq %rax, %rbx
jmp LBB0_32
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
testq %rbx, %rbx
je LBB0_5
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.20(%rip), %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
leaq -44(%rbp), %rsi
xorl %eax, %eax
callq _scanf
movl -44(%rbp), %esi
movq %rbx, %rax
jmp LBB0_16
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_16 Depth=2
movq (%rax), %rax
testq %rax, %rax
je LBB0_21
LBB0_16: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl 8(%rax), %ecx
cmpl %esi, %ecx
je LBB0_17
## %bb.19: ## in Loop: Header=BB0_16 Depth=2
jg LBB0_20
## %bb.22: ## in Loop: Header=BB0_16 Depth=2
jge LBB0_32
## %bb.23: ## in Loop: Header=BB0_16 Depth=2
addq $16, %rax
jmp LBB0_20
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
testq %rbx, %rbx
je LBB0_5
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _find_max
jmp LBB0_32
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rax
testq %rbx, %rbx
je LBB0_5
.p2align 4, 0x90
LBB0_27: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %rcx
movq (%rax), %rax
testq %rax, %rax
jne LBB0_27
## %bb.28: ## in Loop: Header=BB0_1 Depth=1
movl 8(%rcx), %esi
leaq L_.str.21(%rip), %rdi
jmp LBB0_18
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
leaq L_str.54(%rip), %rdi
callq _puts
xorl %ebx, %ebx
jmp LBB0_32
LBB0_29: ## in Loop: Header=BB0_1 Depth=1
movq %rbx, %rdi
callq _delete_tree
leaq L_str.41(%rip), %rdi
jmp LBB0_31
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.30(%rip), %rdi
jmp LBB0_18
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.31(%rip), %rdi
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq _printf
jmp LBB0_32
LBB0_33:
xorl %eax, %eax
addq $8, %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_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_4
.long L0_0_set_8
.long L0_0_set_10
.long L0_0_set_12
.long L0_0_set_14
.long L0_0_set_24
.long L0_0_set_26
.long L0_0_set_29
.end_data_region
## -- End function
.globl _insert_node ## -- Begin function insert_node
.p2align 4, 0x90
_insert_node: ## @insert_node
.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
testq %rdi, %rdi
je LBB1_1
## %bb.5:
movq %rdi, %rbx
movl 8(%rdi), %eax
cmpl %r14d, %eax
jle LBB1_6
## %bb.4:
movq (%rbx), %rdi
movl %r14d, %esi
callq _insert_node
movq %rax, (%rbx)
jmp LBB1_3
LBB1_1:
movl $1, %edi
movl $24, %esi
callq _calloc
movq %rax, %rbx
movl %r14d, 8(%rax)
leaq L_str.57(%rip), %rdi
LBB1_2:
callq _puts
jmp LBB1_3
LBB1_6:
jge LBB1_8
## %bb.7:
movq 16(%rbx), %rdi
movl %r14d, %esi
callq _insert_node
movq %rax, 16(%rbx)
jmp LBB1_3
LBB1_8:
jne LBB1_3
## %bb.9:
leaq L_str.56(%rip), %rdi
jmp LBB1_2
LBB1_3:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pre_order ## -- Begin function pre_order
.p2align 4, 0x90
_pre_order: ## @pre_order
.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
testq %rdi, %rdi
je LBB2_3
## %bb.1:
movq %rdi, %rbx
leaq L_.str.27(%rip), %r14
.p2align 4, 0x90
LBB2_2: ## =>This Inner Loop Header: Depth=1
movl 8(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq (%rbx), %rdi
callq _pre_order
movq 16(%rbx), %rbx
testq %rbx, %rbx
jne LBB2_2
LBB2_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _in_order ## -- Begin function in_order
.p2align 4, 0x90
_in_order: ## @in_order
.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
testq %rdi, %rdi
je LBB3_3
## %bb.1:
movq %rdi, %rbx
leaq L_.str.27(%rip), %r14
.p2align 4, 0x90
LBB3_2: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
callq _in_order
movl 8(%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq 16(%rbx), %rbx
testq %rbx, %rbx
jne LBB3_2
LBB3_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _post_order ## -- Begin function post_order
.p2align 4, 0x90
_post_order: ## @post_order
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB4_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _post_order
movq 16(%rbx), %rdi
callq _post_order
movl 8(%rbx), %esi
leaq L_.str.27(%rip), %rdi
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %rbp
jmp _printf ## TAILCALL
LBB4_1:
retq
.cfi_endproc
## -- End function
.globl _delete_node ## -- Begin function delete_node
.p2align 4, 0x90
_delete_node: ## @delete_node
.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
testq %rdi, %rdi
je LBB5_1
## %bb.4:
movq %rdi, %rbx
cmpl %esi, 8(%rdi)
jle LBB5_5
## %bb.3:
movq (%rbx), %rdi
callq _delete_node
movq %rax, (%rbx)
jmp LBB5_2
LBB5_1:
leaq L_str.59(%rip), %rdi
callq _puts
xorl %ebx, %ebx
jmp LBB5_2
LBB5_5:
jge LBB5_8
## %bb.6:
movq 16(%rbx), %rdi
jmp LBB5_7
LBB5_8:
movq (%rbx), %r14
movq 16(%rbx), %rdi
testq %r14, %r14
je LBB5_9
## %bb.11:
testq %rdi, %rdi
je LBB5_10
## %bb.12:
movq %rdi, %rcx
.p2align 4, 0x90
LBB5_13: ## =>This Inner Loop Header: Depth=1
movq %rcx, %rax
movq (%rcx), %rcx
testq %rcx, %rcx
jne LBB5_13
## %bb.14:
movl 8(%rax), %esi
movl %esi, 8(%rbx)
LBB5_7:
callq _delete_node
movq %rax, 16(%rbx)
jmp LBB5_2
LBB5_9:
movq %rdi, %r14
LBB5_10:
movq %rbx, %rdi
callq _free
leaq L_str.58(%rip), %rdi
callq _puts
movq %r14, %rbx
LBB5_2:
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _search ## -- Begin function search
.p2align 4, 0x90
_search: ## @search
.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
leaq L_.str.30(%rip), %rdi
testq %rax, %rax
je LBB6_4
## %bb.1:
leaq L_.str.31(%rip), %rcx
jmp LBB6_2
.p2align 4, 0x90
LBB6_6: ## in Loop: Header=BB6_2 Depth=1
movq (%rax), %rax
testq %rax, %rax
je LBB6_4
LBB6_2: ## =>This Inner Loop Header: Depth=1
movl 8(%rax), %edx
cmpl %esi, %edx
je LBB6_3
## %bb.5: ## in Loop: Header=BB6_2 Depth=1
jg LBB6_6
## %bb.7: ## in Loop: Header=BB6_2 Depth=1
jge LBB6_9
## %bb.8: ## in Loop: Header=BB6_2 Depth=1
addq $16, %rax
jmp LBB6_6
LBB6_3:
movq %rcx, %rdi
LBB6_4:
xorl %eax, %eax
popq %rbp
jmp _printf ## TAILCALL
LBB6_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _find_max ## -- Begin function find_max
.p2align 4, 0x90
_find_max: ## @find_max
.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 16(%rdi), %rbx
testq %rbx, %rbx
je LBB7_1
## %bb.3:
movq %rbx, %rdi
callq _find_max
movq %rbx, 16(%r14)
jmp LBB7_2
LBB7_1:
movl 8(%r14), %esi
leaq L_.str.32(%rip), %rdi
xorl %eax, %eax
callq _printf
LBB7_2:
movq %r14, %rax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _find_min ## -- Begin function find_min
.p2align 4, 0x90
_find_min: ## @find_min
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
.p2align 4, 0x90
LBB8_1: ## =>This Inner Loop Header: Depth=1
movq %rdi, %rax
movq (%rdi), %rdi
testq %rdi, %rdi
jne LBB8_1
## %bb.2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _delete_tree ## -- Begin function delete_tree
.p2align 4, 0x90
_delete_tree: ## @delete_tree
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB9_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
callq _delete_tree
movq 16(%rbx), %rdi
callq _delete_tree
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _free ## TAILCALL
LBB9_1:
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "cls"
L_.str.10: ## @.str.10
.asciz "Enter your choice: "
L_.str.11: ## @.str.11
.asciz "%d"
L_.str.13: ## @.str.13
.asciz "Enter node to add: "
L_.str.19: ## @.str.19
.asciz "Enter node to delete: "
L_.str.20: ## @.str.20
.asciz "Enter node to search: "
L_.str.21: ## @.str.21
.asciz "Minimum = %d\n\n"
L_.str.24: ## @.str.24
.asciz "pause"
L_.str.27: ## @.str.27
.asciz "%d, "
L_.str.30: ## @.str.30
.asciz "\n%d not found.\n\n"
L_.str.31: ## @.str.31
.asciz "\n%d found.\n\n"
L_.str.32: ## @.str.32
.asciz "Maximum = %d\n\n"
L_str: ## @str
.asciz "1. Insert node"
L_str.33: ## @str.33
.asciz "2. Traverse in pre-order"
L_str.34: ## @str.34
.asciz "3. Traverse in in-order"
L_str.35: ## @str.35
.asciz "4. Traverse in post-order"
L_str.36: ## @str.36
.asciz "5. Delete node"
L_str.37: ## @str.37
.asciz "6. Search node"
L_str.38: ## @str.38
.asciz "7. Find maximum"
L_str.39: ## @str.39
.asciz "8. Find minimum"
L_str.40: ## @str.40
.asciz "9. Exit"
L_str.41: ## @str.41
.asciz "Tree deleted. Program terminated.\n"
L_str.46: ## @str.46
.asciz "Nodes in post-order:"
L_str.49: ## @str.49
.asciz "Nodes in in-order:"
L_str.52: ## @str.52
.asciz "Nodes in pre-order:"
L_str.53: ## @str.53
.asciz "\b\b.\n"
L_str.54: ## @str.54
.asciz "Tree is empty.\n"
L_str.55: ## @str.55
.asciz "Wrong choice.\n"
L_str.56: ## @str.56
.asciz "\nNode already exist.\n"
L_str.57: ## @str.57
.asciz "\nNode added.\n"
L_str.58: ## @str.58
.asciz "\nNode deleted.\n"
L_str.59: ## @str.59
.asciz "\nNode not found.\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 x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, #0
Lloh0:
adrp x24, l_str.36@PAGE
Lloh1:
add x24, x24, l_str.36@PAGEOFF
Lloh2:
adrp x25, l_str.37@PAGE
Lloh3:
add x25, x25, l_str.37@PAGEOFF
Lloh4:
adrp x26, l_str.38@PAGE
Lloh5:
add x26, x26, l_str.38@PAGEOFF
Lloh6:
adrp x27, l_str.39@PAGE
Lloh7:
add x27, x27, l_str.39@PAGEOFF
Lloh8:
adrp x28, l_str.40@PAGE
Lloh9:
add x28, x28, l_str.40@PAGEOFF
Lloh10:
adrp x19, l_.str.10@PAGE
Lloh11:
add x19, x19, l_.str.10@PAGEOFF
Lloh12:
adrp x20, l_.str.11@PAGE
Lloh13:
add x20, x20, l_.str.11@PAGEOFF
Lloh14:
adrp x21, l_.str.24@PAGE
Lloh15:
add x21, x21, l_.str.24@PAGEOFF
add x23, sp, #8
b LBB0_4
LBB0_1: ; in Loop: Header=BB0_4 Depth=1
Lloh16:
adrp x0, l_str.54@PAGE
Lloh17:
add x0, x0, l_str.54@PAGEOFF
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
bl _puts
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x21
bl _system
ldr w8, [sp, #8]
cmp w8, #9
b.eq LBB0_33
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
; Child Loop BB0_20 Depth 2
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
bl _system
Lloh20:
adrp x0, l_str@PAGE
Lloh21:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh22:
adrp x0, l_str.33@PAGE
Lloh23:
add x0, x0, l_str.33@PAGEOFF
bl _puts
Lloh24:
adrp x0, l_str.34@PAGE
Lloh25:
add x0, x0, l_str.34@PAGEOFF
bl _puts
Lloh26:
adrp x0, l_str.35@PAGE
Lloh27:
add x0, x0, l_str.35@PAGEOFF
bl _puts
mov x0, x24
bl _puts
mov x0, x25
bl _puts
mov x0, x26
bl _puts
mov x0, x27
bl _puts
mov x0, x28
bl _puts
mov x0, x19
bl _printf
str x23, [sp]
mov x0, x20
bl _scanf
mov w0, #10
bl _putchar
ldr w8, [sp, #8]
sub w8, w8, #1
cmp w8, #8
b.hi LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
Lloh28:
adrp x11, lJTI0_0@PAGE
Lloh29:
add x11, x11, lJTI0_0@PAGEOFF
adr x9, LBB0_6
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
Lloh30:
adrp x0, l_.str.13@PAGE
Lloh31:
add x0, x0, l_.str.13@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
mov x0, x20
bl _scanf
ldr w1, [sp, #12]
mov x0, x22
bl _insert_node
mov x22, x0
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
Lloh32:
adrp x0, l_str.55@PAGE
Lloh33:
add x0, x0, l_str.55@PAGEOFF
b LBB0_2
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
cbz x22, LBB0_1
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
Lloh34:
adrp x0, l_str.52@PAGE
Lloh35:
add x0, x0, l_str.52@PAGEOFF
bl _puts
mov x0, x22
bl _pre_order
b LBB0_14
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
cbz x22, LBB0_1
; %bb.11: ; in Loop: Header=BB0_4 Depth=1
Lloh36:
adrp x0, l_str.49@PAGE
Lloh37:
add x0, x0, l_str.49@PAGEOFF
bl _puts
mov x0, x22
bl _in_order
b LBB0_14
LBB0_12: ; in Loop: Header=BB0_4 Depth=1
cbz x22, LBB0_1
; %bb.13: ; in Loop: Header=BB0_4 Depth=1
Lloh38:
adrp x0, l_str.46@PAGE
Lloh39:
add x0, x0, l_str.46@PAGEOFF
bl _puts
mov x0, x22
bl _post_order
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
Lloh40:
adrp x0, l_str.53@PAGE
Lloh41:
add x0, x0, l_str.53@PAGEOFF
b LBB0_2
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
cbz x22, LBB0_1
; %bb.16: ; in Loop: Header=BB0_4 Depth=1
Lloh42:
adrp x0, l_.str.19@PAGE
Lloh43:
add x0, x0, l_.str.19@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
mov x0, x20
bl _scanf
ldr w1, [sp, #12]
mov x0, x22
bl _delete_node
mov x22, x0
b LBB0_3
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
cbz x22, LBB0_1
; %bb.18: ; in Loop: Header=BB0_4 Depth=1
Lloh44:
adrp x0, l_.str.20@PAGE
Lloh45:
add x0, x0, l_.str.20@PAGEOFF
bl _printf
add x8, sp, #12
str x8, [sp]
mov x0, x20
bl _scanf
ldr w8, [sp, #12]
mov x9, x22
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=2
ldr x9, [x9]
cbz x9, LBB0_30
LBB0_20: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr w10, [x9, #8]
cmp w10, w8
b.eq LBB0_31
; %bb.21: ; in Loop: Header=BB0_20 Depth=2
b.gt LBB0_19
; %bb.22: ; in Loop: Header=BB0_20 Depth=2
cmp w10, w8
b.ge LBB0_3
; %bb.23: ; in Loop: Header=BB0_20 Depth=2
add x9, x9, #16
b LBB0_19
LBB0_24: ; in Loop: Header=BB0_4 Depth=1
cbz x22, LBB0_1
; %bb.25: ; in Loop: Header=BB0_4 Depth=1
mov x0, x22
bl _find_max
b LBB0_3
LBB0_26: ; in Loop: Header=BB0_4 Depth=1
mov x8, x22
cbz x22, LBB0_1
LBB0_27: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
mov x9, x8
ldr x8, [x8]
cbnz x8, LBB0_27
; %bb.28: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x9, #8]
str x8, [sp]
Lloh46:
adrp x0, l_.str.21@PAGE
Lloh47:
add x0, x0, l_.str.21@PAGEOFF
bl _printf
b LBB0_3
LBB0_29: ; in Loop: Header=BB0_4 Depth=1
mov x0, x22
bl _delete_tree
Lloh48:
adrp x0, l_str.41@PAGE
Lloh49:
add x0, x0, l_str.41@PAGEOFF
b LBB0_2
LBB0_30: ; in Loop: Header=BB0_4 Depth=1
Lloh50:
adrp x0, l_.str.30@PAGE
Lloh51:
add x0, x0, l_.str.30@PAGEOFF
b LBB0_32
LBB0_31: ; in Loop: Header=BB0_4 Depth=1
Lloh52:
adrp x0, l_.str.31@PAGE
Lloh53:
add x0, x0, l_.str.31@PAGEOFF
LBB0_32: ; in Loop: Header=BB0_4 Depth=1
str x8, [sp]
bl _printf
b LBB0_3
LBB0_33:
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
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh30, Lloh31
.loh AdrpAdd Lloh32, Lloh33
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpAdd Lloh36, Lloh37
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpAdd Lloh40, Lloh41
.loh AdrpAdd Lloh42, Lloh43
.loh AdrpAdd Lloh44, Lloh45
.loh AdrpAdd Lloh46, Lloh47
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_6-LBB0_6)>>2
.byte (LBB0_8-LBB0_6)>>2
.byte (LBB0_10-LBB0_6)>>2
.byte (LBB0_12-LBB0_6)>>2
.byte (LBB0_15-LBB0_6)>>2
.byte (LBB0_17-LBB0_6)>>2
.byte (LBB0_24-LBB0_6)>>2
.byte (LBB0_26-LBB0_6)>>2
.byte (LBB0_29-LBB0_6)>>2
; -- End function
.section __TEXT,__text,regular,pure_instructions
.globl _insert_node ; -- Begin function insert_node
.p2align 2
_insert_node: ; @insert_node
.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
cbz x0, LBB1_3
; %bb.1:
mov x19, x0
ldr w8, [x0, #8]
cmp w8, w20
b.le LBB1_5
; %bb.2:
ldr x0, [x19]
mov x1, x20
bl _insert_node
str x0, [x19]
b LBB1_9
LBB1_3:
mov w0, #1
mov w1, #24
bl _calloc
mov x19, x0
str w20, [x0, #8]
Lloh54:
adrp x0, l_str.57@PAGE
Lloh55:
add x0, x0, l_str.57@PAGEOFF
LBB1_4:
bl _puts
b LBB1_9
LBB1_5:
b.ge LBB1_7
; %bb.6:
ldr x0, [x19, #16]
mov x1, x20
bl _insert_node
str x0, [x19, #16]
b LBB1_9
LBB1_7:
cmp w8, w20
b.ne LBB1_9
; %bb.8:
Lloh56:
adrp x0, l_str.56@PAGE
Lloh57:
add x0, x0, l_str.56@PAGEOFF
b LBB1_4
LBB1_9:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.cfi_endproc
; -- End function
.globl _pre_order ; -- Begin function pre_order
.p2align 2
_pre_order: ; @pre_order
.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
cbz x0, LBB2_3
; %bb.1:
mov x19, x0
Lloh58:
adrp x20, l_.str.27@PAGE
Lloh59:
add x20, x20, l_.str.27@PAGEOFF
LBB2_2: ; =>This Inner Loop Header: Depth=1
ldr w8, [x19, #8]
str x8, [sp]
mov x0, x20
bl _printf
ldr x0, [x19]
bl _pre_order
ldr x19, [x19, #16]
cbnz x19, LBB2_2
LBB2_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh58, Lloh59
.cfi_endproc
; -- End function
.globl _in_order ; -- Begin function in_order
.p2align 2
_in_order: ; @in_order
.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
cbz x0, LBB3_3
; %bb.1:
mov x19, x0
Lloh60:
adrp x20, l_.str.27@PAGE
Lloh61:
add x20, x20, l_.str.27@PAGEOFF
LBB3_2: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19]
bl _in_order
ldr w8, [x19, #8]
str x8, [sp]
mov x0, x20
bl _printf
ldr x19, [x19, #16]
cbnz x19, LBB3_2
LBB3_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpAdd Lloh60, Lloh61
.cfi_endproc
; -- End function
.globl _post_order ; -- Begin function post_order
.p2align 2
_post_order: ; @post_order
.cfi_startproc
; %bb.0:
cbz x0, LBB4_2
; %bb.1:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _post_order
ldr x0, [x19, #16]
bl _post_order
ldr w8, [x19, #8]
str x8, [sp]
Lloh62:
adrp x0, l_.str.27@PAGE
Lloh63:
add x0, x0, l_.str.27@PAGEOFF
bl _printf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB4_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpAdd Lloh62, Lloh63
.cfi_endproc
; -- End function
.globl _delete_node ; -- Begin function delete_node
.p2align 2
_delete_node: ; @delete_node
.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
cbz x0, LBB5_3
; %bb.1:
ldr w8, [x19, #8]
cmp w8, w1
b.le LBB5_4
; %bb.2:
ldr x0, [x19]
bl _delete_node
str x0, [x19]
b LBB5_14
LBB5_3:
Lloh64:
adrp x0, l_str.59@PAGE
Lloh65:
add x0, x0, l_str.59@PAGEOFF
bl _puts
b LBB5_14
LBB5_4:
b.ge LBB5_6
; %bb.5:
ldr x0, [x19, #16]
b LBB5_11
LBB5_6:
ldr x8, [x19]
ldr x20, [x19, #16]
cbz x8, LBB5_13
; %bb.7:
cbz x20, LBB5_12
; %bb.8:
mov x9, x20
LBB5_9: ; =>This Inner Loop Header: Depth=1
mov x8, x9
ldr x9, [x9]
cbnz x9, LBB5_9
; %bb.10:
ldr w1, [x8, #8]
str w1, [x19, #8]
mov x0, x20
LBB5_11:
bl _delete_node
str x0, [x19, #16]
b LBB5_14
LBB5_12:
mov x20, x8
LBB5_13:
mov x0, x19
bl _free
Lloh66:
adrp x0, l_str.58@PAGE
Lloh67:
add x0, x0, l_str.58@PAGEOFF
bl _puts
mov x19, x20
LBB5_14:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh64, Lloh65
.loh AdrpAdd Lloh66, Lloh67
.cfi_endproc
; -- End function
.globl _search ; -- Begin function search
.p2align 2
_search: ; @search
.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
; kill: def $w1 killed $w1 def $x1
cbz x0, LBB6_7
; %bb.1:
mov x8, x0
Lloh68:
adrp x0, l_.str.31@PAGE
Lloh69:
add x0, x0, l_.str.31@PAGEOFF
Lloh70:
adrp x9, l_.str.30@PAGE
Lloh71:
add x9, x9, l_.str.30@PAGEOFF
b LBB6_3
LBB6_2: ; in Loop: Header=BB6_3 Depth=1
ldr x8, [x8]
cbz x8, LBB6_8
LBB6_3: ; =>This Inner Loop Header: Depth=1
ldr w10, [x8, #8]
cmp w10, w1
b.eq LBB6_9
; %bb.4: ; in Loop: Header=BB6_3 Depth=1
b.gt LBB6_2
; %bb.5: ; in Loop: Header=BB6_3 Depth=1
cmp w10, w1
b.ge LBB6_10
; %bb.6: ; in Loop: Header=BB6_3 Depth=1
add x8, x8, #16
b LBB6_2
LBB6_7:
Lloh72:
adrp x0, l_.str.30@PAGE
Lloh73:
add x0, x0, l_.str.30@PAGEOFF
b LBB6_9
LBB6_8:
mov x0, x9
LBB6_9:
str x1, [sp]
bl _printf
LBB6_10:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpAdd Lloh68, Lloh69
.loh AdrpAdd Lloh72, Lloh73
.cfi_endproc
; -- End function
.globl _find_max ; -- Begin function find_max
.p2align 2
_find_max: ; @find_max
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #16]
cbz x0, LBB7_2
; %bb.1:
bl _find_max
str x0, [x19, #16]
b LBB7_3
LBB7_2:
ldr w8, [x19, #8]
str x8, [sp]
Lloh74:
adrp x0, l_.str.32@PAGE
Lloh75:
add x0, x0, l_.str.32@PAGEOFF
bl _printf
LBB7_3:
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 Lloh74, Lloh75
.cfi_endproc
; -- End function
.globl _find_min ; -- Begin function find_min
.p2align 2
_find_min: ; @find_min
.cfi_startproc
; %bb.0:
LBB8_1: ; =>This Inner Loop Header: Depth=1
mov x8, x0
ldr x0, [x0]
cbnz x0, LBB8_1
; %bb.2:
mov x0, x8
ret
.cfi_endproc
; -- End function
.globl _delete_tree ; -- Begin function delete_tree
.p2align 2
_delete_tree: ; @delete_tree
.cfi_startproc
; %bb.0:
cbz x0, LBB9_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
bl _delete_tree
ldr x0, [x19, #16]
bl _delete_tree
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _free
LBB9_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "cls"
l_.str.10: ; @.str.10
.asciz "Enter your choice: "
l_.str.11: ; @.str.11
.asciz "%d"
l_.str.13: ; @.str.13
.asciz "Enter node to add: "
l_.str.19: ; @.str.19
.asciz "Enter node to delete: "
l_.str.20: ; @.str.20
.asciz "Enter node to search: "
l_.str.21: ; @.str.21
.asciz "Minimum = %d\n\n"
l_.str.24: ; @.str.24
.asciz "pause"
l_.str.27: ; @.str.27
.asciz "%d, "
l_.str.30: ; @.str.30
.asciz "\n%d not found.\n\n"
l_.str.31: ; @.str.31
.asciz "\n%d found.\n\n"
l_.str.32: ; @.str.32
.asciz "Maximum = %d\n\n"
l_str: ; @str
.asciz "1. Insert node"
l_str.33: ; @str.33
.asciz "2. Traverse in pre-order"
l_str.34: ; @str.34
.asciz "3. Traverse in in-order"
l_str.35: ; @str.35
.asciz "4. Traverse in post-order"
l_str.36: ; @str.36
.asciz "5. Delete node"
l_str.37: ; @str.37
.asciz "6. Search node"
l_str.38: ; @str.38
.asciz "7. Find maximum"
l_str.39: ; @str.39
.asciz "8. Find minimum"
l_str.40: ; @str.40
.asciz "9. Exit"
l_str.41: ; @str.41
.asciz "Tree deleted. Program terminated.\n"
l_str.46: ; @str.46
.asciz "Nodes in post-order:"
l_str.49: ; @str.49
.asciz "Nodes in in-order:"
l_str.52: ; @str.52
.asciz "Nodes in pre-order:"
l_str.53: ; @str.53
.asciz "\b\b.\n"
l_str.54: ; @str.54
.asciz "Tree is empty.\n"
l_str.55: ; @str.55
.asciz "Wrong choice.\n"
l_str.56: ; @str.56
.asciz "\nNode already exist.\n"
l_str.57: ; @str.57
.asciz "\nNode added.\n"
l_str.58: ; @str.58
.asciz "\nNode deleted.\n"
l_str.59: ; @str.59
.asciz "\nNode not found.\n"
.subsections_via_symbols
| the_stack_data/895253.c | stack |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _evm_calc_hmac ## -- Begin function evm_calc_hmac
.p2align 4, 0x90
_evm_calc_hmac: ## @evm_calc_hmac
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %r8, %r9
movq _EVM_XATTR_HMAC@GOTPCREL(%rip), %rax
movl (%rax), %r8d
popq %rbp
jmp _evm_calc_hmac_or_hash ## TAILCALL
.cfi_endproc
## -- End function
.comm _EVM_XATTR_HMAC,4,2 ## @EVM_XATTR_HMAC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _evm_calc_hmac ; -- Begin function evm_calc_hmac
.p2align 2
_evm_calc_hmac: ; @evm_calc_hmac
.cfi_startproc
; %bb.0:
mov x5, x4
Lloh0:
adrp x8, _EVM_XATTR_HMAC@GOTPAGE
Lloh1:
ldr x8, [x8, _EVM_XATTR_HMAC@GOTPAGEOFF]
Lloh2:
ldr w4, [x8]
b _evm_calc_hmac_or_hash
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _EVM_XATTR_HMAC,4,2 ; @EVM_XATTR_HMAC
.subsections_via_symbols
| AnghaBench/linux/security/integrity/evm/extr_evm_crypto.c_evm_calc_hmac.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function DecodeAudio
_DecodeAudio: ## @DecodeAudio
.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 %rdi, %r14
movq %rsi, -40(%rbp)
testq %rsi, %rsi
leaq -40(%rbp), %r15
cmoveq %rsi, %r15
movq _VLCDEC_SUCCESS@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %r15, %rsi
callq _DecodeBlock
cmpl (%r12), %eax
je LBB0_1
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
testq %rbx, %rbx
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -40(%rbp)
jne LBB0_1
LBB0_4:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VLCDEC_SUCCESS,4,2 ## @VLCDEC_SUCCESS
.no_dead_strip _DecodeAudio
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function DecodeAudio
_DecodeAudio: ; @DecodeAudio
.cfi_startproc
; %bb.0:
sub sp, sp, #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
str x1, [sp, #8]
add x8, sp, #8
cmp x1, #0
csel x21, xzr, x8, eq
Lloh0:
adrp x22, _VLCDEC_SUCCESS@GOTPAGE
Lloh1:
ldr x22, [x22, _VLCDEC_SUCCESS@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x21
bl _DecodeBlock
ldr w8, [x22]
cmp w0, w8
b.eq LBB0_1
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
cbz x19, LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
cbnz x8, LBB0_1
LBB0_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 AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _VLCDEC_SUCCESS,4,2 ; @VLCDEC_SUCCESS
.no_dead_strip _DecodeAudio
.subsections_via_symbols
| assembly_file_67888.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function gfx_ctx_mali_fbdev_init
_gfx_ctx_mali_fbdev_init: ## @gfx_ctx_mali_fbdev_init
.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, %edi
movl $1, %esi
popq %rbp
jmp _calloc ## TAILCALL
.cfi_endproc
## -- End function
.comm _EGL_DEFAULT_DISPLAY,4,2 ## @EGL_DEFAULT_DISPLAY
.no_dead_strip _gfx_ctx_mali_fbdev_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function gfx_ctx_mali_fbdev_init
_gfx_ctx_mali_fbdev_init: ; @gfx_ctx_mali_fbdev_init
.cfi_startproc
; %bb.0:
mov w0, #1
mov w1, #1
b _calloc
.cfi_endproc
; -- End function
.comm _EGL_DEFAULT_DISPLAY,4,2 ; @EGL_DEFAULT_DISPLAY
.no_dead_strip _gfx_ctx_mali_fbdev_init
.subsections_via_symbols
| AnghaBench/RetroArch/gfx/drivers_context/extr_mali_fbdev_ctx.c_gfx_ctx_mali_fbdev_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _git_path_squash_slashes ## -- Begin function git_path_squash_slashes
.p2align 4, 0x90
_git_path_squash_slashes: ## @git_path_squash_slashes
.cfi_startproc
## %bb.0:
cmpq $0, (%rdi)
je LBB0_10
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq 8(%rdi), %rax
movzbl (%rax), %edx
testb %dl, %dl
je LBB0_2
## %bb.3:
movq %rax, %rcx
.p2align 4, 0x90
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movb %dl, (%rcx)
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
decq (%rdi)
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
incq %rax
cmpb $47, -1(%rax)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
movzbl (%rax), %edx
cmpb $47, %dl
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
incq %rcx
testb %dl, %dl
jne LBB0_4
jmp LBB0_9
LBB0_2:
movq %rax, %rcx
LBB0_9:
movb $0, (%rcx)
popq %rbp
LBB0_10:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _git_path_squash_slashes ; -- Begin function git_path_squash_slashes
.p2align 2
_git_path_squash_slashes: ; @git_path_squash_slashes
.cfi_startproc
; %bb.0:
ldr x8, [x0]
cbz x8, LBB0_10
; %bb.1:
ldr x8, [x0, #8]
ldrb w10, [x8]
cbz w10, LBB0_8
; %bb.2:
mov x9, x8
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
strb w10, [x9]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=2
ldr x10, [x0]
sub x10, x10, #1
str x10, [x0]
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
add x8, x8, #1
ldurb w10, [x8, #-1]
cmp w10, #47
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
ldrb w10, [x8]
cmp w10, #47
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
add x9, x9, #1
cbnz w10, LBB0_3
b LBB0_9
LBB0_8:
mov x9, x8
LBB0_9:
strb wzr, [x9]
LBB0_10:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| assembly_file_146715.c | assembly_dataset |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function hptiop_send_sync_msg
_hptiop_send_sync_msg: ## @hptiop_send_sync_msg
.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 %rdx, %rbx
movq %rdi, %r14
movq $0, (%rdi)
movq 8(%rdi), %rax
callq *8(%rax)
testq %rbx, %rbx
jle LBB0_3
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movq %r14, %rdi
callq *(%rax)
cmpq $0, (%r14)
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1000, %edi ## imm = 0x3E8
callq _DELAY
decq %rbx
jne LBB0_1
LBB0_3:
xorl %eax, %eax
cmpq $1, (%r14)
sbbl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _hptiop_send_sync_msg
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function hptiop_send_sync_msg
_hptiop_send_sync_msg: ; @hptiop_send_sync_msg
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x2
mov x20, x0
str xzr, [x0]
ldr x8, [x0, #8]
ldr x8, [x8, #8]
blr x8
cmp x19, #1
b.lt LBB0_3
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20, #8]
ldr x8, [x8]
mov x0, x20
blr x8
ldr x8, [x20]
cbnz x8, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
mov w0, #1000
bl _DELAY
subs x19, x19, #1
b.ne LBB0_1
LBB0_3:
ldr x8, [x20]
cmp x8, #0
csetm w0, eq
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 _hptiop_send_sync_msg
.subsections_via_symbols
| AnghaBench/freebsd/sys/dev/hptiop/extr_hptiop.c_hptiop_send_sync_msg.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _kvm_arch_vcpu_ioctl_set_stack ## -- Begin function kvm_arch_vcpu_ioctl_set_stack
.p2align 4, 0x90
_kvm_arch_vcpu_ioctl_set_stack: ## @kvm_arch_vcpu_ioctl_set_stack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
addq $4, %rdi
movq (%rsi), %rsi
addq $16, %rsi
movl $4, %edx
callq _memcpy
movl (%rbx), %eax
movl %eax, (%r14)
xorl %eax, %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 _kvm_arch_vcpu_ioctl_set_stack ; -- Begin function kvm_arch_vcpu_ioctl_set_stack
.p2align 2
_kvm_arch_vcpu_ioctl_set_stack: ; @kvm_arch_vcpu_ioctl_set_stack
.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
add x0, x0, #4
ldr x8, [x1]
add x1, x8, #16
mov w2, #4
bl _memcpy
ldr w8, [x19]
str w8, [x20]
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/fastsocket/kernel/arch/ia64/kvm/extr_kvm-ia64.c_kvm_arch_vcpu_ioctl_set_stack.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.