x86 stringlengths 122 1.3M | arm stringlengths 122 1.35M | file stringlengths 20 207 | source stringclasses 2 values |
|---|---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function printjmp
_printjmp: ## @printjmp
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %edi, %edi
callq _dest
subq %rbx, %rax
sarq $2, %rax
leaq L_.str(%rip), %rdi
movq %rax, %rsi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "-> %ld"
.no_dead_strip _printjmp
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function printjmp
_printjmp: ; @printjmp
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
mov w0, #0
bl _dest
sub x8, x0, x19
asr x1, x8, #2
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _printf
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "-> %ld"
.no_dead_strip _printjmp
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_printjmp.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function printpat_l
_printpat_l: ## @printpat_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movl $1, %ebx
movl $1, %esi
xorl %edx, %edx
callq _getpatt
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r15, %rdi
movl $1, %esi
callq _lua_getfenv
movq %r15, %rdi
movl $-1, %esi
callq _lua_objlen
movl %eax, %r12d
movl $91, %edi
callq _putchar
testl %r12d, %r12d
jle LBB0_6
## %bb.1:
negl %r12d
leaq L_.str.1(%rip), %r13
leaq L_.str.2(%rip), %r14
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
callq _lua_type
movq %r15, %rdi
movl %eax, %esi
callq _lua_typename
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movl $1, %esi
callq _lua_pop
leal (%r12,%rbx), %eax
incl %eax
movl %ebx, %ecx
incl %ecx
movl %ecx, %ebx
cmpl $1, %eax
je LBB0_6
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r13, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq _printf
movq %r15, %rdi
movl $-1, %esi
movl %ebx, %edx
callq _lua_rawgeti
movq %r15, %rdi
movl $-1, %esi
callq _lua_isstring
movq %r15, %rdi
movl $-1, %esi
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
callq _lua_tostring
jmp LBB0_5
LBB0_6:
leaq L_str(%rip), %rdi
callq _puts
movq -48(%rbp), %rdi ## 8-byte Reload
callq _printpatt
xorl %eax, %eax
addq $8, %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.1: ## @.str.1
.asciz "%d = "
L_.str.2: ## @.str.2
.asciz "%s "
L_str: ## @str
.asciz "]"
.no_dead_strip _printpat_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function printpat_l
_printpat_l: ; @printpat_l
.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, x0
mov w1, #1
mov x2, #0
bl _getpatt
mov x20, x0
mov x0, x19
mov w1, #1
bl _lua_getfenv
mov x0, x19
mov w1, #-1
bl _lua_objlen
mov x21, x0
mov w0, #91
bl _putchar
cmp w21, #1
b.lt LBB0_6
; %bb.1:
mov w25, #0
Lloh0:
adrp x22, l_.str.1@PAGE
Lloh1:
add x22, x22, l_.str.1@PAGEOFF
Lloh2:
adrp x23, l_.str.2@PAGE
Lloh3:
add x23, x23, l_.str.2@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov w1, #-1
bl _lua_type
mov x1, x0
mov x0, x19
bl _lua_typename
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
str x0, [sp]
mov x0, x23
bl _printf
mov x0, x19
mov w1, #1
bl _lua_pop
add w25, w25, #1
cmp w21, w25
b.eq LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
add w24, w25, #1
str x24, [sp]
mov x0, x22
bl _printf
mov x0, x19
mov w1, #-1
mov x2, x24
bl _lua_rawgeti
mov x0, x19
mov w1, #-1
bl _lua_isstring
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
mov x0, x19
mov w1, #-1
bl _lua_tostring
b LBB0_3
LBB0_6:
Lloh4:
adrp x0, l_str@PAGE
Lloh5:
add x0, x0, l_str@PAGEOFF
bl _puts
mov x0, x20
bl _printpatt
mov w0, #0
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 Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%d = "
l_.str.2: ; @.str.2
.asciz "%s "
l_str: ; @str
.asciz "]"
.no_dead_strip _printpat_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_printpat_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function printpatt
_printpatt: ## @printpatt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq %rdi, %rsi
callq _printinst
movq (%r14), %rax
movq _IEnd@GOTPCREL(%rip), %r12
cmpq (%r12), %rax
je LBB0_3
## %bb.1:
movq %r14, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _sizei
movslq %eax, %r13
leaq (%rbx,%r13,8), %r15
movq %r14, %rdi
movq %r15, %rsi
callq _printinst
movq (%rbx,%r13,8), %rax
movq %r15, %rbx
cmpq (%r12), %rax
jne LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEnd,8,3 ## @IEnd
.no_dead_strip _printpatt
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function printpatt
_printpatt: ; @printpatt
.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
mov x1, x0
bl _printinst
ldr x8, [x19]
Lloh0:
adrp x21, _IEnd@GOTPAGE
Lloh1:
ldr x21, [x21, _IEnd@GOTPAGEOFF]
ldr x9, [x21]
cmp x8, x9
b.eq LBB0_3
; %bb.1:
mov x20, x19
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
bl _sizei
add x20, x20, w0, sxtw #3
mov x0, x19
mov x1, x20
bl _printinst
ldr x8, [x20]
ldr x9, [x21]
cmp x8, x9
b.ne LBB0_2
LBB0_3:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _IEnd,8,3 ; @IEnd
.no_dead_strip _printpatt
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_printpatt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function pushallcaptures
_pushallcaptures: ## @pushallcaptures
.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, %r12d
movq %rdi, %r15
movq (%rdi), %r14
leaq 8(%r14), %rax
movq %rax, (%rdi)
movl %r14d, %edi
callq _isfullcap
testq %rax, %rax
je LBB0_1
## %bb.9:
movq %r15, %rdi
movq %r14, %rsi
callq _pushsubject
movl $1, %ebx
jmp LBB0_8
LBB0_1:
movq (%r15), %rdi
callq _isclosecap
xorl %ebx, %ebx
testl %eax, %eax
je LBB0_2
LBB0_6:
movl 8(%r15), %edi
movq (%r14), %rsi
movq (%r15), %rax
movq (%rax), %rdx
subq %rsi, %rdx
callq _lua_pushlstring
incl %ebx
LBB0_7:
addq $8, (%r15)
LBB0_8:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _pushcapture
addl %eax, %ebx
movq (%r15), %rdi
callq _isclosecap
testl %eax, %eax
je LBB0_3
## %bb.4:
testl %r12d, %r12d
jne LBB0_6
## %bb.5:
testl %ebx, %ebx
jne LBB0_7
jmp LBB0_6
.cfi_endproc
## -- End function
.no_dead_strip _pushallcaptures
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function pushallcaptures
_pushallcaptures: ; @pushallcaptures
.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 x22, x1
mov x19, x0
ldr x20, [x0]
add x8, x20, #8
str x8, [x0]
mov x0, x20
bl _isfullcap
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
mov x1, x20
bl _pushsubject
mov w21, #1
b LBB0_5
LBB0_2:
ldr x0, [x19]
bl _isclosecap
mov w21, #0
cbz w0, LBB0_6
LBB0_3:
ldr w0, [x19, #8]
ldr x1, [x20]
ldr x8, [x19]
ldr x8, [x8]
sub x2, x8, x1
bl _lua_pushlstring
add w21, w21, #1
LBB0_4:
ldr x8, [x19]
add x8, x8, #8
str x8, [x19]
LBB0_5:
mov x0, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _pushcapture
add w21, w21, w0
ldr x0, [x19]
bl _isclosecap
cbz w0, LBB0_6
; %bb.7:
cbnz w22, LBB0_3
; %bb.8:
cbnz w21, LBB0_4
b LBB0_3
.cfi_endproc
; -- End function
.no_dead_strip _pushallcaptures
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_pushallcaptures.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function querycap
_querycap: ## @querycap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq 8(%rdi), %rax
movl (%rax), %r14d
xorl %esi, %esi
callq _pushallcaptures
cmpl $2, %eax
jl LBB0_2
## %bb.1:
movl (%rbx), %edi
decl %eax
movl %eax, %esi
callq _lua_pop
LBB0_2:
movq %rbx, %rdi
movl %r14d, %esi
callq _updatecache
movl (%rbx), %r14d
movl 4(%rbx), %edi
callq _subscache
movl %r14d, %edi
movl %eax, %esi
callq _lua_gettable
movl (%rbx), %edi
movl $-1, %esi
callq _lua_isnil
testl %eax, %eax
je LBB0_3
## %bb.4:
movl (%rbx), %edi
movl $1, %esi
callq _lua_pop
xorl %eax, %eax
jmp LBB0_5
LBB0_3:
movl $1, %eax
LBB0_5:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _querycap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function querycap
_querycap: ; @querycap
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0, #8]
ldr w20, [x8]
mov w1, #0
bl _pushallcaptures
cmp w0, #2
b.lt LBB0_2
; %bb.1:
ldr w8, [x19]
sub w1, w0, #1
mov x0, x8
bl _lua_pop
LBB0_2:
mov x0, x19
mov x1, x20
bl _updatecache
ldp w20, w0, [x19]
bl _subscache
mov x1, x0
mov x0, x20
bl _lua_gettable
ldr w0, [x19]
mov w1, #-1
bl _lua_isnil
cbz w0, LBB0_4
; %bb.3:
ldr w0, [x19]
mov w1, #1
bl _lua_pop
mov w0, #0
b LBB0_5
LBB0_4:
mov w0, #1
LBB0_5:
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 _querycap
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_querycap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function range_l
_range_l: ## @range_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _lua_gettop
movl %eax, %r14d
movq %r15, %rdi
callq _newcharset
movq %rax, %rbx
movl %r14d, -44(%rbp) ## 4-byte Spill
testl %r14d, %r14d
jle LBB0_5
## %bb.1:
movl $1, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
leal 1(%r13), %eax
cmpl -44(%rbp), %r13d ## 4-byte Folded Reload
movl %eax, %r13d
je LBB0_5
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movq %r15, %rdi
movl %r13d, %esi
leaq -56(%rbp), %rdx
callq _luaL_checklstring
movq %rax, %r12
xorl %esi, %esi
cmpq $2, -56(%rbp)
sete %sil
movq %r15, %rdi
movl %r13d, %edx
leaq L_.str(%rip), %rcx
callq _luaL_argcheck
movsbl (%r12), %r14d
cmpb 1(%r12), %r14b
jg LBB0_4
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movl 4(%rbx), %edi
movl %r14d, %esi
callq _setchar
leal 1(%r14), %eax
movsbl 1(%r12), %ecx
cmpl %ecx, %r14d
movl %eax, %r14d
jl LBB0_3
jmp LBB0_4
LBB0_5:
movq %rbx, %rdi
callq _correctset
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 "range must have two characters"
.no_dead_strip _range_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function range_l
_range_l: ; @range_l
.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, x0
bl _lua_gettop
mov x20, x0
mov x0, x19
bl _newcharset
mov x21, x0
cmp w20, #1
b.lt LBB0_5
; %bb.1:
mov w22, #1
Lloh0:
adrp x23, l_.str@PAGE
Lloh1:
add x23, x23, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w8, w22, #1
cmp w22, w20
mov x22, x8
b.eq LBB0_5
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_4 Depth 2
add x2, sp, #8
mov x0, x19
mov x1, x22
bl _luaL_checklstring
mov x24, x0
ldr x8, [sp, #8]
cmp x8, #2
cset w1, eq
mov x0, x19
mov x2, x22
mov x3, x23
bl _luaL_argcheck
ldrsb w25, [x24]
ldrsb w8, [x24, #1]
cmp w25, w8
b.gt LBB0_2
LBB0_4: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x21, #4]
mov x1, x25
bl _setchar
add w8, w25, #1
ldrsb w9, [x24, #1]
cmp w25, w9
mov x25, x8
b.lt LBB0_4
b LBB0_2
LBB0_5:
mov x0, x21
bl _correctset
mov w0, #1
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 Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "range must have two characters"
.no_dead_strip _range_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_range_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rcapture_l
_rcapture_l: ## @rcapture_l
.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 $2, %esi
callq _lua_type
cmpl $128, %eax
je LBB0_5
## %bb.1:
cmpl $129, %eax
je LBB0_6
## %bb.2:
cmpl $130, %eax
jne LBB0_7
## %bb.3:
movq _Cfunction@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_5:
movq _Cquery@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_6:
movq _Cstring@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %esi
movq %rbx, %rdi
movl $2, %edx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _capture_aux ## TAILCALL
LBB0_7:
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
movl $2, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _luaL_argerror ## TAILCALL
.cfi_endproc
## -- End function
.comm _Cfunction,4,2 ## @Cfunction
.comm _Cquery,4,2 ## @Cquery
.comm _Cstring,4,2 ## @Cstring
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid replacement value"
.no_dead_strip _rcapture_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rcapture_l
_rcapture_l: ; @rcapture_l
.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, #2
bl _lua_type
cmp w0, #128
b.eq LBB0_4
; %bb.1:
cmp w0, #129
b.eq LBB0_5
; %bb.2:
cmp w0, #130
b.ne LBB0_7
; %bb.3:
Lloh0:
adrp x8, _Cfunction@GOTPAGE
Lloh1:
ldr x8, [x8, _Cfunction@GOTPAGEOFF]
b LBB0_6
LBB0_4:
Lloh2:
adrp x8, _Cquery@GOTPAGE
Lloh3:
ldr x8, [x8, _Cquery@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh4:
adrp x8, _Cstring@GOTPAGE
Lloh5:
ldr x8, [x8, _Cstring@GOTPAGEOFF]
LBB0_6:
ldr w1, [x8]
mov x0, x19
mov w2, #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _capture_aux
LBB0_7:
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
mov w1, #2
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _luaL_argerror
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _Cfunction,4,2 ; @Cfunction
.comm _Cquery,4,2 ; @Cquery
.comm _Cstring,4,2 ; @Cstring
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid replacement value"
.no_dead_strip _rcapture_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_rcapture_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function repeatcharset
_repeatcharset: ## @repeatcharset
.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 %ecx, %r15d
movq %rsi, %r14
movq %rdi, %r12
imull %ecx, %edx
movslq %edx, %rsi
movq _CHARSETINSTSIZE@GOTPCREL(%rip), %rax
addq (%rax), %rsi
callq _newpatt
movq %rax, %rbx
testl %r15d, %r15d
jle LBB0_2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %rbx, %rsi
movl $1, %edx
callq _addpatt
cltq
leaq (%rbx,%rax,8), %rbx
decl %r15d
jne LBB0_1
LBB0_2:
movq _ISpan@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq _setinst
movq _k@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl (%r14,%rdi,4), %esi
movq 8(%rbx), %rax
movl %esi, (%rax,%rdi,4)
callq _loopset
movq %rbx, %rdi
callq _correctset
movl $1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CHARSETINSTSIZE,8,3 ## @CHARSETINSTSIZE
.comm _ISpan,4,2 ## @ISpan
.comm _k,8,3 ## @k
.no_dead_strip _repeatcharset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function repeatcharset
_repeatcharset: ; @repeatcharset
.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, x3
mov x19, x1
mov x22, x0
mul w8, w3, w2
Lloh0:
adrp x9, _CHARSETINSTSIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _CHARSETINSTSIZE@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
add x1, x9, w8, sxtw
bl _newpatt
mov x20, x0
cmp w21, #1
b.lt LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov x1, x20
mov w2, #1
bl _addpatt
add x20, x20, w0, sxtw #3
subs w21, w21, #1
b.ne LBB0_1
LBB0_2:
Lloh3:
adrp x8, _ISpan@GOTPAGE
Lloh4:
ldr x8, [x8, _ISpan@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
mov w2, #0
bl _setinst
Lloh6:
adrp x8, _k@GOTPAGE
Lloh7:
ldr x8, [x8, _k@GOTPAGEOFF]
Lloh8:
ldr x0, [x8]
lsl x8, x0, #2
ldr w1, [x19, x8]
ldr x9, [x20, #8]
str w1, [x9, x8]
bl _loopset
mov x0, x20
bl _correctset
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _CHARSETINSTSIZE,8,3 ; @CHARSETINSTSIZE
.comm _ISpan,4,2 ; @ISpan
.comm _k,8,3 ; @k
.no_dead_strip _repeatcharset
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_repeatcharset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function repeatheadfail
_repeatheadfail: ## @repeatheadfail
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r13d
movl %esi, %r14d
movq %rdi, %r12
leal 1(%r13), %esi
imull %r14d, %esi
incl %esi
callq _newpatt
movq %rax, %r15
movq %rax, %rbx
testl %r13d, %r13d
jle LBB0_3
## %bb.1:
movq %r15, %rbx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %rbx, %rsi
movl $1, %edx
callq _addpatt
cltq
leaq (%rbx,%rax,4), %rbx
decl %r13d
jne LBB0_2
LBB0_3:
movq %r12, %rdi
movq %rbx, %rsi
movl $1, %edx
callq _addpatt
cltq
leaq (%rbx,%rax,4), %r12
movslq %r14d, %rbx
leaq (,%rbx,4), %rax
movq %r12, %rdi
subq %rax, %rdi
leal 1(%rbx), %esi
callq _check2test
movq _IJmp@GOTPCREL(%rip), %rax
movl (%rax), %esi
negl %ebx
movq %r12, %rdi
movl %ebx, %edx
callq _setinst
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IJmp,4,2 ## @IJmp
.no_dead_strip _repeatheadfail
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function repeatheadfail
_repeatheadfail: ; @repeatheadfail
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x2
mov x19, x1
mov x21, x0
madd w8, w1, w2, w1
add w1, w8, #1
bl _newpatt
mov x20, x0
mov x23, x0
cmp w22, #1
b.lt LBB0_3
; %bb.1:
mov x23, x20
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x23
mov w2, #1
bl _addpatt
add x23, x23, w0, sxtw #2
subs w22, w22, #1
b.ne LBB0_2
LBB0_3:
mov x0, x21
mov x1, x23
mov w2, #1
bl _addpatt
add x21, x23, w0, sxtw #2
sub x0, x21, w19, sxtw #2
add w1, w19, #1
bl _check2test
Lloh0:
adrp x8, _IJmp@GOTPAGE
Lloh1:
ldr x8, [x8, _IJmp@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
neg w2, w19
mov x0, x21
bl _setinst
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
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IJmp,4,2 ; @IJmp
.no_dead_strip _repeatheadfail
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_repeatheadfail.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function repeats
_repeats: ## @repeats
.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, %r13d
movl %edx, %r15d
movq %rsi, %rbx
movq %rdi, %r12
leal 1(%r13), %esi
imull %edx, %esi
addl $2, %esi
callq _newpatt
movq %rax, %r14
movslq %r15d, %rax
leaq (%rbx,%rax,4), %rcx
movq %r12, %rdi
movq %rbx, %rsi
movq %rbx, %rdx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _verify
testl %eax, %eax
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %r12, %rdi
callq _luaL_error
LBB0_2:
movq %r14, %rbx
testl %r13d, %r13d
jle LBB0_5
## %bb.3:
movq %r14, %rbx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %rbx, %rsi
movl $1, %edx
callq _addpatt
cltq
leaq (%rbx,%rax,4), %rbx
decl %r13d
jne LBB0_4
LBB0_5:
leaq 4(%rbx), %r13
movq _IChoice@GOTPCREL(%rip), %rax
movl (%rax), %esi
leal 2(%r15), %edx
movq %rbx, %rdi
callq _setinst
movq %r12, %rdi
movq %r13, %rsi
movl $1, %edx
callq _addpatt
cltq
leaq (%rbx,%rax,4), %rdi
addq $4, %rdi
movq _IPartialCommit@GOTPCREL(%rip), %rax
movl (%rax), %esi
negl %r15d
movl %r15d, %edx
callq _setinst
movq %r14, %rax
addq $8, %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 "loop body may accept empty string"
.comm _IChoice,4,2 ## @IChoice
.comm _IPartialCommit,4,2 ## @IPartialCommit
.no_dead_strip _repeats
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function repeats
_repeats: ; @repeats
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x22, x3
mov x19, x2
mov x23, x1
mov x21, x0
madd w8, w2, w3, w2
add w1, w8, #2
bl _newpatt
mov x20, x0
add x3, x23, w19, sxtw #2
mov x0, x21
mov x1, x23
mov x2, x23
mov w4, #0
mov w5, #0
bl _verify
cbnz w0, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x21
bl _luaL_error
LBB0_2:
mov x23, x20
cmp w22, #1
b.lt LBB0_5
; %bb.3:
mov x23, x20
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov x1, x23
mov w2, #1
bl _addpatt
add x23, x23, w0, sxtw #2
subs w22, w22, #1
b.ne LBB0_4
LBB0_5:
add x22, x23, #4
Lloh2:
adrp x8, _IChoice@GOTPAGE
Lloh3:
ldr x8, [x8, _IChoice@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
add w2, w19, #2
mov x0, x23
bl _setinst
mov x0, x21
mov x1, x22
mov w2, #1
bl _addpatt
add x0, x22, w0, sxtw #2
Lloh5:
adrp x8, _IPartialCommit@GOTPAGE
Lloh6:
ldr x8, [x8, _IPartialCommit@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
neg w2, w19
bl _setinst
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
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "loop body may accept empty string"
.comm _IChoice,4,2 ; @IChoice
.comm _IPartialCommit,4,2 ; @IPartialCommit
.no_dead_strip _repeats
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_repeats.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function rotate
_rotate: ## @rotate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movl %esi, %r14d
movq %rdi, %rbx
leal -1(%r15), %esi
callq _invert
movslq %r15d, %rax
leaq (%rbx,%rax,4), %rdi
movl %r14d, %esi
subl %eax, %esi
callq _invert
movq %rbx, %rdi
movl %r14d, %esi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _invert ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _rotate
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function rotate
_rotate: ; @rotate
.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
sub w1, w2, #1
bl _invert
add x0, x21, w19, sxtw #2
sub w1, w20, w19
bl _invert
mov x0, x21
mov x1, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _invert
.cfi_endproc
; -- End function
.no_dead_strip _rotate
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_rotate.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function runtimecap
_runtimecap: ## @runtimecap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $72, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -44(%rbp) ## 4-byte Spill
movq %r8, %r12
movq %rcx, %r13
movq %rdx, -56(%rbp) ## 8-byte Spill
movq %rsi, %rbx
movq %rdi, %r15
movq %rsi, %rdi
callq _findopen
movq %rax, %r14
movq %rax, %rdi
callq _captype
movq _Cruntime@GOTPCREL(%rip), %rcx
xorl %edi, %edi
cmpq (%rcx), %rax
sete %dil
callq _assert
movq _Cclose@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rbx)
movq %r12, (%rbx)
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
movq %r14, -72(%rbp)
movq %r15, -80(%rbp)
movq %r13, -104(%rbp)
movq $0, -88(%rbp)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, -96(%rbp)
leaq L_.str(%rip), %rdx
movq %r15, %rdi
movl $4, %esi
callq _luaL_checkstack
leaq -104(%rbp), %rdi
callq _pushluaval
movq _SUBJIDX@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _lua_pushvalue
subl %r13d, %r12d
incl %r12d
movq %r15, %rdi
movl %r12d, %esi
callq _lua_pushinteger
leaq -104(%rbp), %rdi
xorl %esi, %esi
callq _pushallcaptures
## kill: def $eax killed $eax def $rax
leal 2(%rax), %esi
movq _LUA_MULTRET@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %r15, %rdi
callq _lua_call
subq %r14, %rbx
shrq $4, %rbx
movl %ebx, %eax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _Cruntime,8,3 ## @Cruntime
.comm _Cclose,4,2 ## @Cclose
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "too many runtime captures"
.comm _SUBJIDX,4,2 ## @SUBJIDX
.comm _LUA_MULTRET,4,2 ## @LUA_MULTRET
.no_dead_strip _runtimecap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function runtimecap
_runtimecap: ; @runtimecap
.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 x22, x5
mov x23, x4
mov x24, x3
mov x25, x2
mov x19, x1
mov x20, x0
mov x0, x1
bl _findopen
mov x21, x0
bl _captype
Lloh0:
adrp x8, _Cruntime@GOTPAGE
Lloh1:
ldr x8, [x8, _Cruntime@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
cset w0, eq
bl _assert
Lloh3:
adrp x8, _Cclose@GOTPAGE
Lloh4:
ldr x8, [x8, _Cclose@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
str w8, [x19, #8]
str x23, [x19]
stp x21, x25, [sp, #32]
str x24, [sp]
stp xzr, x20, [sp, #16]
str w22, [sp, #8]
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x0, x20
mov w1, #4
bl _luaL_checkstack
mov x0, sp
bl _pushluaval
Lloh8:
adrp x8, _SUBJIDX@GOTPAGE
Lloh9:
ldr x8, [x8, _SUBJIDX@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x20
bl _lua_pushvalue
sub w8, w23, w24
add w1, w8, #1
mov x0, x20
bl _lua_pushinteger
mov x0, sp
mov w1, #0
bl _pushallcaptures
add w1, w0, #2
Lloh11:
adrp x8, _LUA_MULTRET@GOTPAGE
Lloh12:
ldr x8, [x8, _LUA_MULTRET@GOTPAGEOFF]
Lloh13:
ldr w2, [x8]
mov x0, x20
bl _lua_call
sub x8, x19, x21
lsr x0, x8, #4
; kill: def $w0 killed $w0 killed $x0
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 AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Cruntime,8,3 ; @Cruntime
.comm _Cclose,4,2 ; @Cclose
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "too many runtime captures"
.comm _SUBJIDX,4,2 ; @SUBJIDX
.comm _LUA_MULTRET,4,2 ; @LUA_MULTRET
.no_dead_strip _runtimecap
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_runtimecap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function separateparts
_separateparts: ## @separateparts
.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 %r9, %r12
movq %r8, -64(%rbp) ## 8-byte Spill
movl %ecx, %ebx
movl %edx, %r13d
movq %rdi, %r15
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rsi, %rdi
movl %edx, %esi
callq _firstpart
## kill: def $eax killed $eax def $rax
testl %eax, %eax
je LBB0_6
## %bb.1:
movq %rax, %r14
movq %r15, -88(%rbp) ## 8-byte Spill
movl %ebx, -52(%rbp) ## 4-byte Spill
movq %r12, -72(%rbp) ## 8-byte Spill
movslq %r14d, %r12
movq %r12, %rax
shlq $4, %rax
movq -48(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax), %rsi
movq -16(%rcx,%rax), %rax
movq _ICommit@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_3
## %bb.2:
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rsi, %rbx
movl %r14d, %esi
movq -72(%rbp), %rdx ## 8-byte Reload
callq _interfere
movq %rbx, %rsi
testl %eax, %eax
je LBB0_3
## %bb.4:
movq -64(%rbp), %rbx ## 8-byte Reload
movslq (%rbx), %r12
movq %r14, %r15
leal (%r12,%r14), %ecx
movl %ecx, -80(%rbp) ## 4-byte Spill
leal 1(%r12,%r14), %eax
movl %eax, -76(%rbp) ## 4-byte Spill
movq -48(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
movq %rsi, -96(%rbp) ## 8-byte Spill
callq _sizei
## kill: def $eax killed $eax def $rax
movq %rax, -104(%rbp) ## 8-byte Spill
movl -76(%rbp), %eax ## 4-byte Reload
movl %eax, (%rbx)
subl %r15d, %r13d
movq -88(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
movl %r13d, %edx
movl -52(%rbp), %ecx ## 4-byte Reload
movq %rbx, %r8
movq -72(%rbp), %r9 ## 8-byte Reload
callq _separateparts
movq %rax, %r13
movq %r12, %rbx
shlq $4, %rbx
leaq (%rax,%rbx), %rdi
movq %r14, %rsi
movq -104(%rbp), %r14 ## 8-byte Reload
movl %r14d, %edx
callq _copypatt
incl 8(%r13,%rbx)
leal (%r14,%r12), %eax
movslq %eax, %rbx
shlq $4, %rbx
leaq (%rbx,%r13), %rdi
movq _IChoice@GOTPCREL(%rip), %rax
movl (%rax), %esi
subl %r14d, %r15d
leal 1(%r15), %edx
movl $1, %ecx
callq _setinstaux
leaq (%rbx,%r13), %rdi
addq $16, %rdi
movslq %r14d, %rsi
shlq $4, %rsi
addq -48(%rbp), %rsi ## 8-byte Folded Reload
decl %r15d
movl %r15d, %edx
callq _copypatt
movslq -80(%rbp), %rdi ## 4-byte Folded Reload
movq -64(%rbp), %rax ## 8-byte Reload
movl (%rax), %edx
subl %edi, %edx
shlq $4, %rdi
addq %r13, %rdi
movq _ICommit@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _setinst
jmp LBB0_5
LBB0_3:
movq %r14, %rbx
movq -64(%rbp), %r15 ## 8-byte Reload
movslq (%r15), %r14
addq %r14, %r12
movl %r12d, (%r15)
subl %ebx, %r13d
movq -88(%rbp), %rdi ## 8-byte Reload
movl %r13d, %edx
movl -52(%rbp), %ecx ## 4-byte Reload
movq %r15, %r8
movq -72(%rbp), %r9 ## 8-byte Reload
callq _separateparts
movq %rax, %r13
shlq $4, %r14
addq %rax, %r14
movq %r14, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movl %ebx, %edx
callq _copypatt
movl (%r15), %eax
subl %r12d, %eax
incl %eax
shlq $4, %r12
movl %eax, -8(%r13,%r12)
LBB0_5:
movq %r13, %rax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
movq %r15, %rdi
movq -48(%rbp), %rsi ## 8-byte Reload
movl %r13d, %edx
movl %ebx, %ecx
movq -64(%rbp), %r8 ## 8-byte Reload
movq %r12, %r9
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _basicUnion ## TAILCALL
.cfi_endproc
## -- End function
.comm _ICommit,8,3 ## @ICommit
.comm _IChoice,4,2 ## @IChoice
.no_dead_strip _separateparts
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function separateparts
_separateparts: ; @separateparts
.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, x5
mov x19, x4
mov x23, x3
mov x25, x2
mov x20, x1
mov x24, x0
mov x0, x1
mov x1, x2
bl _firstpart
cbz w0, LBB0_6
; %bb.1:
mov x21, x0
add x26, x20, w0, sxtw #4
ldur x8, [x26, #-16]
Lloh0:
adrp x9, _ICommit@GOTPAGE
Lloh1:
ldr x9, [x9, _ICommit@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_4
; %bb.2:
mov x0, x20
mov x1, x21
mov x2, x22
bl _interfere
cbz w0, LBB0_4
; %bb.3:
ldrsw x28, [x19]
add w8, w28, w21
str w8, [sp, #12] ; 4-byte Folded Spill
add w8, w8, #1
str w8, [sp, #8] ; 4-byte Folded Spill
mov x0, x20
bl _sizei
mov x27, x0
ldr w8, [sp, #8] ; 4-byte Folded Reload
str w8, [x19]
sub w2, w25, w21
mov x0, x24
mov x1, x26
mov x3, x23
mov x4, x19
mov x5, x22
bl _separateparts
mov x22, x0
add x23, x0, x28, lsl #4
mov x0, x23
mov x1, x20
mov x2, x27
bl _copypatt
ldr w8, [x23, #8]
add w8, w8, #1
str w8, [x23, #8]
add x8, x28, w27, sxtw
add x23, x22, x8, lsl #4
Lloh3:
adrp x8, _IChoice@GOTPAGE
Lloh4:
ldr x8, [x8, _IChoice@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
sub w21, w21, w27
add w2, w21, #1
mov x0, x23
mov w3, #1
bl _setinstaux
add x0, x23, #16
add x1, x20, w27, sxtw #4
sub w2, w21, #1
bl _copypatt
ldr w9, [sp, #12] ; 4-byte Folded Reload
add x0, x22, w9, sxtw #4
Lloh6:
adrp x8, _ICommit@GOTPAGE
Lloh7:
ldr x8, [x8, _ICommit@GOTPAGEOFF]
Lloh8:
ldr x1, [x8]
ldr w8, [x19]
sub w2, w8, w9
bl _setinst
b LBB0_5
LBB0_4:
ldrsw x27, [x19]
add w28, w27, w21
str w28, [x19]
sub w2, w25, w21
mov x0, x24
mov x1, x26
mov x3, x23
mov x4, x19
mov x5, x22
bl _separateparts
mov x22, x0
add x0, x0, x27, lsl #4
mov x1, x20
mov x2, x21
bl _copypatt
ldr w8, [x19]
sub w8, w8, w28
add w8, w8, #1
add x9, x22, w28, sxtw #4
stur w8, [x9, #-8]
LBB0_5:
mov x0, x22
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB0_6:
mov x0, x24
mov x1, x20
mov x2, x25
mov x3, x23
mov x4, x19
mov x5, x22
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
b _basicUnion
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ICommit,8,3 ; @ICommit
.comm _IChoice,4,2 ; @IChoice
.no_dead_strip _separateparts
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_separateparts.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_l
_set_l: ## @set_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
leaq -24(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
cmpq $1, -24(%rbp)
jne LBB0_2
## %bb.1:
movq %r14, %rdi
movl $1, %esi
xorl %edx, %edx
callq _getpatt
jmp LBB0_6
LBB0_2:
movq %rax, %rbx
movq %r14, %rdi
callq _newcharset
movq %rax, %r14
subq $1, -24(%rbp)
jb LBB0_5
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl 4(%r14), %edi
movzbl (%rbx), %esi
callq _setchar
incq %rbx
subq $1, -24(%rbp)
jae LBB0_3
LBB0_5:
movq %r14, %rdi
callq _correctset
LBB0_6:
movl $1, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _set_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_l
_set_l: ; @set_l
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
add x2, sp, #8
mov w1, #1
bl _luaL_checklstring
ldr x8, [sp, #8]
cmp x8, #1
b.ne LBB0_2
; %bb.1:
mov x0, x20
mov w1, #1
mov x2, #0
bl _getpatt
b LBB0_6
LBB0_2:
mov x19, x0
mov x0, x20
bl _newcharset
mov x20, x0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
sub x9, x8, #1
str x9, [sp, #8]
cbz x8, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x20, #4]
ldrb w1, [x19], #1
bl _setchar
b LBB0_3
LBB0_5:
mov x0, x20
bl _correctset
LBB0_6:
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.no_dead_strip _set_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_set_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function setinstaux
_setinstaux: ## @setinstaux
.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, 8(%rdi)
movl %edx, (%rdi)
movl %ecx, 4(%rdi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _setinstaux
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function setinstaux
_setinstaux: ; @setinstaux
.cfi_startproc
; %bb.0:
stp w3, w1, [x0, #4]
str w2, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _setinstaux
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_setinstaux.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function simplecap
_simplecap: ## @simplecap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _lua_pushnil
movq %rbx, %rdi
movl $1, %esi
callq _pushallcaptures
movl %eax, %r14d
movl (%rbx), %edi
movl %eax, %esi
notl %esi
callq _lua_replace
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _simplecap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function simplecap
_simplecap: ; @simplecap
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _lua_pushnil
mov x0, x19
mov w1, #1
bl _pushallcaptures
mov x20, x0
ldr w0, [x19]
mvn w1, w20
bl _lua_replace
mov x0, x20
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 _simplecap
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_simplecap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sizei
_sizei: ## @sizei
.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 _hascharset
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _CHARSETINSTSIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
jmp LBB0_4
LBB0_2:
movq (%rbx), %rcx
movq _IFunc@GOTPCREL(%rip), %rdx
movl $1, %eax
cmpq (%rdx), %rcx
jne LBB0_4
## %bb.3:
movl 8(%rbx), %eax
LBB0_4:
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CHARSETINSTSIZE,4,2 ## @CHARSETINSTSIZE
.comm _IFunc,8,3 ## @IFunc
.no_dead_strip _sizei
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sizei
_sizei: ; @sizei
.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 _hascharset
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _CHARSETINSTSIZE@GOTPAGE
Lloh1:
ldr x8, [x8, _CHARSETINSTSIZE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
b LBB0_5
LBB0_2:
ldr x8, [x19]
Lloh3:
adrp x9, _IFunc@GOTPAGE
Lloh4:
ldr x9, [x9, _IFunc@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
ldr w0, [x19, #8]
b LBB0_5
LBB0_4:
mov w0, #1
LBB0_5:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _CHARSETINSTSIZE,4,2 ; @CHARSETINSTSIZE
.comm _IFunc,8,3 ; @IFunc
.no_dead_strip _sizei
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_sizei.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function skipchecks
_skipchecks: ## @skipchecks
.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, %rbx
movl %esi, -44(%rbp) ## 4-byte Spill
movq %rdi, %r14
callq _ischeck
testq %rax, %rax
movq %rbx, -56(%rbp) ## 8-byte Spill
je LBB0_1
## %bb.2:
xorl %r13d, %r13d
movq %r14, %r12
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
callq _op_step
movl %eax, %ebx
addl %r15d, %ebx
movq _MAXOFF@GOTPCREL(%rip), %rax
movl (%rax), %eax
subl -44(%rbp), %eax ## 4-byte Folded Reload
cmpl %eax, %ebx
jg LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _sizei
addl %eax, %r13d
movslq %r13d, %rax
leaq (%r14,%rax,4), %r12
movq %r12, %rdi
callq _ischeck
movl %ebx, %r15d
testq %rax, %rax
jne LBB0_3
jmp LBB0_6
LBB0_1:
xorl %ebx, %ebx
xorl %r13d, %r13d
jmp LBB0_6
LBB0_4:
movl %r15d, %ebx
LBB0_6:
movq -56(%rbp), %rax ## 8-byte Reload
movl %ebx, (%rax)
movl %r13d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MAXOFF,4,2 ## @MAXOFF
.no_dead_strip _skipchecks
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function skipchecks
_skipchecks: ; @skipchecks
.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, x2
mov x21, x1
mov x22, x0
bl _ischeck
cbz x0, LBB0_4
; %bb.1:
mov w20, #0
mov w26, #0
Lloh0:
adrp x24, _MAXOFF@GOTPAGE
Lloh1:
ldr x24, [x24, _MAXOFF@GOTPAGEOFF]
mov x23, x22
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x23
bl _op_step
add w25, w0, w26
ldr w8, [x24]
sub w8, w8, w21
cmp w25, w8
b.gt LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x23
bl _sizei
add w20, w20, w0
add x23, x22, w20, sxtw #2
mov x0, x23
bl _ischeck
mov x26, x25
cbnz x0, LBB0_2
b LBB0_6
LBB0_4:
mov w25, #0
mov w20, #0
b LBB0_6
LBB0_5:
mov x25, x26
LBB0_6:
str w25, [x19]
mov x0, x20
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MAXOFF,4,2 ; @MAXOFF
.no_dead_strip _skipchecks
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_skipchecks.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function span
_span: ## @span
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdx, %rbx
movq %rdi, %rsi
movq %rdx, %rdi
callq _strspn
cltq
addq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _span
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function span
_span: ; @span
.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 x1, x0
mov x0, x2
bl _strspn
add x0, x19, w0, sxtw
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 _span
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_span.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function span_l
_span_l: ## @span_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movl $1, %esi
callq _luaL_checkstring
movq %rax, %rbx
movq _span@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq %rbx, %rdi
callq _strlen
leaq 1(%rax), %rcx
movq %r14, %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq _newpattfunc
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _span,4,2 ## @span
.no_dead_strip _span_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function span_l
_span_l: ; @span_l
.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
mov w1, #1
bl _luaL_checkstring
mov x20, x0
Lloh0:
adrp x8, _span@GOTPAGE
Lloh1:
ldr x8, [x8, _span@GOTPAGEOFF]
Lloh2:
ldr w21, [x8]
bl _strlen
add x3, x0, #1
mov x0, x19
mov x1, x21
mov x2, x20
bl _newpattfunc
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _span,4,2 ; @span
.no_dead_strip _span_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_span_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function star_l
_star_l: ## @star_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $2, %esi
callq _luaL_checkint
movl %eax, %r14d
leaq -28(%rbp), %rdx
movq %rbx, %rdi
movl $1, %esi
callq _getpatt
movq %rax, %r15
testl %r14d, %r14d
js LBB0_7
## %bb.1:
leaq -32(%rbp), %rsi
movq %r15, %rdi
callq _tocharset
movq _ISCHARSET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_3
## %bb.2:
movl -32(%rbp), %esi
movl -28(%rbp), %edx
movq %rbx, %rdi
movl %r14d, %ecx
callq _repeatcharset
jmp LBB0_11
LBB0_7:
movq %r15, %rdi
callq _isheadfail
negl %r14d
movl -28(%rbp), %esi
movq %rbx, %rdi
movl %r14d, %edx
testq %rax, %rax
je LBB0_9
## %bb.8:
callq _optionalheadfail
jmp LBB0_10
LBB0_3:
movq %r15, %rdi
callq _isheadfail
movl -28(%rbp), %edx
movq %rbx, %rdi
testq %rax, %rax
je LBB0_5
## %bb.4:
movl %edx, %esi
movl %r14d, %edx
callq _repeatheadfail
jmp LBB0_6
LBB0_9:
callq _optionals
jmp LBB0_10
LBB0_5:
movq %r15, %rsi
movl %r14d, %ecx
callq _repeats
LBB0_6:
movq %rax, %rbx
movq %rax, %rdi
callq _optimizecaptures
movq %rbx, %rdi
callq _optimizejumps
LBB0_10:
movl $1, %eax
LBB0_11:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ISCHARSET,8,3 ## @ISCHARSET
.no_dead_strip _star_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function star_l
_star_l: ; @star_l
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
mov w1, #2
bl _luaL_checkint
mov x20, x0
add x2, sp, #12
mov x0, x19
mov w1, #1
bl _getpatt
mov x21, x0
tbnz w20, #31, LBB0_3
; %bb.1:
add x1, sp, #8
mov x0, x21
bl _tocharset
Lloh0:
adrp x8, _ISCHARSET@GOTPAGE
Lloh1:
ldr x8, [x8, _ISCHARSET@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_5
; %bb.2:
ldp w1, w2, [sp, #8]
mov x0, x19
mov x3, x20
bl _repeatcharset
b LBB0_11
LBB0_3:
mov x0, x21
bl _isheadfail
ldr w1, [sp, #12]
neg w2, w20
cbz x0, LBB0_7
; %bb.4:
mov x0, x19
bl _optionalheadfail
b LBB0_10
LBB0_5:
mov x0, x21
bl _isheadfail
ldr w2, [sp, #12]
cbz x0, LBB0_8
; %bb.6:
mov x0, x19
mov x1, x2
mov x2, x20
bl _repeatheadfail
b LBB0_9
LBB0_7:
mov x0, x19
bl _optionals
b LBB0_10
LBB0_8:
mov x0, x19
mov x1, x21
mov x3, x20
bl _repeats
LBB0_9:
mov x19, x0
bl _optimizecaptures
mov x0, x19
bl _optimizejumps
LBB0_10:
mov w0, #1
LBB0_11:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _ISCHARSET,8,3 ; @ISCHARSET
.no_dead_strip _star_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_star_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function stringcap
_stringcap: ## @stringcap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r12
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAXSTRCAPS@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $4, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq 8(%r14), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _updatecache
movl (%r14), %ebx
movl 4(%r14), %edi
callq _subscache
leaq -64(%rbp), %rdx
movl %ebx, %edi
movl %eax, %esi
callq _lua_tolstring
movq %rax, %rbx
movq %r14, -72(%rbp) ## 8-byte Spill
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq _getstrcaps
movl %eax, -52(%rbp) ## 4-byte Spill
cmpq $0, -64(%rbp)
je LBB0_9
## %bb.1:
xorl %r14d, %r14d
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movsbl %al, %esi
movq %r12, %rdi
callq _luaL_addchar
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
incq %r14
cmpq -64(%rbp), %r14
jae LBB0_9
LBB0_2: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%r14), %eax
cmpb $37, %al
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movzbl 1(%rbx,%r14), %eax
incq %r14
leal -58(%rax), %ecx
cmpb $-11, %cl
jbe LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movzbl %al, %r13d
addl $-48, %r13d
cmpl -52(%rbp), %r13d ## 4-byte Folded Reload
jl LBB0_7
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq -72(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %edi
movsbl %al, %edx
leaq L_.str(%rip), %rsi
callq _luaL_error
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movl %r13d, %eax
shlq $4, %rax
movq (%r15,%rax), %rsi
movq 8(%r15,%rax), %rdx
subq %rsi, %rdx
movq %r12, %rdi
callq _luaL_addlstring
jmp LBB0_8
LBB0_9:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_11
## %bb.10:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MAXSTRCAPS,4,2 ## @MAXSTRCAPS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid capture index (%c)"
.no_dead_strip _stringcap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function stringcap
_stringcap: ; @stringcap
.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 x19, x1
mov x20, x0
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, _MAXSTRCAPS@GOTPAGE
Lloh4:
ldr x8, [x8, _MAXSTRCAPS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #4
mov x9, x8
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x21, x9, x8
mov sp, x21
ldr x8, [x1, #8]
ldr w1, [x8]
mov x0, x19
bl _updatecache
ldp w22, w0, [x19]
bl _subscache
mov x1, x0
sub x2, x29, #80
mov x0, x22
bl _lua_tolstring
mov x22, x0
mov x0, x19
mov x1, x21
mov w2, #0
bl _getstrcaps
ldur x8, [x29, #-80]
cbz x8, LBB0_9
; %bb.1:
mov x23, x0
mov x25, #0
Lloh8:
adrp x24, l_.str@PAGE
Lloh9:
add x24, x24, l_.str@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
sxtb w1, w8
mov x0, x20
bl _luaL_addchar
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
add x25, x25, #1
ldur x8, [x29, #-80]
cmp x25, x8
b.hs LBB0_9
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x22, x25]
cmp w8, #37
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x25, x25, #1
ldrb w8, [x22, x25]
sub w9, w8, #58
and w9, w9, #0xff
cmp w9, #245
b.ls LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
sub w26, w8, #48
cmp w26, w23
b.lt LBB0_8
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr w0, [x19]
sxtb w2, w8
mov x1, x24
bl _luaL_error
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
add x8, x21, w26, uxtw #4
ldp x1, x8, [x8]
sub x2, x8, x1
mov x0, x20
bl _luaL_addlstring
b LBB0_3
LBB0_9:
ldur x8, [x29, #-72]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
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_11:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _MAXSTRCAPS,4,2 ; @MAXSTRCAPS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid capture index (%c)"
.no_dead_strip _stringcap
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_stringcap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function substcap
_substcap: ## @substcap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
movq (%rdi), %rax
movq -8(%rax), %rbx
movl 8(%rdi), %edi
leaq -44(%rbp), %rsi
callq _luaL_buffinit
movq (%r12), %rdi
callq _isclosecap
testl %eax, %eax
je LBB0_2
## %bb.1:
movq %rbx, %r13
LBB0_13:
movq (%r12), %rax
movl (%rax), %edx
subl %r13d, %edx
leaq -44(%rbp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq _luaL_addlstring
movq %rbx, %rdi
callq _luaL_pushresult
addq $8, (%r12)
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
leaq -44(%rbp), %r14
movq _Cstring@GOTPCREL(%rip), %r15
jmp LBB0_3
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
movq %r12, %rsi
callq _stringcap
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movq (%r12), %rdi
addq $-8, %rdi
callq _closeaddr
movq %rax, %r13
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
movq (%r12), %rdi
callq _isclosecap
movq %r13, %rbx
testl %eax, %eax
jne LBB0_13
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rax
movq (%rax), %r13
movl %r13d, %edx
subl %ebx, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq _luaL_addlstring
movq (%r12), %rdi
callq _captype
cmpq (%r15), %rax
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _pushcapture
testl %eax, %eax
je LBB0_12
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
cmpl $2, %eax
jl LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movl 8(%r12), %edi
decl %eax
movl %eax, %esi
callq _lua_pop
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
movl 8(%r12), %edi
movl $-1, %esi
callq _lua_isstring
testl %eax, %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movl 8(%r12), %ebx
movl %ebx, %edi
movl $-1, %esi
callq _luaL_typename
movl %ebx, %edi
leaq L_.str(%rip), %rsi
movl %eax, %edx
callq _luaL_error
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
movq %r14, %rdi
callq _luaL_addvalue
jmp LBB0_11
.cfi_endproc
## -- End function
.comm _Cstring,8,3 ## @Cstring
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "invalid replacement value (a %s)"
.no_dead_strip _substcap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function substcap
_substcap: ; @substcap
.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, x0
ldr x8, [x0]
ldur x21, [x8, #-8]
ldr w0, [x0, #8]
add x1, sp, #12
bl _luaL_buffinit
ldr x0, [x19]
bl _isclosecap
cbz w0, LBB0_2
LBB0_1:
ldr x8, [x19]
ldr w8, [x8]
sub w2, w8, w21
add x0, sp, #12
mov x1, x21
bl _luaL_addlstring
add x0, sp, #12
bl _luaL_pushresult
ldr x8, [x19]
add x8, x8, #8
str x8, [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
LBB0_2:
Lloh0:
adrp x22, _Cstring@GOTPAGE
Lloh1:
ldr x22, [x22, _Cstring@GOTPAGEOFF]
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
b LBB0_6
LBB0_3: ; in Loop: Header=BB0_6 Depth=1
add x0, sp, #12
mov x1, x19
bl _stringcap
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x19]
sub x0, x8, #8
bl _closeaddr
mov x21, x0
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [x19]
bl _isclosecap
cbnz w0, LBB0_1
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19]
ldr x23, [x8]
sub w2, w23, w21
add x0, sp, #12
mov x1, x21
bl _luaL_addlstring
ldr x0, [x19]
bl _captype
ldr x8, [x22]
cmp x0, x8
b.eq LBB0_3
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x0, x19
bl _pushcapture
cbz w0, LBB0_13
; %bb.8: ; in Loop: Header=BB0_6 Depth=1
cmp w0, #2
b.lt LBB0_10
; %bb.9: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [x19, #8]
sub w1, w0, #1
mov x0, x8
bl _lua_pop
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x19, #8]
mov w1, #-1
bl _lua_isstring
cbnz w0, LBB0_12
; %bb.11: ; in Loop: Header=BB0_6 Depth=1
ldr w21, [x19, #8]
mov x0, x21
mov w1, #-1
bl _luaL_typename
mov x2, x0
mov x0, x21
mov x1, x20
bl _luaL_error
LBB0_12: ; in Loop: Header=BB0_6 Depth=1
add x0, sp, #12
bl _luaL_addvalue
b LBB0_4
LBB0_13: ; in Loop: Header=BB0_6 Depth=1
mov x21, x23
b LBB0_5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _Cstring,8,3 ; @Cstring
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "invalid replacement value (a %s)"
.no_dead_strip _substcap
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_substcap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tablecap
_tablecap: ## @tablecap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movl 4(%rdi), %edi
callq _lua_newtable
movl (%r15), %edi
leal 1(%rdi), %eax
movl %eax, (%r15)
## kill: def $edi killed $edi killed $rdi
callq _isfullcap
testq %rax, %rax
jne LBB0_8
## %bb.1:
movl (%r15), %edi
callq _isclosecap
testl %eax, %eax
je LBB0_2
LBB0_7:
incl (%r15)
LBB0_8:
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
xorl %r12d, %r12d
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
addl %r12d, %r14d
movl (%r15), %edi
callq _isclosecap
movl %r14d, %r12d
testl %eax, %eax
jne LBB0_7
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq %r15, %rdi
callq _pushcapture
movl %eax, %r14d
testl %eax, %eax
jle LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl %r14d, %ebx
notl %ebx
movl %r14d, %r13d
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl 4(%r15), %edi
leal (%r12,%r13), %edx
movl %ebx, %esi
callq _lua_rawseti
leal -1(%r13), %eax
incl %ebx
cmpl $1, %r13d
movl %eax, %r13d
ja LBB0_5
jmp LBB0_6
.cfi_endproc
## -- End function
.no_dead_strip _tablecap
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tablecap
_tablecap: ; @tablecap
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
ldr w0, [x0, #4]
bl _lua_newtable
ldr w0, [x19]
add w8, w0, #1
str w8, [x19]
bl _isfullcap
cbnz x0, LBB0_3
; %bb.1:
ldr w0, [x19]
bl _isclosecap
cbz w0, LBB0_4
LBB0_2:
ldr w8, [x19]
add w8, w8, #1
str w8, [x19]
LBB0_3:
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
LBB0_4:
mov w22, #0
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add w22, w20, w22
ldr w0, [x19]
bl _isclosecap
cbnz w0, LBB0_2
LBB0_6: ; =>This Loop Header: Depth=1
; Child Loop BB0_8 Depth 2
mov x0, x19
bl _pushcapture
mov x20, x0
cmp w0, #1
b.lt LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mvn w21, w20
mov x23, x20
LBB0_8: ; Parent Loop BB0_6 Depth=1
; => This Inner Loop Header: Depth=2
ldr w0, [x19, #4]
add w2, w22, w23
mov x1, x21
bl _lua_rawseti
add w21, w21, #1
subs w23, w23, #1
b.hi LBB0_8
b LBB0_5
.cfi_endproc
; -- End function
.no_dead_strip _tablecap
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_tablecap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function target
_target: ## @target
.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
movq _IJmp@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movslq %esi, %rdx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rdx, %rsi
shlq $4, %rsi
cmpq %rcx, (%rdi,%rsi)
jne LBB0_3
## %bb.1: ## in Loop: Header=BB0_2 Depth=1
shlq $4, %rdx
addl 8(%rdi,%rdx), %eax
movslq %eax, %rdx
jmp LBB0_2
LBB0_3:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IJmp,8,3 ## @IJmp
.no_dead_strip _target
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function target
_target: ; @target
.cfi_startproc
; %bb.0:
; kill: def $w1 killed $w1 def $x1
Lloh0:
adrp x8, _IJmp@GOTPAGE
Lloh1:
ldr x8, [x8, _IJmp@GOTPAGEOFF]
Lloh2:
ldr x9, [x8]
sbfiz x8, x1, #4, #32
ldr x8, [x0, x8]
cmp x8, x9
b.ne LBB0_4
; %bb.1:
sxtw x10, w1
mov x8, x1
LBB0_2: ; =>This Inner Loop Header: Depth=1
add x10, x0, x10, lsl #4
ldr w10, [x10, #8]
add w8, w8, w10
sxtw x10, w8
sbfiz x11, x8, #4, #32
ldr x11, [x0, x11]
cmp x11, x9
b.eq LBB0_2
; %bb.3:
mov x0, x8
ret
LBB0_4:
mov x8, x1
mov x0, x8
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IJmp,8,3 ; @IJmp
.no_dead_strip _target
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_target.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tcapture_l
_tcapture_l: ## @tcapture_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _Ctable@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edx, %edx
popq %rbp
jmp _capture_aux ## TAILCALL
.cfi_endproc
## -- End function
.comm _Ctable,4,2 ## @Ctable
.no_dead_strip _tcapture_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tcapture_l
_tcapture_l: ; @tcapture_l
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _Ctable@GOTPAGE
Lloh1:
ldr x8, [x8, _Ctable@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov w2, #0
b _capture_aux
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _Ctable,4,2 ; @Ctable
.no_dead_strip _tcapture_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_tcapture_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function testpattern
_testpattern: ## @testpattern
.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, %ebx
movq %rdi, %r15
callq _lua_touserdata
xorl %r14d, %r14d
testq %rax, %rax
je LBB0_4
## %bb.1:
movq %r15, %rdi
movl %ebx, %esi
callq _lua_getmetatable
testq %rax, %rax
je LBB0_4
## %bb.2:
movq _PATTERN_T@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _luaL_getmetatable
movq %r15, %rdi
movl $-1, %esi
movl $-2, %edx
callq _lua_rawequal
testq %rax, %rax
je LBB0_4
## %bb.3:
movq %r15, %rdi
movl $2, %esi
callq _lua_pop
movl $1, %r14d
LBB0_4:
movl %r14d, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PATTERN_T,4,2 ## @PATTERN_T
.no_dead_strip _testpattern
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function testpattern
_testpattern: ; @testpattern
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x1
mov x19, x0
bl _lua_touserdata
cbz x0, LBB0_4
; %bb.1:
mov x0, x19
mov x1, x20
bl _lua_getmetatable
cbz x0, LBB0_4
; %bb.2:
Lloh0:
adrp x8, _PATTERN_T@GOTPAGE
Lloh1:
ldr x8, [x8, _PATTERN_T@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
bl _luaL_getmetatable
mov x0, x19
mov w1, #-1
mov w2, #-2
bl _lua_rawequal
cbz x0, LBB0_4
; %bb.3:
mov x0, x19
mov w1, #2
bl _lua_pop
mov w0, #1
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PATTERN_T,4,2 ; @PATTERN_T
.no_dead_strip _testpattern
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_testpattern.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function tocharset
_tocharset: ## @tocharset
.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 _ischeck
testq %rax, %rax
je LBB0_1
## %bb.2:
movl 4(%r14), %esi
movq %rbx, %rdi
callq _fillcharset
movq %rbx, %rdi
callq _sizei
cltq
movq (%rbx,%rax,8), %rax
movq _IEnd@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_5
## %bb.3:
movq %rbx, %rdi
callq _op_step
cmpl $1, %eax
jne LBB0_5
## %bb.4:
movq _ISCHARSET@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_5:
movq _VALIDSTARTS@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_1:
movq _NOINFO@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
movl %eax, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IEnd,8,3 ## @IEnd
.comm _ISCHARSET,4,2 ## @ISCHARSET
.comm _VALIDSTARTS,4,2 ## @VALIDSTARTS
.comm _NOINFO,4,2 ## @NOINFO
.no_dead_strip _tocharset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function tocharset
_tocharset: ; @tocharset
.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 _ischeck
cbz x0, LBB0_5
; %bb.1:
ldr w1, [x19, #4]
mov x0, x20
bl _fillcharset
mov x0, x20
bl _sizei
ldr x8, [x20, w0, sxtw #3]
Lloh0:
adrp x9, _IEnd@GOTPAGE
Lloh1:
ldr x9, [x9, _IEnd@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.2:
mov x0, x20
bl _op_step
cmp w0, #1
b.ne LBB0_4
; %bb.3:
Lloh3:
adrp x8, _ISCHARSET@GOTPAGE
Lloh4:
ldr x8, [x8, _ISCHARSET@GOTPAGEOFF]
b LBB0_6
LBB0_4:
Lloh5:
adrp x8, _VALIDSTARTS@GOTPAGE
Lloh6:
ldr x8, [x8, _VALIDSTARTS@GOTPAGEOFF]
b LBB0_6
LBB0_5:
Lloh7:
adrp x8, _NOINFO@GOTPAGE
Lloh8:
ldr x8, [x8, _NOINFO@GOTPAGEOFF]
LBB0_6:
ldr w0, [x8]
str w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _IEnd,8,3 ; @IEnd
.comm _ISCHARSET,4,2 ; @ISCHARSET
.comm _VALIDSTARTS,4,2 ; @VALIDSTARTS
.comm _NOINFO,4,2 ; @NOINFO
.no_dead_strip _tocharset
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_tocharset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function type_l
_type_l: ## @type_l
.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 $1, %esi
callq _testpattern
testq %rax, %rax
je LBB0_2
## %bb.1:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
jmp LBB0_3
LBB0_2:
movq %rbx, %rdi
callq _lua_pushnil
LBB0_3:
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "pattern"
.no_dead_strip _type_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function type_l
_type_l: ; @type_l
.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, #1
bl _testpattern
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _lua_pushliteral
b LBB0_3
LBB0_2:
mov x0, x19
bl _lua_pushnil
LBB0_3:
mov w0, #1
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "pattern"
.no_dead_strip _type_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_type_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function union_l
_union_l: ## @union_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movl $0, -28(%rbp)
leaq -36(%rbp), %rdx
movl $1, %esi
callq _getpatt
movq %rax, %r14
leaq -32(%rbp), %rdx
movq %rbx, %rdi
movl $2, %esi
callq _getpatt
movq _IFail@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq %rcx, (%r14)
jne LBB0_2
## %bb.1:
movq %rbx, %rdi
movl $2, %esi
callq _lua_pushvalue
jmp LBB0_5
LBB0_2:
cmpq %rcx, (%rax)
jne LBB0_4
## %bb.3:
movq %rbx, %rdi
movl $1, %esi
callq _lua_pushvalue
jmp LBB0_5
LBB0_4:
leaq -40(%rbp), %r15
movq %rax, %rdi
movq %r15, %rsi
callq _tocharset
movl -36(%rbp), %edx
movl -32(%rbp), %ecx
leaq -28(%rbp), %r8
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %r9
callq _separateparts
LBB0_5:
movl $1, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _IFail,8,3 ## @IFail
.no_dead_strip _union_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function union_l
_union_l: ; @union_l
.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
str wzr, [sp, #4]
add x2, sp, #12
mov w1, #1
bl _getpatt
mov x20, x0
add x2, sp, #8
mov x0, x19
mov w1, #2
bl _getpatt
ldr x9, [x20]
Lloh0:
adrp x8, _IFail@GOTPAGE
Lloh1:
ldr x8, [x8, _IFail@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x9, x8
b.ne LBB0_2
; %bb.1:
mov x0, x19
mov w1, #2
bl _lua_pushvalue
b LBB0_5
LBB0_2:
ldr x9, [x0]
cmp x9, x8
b.ne LBB0_4
; %bb.3:
mov x0, x19
mov w1, #1
bl _lua_pushvalue
b LBB0_5
LBB0_4:
mov x1, sp
bl _tocharset
ldp w3, w2, [sp, #8]
add x4, sp, #4
mov x5, sp
mov x0, x19
mov x1, x20
bl _separateparts
LBB0_5:
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _IFail,8,3 ; @IFail
.no_dead_strip _union_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_union_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function unm_l
_unm_l: ## @unm_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _lua_pushliteral
movq %rbx, %rdi
movl $1, %esi
callq _lua_insert
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _diff_l ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.no_dead_strip _unm_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function unm_l
_unm_l: ; @unm_l
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _lua_pushliteral
mov x0, x19
mov w1, #1
bl _lua_insert
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _diff_l
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.no_dead_strip _unm_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_unm_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function updatecache_
_updatecache_: ## @updatecache_
.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
movl 4(%rdi), %edi
movl 8(%rbx), %r15d
callq _penvidx
movl %r15d, %edi
movl %eax, %esi
movl %r14d, %edx
callq _lua_rawgeti
movl 4(%rbx), %edi
movl 8(%rbx), %r15d
callq _subscache
movl %r15d, %edi
movl %eax, %esi
callq _lua_replace
movl %r14d, (%rbx)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _updatecache_
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function updatecache_
_updatecache_: ; @updatecache_
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
ldp w0, w21, [x0, #4]
bl _penvidx
mov x1, x0
mov x0, x21
mov x2, x19
bl _lua_rawgeti
ldp w0, w21, [x20, #4]
bl _subscache
mov x1, x0
mov x0, x21
bl _lua_replace
str w19, [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 _updatecache_
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_updatecache_.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function val2str
_val2str: ## @val2str
.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 _lua_tostring
testq %rax, %rax
je LBB0_3
## %bb.1:
leaq L_.str(%rip), %rsi
jmp LBB0_2
LBB0_3:
movq %rbx, %rdi
movl $-1, %esi
callq _luaL_typename
leaq L_.str.1(%rip), %rsi
LBB0_2:
movq %rbx, %rdi
movq %rax, %rdx
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lua_pushfstring ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rule '%s'"
L_.str.1: ## @.str.1
.asciz "rule <a %s>"
.no_dead_strip _val2str
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function val2str
_val2str: ; @val2str
.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 _lua_tostring
cbz x0, LBB0_2
; %bb.1:
mov x2, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
b LBB0_3
LBB0_2:
mov x0, x19
mov w1, #-1
bl _luaL_typename
mov x2, x0
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_pushfstring
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rule '%s'"
l_.str.1: ; @.str.1
.asciz "rule <a %s>"
.no_dead_strip _val2str
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_val2str.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function value2fenv
_value2fenv: ## @value2fenv
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movl %esi, %r14d
movq %rdi, %rbx
movl $1, %esi
xorl %edx, %edx
callq _lua_createtable
movq %rbx, %rdi
movl %r14d, %esi
callq _lua_pushvalue
movq %rbx, %rdi
movl $-2, %esi
movl $1, %edx
callq _lua_rawseti
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setfenv
movl $1, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _value2fenv
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function value2fenv
_value2fenv: ; @value2fenv
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov w1, #1
mov w2, #0
bl _lua_createtable
mov x0, x20
mov x1, x19
bl _lua_pushvalue
mov x0, x20
mov w1, #-2
mov w2, #1
bl _lua_rawseti
mov x0, x20
mov w1, #-2
bl _lua_setfenv
mov w0, #1
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 _value2fenv
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_value2fenv.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function verify
_verify: ## @verify
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %r9d, -72(%rbp) ## 4-byte Spill
movl %r8d, -52(%rbp) ## 4-byte Spill
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, -80(%rbp) ## 8-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MAXBACK@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $4, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movl $0, %r15d
cmpq %rbx, %r14
je LBB0_6
## %bb.1:
xorl %eax, %eax
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
setne %al
movl %eax, -68(%rbp) ## 4-byte Spill
movq %r12, %rax
addq $8, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
leaq LJTI0_0(%rip), %r13
jmp LBB0_2
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
testl %r15d, %r15d
jle LBB0_24
## %bb.25: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 12(%r14)
setg %al
LBB0_26: ## in Loop: Header=BB0_2 Depth=1
movzbl %al, %edi
callq _assert
decl %r15d
LBB0_27: ## in Loop: Header=BB0_2 Depth=1
movslq 12(%r14), %rax
LBB0_28: ## in Loop: Header=BB0_2 Depth=1
leaq (%rax,%rax,2), %rax
leaq (%r14,%rax,8), %r14
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
cmpq %rbx, %r14
je LBB0_6
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
## Child Loop BB0_38 Depth 2
movl 8(%r14), %eax
addl $-128, %eax
cmpl $27, %eax
ja LBB0_43
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
LBB0_42: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _sizei
cltq
jmp LBB0_28
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movslq %r15d, %rax
decl %r15d
shlq $4, %rax
movq -8(%rax,%r12), %r14
jmp LBB0_5
LBB0_29: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
testl %r15d, %r15d
setg %dil
callq _assert
cmpl $0, 12(%r14)
jg LBB0_27
## %bb.30: ## in Loop: Header=BB0_2 Depth=1
movl -68(%rbp), %edi ## 4-byte Reload
callq _assert
decl %r15d
addq $24, %r14
jmp LBB0_5
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -52(%rbp) ## 4-byte Folded Reload
je LBB0_37
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
testl %r15d, %r15d
jle LBB0_21
## %bb.15: ## in Loop: Header=BB0_2 Depth=1
leaq 24(%r14), %rax
movl %r15d, %ecx
shlq $4, %rcx
xorl %edx, %edx
jmp LBB0_16
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_16 Depth=2
addq $16, %rdx
cmpq %rdx, %rcx
je LBB0_21
LBB0_16: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, (%r12,%rdx)
jne LBB0_20
## %bb.17: ## in Loop: Header=BB0_16 Depth=2
cmpq %rax, 8(%r12,%rdx)
jne LBB0_20
jmp LBB0_18
LBB0_36: ## in Loop: Header=BB0_2 Depth=1
movl 68(%r14), %edi
leaq _verify.dummy(%rip), %rcx
movq %rcx, %rsi
movq %rcx, %rdx
callq *24(%r14)
testq %rax, %rax
jne LBB0_27
jmp LBB0_37
LBB0_31: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, 16(%r14)
je LBB0_37
## %bb.32: ## in Loop: Header=BB0_2 Depth=1
cmpl $154, -16(%r14)
jne LBB0_33
## %bb.34: ## in Loop: Header=BB0_2 Depth=1
cmpl $2, -12(%r14)
sete %al
jmp LBB0_35
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_2 Depth=1
movslq %r15d, %rax
movq %rax, %rcx
shlq $4, %rcx
addq -88(%rbp), %rcx ## 8-byte Folded Reload
xorl %edx, %edx
.p2align 4, 0x90
LBB0_38: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rdx, %rax
je LBB0_39
## %bb.40: ## in Loop: Header=BB0_38 Depth=2
incq %rdx
leaq -16(%rcx), %rsi
cmpq $0, -24(%rcx)
movq %rsi, %rcx
je LBB0_38
## %bb.41: ## in Loop: Header=BB0_2 Depth=1
subl %edx, %r15d
movq (%rsi), %r14
jmp LBB0_5
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
movq _MAXBACK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jge LBB0_8
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
movq %r14, %rsi
callq _dest
movslq %r15d, %rcx
shlq $4, %rcx
movq %rax, 8(%r12,%rcx)
incl %r15d
leaq _verify.dummy(%rip), %rax
movq %rax, (%r12,%rcx)
addq $24, %r14
jmp LBB0_5
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
xorl %edi, %edi
cmpl $136, 32(%r14)
setne %dil
callq _assert
movq _MAXBACK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jge LBB0_8
## %bb.12: ## in Loop: Header=BB0_2 Depth=1
leaq 24(%r14), %rax
movslq %r15d, %rcx
shlq $4, %rcx
movq $0, (%r12,%rcx)
incl %r15d
movq %rax, 8(%r12,%rcx)
jmp LBB0_27
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
jmp LBB0_26
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
movq _MAXBACK@GOTPCREL(%rip), %rax
cmpl (%rax), %r15d
jge LBB0_8
## %bb.22: ## in Loop: Header=BB0_2 Depth=1
movslq %r15d, %rax
shlq $4, %rax
movq $0, (%r12,%rax)
leaq 24(%r14), %rcx
incl %r15d
movq %rcx, 8(%r12,%rax)
movl 12(%r14), %edx
movq -64(%rbp), %rdi ## 8-byte Reload
movl -52(%rbp), %esi ## 4-byte Reload
callq _getposition
cltq
leaq (%rax,%rax,2), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %r14
jmp LBB0_5
LBB0_33: ## in Loop: Header=BB0_2 Depth=1
xorl %eax, %eax
LBB0_35: ## in Loop: Header=BB0_2 Depth=1
movzbl %al, %edi
callq _assert
addq $24, %r14
jmp LBB0_5
LBB0_39:
movl $1, %ebx
jmp LBB0_44
LBB0_6:
xorl %edi, %edi
testl %r15d, %r15d
sete %dil
callq _assert
xorl %ebx, %ebx
LBB0_44:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_46
## %bb.45:
movl %ebx, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_18:
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl -72(%rbp), %esi ## 4-byte Reload
callq _val2str
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_46
## %bb.19:
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
movl %eax, %edx
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _luaL_error ## TAILCALL
LBB0_8:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
movq -64(%rbp), %rdi ## 8-byte Reload
jne LBB0_46
## %bb.9:
leaq L_.str(%rip), %rsi
xorl %eax, %eax
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _luaL_error ## TAILCALL
LBB0_43:
xorl %ebx, %ebx
xorl %edi, %edi
callq _assert
jmp LBB0_44
LBB0_46:
callq ___stack_chk_fail
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
.long L0_0_set_37
.long L0_0_set_27
.long L0_0_set_27
.long L0_0_set_27
.long L0_0_set_27
.long L0_0_set_42
.long L0_0_set_42
.long L0_0_set_37
.long L0_0_set_4
.long L0_0_set_29
.long L0_0_set_42
.long L0_0_set_13
.long L0_0_set_27
.long L0_0_set_36
.long L0_0_set_42
.long L0_0_set_37
.long L0_0_set_31
.long L0_0_set_43
.long L0_0_set_42
.long L0_0_set_42
.long L0_0_set_23
.long L0_0_set_37
.long L0_0_set_42
.long L0_0_set_7
.long L0_0_set_37
.long L0_0_set_11
.long L0_0_set_23
.long L0_0_set_37
.end_data_region
## -- End function
.section __TEXT,__const
_verify.dummy: ## @verify.dummy
.space 1
.comm _MAXBACK,4,2 ## @MAXBACK
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "too many pending calls/choices"
L_.str.1: ## @.str.1
.asciz "%s is left recursive"
.no_dead_strip _verify
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function verify
_verify: ; @verify
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
sub sp, sp, #32
mov x21, x4
mov x22, x3
mov x26, x2
mov x23, 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 x27, _MAXBACK@GOTPAGE
Lloh4:
ldr x27, [x27, _MAXBACK@GOTPAGEOFF]
ldr w8, [x27]
lsl x8, x8, #4
mov x9, x8
Lloh5:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh6:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x28, x9, x8
mov sp, x28
cmp x2, x3
b.eq LBB0_2
; %bb.1:
stur x0, [x29, #-96] ; 8-byte Folded Spill
mov w19, #0
cmp w21, #0
cset w8, ne
stp w5, w8, [x29, #-104] ; 8-byte Folded Spill
add x25, x28, #8
Lloh7:
adrp x24, lJTI0_0@PAGE
Lloh8:
add x24, x24, lJTI0_0@PAGEOFF
mov w20, #24
b LBB0_10
LBB0_2:
mov w19, #0
LBB0_3:
cmp w19, #0
cset w0, eq
LBB0_4:
bl _assert
mov w0, #0
b LBB0_40
LBB0_5: ; in Loop: Header=BB0_10 Depth=1
subs w19, w19, #1
b.lt LBB0_34
; %bb.6: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x26, #12]
cmp w8, #0
cset w0, gt
LBB0_7: ; in Loop: Header=BB0_10 Depth=1
bl _assert
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
ldrsw x8, [x26, #12]
madd x26, x8, x20, x26
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
cmp x26, x22
b.eq LBB0_3
LBB0_10: ; =>This Loop Header: Depth=1
; Child Loop BB0_20 Depth 2
; Child Loop BB0_27 Depth 2
ldr w8, [x26, #8]
sub w8, w8, #128
cmp w8, #27
b.hi LBB0_45
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
adr x9, LBB0_5
ldrb w10, [x24, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
mov x0, x26
bl _sizei
smaddl x26, w0, w20, x26
b LBB0_9
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
; kill: def $w19 killed $w19 killed $x19 def $x19
sxtw x8, w19
sub x19, x8, #1
add x8, x28, x19, lsl #4
ldr x26, [x8, #8]
; kill: def $w19 killed $w19 killed $x19 def $x19
b LBB0_9
LBB0_14: ; in Loop: Header=BB0_10 Depth=1
cmp w19, #0
cset w0, gt
bl _assert
ldr w8, [x26, #12]
cmp w8, #0
b.gt LBB0_8
; %bb.15: ; in Loop: Header=BB0_10 Depth=1
ldur w0, [x29, #-100] ; 4-byte Folded Reload
bl _assert
sub w19, w19, #1
add x26, x26, #24
b LBB0_9
LBB0_16: ; in Loop: Header=BB0_10 Depth=1
cbz w21, LBB0_26
; %bb.17: ; in Loop: Header=BB0_10 Depth=1
cmp w19, #1
b.lt LBB0_35
; %bb.18: ; in Loop: Header=BB0_10 Depth=1
add x8, x26, #24
mov w9, w19
mov x10, x25
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_20 Depth=2
add x10, x10, #16
subs x9, x9, #1
b.eq LBB0_35
LBB0_20: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
ldur x11, [x10, #-8]
cbnz x11, LBB0_19
; %bb.21: ; in Loop: Header=BB0_20 Depth=2
ldr x11, [x10]
cmp x11, x8
b.ne LBB0_19
b LBB0_42
LBB0_22: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [x26, #24]
ldr w0, [x26, #68]
Lloh9:
adrp x1, _verify.dummy@PAGE
Lloh10:
add x1, x1, _verify.dummy@PAGEOFF
mov x2, x1
mov x3, x1
blr x8
cbnz x0, LBB0_8
b LBB0_26
LBB0_23: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x26, #16]
cbz w8, LBB0_26
; %bb.24: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x26, #-16]
cmp w8, #154
b.ne LBB0_37
; %bb.25: ; in Loop: Header=BB0_10 Depth=1
ldur w8, [x26, #-12]
cmp w8, #2
cset w0, eq
b LBB0_38
LBB0_26: ; in Loop: Header=BB0_10 Depth=1
sxtw x8, w19
add x9, x25, w19, sxtw #4
LBB0_27: ; Parent Loop BB0_10 Depth=1
; => This Inner Loop Header: Depth=2
cbz x8, LBB0_39
; %bb.28: ; in Loop: Header=BB0_27 Depth=2
sub x8, x8, #1
ldur x10, [x9, #-24]
sub x9, x9, #16
cbz x10, LBB0_27
; %bb.29: ; in Loop: Header=BB0_10 Depth=1
ldr x26, [x9]
mov x19, x8
b LBB0_9
LBB0_30: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x27]
cmp w19, w8
b.ge LBB0_43
; %bb.31: ; in Loop: Header=BB0_10 Depth=1
mov w0, #0
mov x1, x26
bl _dest
add x8, x28, w19, sxtw #4
add w19, w19, #1
Lloh11:
adrp x9, _verify.dummy@PAGE
Lloh12:
add x9, x9, _verify.dummy@PAGEOFF
stp x9, x0, [x8]
add x26, x26, #24
b LBB0_9
LBB0_32: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x26, #32]
cmp w8, #136
cset w0, ne
bl _assert
ldr w8, [x27]
cmp w19, w8
b.ge LBB0_43
; %bb.33: ; in Loop: Header=BB0_10 Depth=1
add x8, x26, #24
add x9, x28, w19, sxtw #4
add w19, w19, #1
stp xzr, x8, [x9]
b LBB0_8
LBB0_34: ; in Loop: Header=BB0_10 Depth=1
mov w0, #0
b LBB0_7
LBB0_35: ; in Loop: Header=BB0_10 Depth=1
ldr w8, [x27]
cmp w19, w8
b.ge LBB0_43
; %bb.36: ; in Loop: Header=BB0_10 Depth=1
add x8, x28, w19, sxtw #4
add x9, x26, #24
add w19, w19, #1
stp xzr, x9, [x8]
ldr w2, [x26, #12]
ldur x0, [x29, #-96] ; 8-byte Folded Reload
mov x1, x21
bl _getposition
smaddl x26, w0, w20, x23
b LBB0_9
LBB0_37: ; in Loop: Header=BB0_10 Depth=1
mov w0, #0
LBB0_38: ; in Loop: Header=BB0_10 Depth=1
bl _assert
add x26, x26, #24
b LBB0_9
LBB0_39:
mov w0, #1
LBB0_40:
ldur x8, [x29, #-88]
Lloh13:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh14:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_46
; %bb.41:
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_42:
ldur x19, [x29, #-96] ; 8-byte Folded Reload
mov x0, x19
ldur w1, [x29, #-104] ; 4-byte Folded Reload
bl _val2str
; kill: def $w0 killed $w0 def $x0
str x0, [sp, #-16]!
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _luaL_error
add sp, sp, #16
b LBB0_40
LBB0_43:
ldur x8, [x29, #-88]
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_46
; %bb.44:
Lloh21:
adrp x1, l_.str@PAGE
Lloh22:
add x1, x1, l_.str@PAGEOFF
ldur x0, [x29, #-96] ; 8-byte Folded Reload
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
b _luaL_error
LBB0_45:
mov w0, #0
b LBB0_4
LBB0_46:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpAdd Lloh21, Lloh22
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_26-LBB0_5)>>2
.byte (LBB0_8-LBB0_5)>>2
.byte (LBB0_8-LBB0_5)>>2
.byte (LBB0_8-LBB0_5)>>2
.byte (LBB0_8-LBB0_5)>>2
.byte (LBB0_12-LBB0_5)>>2
.byte (LBB0_12-LBB0_5)>>2
.byte (LBB0_26-LBB0_5)>>2
.byte (LBB0_13-LBB0_5)>>2
.byte (LBB0_14-LBB0_5)>>2
.byte (LBB0_12-LBB0_5)>>2
.byte (LBB0_16-LBB0_5)>>2
.byte (LBB0_8-LBB0_5)>>2
.byte (LBB0_22-LBB0_5)>>2
.byte (LBB0_12-LBB0_5)>>2
.byte (LBB0_26-LBB0_5)>>2
.byte (LBB0_23-LBB0_5)>>2
.byte (LBB0_45-LBB0_5)>>2
.byte (LBB0_12-LBB0_5)>>2
.byte (LBB0_12-LBB0_5)>>2
.byte (LBB0_5-LBB0_5)>>2
.byte (LBB0_26-LBB0_5)>>2
.byte (LBB0_12-LBB0_5)>>2
.byte (LBB0_30-LBB0_5)>>2
.byte (LBB0_26-LBB0_5)>>2
.byte (LBB0_32-LBB0_5)>>2
.byte (LBB0_5-LBB0_5)>>2
.byte (LBB0_26-LBB0_5)>>2
; -- End function
_verify.dummy: ; @verify.dummy
.space 1
.comm _MAXBACK,4,2 ; @MAXBACK
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "too many pending calls/choices"
l_.str.1: ; @.str.1
.asciz "%s is left recursive"
.no_dead_strip _verify
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_verify.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function version_l
_version_l: ## @version_l
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _VERSION@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _lua_pushstring
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _VERSION,4,2 ## @VERSION
.no_dead_strip _version_l
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function version_l
_version_l: ; @version_l
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _VERSION@GOTPAGE
Lloh1:
ldr x8, [x8, _VERSION@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _lua_pushstring
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _VERSION,4,2 ; @VERSION
.no_dead_strip _version_l
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_lpeg.c_version_l.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_password_check
_lua_password_check: ## @lua_password_check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq -48(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, %r14
leaq -40(%rbp), %rdx
movq %rbx, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r15
leaq -32(%rbp), %rdx
movq %rbx, %rdi
movl $3, %esi
callq _luaL_checklstring
movq -48(%rbp), %rsi
movq -40(%rbp), %rcx
movq -32(%rbp), %r9
movq %r14, %rdi
movq %r15, %rdx
movq %rax, %r8
callq _network_mysqld_proto_password_check
movq %rbx, %rdi
movl %eax, %esi
callq _lua_pushboolean
movl $1, %eax
addq $24, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _lua_password_check
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_password_check
_lua_password_check: ; @lua_password_check
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
add x2, sp, #24
mov w1, #1
bl _luaL_checklstring
mov x20, x0
add x2, sp, #16
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x21, x0
add x2, sp, #8
mov x0, x19
mov w1, #3
bl _luaL_checklstring
mov x4, x0
ldp x3, x1, [sp, #16]
ldr x5, [sp, #8]
mov x0, x20
mov x2, x21
bl _network_mysqld_proto_password_check
mov x1, x0
mov x0, x19
bl _lua_pushboolean
mov w0, #1
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.no_dead_strip _lua_password_check
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-password.c_lua_password_check.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_password_hash
_lua_password_hash: ## @lua_password_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, %r15
xorl %edi, %edi
callq _g_string_new
movq %rax, %rbx
movq -32(%rbp), %rdx
movq %rax, %rdi
movq %r15, %rsi
callq _network_mysqld_proto_password_hash
movq %rbx, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _g_string_free
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_password_hash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_password_hash
_lua_password_hash: ; @lua_password_hash
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
add x2, sp, #8
mov w1, #1
bl _luaL_checklstring
mov x20, x0
mov x0, #0
bl _g_string_new
mov x21, x0
ldr x2, [sp, #8]
mov x1, x20
bl _network_mysqld_proto_password_hash
mov x0, x21
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x21
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_password_hash
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-password.c_lua_password_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_password_scramble
_lua_password_scramble: ## @lua_password_scramble
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r12
leaq -48(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, %r14
leaq -40(%rbp), %rdx
movq %r12, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r15
xorl %edi, %edi
callq _g_string_new
movq %rax, %rbx
movq -48(%rbp), %rdx
movq -40(%rbp), %r8
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq _network_mysqld_proto_password_scramble
movq %rbx, %rdi
callq _S
movq %r12, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _g_string_free
movl $1, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_password_scramble
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_password_scramble
_lua_password_scramble: ; @lua_password_scramble
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
add x2, sp, #8
mov w1, #1
bl _luaL_checklstring
mov x20, x0
mov x2, sp
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x21, x0
mov x0, #0
bl _g_string_new
mov x22, x0
ldp x4, x2, [sp]
mov x1, x20
mov x3, x21
bl _network_mysqld_proto_password_scramble
mov x0, x22
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x22
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_password_scramble
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-password.c_lua_password_scramble.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_password_unscramble
_lua_password_unscramble: ## @lua_password_unscramble
.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
leaq -64(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, %r14
leaq -56(%rbp), %rdx
movq %r13, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r15
leaq -48(%rbp), %rdx
movq %r13, %rdi
movl $3, %esi
callq _luaL_checklstring
movq %rax, %r12
xorl %edi, %edi
callq _g_string_new
movq %rax, %rbx
movq -64(%rbp), %rdx
movq -56(%rbp), %r8
movq -48(%rbp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
movq %r12, %r9
callq _network_mysqld_proto_password_unscramble
movq %rbx, %rdi
callq _S
movq %r13, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _g_string_free
movl $1, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_password_unscramble
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_password_unscramble
_lua_password_unscramble: ; @lua_password_unscramble
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x0
add x2, sp, #24
mov w1, #1
bl _luaL_checklstring
mov x20, x0
add x2, sp, #16
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x21, x0
add x2, sp, #8
mov x0, x19
mov w1, #3
bl _luaL_checklstring
mov x22, x0
mov x0, #0
bl _g_string_new
mov x23, x0
ldp x4, x2, [sp, #16]
ldr x6, [sp, #8]
mov x1, x20
mov x3, x21
mov x5, x22
bl _network_mysqld_proto_password_unscramble
mov x0, x23
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x23
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_password_unscramble
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-password.c_lua_password_unscramble.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_info
_set_info: ## @set_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _lua_pushliteral
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lua_settable ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "_COPYRIGHT"
L_.str.1: ## @.str.1
.asciz "Copyright (C) 2008 MySQL AB, 2008 Sun Microsystems, Inc"
L_.str.2: ## @.str.2
.asciz "_DESCRIPTION"
L_.str.3: ## @.str.3
.asciz "export mysql password encoders to mysql.*"
L_.str.4: ## @.str.4
.asciz "_VERSION"
L_.str.5: ## @.str.5
.asciz "LuaMySQLPassword 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_info
_set_info: ; @set_info
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _lua_pushliteral
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_settable
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "_COPYRIGHT"
l_.str.1: ; @.str.1
.asciz "Copyright (C) 2008 MySQL AB, 2008 Sun Microsystems, Inc"
l_.str.2: ; @.str.2
.asciz "_DESCRIPTION"
l_.str.3: ; @.str.3
.asciz "export mysql password encoders to mysql.*"
l_.str.4: ; @.str.4
.asciz "_VERSION"
l_.str.5: ; @.str.5
.asciz "LuaMySQLPassword 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-password.c_set_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_append_challenge_packet
_lua_proto_append_challenge_packet: ## @lua_proto_append_challenge_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _LUA_TTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %esi
callq _luaL_checktype
xorl %eax, %eax
callq _network_mysqld_auth_challenge_new
movq %rax, %rbx
movq _protocol_version@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _server_version@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _thread_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _capabilities@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _charset@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _server_status@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _challenge@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
xorl %edi, %edi
callq _g_string_new
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq _network_mysqld_proto_append_auth_challenge
movq %rbx, %rdi
callq _network_mysqld_auth_challenge_free
movq %r15, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _g_string_free
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LUA_TTABLE,4,2 ## @LUA_TTABLE
.comm _protocol_version,4,2 ## @protocol_version
.comm _server_version,4,2 ## @server_version
.comm _thread_id,4,2 ## @thread_id
.comm _capabilities,4,2 ## @capabilities
.comm _charset,4,2 ## @charset
.comm _server_status,4,2 ## @server_status
.comm _challenge,4,2 ## @challenge
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_proto_append_challenge_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_append_challenge_packet
_lua_proto_append_challenge_packet: ; @lua_proto_append_challenge_packet
.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, _LUA_TTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_TTABLE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #1
bl _luaL_checktype
bl _network_mysqld_auth_challenge_new
mov x20, x0
Lloh3:
adrp x8, _protocol_version@GOTPAGE
Lloh4:
ldr x8, [x8, _protocol_version@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _LUA_IMPORT_INT
Lloh6:
adrp x8, _server_version@GOTPAGE
Lloh7:
ldr x8, [x8, _server_version@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh9:
adrp x8, _thread_id@GOTPAGE
Lloh10:
ldr x8, [x8, _thread_id@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh12:
adrp x8, _capabilities@GOTPAGE
Lloh13:
ldr x8, [x8, _capabilities@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh15:
adrp x8, _charset@GOTPAGE
Lloh16:
ldr x8, [x8, _charset@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh18:
adrp x8, _server_status@GOTPAGE
Lloh19:
ldr x8, [x8, _server_status@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh21:
adrp x8, _challenge@GOTPAGE
Lloh22:
ldr x8, [x8, _challenge@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
mov x0, #0
bl _g_string_new
mov x21, x0
mov x1, x20
bl _network_mysqld_proto_append_auth_challenge
mov x0, x20
bl _network_mysqld_auth_challenge_free
mov x0, x21
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh24:
adrp x8, _TRUE@GOTPAGE
Lloh25:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
mov x0, x21
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LUA_TTABLE,4,2 ; @LUA_TTABLE
.comm _protocol_version,4,2 ; @protocol_version
.comm _server_version,4,2 ; @server_version
.comm _thread_id,4,2 ; @thread_id
.comm _capabilities,4,2 ; @capabilities
.comm _charset,4,2 ; @charset
.comm _server_status,4,2 ; @server_status
.comm _challenge,4,2 ; @challenge
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_proto_append_challenge_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_append_challenge_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_append_eof_packet
_lua_proto_append_eof_packet: ## @lua_proto_append_eof_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _LUA_TTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %esi
callq _luaL_checktype
xorl %eax, %eax
callq _network_mysqld_eof_packet_new
movq %rax, %rbx
movq _server_status@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _warnings@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
xorl %edi, %edi
callq _g_string_new
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq _network_mysqld_proto_append_eof_packet
movq %rbx, %rdi
callq _network_mysqld_eof_packet_free
movq %r15, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _g_string_free
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LUA_TTABLE,4,2 ## @LUA_TTABLE
.comm _server_status,4,2 ## @server_status
.comm _warnings,4,2 ## @warnings
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_proto_append_eof_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_append_eof_packet
_lua_proto_append_eof_packet: ; @lua_proto_append_eof_packet
.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, _LUA_TTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_TTABLE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #1
bl _luaL_checktype
bl _network_mysqld_eof_packet_new
mov x20, x0
Lloh3:
adrp x8, _server_status@GOTPAGE
Lloh4:
ldr x8, [x8, _server_status@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _LUA_IMPORT_INT
Lloh6:
adrp x8, _warnings@GOTPAGE
Lloh7:
ldr x8, [x8, _warnings@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
mov x0, #0
bl _g_string_new
mov x21, x0
mov x1, x20
bl _network_mysqld_proto_append_eof_packet
mov x0, x20
bl _network_mysqld_eof_packet_free
mov x0, x21
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh9:
adrp x8, _TRUE@GOTPAGE
Lloh10:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x21
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LUA_TTABLE,4,2 ; @LUA_TTABLE
.comm _server_status,4,2 ; @server_status
.comm _warnings,4,2 ; @warnings
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_proto_append_eof_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_append_eof_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_append_err_packet
_lua_proto_append_err_packet: ## @lua_proto_append_err_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _LUA_TTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %esi
callq _luaL_checktype
xorl %eax, %eax
callq _network_mysqld_err_packet_new
movq %rax, %rbx
movq _errmsg@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _sqlstate@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _errcode@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
xorl %edi, %edi
callq _g_string_new
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq _network_mysqld_proto_append_err_packet
movq %rbx, %rdi
callq _network_mysqld_err_packet_free
movq %r15, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _g_string_free
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LUA_TTABLE,4,2 ## @LUA_TTABLE
.comm _errmsg,4,2 ## @errmsg
.comm _sqlstate,4,2 ## @sqlstate
.comm _errcode,4,2 ## @errcode
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_proto_append_err_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_append_err_packet
_lua_proto_append_err_packet: ; @lua_proto_append_err_packet
.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, _LUA_TTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_TTABLE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #1
bl _luaL_checktype
bl _network_mysqld_err_packet_new
mov x20, x0
Lloh3:
adrp x8, _errmsg@GOTPAGE
Lloh4:
ldr x8, [x8, _errmsg@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _LUA_IMPORT_STR
Lloh6:
adrp x8, _sqlstate@GOTPAGE
Lloh7:
ldr x8, [x8, _sqlstate@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh9:
adrp x8, _errcode@GOTPAGE
Lloh10:
ldr x8, [x8, _errcode@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
mov x0, #0
bl _g_string_new
mov x21, x0
mov x1, x20
bl _network_mysqld_proto_append_err_packet
mov x0, x20
bl _network_mysqld_err_packet_free
mov x0, x21
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh12:
adrp x8, _TRUE@GOTPAGE
Lloh13:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x21
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LUA_TTABLE,4,2 ; @LUA_TTABLE
.comm _errmsg,4,2 ; @errmsg
.comm _sqlstate,4,2 ; @sqlstate
.comm _errcode,4,2 ; @errcode
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_proto_append_err_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_append_err_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_append_masterinfo_string
_lua_proto_append_masterinfo_string: ## @lua_proto_append_masterinfo_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _LUA_TTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %esi
callq _luaL_checktype
xorl %eax, %eax
callq _network_mysqld_masterinfo_new
movq %rax, %rbx
movq _master_lines@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _master_log_file@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_log_pos@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _master_host@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_user@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_password@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_port@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _master_connect_retry@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _master_ssl@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _master_ssl_ca@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_ssl_capath@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_ssl_cert@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_ssl_cipher@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_ssl_key@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _master_ssl_verify_server_cert@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
xorl %edi, %edi
callq _g_string_new
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq _network_mysqld_masterinfo_append
movq %rbx, %rdi
callq _network_mysqld_masterinfo_free
movq %r15, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _g_string_free
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LUA_TTABLE,4,2 ## @LUA_TTABLE
.comm _master_lines,4,2 ## @master_lines
.comm _master_log_file,4,2 ## @master_log_file
.comm _master_log_pos,4,2 ## @master_log_pos
.comm _master_host,4,2 ## @master_host
.comm _master_user,4,2 ## @master_user
.comm _master_password,4,2 ## @master_password
.comm _master_port,4,2 ## @master_port
.comm _master_connect_retry,4,2 ## @master_connect_retry
.comm _master_ssl,4,2 ## @master_ssl
.comm _master_ssl_ca,4,2 ## @master_ssl_ca
.comm _master_ssl_capath,4,2 ## @master_ssl_capath
.comm _master_ssl_cert,4,2 ## @master_ssl_cert
.comm _master_ssl_cipher,4,2 ## @master_ssl_cipher
.comm _master_ssl_key,4,2 ## @master_ssl_key
.comm _master_ssl_verify_server_cert,4,2 ## @master_ssl_verify_server_cert
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_proto_append_masterinfo_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_append_masterinfo_string
_lua_proto_append_masterinfo_string: ; @lua_proto_append_masterinfo_string
.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, _LUA_TTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_TTABLE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #1
bl _luaL_checktype
bl _network_mysqld_masterinfo_new
mov x20, x0
Lloh3:
adrp x8, _master_lines@GOTPAGE
Lloh4:
ldr x8, [x8, _master_lines@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _LUA_IMPORT_INT
Lloh6:
adrp x8, _master_log_file@GOTPAGE
Lloh7:
ldr x8, [x8, _master_log_file@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh9:
adrp x8, _master_log_pos@GOTPAGE
Lloh10:
ldr x8, [x8, _master_log_pos@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh12:
adrp x8, _master_host@GOTPAGE
Lloh13:
ldr x8, [x8, _master_host@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh15:
adrp x8, _master_user@GOTPAGE
Lloh16:
ldr x8, [x8, _master_user@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh18:
adrp x8, _master_password@GOTPAGE
Lloh19:
ldr x8, [x8, _master_password@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh21:
adrp x8, _master_port@GOTPAGE
Lloh22:
ldr x8, [x8, _master_port@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh24:
adrp x8, _master_connect_retry@GOTPAGE
Lloh25:
ldr x8, [x8, _master_connect_retry@GOTPAGEOFF]
Lloh26:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh27:
adrp x8, _master_ssl@GOTPAGE
Lloh28:
ldr x8, [x8, _master_ssl@GOTPAGEOFF]
Lloh29:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh30:
adrp x8, _master_ssl_ca@GOTPAGE
Lloh31:
ldr x8, [x8, _master_ssl_ca@GOTPAGEOFF]
Lloh32:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh33:
adrp x8, _master_ssl_capath@GOTPAGE
Lloh34:
ldr x8, [x8, _master_ssl_capath@GOTPAGEOFF]
Lloh35:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh36:
adrp x8, _master_ssl_cert@GOTPAGE
Lloh37:
ldr x8, [x8, _master_ssl_cert@GOTPAGEOFF]
Lloh38:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh39:
adrp x8, _master_ssl_cipher@GOTPAGE
Lloh40:
ldr x8, [x8, _master_ssl_cipher@GOTPAGEOFF]
Lloh41:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh42:
adrp x8, _master_ssl_key@GOTPAGE
Lloh43:
ldr x8, [x8, _master_ssl_key@GOTPAGEOFF]
Lloh44:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_STR
Lloh45:
adrp x8, _master_ssl_verify_server_cert@GOTPAGE
Lloh46:
ldr x8, [x8, _master_ssl_verify_server_cert@GOTPAGEOFF]
Lloh47:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
mov x0, #0
bl _g_string_new
mov x21, x0
mov x1, x20
bl _network_mysqld_masterinfo_append
mov x0, x20
bl _network_mysqld_masterinfo_free
mov x0, x21
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh48:
adrp x8, _TRUE@GOTPAGE
Lloh49:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh50:
ldr w1, [x8]
mov x0, x21
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.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 AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LUA_TTABLE,4,2 ; @LUA_TTABLE
.comm _master_lines,4,2 ; @master_lines
.comm _master_log_file,4,2 ; @master_log_file
.comm _master_log_pos,4,2 ; @master_log_pos
.comm _master_host,4,2 ; @master_host
.comm _master_user,4,2 ; @master_user
.comm _master_password,4,2 ; @master_password
.comm _master_port,4,2 ; @master_port
.comm _master_connect_retry,4,2 ; @master_connect_retry
.comm _master_ssl,4,2 ; @master_ssl
.comm _master_ssl_ca,4,2 ; @master_ssl_ca
.comm _master_ssl_capath,4,2 ; @master_ssl_capath
.comm _master_ssl_cert,4,2 ; @master_ssl_cert
.comm _master_ssl_cipher,4,2 ; @master_ssl_cipher
.comm _master_ssl_key,4,2 ; @master_ssl_key
.comm _master_ssl_verify_server_cert,4,2 ; @master_ssl_verify_server_cert
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_proto_append_masterinfo_string
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_append_masterinfo_string.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_append_ok_packet
_lua_proto_append_ok_packet: ## @lua_proto_append_ok_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _LUA_TTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %esi
callq _luaL_checktype
xorl %eax, %eax
callq _network_mysqld_ok_packet_new
movq %rax, %rbx
movq _server_status@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _insert_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _warnings@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _affected_rows@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
xorl %edi, %edi
callq _g_string_new
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq _network_mysqld_proto_append_ok_packet
movq %rbx, %rdi
callq _network_mysqld_ok_packet_free
movq %r15, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _g_string_free
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LUA_TTABLE,4,2 ## @LUA_TTABLE
.comm _server_status,4,2 ## @server_status
.comm _insert_id,4,2 ## @insert_id
.comm _warnings,4,2 ## @warnings
.comm _affected_rows,4,2 ## @affected_rows
.comm _TRUE,4,2 ## @TRUE
.no_dead_strip _lua_proto_append_ok_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_append_ok_packet
_lua_proto_append_ok_packet: ; @lua_proto_append_ok_packet
.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, _LUA_TTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_TTABLE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #1
bl _luaL_checktype
bl _network_mysqld_ok_packet_new
mov x20, x0
Lloh3:
adrp x8, _server_status@GOTPAGE
Lloh4:
ldr x8, [x8, _server_status@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _LUA_IMPORT_INT
Lloh6:
adrp x8, _insert_id@GOTPAGE
Lloh7:
ldr x8, [x8, _insert_id@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh9:
adrp x8, _warnings@GOTPAGE
Lloh10:
ldr x8, [x8, _warnings@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
Lloh12:
adrp x8, _affected_rows@GOTPAGE
Lloh13:
ldr x8, [x8, _affected_rows@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x20
bl _LUA_IMPORT_INT
mov x0, #0
bl _g_string_new
mov x21, x0
mov x1, x20
bl _network_mysqld_proto_append_ok_packet
mov x0, x20
bl _network_mysqld_ok_packet_free
mov x0, x21
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
Lloh15:
adrp x8, _TRUE@GOTPAGE
Lloh16:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x21
bl _g_string_free
mov w0, #1
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LUA_TTABLE,4,2 ; @LUA_TTABLE
.comm _server_status,4,2 ; @server_status
.comm _insert_id,4,2 ; @insert_id
.comm _warnings,4,2 ; @warnings
.comm _affected_rows,4,2 ; @affected_rows
.comm _TRUE,4,2 ; @TRUE
.no_dead_strip _lua_proto_append_ok_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_append_ok_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_append_response_packet
_lua_proto_append_response_packet: ## @lua_proto_append_response_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq _LUA_TTABLE@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl $1, %esi
callq _luaL_checktype
xorl %r15d, %r15d
xorl %edi, %edi
callq _g_string_new
movq %rax, %r12
xorl %eax, %eax
callq _network_mysqld_auth_response_new
movq %rax, %rbx
movq _capabilities@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _max_packet_size@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _charset@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_INT
movq _username@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _response@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq _database@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_IMPORT_STR
movq %r12, %rdi
movq %rbx, %rsi
callq _network_mysqld_proto_append_auth_response
movq %rax, %r13
movq %rbx, %rdi
callq _network_mysqld_auth_response_free
testq %r13, %r13
je LBB0_2
## %bb.1:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _g_string_free
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r12, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
movl $1, %r15d
LBB0_3:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _g_string_free
movl %r15d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LUA_TTABLE,4,2 ## @LUA_TTABLE
.comm _capabilities,4,2 ## @capabilities
.comm _max_packet_size,4,2 ## @max_packet_size
.comm _charset,4,2 ## @charset
.comm _username,4,2 ## @username
.comm _response,4,2 ## @response
.comm _database,4,2 ## @database
.comm _TRUE,4,2 ## @TRUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "to_response_packet() failed"
.no_dead_strip _lua_proto_append_response_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_append_response_packet
_lua_proto_append_response_packet: ; @lua_proto_append_response_packet
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
Lloh0:
adrp x8, _LUA_TTABLE@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_TTABLE@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov w1, #1
bl _luaL_checktype
mov x0, #0
bl _g_string_new
mov x19, x0
bl _network_mysqld_auth_response_new
mov x21, x0
Lloh3:
adrp x8, _capabilities@GOTPAGE
Lloh4:
ldr x8, [x8, _capabilities@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
bl _LUA_IMPORT_INT
Lloh6:
adrp x8, _max_packet_size@GOTPAGE
Lloh7:
ldr x8, [x8, _max_packet_size@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x21
bl _LUA_IMPORT_INT
Lloh9:
adrp x8, _charset@GOTPAGE
Lloh10:
ldr x8, [x8, _charset@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x21
bl _LUA_IMPORT_INT
Lloh12:
adrp x8, _username@GOTPAGE
Lloh13:
ldr x8, [x8, _username@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x21
bl _LUA_IMPORT_STR
Lloh15:
adrp x8, _response@GOTPAGE
Lloh16:
ldr x8, [x8, _response@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
mov x0, x21
bl _LUA_IMPORT_STR
Lloh18:
adrp x8, _database@GOTPAGE
Lloh19:
ldr x8, [x8, _database@GOTPAGEOFF]
Lloh20:
ldr w1, [x8]
mov x0, x21
bl _LUA_IMPORT_STR
mov x0, x19
mov x1, x21
bl _network_mysqld_proto_append_auth_response
mov x22, x0
mov x0, x21
bl _network_mysqld_auth_response_free
Lloh21:
adrp x21, _TRUE@GOTPAGE
Lloh22:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
cbz x22, LBB0_2
; %bb.1:
ldr w1, [x21]
mov x0, x19
bl _g_string_free
Lloh23:
adrp x1, l_.str@PAGE
Lloh24:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _luaL_error
mov w20, #0
b LBB0_3
LBB0_2:
mov x0, x19
bl _S
mov x1, x0
mov x0, x20
bl _lua_pushlstring
mov w20, #1
LBB0_3:
ldr w1, [x21]
mov x0, x19
bl _g_string_free
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 AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _LUA_TTABLE,4,2 ; @LUA_TTABLE
.comm _capabilities,4,2 ; @capabilities
.comm _max_packet_size,4,2 ; @max_packet_size
.comm _charset,4,2 ; @charset
.comm _username,4,2 ; @username
.comm _response,4,2 ; @response
.comm _database,4,2 ; @database
.comm _TRUE,4,2 ; @TRUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "to_response_packet() failed"
.no_dead_strip _lua_proto_append_response_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_append_response_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_challenge_packet
_lua_proto_get_challenge_packet: ## @lua_proto_get_challenge_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r15d, %r15d
xorl %eax, %eax
callq _network_mysqld_auth_challenge_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_auth_challenge
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_auth_challenge_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r14, %rdi
callq _lua_newtable
movq _protocol_version@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _server_version@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _thread_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _capabilities@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _charset@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _server_status@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _challenge@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq %rbx, %rdi
callq _network_mysqld_auth_challenge_free
movl $1, %r15d
LBB0_3:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_auth_challenge() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _protocol_version,4,2 ## @protocol_version
.comm _server_version,4,2 ## @server_version
.comm _thread_id,4,2 ## @thread_id
.comm _capabilities,4,2 ## @capabilities
.comm _charset,4,2 ## @charset
.comm _server_status,4,2 ## @server_status
.comm _challenge,4,2 ## @challenge
.no_dead_strip _lua_proto_get_challenge_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_challenge_packet
_lua_proto_get_challenge_packet: ; @lua_proto_get_challenge_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_auth_challenge_new
mov x19, x0
add x0, sp, #24
mov x1, x19
bl _network_mysqld_proto_get_auth_challenge
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _network_mysqld_auth_challenge_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x20
bl _lua_newtable
Lloh5:
adrp x8, _protocol_version@GOTPAGE
Lloh6:
ldr x8, [x8, _protocol_version@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh8:
adrp x8, _server_version@GOTPAGE
Lloh9:
ldr x8, [x8, _server_version@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh11:
adrp x8, _thread_id@GOTPAGE
Lloh12:
ldr x8, [x8, _thread_id@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh14:
adrp x8, _capabilities@GOTPAGE
Lloh15:
ldr x8, [x8, _capabilities@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh17:
adrp x8, _charset@GOTPAGE
Lloh18:
ldr x8, [x8, _charset@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh20:
adrp x8, _server_status@GOTPAGE
Lloh21:
ldr x8, [x8, _server_status@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh23:
adrp x8, _challenge@GOTPAGE
Lloh24:
ldr x8, [x8, _challenge@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
mov x0, x19
bl _network_mysqld_auth_challenge_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_auth_challenge() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _protocol_version,4,2 ; @protocol_version
.comm _server_version,4,2 ; @server_version
.comm _thread_id,4,2 ; @thread_id
.comm _capabilities,4,2 ; @capabilities
.comm _charset,4,2 ; @charset
.comm _server_status,4,2 ; @server_status
.comm _challenge,4,2 ; @challenge
.no_dead_strip _lua_proto_get_challenge_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_challenge_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_eof_packet
_lua_proto_get_eof_packet: ## @lua_proto_get_eof_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r14d, %r14d
xorl %eax, %eax
callq _network_mysqld_eof_packet_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_eof_packet
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_eof_packet_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r15, %rdi
callq _lua_newtable
movq _server_status@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _warnings@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq %rbx, %rdi
callq _network_mysqld_eof_packet_free
movl $1, %r14d
LBB0_3:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_eof_packet() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _server_status,4,2 ## @server_status
.comm _warnings,4,2 ## @warnings
.no_dead_strip _lua_proto_get_eof_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_eof_packet
_lua_proto_get_eof_packet: ; @lua_proto_get_eof_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_eof_packet_new
mov x20, x0
add x0, sp, #24
mov x1, x20
bl _network_mysqld_proto_get_eof_packet
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
bl _network_mysqld_eof_packet_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x19
bl _lua_newtable
Lloh5:
adrp x8, _server_status@GOTPAGE
Lloh6:
ldr x8, [x8, _server_status@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
bl _LUA_EXPORT_INT
Lloh8:
adrp x8, _warnings@GOTPAGE
Lloh9:
ldr x8, [x8, _warnings@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x20
bl _LUA_EXPORT_INT
mov x0, x20
bl _network_mysqld_eof_packet_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_eof_packet() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _server_status,4,2 ; @server_status
.comm _warnings,4,2 ; @warnings
.no_dead_strip _lua_proto_get_eof_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_eof_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_err_packet
_lua_proto_get_err_packet: ## @lua_proto_get_err_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r15d, %r15d
xorl %eax, %eax
callq _network_mysqld_err_packet_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_err_packet
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_err_packet_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r14, %rdi
callq _lua_newtable
movq _errmsg@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _sqlstate@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _errcode@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq %rbx, %rdi
callq _network_mysqld_err_packet_free
movl $1, %r15d
LBB0_3:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_err_packet() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _errmsg,4,2 ## @errmsg
.comm _sqlstate,4,2 ## @sqlstate
.comm _errcode,4,2 ## @errcode
.no_dead_strip _lua_proto_get_err_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_err_packet
_lua_proto_get_err_packet: ; @lua_proto_get_err_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_err_packet_new
mov x20, x0
add x0, sp, #24
mov x1, x20
bl _network_mysqld_proto_get_err_packet
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
bl _network_mysqld_err_packet_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x19
bl _lua_newtable
Lloh5:
adrp x8, _errmsg@GOTPAGE
Lloh6:
ldr x8, [x8, _errmsg@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
bl _LUA_EXPORT_STR
Lloh8:
adrp x8, _sqlstate@GOTPAGE
Lloh9:
ldr x8, [x8, _sqlstate@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x20
bl _LUA_EXPORT_STR
Lloh11:
adrp x8, _errcode@GOTPAGE
Lloh12:
ldr x8, [x8, _errcode@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x20
bl _LUA_EXPORT_INT
mov x0, x20
bl _network_mysqld_err_packet_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_err_packet() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _errmsg,4,2 ; @errmsg
.comm _sqlstate,4,2 ; @sqlstate
.comm _errcode,4,2 ; @errcode
.no_dead_strip _lua_proto_get_err_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_err_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_masterinfo_string
_lua_proto_get_masterinfo_string: ## @lua_proto_get_masterinfo_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 %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r15d, %r15d
xorl %eax, %eax
callq _network_mysqld_masterinfo_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_masterinfo_get
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_masterinfo_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
jmp LBB0_5
LBB0_2:
movq %r14, %rdi
callq _lua_newtable
movq _master_lines@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _master_log_file@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_log_pos@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _master_host@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_user@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_password@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_port@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _master_connect_retry@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _master_ssl@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _master_ssl_ca@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_ssl_capath@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_ssl_cert@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_ssl_cipher@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _master_ssl_key@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
cmpl $15, (%rbx)
jl LBB0_4
## %bb.3:
movq _master_ssl_verify_server_cert@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
LBB0_4:
movq %rbx, %rdi
callq _network_mysqld_masterinfo_free
movl $1, %r15d
LBB0_5:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_masterinfo_get() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _master_lines,4,2 ## @master_lines
.comm _master_log_file,4,2 ## @master_log_file
.comm _master_log_pos,4,2 ## @master_log_pos
.comm _master_host,4,2 ## @master_host
.comm _master_user,4,2 ## @master_user
.comm _master_password,4,2 ## @master_password
.comm _master_port,4,2 ## @master_port
.comm _master_connect_retry,4,2 ## @master_connect_retry
.comm _master_ssl,4,2 ## @master_ssl
.comm _master_ssl_ca,4,2 ## @master_ssl_ca
.comm _master_ssl_capath,4,2 ## @master_ssl_capath
.comm _master_ssl_cert,4,2 ## @master_ssl_cert
.comm _master_ssl_cipher,4,2 ## @master_ssl_cipher
.comm _master_ssl_key,4,2 ## @master_ssl_key
.comm _master_ssl_verify_server_cert,4,2 ## @master_ssl_verify_server_cert
.no_dead_strip _lua_proto_get_masterinfo_string
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_masterinfo_string
_lua_proto_get_masterinfo_string: ; @lua_proto_get_masterinfo_string
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_masterinfo_new
mov x19, x0
add x0, sp, #24
mov x1, x19
bl _network_mysqld_masterinfo_get
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _network_mysqld_masterinfo_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _luaL_error
mov w0, #0
b LBB0_5
LBB0_2:
mov x0, x20
bl _lua_newtable
Lloh5:
adrp x8, _master_lines@GOTPAGE
Lloh6:
ldr x8, [x8, _master_lines@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh8:
adrp x8, _master_log_file@GOTPAGE
Lloh9:
ldr x8, [x8, _master_log_file@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh11:
adrp x8, _master_log_pos@GOTPAGE
Lloh12:
ldr x8, [x8, _master_log_pos@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh14:
adrp x8, _master_host@GOTPAGE
Lloh15:
ldr x8, [x8, _master_host@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh17:
adrp x8, _master_user@GOTPAGE
Lloh18:
ldr x8, [x8, _master_user@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh20:
adrp x8, _master_password@GOTPAGE
Lloh21:
ldr x8, [x8, _master_password@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh23:
adrp x8, _master_port@GOTPAGE
Lloh24:
ldr x8, [x8, _master_port@GOTPAGEOFF]
Lloh25:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh26:
adrp x8, _master_connect_retry@GOTPAGE
Lloh27:
ldr x8, [x8, _master_connect_retry@GOTPAGEOFF]
Lloh28:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh29:
adrp x8, _master_ssl@GOTPAGE
Lloh30:
ldr x8, [x8, _master_ssl@GOTPAGEOFF]
Lloh31:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh32:
adrp x8, _master_ssl_ca@GOTPAGE
Lloh33:
ldr x8, [x8, _master_ssl_ca@GOTPAGEOFF]
Lloh34:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh35:
adrp x8, _master_ssl_capath@GOTPAGE
Lloh36:
ldr x8, [x8, _master_ssl_capath@GOTPAGEOFF]
Lloh37:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh38:
adrp x8, _master_ssl_cert@GOTPAGE
Lloh39:
ldr x8, [x8, _master_ssl_cert@GOTPAGEOFF]
Lloh40:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh41:
adrp x8, _master_ssl_cipher@GOTPAGE
Lloh42:
ldr x8, [x8, _master_ssl_cipher@GOTPAGEOFF]
Lloh43:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh44:
adrp x8, _master_ssl_key@GOTPAGE
Lloh45:
ldr x8, [x8, _master_ssl_key@GOTPAGEOFF]
Lloh46:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
ldr w8, [x19]
cmp w8, #15
b.lt LBB0_4
; %bb.3:
Lloh47:
adrp x8, _master_ssl_verify_server_cert@GOTPAGE
Lloh48:
ldr x8, [x8, _master_ssl_verify_server_cert@GOTPAGEOFF]
Lloh49:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
LBB0_4:
mov x0, x19
bl _network_mysqld_masterinfo_free
mov w0, #1
LBB0_5:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_masterinfo_get() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _master_lines,4,2 ; @master_lines
.comm _master_log_file,4,2 ; @master_log_file
.comm _master_log_pos,4,2 ; @master_log_pos
.comm _master_host,4,2 ; @master_host
.comm _master_user,4,2 ; @master_user
.comm _master_password,4,2 ; @master_password
.comm _master_port,4,2 ; @master_port
.comm _master_connect_retry,4,2 ; @master_connect_retry
.comm _master_ssl,4,2 ; @master_ssl
.comm _master_ssl_ca,4,2 ; @master_ssl_ca
.comm _master_ssl_capath,4,2 ; @master_ssl_capath
.comm _master_ssl_cert,4,2 ; @master_ssl_cert
.comm _master_ssl_cipher,4,2 ; @master_ssl_cipher
.comm _master_ssl_key,4,2 ; @master_ssl_key
.comm _master_ssl_verify_server_cert,4,2 ; @master_ssl_verify_server_cert
.no_dead_strip _lua_proto_get_masterinfo_string
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_masterinfo_string.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_ok_packet
_lua_proto_get_ok_packet: ## @lua_proto_get_ok_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r15d, %r15d
xorl %eax, %eax
callq _network_mysqld_ok_packet_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_ok_packet
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_ok_packet_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r14, %rdi
callq _lua_newtable
movq _server_status@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _insert_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _warnings@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _affected_rows@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq %rbx, %rdi
callq _network_mysqld_ok_packet_free
movl $1, %r15d
LBB0_3:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_ok_packet() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _server_status,4,2 ## @server_status
.comm _insert_id,4,2 ## @insert_id
.comm _warnings,4,2 ## @warnings
.comm _affected_rows,4,2 ## @affected_rows
.no_dead_strip _lua_proto_get_ok_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_ok_packet
_lua_proto_get_ok_packet: ; @lua_proto_get_ok_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_ok_packet_new
mov x19, x0
add x0, sp, #24
mov x1, x19
bl _network_mysqld_proto_get_ok_packet
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _network_mysqld_ok_packet_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x20
bl _lua_newtable
Lloh5:
adrp x8, _server_status@GOTPAGE
Lloh6:
ldr x8, [x8, _server_status@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh8:
adrp x8, _insert_id@GOTPAGE
Lloh9:
ldr x8, [x8, _insert_id@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh11:
adrp x8, _warnings@GOTPAGE
Lloh12:
ldr x8, [x8, _warnings@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh14:
adrp x8, _affected_rows@GOTPAGE
Lloh15:
ldr x8, [x8, _affected_rows@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
mov x0, x19
bl _network_mysqld_ok_packet_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_ok_packet() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _server_status,4,2 ; @server_status
.comm _insert_id,4,2 ; @insert_id
.comm _warnings,4,2 ; @warnings
.comm _affected_rows,4,2 ; @affected_rows
.no_dead_strip _lua_proto_get_ok_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_ok_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_response_packet
_lua_proto_get_response_packet: ## @lua_proto_get_response_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r15d, %r15d
xorl %eax, %eax
callq _network_mysqld_auth_response_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_auth_response
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_auth_response_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r14, %rdi
callq _lua_newtable
movq _capabilities@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _max_packet_size@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _charset@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _username@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _response@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq _database@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq %rbx, %rdi
callq _network_mysqld_auth_response_free
movl $1, %r15d
LBB0_3:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_auth_response() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _capabilities,4,2 ## @capabilities
.comm _max_packet_size,4,2 ## @max_packet_size
.comm _charset,4,2 ## @charset
.comm _username,4,2 ## @username
.comm _response,4,2 ## @response
.comm _database,4,2 ## @database
.no_dead_strip _lua_proto_get_response_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_response_packet
_lua_proto_get_response_packet: ; @lua_proto_get_response_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_auth_response_new
mov x19, x0
add x0, sp, #24
mov x1, x19
bl _network_mysqld_proto_get_auth_response
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _network_mysqld_auth_response_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x20
bl _lua_newtable
Lloh5:
adrp x8, _capabilities@GOTPAGE
Lloh6:
ldr x8, [x8, _capabilities@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh8:
adrp x8, _max_packet_size@GOTPAGE
Lloh9:
ldr x8, [x8, _max_packet_size@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh11:
adrp x8, _charset@GOTPAGE
Lloh12:
ldr x8, [x8, _charset@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh14:
adrp x8, _username@GOTPAGE
Lloh15:
ldr x8, [x8, _username@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh17:
adrp x8, _response@GOTPAGE
Lloh18:
ldr x8, [x8, _response@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
Lloh20:
adrp x8, _database@GOTPAGE
Lloh21:
ldr x8, [x8, _database@GOTPAGEOFF]
Lloh22:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_STR
mov x0, x19
bl _network_mysqld_auth_response_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_auth_response() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _capabilities,4,2 ; @capabilities
.comm _max_packet_size,4,2 ; @max_packet_size
.comm _charset,4,2 ; @charset
.comm _username,4,2 ; @username
.comm _response,4,2 ; @response
.comm _database,4,2 ; @database
.no_dead_strip _lua_proto_get_response_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_response_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_stmt_close_packet
_lua_proto_get_stmt_close_packet: ## @lua_proto_get_stmt_close_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r14d, %r14d
xorl %eax, %eax
callq _network_mysqld_stmt_close_packet_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_stmt_close_packet
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_stmt_close_packet_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r15, %rdi
callq _lua_newtable
movq _stmt_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq %rbx, %rdi
callq _network_mysqld_stmt_close_packet_free
movl $1, %r14d
LBB0_3:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_stmt_close_packet() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _stmt_id,4,2 ## @stmt_id
.no_dead_strip _lua_proto_get_stmt_close_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_stmt_close_packet
_lua_proto_get_stmt_close_packet: ; @lua_proto_get_stmt_close_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_stmt_close_packet_new
mov x20, x0
add x0, sp, #24
mov x1, x20
bl _network_mysqld_proto_get_stmt_close_packet
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
bl _network_mysqld_stmt_close_packet_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x19
bl _lua_newtable
Lloh5:
adrp x8, _stmt_id@GOTPAGE
Lloh6:
ldr x8, [x8, _stmt_id@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
bl _LUA_EXPORT_INT
mov x0, x20
bl _network_mysqld_stmt_close_packet_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_stmt_close_packet() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _stmt_id,4,2 ; @stmt_id
.no_dead_strip _lua_proto_get_stmt_close_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_stmt_close_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_stmt_execute_packet_stmt_id
_lua_proto_get_stmt_execute_packet_stmt_id: ## @lua_proto_get_stmt_execute_packet_stmt_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $48, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl $1, %r14d
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
leaq -64(%rbp), %rdi
leaq -20(%rbp), %rsi
callq _network_mysqld_proto_get_stmt_execute_packet_stmt_id
testq %rax, %rax
je LBB0_2
## %bb.1:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _luaL_error
xorl %r14d, %r14d
jmp LBB0_3
LBB0_2:
movl -20(%rbp), %esi
movq %rbx, %rdi
callq _lua_pushinteger
LBB0_3:
movl %r14d, %eax
addq $48, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_stmt_execute_packet_stmt_id() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.no_dead_strip _lua_proto_get_stmt_execute_packet_stmt_id
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_stmt_execute_packet_stmt_id
_lua_proto_get_stmt_execute_packet_stmt_id: ; @lua_proto_get_stmt_execute_packet_stmt_id
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
add x0, sp, #24
add x1, sp, #4
bl _network_mysqld_proto_get_stmt_execute_packet_stmt_id
cbz x0, LBB0_2
; %bb.1:
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
ldr w1, [sp, #4]
mov x0, x19
bl _lua_pushinteger
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_stmt_execute_packet_stmt_id() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.no_dead_strip _lua_proto_get_stmt_execute_packet_stmt_id
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_stmt_execute_packet_stmt_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_stmt_prepare_ok_packet
_lua_proto_get_stmt_prepare_ok_packet: ## @lua_proto_get_stmt_prepare_ok_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r15d, %r15d
xorl %eax, %eax
callq _network_mysqld_stmt_prepare_ok_packet_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_stmt_prepare_ok_packet
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_stmt_prepare_ok_packet_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r14, %rdi
callq _lua_newtable
movq _stmt_id@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _num_columns@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _num_params@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq _warnings@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_INT
movq %rbx, %rdi
callq _network_mysqld_stmt_prepare_ok_packet_free
movl $1, %r15d
LBB0_3:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_stmt_prepare_ok_packet() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _stmt_id,4,2 ## @stmt_id
.comm _num_columns,4,2 ## @num_columns
.comm _num_params,4,2 ## @num_params
.comm _warnings,4,2 ## @warnings
.no_dead_strip _lua_proto_get_stmt_prepare_ok_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_stmt_prepare_ok_packet
_lua_proto_get_stmt_prepare_ok_packet: ; @lua_proto_get_stmt_prepare_ok_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x20, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_stmt_prepare_ok_packet_new
mov x19, x0
add x0, sp, #24
mov x1, x19
bl _network_mysqld_proto_get_stmt_prepare_ok_packet
cbz x0, LBB0_2
; %bb.1:
mov x0, x19
bl _network_mysqld_stmt_prepare_ok_packet_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x20
bl _lua_newtable
Lloh5:
adrp x8, _stmt_id@GOTPAGE
Lloh6:
ldr x8, [x8, _stmt_id@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh8:
adrp x8, _num_columns@GOTPAGE
Lloh9:
ldr x8, [x8, _num_columns@GOTPAGEOFF]
Lloh10:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh11:
adrp x8, _num_params@GOTPAGE
Lloh12:
ldr x8, [x8, _num_params@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
Lloh14:
adrp x8, _warnings@GOTPAGE
Lloh15:
ldr x8, [x8, _warnings@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
mov x0, x19
bl _LUA_EXPORT_INT
mov x0, x19
bl _network_mysqld_stmt_prepare_ok_packet_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_stmt_prepare_ok_packet() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _stmt_id,4,2 ; @stmt_id
.comm _num_columns,4,2 ; @num_columns
.comm _num_params,4,2 ; @num_params
.comm _warnings,4,2 ; @warnings
.no_dead_strip _lua_proto_get_stmt_prepare_ok_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_stmt_prepare_ok_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_proto_get_stmt_prepare_packet
_lua_proto_get_stmt_prepare_packet: ## @lua_proto_get_stmt_prepare_packet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, -48(%rbp)
movq -32(%rbp), %rax
movq %rax, -40(%rbp)
leaq -48(%rbp), %rax
movq %rax, -56(%rbp)
movq $0, -64(%rbp)
xorl %r14d, %r14d
xorl %eax, %eax
callq _network_mysqld_stmt_prepare_packet_new
movq %rax, %rbx
leaq -64(%rbp), %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_stmt_prepare_packet
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %rbx, %rdi
callq _network_mysqld_stmt_prepare_packet_free
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r15, %rdi
callq _luaL_error
jmp LBB0_3
LBB0_2:
movq %r15, %rdi
callq _lua_newtable
movq _stmt_text@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _LUA_EXPORT_STR
movq %rbx, %rdi
callq _network_mysqld_stmt_prepare_packet_free
movl $1, %r14d
LBB0_3:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: network_mysqld_proto_get_stmt_prepare_packet() failed"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _stmt_text,4,2 ## @stmt_text
.no_dead_strip _lua_proto_get_stmt_prepare_packet
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_proto_get_stmt_prepare_packet
_lua_proto_get_stmt_prepare_packet: ; @lua_proto_get_stmt_prepare_packet
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
sub x2, x29, #24
mov w1, #1
bl _luaL_checklstring
ldur x8, [x29, #-24]
stp x0, x8, [sp, #8]
add x8, sp, #8
stp xzr, x8, [sp, #24]
bl _network_mysqld_stmt_prepare_packet_new
mov x20, x0
add x0, sp, #24
mov x1, x20
bl _network_mysqld_proto_get_stmt_prepare_packet
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
bl _network_mysqld_stmt_prepare_packet_free
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _luaL_error
mov w0, #0
b LBB0_3
LBB0_2:
mov x0, x19
bl _lua_newtable
Lloh5:
adrp x8, _stmt_text@GOTPAGE
Lloh6:
ldr x8, [x8, _stmt_text@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x20
bl _LUA_EXPORT_STR
mov x0, x20
bl _network_mysqld_stmt_prepare_packet_free
mov w0, #1
LBB0_3:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: network_mysqld_proto_get_stmt_prepare_packet() failed"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _stmt_text,4,2 ; @stmt_text
.no_dead_strip _lua_proto_get_stmt_prepare_packet
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_lua_proto_get_stmt_prepare_packet.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_info
_set_info: ## @set_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _lua_pushliteral
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lua_settable ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "_COPYRIGHT"
L_.str.1: ## @.str.1
.asciz "Copyright (C) 2008 MySQL AB, 2008 Sun Microsystems, Inc"
L_.str.2: ## @.str.2
.asciz "_DESCRIPTION"
L_.str.3: ## @.str.3
.asciz "export mysql protocol encoders and decoders mysql.*"
L_.str.4: ## @.str.4
.asciz "_VERSION"
L_.str.5: ## @.str.5
.asciz "LuaMySQLProto 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_info
_set_info: ; @set_info
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _lua_pushliteral
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_settable
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "_COPYRIGHT"
l_.str.1: ; @.str.1
.asciz "Copyright (C) 2008 MySQL AB, 2008 Sun Microsystems, Inc"
l_.str.2: ; @.str.2
.asciz "_DESCRIPTION"
l_.str.3: ; @.str.3
.asciz "export mysql protocol encoders and decoders mysql.*"
l_.str.4: ; @.str.4
.asciz "_VERSION"
l_.str.5: ; @.str.5
.asciz "LuaMySQLProto 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_mysql-proto.c_set_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_getpid
_lua_getpid: ## @lua_getpid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %eax, %eax
callq _getpid
movq %rbx, %rdi
movl %eax, %esi
callq _lua_pushinteger
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _lua_getpid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_getpid
_lua_getpid: ; @lua_getpid
.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 _getpid
mov x1, x0
mov x0, x19
bl _lua_pushinteger
mov w0, #1
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 _lua_getpid
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_posix.c_lua_getpid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_getuid
_lua_getuid: ## @lua_getuid
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %eax, %eax
callq _getuid
movq %rbx, %rdi
movl %eax, %esi
callq _lua_pushinteger
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _lua_getuid
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_getuid
_lua_getuid: ; @lua_getuid
.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 _getuid
mov x1, x0
mov x0, x19
bl _lua_pushinteger
mov w0, #1
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 _lua_getuid
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_posix.c_lua_getuid.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_info
_set_info: ## @set_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _lua_pushliteral
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lua_settable ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "_COPYRIGHT"
L_.str.1: ## @.str.1
.asciz "Copyright (C) 2008-2010 Oracle Inc"
L_.str.2: ## @.str.2
.asciz "_DESCRIPTION"
L_.str.3: ## @.str.3
.asciz "export posix-functions as posix.*"
L_.str.4: ## @.str.4
.asciz "_VERSION"
L_.str.5: ## @.str.5
.asciz "LuaPosix 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_info
_set_info: ; @set_info
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _lua_pushliteral
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_settable
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "_COPYRIGHT"
l_.str.1: ; @.str.1
.asciz "Copyright (C) 2008-2010 Oracle Inc"
l_.str.2: ; @.str.2
.asciz "_DESCRIPTION"
l_.str.3: ; @.str.3
.asciz "export posix-functions as posix.*"
l_.str.4: ; @.str.4
.asciz "_VERSION"
l_.str.5: ; @.str.5
.asciz "LuaPosix 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_posix.c_set_info.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 %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -36(%rbp)
movq _g_ascii_strcasecmp@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _g_tree_new
movq %rax, %r14
xorl %eax, %eax
callq _sql_token_get_last_id
testq %rax, %rax
jle LBB0_5
## %bb.1:
leaq L_.str(%rip), %r15
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
xorl %eax, %eax
callq _sql_token_get_last_id
cmpq %rax, %rbx
jge LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
xorl %esi, %esi
callq _sql_token_get_name
movl %eax, %edi
movq %r15, %rsi
movl $7, %edx
callq _strncmp
testq %rax, %rax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rbx, %rdi
xorl %esi, %esi
callq _sql_token_get_name
## kill: def $eax killed $eax def $rax
leal 7(%rax), %r12d
movq %rbx, %rdi
callq _GINT_TO_POINTER
movq %r14, %rdi
movl %r12d, %esi
movl %eax, %edx
callq _g_tree_insert
jmp LBB0_4
LBB0_5:
leaq L_.str.1(%rip), %rdi
callq _printf
movq _trav@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -36(%rbp), %rdx
movq %r14, %rdi
callq _g_tree_foreach
leaq L_str(%rip), %rdi
callq _puts
leaq L_str.5(%rip), %rdi
callq _puts
leaq L_str.6(%rip), %rdi
callq _puts
movq %r14, %rdi
callq _g_tree_destroy
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.comm _g_ascii_strcasecmp,8,3 ## @g_ascii_strcasecmp
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "TK_SQL_"
L_.str.1: ## @.str.1
.asciz "static int sql_keywords[] = {"
.comm _trav,4,2 ## @trav
L_str: ## @str
.asciz "\n};"
L_str.5: ## @str.5
.asciz "int *sql_keywords_get() { return sql_keywords; }"
L_str.6: ## @str.6
.asciz "int sql_keywords_get_count() { return sizeof(sql_keywords) / sizeof(sql_keywords[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:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [sp, #12]
Lloh3:
adrp x8, _g_ascii_strcasecmp@GOTPAGE
Lloh4:
ldr x8, [x8, _g_ascii_strcasecmp@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _g_tree_new
mov x19, x0
bl _sql_token_get_last_id
cmp x0, #1
b.lt LBB0_5
; %bb.1:
mov x20, #0
Lloh6:
adrp x21, l_.str@PAGE
Lloh7:
add x21, x21, l_.str@PAGEOFF
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x20, x20, #1
bl _sql_token_get_last_id
cmp x20, x0
b.ge LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, #0
bl _sql_token_get_name
mov x1, x21
mov w2, #7
bl _strncmp
cbnz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
mov x1, #0
bl _sql_token_get_name
add w22, w0, #7
mov x0, x20
bl _GINT_TO_POINTER
mov x2, x0
mov x0, x19
mov x1, x22
bl _g_tree_insert
b LBB0_2
LBB0_5:
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh10:
adrp x8, _trav@GOTPAGE
Lloh11:
ldr x8, [x8, _trav@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
add x2, sp, #12
mov x0, x19
bl _g_tree_foreach
Lloh13:
adrp x0, l_str@PAGE
Lloh14:
add x0, x0, l_str@PAGEOFF
bl _puts
Lloh15:
adrp x0, l_str.5@PAGE
Lloh16:
add x0, x0, l_str.5@PAGEOFF
bl _puts
Lloh17:
adrp x0, l_str.6@PAGE
Lloh18:
add x0, x0, l_str.6@PAGEOFF
bl _puts
mov x0, x19
bl _g_tree_destroy
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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.comm _g_ascii_strcasecmp,8,3 ; @g_ascii_strcasecmp
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "TK_SQL_"
l_.str.1: ; @.str.1
.asciz "static int sql_keywords[] = {"
.comm _trav,4,2 ; @trav
l_str: ; @str
.asciz "\n};"
l_str.5: ; @str.5
.asciz "int *sql_keywords_get() { return sql_keywords; }"
l_str.6: ; @str.6
.asciz "int sql_keywords_get_count() { return sizeof(sql_keywords) / sizeof(sql_keywords[0]); }"
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-gen.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trav ## -- Begin function trav
.p2align 4, 0x90
_trav: ## @trav
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq _GPOINTER_TO_INT
movl %eax, %r15d
cmpq $0, (%rbx)
jne LBB0_2
## %bb.1:
movl $44, %edi
callq _putchar
LBB0_2:
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
movq %r14, %rdx
xorl %eax, %eax
callq _printf
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq %rcx, (%rbx)
movq (%rax), %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "\n\t%d /* %s */"
.comm _FALSE,8,3 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _trav ; -- Begin function trav
.p2align 2
_trav: ; @trav
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
mov x0, x1
bl _GPOINTER_TO_INT
mov x21, x0
ldr x8, [x19]
cbnz x8, LBB0_2
; %bb.1:
mov w0, #44
bl _putchar
LBB0_2:
stp x21, x20, [sp]
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
bl _printf
Lloh2:
adrp x8, _FALSE@GOTPAGE
Lloh3:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
ldr x9, [x8]
str x9, [x19]
ldr x0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "\n\t%d /* %s */"
.comm _FALSE,8,3 ; @FALSE
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-gen.c_trav.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_tokenize ## -- Begin function proxy_tokenize
.p2align 4, 0x90
_proxy_tokenize: ## @proxy_tokenize
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
leaq -32(%rbp), %rdx
movl $1, %esi
callq _luaL_checklstring
movq %rax, %r14
xorl %eax, %eax
callq _sql_tokens_new
movq %rax, %r15
movq -32(%rbp), %rdx
movq %rax, %rdi
movq %r14, %rsi
callq _sql_tokenizer
movq %rbx, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %r15, (%rax)
movq %rbx, %rdi
callq _sql_tokenizer_lua_getmetatable
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setmetatable
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_tokenize ; -- Begin function proxy_tokenize
.p2align 2
_proxy_tokenize: ; @proxy_tokenize
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
add x2, sp, #8
mov w1, #1
bl _luaL_checklstring
mov x20, x0
bl _sql_tokens_new
mov x21, x0
ldr x2, [sp, #8]
mov x1, x20
bl _sql_tokenizer
mov x0, x19
mov w1, #8
bl _lua_newuserdata
str x21, [x0]
mov x0, x19
bl _sql_tokenizer_lua_getmetatable
mov x0, x19
mov w1, #-2
bl _lua_setmetatable
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_proxy_tokenize.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_tokenize_gc
_proxy_tokenize_gc: ## @proxy_tokenize_gc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _luaL_checkself
movq (%rax), %rdi
callq _sql_tokens_free
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_tokenize_gc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_tokenize_gc
_proxy_tokenize_gc: ; @proxy_tokenize_gc
.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 _luaL_checkself
ldr x0, [x0]
bl _sql_tokens_free
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _proxy_tokenize_gc
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_proxy_tokenize_gc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_tokenize_get
_proxy_tokenize_get: ## @proxy_tokenize_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
callq _luaL_checkself
movq (%rax), %rbx
movq %r14, %rdi
movl $2, %esi
callq _luaL_checkinteger
movl %eax, %ecx
movq (%rbx), %rdx
movq _G_MAXINT@GOTPCREL(%rip), %rsi
xorl %eax, %eax
cmpq (%rsi), %rdx
jg LBB0_7
## %bb.1:
testl %ecx, %ecx
jle LBB0_7
## %bb.2:
cmpl %edx, %ecx
jg LBB0_7
## %bb.3:
movq 8(%rbx), %rax
decl %ecx
movq (%rax,%rcx,8), %rbx
testq %rbx, %rbx
je LBB0_4
## %bb.5:
movq %r14, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %rbx, (%rax)
movq %r14, %rdi
callq _sql_tokenizer_lua_token_getmetatable
movq %r14, %rdi
movl $-2, %esi
callq _lua_setmetatable
jmp LBB0_6
LBB0_4:
movq %r14, %rdi
callq _lua_pushnil
LBB0_6:
movl $1, %eax
LBB0_7:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _G_MAXINT,8,3 ## @G_MAXINT
.no_dead_strip _proxy_tokenize_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_tokenize_get
_proxy_tokenize_get: ; @proxy_tokenize_get
.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 _luaL_checkself
ldr x20, [x0]
mov x0, x19
mov w1, #2
bl _luaL_checkinteger
ldr x9, [x20]
Lloh0:
adrp x10, _G_MAXINT@GOTPAGE
Lloh1:
ldr x10, [x10, _G_MAXINT@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
cmp x9, x10
b.le LBB0_2
; %bb.1:
mov w0, #0
b LBB0_8
LBB0_2:
mov x8, x0
mov w0, #0
subs w10, w8, #1
b.lt LBB0_8
; %bb.3:
cmp w8, w9
b.gt LBB0_8
; %bb.4:
ldr x8, [x20, #8]
ldr x20, [x8, w10, uxtw #3]
cbz x20, LBB0_6
; %bb.5:
mov x0, x19
mov w1, #8
bl _lua_newuserdata
str x20, [x0]
mov x0, x19
bl _sql_tokenizer_lua_token_getmetatable
mov x0, x19
mov w1, #-2
bl _lua_setmetatable
b LBB0_7
LBB0_6:
mov x0, x19
bl _lua_pushnil
LBB0_7:
mov w0, #1
LBB0_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _G_MAXINT,8,3 ; @G_MAXINT
.no_dead_strip _proxy_tokenize_get
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_proxy_tokenize_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_tokenize_len
_proxy_tokenize_len: ## @proxy_tokenize_len
.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 _luaL_checkself
movq (%rax), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _lua_pushinteger
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_tokenize_len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_tokenize_len
_proxy_tokenize_len: ; @proxy_tokenize_len
.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 _luaL_checkself
ldr x8, [x0]
ldr w1, [x8]
mov x0, x19
bl _lua_pushinteger
mov w0, #1
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 _proxy_tokenize_len
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_proxy_tokenize_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_tokenize_set
_proxy_tokenize_set: ## @proxy_tokenize_set
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _luaL_checkself
movq (%rax), %r15
movq %rbx, %rdi
movl $2, %esi
callq _luaL_checkinteger
movl %eax, %r14d
movq _LUA_TNIL@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movl $3, %esi
callq _luaL_checktype
movq (%r15), %rax
movq _G_MAXINT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jg LBB0_5
## %bb.1:
testl %r14d, %r14d
jle LBB0_5
## %bb.2:
cmpl %eax, %r14d
jg LBB0_5
## %bb.3:
movq 8(%r15), %rax
decl %r14d
movq (%rax,%r14,8), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.4:
callq _sql_token_free
movq 8(%r15), %rax
movq $0, (%rax,%r14,8)
LBB0_5:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LUA_TNIL,4,2 ## @LUA_TNIL
.comm _G_MAXINT,8,3 ## @G_MAXINT
.no_dead_strip _proxy_tokenize_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_tokenize_set
_proxy_tokenize_set: ; @proxy_tokenize_set
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
bl _luaL_checkself
ldr x21, [x0]
mov x0, x20
mov w1, #2
bl _luaL_checkinteger
mov x19, x0
Lloh0:
adrp x8, _LUA_TNIL@GOTPAGE
Lloh1:
ldr x8, [x8, _LUA_TNIL@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x0, x20
mov w1, #3
bl _luaL_checktype
ldr x8, [x21]
Lloh3:
adrp x9, _G_MAXINT@GOTPAGE
Lloh4:
ldr x9, [x9, _G_MAXINT@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
ccmp w19, #1, #8, le
ccmp w19, w8, #0, ge
b.le LBB0_2
LBB0_1:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_2:
ldr x8, [x21, #8]
sub w19, w19, #1
ldr x0, [x8, w19, uxtw #3]
cbz x0, LBB0_1
; %bb.3:
bl _sql_token_free
ldr x8, [x21, #8]
str xzr, [x8, x19, lsl #3]
b LBB0_1
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _LUA_TNIL,4,2 ; @LUA_TNIL
.comm _G_MAXINT,8,3 ; @G_MAXINT
.no_dead_strip _proxy_tokenize_set
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_proxy_tokenize_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_tokenize_token_get
_proxy_tokenize_token_get: ## @proxy_tokenize_token_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _luaL_checkself
movq (%rax), %r12
leaq -40(%rbp), %rdx
movq %r15, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r14
movq -40(%rbp), %rbx
leaq L_.str(%rip), %rdi
callq _C
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_2
## %bb.1:
movl 4(%r12), %edi
callq _S
movslq %eax, %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _lua_pushlstring
movl $1, %eax
jmp LBB0_7
LBB0_2:
movq -40(%rbp), %rbx
leaq L_.str.1(%rip), %rdi
callq _C
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_4
## %bb.3:
movl (%r12), %esi
movq %r15, %rdi
callq _lua_pushinteger
movl $1, %eax
jmp LBB0_7
LBB0_4:
movq -40(%rbp), %rbx
leaq L_.str.2(%rip), %rdi
callq _C
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_6
## %bb.5:
movq $0, -48(%rbp)
movl (%r12), %edi
leaq -48(%rbp), %rsi
callq _sql_token_get_name
movq -48(%rbp), %rdx
movq %r15, %rdi
movq %rax, %rsi
xorl %eax, %eax
callq _lua_pushlstring
movl $1, %eax
jmp LBB0_7
LBB0_6:
leaq L_.str.3(%rip), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq _luaL_error
xorl %eax, %eax
LBB0_7:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "text"
L_.str.1: ## @.str.1
.asciz "token_id"
L_.str.2: ## @.str.2
.asciz "token_name"
L_.str.3: ## @.str.3
.asciz "tokens[...] has no %s field"
.no_dead_strip _proxy_tokenize_token_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_tokenize_token_get
_proxy_tokenize_token_get: ; @proxy_tokenize_token_get
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _luaL_checkself
ldr x22, [x0]
add x2, sp, #24
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x20, x0
ldr x21, [sp, #24]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_3
; %bb.1:
ldr w0, [x22, #4]
bl _S
; kill: def $w0 killed $w0 def $x0
sxtw x1, w0
LBB0_2:
mov x0, x19
bl _lua_pushlstring
b LBB0_5
LBB0_3:
ldr x21, [sp, #24]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_7
; %bb.4:
ldr w1, [x22]
mov x0, x19
bl _lua_pushinteger
LBB0_5:
mov w0, #1
LBB0_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_7:
ldr x21, [sp, #24]
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_9
; %bb.8:
str xzr, [sp, #16]
ldr w0, [x22]
add x1, sp, #16
bl _sql_token_get_name
mov x1, x0
ldr x8, [sp, #16]
str x8, [sp]
b LBB0_2
LBB0_9:
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
mov x2, x20
bl _luaL_error
mov w0, #0
b LBB0_6
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "text"
l_.str.1: ; @.str.1
.asciz "token_id"
l_.str.2: ; @.str.2
.asciz "token_name"
l_.str.3: ; @.str.3
.asciz "tokens[...] has no %s field"
.no_dead_strip _proxy_tokenize_token_get
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_proxy_tokenize_token_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function set_info
_set_info: ## @set_info
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq L_.str(%rip), %rsi
callq _lua_pushliteral
leaq L_.str.1(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
callq _lua_settable
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
leaq L_.str.5(%rip), %rsi
movq %rbx, %rdi
callq _lua_pushliteral
movq %rbx, %rdi
movl $-3, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _lua_settable ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "_COPYRIGHT"
L_.str.1: ## @.str.1
.asciz "Copyright (C) 2008 MySQL AB, 2008 Sun Microsystems, Inc"
L_.str.2: ## @.str.2
.asciz "_DESCRIPTION"
L_.str.3: ## @.str.3
.asciz "a simple tokenizer for mysql.*"
L_.str.4: ## @.str.4
.asciz "_VERSION"
L_.str.5: ## @.str.5
.asciz "LuaMySQLTokenizer 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function set_info
_set_info: ; @set_info
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _lua_pushliteral
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh4:
adrp x1, l_.str.2@PAGE
Lloh5:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh6:
adrp x1, l_.str.3@PAGE
Lloh7:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
bl _lua_settable
Lloh8:
adrp x1, l_.str.4@PAGE
Lloh9:
add x1, x1, l_.str.4@PAGEOFF
mov x0, x19
bl _lua_pushliteral
Lloh10:
adrp x1, l_.str.5@PAGE
Lloh11:
add x1, x1, l_.str.5@PAGEOFF
mov x0, x19
bl _lua_pushliteral
mov x0, x19
mov w1, #-3
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _lua_settable
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "_COPYRIGHT"
l_.str.1: ; @.str.1
.asciz "Copyright (C) 2008 MySQL AB, 2008 Sun Microsystems, Inc"
l_.str.2: ; @.str.2
.asciz "_DESCRIPTION"
l_.str.3: ; @.str.3
.asciz "a simple tokenizer for mysql.*"
l_.str.4: ; @.str.4
.asciz "_VERSION"
l_.str.5: ; @.str.5
.asciz "LuaMySQLTokenizer 0.1"
.no_dead_strip _set_info
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_set_info.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function sql_tokenizer_lua_getmetatable
_sql_tokenizer_lua_getmetatable: ## @sql_tokenizer_lua_getmetatable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _sql_tokenizer_lua_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @sql_tokenizer_lua_getmetatable.methods
_sql_tokenizer_lua_getmetatable.methods:
.quad L_.str
.quad 130
.quad L_.str.1
.quad 128
.quad L_.str.2
.quad 129
.quad L_.str.3
.quad 131
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__index"
L_.str.1: ## @.str.1
.asciz "__newindex"
L_.str.2: ## @.str.2
.asciz "__len"
L_.str.3: ## @.str.3
.asciz "__gc"
.no_dead_strip _sql_tokenizer_lua_getmetatable
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function sql_tokenizer_lua_getmetatable
_sql_tokenizer_lua_getmetatable: ; @sql_tokenizer_lua_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _sql_tokenizer_lua_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _sql_tokenizer_lua_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @sql_tokenizer_lua_getmetatable.methods
_sql_tokenizer_lua_getmetatable.methods:
.quad l_.str
.quad 130
.quad l_.str.1
.quad 128
.quad l_.str.2
.quad 129
.quad l_.str.3
.quad 131
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__index"
l_.str.1: ; @.str.1
.asciz "__newindex"
l_.str.2: ; @.str.2
.asciz "__len"
l_.str.3: ; @.str.3
.asciz "__gc"
.no_dead_strip _sql_tokenizer_lua_getmetatable
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_sql_tokenizer_lua_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sql_tokenizer_lua_token_getmetatable ## -- Begin function sql_tokenizer_lua_token_getmetatable
.p2align 4, 0x90
_sql_tokenizer_lua_token_getmetatable: ## @sql_tokenizer_lua_token_getmetatable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _sql_tokenizer_lua_token_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @sql_tokenizer_lua_token_getmetatable.methods
_sql_tokenizer_lua_token_getmetatable.methods:
.quad L_.str
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__index"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sql_tokenizer_lua_token_getmetatable ; -- Begin function sql_tokenizer_lua_token_getmetatable
.p2align 2
_sql_tokenizer_lua_token_getmetatable: ; @sql_tokenizer_lua_token_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _sql_tokenizer_lua_token_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _sql_tokenizer_lua_token_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @sql_tokenizer_lua_token_getmetatable.methods
_sql_tokenizer_lua_token_getmetatable.methods:
.quad l_.str
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__index"
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-lua.c_sql_tokenizer_lua_token_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sql_token_get_last_id ## -- Begin function sql_token_get_last_id
.p2align 4, 0x90
_sql_token_get_last_id: ## @sql_token_get_last_id
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sql_token_get_last_id ; -- Begin function sql_token_get_last_id
.p2align 2
_sql_token_get_last_id: ; @sql_token_get_last_id
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_sql-tokenizer-tokens.c_sql_token_get_last_id.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaopen_time_ticker ## -- Begin function luaopen_time_ticker
.p2align 4, 0x90
_luaopen_time_ticker: ## @luaopen_time_ticker
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _time_ticklib@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
callq _luaL_register
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ticker"
.comm _time_ticklib,4,2 ## @time_ticklib
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _luaopen_time_ticker ; -- Begin function luaopen_time_ticker
.p2align 2
_luaopen_time_ticker: ; @luaopen_time_ticker
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
Lloh0:
adrp x8, _time_ticklib@GOTPAGE
Lloh1:
ldr x8, [x8, _time_ticklib@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _luaL_register
mov w0, #1
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ticker"
.comm _time_ticklib,4,2 ; @time_ticklib
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_time-ticker-lua.c_luaopen_time_ticker.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_tick ## -- Begin function proxy_tick
.p2align 4, 0x90
_proxy_tick: ## @proxy_tick
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
leaq -16(%rbp), %rdi
xorl %esi, %esi
callq _gettimeofday
movl -12(%rbp), %esi
movq %rbx, %rdi
callq _lua_pushnumber
movl -16(%rbp), %esi
movq %rbx, %rdi
callq _lua_pushnumber
movl $2, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_tick ; -- Begin function proxy_tick
.p2align 2
_proxy_tick: ; @proxy_tick
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
add x0, sp, #8
mov w1, #0
bl _gettimeofday
ldr w1, [sp, #12]
mov x0, x19
bl _lua_pushnumber
ldr w1, [sp, #8]
mov x0, x19
bl _lua_pushnumber
mov w0, #2
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/lib/extr_time-ticker-lua.c_proxy_tick.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function admin_lua_read_query
_admin_lua_read_query: ## @admin_lua_read_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 %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rdx
movl (%rdx), %ecx
movq _NET_HEADER_SIZE@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movl $132, %ebx
cmpl %eax, %ecx
jl LBB0_6
## %bb.1:
movq 24(%rdi), %r15
movq 8(%rdx), %r14
movq _COM_QUERY@GOTPCREL(%rip), %rdx
movb (%rdx), %dl
cmpb (%r14,%rax), %dl
jne LBB0_5
## %bb.2:
leal 2(%rax), %edx
cmpl %edx, %ecx
jl LBB0_6
## %bb.3:
movl %eax, %edx
notl %edx
addl %edx, %ecx
cmpl $5, %ecx
jb LBB0_5
## %bb.4:
addq %rax, %r14
incq %r14
leaq L_.str(%rip), %rdi
callq _C
movq %r14, %rdi
movl %eax, %esi
callq _g_ascii_strncasecmp
testq %rax, %rax
je LBB0_6
LBB0_5:
movq (%r15), %rdi
callq _network_injection_queue_reset
movl $133, %ebx
LBB0_6:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NET_HEADER_SIZE,4,2 ## @NET_HEADER_SIZE
.comm _COM_QUERY,1,0 ## @COM_QUERY
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LOAD "
.comm _CON_STATE_SEND_ERROR,8,3 ## @CON_STATE_SEND_ERROR
.comm _PROXY_SEND_INJECTION,4,2 ## @PROXY_SEND_INJECTION
.no_dead_strip _admin_lua_read_query
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function admin_lua_read_query
_admin_lua_read_query: ; @admin_lua_read_query
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
ldr x8, [x0]
ldr x8, [x8]
ldr x8, [x8]
ldr x8, [x8]
ldr x10, [x8]
ldr w8, [x10]
Lloh0:
adrp x9, _NET_HEADER_SIZE@GOTPAGE
Lloh1:
ldr x9, [x9, _NET_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
ldrsw x9, [x9]
cmp w8, w9
b.ge LBB0_2
LBB0_1:
mov w0, #132
b LBB0_7
LBB0_2:
ldr x20, [x0, #24]
ldr x10, [x10, #8]
add x10, x10, x9
ldrb w11, [x10]
Lloh3:
adrp x12, _COM_QUERY@GOTPAGE
Lloh4:
ldr x12, [x12, _COM_QUERY@GOTPAGEOFF]
ldrb w12, [x12]
cmp w12, w11
b.ne LBB0_6
; %bb.3:
add w11, w9, #2
cmp w8, w11
b.lt LBB0_1
; %bb.4:
mvn w9, w9
add w8, w8, w9
cmp w8, #5
b.lo LBB0_6
; %bb.5:
add x19, x10, #1
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _C
mov x1, x0
mov x0, x19
bl _g_ascii_strncasecmp
cbz x0, LBB0_1
LBB0_6:
ldr x0, [x20]
bl _network_injection_queue_reset
mov w0, #133
LBB0_7:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _NET_HEADER_SIZE,4,2 ; @NET_HEADER_SIZE
.comm _COM_QUERY,1,0 ; @COM_QUERY
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LOAD "
.comm _CON_STATE_SEND_ERROR,8,3 ; @CON_STATE_SEND_ERROR
.comm _PROXY_SEND_INJECTION,4,2 ; @PROXY_SEND_INJECTION
.no_dead_strip _admin_lua_read_query
.subsections_via_symbols
| AnghaBench/Atlas/plugins/admin/extr_admin-plugin.c_admin_lua_read_query.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_mysqld_admin_plugin_apply_config
_network_mysqld_admin_plugin_apply_config: ## @network_mysqld_admin_plugin_apply_config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %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, (%rsi)
je LBB0_1
## %bb.3:
movq %rsi, %rbx
cmpl $0, 28(%rsi)
je LBB0_4
## %bb.5:
cmpl $0, 24(%rbx)
je LBB0_6
## %bb.7:
movq %rdi, %r14
cmpq $0, 16(%rbx)
jne LBB0_9
## %bb.8:
movl 4(%r14), %esi
leaq L_.str.3(%rip), %rdi
callq _g_strdup_printf
movq %rax, 16(%rbx)
LBB0_9:
xorl %eax, %eax
callq _network_mysqld_con_new
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq _network_mysqld_add_connection
movq %rbx, 8(%r12)
movq %r12, 8(%rbx)
xorl %eax, %eax
callq _network_socket_new
movq %rax, %r15
movq %rax, (%r12)
movq %r12, %rdi
callq _network_mysqld_server_connection_init
movl 8(%r15), %edi
movl (%rbx), %esi
callq _network_address_set_address
movl $-1, %ebx
testq %rax, %rax
jne LBB0_12
## %bb.10:
movq %r15, %rdi
callq _network_socket_bind
testq %rax, %rax
jne LBB0_12
## %bb.11:
movl 4(%r15), %esi
movq _EV_READ@GOTPCREL(%rip), %rax
movq _EV_PERSIST@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq _network_mysqld_admin_con_accept@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r15, %rdi
movq %r12, %r8
callq _event_set
movl (%r14), %edi
movq %r15, %rsi
callq _event_base_set
xorl %ebx, %ebx
movq %r15, %rdi
xorl %esi, %esi
callq _event_add
jmp LBB0_12
LBB0_1:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
jmp LBB0_2
LBB0_4:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
jmp LBB0_2
LBB0_6:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdi
LBB0_2:
callq _g_critical
movl $-1, %ebx
LBB0_12:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: Failed to get bind address, please set by --admin-address=<host:port>"
.comm _G_STRLOC,4,2 ## @G_STRLOC
L_.str.1: ## @.str.1
.asciz "%s: --admin-username needs to be set"
L_.str.2: ## @.str.2
.asciz "%s: --admin-password needs to be set"
L_.str.3: ## @.str.3
.asciz "%s/lib/mysql-proxy/lua/admin.lua"
.comm _EV_READ,4,2 ## @EV_READ
.comm _EV_PERSIST,4,2 ## @EV_PERSIST
.comm _network_mysqld_admin_con_accept,4,2 ## @network_mysqld_admin_con_accept
.no_dead_strip _network_mysqld_admin_plugin_apply_config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_mysqld_admin_plugin_apply_config
_network_mysqld_admin_plugin_apply_config: ; @network_mysqld_admin_plugin_apply_config
.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, [x1]
cbz w8, LBB0_8
; %bb.1:
mov x21, x1
ldr w8, [x1, #28]
cbz w8, LBB0_9
; %bb.2:
ldr w8, [x21, #24]
cbz w8, LBB0_10
; %bb.3:
mov x19, x0
ldr x8, [x21, #16]
cbnz x8, LBB0_5
; %bb.4:
ldr w1, [x19, #4]
Lloh0:
adrp x0, l_.str.3@PAGE
Lloh1:
add x0, x0, l_.str.3@PAGEOFF
bl _g_strdup_printf
str x0, [x21, #16]
LBB0_5:
bl _network_mysqld_con_new
mov x22, x0
mov x0, x19
mov x1, x22
bl _network_mysqld_add_connection
str x21, [x22, #8]
str x22, [x21, #8]
bl _network_socket_new
mov x20, x0
str x0, [x22]
mov x0, x22
bl _network_mysqld_server_connection_init
ldr w0, [x20, #8]
ldr w1, [x21]
bl _network_address_set_address
cbnz x0, LBB0_12
; %bb.6:
mov x0, x20
bl _network_socket_bind
cbnz x0, LBB0_12
; %bb.7:
ldr w1, [x20, #4]
Lloh2:
adrp x8, _EV_READ@GOTPAGE
Lloh3:
ldr x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh4:
adrp x9, _EV_PERSIST@GOTPAGE
Lloh5:
ldr x9, [x9, _EV_PERSIST@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
Lloh7:
ldr w9, [x9]
orr w2, w9, w8
Lloh8:
adrp x8, _network_mysqld_admin_con_accept@GOTPAGE
Lloh9:
ldr x8, [x8, _network_mysqld_admin_con_accept@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
mov x0, x20
mov x4, x22
bl _event_set
ldr w0, [x19]
mov x1, x20
bl _event_base_set
mov x0, x20
mov x1, #0
bl _event_add
mov w0, #0
b LBB0_13
LBB0_8:
Lloh11:
adrp x8, _G_STRLOC@GOTPAGE
Lloh12:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
Lloh14:
adrp x0, l_.str@PAGE
Lloh15:
add x0, x0, l_.str@PAGEOFF
b LBB0_11
LBB0_9:
Lloh16:
adrp x8, _G_STRLOC@GOTPAGE
Lloh17:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
Lloh19:
adrp x0, l_.str.1@PAGE
Lloh20:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_11
LBB0_10:
Lloh21:
adrp x8, _G_STRLOC@GOTPAGE
Lloh22:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
Lloh24:
adrp x0, l_.str.2@PAGE
Lloh25:
add x0, x0, l_.str.2@PAGEOFF
LBB0_11:
bl _g_critical
LBB0_12:
mov w0, #-1
LBB0_13:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh6
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: Failed to get bind address, please set by --admin-address=<host:port>"
.comm _G_STRLOC,4,2 ; @G_STRLOC
l_.str.1: ; @.str.1
.asciz "%s: --admin-username needs to be set"
l_.str.2: ; @.str.2
.asciz "%s: --admin-password needs to be set"
l_.str.3: ; @.str.3
.asciz "%s/lib/mysql-proxy/lua/admin.lua"
.comm _EV_READ,4,2 ; @EV_READ
.comm _EV_PERSIST,4,2 ; @EV_PERSIST
.comm _network_mysqld_admin_con_accept,4,2 ; @network_mysqld_admin_con_accept
.no_dead_strip _network_mysqld_admin_plugin_apply_config
.subsections_via_symbols
| AnghaBench/Atlas/plugins/admin/extr_admin-plugin.c_network_mysqld_admin_plugin_apply_config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_mysqld_admin_plugin_free
_network_mysqld_admin_plugin_free: ## @network_mysqld_admin_plugin_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq 24(%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _g_free
LBB0_2:
movq 16(%rbx), %rdi
testq %rdi, %rdi
je LBB0_4
## %bb.3:
callq _g_free
LBB0_4:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.5:
callq _g_free
LBB0_6:
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.7:
callq _g_free
LBB0_8:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _network_mysqld_admin_plugin_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_mysqld_admin_plugin_free
_network_mysqld_admin_plugin_free: ; @network_mysqld_admin_plugin_free
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #24]
cbz x0, LBB0_2
; %bb.1:
bl _g_free
LBB0_2:
ldr x0, [x19, #16]
cbz x0, LBB0_4
; %bb.3:
bl _g_free
LBB0_4:
ldr x0, [x19, #8]
cbz x0, LBB0_6
; %bb.5:
bl _g_free
LBB0_6:
ldr x0, [x19]
cbz x0, LBB0_8
; %bb.7:
bl _g_free
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
.cfi_endproc
; -- End function
.no_dead_strip _network_mysqld_admin_plugin_free
.subsections_via_symbols
| AnghaBench/Atlas/plugins/admin/extr_admin-plugin.c_network_mysqld_admin_plugin_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_mysqld_server_connection_init
_network_mysqld_server_connection_init: ## @network_mysqld_server_connection_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _server_con_init@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%rdi)
movq _server_read_auth@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rdi)
movq _server_read_query@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rdi)
movq _admin_disconnect_client@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _server_con_init,4,2 ## @server_con_init
.comm _server_read_auth,4,2 ## @server_read_auth
.comm _server_read_query,4,2 ## @server_read_query
.comm _admin_disconnect_client,4,2 ## @admin_disconnect_client
.no_dead_strip _network_mysqld_server_connection_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_mysqld_server_connection_init
_network_mysqld_server_connection_init: ; @network_mysqld_server_connection_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _server_con_init@GOTPAGE
Lloh1:
ldr x8, [x8, _server_con_init@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _server_read_auth@GOTPAGE
Lloh4:
ldr x9, [x9, _server_read_auth@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
stp w9, w8, [x0, #8]
Lloh6:
adrp x8, _server_read_query@GOTPAGE
Lloh7:
ldr x8, [x8, _server_read_query@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _admin_disconnect_client@GOTPAGE
Lloh10:
ldr x9, [x9, _admin_disconnect_client@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
stp w9, w8, [x0]
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _server_con_init,4,2 ; @server_con_init
.comm _server_read_auth,4,2 ; @server_read_auth
.comm _server_read_query,4,2 ; @server_read_query
.comm _admin_disconnect_client,4,2 ; @admin_disconnect_client
.no_dead_strip _network_mysqld_server_connection_init
.subsections_via_symbols
| AnghaBench/Atlas/plugins/admin/extr_admin-plugin.c_network_mysqld_server_connection_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function lua_table_key_to_mysql_field
_lua_table_key_to_mysql_field: ## @lua_table_key_to_mysql_field
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
callq _network_mysqld_proto_fielddef_new
movq %rax, %r15
movq %rbx, %rdi
movl $-2, %esi
callq _lua_isstring
testq %rax, %rax
je LBB0_3
## %bb.1:
movq %rbx, %rdi
movl $-2, %esi
callq _lua_isnumber
testq %rax, %rax
je LBB0_2
LBB0_3:
movq %rbx, %rdi
movl $-2, %esi
callq _lua_isnumber
testq %rax, %rax
je LBB0_5
## %bb.4:
movq %rbx, %rdi
movl $-2, %esi
callq _lua_tointeger
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _g_strdup_printf
jmp LBB0_7
LBB0_5:
leaq L_.str.1(%rip), %rdi
jmp LBB0_6
LBB0_2:
movq %rbx, %rdi
movl $-2, %esi
callq _lua_tostring
movq %rax, %rdi
LBB0_6:
callq _g_strdup
LBB0_7:
movq %rax, 8(%r15)
movq _FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r15)
movq %r14, %rdi
movq %r15, %rsi
callq _g_ptr_array_add
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%ld"
L_.str.1: ## @.str.1
.asciz "(hmm)"
.comm _FIELD_TYPE_VAR_STRING,4,2 ## @FIELD_TYPE_VAR_STRING
.no_dead_strip _lua_table_key_to_mysql_field
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function lua_table_key_to_mysql_field
_lua_table_key_to_mysql_field: ; @lua_table_key_to_mysql_field
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
bl _network_mysqld_proto_fielddef_new
mov x20, x0
mov x0, x21
mov w1, #-2
bl _lua_isstring
cbz x0, LBB0_2
; %bb.1:
mov x0, x21
mov w1, #-2
bl _lua_isnumber
cbz x0, LBB0_5
LBB0_2:
mov x0, x21
mov w1, #-2
bl _lua_isnumber
cbz x0, LBB0_4
; %bb.3:
mov x0, x21
mov w1, #-2
bl _lua_tointeger
mov x1, x0
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _g_strdup_printf
b LBB0_7
LBB0_4:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_6
LBB0_5:
mov x0, x21
mov w1, #-2
bl _lua_tostring
LBB0_6:
bl _g_strdup
LBB0_7:
str x0, [x20, #8]
Lloh4:
adrp x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh5:
ldr x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
str w8, [x20]
mov x0, x19
mov x1, x20
bl _g_ptr_array_add
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%ld"
l_.str.1: ; @.str.1
.asciz "(hmm)"
.comm _FIELD_TYPE_VAR_STRING,4,2 ; @FIELD_TYPE_VAR_STRING
.no_dead_strip _lua_table_key_to_mysql_field
.subsections_via_symbols
| AnghaBench/Atlas/plugins/debug/extr_debug-plugin.c_lua_table_key_to_mysql_field.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_mysqld_debug_plugin_apply_config
_network_mysqld_debug_plugin_apply_config: ## @network_mysqld_debug_plugin_apply_config
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0, (%rsi)
jne LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _g_strdup
movl %eax, (%rbx)
LBB0_2:
xorl %eax, %eax
callq _network_mysqld_con_new
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq _network_mysqld_add_connection
movq %rbx, 8(%r12)
movq %r12, 8(%rbx)
xorl %eax, %eax
callq _network_socket_new
movq %rax, %r15
movq %rax, (%r12)
movq %r12, %rdi
callq _network_mysqld_server_connection_init
movl 8(%r15), %edi
movl (%rbx), %esi
callq _network_address_set_address
movl $-1, %ebx
testq %rax, %rax
jne LBB0_5
## %bb.3:
movq %r15, %rdi
callq _network_socket_bind
testq %rax, %rax
jne LBB0_5
## %bb.4:
movl 4(%r15), %esi
movq _EV_READ@GOTPCREL(%rip), %rax
movq _EV_PERSIST@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
orl (%rax), %edx
movq _network_mysqld_con_accept@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r15, %rdi
movq %r12, %r8
callq _event_set
movl (%r14), %edi
movq %r15, %rsi
callq _event_base_set
xorl %ebx, %ebx
movq %r15, %rdi
xorl %esi, %esi
callq _event_add
LBB0_5:
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz ":4043"
.comm _EV_READ,4,2 ## @EV_READ
.comm _EV_PERSIST,4,2 ## @EV_PERSIST
.comm _network_mysqld_con_accept,4,2 ## @network_mysqld_con_accept
.no_dead_strip _network_mysqld_debug_plugin_apply_config
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_mysqld_debug_plugin_apply_config
_network_mysqld_debug_plugin_apply_config: ; @network_mysqld_debug_plugin_apply_config
.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 x22, x1
mov x19, x0
ldr w8, [x1]
cbnz w8, LBB0_2
; %bb.1:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _g_strdup
str w0, [x22]
LBB0_2:
bl _network_mysqld_con_new
mov x21, x0
mov x0, x19
mov x1, x21
bl _network_mysqld_add_connection
str x22, [x21, #8]
str x21, [x22, #8]
bl _network_socket_new
mov x20, x0
str x0, [x21]
mov x0, x21
bl _network_mysqld_server_connection_init
ldr w0, [x20, #8]
ldr w1, [x22]
bl _network_address_set_address
cbnz x0, LBB0_4
; %bb.3:
mov x0, x20
bl _network_socket_bind
cbz x0, LBB0_6
LBB0_4:
mov w0, #-1
LBB0_5:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_6:
ldr w1, [x20, #4]
Lloh2:
adrp x8, _EV_READ@GOTPAGE
Lloh3:
ldr x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh4:
adrp x9, _EV_PERSIST@GOTPAGE
Lloh5:
ldr x9, [x9, _EV_PERSIST@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
Lloh7:
ldr w9, [x9]
orr w2, w9, w8
Lloh8:
adrp x8, _network_mysqld_con_accept@GOTPAGE
Lloh9:
ldr x8, [x8, _network_mysqld_con_accept@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
mov x0, x20
mov x4, x21
bl _event_set
ldr w0, [x19]
mov x1, x20
bl _event_base_set
mov x0, x20
mov x1, #0
bl _event_add
mov w0, #0
b LBB0_5
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh6
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz ":4043"
.comm _EV_READ,4,2 ; @EV_READ
.comm _EV_PERSIST,4,2 ; @EV_PERSIST
.comm _network_mysqld_con_accept,4,2 ; @network_mysqld_con_accept
.no_dead_strip _network_mysqld_debug_plugin_apply_config
.subsections_via_symbols
| AnghaBench/Atlas/plugins/debug/extr_debug-plugin.c_network_mysqld_debug_plugin_apply_config.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_mysqld_debug_plugin_free
_network_mysqld_debug_plugin_free: ## @network_mysqld_debug_plugin_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je LBB0_2
## %bb.1:
callq _g_free
LBB0_2:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
.cfi_endproc
## -- End function
.no_dead_strip _network_mysqld_debug_plugin_free
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_mysqld_debug_plugin_free
_network_mysqld_debug_plugin_free: ; @network_mysqld_debug_plugin_free
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
cbz x0, LBB0_2
; %bb.1:
bl _g_free
LBB0_2:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
.cfi_endproc
; -- End function
.no_dead_strip _network_mysqld_debug_plugin_free
.subsections_via_symbols
| AnghaBench/Atlas/plugins/debug/extr_debug-plugin.c_network_mysqld_debug_plugin_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_mysqld_server_connection_init
_network_mysqld_server_connection_init: ## @network_mysqld_server_connection_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _server_con_init@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rdi)
movq _server_read_auth@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rdi)
movq _server_read_query@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _server_con_init,4,2 ## @server_con_init
.comm _server_read_auth,4,2 ## @server_read_auth
.comm _server_read_query,4,2 ## @server_read_query
.no_dead_strip _network_mysqld_server_connection_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_mysqld_server_connection_init
_network_mysqld_server_connection_init: ; @network_mysqld_server_connection_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _server_con_init@GOTPAGE
Lloh1:
ldr x8, [x8, _server_con_init@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0, #8]
Lloh3:
adrp x8, _server_read_auth@GOTPAGE
Lloh4:
ldr x8, [x8, _server_read_auth@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
Lloh6:
adrp x9, _server_read_query@GOTPAGE
Lloh7:
ldr x9, [x9, _server_read_query@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
stp w9, w8, [x0]
mov w0, #0
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _server_con_init,4,2 ; @server_con_init
.comm _server_read_auth,4,2 ; @server_read_auth
.comm _server_read_query,4,2 ; @server_read_query
.no_dead_strip _network_mysqld_server_connection_init
.subsections_via_symbols
| AnghaBench/Atlas/plugins/debug/extr_debug-plugin.c_network_mysqld_server_connection_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _plugin_debug_con_handle_stmt ## -- Begin function plugin_debug_con_handle_stmt
.p2align 4, 0x90
_plugin_debug_con_handle_stmt: ## @plugin_debug_con_handle_stmt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r12
movq (%rdx), %rax
movq _NET_HEADER_SIZE@GOTPCREL(%rip), %r13
movq (%r13), %rcx
movl (%rax,%rcx,4), %edx
cmpl $129, %edx
je LBB0_22
## %bb.1:
movq %rsi, %r15
cmpl $131, %edx
je LBB0_8
## %bb.2:
cmpl $130, %edx
jne LBB0_9
## %bb.3:
movq %rdi, %r14
leaq (%rax,%rcx,4), %rbx
addl $4, %ebx
leaq L_.str(%rip), %rdi
callq _C
movl %ebx, %edi
movl %eax, %esi
callq _g_ascii_strncasecmp
testl %eax, %eax
je LBB0_10
## %bb.4:
movl (%r12), %eax
movl (%r13), %ecx
leal (%rax,%rcx,4), %ebx
addl $4, %ebx
leaq L_.str.3(%rip), %rdi
callq _C
movl %ebx, %edi
movl %eax, %esi
callq _g_ascii_strncasecmp
testl %eax, %eax
je LBB0_11
## %bb.5:
movq (%r14), %rax
movq (%rax), %r14
movl (%r12), %eax
movl (%r13), %ecx
leal (%rax,%rcx,4), %esi
addl $4, %esi
movq %r14, %rdi
callq _luaL_loadstring
xorl %r12d, %r12d
testl %eax, %eax
jne LBB0_7
## %bb.6:
movq %r14, %rdi
xorl %esi, %esi
movl $1, %edx
xorl %ecx, %ecx
callq _lua_pcall
testl %eax, %eax
je LBB0_23
LBB0_7:
movq $0, -48(%rbp)
leaq -48(%rbp), %rdx
movq %r14, %rdi
movl $-1, %esi
callq _lua_tolstring
movl (%r15), %edi
movq -48(%rbp), %rdx
movq %rax, %rsi
xorl %eax, %eax
callq _network_mysqld_con_send_error
movq %r14, %rdi
movl $1, %esi
callq _lua_pop
jmp LBB0_14
LBB0_8:
movl (%r15), %edi
callq _network_mysqld_con_send_ok
jmp LBB0_22
LBB0_9:
movl (%r15), %ebx
leaq L_.str.10(%rip), %rdi
callq _C
movslq %eax, %rsi
movl %ebx, %edi
xorl %eax, %eax
callq _network_mysqld_con_send_error
jmp LBB0_22
LBB0_10:
xorl %eax, %eax
callq _network_mysqld_proto_fielddefs_new
movq %rax, %r13
xorl %eax, %eax
callq _network_mysqld_proto_fielddef_new
movq %rax, %rbx
leaq L_.str.1(%rip), %rdi
callq _g_strdup
movq %rax, 24(%rbx)
movq _FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 16(%rbx)
movq %r13, %rdi
movq %rbx, %rsi
callq _g_ptr_array_add
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r12
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %rbx
leaq L_.str.2(%rip), %rdi
jmp LBB0_12
LBB0_11:
xorl %eax, %eax
callq _network_mysqld_proto_fielddefs_new
movq %rax, %r13
xorl %eax, %eax
callq _network_mysqld_proto_fielddef_new
movq %rax, %rbx
leaq L_.str.4(%rip), %rdi
callq _g_strdup
movq %rax, 24(%rbx)
movq _FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 16(%rbx)
movq %r13, %rdi
movq %rbx, %rsi
callq _g_ptr_array_add
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r12
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %rbx
leaq L_.str.5(%rip), %rdi
LBB0_12:
callq _g_strdup
movq %rbx, %rdi
movq %rax, %rsi
callq _g_ptr_array_add
movq %r12, %rdi
movq %rbx, %rsi
callq _g_ptr_array_add
movl (%r15), %edi
movq %r13, %rsi
movq %r12, %rdx
callq _network_mysqld_con_send_resultset
testq %r13, %r13
je LBB0_14
LBB0_13:
movq %r13, %rdi
callq _network_mysqld_proto_fielddefs_free
LBB0_14:
testq %r12, %r12
je LBB0_22
## %bb.15:
cmpq $0, (%r12)
je LBB0_21
## %bb.16:
xorl %r14d, %r14d
movq _TRUE@GOTPCREL(%rip), %r15
jmp LBB0_18
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_18 Depth=1
movl (%r15), %esi
movq %r13, %rdi
callq _g_ptr_array_free
incq %r14
cmpq (%r12), %r14
jae LBB0_21
LBB0_18: ## =>This Loop Header: Depth=1
## Child Loop BB0_20 Depth 2
movq 8(%r12), %rax
movq (%rax,%r14,8), %r13
cmpq $0, (%r13)
je LBB0_17
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_18 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r13), %rax
movq (%rax,%rbx,8), %rdi
callq _g_free
incq %rbx
cmpq (%r13), %rbx
jb LBB0_20
jmp LBB0_17
LBB0_21:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _g_ptr_array_free
LBB0_22:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
movq %r14, %rdi
movl $-1, %esi
callq _lua_type
movl %eax, %ebx
xorl %eax, %eax
callq _network_mysqld_proto_fielddefs_new
movq %rax, %r13
cmpl $128, %ebx
jne LBB0_53
## %bb.24:
movq %r14, %rdi
callq _lua_pushnil
movq %r14, %rdi
movl $-2, %esi
callq _lua_next
testl %eax, %eax
je LBB0_58
## %bb.25:
movq %r13, %rbx
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_29
LBB0_26: ## in Loop: Header=BB0_29 Depth=1
testq %r12, %r12
je LBB0_48
LBB0_27: ## in Loop: Header=BB0_29 Depth=1
movq %r12, %rdi
movq %r13, %rsi
callq _g_ptr_array_add
xorl %r13d, %r13d
LBB0_28: ## in Loop: Header=BB0_29 Depth=1
movq %r14, %rdi
movl $1, %esi
callq _lua_pop
movq %r14, %rdi
movl $-2, %esi
callq _lua_next
testl %eax, %eax
je LBB0_54
LBB0_29: ## =>This Loop Header: Depth=1
## Child Loop BB0_34 Depth 2
movq %r14, %rdi
movl $-1, %esi
callq _lua_istable
movq %r14, %rdi
testl %eax, %eax
je LBB0_43
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
callq _lua_pushnil
jmp LBB0_34
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_34 Depth=2
callq _lua_isnumber
movq %r14, %rdi
movl $-1, %esi
testl %eax, %eax
je LBB0_42
## %bb.32: ## in Loop: Header=BB0_34 Depth=2
callq _lua_tonumber
leaq L_.str.8(%rip), %rdi
movl %eax, %esi
callq _g_strdup_printf
LBB0_33: ## in Loop: Header=BB0_34 Depth=2
movq %rax, %rsi
movq %r13, %rdi
callq _g_ptr_array_add
movq %r14, %rdi
movl $1, %esi
callq _lua_pop
LBB0_34: ## Parent Loop BB0_29 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movl $-2, %esi
callq _lua_next
testl %eax, %eax
je LBB0_26
## %bb.35: ## in Loop: Header=BB0_34 Depth=2
testq %r12, %r12
je LBB0_40
## %bb.36: ## in Loop: Header=BB0_34 Depth=2
testq %r13, %r13
je LBB0_41
LBB0_37: ## in Loop: Header=BB0_34 Depth=2
movq %r14, %rdi
movl $-1, %esi
callq _lua_isboolean
movq %r14, %rdi
movl $-1, %esi
testl %eax, %eax
je LBB0_31
## %bb.38: ## in Loop: Header=BB0_34 Depth=2
callq _lua_toboolean
testl %eax, %eax
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rax
cmoveq %rax, %rdi
LBB0_39: ## in Loop: Header=BB0_34 Depth=2
callq _g_strdup
jmp LBB0_33
.p2align 4, 0x90
LBB0_40: ## in Loop: Header=BB0_34 Depth=2
movq %r14, %rdi
movq %rbx, %rsi
callq _lua_table_key_to_mysql_field
testq %r13, %r13
jne LBB0_37
LBB0_41: ## in Loop: Header=BB0_34 Depth=2
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r13
jmp LBB0_37
LBB0_42: ## in Loop: Header=BB0_34 Depth=2
callq _lua_tostring
movq %rax, %rdi
jmp LBB0_39
LBB0_43: ## in Loop: Header=BB0_29 Depth=1
movq %rbx, %rsi
callq _lua_table_key_to_mysql_field
testq %r13, %r13
jne LBB0_45
## %bb.44: ## in Loop: Header=BB0_29 Depth=1
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r13
LBB0_45: ## in Loop: Header=BB0_29 Depth=1
movq %r14, %rdi
movl $-1, %esi
callq _lua_isboolean
movq %r14, %rdi
movl $-1, %esi
testl %eax, %eax
je LBB0_49
## %bb.46: ## in Loop: Header=BB0_29 Depth=1
callq _lua_toboolean
testl %eax, %eax
leaq L_.str.6(%rip), %rdi
leaq L_.str.7(%rip), %rax
cmoveq %rax, %rdi
LBB0_47: ## in Loop: Header=BB0_29 Depth=1
callq _g_strdup
jmp LBB0_51
LBB0_48: ## in Loop: Header=BB0_29 Depth=1
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r12
jmp LBB0_27
LBB0_49: ## in Loop: Header=BB0_29 Depth=1
callq _lua_isnumber
movq %r14, %rdi
movl $-1, %esi
testl %eax, %eax
je LBB0_52
## %bb.50: ## in Loop: Header=BB0_29 Depth=1
callq _lua_tonumber
leaq L_.str.8(%rip), %rdi
movl %eax, %esi
callq _g_strdup_printf
LBB0_51: ## in Loop: Header=BB0_29 Depth=1
movq %r13, %rdi
movq %rax, %rsi
callq _g_ptr_array_add
jmp LBB0_28
LBB0_52: ## in Loop: Header=BB0_29 Depth=1
callq _lua_tostring
movq %rax, %rdi
jmp LBB0_47
LBB0_53:
xorl %eax, %eax
callq _network_mysqld_proto_fielddef_new
movq %rax, %rbx
leaq L_.str.9(%rip), %rdi
callq _g_strdup
movq %rax, 24(%rbx)
movq _FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, 16(%rbx)
movq %r13, %rdi
movq %rbx, %rsi
callq _g_ptr_array_add
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r12
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %rbx
movq %r14, %rdi
movl $-1, %esi
callq _lua_tostring
movq %rax, %rdi
callq _g_strdup
movq %rbx, %rdi
movq %rax, %rsi
callq _g_ptr_array_add
movq %r12, %rdi
movq %rbx, %rsi
callq _g_ptr_array_add
jmp LBB0_60
LBB0_54:
testq %r13, %r13
je LBB0_59
## %bb.55:
testq %r12, %r12
jne LBB0_57
## %bb.56:
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r12
LBB0_57:
movq %r12, %rdi
movq %r13, %rsi
callq _g_ptr_array_add
LBB0_59:
movq %rbx, %r13
jmp LBB0_60
LBB0_58:
xorl %r12d, %r12d
LBB0_60:
movq %r14, %rdi
movl $1, %esi
callq _lua_pop
movl (%r15), %edi
movq %r13, %rsi
movq %r12, %rdx
callq _network_mysqld_con_send_resultset
testq %r13, %r13
jne LBB0_13
jmp LBB0_7
.cfi_endproc
## -- End function
.comm _NET_HEADER_SIZE,8,3 ## @NET_HEADER_SIZE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "select @@version_comment limit 1"
L_.str.1: ## @.str.1
.asciz "@@version_comment"
.comm _FIELD_TYPE_VAR_STRING,8,3 ## @FIELD_TYPE_VAR_STRING
L_.str.2: ## @.str.2
.asciz "MySQL Enterprise Agent"
L_.str.3: ## @.str.3
.asciz "select USER()"
L_.str.4: ## @.str.4
.asciz "USER()"
L_.str.5: ## @.str.5
.asciz "root"
L_.str.6: ## @.str.6
.asciz "TRUE"
L_.str.7: ## @.str.7
.asciz "FALSE"
L_.str.8: ## @.str.8
.asciz "%.0f"
L_.str.9: ## @.str.9
.asciz "lua"
.comm _TRUE,4,2 ## @TRUE
L_.str.10: ## @.str.10
.asciz "unknown COM_*"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _plugin_debug_con_handle_stmt ; -- Begin function plugin_debug_con_handle_stmt
.p2align 2
_plugin_debug_con_handle_stmt: ; @plugin_debug_con_handle_stmt
.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
ldr x8, [x2]
Lloh0:
adrp x23, _NET_HEADER_SIZE@GOTPAGE
Lloh1:
ldr x23, [x23, _NET_HEADER_SIZE@GOTPAGEOFF]
ldr x9, [x23]
add x8, x8, x9, lsl #2
ldr w9, [x8]
cmp w9, #129
b.eq LBB0_23
; %bb.1:
mov x19, x1
cmp w9, #131
b.eq LBB0_9
; %bb.2:
cmp w9, #130
b.ne LBB0_10
; %bb.3:
mov x20, x2
mov x21, x0
add w22, w8, #4
Lloh2:
adrp x0, l_.str@PAGE
Lloh3:
add x0, x0, l_.str@PAGEOFF
bl _C
mov x1, x0
mov x0, x22
bl _g_ascii_strncasecmp
cbz w0, LBB0_11
; %bb.4:
ldr w8, [x20]
ldr w9, [x23]
add w8, w8, w9, lsl #2
add w22, w8, #4
Lloh4:
adrp x0, l_.str.3@PAGE
Lloh5:
add x0, x0, l_.str.3@PAGEOFF
bl _C
mov x1, x0
mov x0, x22
bl _g_ascii_strncasecmp
cbz w0, LBB0_12
; %bb.5:
ldr x8, [x21]
ldr x22, [x8]
ldr w8, [x20]
ldr w9, [x23]
add w8, w8, w9, lsl #2
add w1, w8, #4
mov x0, x22
bl _luaL_loadstring
cbnz w0, LBB0_7
; %bb.6:
mov x0, x22
mov w1, #0
mov w2, #1
mov w3, #0
bl _lua_pcall
cbz w0, LBB0_24
LBB0_7:
mov x21, #0
LBB0_8:
str xzr, [sp, #8]
add x2, sp, #8
mov x0, x22
mov w1, #-1
bl _lua_tolstring
mov x1, x0
ldr w0, [x19]
ldr x8, [sp, #8]
str x8, [sp]
bl _network_mysqld_con_send_error
mov x0, x22
mov w1, #1
bl _lua_pop
cbnz x21, LBB0_16
b LBB0_23
LBB0_9:
ldr w0, [x19]
bl _network_mysqld_con_send_ok
b LBB0_23
LBB0_10:
ldr w19, [x19]
Lloh6:
adrp x0, l_.str.10@PAGE
Lloh7:
add x0, x0, l_.str.10@PAGEOFF
bl _C
; kill: def $w0 killed $w0 def $x0
sxtw x1, w0
mov x0, x19
bl _network_mysqld_con_send_error
b LBB0_23
LBB0_11:
bl _network_mysqld_proto_fielddefs_new
mov x20, x0
bl _network_mysqld_proto_fielddef_new
mov x21, x0
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
bl _g_strdup
Lloh10:
adrp x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh11:
ldr x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh12:
ldr x8, [x8]
stp x8, x0, [x21, #16]
mov x0, x20
mov x1, x21
bl _g_ptr_array_add
bl _g_ptr_array_new
mov x21, x0
bl _g_ptr_array_new
mov x22, x0
Lloh13:
adrp x0, l_.str.2@PAGE
Lloh14:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_13
LBB0_12:
bl _network_mysqld_proto_fielddefs_new
mov x20, x0
bl _network_mysqld_proto_fielddef_new
mov x21, x0
Lloh15:
adrp x0, l_.str.4@PAGE
Lloh16:
add x0, x0, l_.str.4@PAGEOFF
bl _g_strdup
Lloh17:
adrp x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh18:
ldr x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh19:
ldr x8, [x8]
stp x8, x0, [x21, #16]
mov x0, x20
mov x1, x21
bl _g_ptr_array_add
bl _g_ptr_array_new
mov x21, x0
bl _g_ptr_array_new
mov x22, x0
Lloh20:
adrp x0, l_.str.5@PAGE
Lloh21:
add x0, x0, l_.str.5@PAGEOFF
LBB0_13:
bl _g_strdup
mov x1, x0
mov x0, x22
bl _g_ptr_array_add
mov x0, x21
mov x1, x22
bl _g_ptr_array_add
ldr w0, [x19]
mov x1, x20
mov x2, x21
bl _network_mysqld_con_send_resultset
cbz x20, LBB0_15
LBB0_14:
mov x0, x20
bl _network_mysqld_proto_fielddefs_free
LBB0_15:
cbz x21, LBB0_23
LBB0_16:
ldr x8, [x21]
Lloh22:
adrp x20, _TRUE@GOTPAGE
Lloh23:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
cbz x8, LBB0_22
; %bb.17:
mov x22, #0
b LBB0_19
LBB0_18: ; in Loop: Header=BB0_19 Depth=1
ldr w1, [x20]
mov x0, x19
bl _g_ptr_array_free
add x22, x22, #1
ldr x8, [x21]
cmp x22, x8
b.hs LBB0_22
LBB0_19: ; =>This Loop Header: Depth=1
; Child Loop BB0_21 Depth 2
ldr x8, [x21, #8]
ldr x19, [x8, x22, lsl #3]
ldr x8, [x19]
cbz x8, LBB0_18
; %bb.20: ; in Loop: Header=BB0_19 Depth=1
mov x23, #0
LBB0_21: ; Parent Loop BB0_19 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x19, #8]
ldr x0, [x8, x23, lsl #3]
bl _g_free
add x23, x23, #1
ldr x8, [x19]
cmp x23, x8
b.lo LBB0_21
b LBB0_18
LBB0_22:
ldr w1, [x20]
mov x0, x21
bl _g_ptr_array_free
LBB0_23:
mov w0, #0
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_24:
mov x0, x22
mov w1, #-1
bl _lua_type
mov x21, x0
bl _network_mysqld_proto_fielddefs_new
mov x20, x0
cmp w21, #128
b.ne LBB0_54
; %bb.25:
mov x0, x22
bl _lua_pushnil
mov x0, x22
mov w1, #-2
bl _lua_next
mov x21, #0
cbz w0, LBB0_59
; %bb.26:
mov x23, #0
Lloh24:
adrp x24, l_.str.8@PAGE
Lloh25:
add x24, x24, l_.str.8@PAGEOFF
Lloh26:
adrp x25, l_.str.6@PAGE
Lloh27:
add x25, x25, l_.str.6@PAGEOFF
Lloh28:
adrp x26, l_.str.7@PAGE
Lloh29:
add x26, x26, l_.str.7@PAGEOFF
b LBB0_30
LBB0_27: ; in Loop: Header=BB0_30 Depth=1
cbz x21, LBB0_49
LBB0_28: ; in Loop: Header=BB0_30 Depth=1
mov x0, x21
mov x1, x23
bl _g_ptr_array_add
mov x23, #0
LBB0_29: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
mov w1, #1
bl _lua_pop
mov x0, x22
mov w1, #-2
bl _lua_next
cbz w0, LBB0_55
LBB0_30: ; =>This Loop Header: Depth=1
; Child Loop BB0_35 Depth 2
mov x0, x22
mov w1, #-1
bl _lua_istable
cbz w0, LBB0_44
; %bb.31: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
bl _lua_pushnil
b LBB0_35
LBB0_32: ; in Loop: Header=BB0_35 Depth=2
mov x0, x22
mov w1, #-1
bl _lua_isnumber
cbz w0, LBB0_43
; %bb.33: ; in Loop: Header=BB0_35 Depth=2
mov x0, x22
mov w1, #-1
bl _lua_tonumber
mov x1, x0
mov x0, x24
bl _g_strdup_printf
LBB0_34: ; in Loop: Header=BB0_35 Depth=2
mov x1, x0
mov x0, x23
bl _g_ptr_array_add
mov x0, x22
mov w1, #1
bl _lua_pop
LBB0_35: ; Parent Loop BB0_30 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x22
mov w1, #-2
bl _lua_next
cbz w0, LBB0_27
; %bb.36: ; in Loop: Header=BB0_35 Depth=2
cbz x21, LBB0_41
; %bb.37: ; in Loop: Header=BB0_35 Depth=2
cbz x23, LBB0_42
LBB0_38: ; in Loop: Header=BB0_35 Depth=2
mov x0, x22
mov w1, #-1
bl _lua_isboolean
cbz w0, LBB0_32
; %bb.39: ; in Loop: Header=BB0_35 Depth=2
mov x0, x22
mov w1, #-1
bl _lua_toboolean
cmp w0, #0
csel x0, x26, x25, eq
LBB0_40: ; in Loop: Header=BB0_35 Depth=2
bl _g_strdup
b LBB0_34
LBB0_41: ; in Loop: Header=BB0_35 Depth=2
mov x0, x22
mov x1, x20
bl _lua_table_key_to_mysql_field
cbnz x23, LBB0_38
LBB0_42: ; in Loop: Header=BB0_35 Depth=2
bl _g_ptr_array_new
mov x23, x0
b LBB0_38
LBB0_43: ; in Loop: Header=BB0_35 Depth=2
mov x0, x22
mov w1, #-1
bl _lua_tostring
b LBB0_40
LBB0_44: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
mov x1, x20
bl _lua_table_key_to_mysql_field
cbnz x23, LBB0_46
; %bb.45: ; in Loop: Header=BB0_30 Depth=1
bl _g_ptr_array_new
mov x23, x0
LBB0_46: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
mov w1, #-1
bl _lua_isboolean
cbz w0, LBB0_50
; %bb.47: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
mov w1, #-1
bl _lua_toboolean
cmp w0, #0
csel x0, x26, x25, eq
LBB0_48: ; in Loop: Header=BB0_30 Depth=1
bl _g_strdup
b LBB0_52
LBB0_49: ; in Loop: Header=BB0_30 Depth=1
bl _g_ptr_array_new
mov x21, x0
b LBB0_28
LBB0_50: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
mov w1, #-1
bl _lua_isnumber
cbz w0, LBB0_53
; %bb.51: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
mov w1, #-1
bl _lua_tonumber
mov x1, x0
mov x0, x24
bl _g_strdup_printf
LBB0_52: ; in Loop: Header=BB0_30 Depth=1
mov x1, x0
mov x0, x23
bl _g_ptr_array_add
b LBB0_29
LBB0_53: ; in Loop: Header=BB0_30 Depth=1
mov x0, x22
mov w1, #-1
bl _lua_tostring
b LBB0_48
LBB0_54:
bl _network_mysqld_proto_fielddef_new
mov x21, x0
Lloh30:
adrp x0, l_.str.9@PAGE
Lloh31:
add x0, x0, l_.str.9@PAGEOFF
bl _g_strdup
Lloh32:
adrp x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh33:
ldr x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh34:
ldr x8, [x8]
stp x8, x0, [x21, #16]
mov x0, x20
mov x1, x21
bl _g_ptr_array_add
bl _g_ptr_array_new
mov x21, x0
bl _g_ptr_array_new
mov x23, x0
mov x0, x22
mov w1, #-1
bl _lua_tostring
bl _g_strdup
mov x1, x0
mov x0, x23
bl _g_ptr_array_add
b LBB0_58
LBB0_55:
cbz x23, LBB0_59
; %bb.56:
cbnz x21, LBB0_58
; %bb.57:
bl _g_ptr_array_new
mov x21, x0
LBB0_58:
mov x0, x21
mov x1, x23
bl _g_ptr_array_add
LBB0_59:
mov x0, x22
mov w1, #1
bl _lua_pop
ldr w0, [x19]
mov x1, x20
mov x2, x21
bl _network_mysqld_con_send_resultset
cbnz x20, LBB0_14
b LBB0_8
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpAdd Lloh30, Lloh31
.cfi_endproc
; -- End function
.comm _NET_HEADER_SIZE,8,3 ; @NET_HEADER_SIZE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "select @@version_comment limit 1"
l_.str.1: ; @.str.1
.asciz "@@version_comment"
.comm _FIELD_TYPE_VAR_STRING,8,3 ; @FIELD_TYPE_VAR_STRING
l_.str.2: ; @.str.2
.asciz "MySQL Enterprise Agent"
l_.str.3: ; @.str.3
.asciz "select USER()"
l_.str.4: ; @.str.4
.asciz "USER()"
l_.str.5: ; @.str.5
.asciz "root"
l_.str.6: ; @.str.6
.asciz "TRUE"
l_.str.7: ; @.str.7
.asciz "FALSE"
l_.str.8: ; @.str.8
.asciz "%.0f"
l_.str.9: ; @.str.9
.asciz "lua"
.comm _TRUE,4,2 ; @TRUE
l_.str.10: ; @.str.10
.asciz "unknown COM_*"
.subsections_via_symbols
| AnghaBench/Atlas/plugins/debug/extr_debug-plugin.c_plugin_debug_con_handle_stmt.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check_flags ## -- Begin function check_flags
.p2align 4, 0x90
_check_flags: ## @check_flags
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r12
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rsi)
movq 8(%rdi), %r13
movl (%rdi), %ebx
cmpl $3, %ebx
jl LBB0_5
## %bb.1:
movq 8(%r13), %rax
movq (%rax), %rax
movq _TK_SQL_SELECT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_6
## %bb.2:
movq 16(%r13), %rax
movq 8(%rax), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
jne LBB0_6
## %bb.3:
movq 32(%r13), %rax
movq 8(%rax), %rax
movq (%rax), %r14
movl 4(%r12), %edi
movq %r14, %rsi
callq _g_hash_table_lookup
testl %eax, %eax
jne LBB0_6
## %bb.4:
movl 4(%r12), %r15d
movq %r14, %rdi
callq _g_strdup
movl %r15d, %edi
movl %eax, %esi
callq _g_hash_table_add
jmp LBB0_6
LBB0_5:
cmpl $2, %ebx
jne LBB0_10
LBB0_6:
movq _TK_SQL_SQL_CALC_FOUND_ROWS@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $1, %ecx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movq (%r13,%rcx,8), %rdx
cmpq %rax, (%rdx)
je LBB0_9
## %bb.7: ## in Loop: Header=BB0_8 Depth=1
incq %rcx
cmpq %rcx, %rbx
jne LBB0_8
jmp LBB0_10
LBB0_9:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r12)
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TK_SQL_SELECT,8,3 ## @TK_SQL_SELECT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "GET_LOCK"
.comm _TK_SQL_SQL_CALC_FOUND_ROWS,8,3 ## @TK_SQL_SQL_CALC_FOUND_ROWS
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _check_flags ; -- Begin function check_flags
.p2align 2
_check_flags: ; @check_flags
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x1]
ldr x23, [x0, #8]
ldr w22, [x0]
cmp w22, #3
b.lt LBB0_5
; %bb.1:
ldr x8, [x23, #8]
ldr x8, [x8]
Lloh3:
adrp x9, _TK_SQL_SELECT@GOTPAGE
Lloh4:
ldr x9, [x9, _TK_SQL_SELECT@GOTPAGEOFF]
Lloh5:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_6
; %bb.2:
ldr x8, [x23, #16]
ldr x8, [x8, #8]
ldr x0, [x8]
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
cbnz x0, LBB0_6
; %bb.3:
ldr x8, [x23, #32]
ldr x8, [x8, #8]
ldr x20, [x8]
ldr w0, [x19, #4]
mov x1, x20
bl _g_hash_table_lookup
cbnz w0, LBB0_6
; %bb.4:
ldr w21, [x19, #4]
mov x0, x20
bl _g_strdup
mov x1, x0
mov x0, x21
bl _g_hash_table_add
b LBB0_6
LBB0_5:
cmp w22, #2
b.ne LBB0_10
LBB0_6:
Lloh8:
adrp x8, _TK_SQL_SQL_CALC_FOUND_ROWS@GOTPAGE
Lloh9:
ldr x8, [x8, _TK_SQL_SQL_CALC_FOUND_ROWS@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
add x9, x23, #8
sub x10, x22, #1
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9]
ldr x11, [x11]
cmp x11, x8
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
add x9, x9, #8
subs x10, x10, #1
b.ne LBB0_7
b LBB0_10
LBB0_9:
Lloh11:
adrp x8, _TRUE@GOTPAGE
Lloh12:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
ldr w8, [x8]
str w8, [x19]
LBB0_10:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TK_SQL_SELECT,8,3 ; @TK_SQL_SELECT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "GET_LOCK"
.comm _TK_SQL_SQL_CALC_FOUND_ROWS,8,3 ; @TK_SQL_SQL_CALC_FOUND_ROWS
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_check_flags.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convert_use_database2com_init_db ## -- Begin function convert_use_database2com_init_db
.p2align 4, 0x90
_convert_use_database2com_init_db: ## @convert_use_database2com_init_db
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq _COM_QUERY@GOTPCREL(%rip), %rax
cmpb %dil, (%rax)
jne LBB0_11
## %bb.1:
movl (%rdx), %eax
cmpl $2, %eax
jl LBB0_11
## %bb.2:
movq 8(%rdx), %rbx
movq _TK_COMMENT@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq 8(%rbx), %rcx
movq (%rcx), %rsi
movl $1, %ecx
cmpq %rdx, %rsi
jne LBB0_7
## %bb.3:
leal -1(%rax), %edi
movl $1, %ecx
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpq %rcx, %rdi
je LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rbx,%rcx,8), %rsi
incq %rcx
movq (%rsi), %rsi
cmpq %rdx, %rsi
je LBB0_4
jmp LBB0_7
LBB0_5:
movq %rdx, %rsi
movl %eax, %ecx
LBB0_7:
movq _TK_SQL_USE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rsi
jne LBB0_11
## %bb.8:
incl %ecx
cmpl %eax, %ecx
jge LBB0_11
## %bb.9:
movslq %ecx, %r15
movq (%rbx,%r15,8), %rax
movq (%rax), %rax
movq _TK_LITERAL@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_11
## %bb.10:
movq %r14, %rdi
xorl %esi, %esi
callq _g_string_truncate
movq _COM_INIT_DB@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _g_string_append_c
movq (%rbx,%r15,8), %rax
movq 8(%rax), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _g_string_append_printf
LBB0_11:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _COM_QUERY,1,0 ## @COM_QUERY
.comm _TK_COMMENT,8,3 ## @TK_COMMENT
.comm _TK_SQL_USE,8,3 ## @TK_SQL_USE
.comm _TK_LITERAL,8,3 ## @TK_LITERAL
.comm _COM_INIT_DB,4,2 ## @COM_INIT_DB
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _convert_use_database2com_init_db ; -- Begin function convert_use_database2com_init_db
.p2align 2
_convert_use_database2com_init_db: ; @convert_use_database2com_init_db
.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
Lloh0:
adrp x8, _COM_QUERY@GOTPAGE
Lloh1:
ldr x8, [x8, _COM_QUERY@GOTPAGEOFF]
ldrb w8, [x8]
cmp w8, w0, uxtb
b.ne LBB0_10
; %bb.1:
ldr w8, [x2]
cmp w8, #2
b.lt LBB0_10
; %bb.2:
ldr x20, [x2, #8]
Lloh2:
adrp x9, _TK_COMMENT@GOTPAGE
Lloh3:
ldr x9, [x9, _TK_COMMENT@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
ldr x10, [x20, #8]
ldr x11, [x10]
cmp x11, x9
b.ne LBB0_7
; %bb.3:
mov x10, #0
sub w11, w8, #1
sub x11, x11, #1
add x12, x20, #16
LBB0_4: ; =>This Inner Loop Header: Depth=1
cmp x11, x10
b.eq LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr x13, [x12, x10, lsl #3]
ldr x13, [x13]
add x10, x10, #1
cmp x13, x9
b.eq LBB0_4
; %bb.6:
add w10, w10, #1
mov x9, x13
b LBB0_9
LBB0_7:
mov w10, #1
mov x9, x11
b LBB0_9
LBB0_8:
mov x10, x8
LBB0_9:
Lloh5:
adrp x11, _TK_SQL_USE@GOTPAGE
Lloh6:
ldr x11, [x11, _TK_SQL_USE@GOTPAGEOFF]
Lloh7:
ldr x11, [x11]
cmp x9, x11
add w9, w10, #1
ccmp w9, w8, #0, eq
b.lt LBB0_11
LBB0_10:
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_11:
ldr x8, [x20, w9, sxtw #3]
ldr x8, [x8]
Lloh8:
adrp x10, _TK_LITERAL@GOTPAGE
Lloh9:
ldr x10, [x10, _TK_LITERAL@GOTPAGEOFF]
Lloh10:
ldr x10, [x10]
cmp x8, x10
b.ne LBB0_10
; %bb.12:
sxtw x21, w9
mov x0, x19
mov w1, #0
bl _g_string_truncate
Lloh11:
adrp x8, _COM_INIT_DB@GOTPAGE
Lloh12:
ldr x8, [x8, _COM_INIT_DB@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x19
bl _g_string_append_c
ldr x8, [x20, x21, lsl #3]
ldr x8, [x8, #8]
ldr w2, [x8]
Lloh14:
adrp x1, l_.str@PAGE
Lloh15:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _g_string_append_printf
b LBB0_10
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _COM_QUERY,1,0 ; @COM_QUERY
.comm _TK_COMMENT,8,3 ; @TK_COMMENT
.comm _TK_SQL_USE,8,3 ; @TK_SQL_USE
.comm _TK_LITERAL,8,3 ; @TK_LITERAL
.comm _COM_INIT_DB,4,2 ; @COM_INIT_DB
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s"
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_convert_use_database2com_init_db.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_column_index ## -- Begin function get_column_index
.p2align 4, 0x90
_get_column_index: ## @get_column_index
.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 %r8, %r12
movl %ecx, %r13d
movq %rdx, -96(%rbp) ## 8-byte Spill
movq %rsi, -104(%rbp) ## 8-byte Spill
movq %rdi, %rbx
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl %edi, %esi
movl $4, %edx
callq _g_array_new
movq %rax, -56(%rbp) ## 8-byte Spill
movq 8(%rbx), %rsi
movslq (%rbx), %r14
cmpl $3, %r13d
movq %rsi, -48(%rbp) ## 8-byte Spill
je LBB0_7
## %bb.1:
cmpl $2, %r13d
je LBB0_13
## %bb.2:
cmpl $1, %r13d
jne LBB0_70
## %bb.3:
cmpl %r12d, %r14d
jle LBB0_70
## %bb.4:
movq _TK_SQL_WHERE@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movslq %r12d, %rdi
leal 6(%r12), %r8d
leal 1(%r12), %r9d
leaq (%rsi,%rdi,8), %rbx
subq %r14, %rdi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
cmpq %rdx, (%rax)
je LBB0_26
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
decq %rcx
addq $8, %rbx
cmpq %rcx, %rdi
jne LBB0_5
jmp LBB0_70
LBB0_7:
movq (%rsi,%r12,8), %rax
movq (%rax), %rax
movq _TK_SQL_SET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_17
## %bb.8:
leal -2(%r14), %r15d
leal 1(%r12), %eax
cmpl %r15d, %eax
jge LBB0_70
## %bb.9:
movq _TK_LITERAL@GOTPCREL(%rip), %rcx
movq (%rcx), %rbx
movslq %eax, %r14
addl $3, %r12d
movl %r12d, %r13d
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_11 Depth=1
incq %r14
incl %r13d
cmpl %r14d, %r15d
jle LBB0_70
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%r14,8), %rax
cmpq %rbx, (%rax)
jne LBB0_10
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq 8(%rax), %rax
movq (%rax), %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
callq _strcasecmp
movq -48(%rbp), %rsi ## 8-byte Reload
testq %rax, %rax
jne LBB0_10
jmp LBB0_69
LBB0_13:
cmpl %r12d, %r14d
jle LBB0_70
## %bb.14:
movq _TK_SQL_WHERE@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movslq %r12d, %rdi
leal 6(%r12), %r8d
leal 1(%r12), %r9d
leaq (%rsi,%rdi,8), %rbx
subq %r14, %rdi
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rax
cmpq %rdx, (%rax)
je LBB0_41
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
decq %rcx
addq $8, %rbx
cmpq %rcx, %rdi
jne LBB0_15
jmp LBB0_70
LBB0_17:
movq _TK_OBRACE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl $2, %r13d
movq %rcx, -88(%rbp) ## 8-byte Spill
cmpq %rcx, %rax
jne LBB0_58
## %bb.18:
leal 1(%r12), %eax
cmpl %r14d, %eax
movq %r14, -112(%rbp) ## 8-byte Spill
jge LBB0_56
## %bb.19:
movq _TK_CBRACE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq _TK_LITERAL@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq _TK_DOT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leal -1(%r14), %r15d
movl %r12d, %r14d
jmp LBB0_21
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_21 Depth=1
cmpl %r14d, %r15d
je LBB0_56
LBB0_21: ## =>This Inner Loop Header: Depth=1
movl %r14d, %ebx
leal 1(%rbx), %r14d
movslq %r14d, %r13
movq (%rsi,%r13,8), %rax
movq (%rax), %rcx
cmpq -80(%rbp), %rcx ## 8-byte Folded Reload
je LBB0_56
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
cmpq -72(%rbp), %rcx ## 8-byte Folded Reload
jne LBB0_20
## %bb.23: ## in Loop: Header=BB0_21 Depth=1
movq 8(%rax), %rax
movq (%rax), %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
callq _strcasecmp
movq -48(%rbp), %rsi ## 8-byte Reload
testq %rax, %rax
jne LBB0_20
## %bb.24: ## in Loop: Header=BB0_21 Depth=1
movslq %ebx, %rax
movq (%rsi,%rax,8), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, (%rax)
jne LBB0_57
## %bb.25: ## in Loop: Header=BB0_21 Depth=1
decl %ebx
movslq %ebx, %rax
movq (%rsi,%rax,8), %rax
movq 8(%rax), %rax
movq (%rax), %rdi
movq -104(%rbp), %rsi ## 8-byte Reload
callq _strcasecmp
movq -48(%rbp), %rsi ## 8-byte Reload
testq %rax, %rax
jne LBB0_20
jmp LBB0_57
LBB0_26:
leal -2(%r14), %eax
movl %r9d, %edx
subq %rcx, %rdx
cmpl %eax, %edx
jge LBB0_70
## %bb.27:
movl %r8d, %r13d
subq %rcx, %r13
movq _TK_LITERAL@GOTPCREL(%rip), %rax
movq (%rax), %r15
movq _TK_EQ@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq _TK_OBRACE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq _TK_DOT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movslq %edx, %rax
leaq (%rsi,%rax,8), %r12
movl %r14d, %ebx
negl %ebx
jmp LBB0_29
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_29 Depth=1
addq $8, %r12
leal (%rbx,%r13), %eax
incl %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
cmpl $3, %eax
je LBB0_70
LBB0_29: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rax
cmpq %r15, (%rax)
jne LBB0_28
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movq 8(%rax), %rax
movq (%rax), %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
callq _strcasecmp
movq -48(%rbp), %rcx ## 8-byte Reload
testq %rax, %rax
jne LBB0_28
## %bb.31: ## in Loop: Header=BB0_29 Depth=1
leal -4(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq -88(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, (%rax)
jne LBB0_34
## %bb.32: ## in Loop: Header=BB0_29 Depth=1
leal -6(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq -80(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, (%rax)
jne LBB0_68
## %bb.33: ## in Loop: Header=BB0_29 Depth=1
leal -7(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq 8(%rax), %rax
movq (%rax), %rdi
movq -104(%rbp), %rsi ## 8-byte Reload
callq _strcasecmp
testq %rax, %rax
jne LBB0_28
jmp LBB0_68
LBB0_34: ## in Loop: Header=BB0_29 Depth=1
leal -2(%r13), %ecx
cmpl %r14d, %ecx
jge LBB0_28
## %bb.35: ## in Loop: Header=BB0_29 Depth=1
movq 8(%rax), %rax
movq (%rax), %rdi
movl %ecx, -72(%rbp) ## 4-byte Spill
leaq L_.str(%rip), %rsi
callq _strcasecmp
movl -72(%rbp), %esi ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
testq %rax, %rax
jne LBB0_28
## %bb.36: ## in Loop: Header=BB0_29 Depth=1
leal -3(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, (%rax)
jne LBB0_28
## %bb.37:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _g_array_append_val
movq -48(%rbp), %rcx ## 8-byte Reload
cmpl %r14d, %r13d
jge LBB0_70
## %bb.38:
decl %r13d
movq _TK_CBRACE@GOTPCREL(%rip), %rbx
LBB0_39: ## =>This Inner Loop Header: Depth=1
movslq %r13d, %rax
movq (%rcx,%rax,8), %rax
movq (%rax), %rax
cmpq (%rbx), %rax
je LBB0_70
## %bb.40: ## in Loop: Header=BB0_39 Depth=1
leal 1(%r13), %esi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _g_array_append_val
movq -48(%rbp), %rcx ## 8-byte Reload
leal 2(%r13), %eax
addl $3, %r13d
cmpl %r14d, %r13d
movl %eax, %r13d
jl LBB0_39
jmp LBB0_70
LBB0_41:
leal -2(%r14), %eax
movl %r9d, %edx
subq %rcx, %rdx
cmpl %eax, %edx
jge LBB0_70
## %bb.42:
movl %r8d, %r13d
subq %rcx, %r13
movq _TK_LITERAL@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movq _TK_EQ@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq _TK_OBRACE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movq _TK_DOT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movslq %edx, %rax
leaq (%rsi,%rax,8), %r12
movl %r14d, %r15d
negl %r15d
jmp LBB0_44
.p2align 4, 0x90
LBB0_43: ## in Loop: Header=BB0_44 Depth=1
addq $8, %r12
leal (%r15,%r13), %eax
incl %eax
movl %r13d, %ecx
incl %ecx
movl %ecx, %r13d
cmpl $3, %eax
je LBB0_70
LBB0_44: ## =>This Inner Loop Header: Depth=1
movq (%r12), %rax
cmpq %rbx, (%rax)
jne LBB0_43
## %bb.45: ## in Loop: Header=BB0_44 Depth=1
movq 8(%rax), %rax
movq (%rax), %rdi
movq -96(%rbp), %rsi ## 8-byte Reload
callq _strcasecmp
movq -48(%rbp), %rcx ## 8-byte Reload
testq %rax, %rax
jne LBB0_43
## %bb.46: ## in Loop: Header=BB0_44 Depth=1
leal -4(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq -88(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, (%rax)
jne LBB0_49
## %bb.47: ## in Loop: Header=BB0_44 Depth=1
leal -6(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq -80(%rbp), %rdx ## 8-byte Reload
cmpq %rdx, (%rax)
jne LBB0_68
## %bb.48: ## in Loop: Header=BB0_44 Depth=1
leal -7(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq 8(%rax), %rax
movq (%rax), %rdi
movq -104(%rbp), %rsi ## 8-byte Reload
callq _strcasecmp
testq %rax, %rax
jne LBB0_43
jmp LBB0_68
LBB0_49: ## in Loop: Header=BB0_44 Depth=1
leal -2(%r13), %ecx
cmpl %r14d, %ecx
jge LBB0_43
## %bb.50: ## in Loop: Header=BB0_44 Depth=1
movq 8(%rax), %rax
movq (%rax), %rdi
movl %ecx, -72(%rbp) ## 4-byte Spill
leaq L_.str(%rip), %rsi
callq _strcasecmp
movl -72(%rbp), %esi ## 4-byte Reload
movq -48(%rbp), %rcx ## 8-byte Reload
testq %rax, %rax
jne LBB0_43
## %bb.51: ## in Loop: Header=BB0_44 Depth=1
leal -3(%r13), %eax
cltq
movq (%rcx,%rax,8), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, (%rax)
jne LBB0_43
## %bb.52:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _g_array_append_val
movq -48(%rbp), %rcx ## 8-byte Reload
cmpl %r14d, %r13d
jge LBB0_70
## %bb.53:
decl %r13d
movq _TK_CBRACE@GOTPCREL(%rip), %rbx
LBB0_54: ## =>This Inner Loop Header: Depth=1
movslq %r13d, %rax
movq (%rcx,%rax,8), %rax
movq (%rax), %rax
cmpq (%rbx), %rax
je LBB0_70
## %bb.55: ## in Loop: Header=BB0_54 Depth=1
leal 1(%r13), %esi
movq -56(%rbp), %rdi ## 8-byte Reload
callq _g_array_append_val
movq -48(%rbp), %rcx ## 8-byte Reload
leal 2(%r13), %eax
addl $3, %r13d
cmpl %r14d, %r13d
movl %eax, %r13d
jl LBB0_54
jmp LBB0_70
LBB0_56:
movq $-1, %r13
LBB0_57:
subl %r12d, %r13d
incl %r13d
movq -112(%rbp), %r14 ## 8-byte Reload
LBB0_58:
movl %r14d, %eax
decl %eax
cmpl %r12d, %eax
jle LBB0_70
## %bb.59:
movslq %r12d, %r12
movslq %eax, %r15
jmp LBB0_62
.p2align 4, 0x90
LBB0_60: ## in Loop: Header=BB0_62 Depth=1
incq %r12
movq -48(%rbp), %rsi ## 8-byte Reload
cmpq %r15, %r12
je LBB0_70
LBB0_62: ## =>This Inner Loop Header: Depth=1
movq (%rsi,%r12,8), %rax
movq 8(%rax), %rax
movq (%rax), %rbx
movq %rbx, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_64
## %bb.63: ## in Loop: Header=BB0_62 Depth=1
movq %rbx, %rdi
leaq L_.str.2(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
jne LBB0_60
LBB0_64: ## in Loop: Header=BB0_62 Depth=1
movq -48(%rbp), %rsi ## 8-byte Reload
movq 8(%rsi,%r12,8), %rax
movq -88(%rbp), %rcx ## 8-byte Reload
cmpq %rcx, (%rax)
je LBB0_66
## %bb.65: ## in Loop: Header=BB0_62 Depth=1
incq %r12
cmpq %r15, %r12
jne LBB0_62
jmp LBB0_70
LBB0_66:
addl %r12d, %r13d
cmpl %r14d, %r13d
jge LBB0_70
jmp LBB0_69
LBB0_68:
addl $-3, %r13d
LBB0_69:
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _g_array_append_val
LBB0_70:
movq -56(%rbp), %rax ## 8-byte Reload
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _TK_SQL_WHERE,8,3 ## @TK_SQL_WHERE
.comm _TK_LITERAL,8,3 ## @TK_LITERAL
.comm _TK_EQ,8,3 ## @TK_EQ
.comm _TK_DOT,8,3 ## @TK_DOT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "IN"
.comm _TK_OBRACE,8,3 ## @TK_OBRACE
.comm _TK_CBRACE,8,3 ## @TK_CBRACE
.comm _TK_SQL_SET,8,3 ## @TK_SQL_SET
L_.str.1: ## @.str.1
.asciz "VALUES"
L_.str.2: ## @.str.2
.asciz "VALUE"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_column_index ; -- Begin function get_column_index
.p2align 2
_get_column_index: ; @get_column_index
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x4
mov x23, x3
mov x20, x2
mov x19, x1
mov x24, x0
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov x1, x0
mov w2, #4
bl _g_array_new
str x0, [sp, #24] ; 8-byte Folded Spill
ldr x25, [x24, #8]
ldrsw x24, [x24]
cmp w23, #3
b.eq LBB0_7
; %bb.1:
cmp w23, #2
b.eq LBB0_13
; %bb.2:
cmp w23, #1
b.ne LBB0_69
; %bb.3:
cmp w24, w22
b.le LBB0_69
; %bb.4:
Lloh3:
adrp x8, _TK_SQL_WHERE@GOTPAGE
Lloh4:
ldr x8, [x8, _TK_SQL_WHERE@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
add w26, w22, #6
add x9, x25, w22, sxtw #3
sub x10, x24, w22, sxtw
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9]
ldr x11, [x11]
cmp x11, x8
b.eq LBB0_26
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add w26, w26, #1
add x9, x9, #8
subs x10, x10, #1
b.ne LBB0_5
b LBB0_69
LBB0_7:
ldr x8, [x25, x22, lsl #3]
ldr x8, [x8]
Lloh6:
adrp x9, _TK_SQL_SET@GOTPAGE
Lloh7:
ldr x9, [x9, _TK_SQL_SET@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_17
; %bb.8:
sub w23, w24, #2
add w8, w22, #1
cmp w8, w23
b.ge LBB0_69
; %bb.9:
Lloh9:
adrp x9, _TK_LITERAL@GOTPAGE
Lloh10:
ldr x9, [x9, _TK_LITERAL@GOTPAGEOFF]
Lloh11:
ldr x19, [x9]
add w21, w22, #3
add x22, x25, w8, sxtw #3
b LBB0_11
LBB0_10: ; in Loop: Header=BB0_11 Depth=1
sub w8, w21, #1
add w21, w21, #1
add x22, x22, #8
cmp w23, w8
b.le LBB0_69
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr x9, [x8]
cmp x9, x19
b.ne LBB0_10
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x8, #8]
ldr x0, [x8]
mov x1, x20
bl _strcasecmp
cbnz x0, LBB0_10
b LBB0_68
LBB0_13:
cmp w24, w22
b.le LBB0_69
; %bb.14:
Lloh12:
adrp x8, _TK_SQL_WHERE@GOTPAGE
Lloh13:
ldr x8, [x8, _TK_SQL_WHERE@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
add w26, w22, #6
add x9, x25, w22, sxtw #3
sub x10, x24, w22, sxtw
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr x11, [x9]
ldr x11, [x11]
cmp x11, x8
b.eq LBB0_41
; %bb.16: ; in Loop: Header=BB0_15 Depth=1
add w26, w26, #1
add x9, x9, #8
subs x10, x10, #1
b.ne LBB0_15
b LBB0_69
LBB0_17:
Lloh15:
adrp x9, _TK_OBRACE@GOTPAGE
Lloh16:
ldr x9, [x9, _TK_OBRACE@GOTPAGEOFF]
Lloh17:
ldr x23, [x9]
cmp x8, x23
b.ne LBB0_56
; %bb.18:
add w8, w22, #1
cmp w8, w24
b.ge LBB0_57
; %bb.19:
str x19, [sp, #8] ; 8-byte Folded Spill
Lloh18:
adrp x8, _TK_CBRACE@GOTPAGE
Lloh19:
ldr x8, [x8, _TK_CBRACE@GOTPAGEOFF]
Lloh20:
ldr x26, [x8]
Lloh21:
adrp x8, _TK_LITERAL@GOTPAGE
Lloh22:
ldr x8, [x8, _TK_LITERAL@GOTPAGEOFF]
Lloh23:
ldr x27, [x8]
Lloh24:
adrp x8, _TK_DOT@GOTPAGE
Lloh25:
ldr x8, [x8, _TK_DOT@GOTPAGEOFF]
Lloh26:
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
sub w28, w24, #1
mov x21, x22
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=1
add w21, w21, #1
cmp w28, w21
b.eq LBB0_57
LBB0_21: ; =>This Inner Loop Header: Depth=1
add w19, w21, #1
ldr x8, [x25, w19, sxtw #3]
ldr x9, [x8]
cmp x9, x26
b.eq LBB0_57
; %bb.22: ; in Loop: Header=BB0_21 Depth=1
cmp x9, x27
b.ne LBB0_20
; %bb.23: ; in Loop: Header=BB0_21 Depth=1
ldr x8, [x8, #8]
ldr x0, [x8]
mov x1, x20
bl _strcasecmp
cbnz x0, LBB0_20
; %bb.24: ; in Loop: Header=BB0_21 Depth=1
sxtw x19, w19
ldr x8, [x25, w21, sxtw #3]
ldr x8, [x8]
ldr x9, [sp, #16] ; 8-byte Folded Reload
cmp x8, x9
b.ne LBB0_58
; %bb.25: ; in Loop: Header=BB0_21 Depth=1
sub w8, w21, #1
ldr x8, [x25, w8, sxtw #3]
ldr x8, [x8, #8]
ldr x0, [x8]
ldr x1, [sp, #8] ; 8-byte Folded Reload
bl _strcasecmp
cbnz x0, LBB0_20
b LBB0_58
LBB0_26:
sub w9, w24, #2
sub w8, w26, #5
cmp w8, w9
b.ge LBB0_69
; %bb.27:
Lloh27:
adrp x9, _TK_LITERAL@GOTPAGE
Lloh28:
ldr x9, [x9, _TK_LITERAL@GOTPAGEOFF]
Lloh29:
adrp x10, _TK_EQ@GOTPAGE
Lloh30:
ldr x10, [x10, _TK_EQ@GOTPAGEOFF]
Lloh31:
ldr x27, [x9]
Lloh32:
ldr x21, [x10]
Lloh33:
adrp x9, _TK_OBRACE@GOTPAGE
Lloh34:
ldr x9, [x9, _TK_OBRACE@GOTPAGEOFF]
Lloh35:
adrp x10, _TK_DOT@GOTPAGE
Lloh36:
ldr x10, [x10, _TK_DOT@GOTPAGEOFF]
Lloh37:
ldr x11, [x9]
Lloh38:
ldr x9, [x10]
stp x11, x9, [sp, #8] ; 16-byte Folded Spill
add x22, x25, w8, sxtw #3
neg w28, w24
b LBB0_29
LBB0_28: ; in Loop: Header=BB0_29 Depth=1
add w26, w26, #1
add x22, x22, #8
add w8, w28, w26
cmp w8, #3
b.eq LBB0_69
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr x9, [x8]
cmp x9, x27
b.ne LBB0_28
; %bb.30: ; in Loop: Header=BB0_29 Depth=1
ldr x8, [x8, #8]
ldr x0, [x8]
mov x1, x20
bl _strcasecmp
cbnz x0, LBB0_28
; %bb.31: ; in Loop: Header=BB0_29 Depth=1
sub w8, w26, #4
ldr x8, [x25, w8, sxtw #3]
ldr x9, [x8]
cmp x9, x21
b.ne LBB0_34
; %bb.32: ; in Loop: Header=BB0_29 Depth=1
sub w8, w26, #6
ldr x8, [x25, w8, sxtw #3]
ldr x8, [x8]
ldr x9, [sp, #16] ; 8-byte Folded Reload
cmp x8, x9
b.ne LBB0_67
; %bb.33: ; in Loop: Header=BB0_29 Depth=1
sub w8, w26, #7
ldr x8, [x25, w8, sxtw #3]
ldr x8, [x8, #8]
ldr x0, [x8]
mov x1, x19
bl _strcasecmp
cbnz x0, LBB0_28
b LBB0_67
LBB0_34: ; in Loop: Header=BB0_29 Depth=1
sub w23, w26, #2
cmp w23, w24
b.ge LBB0_28
; %bb.35: ; in Loop: Header=BB0_29 Depth=1
ldr x8, [x8, #8]
ldr x0, [x8]
Lloh39:
adrp x1, l_.str@PAGE
Lloh40:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
cbnz x0, LBB0_28
; %bb.36: ; in Loop: Header=BB0_29 Depth=1
sub w8, w26, #3
ldr x8, [x25, w8, sxtw #3]
ldr x8, [x8]
ldr x9, [sp, #8] ; 8-byte Folded Reload
cmp x8, x9
b.ne LBB0_28
; %bb.37:
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x1, x23
bl _g_array_append_val
cmp w26, w24
b.ge LBB0_69
; %bb.38:
sub w19, w26, #1
Lloh41:
adrp x20, _TK_CBRACE@GOTPAGE
Lloh42:
ldr x20, [x20, _TK_CBRACE@GOTPAGEOFF]
LBB0_39: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25, w19, sxtw #3]
ldr x8, [x8]
ldr x9, [x20]
cmp x8, x9
b.eq LBB0_69
; %bb.40: ; in Loop: Header=BB0_39 Depth=1
add w1, w19, #1
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _g_array_append_val
add w8, w19, #3
add w19, w19, #2
cmp w8, w24
b.lt LBB0_39
b LBB0_69
LBB0_41:
sub w9, w24, #2
sub w8, w26, #5
cmp w8, w9
b.ge LBB0_69
; %bb.42:
Lloh43:
adrp x9, _TK_LITERAL@GOTPAGE
Lloh44:
ldr x9, [x9, _TK_LITERAL@GOTPAGEOFF]
Lloh45:
adrp x10, _TK_EQ@GOTPAGE
Lloh46:
ldr x10, [x10, _TK_EQ@GOTPAGEOFF]
Lloh47:
ldr x27, [x9]
Lloh48:
ldr x21, [x10]
Lloh49:
adrp x9, _TK_OBRACE@GOTPAGE
Lloh50:
ldr x9, [x9, _TK_OBRACE@GOTPAGEOFF]
Lloh51:
adrp x10, _TK_DOT@GOTPAGE
Lloh52:
ldr x10, [x10, _TK_DOT@GOTPAGEOFF]
Lloh53:
ldr x11, [x9]
Lloh54:
ldr x9, [x10]
stp x11, x9, [sp, #8] ; 16-byte Folded Spill
add x22, x25, w8, sxtw #3
neg w28, w24
b LBB0_44
LBB0_43: ; in Loop: Header=BB0_44 Depth=1
add w26, w26, #1
add x22, x22, #8
add w8, w28, w26
cmp w8, #3
b.eq LBB0_69
LBB0_44: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22]
ldr x9, [x8]
cmp x9, x27
b.ne LBB0_43
; %bb.45: ; in Loop: Header=BB0_44 Depth=1
ldr x8, [x8, #8]
ldr x0, [x8]
mov x1, x20
bl _strcasecmp
cbnz x0, LBB0_43
; %bb.46: ; in Loop: Header=BB0_44 Depth=1
sub w8, w26, #4
ldr x8, [x25, w8, sxtw #3]
ldr x9, [x8]
cmp x9, x21
b.ne LBB0_49
; %bb.47: ; in Loop: Header=BB0_44 Depth=1
sub w8, w26, #6
ldr x8, [x25, w8, sxtw #3]
ldr x8, [x8]
ldr x9, [sp, #16] ; 8-byte Folded Reload
cmp x8, x9
b.ne LBB0_67
; %bb.48: ; in Loop: Header=BB0_44 Depth=1
sub w8, w26, #7
ldr x8, [x25, w8, sxtw #3]
ldr x8, [x8, #8]
ldr x0, [x8]
mov x1, x19
bl _strcasecmp
cbnz x0, LBB0_43
b LBB0_67
LBB0_49: ; in Loop: Header=BB0_44 Depth=1
sub w23, w26, #2
cmp w23, w24
b.ge LBB0_43
; %bb.50: ; in Loop: Header=BB0_44 Depth=1
ldr x8, [x8, #8]
ldr x0, [x8]
Lloh55:
adrp x1, l_.str@PAGE
Lloh56:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
cbnz x0, LBB0_43
; %bb.51: ; in Loop: Header=BB0_44 Depth=1
sub w8, w26, #3
ldr x8, [x25, w8, sxtw #3]
ldr x8, [x8]
ldr x9, [sp, #8] ; 8-byte Folded Reload
cmp x8, x9
b.ne LBB0_43
; %bb.52:
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x1, x23
bl _g_array_append_val
cmp w26, w24
b.ge LBB0_69
; %bb.53:
sub w19, w26, #1
Lloh57:
adrp x20, _TK_CBRACE@GOTPAGE
Lloh58:
ldr x20, [x20, _TK_CBRACE@GOTPAGEOFF]
LBB0_54: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25, w19, sxtw #3]
ldr x8, [x8]
ldr x9, [x20]
cmp x8, x9
b.eq LBB0_69
; %bb.55: ; in Loop: Header=BB0_54 Depth=1
add w1, w19, #1
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _g_array_append_val
add w8, w19, #3
add w19, w19, #2
cmp w8, w24
b.lt LBB0_54
b LBB0_69
LBB0_56:
mov w26, #2
b LBB0_59
LBB0_57:
mov x19, #-1
LBB0_58:
sub w8, w19, w22
add w26, w8, #1
LBB0_59:
sub w8, w24, #1
cmp w8, w22
b.le LBB0_69
; %bb.60:
sxtw x28, w22
sxtw x27, w8
Lloh59:
adrp x20, l_.str.1@PAGE
Lloh60:
add x20, x20, l_.str.1@PAGEOFF
Lloh61:
adrp x21, l_.str.2@PAGE
Lloh62:
add x21, x21, l_.str.2@PAGEOFF
b LBB0_63
LBB0_61: ; in Loop: Header=BB0_63 Depth=1
add x8, x28, #1
ldr x9, [x25, x8, lsl #3]
ldr x9, [x9]
cmp x9, x23
b.eq LBB0_66
LBB0_62: ; in Loop: Header=BB0_63 Depth=1
mov x28, x8
cmp x8, x27
b.eq LBB0_69
LBB0_63: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25, x28, lsl #3]
ldr x8, [x8, #8]
ldr x22, [x8]
mov x0, x22
mov x1, x20
bl _strcasecmp
cbz x0, LBB0_61
; %bb.64: ; in Loop: Header=BB0_63 Depth=1
mov x0, x22
mov x1, x21
bl _strcasecmp
cbz x0, LBB0_61
; %bb.65: ; in Loop: Header=BB0_63 Depth=1
add x8, x28, #1
b LBB0_62
LBB0_66:
add w21, w26, w28
cmp w21, w24
b.ge LBB0_69
b LBB0_68
LBB0_67:
sub w21, w26, #3
LBB0_68:
ldr x0, [sp, #24] ; 8-byte Folded Reload
mov x1, x21
bl _g_array_append_val
LBB0_69:
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh 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 Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh37
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh31
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh54
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh53
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh48
.loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh47
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpAdd Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _TK_SQL_WHERE,8,3 ; @TK_SQL_WHERE
.comm _TK_LITERAL,8,3 ; @TK_LITERAL
.comm _TK_EQ,8,3 ; @TK_EQ
.comm _TK_DOT,8,3 ; @TK_DOT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "IN"
.comm _TK_OBRACE,8,3 ; @TK_OBRACE
.comm _TK_CBRACE,8,3 ; @TK_CBRACE
.comm _TK_SQL_SET,8,3 ; @TK_SQL_SET
l_.str.1: ; @.str.1
.asciz "VALUES"
l_.str.2: ; @.str.2
.asciz "VALUE"
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_get_column_index.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_table_index ## -- Begin function get_table_index
.p2align 4, 0x90
_get_table_index: ## @get_table_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl $-1, (%rdx)
movl $-1, (%rsi)
movslq (%rdi), %r15
xorl %r13d, %r13d
cmpq $2, %r15
jl LBB0_52
## %bb.1:
movq 8(%rdi), %r14
movl %r15d, %ecx
movabsq $4294967296, %r11 ## imm = 0x100000000
movq _TK_COMMENT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $1, %r12d
movabsq $8589934592, %rbx ## imm = 0x200000000
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%r14,%r12,8), %rdi
cmpq %rax, (%rdi)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %r12
addq %r11, %rbx
cmpq %r12, %rcx
jne LBB0_2
jmp LBB0_52
LBB0_4:
cmpl %r12d, %ecx
jle LBB0_52
## %bb.5:
movq (%r14,%r12,8), %r8
movq (%r8), %r10
movq _TK_SQL_SELECT@GOTPCREL(%rip), %rdi
cmpq (%rdi), %r10
je LBB0_13
## %bb.6:
movq _TK_SQL_DELETE@GOTPCREL(%rip), %rdi
cmpq (%rdi), %r10
je LBB0_13
## %bb.7:
movq _TK_SQL_UPDATE@GOTPCREL(%rip), %rdi
cmpq (%rdi), %r10
jne LBB0_24
## %bb.8:
movq _TK_SQL_SET@GOTPCREL(%rip), %rdi
movq (%rdi), %r9
movl $2, %r13d
cmpq %r9, %r10
je LBB0_52
## %bb.9:
decq %r12
movq _TK_LITERAL@GOTPCREL(%rip), %rdi
movq (%rdi), %r8
movslq %ecx, %rdi
addq $-2, %rdi
LBB0_10: ## =>This Inner Loop Header: Depth=1
cmpq %r8, %r10
je LBB0_42
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
cmpq %r12, %rdi
je LBB0_52
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movq 16(%r14,%r12,8), %rax
movq (%rax), %r10
addq %r11, %rbx
incq %r12
cmpq %r9, %r10
jne LBB0_10
jmp LBB0_52
LBB0_13:
movq _TK_SQL_FROM@GOTPCREL(%rip), %rdi
movq (%rdi), %rdi
movslq %ecx, %r8
cmpq %rdi, %r10
je LBB0_17
## %bb.14:
movl $2, %ecx
subq %r8, %rcx
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
leaq (%rcx,%r12), %rax
cmpq $1, %rax
je LBB0_40
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq 8(%r14,%r12,8), %rax
incq %r12
cmpq %rdi, (%rax)
jne LBB0_15
LBB0_17:
movq _TK_SQL_WHERE@GOTPCREL(%rip), %rcx
movq (%rcx), %r9
movq _TK_LITERAL@GOTPCREL(%rip), %rcx
movq (%rcx), %rbx
movq %r12, %rdi
shlq $32, %rdi
movslq %r12d, %rcx
addq %r11, %rdi
incq %rcx
movl $1, %r13d
.p2align 4, 0x90
LBB0_18: ## =>This Inner Loop Header: Depth=1
cmpq %r8, %rcx
jge LBB0_52
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movq (%r14,%rcx,8), %rax
movq (%rax), %rax
cmpq %r9, %rax
je LBB0_52
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
addq %r11, %rdi
incl %r12d
incq %rcx
cmpq %rbx, %rax
jne LBB0_18
## %bb.21:
leal 2(%r12), %r8d
movl $1, %ebx
cmpl %r15d, %r8d
jge LBB0_41
## %bb.22:
sarq $29, %rdi
movq (%r14,%rdi), %rax
movq (%rax), %rax
movq _TK_DOT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_41
## %bb.23:
movl %r12d, (%rsi)
jmp LBB0_51
LBB0_24:
movq _TK_SQL_INSERT@GOTPCREL(%rip), %rax
cmpq (%rax), %r10
je LBB0_26
## %bb.25:
movq _TK_SQL_REPLACE@GOTPCREL(%rip), %rax
cmpq (%rax), %r10
jne LBB0_52
LBB0_26:
movq %rsi, -88(%rbp) ## 8-byte Spill
movq %rdx, -56(%rbp) ## 8-byte Spill
movq _TK_LITERAL@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movq _TK_FUNCTION@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq _TK_DOT@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq _TK_OBRACE@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movq _TK_SQL_SET@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movq %r8, -48(%rbp) ## 8-byte Spill
movq 8(%r8), %rax
movq (%rax), %rbx
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strcasecmp
movl $3, %r13d
testq %rax, %rax
je LBB0_52
## %bb.27:
leal -1(%r15), %eax
movq %rax, -64(%rbp) ## 8-byte Spill
cltq
movq %rax, -96(%rbp) ## 8-byte Spill
LBB0_28: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_52
## %bb.29: ## in Loop: Header=BB0_28 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
cmpq -120(%rbp), %rax ## 8-byte Folded Reload
jne LBB0_32
## %bb.30: ## in Loop: Header=BB0_28 Depth=1
leaq 2(%r12), %rax
cmpq %r15, %rax
movq -56(%rbp), %rdx ## 8-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
jge LBB0_33
## %bb.31: ## in Loop: Header=BB0_28 Depth=1
movq 8(%r14,%r12,8), %rcx
movq -72(%rbp), %rdi ## 8-byte Reload
cmpq %rdi, (%rcx)
jne LBB0_33
jmp LBB0_50
LBB0_32: ## in Loop: Header=BB0_28 Depth=1
cmpq -80(%rbp), %rax ## 8-byte Folded Reload
movq -56(%rbp), %rdx ## 8-byte Reload
jne LBB0_38
LBB0_33: ## in Loop: Header=BB0_28 Depth=1
movl $3, %ebx
cmpq -96(%rbp), %r12 ## 8-byte Folded Reload
je LBB0_48
## %bb.34: ## in Loop: Header=BB0_28 Depth=1
movq 8(%r14,%r12,8), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq 8(%rax), %rax
movq (%rax), %rbx
movq %rbx, %rdi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_47
## %bb.35: ## in Loop: Header=BB0_28 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %rbx, %rdi
leaq L_.str.1(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
movq -48(%rbp), %rax ## 8-byte Reload
je LBB0_47
## %bb.36: ## in Loop: Header=BB0_28 Depth=1
cmpq -112(%rbp), %rax ## 8-byte Folded Reload
je LBB0_47
## %bb.37: ## in Loop: Header=BB0_28 Depth=1
cmpq -104(%rbp), %rax ## 8-byte Folded Reload
je LBB0_47
LBB0_38: ## in Loop: Header=BB0_28 Depth=1
incq %r12
cmpq %r15, %r12
je LBB0_52
## %bb.39: ## in Loop: Header=BB0_28 Depth=1
movq (%r14,%r12,8), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq 8(%rax), %rax
movq (%rax), %rbx
movq %rbx, %rdi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
jne LBB0_28
jmp LBB0_52
LBB0_40:
movl $1, %r13d
jmp LBB0_52
LBB0_42:
leaq 1(%r12), %r8
addq $3, %r12
cmpl %ecx, %r12d
jge LBB0_46
## %bb.43:
sarq $29, %rbx
movq (%r14,%rbx), %rax
movq (%rax), %rax
movq _TK_DOT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_46
## %bb.44:
movl %r8d, (%rsi)
movl $2, %ebx
LBB0_41:
movl %r12d, %r8d
jmp LBB0_51
LBB0_46:
movl $2, %ebx
jmp LBB0_51
LBB0_47:
movl %r12d, %r8d
movq -56(%rbp), %rdx ## 8-byte Reload
movl $3, %ebx
jmp LBB0_51
LBB0_48:
movq -64(%rbp), %r8 ## 8-byte Reload
jmp LBB0_51
LBB0_50:
movl %r12d, (%rsi)
movl $3, %ebx
movl %eax, %r8d
LBB0_51:
movl %r8d, (%rdx)
movl %ebx, %r13d
LBB0_52:
movl %r13d, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TK_COMMENT,8,3 ## @TK_COMMENT
.comm _TK_SQL_SELECT,8,3 ## @TK_SQL_SELECT
.comm _TK_SQL_DELETE,8,3 ## @TK_SQL_DELETE
.comm _TK_SQL_FROM,8,3 ## @TK_SQL_FROM
.comm _TK_SQL_WHERE,8,3 ## @TK_SQL_WHERE
.comm _TK_LITERAL,8,3 ## @TK_LITERAL
.comm _TK_DOT,8,3 ## @TK_DOT
.comm _TK_SQL_UPDATE,8,3 ## @TK_SQL_UPDATE
.comm _TK_SQL_SET,8,3 ## @TK_SQL_SET
.comm _TK_SQL_INSERT,8,3 ## @TK_SQL_INSERT
.comm _TK_SQL_REPLACE,8,3 ## @TK_SQL_REPLACE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "VALUES"
L_.str.1: ## @.str.1
.asciz "VALUE"
.comm _TK_FUNCTION,8,3 ## @TK_FUNCTION
.comm _TK_OBRACE,8,3 ## @TK_OBRACE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _get_table_index ; -- Begin function get_table_index
.p2align 2
_get_table_index: ; @get_table_index
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x28, x27, [sp, #32] ; 16-byte Folded Spill
stp x26, x25, [sp, #48] ; 16-byte Folded Spill
stp x24, x23, [sp, #64] ; 16-byte Folded Spill
stp x22, x21, [sp, #80] ; 16-byte Folded Spill
stp x20, x19, [sp, #96] ; 16-byte Folded Spill
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov w8, #-1
str w8, [x2]
str w8, [x1]
ldr w8, [x0]
cmp w8, #2
b.lt LBB0_36
; %bb.1:
mov x19, x2
mov x20, x1
mov x9, #0
ldr x24, [x0, #8]
Lloh0:
adrp x10, _TK_COMMENT@GOTPAGE
Lloh1:
ldr x10, [x10, _TK_COMMENT@GOTPAGEOFF]
sxtw x25, w8
Lloh2:
ldr x11, [x10]
add x12, x24, #8
sub x13, x8, #1
mov x10, #8589934592
mov x14, #4294967296
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x15, [x12, x9, lsl #3]
ldr x15, [x15]
cmp x15, x11
b.ne LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x10, x10, x14
add x9, x9, #1
cmp x13, x9
b.ne LBB0_2
b LBB0_36
LBB0_4:
add w11, w9, #1
cmp w25, w11
b.le LBB0_36
; %bb.5:
add x21, x9, #1
add x11, x24, x9, lsl #3
ldr x22, [x11, #8]
ldr x11, [x22]
Lloh3:
adrp x12, _TK_SQL_SELECT@GOTPAGE
Lloh4:
ldr x12, [x12, _TK_SQL_SELECT@GOTPAGEOFF]
Lloh5:
ldr x12, [x12]
Lloh6:
adrp x13, _TK_SQL_DELETE@GOTPAGE
Lloh7:
ldr x13, [x13, _TK_SQL_DELETE@GOTPAGEOFF]
Lloh8:
ldr x13, [x13]
cmp x11, x12
ccmp x11, x13, #4, ne
b.ne LBB0_18
; %bb.6:
Lloh9:
adrp x8, _TK_SQL_FROM@GOTPAGE
Lloh10:
ldr x8, [x8, _TK_SQL_FROM@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
cmp x11, x8
b.eq LBB0_11
; %bb.7:
add x9, x9, #2
LBB0_8: ; =>This Inner Loop Header: Depth=1
cmp x25, x9
b.eq LBB0_21
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr x10, [x24, x9, lsl #3]
ldr x10, [x10]
add x9, x9, #1
cmp x10, x8
b.ne LBB0_8
; %bb.10:
sub x21, x9, #1
LBB0_11:
Lloh12:
adrp x8, _TK_SQL_WHERE@GOTPAGE
Lloh13:
ldr x8, [x8, _TK_SQL_WHERE@GOTPAGEOFF]
Lloh14:
ldr x9, [x8]
Lloh15:
adrp x8, _TK_LITERAL@GOTPAGE
Lloh16:
ldr x8, [x8, _TK_LITERAL@GOTPAGEOFF]
Lloh17:
ldr x10, [x8]
sxtw x26, w21
mov x11, #4294967296
add x8, x11, x21, lsl #32
add x12, x26, #1
; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_12: ; =>This Inner Loop Header: Depth=1
cmp x12, x25
b.ge LBB0_21
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x13, [x24, x12, lsl #3]
ldr x13, [x13]
cmp x13, x9
b.eq LBB0_21
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
add x8, x8, x11
add w26, w26, #1
add x12, x12, #1
cmp x13, x10
b.ne LBB0_12
; %bb.15:
add w9, w26, #2
cmp w9, w25
b.ge LBB0_42
; %bb.16:
asr x8, x8, #29
ldr x8, [x24, x8]
ldr x8, [x8]
Lloh18:
adrp x10, _TK_DOT@GOTPAGE
Lloh19:
ldr x10, [x10, _TK_DOT@GOTPAGEOFF]
Lloh20:
ldr x10, [x10]
cmp x8, x10
b.ne LBB0_42
; %bb.17:
str w26, [x20]
mov w0, #1
mov x26, x9
b LBB0_51
LBB0_18:
Lloh21:
adrp x12, _TK_SQL_UPDATE@GOTPAGE
Lloh22:
ldr x12, [x12, _TK_SQL_UPDATE@GOTPAGEOFF]
Lloh23:
ldr x12, [x12]
cmp x11, x12
b.ne LBB0_22
; %bb.19:
Lloh24:
adrp x12, _TK_SQL_SET@GOTPAGE
Lloh25:
ldr x12, [x12, _TK_SQL_SET@GOTPAGEOFF]
Lloh26:
ldr x12, [x12]
cmp x11, x12
b.ne LBB0_38
LBB0_20:
mov w0, #2
b LBB0_37
LBB0_21:
mov w0, #1
b LBB0_37
LBB0_22:
Lloh27:
adrp x8, _TK_SQL_INSERT@GOTPAGE
Lloh28:
ldr x8, [x8, _TK_SQL_INSERT@GOTPAGEOFF]
Lloh29:
ldr x8, [x8]
Lloh30:
adrp x9, _TK_SQL_REPLACE@GOTPAGE
Lloh31:
ldr x9, [x9, _TK_SQL_REPLACE@GOTPAGEOFF]
Lloh32:
ldr x9, [x9]
cmp x11, x8
ccmp x11, x9, #4, ne
b.ne LBB0_36
; %bb.23:
Lloh33:
adrp x8, _TK_LITERAL@GOTPAGE
Lloh34:
ldr x8, [x8, _TK_LITERAL@GOTPAGEOFF]
Lloh35:
ldr x28, [x8]
Lloh36:
adrp x8, _TK_FUNCTION@GOTPAGE
Lloh37:
ldr x8, [x8, _TK_FUNCTION@GOTPAGEOFF]
Lloh38:
ldr x8, [x8]
str x8, [sp, #8] ; 8-byte Folded Spill
Lloh39:
adrp x8, _TK_DOT@GOTPAGE
Lloh40:
ldr x8, [x8, _TK_DOT@GOTPAGEOFF]
Lloh41:
ldr x8, [x8]
str x8, [sp] ; 8-byte Folded Spill
Lloh42:
adrp x8, _TK_OBRACE@GOTPAGE
Lloh43:
ldr x8, [x8, _TK_OBRACE@GOTPAGEOFF]
Lloh44:
ldr x8, [x8]
str x8, [sp, #24] ; 8-byte Folded Spill
Lloh45:
adrp x8, _TK_SQL_SET@GOTPAGE
Lloh46:
ldr x8, [x8, _TK_SQL_SET@GOTPAGEOFF]
Lloh47:
ldr x8, [x8]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x8, [x22, #8]
ldr x23, [x8]
Lloh48:
adrp x1, l_.str@PAGE
Lloh49:
add x1, x1, l_.str@PAGEOFF
mov x0, x23
bl _strcasecmp
cbz x0, LBB0_43
; %bb.24:
sub x26, x25, #1
LBB0_25: ; =>This Inner Loop Header: Depth=1
mov x0, x23
Lloh50:
adrp x1, l_.str.1@PAGE
Lloh51:
add x1, x1, l_.str.1@PAGEOFF
bl _strcasecmp
cbz x0, LBB0_43
; %bb.26: ; in Loop: Header=BB0_25 Depth=1
ldr x8, [x22]
cmp x8, x28
b.ne LBB0_29
; %bb.27: ; in Loop: Header=BB0_25 Depth=1
add x8, x21, #2
cmp x8, x25
b.ge LBB0_30
; %bb.28: ; in Loop: Header=BB0_25 Depth=1
add x9, x24, x21, lsl #3
ldr x9, [x9, #8]
ldr x9, [x9]
ldr x10, [sp] ; 8-byte Folded Reload
cmp x9, x10
b.ne LBB0_30
b LBB0_50
LBB0_29: ; in Loop: Header=BB0_25 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
cmp x8, x9
b.ne LBB0_34
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
cmp x21, x26
b.eq LBB0_49
; %bb.31: ; in Loop: Header=BB0_25 Depth=1
add x27, x21, #1
ldr x22, [x24, x27, lsl #3]
ldr x8, [x22, #8]
ldr x23, [x8]
mov x0, x23
Lloh52:
adrp x1, l_.str@PAGE
Lloh53:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
cbz x0, LBB0_48
; %bb.32: ; in Loop: Header=BB0_25 Depth=1
ldr x22, [x22]
mov x0, x23
Lloh54:
adrp x1, l_.str.1@PAGE
Lloh55:
add x1, x1, l_.str.1@PAGEOFF
bl _strcasecmp
cmp x0, #0
ldr x8, [sp, #24] ; 8-byte Folded Reload
ccmp x22, x8, #4, ne
ldr x8, [sp, #16] ; 8-byte Folded Reload
ccmp x22, x8, #4, ne
b.eq LBB0_48
; %bb.33: ; in Loop: Header=BB0_25 Depth=1
cmp x27, x25
b.ne LBB0_35
b LBB0_43
LBB0_34: ; in Loop: Header=BB0_25 Depth=1
add x27, x21, #1
cmp x27, x25
b.eq LBB0_43
LBB0_35: ; in Loop: Header=BB0_25 Depth=1
ldr x22, [x24, x27, lsl #3]
ldr x8, [x22, #8]
ldr x23, [x8]
mov x0, x23
Lloh56:
adrp x1, l_.str@PAGE
Lloh57:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
mov x8, x0
mov w0, #3
mov x21, x27
cbnz x8, LBB0_25
b LBB0_37
LBB0_36:
mov w0, #0
LBB0_37:
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
ret
LBB0_38:
Lloh58:
adrp x13, _TK_LITERAL@GOTPAGE
Lloh59:
ldr x13, [x13, _TK_LITERAL@GOTPAGEOFF]
Lloh60:
ldr x13, [x13]
add x14, x24, #16
sub x15, x25, #2
mov x16, #4294967296
mov w0, #2
LBB0_39: ; =>This Inner Loop Header: Depth=1
cmp x11, x13
b.eq LBB0_44
; %bb.40: ; in Loop: Header=BB0_39 Depth=1
cmp x15, x9
b.eq LBB0_20
; %bb.41: ; in Loop: Header=BB0_39 Depth=1
ldr x11, [x14, x9, lsl #3]
ldr x11, [x11]
add x10, x10, x16
add x9, x9, #1
cmp x11, x12
b.ne LBB0_39
b LBB0_37
LBB0_42:
mov w0, #1
b LBB0_51
LBB0_43:
mov w0, #3
b LBB0_37
LBB0_44:
add x26, x9, #1
add x9, x9, #3
cmp w9, w8
b.ge LBB0_47
; %bb.45:
asr x8, x10, #29
ldr x8, [x24, x8]
ldr x8, [x8]
Lloh61:
adrp x10, _TK_DOT@GOTPAGE
Lloh62:
ldr x10, [x10, _TK_DOT@GOTPAGEOFF]
Lloh63:
ldr x10, [x10]
cmp x8, x10
b.ne LBB0_47
; %bb.46:
str w26, [x20]
mov w0, #2
mov x26, x9
b LBB0_51
LBB0_47:
mov w0, #2
; kill: def $w26 killed $w26 killed $x26 def $x26
b LBB0_51
LBB0_48:
mov w0, #3
mov x26, x21
b LBB0_51
LBB0_49:
mov w0, #3
b LBB0_51
LBB0_50:
str w21, [x20]
mov w0, #3
mov x26, x8
LBB0_51:
str w26, [x19]
b LBB0_37
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpAdd Lloh50, Lloh51
.loh AdrpAdd Lloh52, Lloh53
.loh AdrpAdd Lloh54, Lloh55
.loh AdrpAdd Lloh56, Lloh57
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.cfi_endproc
; -- End function
.comm _TK_COMMENT,8,3 ; @TK_COMMENT
.comm _TK_SQL_SELECT,8,3 ; @TK_SQL_SELECT
.comm _TK_SQL_DELETE,8,3 ; @TK_SQL_DELETE
.comm _TK_SQL_FROM,8,3 ; @TK_SQL_FROM
.comm _TK_SQL_WHERE,8,3 ; @TK_SQL_WHERE
.comm _TK_LITERAL,8,3 ; @TK_LITERAL
.comm _TK_DOT,8,3 ; @TK_DOT
.comm _TK_SQL_UPDATE,8,3 ; @TK_SQL_UPDATE
.comm _TK_SQL_SET,8,3 ; @TK_SQL_SET
.comm _TK_SQL_INSERT,8,3 ; @TK_SQL_INSERT
.comm _TK_SQL_REPLACE,8,3 ; @TK_SQL_REPLACE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "VALUES"
l_.str.1: ; @.str.1
.asciz "VALUE"
.comm _TK_FUNCTION,8,3 ; @TK_FUNCTION
.comm _TK_OBRACE,8,3 ; @TK_OBRACE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_get_table_index.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handler ## -- Begin function handler
.p2align 4, 0x90
_handler: ## @handler
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $129, %edi
je LBB0_1
## %bb.2:
cmpl $128, %edi
jne LBB0_5
## %bb.3:
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_1:
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %eax
movq _online@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
LBB0_5:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.comm _online,4,2 ## @online
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _handler ; -- Begin function handler
.p2align 2
_handler: ; @handler
.cfi_startproc
; %bb.0:
cmp w0, #129
b.eq LBB0_3
; %bb.1:
cmp w0, #128
b.ne LBB0_5
; %bb.2:
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
b LBB0_4
LBB0_3:
Lloh2:
adrp x8, _TRUE@GOTPAGE
Lloh3:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_4:
ldr w8, [x8]
Lloh4:
adrp x9, _online@GOTPAGE
Lloh5:
ldr x9, [x9, _online@GOTPAGEOFF]
Lloh6:
str w8, [x9]
LBB0_5:
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.comm _online,4,2 ; @online
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_handler.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _idle_ro ## -- Begin function idle_ro
.p2align 4, 0x90
_idle_ro: ## @idle_ro
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %rax
movq (%rax), %r14
movq %r14, %rdi
callq _network_backends_count
testq %rax, %rax
jle LBB0_1
## %bb.2:
movq %rax, %r12
movl $-1, %r15d
xorl %ebx, %ebx
jmp LBB0_3
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
incq %rbx
cmpq %rbx, %r12
je LBB0_9
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movq %rbx, %rsi
callq _network_backends_get
testq %rax, %rax
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %r13
movq %rax, %rdi
callq _chassis_event_thread_pool
testq %rax, %rax
je LBB0_8
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq (%r13), %rax
movq _BACKEND_TYPE_RO@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r13), %rax
movq _BACKEND_STATE_UP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_3 Depth=1
movl 16(%r13), %eax
cmpl %r15d, %eax
movl %r15d, %ecx
cmovll %eax, %ecx
cmpl $-1, %r15d
cmovel %eax, %ecx
movl %ecx, %r15d
jmp LBB0_8
LBB0_1:
movl $-1, %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
.comm _BACKEND_TYPE_RO,8,3 ## @BACKEND_TYPE_RO
.comm _BACKEND_STATE_UP,8,3 ## @BACKEND_STATE_UP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _idle_ro ; -- Begin function idle_ro
.p2align 2
_idle_ro: ; @idle_ro
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
ldr x8, [x0]
ldr x19, [x8]
mov x0, x19
bl _network_backends_count
mov w24, #-1
cmp x0, #1
b.lt LBB0_8
; %bb.1:
mov x20, x0
mov x21, #0
Lloh0:
adrp x25, _BACKEND_TYPE_RO@GOTPAGE
Lloh1:
ldr x25, [x25, _BACKEND_TYPE_RO@GOTPAGEOFF]
Lloh2:
adrp x26, _BACKEND_STATE_UP@GOTPAGE
Lloh3:
ldr x26, [x26, _BACKEND_STATE_UP@GOTPAGEOFF]
mov w22, #-1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x21, x21, #1
cmp x20, x21
b.eq LBB0_9
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x21
bl _network_backends_get
cbz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x23, x0
bl _chassis_event_thread_pool
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23]
ldr x9, [x25]
cmp x8, x9
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x23, #8]
ldr x9, [x26]
cmp x8, x9
b.ne LBB0_2
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x23, #16]
cmp w8, w22
ccmp w22, w24, #4, ge
csel w22, w8, w22, eq
b LBB0_2
LBB0_8:
mov w22, #-1
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 Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _BACKEND_TYPE_RO,8,3 ; @BACKEND_TYPE_RO
.comm _BACKEND_STATE_UP,8,3 ; @BACKEND_STATE_UP
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_idle_ro.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _idle_rw ## -- Begin function idle_rw
.p2align 4, 0x90
_idle_rw: ## @idle_rw
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rdi), %rax
movq (%rax), %r15
movq %r15, %rdi
callq _network_backends_count
movl %eax, %r12d
movl $-1, %eax
testl %r12d, %r12d
jle LBB0_9
## %bb.1:
xorl %ebx, %ebx
movq _BACKEND_TYPE_RW@GOTPCREL(%rip), %r14
jmp LBB0_2
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
incl %ebx
cmpl %ebx, %r12d
je LBB0_8
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movl %ebx, %esi
callq _network_backends_get
testq %rax, %rax
je LBB0_7
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %rax, %r13
movq %rax, %rdi
callq _chassis_event_thread_pool
testq %rax, %rax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq (%r13), %rax
cmpq (%r14), %rax
jne LBB0_7
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r13), %rax
movq _BACKEND_STATE_UP@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_7
## %bb.6:
movl %ebx, %eax
jmp LBB0_9
LBB0_8:
movl $-1, %eax
LBB0_9:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BACKEND_TYPE_RW,8,3 ## @BACKEND_TYPE_RW
.comm _BACKEND_STATE_UP,8,3 ## @BACKEND_STATE_UP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _idle_rw ; -- Begin function idle_rw
.p2align 2
_idle_rw: ; @idle_rw
.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]
ldr x20, [x8]
mov x0, x20
bl _network_backends_count
cmp w0, #1
b.lt LBB0_7
; %bb.1:
mov x21, x0
mov w19, #0
Lloh0:
adrp x23, _BACKEND_TYPE_RW@GOTPAGE
Lloh1:
ldr x23, [x23, _BACKEND_TYPE_RW@GOTPAGEOFF]
Lloh2:
adrp x24, _BACKEND_STATE_UP@GOTPAGE
Lloh3:
ldr x24, [x24, _BACKEND_STATE_UP@GOTPAGEOFF]
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add w19, w19, #1
cmp w21, w19
b.eq LBB0_7
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
bl _network_backends_get
cbz x0, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x22, x0
bl _chassis_event_thread_pool
cbz x0, LBB0_2
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x22]
ldr x9, [x23]
cmp x8, x9
b.ne LBB0_2
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x22, #8]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_2
b LBB0_8
LBB0_7:
mov w19, #-1
LBB0_8:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _BACKEND_TYPE_RW,8,3 ; @BACKEND_TYPE_RW
.comm _BACKEND_STATE_UP,8,3 ; @BACKEND_STATE_UP
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_idle_rw.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_in_blacklist ## -- Begin function is_in_blacklist
.p2align 4, 0x90
_is_in_blacklist: ## @is_in_blacklist
.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 (%rdi), %r13d
movq _FALSE@GOTPCREL(%rip), %rsi
cmpl $2, %r13d
jl LBB0_18
## %bb.1:
movq %rdi, %r12
movq 8(%rdi), %rax
movq 8(%rax), %rcx
movq (%rcx), %rcx
movq _TK_SQL_DELETE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_3
## %bb.2:
movq _TK_SQL_UPDATE@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_10
LBB0_3:
movl $2, %ecx
cmpl $3, %r13d
jb LBB0_8
## %bb.4:
movq _TK_SQL_WHERE@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movl $2, %ecx
movq _TRUE@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%rax,%rcx,8), %rdi
cmpq %rdx, (%rdi)
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
incq %rcx
cmpq %rcx, %r13
jne LBB0_5
## %bb.7:
movq %rbx, %rsi
jmp LBB0_18
LBB0_8:
cmpl %r13d, %ecx
jne LBB0_10
LBB0_17:
movq _TRUE@GOTPCREL(%rip), %rsi
jmp LBB0_18
LBB0_10:
cmpl $3, %r13d
jl LBB0_18
## %bb.11:
addq $-3, %r13
xorl %ebx, %ebx
movq _TK_OBRACE@GOTPCREL(%rip), %r15
leaq L_.str(%rip), %r14
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq 16(%rax,%rbx,8), %rcx
movq (%rcx), %rcx
cmpq (%r15), %rcx
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq 8(%rax,%rbx,8), %rax
movq 8(%rax), %rax
movl (%rax), %edi
movq %r14, %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_17
LBB0_14: ## in Loop: Header=BB0_12 Depth=1
cmpq %rbx, %r13
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_12 Depth=1
movq 8(%r12), %rax
incq %rbx
jmp LBB0_12
LBB0_16:
movq _FALSE@GOTPCREL(%rip), %rsi
LBB0_18:
movl (%rsi), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TK_SQL_DELETE,8,3 ## @TK_SQL_DELETE
.comm _TK_SQL_UPDATE,8,3 ## @TK_SQL_UPDATE
.comm _TK_SQL_WHERE,8,3 ## @TK_SQL_WHERE
.comm _TRUE,4,2 ## @TRUE
.comm _TK_OBRACE,8,3 ## @TK_OBRACE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "SLEEP"
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _is_in_blacklist ; -- Begin function is_in_blacklist
.p2align 2
_is_in_blacklist: ; @is_in_blacklist
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
ldr w9, [x0]
cmp w9, #2
b.lt LBB0_15
; %bb.1:
mov x19, x0
ldr x8, [x0, #8]
ldr x10, [x8, #8]
ldr x10, [x10]
Lloh0:
adrp x11, _TK_SQL_DELETE@GOTPAGE
Lloh1:
ldr x11, [x11, _TK_SQL_DELETE@GOTPAGEOFF]
Lloh2:
ldr x11, [x11]
Lloh3:
adrp x12, _TK_SQL_UPDATE@GOTPAGE
Lloh4:
ldr x12, [x12, _TK_SQL_UPDATE@GOTPAGEOFF]
Lloh5:
ldr x12, [x12]
cmp x10, x11
ccmp x10, x12, #4, ne
b.ne LBB0_9
; %bb.2:
cmp w9, #3
b.lo LBB0_6
; %bb.3:
Lloh6:
adrp x10, _TK_SQL_WHERE@GOTPAGE
Lloh7:
ldr x10, [x10, _TK_SQL_WHERE@GOTPAGEOFF]
Lloh8:
ldr x11, [x10]
mov w10, #2
Lloh9:
adrp x21, _TRUE@GOTPAGE
Lloh10:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x12, [x8, x10, lsl #3]
ldr x12, [x12]
cmp x12, x11
b.eq LBB0_7
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
add x10, x10, #1
cmp x9, x10
b.ne LBB0_4
b LBB0_16
LBB0_6:
mov w10, #2
LBB0_7:
cmp w10, w9
b.ne LBB0_9
; %bb.8:
Lloh11:
adrp x21, _TRUE@GOTPAGE
Lloh12:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
b LBB0_16
LBB0_9:
cmp w9, #3
b.lt LBB0_15
; %bb.10:
mov x22, #0
lsl x9, x9, #3
sub x23, x9, #24
Lloh13:
adrp x24, _TK_OBRACE@GOTPAGE
Lloh14:
ldr x24, [x24, _TK_OBRACE@GOTPAGEOFF]
Lloh15:
adrp x20, l_.str@PAGE
Lloh16:
add x20, x20, l_.str@PAGEOFF
Lloh17:
adrp x21, _TRUE@GOTPAGE
Lloh18:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
Lloh19:
adrp x25, _FALSE@GOTPAGE
Lloh20:
ldr x25, [x25, _FALSE@GOTPAGEOFF]
LBB0_11: ; =>This Inner Loop Header: Depth=1
add x8, x8, x22
ldr x9, [x8, #16]
ldr x9, [x9]
ldr x10, [x24]
cmp x9, x10
b.ne LBB0_13
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x8, #8]
ldr x8, [x8, #8]
ldr w0, [x8]
mov x1, x20
bl _strcasecmp
cbz x0, LBB0_16
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
cmp x23, x22
b.eq LBB0_17
; %bb.14: ; in Loop: Header=BB0_11 Depth=1
ldr x8, [x19, #8]
add x22, x22, #8
b LBB0_11
LBB0_15:
Lloh21:
adrp x21, _FALSE@GOTPAGE
Lloh22:
ldr x21, [x21, _FALSE@GOTPAGEOFF]
LBB0_16:
ldr w0, [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_17:
mov x21, x25
b LBB0_16
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh19, Lloh20
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh21, Lloh22
.cfi_endproc
; -- End function
.comm _TK_SQL_DELETE,8,3 ; @TK_SQL_DELETE
.comm _TK_SQL_UPDATE,8,3 ; @TK_SQL_UPDATE
.comm _TK_SQL_WHERE,8,3 ; @TK_SQL_WHERE
.comm _TRUE,4,2 ; @TRUE
.comm _TK_OBRACE,8,3 ; @TK_OBRACE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "SLEEP"
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_is_in_blacklist.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function log_sql
LCPI0_0:
.quad 0x408f400000000000 ## double 1000
.section __TEXT,__text,regular,pure_instructions
.globl _log_sql
.p2align 4, 0x90
_log_sql: ## @log_sql
.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 _sql_log_type@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq _OFF@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
je LBB0_4
## %bb.1:
movq %rsi, %rbx
movsd (%rsi), %xmm0 ## xmm0 = mem[0],zero
subsd 8(%rsi), %xmm0
divsd LCPI0_0(%rip), %xmm0
cvtsd2ss %xmm0, %xmm0
cvttss2si %xmm0, %rax
movq _config@GOTPCREL(%rip), %r13
movq (%r13), %rcx
cmpq %rax, (%rcx)
jg LBB0_4
## %bb.2:
movq %rdi, %r15
xorl %edi, %edi
movss %xmm0, -44(%rbp) ## 4-byte Spill
callq _g_string_new
movq %rax, %r14
xorl %edi, %edi
callq _time
movl %eax, -48(%rbp)
leaq -48(%rbp), %rdi
callq _localtime
movq 32(%rax), %rdx
incq %rdx
movl $1900, %r8d ## imm = 0x76C
addq 16(%rax), %r8
movl 24(%rax), %ecx
movl 8(%rax), %r9d
movl (%rax), %r10d
movl 4(%rax), %r11d
movq 8(%r15), %rsi
movq (%rsi), %rsi
movq (%rsi), %rsi
movl (%rsi), %eax
subq $8, %rsp
leaq L_.str(%rip), %rsi
movq %r14, %rdi
pushq %rax
pushq %r10
pushq %r11
callq _g_string_printf
addq $32, %rsp
movq 16(%rbx), %rax
movq 24(%rbx), %rdx
movq _MYSQLD_PACKET_OK@GOTPCREL(%rip), %rsi
movq (%rax), %rcx
incq %rcx
cmpq (%rsi), %rdx
movq (%r15), %rax
movq (%rax), %rax
movq (%rax), %rax
movl (%rax), %edx
leaq L_.str.1(%rip), %rax
leaq L_.str.2(%rip), %rsi
cmoveq %rax, %rsi
movq %r14, %rdi
movss -44(%rbp), %xmm0 ## 4-byte Reload
## xmm0 = mem[0],zero,zero,zero
callq _g_string_append_printf
movl (%r14), %esi
movl 4(%r14), %edi
movq (%r13), %rax
movl 8(%rax), %ecx
movl $1, %edx
callq _fwrite
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _g_string_free
movq (%r12), %rax
movq _REALTIME@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_4
## %bb.3:
movq (%r13), %rax
movl 8(%rax), %edi
callq _fflush
LBB0_4:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _sql_log_type,8,3 ## @sql_log_type
.comm _OFF,8,3 ## @OFF
.comm _config,8,3 ## @config
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "[%02d/%02d/%d %02d:%02d:%02d] C:%s S:"
.comm _MYSQLD_PACKET_OK,8,3 ## @MYSQLD_PACKET_OK
L_.str.1: ## @.str.1
.asciz "%s OK %.3f \"%s\"\n"
L_.str.2: ## @.str.2
.asciz "%s ERR %.3f \"%s\"\n"
.comm _TRUE,4,2 ## @TRUE
.comm _REALTIME,8,3 ## @REALTIME
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _log_sql ; -- Begin function log_sql
.p2align 2
_log_sql: ; @log_sql
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp d9, d8, [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 b8, -72
.cfi_offset b9, -80
Lloh0:
adrp x22, _sql_log_type@GOTPAGE
Lloh1:
ldr x22, [x22, _sql_log_type@GOTPAGEOFF]
ldr x8, [x22]
Lloh2:
adrp x9, _OFF@GOTPAGE
Lloh3:
ldr x9, [x9, _OFF@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_4
; %bb.1:
mov x19, x1
ldp d0, d1, [x1]
fsub d0, d0, d1
mov x8, #70368744177664
movk x8, #16527, lsl #48
fmov d1, x8
fdiv d0, d0, d1
fcvt s8, d0
fcvtzs x8, s8
Lloh5:
adrp x23, _config@GOTPAGE
Lloh6:
ldr x23, [x23, _config@GOTPAGEOFF]
ldr x9, [x23]
ldr x9, [x9]
cmp x9, x8
b.gt LBB0_4
; %bb.2:
mov x21, x0
mov x0, #0
bl _g_string_new
mov x20, x0
mov x0, #0
bl _time
str w0, [sp, #12]
add x0, sp, #12
bl _localtime
ldr x8, [x0, #32]
add x2, x8, #1
ldr w3, [x0, #24]
ldr x8, [x0, #16]
add x4, x8, #1900
ldp w6, w5, [x0, #4]
ldr w7, [x0]
ldr x8, [x21, #8]
ldr x8, [x8]
ldr x8, [x8]
ldr w8, [x8]
str w8, [sp]
Lloh7:
adrp x1, l_.str@PAGE
Lloh8:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _g_string_printf
Lloh9:
adrp x8, _MYSQLD_PACKET_OK@GOTPAGE
Lloh10:
ldr x8, [x8, _MYSQLD_PACKET_OK@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
ldr x9, [x21]
ldr x9, [x9]
ldr x9, [x9]
ldr w2, [x9]
ldp x10, x9, [x19, #16]
ldr x10, [x10]
add x3, x10, #1
Lloh12:
adrp x10, l_.str.2@PAGE
Lloh13:
add x10, x10, l_.str.2@PAGEOFF
Lloh14:
adrp x11, l_.str.1@PAGE
Lloh15:
add x11, x11, l_.str.1@PAGEOFF
cmp x9, x8
csel x1, x11, x10, eq
mov x0, x20
fmov s0, s8
bl _g_string_append_printf
ldp w1, w0, [x20]
ldr x8, [x23]
ldr w3, [x8, #8]
mov w2, #1
bl _fwrite
Lloh16:
adrp x8, _TRUE@GOTPAGE
Lloh17:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh18:
ldr w1, [x8]
mov x0, x20
bl _g_string_free
ldr x8, [x22]
Lloh19:
adrp x9, _REALTIME@GOTPAGE
Lloh20:
ldr x9, [x9, _REALTIME@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_4
; %bb.3:
ldr x8, [x23]
ldr w0, [x8, #8]
bl _fflush
LBB0_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
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _sql_log_type,8,3 ; @sql_log_type
.comm _OFF,8,3 ; @OFF
.comm _config,8,3 ; @config
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "[%02d/%02d/%d %02d:%02d:%02d] C:%s S:"
.comm _MYSQLD_PACKET_OK,8,3 ; @MYSQLD_PACKET_OK
l_.str.1: ; @.str.1
.asciz "%s OK %.3f \"%s\"\n"
l_.str.2: ; @.str.2
.asciz "%s ERR %.3f \"%s\"\n"
.comm _TRUE,4,2 ; @TRUE
.comm _REALTIME,8,3 ; @REALTIME
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_log_sql.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _merge_rows ## -- Begin function merge_rows
.p2align 4, 0x90
_merge_rows: ## @merge_rows
.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
cmpl $0, 16(%rsi)
je LBB0_16
## %bb.1:
movq %rdi, %r13
movq 8(%rdi), %rax
movq (%rax), %rax
cmpq $0, (%rax)
je LBB0_16
## %bb.2:
movq %rsi, %rbx
cmpq $0, 8(%rsi)
jne LBB0_16
## %bb.3:
xorl %eax, %eax
callq _proxy_resultset_new
movq %rax, %r14
movq 8(%r13), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, 32(%r14)
movq 8(%rbx), %rax
movq %rax, 24(%r14)
movl 4(%rbx), %eax
movl %eax, 20(%r14)
movl (%rbx), %eax
movl %eax, 16(%r14)
movq %r14, %rdi
callq _parse_resultset_fields
movq %r14, -56(%rbp) ## 8-byte Spill
movq 8(%r14), %r15
testq %r15, %r15
je LBB0_15
## %bb.4:
leaq -72(%rbp), %rbx
leaq -48(%rbp), %r12
movq %r13, -80(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movq 8(%r15), %rax
movq %rax, -64(%rbp)
movq $0, -72(%rbp)
movq %rbx, %rdi
callq _network_mysqld_proto_skip_network_header
movq %rbx, %rdi
movq %r12, %rsi
callq _network_mysqld_proto_peek_lenenc_type
movl -48(%rbp), %eax
andl $-2, %eax
cmpl $130, %eax
je LBB0_15
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
xorl %eax, %eax
callq _g_ptr_array_new
movq %rax, %r14
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq (%rax), %r13
testq %r13, %r13
jg LBB0_7
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movq -80(%rbp), %r13 ## 8-byte Reload
movq (%r13), %rax
movq 8(%rax), %rdi
movq %r14, %rsi
callq _g_ptr_array_add
movq (%r13), %rax
movq 8(%rax), %rcx
movq (%rcx), %rcx
cmpq (%rax), %rcx
jge LBB0_15
## %bb.14: ## in Loop: Header=BB0_5 Depth=1
movq (%r15), %r15
testq %r15, %r15
jne LBB0_5
jmp LBB0_15
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_7 Depth=2
movl $1, %esi
LBB0_11: ## in Loop: Header=BB0_7 Depth=2
movq %rbx, %rdi
callq _network_mysqld_proto_skip
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
decq %r13
je LBB0_13
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movq %rbx, %rdi
movq %r12, %rsi
callq _network_mysqld_proto_peek_lenenc_type
movl -48(%rbp), %eax
cmpl $128, %eax
je LBB0_8
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
cmpl $129, %eax
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_7 Depth=2
movq %rbx, %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_lenenc_int
movq -72(%rbp), %rdi
movq -64(%rbp), %rax
addq (%rax), %rdi
movl -44(%rbp), %esi
callq _g_strndup
movq %r14, %rdi
movq %rax, %rsi
callq _g_ptr_array_add
movl -44(%rbp), %esi
jmp LBB0_11
LBB0_15:
movq -56(%rbp), %rdi ## 8-byte Reload
callq _proxy_resultset_free
LBB0_16:
addq $40, %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, 13, 0 sdk_version 13, 3
.globl _merge_rows ; -- Begin function merge_rows
.p2align 2
_merge_rows: ; @merge_rows
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
ldr w8, [x1, #16]
cbz w8, LBB0_15
; %bb.1:
mov x19, x0
ldr x8, [x0, #8]
ldr x8, [x8]
ldr x8, [x8]
cbz x8, LBB0_15
; %bb.2:
mov x21, x1
ldr x8, [x1, #8]
cbnz x8, LBB0_15
; %bb.3:
bl _proxy_resultset_new
mov x20, x0
ldr x8, [x19, #8]
ldr x8, [x8]
ldr x8, [x8]
str x8, [x0, #32]
ldr x8, [x21, #8]
str x8, [x0, #24]
ldr d0, [x21]
str d0, [x0, #16]
bl _parse_resultset_fields
ldr x22, [x20, #8]
cbz x22, LBB0_14
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldr x8, [x22, #8]
stp xzr, x8, [sp, #16]
add x0, sp, #16
bl _network_mysqld_proto_skip_network_header
add x0, sp, #16
add x1, sp, #12
bl _network_mysqld_proto_peek_lenenc_type
ldr w8, [sp, #12]
and w8, w8, #0xfffffffe
cmp w8, #130
b.eq LBB0_14
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
bl _g_ptr_array_new
mov x21, x0
ldr x8, [x20]
ldr x23, [x8]
cmp x23, #1
b.ge LBB0_11
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr x8, [x19]
ldr x0, [x8, #8]
mov x1, x21
bl _g_ptr_array_add
ldr x8, [x19]
ldp x8, x9, [x8]
ldr x9, [x9]
cmp x9, x8
b.ge LBB0_14
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr x22, [x22]
cbnz x22, LBB0_4
b LBB0_14
LBB0_8: ; in Loop: Header=BB0_11 Depth=2
mov w1, #1
LBB0_9: ; in Loop: Header=BB0_11 Depth=2
add x0, sp, #16
bl _network_mysqld_proto_skip
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
subs x23, x23, #1
b.eq LBB0_6
LBB0_11: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #16
add x1, sp, #12
bl _network_mysqld_proto_peek_lenenc_type
ldr w8, [sp, #12]
cmp w8, #128
b.eq LBB0_8
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
cmp w8, #129
b.ne LBB0_10
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
add x0, sp, #16
add x1, sp, #8
bl _network_mysqld_proto_get_lenenc_int
ldp x9, x8, [sp, #16]
ldr x8, [x8]
add x0, x9, x8
ldr w1, [sp, #8]
bl _g_strndup
mov x1, x0
mov x0, x21
bl _g_ptr_array_add
ldr w1, [sp, #8]
b LBB0_9
LBB0_14:
mov x0, x20
bl _proxy_resultset_free
LBB0_15:
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
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_merge_rows.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _modify_db ## -- Begin function modify_db
.p2align 4, 0x90
_modify_db: ## @modify_db
.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 8(%rdi), %rax
movq (%rax), %rax
movq (%rax), %rbx
testq %rbx, %rbx
je LBB0_3
## %bb.1:
movq %rdi, %r14
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
callq _strcmp
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _COM_INIT_DB@GOTPCREL(%rip), %rax
movb (%rax), %al
movb %al, -25(%rbp)
leaq -25(%rbp), %rdi
movl $1, %esi
callq _g_string_new_len
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
callq _g_string_append
movl $2, %edi
movq %r15, %rsi
callq _injection_new
movq _TRUE@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movl %ecx, (%rax)
movq (%r14), %rcx
movl (%rcx), %edi
movq %rax, %rsi
callq _g_queue_push_head
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
.comm _COM_INIT_DB,1,0 ## @COM_INIT_DB
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _modify_db ; -- Begin function modify_db
.p2align 2
_modify_db: ; @modify_db
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x0, #8]
ldr x8, [x8]
ldr x20, [x8]
cbz x20, LBB0_3
; %bb.1:
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x20
bl _strcmp
cbz x0, LBB0_3
; %bb.2:
Lloh2:
adrp x8, _COM_INIT_DB@GOTPAGE
Lloh3:
ldr x8, [x8, _COM_INIT_DB@GOTPAGEOFF]
ldrb w8, [x8]
strb w8, [sp, #15]
add x0, sp, #15
mov w1, #1
bl _g_string_new_len
mov x21, x0
mov x1, x20
bl _g_string_append
mov w0, #2
mov x1, x21
bl _injection_new
mov x1, x0
Lloh4:
adrp x8, _TRUE@GOTPAGE
Lloh5:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh6:
ldr w8, [x8]
str w8, [x0]
ldr x8, [x19]
ldr w0, [x8]
bl _g_queue_push_head
LBB0_3:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
.comm _COM_INIT_DB,1,0 ; @COM_INIT_DB
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_modify_db.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _modify_user ## -- Begin function modify_user
.p2align 4, 0x90
_modify_user: ## @modify_user
.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_3
## %bb.1:
movq %rdi, %r12
movq (%rdi), %rcx
movq (%rcx), %rcx
movq 8(%rcx), %rbx
movq 8(%rax), %rax
movq (%rax), %rsi
movq %rbx, %rdi
callq _g_string_equal
testl %eax, %eax
je LBB0_2
LBB0_3:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
xorl %edi, %edi
callq _g_string_new
movq %rax, %r14
movq _COM_CHANGE_USER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _g_string_append_c
movl (%rbx), %edx
movl 4(%rbx), %esi
incl %edx
movq %r14, %rdi
xorl %eax, %eax
callq _g_string_append_len
movq _config@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rcx
movq 8(%rax), %rax
movl (%rax,%rcx,4), %edi
movl 4(%rbx), %esi
callq _g_hash_table_lookup
testq %rax, %rax
je LBB0_3
## %bb.4:
movq %rax, %rbx
movl $20, %edi
callq _g_string_sized_new
movq %rax, %r15
movq 16(%r12), %rax
movq (%rax), %rax
movq (%rax), %rdi
callq _S
movl %eax, %r13d
movq %rbx, %rdi
callq _S
movq %r15, %rdi
movl %r13d, %esi
movl %eax, %edx
callq _network_mysqld_proto_password_scramble
movzbl (%r15), %esi
movq %r14, %rdi
callq _g_string_append_c
movq %r15, %rdi
callq _S
movq %r14, %rdi
movl %eax, %esi
xorl %eax, %eax
callq _g_string_append_len
movq %r14, %rdi
xorl %esi, %esi
callq _g_string_append_c
movl $6, %edi
movq %r14, %rsi
callq _injection_new
movq _TRUE@GOTPCREL(%rip), %rbx
movl (%rbx), %ecx
movl %ecx, (%rax)
movq 8(%r12), %rcx
movl (%rcx), %edi
movq %rax, %rsi
callq _g_queue_push_head
movq (%r12), %rax
movq (%rax), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _g_string_truncate
movq (%r12), %rax
movq (%rax), %rax
movl (%rax), %edi
movl 4(%r15), %esi
callq _g_string_assign
movl (%rbx), %esi
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _g_string_free ## TAILCALL
.cfi_endproc
## -- End function
.comm _COM_CHANGE_USER,4,2 ## @COM_CHANGE_USER
.comm _config,8,3 ## @config
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _modify_user ; -- Begin function modify_user
.p2align 2
_modify_user: ; @modify_user
.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, #16]
cbz x8, LBB0_2
; %bb.1:
mov x19, x0
ldr x9, [x0]
ldr x9, [x9]
ldr x21, [x9, #8]
ldr x8, [x8, #8]
ldr x1, [x8]
mov x0, x21
bl _g_string_equal
cbz w0, LBB0_3
LBB0_2:
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
LBB0_3:
mov x0, #0
bl _g_string_new
mov x20, x0
Lloh0:
adrp x8, _COM_CHANGE_USER@GOTPAGE
Lloh1:
ldr x8, [x8, _COM_CHANGE_USER@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _g_string_append_c
ldp w8, w1, [x21]
add w8, w8, #1
str x8, [sp]
mov x0, x20
bl _g_string_append_len
Lloh3:
adrp x8, _config@GOTPAGE
Lloh4:
ldr x8, [x8, _config@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
ldp x8, x9, [x8]
ldr w0, [x9, x8, lsl #2]
ldr w1, [x21, #4]
bl _g_hash_table_lookup
cbz x0, LBB0_2
; %bb.4:
mov x22, x0
mov w0, #20
bl _g_string_sized_new
mov x21, x0
ldr x8, [x19, #16]
ldr x8, [x8]
ldr x0, [x8]
bl _S
mov x23, x0
mov x0, x22
bl _S
mov x2, x0
mov x0, x21
mov x1, x23
bl _network_mysqld_proto_password_scramble
ldrb w1, [x21]
mov x0, x20
bl _g_string_append_c
mov x0, x21
bl _S
mov x1, x0
mov x0, x20
bl _g_string_append_len
mov x0, x20
mov w1, #0
bl _g_string_append_c
mov w0, #6
mov x1, x20
bl _injection_new
mov x1, x0
Lloh6:
adrp x20, _TRUE@GOTPAGE
Lloh7:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
ldr w8, [x20]
str w8, [x1]
ldr x8, [x19, #8]
ldr w0, [x8]
bl _g_queue_push_head
ldr x8, [x19]
ldr x8, [x8]
ldr w0, [x8]
mov w1, #0
bl _g_string_truncate
ldr x8, [x19]
ldr x8, [x8]
ldr w0, [x8]
ldr w1, [x21, #4]
bl _g_string_assign
ldr w1, [x20]
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
add sp, sp, #80
b _g_string_free
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _COM_CHANGE_USER,4,2 ; @COM_CHANGE_USER
.comm _config,8,3 ; @config
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_modify_user.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proxy_connection_init ## -- Begin function network_mysqld_proxy_connection_init
.p2align 4, 0x90
_network_mysqld_proxy_connection_init: ## @network_mysqld_proxy_connection_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _proxy_init@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 44(%rdi)
movq _proxy_connect_server@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 40(%rdi)
movq _proxy_read_handshake@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 36(%rdi)
movq _proxy_read_auth@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 32(%rdi)
movq _proxy_read_auth_result@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 28(%rdi)
movq _proxy_read_query@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 24(%rdi)
movq _proxy_read_query_result@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 20(%rdi)
movq _proxy_send_query_result@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 16(%rdi)
movq _proxy_read_local_infile_data@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 12(%rdi)
movq _proxy_read_local_infile_result@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%rdi)
movq _proxy_send_local_infile_result@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 4(%rdi)
movq _proxy_disconnect_client@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%rdi)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _proxy_init,4,2 ## @proxy_init
.comm _proxy_connect_server,4,2 ## @proxy_connect_server
.comm _proxy_read_handshake,4,2 ## @proxy_read_handshake
.comm _proxy_read_auth,4,2 ## @proxy_read_auth
.comm _proxy_read_auth_result,4,2 ## @proxy_read_auth_result
.comm _proxy_read_query,4,2 ## @proxy_read_query
.comm _proxy_read_query_result,4,2 ## @proxy_read_query_result
.comm _proxy_send_query_result,4,2 ## @proxy_send_query_result
.comm _proxy_read_local_infile_data,4,2 ## @proxy_read_local_infile_data
.comm _proxy_read_local_infile_result,4,2 ## @proxy_read_local_infile_result
.comm _proxy_send_local_infile_result,4,2 ## @proxy_send_local_infile_result
.comm _proxy_disconnect_client,4,2 ## @proxy_disconnect_client
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proxy_connection_init ; -- Begin function network_mysqld_proxy_connection_init
.p2align 2
_network_mysqld_proxy_connection_init: ; @network_mysqld_proxy_connection_init
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _proxy_init@GOTPAGE
Lloh1:
ldr x8, [x8, _proxy_init@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
Lloh3:
adrp x9, _proxy_connect_server@GOTPAGE
Lloh4:
ldr x9, [x9, _proxy_connect_server@GOTPAGEOFF]
Lloh5:
ldr w9, [x9]
stp w9, w8, [x0, #40]
Lloh6:
adrp x8, _proxy_read_handshake@GOTPAGE
Lloh7:
ldr x8, [x8, _proxy_read_handshake@GOTPAGEOFF]
Lloh8:
ldr w8, [x8]
Lloh9:
adrp x9, _proxy_read_auth@GOTPAGE
Lloh10:
ldr x9, [x9, _proxy_read_auth@GOTPAGEOFF]
Lloh11:
ldr w9, [x9]
stp w9, w8, [x0, #32]
Lloh12:
adrp x8, _proxy_read_auth_result@GOTPAGE
Lloh13:
ldr x8, [x8, _proxy_read_auth_result@GOTPAGEOFF]
Lloh14:
ldr w8, [x8]
Lloh15:
adrp x9, _proxy_read_query@GOTPAGE
Lloh16:
ldr x9, [x9, _proxy_read_query@GOTPAGEOFF]
Lloh17:
ldr w9, [x9]
Lloh18:
adrp x10, _proxy_read_query_result@GOTPAGE
Lloh19:
ldr x10, [x10, _proxy_read_query_result@GOTPAGEOFF]
stp w9, w8, [x0, #24]
Lloh20:
ldr w8, [x10]
Lloh21:
adrp x9, _proxy_send_query_result@GOTPAGE
Lloh22:
ldr x9, [x9, _proxy_send_query_result@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
stp w9, w8, [x0, #16]
Lloh24:
adrp x8, _proxy_read_local_infile_data@GOTPAGE
Lloh25:
ldr x8, [x8, _proxy_read_local_infile_data@GOTPAGEOFF]
Lloh26:
ldr w8, [x8]
Lloh27:
adrp x9, _proxy_read_local_infile_result@GOTPAGE
Lloh28:
ldr x9, [x9, _proxy_read_local_infile_result@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
stp w9, w8, [x0, #8]
Lloh30:
adrp x8, _proxy_send_local_infile_result@GOTPAGE
Lloh31:
ldr x8, [x8, _proxy_send_local_infile_result@GOTPAGEOFF]
Lloh32:
ldr w8, [x8]
Lloh33:
adrp x9, _proxy_disconnect_client@GOTPAGE
Lloh34:
ldr x9, [x9, _proxy_disconnect_client@GOTPAGEOFF]
Lloh35:
ldr w9, [x9]
stp w9, w8, [x0]
mov w0, #0
ret
.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 AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _proxy_init,4,2 ; @proxy_init
.comm _proxy_connect_server,4,2 ; @proxy_connect_server
.comm _proxy_read_handshake,4,2 ; @proxy_read_handshake
.comm _proxy_read_auth,4,2 ; @proxy_read_auth
.comm _proxy_read_auth_result,4,2 ; @proxy_read_auth_result
.comm _proxy_read_query,4,2 ; @proxy_read_query
.comm _proxy_read_query_result,4,2 ; @proxy_read_query_result
.comm _proxy_send_query_result,4,2 ; @proxy_send_query_result
.comm _proxy_read_local_infile_data,4,2 ; @proxy_read_local_infile_data
.comm _proxy_read_local_infile_result,4,2 ; @proxy_read_local_infile_result
.comm _proxy_send_local_infile_result,4,2 ; @proxy_send_local_infile_result
.comm _proxy_disconnect_client,4,2 ; @proxy_disconnect_client
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_network_mysqld_proxy_connection_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rw_split ## -- Begin function rw_split
.p2align 4, 0x90
_rw_split: ## @rw_split
.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
cmpl $1, (%rdi)
jle LBB0_6
## %bb.1:
movq %rdi, %rbx
movq 8(%rdi), %rax
movq 8(%rax), %rax
movq (%rax), %rcx
movq _TK_COMMENT@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
jne LBB0_4
## %bb.2:
movq 8(%rax), %rax
movl (%rax), %edi
leaq L_.str(%rip), %rsi
callq _strcasecmp
testq %rax, %rax
je LBB0_6
## %bb.3:
cmpl $2, (%rbx)
jl LBB0_6
LBB0_4:
movl (%r14), %edi
callq _g_hash_table_size
testq %rax, %rax
jle LBB0_5
LBB0_6:
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _idle_rw ## TAILCALL
LBB0_5:
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _wrr_ro ## TAILCALL
.cfi_endproc
## -- End function
.comm _TK_COMMENT,8,3 ## @TK_COMMENT
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "MASTER"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rw_split ; -- Begin function rw_split
.p2align 2
_rw_split: ; @rw_split
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
ldr w8, [x0]
cmp w8, #1
b.le LBB0_5
; %bb.1:
mov x20, x0
ldr x8, [x0, #8]
ldr x8, [x8, #8]
ldr x9, [x8]
Lloh0:
adrp x10, _TK_COMMENT@GOTPAGE
Lloh1:
ldr x10, [x10, _TK_COMMENT@GOTPAGEOFF]
Lloh2:
ldr x10, [x10]
cmp x9, x10
b.ne LBB0_4
; %bb.2:
ldr x8, [x8, #8]
ldr w0, [x8]
Lloh3:
adrp x1, l_.str@PAGE
Lloh4:
add x1, x1, l_.str@PAGEOFF
bl _strcasecmp
cbz x0, LBB0_5
; %bb.3:
ldr w8, [x20]
cmp w8, #2
b.lt LBB0_5
LBB0_4:
ldr w0, [x19]
bl _g_hash_table_size
cmp x0, #1
b.lt LBB0_6
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _idle_rw
LBB0_6:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _wrr_ro
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _TK_COMMENT,8,3 ; @TK_COMMENT
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "MASTER"
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_rw_split.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sql_is_write ## -- Begin function sql_is_write
.p2align 4, 0x90
_sql_is_write: ## @sql_is_write
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
cmpl $2, %eax
jl LBB0_7
## %bb.1:
movq 8(%rdi), %rcx
movq _TK_COMMENT@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq 8(%rcx), %rsi
movq (%rsi), %rsi
cmpq %rdx, %rsi
jne LBB0_6
## %bb.2:
decl %eax
decq %rax
xorl %edi, %edi
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpq %rdi, %rax
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq 16(%rcx,%rdi,8), %rsi
movq (%rsi), %rsi
incq %rdi
cmpq %rdx, %rsi
je LBB0_3
jmp LBB0_6
LBB0_7:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
LBB0_4:
movq %rdx, %rsi
LBB0_6:
movq _TK_SQL_SELECT@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
setne %al
movq _TK_SQL_USE@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rsi
setne %cl
andb %al, %cl
movq _TK_SQL_DESC@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
setne %al
movq _TK_SQL_EXPLAIN@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rsi
setne %dl
andb %al, %dl
andb %cl, %dl
movzbl %dl, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TK_COMMENT,8,3 ## @TK_COMMENT
.comm _TK_SQL_SELECT,8,3 ## @TK_SQL_SELECT
.comm _TK_SQL_USE,8,3 ## @TK_SQL_USE
.comm _TK_SQL_DESC,8,3 ## @TK_SQL_DESC
.comm _TK_SQL_EXPLAIN,8,3 ## @TK_SQL_EXPLAIN
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _sql_is_write ; -- Begin function sql_is_write
.p2align 2
_sql_is_write: ; @sql_is_write
.cfi_startproc
; %bb.0:
ldr w10, [x0]
cmp w10, #2
b.lt LBB0_5
; %bb.1:
ldr x11, [x0, #8]
Lloh0:
adrp x8, _TK_COMMENT@GOTPAGE
Lloh1:
ldr x8, [x8, _TK_COMMENT@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldr x9, [x11, #8]
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_7
; %bb.2:
sub w9, w10, #1
sub x10, x9, #1
add x11, x11, #16
LBB0_3: ; =>This Inner Loop Header: Depth=1
cbz x10, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x9, [x11], #8
ldr x9, [x9]
sub x10, x10, #1
cmp x9, x8
b.eq LBB0_3
b LBB0_7
LBB0_5:
Lloh3:
adrp x8, _TRUE@GOTPAGE
Lloh4:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
ret
LBB0_6:
mov x9, x8
LBB0_7:
Lloh6:
adrp x8, _TK_SQL_SELECT@GOTPAGE
Lloh7:
ldr x8, [x8, _TK_SQL_SELECT@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
Lloh9:
adrp x10, _TK_SQL_USE@GOTPAGE
Lloh10:
ldr x10, [x10, _TK_SQL_USE@GOTPAGEOFF]
cmp x9, x8
Lloh11:
ldr x8, [x10]
ccmp x9, x8, #4, ne
Lloh12:
adrp x8, _TK_SQL_DESC@GOTPAGE
Lloh13:
ldr x8, [x8, _TK_SQL_DESC@GOTPAGEOFF]
Lloh14:
ldr x8, [x8]
ccmp x9, x8, #4, ne
Lloh15:
adrp x8, _TK_SQL_EXPLAIN@GOTPAGE
Lloh16:
ldr x8, [x8, _TK_SQL_EXPLAIN@GOTPAGEOFF]
Lloh17:
ldr x8, [x8]
ccmp x9, x8, #4, ne
cset w0, ne
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _TK_COMMENT,8,3 ; @TK_COMMENT
.comm _TK_SQL_SELECT,8,3 ; @TK_SQL_SELECT
.comm _TK_SQL_USE,8,3 ; @TK_SQL_USE
.comm _TK_SQL_DESC,8,3 ; @TK_SQL_DESC
.comm _TK_SQL_EXPLAIN,8,3 ; @TK_SQL_EXPLAIN
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_sql_is_write.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _string_free ## -- Begin function string_free
.p2align 4, 0x90
_string_free: ## @string_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _g_string_free ## TAILCALL
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _string_free ; -- Begin function string_free
.p2align 2
_string_free: ; @string_free
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _g_string_free
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/plugins/proxy/extr_proxy-plugin.c_string_free.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.