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
.globl _network_mysqld_proto_field_free ## -- Begin function network_mysqld_proto_field_free
.p2align 4, 0x90
_network_mysqld_proto_field_free: ## @network_mysqld_proto_field_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_7
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movq (%rdi), %rax
movl (%rax), %edi
leal -128(%rdi), %eax
cmpl $24, %eax
ja LBB0_5
## %bb.2:
movl $8316785, %ecx ## imm = 0x7EE771
btl %eax, %ecx
jb LBB0_6
## %bb.3:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.4:
callq _g_free
LBB0_6:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_free ## TAILCALL
LBB0_7:
retq
LBB0_5:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %r14d
## kill: def $edi killed $edi killed $rdi
callq _network_mysqld_proto_field_get_typestring
movq (%rbx), %rcx
movl (%rcx), %ecx
leaq L_.str(%rip), %rdi
movl %r14d, %esi
movl %eax, %edx
callq _g_message
jmp LBB0_6
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: unknown field_type '%s' (%d) to free()"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_field_free ; -- Begin function network_mysqld_proto_field_free
.p2align 2
_network_mysqld_proto_field_free: ; @network_mysqld_proto_field_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_6
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_remember_state
mov x19, x0
ldr x8, [x0]
ldr w0, [x8]
sub w8, w0, #128
cmp w8, #24
b.hi LBB0_7
; %bb.2:
mov w9, #1
lsl w8, w9, w8
mov w9, #59249
movk w9, #126, lsl #16
tst w8, w9
b.ne LBB0_5
; %bb.3:
ldr x0, [x19, #8]
cbz x0, LBB0_5
; %bb.4:
bl _g_free
LBB0_5:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_6:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
LBB0_7:
.cfi_restore_state
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w20, [x8]
bl _network_mysqld_proto_field_get_typestring
mov x2, x0
ldr x8, [x19]
ldr w3, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
bl _g_message
b LBB0_5
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: unknown field_type '%s' (%d) to free()"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-binlog-dump.c_network_mysqld_proto_field_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_field_get_typestring ## -- Begin function network_mysqld_proto_field_get_typestring
.p2align 4, 0x90
_network_mysqld_proto_field_get_typestring: ## @network_mysqld_proto_field_get_typestring
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %edx
movq _field_type_name@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rcx), %rax
testq %rax, %rax
je LBB0_5
## %bb.1:
movl %edx, %esi
cmpq %rsi, 8(%rcx)
je LBB0_6
## %bb.2:
addq $24, %rcx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rcx), %rax
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 16(%rcx), %rdi
cmpq %rsi, (%rcx)
movq %rdi, %rcx
jne LBB0_3
LBB0_6:
popq %rbp
retq
LBB0_5:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
callq _g_critical
leaq L_.str(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "UNKNOWN"
.comm _field_type_name,8,3 ## @field_type_name
L_.str.1: ## @.str.1
.asciz "%s: field-type %d isn't known yet"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_field_get_typestring ; -- Begin function network_mysqld_proto_field_get_typestring
.p2align 2
_network_mysqld_proto_field_get_typestring: ; @network_mysqld_proto_field_get_typestring
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x2, x0
Lloh0:
adrp x8, _field_type_name@GOTPAGE
Lloh1:
ldr x8, [x8, _field_type_name@GOTPAGEOFF]
Lloh2:
ldr x9, [x8]
ldr x0, [x9]
cbz x0, LBB0_6
; %bb.1:
mov w8, w2
ldr x10, [x9, #8]
cmp x10, x8
b.eq LBB0_5
; %bb.2:
add x9, x9, #24
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur x0, [x9, #-8]
cbz x0, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x9], #16
cmp x10, x8
b.ne LBB0_3
LBB0_5:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh3:
adrp x8, _G_STRLOC@GOTPAGE
Lloh4:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _g_critical
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "UNKNOWN"
.comm _field_type_name,8,3 ; @field_type_name
l_.str.1: ; @.str.1
.asciz "%s: field-type %d isn't known yet"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-binlog-dump.c_network_mysqld_proto_field_get_typestring.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_fields_free ## -- Begin function network_mysqld_proto_fields_free
.p2align 4, 0x90
_network_mysqld_proto_fields_free: ## @network_mysqld_proto_fields_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
cmpq $0, (%rdi)
je LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movl (%rax,%rbx,4), %edi
callq _network_mysqld_proto_field_free
incq %rbx
cmpq (%r14), %rbx
jb LBB0_3
LBB0_4:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_ptr_array_free ## TAILCALL
LBB0_5:
retq
.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 _network_mysqld_proto_fields_free ; -- Begin function network_mysqld_proto_fields_free
.p2align 2
_network_mysqld_proto_fields_free: ; @network_mysqld_proto_fields_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x20, lsl #2]
bl _network_mysqld_proto_field_free
add x20, x20, #1
ldr x8, [x19]
cmp x20, x8
b.lo LBB0_3
LBB0_4:
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_ptr_array_free
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-binlog-dump.c_network_mysqld_proto_fields_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_fields_get ## -- Begin function network_mysqld_proto_fields_get
.p2align 4, 0x90
_network_mysqld_proto_fields_get: ## @network_mysqld_proto_fields_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rsi), %rax
testq %rax, %rax
je LBB0_7
## %bb.1:
movq %rsi, %r15
movq %rdi, %r14
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
cmpq %rax, %rbx
jae LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rcx
movq (%rcx,%rbx,8), %rsi
cmpl $0, (%rsi)
jne LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _network_mysqld_proto_field_get
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rax
jmp LBB0_6
LBB0_7:
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl $-1, %eax
jmp LBB0_8
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_fields_get ; -- Begin function network_mysqld_proto_fields_get
.p2align 2
_network_mysqld_proto_fields_get: ; @network_mysqld_proto_fields_get
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x1]
cbz x8, LBB0_6
; %bb.1:
mov x19, x1
mov x20, x0
mov x21, #0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x21, x21, #1
cmp x21, x8
b.hs LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #8]
ldr x1, [x9, x21, lsl #3]
ldr w9, [x1]
cbnz w9, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _network_mysqld_proto_field_get
cbnz x0, LBB0_8
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19]
b LBB0_2
LBB0_6:
mov w0, #0
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_8:
mov w0, #-1
b LBB0_7
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-binlog-dump.c_network_mysqld_proto_fields_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _frm_dump_file ## -- Begin function frm_dump_file
.p2align 4, 0x90
_frm_dump_file: ## @frm_dump_file
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq $0, -48(%rbp)
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -48(%rbp), %rdx
callq _g_mapped_file_new
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r12
movq %rbx, -56(%rbp) ## 8-byte Spill
xorl %r15d, %r15d
xorl %eax, %eax
callq _network_packet_new
movq %rax, %rbx
xorl %edi, %edi
callq _g_string_new
movq %rax, (%rbx)
movq %r12, %rdi
callq _g_mapped_file_get_contents
movq (%rbx), %rcx
movl %eax, 4(%rcx)
movq %r12, %rdi
callq _g_mapped_file_get_length
movq (%rbx), %rcx
movl %eax, (%rcx)
xorl %eax, %eax
callq _network_mysqld_frm_new
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq _network_mysqld_proto_get_frm
movq %rax, %r13
testq %rax, %rax
jne LBB0_4
## %bb.3:
movq %r14, %rdi
callq _network_mysqld_frm_print
movq %r14, %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _network_mysqld_myd_print
LBB0_4:
movq %r12, %rdi
callq _g_mapped_file_free
movq (%rbx), %rdi
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _g_string_free
movq %rbx, %rdi
callq _network_packet_free
negq %r13
sbbl %r15d, %r15d
jmp LBB0_5
LBB0_1:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -48(%rbp), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rdi
callq _g_critical
movq -48(%rbp), %rdi
callq _g_error_free
movl $-1, %r15d
LBB0_5:
movl %r15d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: %s"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _frm_dump_file ; -- Begin function frm_dump_file
.p2align 2
_frm_dump_file: ; @frm_dump_file
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
str xzr, [sp, #8]
Lloh0:
adrp x24, _FALSE@GOTPAGE
Lloh1:
ldr x24, [x24, _FALSE@GOTPAGEOFF]
ldr w1, [x24]
add x2, sp, #8
bl _g_mapped_file_new
cbz x0, LBB0_4
; %bb.1:
mov x21, x0
bl _network_packet_new
mov x20, x0
mov x0, #0
bl _g_string_new
str x0, [x20]
mov x0, x21
bl _g_mapped_file_get_contents
ldr x8, [x20]
str w0, [x8, #4]
mov x0, x21
bl _g_mapped_file_get_length
ldr x8, [x20]
str w0, [x8]
bl _network_mysqld_frm_new
mov x23, x0
mov x0, x20
mov x1, x23
bl _network_mysqld_proto_get_frm
mov x22, x0
cbnz x0, LBB0_3
; %bb.2:
mov x0, x23
bl _network_mysqld_frm_print
mov x0, x23
mov x1, x19
bl _network_mysqld_myd_print
LBB0_3:
mov x0, x21
bl _g_mapped_file_free
ldr x0, [x20]
ldr w1, [x24]
bl _g_string_free
mov x0, x20
bl _network_packet_free
cmp x22, #0
csetm w0, ne
b LBB0_5
LBB0_4:
Lloh2:
adrp x8, _G_STRLOC@GOTPAGE
Lloh3:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
ldr x8, [sp, #8]
ldr w2, [x8]
Lloh5:
adrp x0, l_.str@PAGE
Lloh6:
add x0, x0, l_.str@PAGEOFF
bl _g_critical
ldr x0, [sp, #8]
bl _g_error_free
mov w0, #-1
LBB0_5:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: %s"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_frm_dump_file.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_column_def_free ## -- Begin function network_mysqld_column_def_free
.p2align 4, 0x90
_network_mysqld_column_def_free: ## @network_mysqld_column_def_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 4(%rdi), %edi
movq _TRUE@GOTPCREL(%rip), %r14
movl (%r14), %esi
callq _g_string_free
movl (%rbx), %edi
movl (%r14), %esi
callq _g_string_free
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_free ## TAILCALL
LBB0_1:
retq
.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 _network_mysqld_column_def_free ; -- Begin function network_mysqld_column_def_free
.p2align 2
_network_mysqld_column_def_free: ; @network_mysqld_column_def_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #4]
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
ldr w1, [x20]
bl _g_string_free
ldr w0, [x19]
ldr w1, [x20]
bl _g_string_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_column_def_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_frm_free ## -- Begin function network_mysqld_frm_free
.p2align 4, 0x90
_network_mysqld_frm_free: ## @network_mysqld_frm_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_17
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movq 48(%rdi), %rdi
cmpq $0, (%rdi)
je LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %rax
movq (%rax,%rbx,8), %rdi
callq _network_mysqld_keyinfo_free
incq %rbx
movq 48(%r14), %rdi
cmpq (%rdi), %rbx
jb LBB0_3
LBB0_4:
movq _TRUE@GOTPCREL(%rip), %r15
movl (%r15), %esi
callq _g_ptr_array_free
movq 40(%r14), %rdi
cmpq $0, (%rdi)
je LBB0_7
## %bb.5:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %rax
movq (%rax,%rbx,8), %rdi
callq _network_mysqld_column_def_free
incq %rbx
movq 40(%r14), %rdi
cmpq (%rdi), %rbx
jb LBB0_6
LBB0_7:
movl (%r15), %esi
callq _g_ptr_array_free
movq 32(%r14), %rdi
cmpq $0, (%rdi)
je LBB0_10
## %bb.8:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %rax
movq (%rax,%rbx,8), %rdi
callq _network_mysqld_screen_free
incq %rbx
movq 32(%r14), %rdi
cmpq (%rdi), %rbx
jb LBB0_9
LBB0_10:
movl (%r15), %esi
callq _g_ptr_array_free
movq 24(%r14), %rdi
cmpq $0, (%rdi)
je LBB0_16
## %bb.11:
xorl %r12d, %r12d
jmp LBB0_12
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_12 Depth=1
movl (%r15), %esi
movq %r13, %rdi
callq _g_ptr_array_free
incq %r12
movq 24(%r14), %rdi
cmpq (%rdi), %r12
jae LBB0_16
LBB0_12: ## =>This Loop Header: Depth=1
## Child Loop BB0_14 Depth 2
movq 8(%rdi), %rax
movq (%rax,%r12,8), %r13
cmpq $0, (%r13)
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_14: ## Parent Loop BB0_12 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r13), %rax
movq (%rax,%r12,8), %rdi
movl (%r15), %esi
callq _g_string_free
incq %rbx
cmpq (%r13), %rbx
jb LBB0_14
jmp LBB0_15
LBB0_16:
movl (%r15), %esi
callq _g_ptr_array_free
movq 16(%r14), %rdi
movl (%r15), %esi
callq _g_string_free
movq 8(%r14), %rdi
movl (%r15), %esi
callq _g_string_free
movq (%r14), %rdi
movl (%r15), %esi
callq _g_string_free
movq %r14, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _g_free ## TAILCALL
LBB0_17:
retq
.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 _network_mysqld_frm_free ; -- Begin function network_mysqld_frm_free
.p2align 2
_network_mysqld_frm_free: ; @network_mysqld_frm_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_17
; %bb.1:
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 x0, [x0, #48]
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]
ldr x0, [x8, x20, lsl #3]
bl _network_mysqld_keyinfo_free
add x20, x20, #1
ldr x0, [x19, #48]
ldr x8, [x0]
cmp x20, x8
b.lo LBB0_3
LBB0_4:
Lloh0:
adrp x21, _TRUE@GOTPAGE
Lloh1:
ldr x21, [x21, _TRUE@GOTPAGEOFF]
ldr w1, [x21]
bl _g_ptr_array_free
ldr x0, [x19, #40]
ldr x8, [x0]
cbz x8, LBB0_7
; %bb.5:
mov x20, #0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]
ldr x0, [x8, x20, lsl #3]
bl _network_mysqld_column_def_free
add x20, x20, #1
ldr x0, [x19, #40]
ldr x8, [x0]
cmp x20, x8
b.lo LBB0_6
LBB0_7:
ldr w1, [x21]
bl _g_ptr_array_free
ldr x0, [x19, #32]
ldr x8, [x0]
cbz x8, LBB0_10
; %bb.8:
mov x20, #0
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]
ldr x0, [x8, x20, lsl #3]
bl _network_mysqld_screen_free
add x20, x20, #1
ldr x0, [x19, #32]
ldr x8, [x0]
cmp x20, x8
b.lo LBB0_9
LBB0_10:
ldr w1, [x21]
bl _g_ptr_array_free
ldr x0, [x19, #24]
ldr x8, [x0]
cbz x8, LBB0_16
; %bb.11:
mov x22, #0
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_13 Depth=1
ldr w1, [x21]
mov x0, x20
bl _g_ptr_array_free
add x22, x22, #1
ldr x0, [x19, #24]
ldr x8, [x0]
cmp x22, x8
b.hs LBB0_16
LBB0_13: ; =>This Loop Header: Depth=1
; Child Loop BB0_15 Depth 2
ldr x8, [x0, #8]
ldr x20, [x8, x22, lsl #3]
ldr x8, [x20]
cbz x8, LBB0_12
; %bb.14: ; in Loop: Header=BB0_13 Depth=1
mov x23, #0
LBB0_15: ; Parent Loop BB0_13 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [x20, #8]
ldr x0, [x8, x22, lsl #3]
ldr w1, [x21]
bl _g_string_free
add x23, x23, #1
ldr x8, [x20]
cmp x23, x8
b.lo LBB0_15
b LBB0_12
LBB0_16:
ldr w1, [x21]
bl _g_ptr_array_free
ldr x0, [x19, #16]
ldr w1, [x21]
bl _g_string_free
ldr x0, [x19, #8]
ldr w1, [x21]
bl _g_string_free
ldr x0, [x19]
ldr w1, [x21]
bl _g_string_free
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
b _g_free
LBB0_17:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
.cfi_same_value w21
.cfi_same_value w22
.cfi_same_value w23
.cfi_same_value w24
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_frm_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_keyinfo_free ## -- Begin function network_mysqld_keyinfo_free
.p2align 4, 0x90
_network_mysqld_keyinfo_free: ## @network_mysqld_keyinfo_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq 8(%rdi), %rdi
cmpq $0, (%rdi)
je LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %rax
movl (%rax,%rbx,4), %edi
callq _network_mysqld_keypart_free
incq %rbx
movq 8(%r14), %rdi
cmpq (%rdi), %rbx
jb LBB0_3
LBB0_4:
movq _TRUE@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
callq _g_ptr_array_free
movl (%r14), %edi
movl (%rbx), %esi
callq _g_string_free
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_free ## TAILCALL
LBB0_5:
retq
.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 _network_mysqld_keyinfo_free ; -- Begin function network_mysqld_keyinfo_free
.p2align 2
_network_mysqld_keyinfo_free: ; @network_mysqld_keyinfo_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #8]
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]
ldr w0, [x8, x20, lsl #2]
bl _network_mysqld_keypart_free
add x20, x20, #1
ldr x0, [x19, #8]
ldr x8, [x0]
cmp x20, x8
b.lo LBB0_3
LBB0_4:
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
ldr w1, [x20]
bl _g_ptr_array_free
ldr w0, [x19]
ldr w1, [x20]
bl _g_string_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_keyinfo_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_keypart_free ## -- Begin function network_mysqld_keypart_free
.p2align 4, 0x90
_network_mysqld_keypart_free: ## @network_mysqld_keypart_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
popq %rbp
jmp _g_free ## TAILCALL
LBB0_1:
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 _network_mysqld_keypart_free ; -- Begin function network_mysqld_keypart_free
.p2align 2
_network_mysqld_keypart_free: ; @network_mysqld_keypart_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
b _g_free
LBB0_2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_keypart_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_field_free ## -- Begin function network_mysqld_proto_field_free
.p2align 4, 0x90
_network_mysqld_proto_field_free: ## @network_mysqld_proto_field_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_7
## %bb.1:
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), %rax
movl (%rax), %edx
leal -128(%rdx), %eax
cmpl $13, %eax
ja LBB0_5
## %bb.2:
movl $8172, %ecx ## imm = 0x1FEC
btl %eax, %ecx
jb LBB0_6
## %bb.3:
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.4:
callq _g_free
jmp LBB0_6
LBB0_7:
retq
LBB0_5:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
## kill: def $edx killed $edx killed $rdx
callq _g_message
LBB0_6:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: unknown field_type to free: %d"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_field_free ; -- Begin function network_mysqld_proto_field_free
.p2align 2
_network_mysqld_proto_field_free: ; @network_mysqld_proto_field_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_remember_state
mov x19, x0
ldr x8, [x0]
ldr w2, [x8]
sub w8, w2, #128
cmp w8, #13
b.hi LBB0_6
; %bb.2:
mov w9, #1
lsl w8, w9, w8
mov w9, #8172
tst w8, w9
b.ne LBB0_7
; %bb.3:
ldr x0, [x19, #8]
cbz x0, LBB0_7
; %bb.4:
bl _g_free
b LBB0_7
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
LBB0_6:
.cfi_restore_state
Lloh0:
adrp x8, _G_STRLOC@GOTPAGE
Lloh1:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _g_message
LBB0_7:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: unknown field_type to free: %d"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_proto_field_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_field_get_typestring ## -- Begin function network_mysqld_proto_field_get_typestring
.p2align 4, 0x90
_network_mysqld_proto_field_get_typestring: ## @network_mysqld_proto_field_get_typestring
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, %edx
movq _field_type_name@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%rcx), %rax
testq %rax, %rax
je LBB0_5
## %bb.1:
movl %edx, %esi
cmpq %rsi, 8(%rcx)
je LBB0_6
## %bb.2:
addq $24, %rcx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -8(%rcx), %rax
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leaq 16(%rcx), %rdi
cmpq %rsi, (%rcx)
movq %rdi, %rcx
jne LBB0_3
LBB0_6:
popq %rbp
retq
LBB0_5:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
callq _g_critical
leaq L_.str(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "UNKNOWN"
.comm _field_type_name,8,3 ## @field_type_name
L_.str.1: ## @.str.1
.asciz "%s: field-type %d isn't known yet"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_field_get_typestring ; -- Begin function network_mysqld_proto_field_get_typestring
.p2align 2
_network_mysqld_proto_field_get_typestring: ; @network_mysqld_proto_field_get_typestring
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov x2, x0
Lloh0:
adrp x8, _field_type_name@GOTPAGE
Lloh1:
ldr x8, [x8, _field_type_name@GOTPAGEOFF]
Lloh2:
ldr x9, [x8]
ldr x0, [x9]
cbz x0, LBB0_6
; %bb.1:
mov w8, w2
ldr x10, [x9, #8]
cmp x10, x8
b.eq LBB0_5
; %bb.2:
add x9, x9, #24
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldur x0, [x9, #-8]
cbz x0, LBB0_6
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
ldr x10, [x9], #16
cmp x10, x8
b.ne LBB0_3
LBB0_5:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
LBB0_6:
Lloh3:
adrp x8, _G_STRLOC@GOTPAGE
Lloh4:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
Lloh6:
adrp x0, l_.str.1@PAGE
Lloh7:
add x0, x0, l_.str.1@PAGEOFF
bl _g_critical
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "UNKNOWN"
.comm _field_type_name,8,3 ; @field_type_name
l_.str.1: ; @.str.1
.asciz "%s: field-type %d isn't known yet"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_proto_field_get_typestring.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_fields_free ## -- Begin function network_mysqld_proto_fields_free
.p2align 4, 0x90
_network_mysqld_proto_fields_free: ## @network_mysqld_proto_fields_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
cmpq $0, (%rdi)
je LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rax
movl (%rax,%rbx,4), %edi
callq _network_mysqld_proto_field_free
incq %rbx
cmpq (%r14), %rbx
jb LBB0_3
LBB0_4:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_ptr_array_free ## TAILCALL
LBB0_5:
retq
.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 _network_mysqld_proto_fields_free ; -- Begin function network_mysqld_proto_fields_free
.p2align 2
_network_mysqld_proto_fields_free: ; @network_mysqld_proto_fields_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr w0, [x8, x20, lsl #2]
bl _network_mysqld_proto_field_free
add x20, x20, #1
ldr x8, [x19]
cmp x20, x8
b.lo LBB0_3
LBB0_4:
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_ptr_array_free
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_proto_fields_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_fields_get ## -- Begin function network_mysqld_proto_fields_get
.p2align 4, 0x90
_network_mysqld_proto_fields_get: ## @network_mysqld_proto_fields_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq (%rsi), %rax
testq %rax, %rax
je LBB0_7
## %bb.1:
movq %rsi, %r15
movq %rdi, %r14
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
cmpq %rax, %rbx
jae LBB0_7
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq 8(%r15), %rcx
movq (%rcx,%rbx,8), %rsi
cmpl $0, (%rsi)
jne LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movq %r14, %rdi
callq _network_mysqld_proto_field_get
testq %rax, %rax
jne LBB0_4
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movq (%r15), %rax
jmp LBB0_6
LBB0_7:
xorl %eax, %eax
LBB0_8:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
LBB0_4:
movl $-1, %eax
jmp LBB0_8
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_fields_get ; -- Begin function network_mysqld_proto_fields_get
.p2align 2
_network_mysqld_proto_fields_get: ; @network_mysqld_proto_fields_get
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x1]
cbz x8, LBB0_6
; %bb.1:
mov x19, x1
mov x20, x0
mov x21, #0
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x21, x21, #1
cmp x21, x8
b.hs LBB0_6
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #8]
ldr x1, [x9, x21, lsl #3]
ldr w9, [x1]
cbnz w9, LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x20
bl _network_mysqld_proto_field_get
cbnz x0, LBB0_8
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x19]
b LBB0_2
LBB0_6:
mov w0, #0
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
LBB0_8:
mov w0, #-1
b LBB0_7
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_proto_fields_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_screen_field_free ## -- Begin function network_mysqld_screen_field_free
.p2align 4, 0x90
_network_mysqld_screen_field_free: ## @network_mysqld_screen_field_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _g_string_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
LBB0_1:
retq
.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 _network_mysqld_screen_field_free ; -- Begin function network_mysqld_screen_field_free
.p2align 2
_network_mysqld_screen_field_free: ; @network_mysqld_screen_field_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _g_string_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_screen_field_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_screen_free ## -- Begin function network_mysqld_screen_free
.p2align 4, 0x90
_network_mysqld_screen_free: ## @network_mysqld_screen_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq (%rdi), %rdi
cmpq $0, (%rdi)
je LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %rax
movl (%rax,%rbx,4), %edi
callq _network_mysqld_screen_field_free
incq %rbx
movq (%r14), %rdi
cmpq (%rdi), %rbx
jb LBB0_3
LBB0_4:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _g_ptr_array_free
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_free ## TAILCALL
LBB0_5:
retq
.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 _network_mysqld_screen_free ; -- Begin function network_mysqld_screen_free
.p2align 2
_network_mysqld_screen_free: ; @network_mysqld_screen_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
ldr x8, [x0]
cbz x8, LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]
ldr w0, [x8, x20, lsl #2]
bl _network_mysqld_screen_field_free
add x20, x20, #1
ldr x0, [x19]
ldr x8, [x0]
cmp x20, x8
b.lo LBB0_3
LBB0_4:
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _g_ptr_array_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-myisam-dump.c_network_mysqld_screen_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _chassis_frontend_set_chassis_options ## -- Begin function chassis_frontend_set_chassis_options
.p2align 4, 0x90
_chassis_frontend_set_chassis_options: ## @chassis_frontend_set_chassis_options
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _G_OPTION_ARG_NONE@GOTPCREL(%rip), %r13
movl (%r13), %r8d
leaq 68(%rdi), %r9
leaq L_.str.1(%rip), %rax
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r13), %r8d
leaq 64(%r14), %r9
leaq L_.str.3(%rip), %rax
leaq L_.str.2(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movq _G_OPTION_ARG_STRING@GOTPCREL(%rip), %r15
movl (%r15), %r8d
leaq 60(%r14), %r9
leaq L_.str.6(%rip), %rax
leaq L_.str.5(%rip), %r10
leaq L_.str.4(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %rax
pushq %r10
callq _chassis_options_add
addq $16, %rsp
movl (%r15), %r8d
leaq 56(%r14), %r9
leaq L_.str.9(%rip), %rax
leaq L_.str.8(%rip), %r10
leaq L_.str.7(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %rax
pushq %r10
callq _chassis_options_add
addq $16, %rsp
movl (%r15), %r8d
leaq 52(%r14), %r9
leaq L_.str.12(%rip), %r12
leaq L_.str.11(%rip), %rax
leaq L_.str.10(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %r12
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movq _G_OPTION_ARG_STRING_ARRAY@GOTPCREL(%rip), %rax
movl (%rax), %r8d
leaq 48(%r14), %r9
leaq L_.str.15(%rip), %rax
leaq L_.str.14(%rip), %r10
leaq L_.str.13(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %rax
pushq %r10
callq _chassis_options_add
addq $16, %rsp
movl (%r15), %r8d
leaq 44(%r14), %r9
leaq L_.str.18(%rip), %rax
leaq L_.str.17(%rip), %r10
leaq L_.str.16(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %rax
pushq %r10
callq _chassis_options_add
addq $16, %rsp
movl (%r15), %r8d
leaq 40(%r14), %r9
leaq L_.str.20(%rip), %rax
leaq L_.str.19(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %r12
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r13), %r8d
leaq 36(%r14), %r9
leaq L_.str.22(%rip), %rax
leaq L_.str.21(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r13), %r8d
leaq 32(%r14), %r9
leaq L_.str.24(%rip), %rax
leaq L_.str.23(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r13), %r8d
leaq 28(%r14), %r9
leaq L_.str.26(%rip), %rax
leaq L_.str.25(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movq _G_OPTION_ARG_INT@GOTPCREL(%rip), %r13
movl (%r13), %r8d
leaq 24(%r14), %r9
leaq L_.str.28(%rip), %rax
leaq L_.str.27(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r13), %r8d
leaq 20(%r14), %r9
leaq L_.str.30(%rip), %rax
leaq L_.str.29(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r15), %r8d
leaq 16(%r14), %r9
leaq L_.str.33(%rip), %r12
leaq L_.str.32(%rip), %rax
leaq L_.str.31(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %r12
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r15), %r8d
leaq 12(%r14), %r9
leaq L_.str.35(%rip), %rax
leaq L_.str.34(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq %r12
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r15), %r8d
leaq 8(%r14), %r9
leaq L_.str.37(%rip), %r10
leaq L_.str.36(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
leaq L_.str.15(%rip), %rax
pushq %rax
pushq %r10
callq _chassis_options_add
addq $16, %rsp
movl (%r13), %r8d
leaq 4(%r14), %r9
leaq L_.str.39(%rip), %rax
leaq L_.str.38(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
movl (%r13), %r8d
leaq L_.str.41(%rip), %rax
leaq L_.str.40(%rip), %rsi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r9
pushq $0
pushq %rax
callq _chassis_options_add
addq $16, %rsp
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: ## @.str
.asciz "verbose-shutdown"
.comm _G_OPTION_ARG_NONE,4,2 ## @G_OPTION_ARG_NONE
L_.str.1: ## @.str.1
.asciz "Always log the exit code when shutting down"
L_.str.2: ## @.str.2
.asciz "daemon"
L_.str.3: ## @.str.3
.asciz "Start in daemon-mode"
L_.str.4: ## @.str.4
.asciz "user"
.comm _G_OPTION_ARG_STRING,4,2 ## @G_OPTION_ARG_STRING
L_.str.5: ## @.str.5
.asciz "Run mysql-proxy as user"
L_.str.6: ## @.str.6
.asciz "<user>"
L_.str.7: ## @.str.7
.asciz "basedir"
L_.str.8: ## @.str.8
.asciz "Base directory to prepend to relative paths in the config"
L_.str.9: ## @.str.9
.asciz "<absolute path>"
L_.str.10: ## @.str.10
.asciz "plugin-dir"
L_.str.11: ## @.str.11
.asciz "path to the plugins"
L_.str.12: ## @.str.12
.asciz "<path>"
L_.str.13: ## @.str.13
.asciz "plugins"
.comm _G_OPTION_ARG_STRING_ARRAY,4,2 ## @G_OPTION_ARG_STRING_ARRAY
L_.str.14: ## @.str.14
.asciz "plugins to load"
L_.str.15: ## @.str.15
.asciz "<name>"
L_.str.16: ## @.str.16
.asciz "log-level"
L_.str.17: ## @.str.17
.asciz "log all messages of level ... or higher"
L_.str.18: ## @.str.18
.asciz "(error|warning|info|message|debug)"
L_.str.19: ## @.str.19
.asciz "log-path"
L_.str.20: ## @.str.20
.asciz "log all messages in a path"
L_.str.21: ## @.str.21
.asciz "log-use-syslog"
L_.str.22: ## @.str.22
.asciz "log all messages to syslog"
L_.str.23: ## @.str.23
.asciz "log-backtrace-on-crash"
L_.str.24: ## @.str.24
.asciz "try to invoke debugger on crash"
L_.str.25: ## @.str.25
.asciz "keepalive"
L_.str.26: ## @.str.26
.asciz "try to restart the proxy if it crashed"
L_.str.27: ## @.str.27
.asciz "max-open-files"
.comm _G_OPTION_ARG_INT,4,2 ## @G_OPTION_ARG_INT
L_.str.28: ## @.str.28
.asciz "maximum number of open files (ulimit -n)"
L_.str.29: ## @.str.29
.asciz "event-threads"
L_.str.30: ## @.str.30
.asciz "number of event-handling threads (default: 1)"
L_.str.31: ## @.str.31
.asciz "lua-path"
L_.str.32: ## @.str.32
.asciz "set the LUA_PATH"
L_.str.33: ## @.str.33
.asciz "<...>"
L_.str.34: ## @.str.34
.asciz "lua-cpath"
L_.str.35: ## @.str.35
.asciz "set the LUA_CPATH"
L_.str.36: ## @.str.36
.asciz "instance"
L_.str.37: ## @.str.37
.asciz "instance name"
L_.str.38: ## @.str.38
.asciz "wait-timeout"
L_.str.39: ## @.str.39
.asciz "the number of seconds which Atlas waits for activity on a connection before closing it (default:0)"
L_.str.40: ## @.str.40
.asciz "max_conn_for_a_backend"
L_.str.41: ## @.str.41
.asciz "max conn for a backend(default: 0)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _chassis_frontend_set_chassis_options ; -- Begin function chassis_frontend_set_chassis_options
.p2align 2
_chassis_frontend_set_chassis_options: ; @chassis_frontend_set_chassis_options
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x1
mov x19, x0
Lloh0:
adrp x24, _G_OPTION_ARG_NONE@GOTPAGE
Lloh1:
ldr x24, [x24, _G_OPTION_ARG_NONE@GOTPAGEOFF]
ldr w4, [x24]
add x5, x0, #68
Lloh2:
adrp x1, l_.str@PAGE
Lloh3:
add x1, x1, l_.str@PAGEOFF
Lloh4:
adrp x6, l_.str.1@PAGE
Lloh5:
add x6, x6, l_.str.1@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
ldr w4, [x24]
add x5, x19, #64
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
Lloh8:
adrp x6, l_.str.3@PAGE
Lloh9:
add x6, x6, l_.str.3@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
Lloh10:
adrp x23, _G_OPTION_ARG_STRING@GOTPAGE
Lloh11:
ldr x23, [x23, _G_OPTION_ARG_STRING@GOTPAGEOFF]
ldr w4, [x23]
add x5, x19, #60
Lloh12:
adrp x1, l_.str.4@PAGE
Lloh13:
add x1, x1, l_.str.4@PAGEOFF
Lloh14:
adrp x6, l_.str.5@PAGE
Lloh15:
add x6, x6, l_.str.5@PAGEOFF
Lloh16:
adrp x7, l_.str.6@PAGE
Lloh17:
add x7, x7, l_.str.6@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
bl _chassis_options_add
ldr w4, [x23]
add x5, x19, #56
Lloh18:
adrp x1, l_.str.7@PAGE
Lloh19:
add x1, x1, l_.str.7@PAGEOFF
Lloh20:
adrp x6, l_.str.8@PAGE
Lloh21:
add x6, x6, l_.str.8@PAGEOFF
Lloh22:
adrp x7, l_.str.9@PAGE
Lloh23:
add x7, x7, l_.str.9@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
bl _chassis_options_add
ldr w4, [x23]
add x5, x19, #52
Lloh24:
adrp x1, l_.str.10@PAGE
Lloh25:
add x1, x1, l_.str.10@PAGEOFF
Lloh26:
adrp x6, l_.str.11@PAGE
Lloh27:
add x6, x6, l_.str.11@PAGEOFF
Lloh28:
adrp x22, l_.str.12@PAGE
Lloh29:
add x22, x22, l_.str.12@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, x22
bl _chassis_options_add
Lloh30:
adrp x8, _G_OPTION_ARG_STRING_ARRAY@GOTPAGE
Lloh31:
ldr x8, [x8, _G_OPTION_ARG_STRING_ARRAY@GOTPAGEOFF]
Lloh32:
ldr w4, [x8]
add x5, x19, #48
Lloh33:
adrp x1, l_.str.13@PAGE
Lloh34:
add x1, x1, l_.str.13@PAGEOFF
Lloh35:
adrp x6, l_.str.14@PAGE
Lloh36:
add x6, x6, l_.str.14@PAGEOFF
Lloh37:
adrp x21, l_.str.15@PAGE
Lloh38:
add x21, x21, l_.str.15@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, x21
bl _chassis_options_add
ldr w4, [x23]
add x5, x19, #44
Lloh39:
adrp x1, l_.str.16@PAGE
Lloh40:
add x1, x1, l_.str.16@PAGEOFF
Lloh41:
adrp x6, l_.str.17@PAGE
Lloh42:
add x6, x6, l_.str.17@PAGEOFF
Lloh43:
adrp x7, l_.str.18@PAGE
Lloh44:
add x7, x7, l_.str.18@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
bl _chassis_options_add
ldr w4, [x23]
add x5, x19, #40
Lloh45:
adrp x1, l_.str.19@PAGE
Lloh46:
add x1, x1, l_.str.19@PAGEOFF
Lloh47:
adrp x6, l_.str.20@PAGE
Lloh48:
add x6, x6, l_.str.20@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, x22
bl _chassis_options_add
ldr w4, [x24]
add x5, x19, #36
Lloh49:
adrp x1, l_.str.21@PAGE
Lloh50:
add x1, x1, l_.str.21@PAGEOFF
Lloh51:
adrp x6, l_.str.22@PAGE
Lloh52:
add x6, x6, l_.str.22@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
ldr w4, [x24]
add x5, x19, #32
Lloh53:
adrp x1, l_.str.23@PAGE
Lloh54:
add x1, x1, l_.str.23@PAGEOFF
Lloh55:
adrp x6, l_.str.24@PAGE
Lloh56:
add x6, x6, l_.str.24@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
ldr w4, [x24]
add x5, x19, #28
Lloh57:
adrp x1, l_.str.25@PAGE
Lloh58:
add x1, x1, l_.str.25@PAGEOFF
Lloh59:
adrp x6, l_.str.26@PAGE
Lloh60:
add x6, x6, l_.str.26@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
Lloh61:
adrp x24, _G_OPTION_ARG_INT@GOTPAGE
Lloh62:
ldr x24, [x24, _G_OPTION_ARG_INT@GOTPAGEOFF]
ldr w4, [x24]
add x5, x19, #24
Lloh63:
adrp x1, l_.str.27@PAGE
Lloh64:
add x1, x1, l_.str.27@PAGEOFF
Lloh65:
adrp x6, l_.str.28@PAGE
Lloh66:
add x6, x6, l_.str.28@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
ldr w4, [x24]
add x5, x19, #20
Lloh67:
adrp x1, l_.str.29@PAGE
Lloh68:
add x1, x1, l_.str.29@PAGEOFF
Lloh69:
adrp x6, l_.str.30@PAGE
Lloh70:
add x6, x6, l_.str.30@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
ldr w4, [x23]
add x5, x19, #16
Lloh71:
adrp x1, l_.str.31@PAGE
Lloh72:
add x1, x1, l_.str.31@PAGEOFF
Lloh73:
adrp x6, l_.str.32@PAGE
Lloh74:
add x6, x6, l_.str.32@PAGEOFF
Lloh75:
adrp x22, l_.str.33@PAGE
Lloh76:
add x22, x22, l_.str.33@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, x22
bl _chassis_options_add
ldr w4, [x23]
add x5, x19, #12
Lloh77:
adrp x1, l_.str.34@PAGE
Lloh78:
add x1, x1, l_.str.34@PAGEOFF
Lloh79:
adrp x6, l_.str.35@PAGE
Lloh80:
add x6, x6, l_.str.35@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, x22
bl _chassis_options_add
ldr w4, [x23]
add x5, x19, #8
Lloh81:
adrp x1, l_.str.36@PAGE
Lloh82:
add x1, x1, l_.str.36@PAGEOFF
Lloh83:
adrp x6, l_.str.37@PAGE
Lloh84:
add x6, x6, l_.str.37@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, x21
bl _chassis_options_add
ldr w4, [x24]
add x5, x19, #4
Lloh85:
adrp x1, l_.str.38@PAGE
Lloh86:
add x1, x1, l_.str.38@PAGEOFF
Lloh87:
adrp x6, l_.str.39@PAGE
Lloh88:
add x6, x6, l_.str.39@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x7, #0
bl _chassis_options_add
ldr w4, [x24]
Lloh89:
adrp x1, l_.str.40@PAGE
Lloh90:
add x1, x1, l_.str.40@PAGEOFF
Lloh91:
adrp x6, l_.str.41@PAGE
Lloh92:
add x6, x6, l_.str.41@PAGEOFF
mov x0, x20
mov w2, #0
mov w3, #0
mov x5, x19
mov x7, #0
bl _chassis_options_add
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh91, Lloh92
.loh AdrpAdd Lloh89, Lloh90
.loh AdrpAdd Lloh87, Lloh88
.loh AdrpAdd Lloh85, Lloh86
.loh AdrpAdd Lloh83, Lloh84
.loh AdrpAdd Lloh81, Lloh82
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpAdd Lloh77, Lloh78
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpAdd Lloh71, Lloh72
.loh AdrpAdd Lloh69, Lloh70
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh65, Lloh66
.loh AdrpAdd Lloh63, Lloh64
.loh AdrpLdrGot Lloh61, Lloh62
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh37, Lloh38
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpAdd Lloh26, Lloh27
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "verbose-shutdown"
.comm _G_OPTION_ARG_NONE,4,2 ; @G_OPTION_ARG_NONE
l_.str.1: ; @.str.1
.asciz "Always log the exit code when shutting down"
l_.str.2: ; @.str.2
.asciz "daemon"
l_.str.3: ; @.str.3
.asciz "Start in daemon-mode"
l_.str.4: ; @.str.4
.asciz "user"
.comm _G_OPTION_ARG_STRING,4,2 ; @G_OPTION_ARG_STRING
l_.str.5: ; @.str.5
.asciz "Run mysql-proxy as user"
l_.str.6: ; @.str.6
.asciz "<user>"
l_.str.7: ; @.str.7
.asciz "basedir"
l_.str.8: ; @.str.8
.asciz "Base directory to prepend to relative paths in the config"
l_.str.9: ; @.str.9
.asciz "<absolute path>"
l_.str.10: ; @.str.10
.asciz "plugin-dir"
l_.str.11: ; @.str.11
.asciz "path to the plugins"
l_.str.12: ; @.str.12
.asciz "<path>"
l_.str.13: ; @.str.13
.asciz "plugins"
.comm _G_OPTION_ARG_STRING_ARRAY,4,2 ; @G_OPTION_ARG_STRING_ARRAY
l_.str.14: ; @.str.14
.asciz "plugins to load"
l_.str.15: ; @.str.15
.asciz "<name>"
l_.str.16: ; @.str.16
.asciz "log-level"
l_.str.17: ; @.str.17
.asciz "log all messages of level ... or higher"
l_.str.18: ; @.str.18
.asciz "(error|warning|info|message|debug)"
l_.str.19: ; @.str.19
.asciz "log-path"
l_.str.20: ; @.str.20
.asciz "log all messages in a path"
l_.str.21: ; @.str.21
.asciz "log-use-syslog"
l_.str.22: ; @.str.22
.asciz "log all messages to syslog"
l_.str.23: ; @.str.23
.asciz "log-backtrace-on-crash"
l_.str.24: ; @.str.24
.asciz "try to invoke debugger on crash"
l_.str.25: ; @.str.25
.asciz "keepalive"
l_.str.26: ; @.str.26
.asciz "try to restart the proxy if it crashed"
l_.str.27: ; @.str.27
.asciz "max-open-files"
.comm _G_OPTION_ARG_INT,4,2 ; @G_OPTION_ARG_INT
l_.str.28: ; @.str.28
.asciz "maximum number of open files (ulimit -n)"
l_.str.29: ; @.str.29
.asciz "event-threads"
l_.str.30: ; @.str.30
.asciz "number of event-handling threads (default: 1)"
l_.str.31: ; @.str.31
.asciz "lua-path"
l_.str.32: ; @.str.32
.asciz "set the LUA_PATH"
l_.str.33: ; @.str.33
.asciz "<...>"
l_.str.34: ; @.str.34
.asciz "lua-cpath"
l_.str.35: ; @.str.35
.asciz "set the LUA_CPATH"
l_.str.36: ; @.str.36
.asciz "instance"
l_.str.37: ; @.str.37
.asciz "instance name"
l_.str.38: ; @.str.38
.asciz "wait-timeout"
l_.str.39: ; @.str.39
.asciz "the number of seconds which Atlas waits for activity on a connection before closing it (default:0)"
l_.str.40: ; @.str.40
.asciz "max_conn_for_a_backend"
l_.str.41: ; @.str.41
.asciz "max conn for a backend(default: 0)"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-proxy-cli.c_chassis_frontend_set_chassis_options.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
popq %rbp
jmp _main_cmdline ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
b _main_cmdline
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_mysql-proxy-cli.c_main.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_lua_getmetatable ## -- Begin function network_address_lua_getmetatable
.p2align 4, 0x90
_network_address_lua_getmetatable: ## @network_address_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 _network_address_lua_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @network_address_lua_getmetatable.methods
_network_address_lua_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 _network_address_lua_getmetatable ; -- Begin function network_address_lua_getmetatable
.p2align 2
_network_address_lua_getmetatable: ; @network_address_lua_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _network_address_lua_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _network_address_lua_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @network_address_lua_getmetatable.methods
_network_address_lua_getmetatable.methods:
.quad l_.str
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__index"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address-lua.c_network_address_lua_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_lua_push ## -- Begin function network_address_lua_push
.p2align 4, 0x90
_network_address_lua_push: ## @network_address_lua_push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
testq %rsi, %rsi
je LBB0_1
## %bb.2:
movq %rsi, %r14
movq %rbx, %rdi
movl $4, %esi
callq _lua_newuserdata
movq %r14, (%rax)
movq %rbx, %rdi
callq _network_address_lua_getmetatable
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setmetatable
jmp LBB0_3
LBB0_1:
movq %rbx, %rdi
callq _lua_pushnil
LBB0_3:
movl $1, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_lua_push ; -- Begin function network_address_lua_push
.p2align 2
_network_address_lua_push: ; @network_address_lua_push
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
cbz x1, LBB0_2
; %bb.1:
mov x20, x1
mov x0, x19
mov w1, #4
bl _lua_newuserdata
str x20, [x0]
mov x0, x19
bl _network_address_lua_getmetatable
mov x0, x19
mov w1, #-2
bl _lua_setmetatable
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
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address-lua.c_network_address_lua_push.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_address_get
_proxy_address_get: ## @proxy_address_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, %r14
callq _luaL_checkself
movq (%rax), %r12
movl $0, -36(%rbp)
leaq -36(%rbp), %rdx
movq %r14, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r15
movl -36(%rbp), %ebx
leaq L_.str(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_2
## %bb.1:
movl 16(%r12), %esi
movq %r14, %rdi
LBB0_17:
callq _lua_pushinteger
jmp LBB0_18
LBB0_2:
movl -36(%rbp), %ebx
leaq L_.str.1(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_4
## %bb.3:
movl 32(%r12), %edi
callq _S
movq %r14, %rdi
movl %eax, %esi
callq _lua_pushlstring
jmp LBB0_18
LBB0_4:
movl -36(%rbp), %ebx
leaq L_.str.2(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_8
## %bb.5:
movl 16(%r12), %eax
cmpl $128, %eax
je LBB0_12
## %bb.6:
cmpl $130, %eax
jne LBB0_14
## %bb.7:
movl 12(%r12), %edi
callq _inet_ntoa
movq %rax, %rsi
testq %rsi, %rsi
jne LBB0_13
jmp LBB0_14
LBB0_8:
movl -36(%rbp), %ebx
leaq L_.str.3(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_14
## %bb.9:
movl 16(%r12), %eax
cmpl $129, %eax
je LBB0_15
## %bb.10:
cmpl $130, %eax
jne LBB0_14
## %bb.11:
movl 8(%r12), %edi
jmp LBB0_16
LBB0_12:
movq 24(%r12), %rsi
testq %rsi, %rsi
je LBB0_14
LBB0_13:
movq %r14, %rdi
callq _lua_pushstring
jmp LBB0_18
LBB0_14:
movq %r14, %rdi
callq _lua_pushnil
LBB0_18:
movl $1, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
movl (%r12), %edi
LBB0_16:
callq _ntohs
movq %r14, %rdi
movl %eax, %esi
jmp LBB0_17
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "type"
L_.str.1: ## @.str.1
.asciz "name"
L_.str.2: ## @.str.2
.asciz "address"
L_.str.3: ## @.str.3
.asciz "port"
.comm _INET6_ADDRSTRLEN,4,2 ## @INET6_ADDRSTRLEN
.no_dead_strip _proxy_address_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_address_get
_proxy_address_get: ; @proxy_address_get
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _luaL_checkself
ldr x22, [x0]
str wzr, [sp, #12]
add x2, sp, #12
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x20, x0
ldr w21, [sp, #12]
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 w1, [x22, #16]
LBB0_2:
mov x0, x19
bl _lua_pushinteger
b LBB0_16
LBB0_3:
ldr w21, [sp, #12]
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_5
; %bb.4:
ldr w0, [x22, #32]
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
b LBB0_16
LBB0_5:
ldr w21, [sp, #12]
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.6:
ldr w8, [x22, #16]
cmp w8, #128
b.eq LBB0_13
; %bb.7:
cmp w8, #130
b.ne LBB0_15
; %bb.8:
ldr w0, [x22, #12]
bl _inet_ntoa
mov x1, x0
cbnz x1, LBB0_14
b LBB0_15
LBB0_9:
ldr w21, [sp, #12]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_15
; %bb.10:
ldr w8, [x22, #16]
cmp w8, #129
b.eq LBB0_17
; %bb.11:
cmp w8, #130
b.ne LBB0_15
; %bb.12:
ldr w0, [x22, #8]
b LBB0_18
LBB0_13:
ldr x1, [x22, #24]
cbz x1, LBB0_15
LBB0_14:
mov x0, x19
bl _lua_pushstring
b LBB0_16
LBB0_15:
mov x0, x19
bl _lua_pushnil
LBB0_16:
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_17:
ldr w0, [x22]
LBB0_18:
bl _ntohs
mov x1, x0
b LBB0_2
.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 "type"
l_.str.1: ; @.str.1
.asciz "name"
l_.str.2: ; @.str.2
.asciz "address"
l_.str.3: ; @.str.3
.asciz "port"
.comm _INET6_ADDRSTRLEN,4,2 ; @INET6_ADDRSTRLEN
.no_dead_strip _proxy_address_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address-lua.c_proxy_address_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_copy ## -- Begin function network_address_copy
.p2align 4, 0x90
_network_address_copy: ## @network_address_copy
.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
testq %rdi, %rdi
jne LBB0_2
## %bb.1:
xorl %eax, %eax
callq _network_address_new
movq %rax, %rbx
LBB0_2:
movl 8(%r14), %eax
movl %eax, 8(%rbx)
movl 4(%r14), %eax
movl %eax, 4(%rbx)
movl (%rbx), %r15d
movl (%r14), %edi
callq _S
movl %r15d, %edi
movl %eax, %esi
callq _g_string_assign_len
movq %rbx, %rax
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 _network_address_copy ; -- Begin function network_address_copy
.p2align 2
_network_address_copy: ; @network_address_copy
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
cbnz x0, LBB0_2
; %bb.1:
bl _network_address_new
mov x19, x0
LBB0_2:
ldur d0, [x20, #4]
stur d0, [x19, #4]
ldr w21, [x19]
ldr w0, [x20]
bl _S
mov x1, x0
mov x0, x21
bl _g_string_assign_len
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
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address.c_network_address_copy.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_free ## -- Begin function network_address_free
.p2align 4, 0x90
_network_address_free: ## @network_address_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_11
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
movq (%rdi), %rax
movq _TRUE@GOTPCREL(%rip), %r12
cmpq (%r12), %rax
jne LBB0_10
## %bb.2:
movq 8(%rbx), %rax
testq %rax, %rax
je LBB0_10
## %bb.3:
movq (%rax), %r14
testq %r14, %r14
je LBB0_10
## %bb.4:
cmpb $47, (%r14)
jne LBB0_10
## %bb.5:
movq %r14, %rdi
callq _g_remove
testl %eax, %eax
je LBB0_6
## %bb.7:
movq _errno@GOTPCREL(%rip), %r13
movq (%r13), %rdi
movq _EPERM@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
je LBB0_10
## %bb.8:
movq _EACCES@GOTPCREL(%rip), %rax
cmpq (%rax), %rdi
je LBB0_10
## %bb.9:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %r15d
callq _strerror
movq (%r13), %r8
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
movq %r14, %rdx
movl %eax, %ecx
callq _g_critical
jmp LBB0_10
LBB0_11:
retq
LBB0_6:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movq %r14, %rdx
callq _g_debug
LBB0_10:
movq 8(%rbx), %rdi
movq (%r12), %rsi
callq _g_string_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _g_free ## TAILCALL
.cfi_endproc
## -- End function
.comm _TRUE,8,3 ## @TRUE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: removing socket %s successful"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _errno,8,3 ## @errno
.comm _EPERM,8,3 ## @EPERM
.comm _EACCES,8,3 ## @EACCES
L_.str.1: ## @.str.1
.asciz "%s: removing socket %s failed: %s (%d)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_free ; -- Begin function network_address_free
.p2align 2
_network_address_free: ; @network_address_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_8
; %bb.1:
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
.cfi_remember_state
mov x19, x0
ldr x8, [x0]
Lloh0:
adrp x22, _TRUE@GOTPAGE
Lloh1:
ldr x22, [x22, _TRUE@GOTPAGEOFF]
ldr x9, [x22]
cmp x8, x9
b.ne LBB0_10
; %bb.2:
ldr x8, [x19, #8]
cbz x8, LBB0_10
; %bb.3:
ldr x20, [x8]
cbz x20, LBB0_10
; %bb.4:
ldrb w8, [x20]
cmp w8, #47
b.ne LBB0_10
; %bb.5:
mov x0, x20
bl _g_remove
cbz w0, LBB0_9
; %bb.6:
Lloh2:
adrp x23, _errno@GOTPAGE
Lloh3:
ldr x23, [x23, _errno@GOTPAGEOFF]
ldr x0, [x23]
Lloh4:
adrp x8, _EPERM@GOTPAGE
Lloh5:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
Lloh6:
ldr x8, [x8]
Lloh7:
adrp x9, _EACCES@GOTPAGE
Lloh8:
ldr x9, [x9, _EACCES@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x0, x8
ccmp x0, x9, #4, ne
b.eq LBB0_10
; %bb.7:
Lloh10:
adrp x8, _G_STRLOC@GOTPAGE
Lloh11:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh12:
ldr w21, [x8]
bl _strerror
mov x3, x0
ldr x4, [x23]
Lloh13:
adrp x0, l_.str.1@PAGE
Lloh14:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x21
mov x2, x20
bl _g_critical
b LBB0_10
LBB0_8:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
.cfi_same_value w21
.cfi_same_value w22
.cfi_same_value w23
.cfi_same_value w24
ret
LBB0_9:
.cfi_restore_state
Lloh15:
adrp x8, _G_STRLOC@GOTPAGE
Lloh16:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh17:
ldr w1, [x8]
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
mov x2, x20
bl _g_debug
LBB0_10:
ldr x0, [x19, #8]
ldr x1, [x22]
bl _g_string_free
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
b _g_free
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _TRUE,8,3 ; @TRUE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: removing socket %s successful"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _errno,8,3 ; @errno
.comm _EPERM,8,3 ; @EPERM
.comm _EACCES,8,3 ; @EACCES
l_.str.1: ; @.str.1
.asciz "%s: removing socket %s failed: %s (%d)"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address.c_network_address_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_is_local ## -- Begin function network_address_is_local
.p2align 4, 0x90
_network_address_is_local: ## @network_address_is_local
.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), %rdx
movq (%rdi), %rcx
cmpq %rcx, %rdx
jne LBB0_1
## %bb.2:
movq _G_STRLOC@GOTPCREL(%rip), %r13
movl (%r13), %r15d
cmpq $129, %rdx
jne LBB0_4
## %bb.3:
movq %rsi, %r14
movq %rdi, %rbx
movl 8(%rsi), %edi
callq _inet_ntoa
movl %eax, %r12d
movl 12(%r14), %edi
callq _ntohs
leaq L_.str.1(%rip), %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %eax, %ecx
callq _g_debug
movl (%r13), %r15d
movl 8(%rbx), %edi
callq _inet_ntoa
movl %eax, %r12d
movl 12(%rbx), %edi
callq _ntohs
leaq L_.str.2(%rip), %rdi
movl %r15d, %esi
movl %r12d, %edx
movl %eax, %ecx
callq _g_debug
movl 8(%rbx), %ecx
xorl %eax, %eax
cmpl 8(%r14), %ecx
sete %al
jmp LBB0_6
LBB0_1:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
callq _g_message
jmp LBB0_5
LBB0_4:
leaq L_.str.3(%rip), %rdi
movl %r15d, %esi
## kill: def $edx killed $edx killed $rdx
callq _g_critical
LBB0_5:
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_6:
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 "%s: is-local family %d != %d"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _FALSE,4,2 ## @FALSE
L_.str.1: ## @.str.1
.asciz "%s: is-local src: %s(:%d) =? ..."
L_.str.2: ## @.str.2
.asciz "%s: is-local dst: %s(:%d)"
L_.str.3: ## @.str.3
.asciz "%s: sa_family = %d"
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_is_local ; -- Begin function network_address_is_local
.p2align 2
_network_address_is_local: ; @network_address_is_local
.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 x2, [x1]
ldr x3, [x0]
cmp x2, x3
b.ne LBB0_3
; %bb.1:
Lloh0:
adrp x23, _G_STRLOC@GOTPAGE
Lloh1:
ldr x23, [x23, _G_STRLOC@GOTPAGEOFF]
ldr w21, [x23]
cmp x2, #129
b.ne LBB0_4
; %bb.2:
mov x19, x1
mov x20, x0
ldr w0, [x1, #8]
bl _inet_ntoa
mov x22, x0
ldr w0, [x19, #12]
bl _ntohs
mov x3, x0
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x21
mov x2, x22
bl _g_debug
ldr w21, [x23]
ldr w0, [x20, #8]
bl _inet_ntoa
mov x22, x0
ldr w0, [x20, #12]
bl _ntohs
mov x3, x0
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x21
mov x2, x22
bl _g_debug
ldr w8, [x20, #8]
ldr w9, [x19, #8]
cmp w8, w9
cset w0, eq
b LBB0_6
LBB0_3:
Lloh6:
adrp x8, _G_STRLOC@GOTPAGE
Lloh7:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _g_message
b LBB0_5
LBB0_4:
Lloh11:
adrp x0, l_.str.3@PAGE
Lloh12:
add x0, x0, l_.str.3@PAGEOFF
mov x1, x21
; kill: def $w2 killed $w2 killed $x2
bl _g_critical
LBB0_5:
Lloh13:
adrp x8, _FALSE@GOTPAGE
Lloh14:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: is-local family %d != %d"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _FALSE,4,2 ; @FALSE
l_.str.1: ; @.str.1
.asciz "%s: is-local src: %s(:%d) =? ..."
l_.str.2: ; @.str.2
.asciz "%s: is-local dst: %s(:%d)"
l_.str.3: ; @.str.3
.asciz "%s: sa_family = %d"
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address.c_network_address_is_local.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_set_address ## -- Begin function network_address_set_address
.p2align 4, 0x90
_network_address_set_address: ## @network_address_set_address
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r15
movl $-1, %esi
callq _g_return_val_if_fail
cmpb $47, (%rbx)
jne LBB0_2
## %bb.1:
movq %r15, %rdi
movq %rbx, %rsi
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _network_address_set_address_un ## TAILCALL
LBB0_2:
movq %rbx, %rdi
movl $58, %esi
callq _strchr
testq %rax, %rax
je LBB0_6
## %bb.3:
movq %rax, %r12
movl %r12d, %esi
subl %ebx, %esi
movq %rbx, %rdi
callq _g_strndup
movq %rax, %r14
movq $0, -40(%rbp)
movq %r12, %rdi
incq %rdi
leaq -40(%rbp), %rsi
movl $10, %edx
callq _strtoul
cmpb $0, 1(%r12)
je LBB0_7
## %bb.4:
movq -40(%rbp), %rcx
cmpb $0, (%rcx)
je LBB0_11
## %bb.5:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq _g_critical
jmp LBB0_8
LBB0_6:
movq %r15, %rdi
movq %rbx, %rsi
movl $3306, %edx ## imm = 0xCEA
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp _network_address_set_address_ip ## TAILCALL
LBB0_7:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq _g_critical
LBB0_8:
movl $-1, %ebx
testq %r14, %r14
je LBB0_10
LBB0_9:
movq %r14, %rdi
callq _g_free
LBB0_10:
movl %ebx, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _network_address_set_address_ip
movl %eax, %ebx
testq %r14, %r14
jne LBB0_9
jmp LBB0_10
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: IP-address has to be in the form [<ip>][:<port>], is '%s'. No port number"
.comm _G_STRLOC,4,2 ## @G_STRLOC
L_.str.1: ## @.str.1
.asciz "%s: IP-address has to be in the form [<ip>][:<port>], is '%s'. Failed to parse the port at '%s'"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_address_set_address ; -- Begin function network_address_set_address
.p2align 2
_network_address_set_address: ; @network_address_set_address
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x21, x0
mov w1, #-1
bl _g_return_val_if_fail
ldrb w8, [x19]
cmp w8, #47
b.ne LBB0_2
; %bb.1:
mov x0, x21
mov x1, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _network_address_set_address_un
LBB0_2:
mov x0, x19
mov w1, #58
bl _strchr
cbz x0, LBB0_6
; %bb.3:
mov x22, x0
sub w1, w22, w19
mov x0, x19
bl _g_strndup
mov x20, x0
str xzr, [sp, #8]
add x0, x22, #1
add x1, sp, #8
mov w2, #10
bl _strtoul
ldrb w8, [x22, #1]
cbz w8, LBB0_7
; %bb.4:
ldr x8, [sp, #8]
ldrb w9, [x8]
cbz w9, LBB0_11
; %bb.5:
Lloh0:
adrp x9, _G_STRLOC@GOTPAGE
Lloh1:
ldr x9, [x9, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
str x8, [sp]
Lloh3:
adrp x0, l_.str.1@PAGE
Lloh4:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_8
LBB0_6:
mov x0, x21
mov x1, x19
mov w2, #3306
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
b _network_address_set_address_ip
LBB0_7:
Lloh5:
adrp x8, _G_STRLOC@GOTPAGE
Lloh6:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
LBB0_8:
mov x2, x19
bl _g_critical
mov w19, #-1
cbz x20, LBB0_10
LBB0_9:
mov x0, x20
bl _g_free
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_11:
mov x2, x0
mov x0, x21
mov x1, x20
bl _network_address_set_address_ip
mov x19, x0
cbnz x20, LBB0_9
b LBB0_10
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: IP-address has to be in the form [<ip>][:<port>], is '%s'. No port number"
.comm _G_STRLOC,4,2 ; @G_STRLOC
l_.str.1: ; @.str.1
.asciz "%s: IP-address has to be in the form [<ip>][:<port>], is '%s'. Failed to parse the port at '%s'"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address.c_network_address_set_address.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_address_set_address_un
_network_address_set_address_un: ## @network_address_set_address_un
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rsi, %rbx
movl $-1, %esi
callq _g_return_val_if_fail
movq %rbx, %rdi
movl $-1, %esi
callq _g_return_val_if_fail
movl $-1, %eax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _AF_UNIX,4,2 ## @AF_UNIX
.no_dead_strip _network_address_set_address_un
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_address_set_address_un
_network_address_set_address_un: ; @network_address_set_address_un
.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 w1, #-1
bl _g_return_val_if_fail
mov x0, x19
mov w1, #-1
bl _g_return_val_if_fail
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
.comm _AF_UNIX,4,2 ; @AF_UNIX
.no_dead_strip _network_address_set_address_un
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-address.c_network_address_set_address_un.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backend_lua_getmetatable ## -- Begin function network_backend_lua_getmetatable
.p2align 4, 0x90
_network_backend_lua_getmetatable: ## @network_backend_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 _network_backend_lua_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @network_backend_lua_getmetatable.methods
_network_backend_lua_getmetatable.methods:
.quad L_.str
.quad 129
.quad L_.str.1
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__index"
L_.str.1: ## @.str.1
.asciz "__newindex"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backend_lua_getmetatable ; -- Begin function network_backend_lua_getmetatable
.p2align 2
_network_backend_lua_getmetatable: ; @network_backend_lua_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _network_backend_lua_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _network_backend_lua_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @network_backend_lua_getmetatable.methods
_network_backend_lua_getmetatable.methods:
.quad l_.str
.quad 129
.quad l_.str.1
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__index"
l_.str.1: ; @.str.1
.asciz "__newindex"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_network_backend_lua_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_lua_getmetatable ## -- Begin function network_backends_lua_getmetatable
.p2align 4, 0x90
_network_backends_lua_getmetatable: ## @network_backends_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 _network_backends_lua_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @network_backends_lua_getmetatable.methods
_network_backends_lua_getmetatable.methods:
.quad L_.str
.quad 131
.quad L_.str.1
.quad 128
.quad L_.str.2
.quad 130
.quad L_.str.3
.quad 129
.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 "__call"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_lua_getmetatable ; -- Begin function network_backends_lua_getmetatable
.p2align 2
_network_backends_lua_getmetatable: ; @network_backends_lua_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _network_backends_lua_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _network_backends_lua_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @network_backends_lua_getmetatable.methods
_network_backends_lua_getmetatable.methods:
.quad l_.str
.quad 131
.quad l_.str.1
.quad 128
.quad l_.str.2
.quad 130
.quad l_.str.3
.quad 129
.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 "__call"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_network_backends_lua_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_clients_lua_getmetatable ## -- Begin function network_clients_lua_getmetatable
.p2align 4, 0x90
_network_clients_lua_getmetatable: ## @network_clients_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 _network_clients_lua_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @network_clients_lua_getmetatable.methods
_network_clients_lua_getmetatable.methods:
.quad L_.str
.quad 129
.quad L_.str.1
.quad 128
.quad L_.str.2
.quad 130
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__index"
L_.str.1: ## @.str.1
.asciz "__len"
L_.str.2: ## @.str.2
.asciz "__call"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_clients_lua_getmetatable ; -- Begin function network_clients_lua_getmetatable
.p2align 2
_network_clients_lua_getmetatable: ; @network_clients_lua_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _network_clients_lua_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _network_clients_lua_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @network_clients_lua_getmetatable.methods
_network_clients_lua_getmetatable.methods:
.quad l_.str
.quad 129
.quad l_.str.1
.quad 128
.quad l_.str.2
.quad 130
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__index"
l_.str.1: ; @.str.1
.asciz "__len"
l_.str.2: ; @.str.2
.asciz "__call"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_network_clients_lua_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_pwds_lua_getmetatable ## -- Begin function network_pwds_lua_getmetatable
.p2align 4, 0x90
_network_pwds_lua_getmetatable: ## @network_pwds_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 _network_pwds_lua_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @network_pwds_lua_getmetatable.methods
_network_pwds_lua_getmetatable.methods:
.quad L_.str
.quad 129
.quad L_.str.1
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__index"
L_.str.1: ## @.str.1
.asciz "__len"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_pwds_lua_getmetatable ; -- Begin function network_pwds_lua_getmetatable
.p2align 2
_network_pwds_lua_getmetatable: ; @network_pwds_lua_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _network_pwds_lua_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _network_pwds_lua_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @network_pwds_lua_getmetatable.methods
_network_pwds_lua_getmetatable.methods:
.quad l_.str
.quad 129
.quad l_.str.1
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__index"
l_.str.1: ; @.str.1
.asciz "__len"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_network_pwds_lua_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_backend_get
_proxy_backend_get: ## @proxy_backend_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
movl $0, -36(%rbp)
leaq -36(%rbp), %rdx
movq %r15, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r14
movl -36(%rbp), %ebx
leaq L_.str(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_3
## %bb.1:
movl 28(%r12), %esi
LBB0_2:
movq %r15, %rdi
callq _lua_pushinteger
jmp LBB0_15
LBB0_3:
movl -36(%rbp), %ebx
leaq L_.str.1(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_5
## %bb.4:
movl 24(%r12), %esi
movq %r15, %rdi
callq _network_address_lua_push
LBB0_15:
movl $1, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_5:
movl -36(%rbp), %ebx
leaq L_.str.2(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_7
## %bb.6:
movl 20(%r12), %esi
jmp LBB0_2
LBB0_7:
movl -36(%rbp), %ebx
leaq L_.str.3(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_9
## %bb.8:
movl 16(%r12), %esi
jmp LBB0_2
LBB0_9:
movl -36(%rbp), %ebx
leaq L_.str.4(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_12
## %bb.10:
movq 8(%r12), %rdi
cmpq $0, (%rdi)
je LBB0_14
## %bb.11:
callq _S
movq %r15, %rdi
movl %eax, %esi
callq _lua_pushlstring
jmp LBB0_15
LBB0_12:
movl -36(%rbp), %ebx
leaq L_.str.5(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_14
## %bb.13:
movl (%r12), %esi
jmp LBB0_2
LBB0_14:
movq %r15, %rdi
callq _lua_pushnil
jmp LBB0_15
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "connected_clients"
L_.str.1: ## @.str.1
.asciz "dst"
L_.str.2: ## @.str.2
.asciz "state"
L_.str.3: ## @.str.3
.asciz "type"
L_.str.4: ## @.str.4
.asciz "uuid"
L_.str.5: ## @.str.5
.asciz "weight"
.no_dead_strip _proxy_backend_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_backend_get
_proxy_backend_get: ; @proxy_backend_get
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _luaL_checkself
ldr x22, [x0]
str wzr, [sp, #12]
add x2, sp, #12
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x20, x0
ldr w21, [sp, #12]
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 w1, [x22, #28]
LBB0_2:
mov x0, x19
bl _lua_pushinteger
b LBB0_5
LBB0_3:
ldr w21, [sp, #12]
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_6
; %bb.4:
ldr w1, [x22, #24]
mov x0, x19
bl _network_address_lua_push
LBB0_5:
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_6:
ldr w21, [sp, #12]
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_8
; %bb.7:
ldr w1, [x22, #20]
b LBB0_2
LBB0_8:
ldr w21, [sp, #12]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_10
; %bb.9:
ldr w1, [x22, #16]
b LBB0_2
LBB0_10:
ldr w21, [sp, #12]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_13
; %bb.11:
ldr x0, [x22, #8]
ldr x8, [x0]
cbz x8, LBB0_15
; %bb.12:
bl _S
mov x1, x0
mov x0, x19
bl _lua_pushlstring
b LBB0_5
LBB0_13:
ldr w21, [sp, #12]
Lloh10:
adrp x0, l_.str.5@PAGE
Lloh11:
add x0, x0, l_.str.5@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_15
; %bb.14:
ldr w1, [x22]
b LBB0_2
LBB0_15:
mov x0, x19
bl _lua_pushnil
b LBB0_5
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "connected_clients"
l_.str.1: ; @.str.1
.asciz "dst"
l_.str.2: ; @.str.2
.asciz "state"
l_.str.3: ; @.str.3
.asciz "type"
l_.str.4: ; @.str.4
.asciz "uuid"
l_.str.5: ; @.str.5
.asciz "weight"
.no_dead_strip _proxy_backend_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_backend_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_backend_set
_proxy_backend_set: ## @proxy_backend_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 %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
movl $0, -36(%rbp)
leaq -36(%rbp), %rdx
movq %r15, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r14
movl -36(%rbp), %ebx
leaq L_.str(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r15, %rdi
movl $-1, %esi
callq _lua_tointeger
movl %eax, 4(%r12)
movl $1, %eax
jmp LBB0_10
LBB0_2:
movl -36(%rbp), %ebx
leaq L_.str.1(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_8
## %bb.3:
movq %r15, %rdi
movl $-1, %esi
callq _lua_isstring
testq %rax, %rax
je LBB0_5
## %bb.4:
movq $0, -48(%rbp)
leaq -48(%rbp), %rdx
movq %r15, %rdi
movl $-1, %esi
callq _lua_tolstring
movl (%r12), %edi
movq -48(%rbp), %rdx
movq %rax, %rsi
callq _g_string_assign_len
movl $1, %eax
jmp LBB0_10
LBB0_8:
leaq L_.str.3(%rip), %rsi
jmp LBB0_9
LBB0_5:
movq %r15, %rdi
movl $-1, %esi
callq _lua_isnil
testq %rax, %rax
je LBB0_7
## %bb.6:
movl (%r12), %edi
xorl %esi, %esi
callq _g_string_truncate
movl $1, %eax
jmp LBB0_10
LBB0_7:
leaq L_.str.2(%rip), %rsi
LBB0_9:
movq %r15, %rdi
movq %r14, %rdx
callq _luaL_error
LBB0_10:
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 "state"
L_.str.1: ## @.str.1
.asciz "uuid"
L_.str.2: ## @.str.2
.asciz "proxy.global.backends[...].%s has to be a string"
L_.str.3: ## @.str.3
.asciz "proxy.global.backends[...].%s is not writable"
.no_dead_strip _proxy_backend_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_backend_set
_proxy_backend_set: ; @proxy_backend_set
.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
bl _luaL_checkself
ldr x22, [x0]
str wzr, [sp, #12]
add x2, sp, #12
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x20, x0
ldr w21, [sp, #12]
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_2
; %bb.1:
mov x0, x19
mov w1, #-1
bl _lua_tointeger
str w0, [x22, #4]
mov w0, #1
b LBB0_10
LBB0_2:
ldr w21, [sp, #12]
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_5
; %bb.3:
mov x0, x19
mov w1, #-1
bl _lua_isstring
cbz x0, LBB0_6
; %bb.4:
str xzr, [sp]
mov x2, sp
mov x0, x19
mov w1, #-1
bl _lua_tolstring
mov x1, x0
ldr w0, [x22]
ldr x2, [sp]
bl _g_string_assign_len
mov w0, #1
b LBB0_10
LBB0_5:
Lloh4:
adrp x1, l_.str.3@PAGE
Lloh5:
add x1, x1, l_.str.3@PAGEOFF
b LBB0_9
LBB0_6:
mov x0, x19
mov w1, #-1
bl _lua_isnil
cbz x0, LBB0_8
; %bb.7:
ldr w0, [x22]
mov w1, #0
bl _g_string_truncate
mov w0, #1
b LBB0_10
LBB0_8:
Lloh6:
adrp x1, l_.str.2@PAGE
Lloh7:
add x1, x1, l_.str.2@PAGEOFF
LBB0_9:
mov x0, x19
mov x2, x20
bl _luaL_error
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
add sp, sp, #64
ret
.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 "state"
l_.str.1: ; @.str.1
.asciz "uuid"
l_.str.2: ; @.str.2
.asciz "proxy.global.backends[...].%s has to be a string"
l_.str.3: ; @.str.3
.asciz "proxy.global.backends[...].%s is not writable"
.no_dead_strip _proxy_backend_set
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_backend_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_backends_get
_proxy_backends_get: ## @proxy_backends_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, %rbx
callq _luaL_checkself
movq (%rax), %r14
movq %rbx, %rdi
movl $2, %esi
callq _luaL_checkinteger
## kill: def $eax killed $eax def $rax
leal -1(%rax), %esi
movq %r14, %rdi
callq _network_backends_get
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %r14
movq %rbx, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %r14, (%rax)
movq %rbx, %rdi
callq _network_backend_lua_getmetatable
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setmetatable
jmp LBB0_3
LBB0_1:
movq %rbx, %rdi
callq _lua_pushnil
LBB0_3:
movl $1, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_backends_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_backends_get
_proxy_backends_get: ; @proxy_backends_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
sub w1, w0, #1
mov x0, x20
bl _network_backends_get
cbz x0, LBB0_2
; %bb.1:
mov x20, x0
mov x0, x19
mov w1, #8
bl _lua_newuserdata
str x20, [x0]
mov x0, x19
bl _network_backend_lua_getmetatable
mov x0, x19
mov w1, #-2
bl _lua_setmetatable
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
.cfi_endproc
; -- End function
.no_dead_strip _proxy_backends_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_backends_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_backends_len
_proxy_backends_len: ## @proxy_backends_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), %rdi
callq _network_backends_count
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 _proxy_backends_len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_backends_len
_proxy_backends_len: ; @proxy_backends_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 x0, [x0]
bl _network_backends_count
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 _proxy_backends_len
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_backends_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_backends_pwds
_proxy_backends_pwds: ## @proxy_backends_pwds
.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, %r13
callq _luaL_checkself
movq (%rax), %r14
movq %r13, %rdi
movl $-1, %esi
callq _lua_tointeger
movl %eax, %ebx
movq %r13, %rdi
movl $-2, %esi
callq _lua_tostring
movq %rax, %r15
movq %r13, %rdi
movl $-3, %esi
callq _lua_tostring
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq _proxy_pwds_exist
cmpl $128, %ebx
je LBB0_5
## %bb.1:
cmpl $130, %ebx
je LBB0_7
## %bb.2:
cmpl $129, %ebx
jne LBB0_9
## %bb.3:
testl %eax, %eax
jne LBB0_8
## %bb.4:
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_12
LBB0_5:
testl %eax, %eax
je LBB0_10
## %bb.6:
movq %r14, %rdi
movq %r12, %rsi
callq _network_backends_removepwd
jmp LBB0_13
LBB0_7:
testl %eax, %eax
je LBB0_11
LBB0_8:
movq _ERR_USER_EXIST@GOTPCREL(%rip), %rax
movl (%rax), %esi
jmp LBB0_14
LBB0_9:
xorl %eax, %eax
callq _g_assert_not_reached
movl $-1, %esi
jmp LBB0_14
LBB0_10:
movq _ERR_USER_NOT_EXIST@GOTPCREL(%rip), %rax
movl (%rax), %esi
jmp LBB0_14
LBB0_11:
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_12:
movl (%rax), %ecx
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq _network_backends_addpwd
LBB0_13:
movl %eax, %esi
LBB0_14:
movq %r13, %rdi
callq _lua_pushinteger
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ERR_USER_EXIST,4,2 ## @ERR_USER_EXIST
.comm _FALSE,4,2 ## @FALSE
.comm _TRUE,4,2 ## @TRUE
.comm _ERR_USER_NOT_EXIST,4,2 ## @ERR_USER_NOT_EXIST
.no_dead_strip _proxy_backends_pwds
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_backends_pwds
_proxy_backends_pwds: ; @proxy_backends_pwds
.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
bl _luaL_checkself
ldr x20, [x0]
mov x0, x19
mov w1, #-1
bl _lua_tointeger
mov x23, x0
mov x0, x19
mov w1, #-2
bl _lua_tostring
mov x21, x0
mov x0, x19
mov w1, #-3
bl _lua_tostring
mov x22, x0
mov x0, x20
mov x1, x22
bl _proxy_pwds_exist
cmp w23, #128
b.eq LBB0_5
; %bb.1:
cmp w23, #130
b.eq LBB0_7
; %bb.2:
cmp w23, #129
b.ne LBB0_9
; %bb.3:
cbnz w0, LBB0_8
; %bb.4:
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
b LBB0_12
LBB0_5:
cbz w0, LBB0_10
; %bb.6:
mov x0, x20
mov x1, x22
bl _network_backends_removepwd
b LBB0_13
LBB0_7:
cbz w0, LBB0_11
LBB0_8:
Lloh2:
adrp x8, _ERR_USER_EXIST@GOTPAGE
Lloh3:
ldr x8, [x8, _ERR_USER_EXIST@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
b LBB0_14
LBB0_9:
bl _g_assert_not_reached
mov w1, #-1
b LBB0_14
LBB0_10:
Lloh5:
adrp x8, _ERR_USER_NOT_EXIST@GOTPAGE
Lloh6:
ldr x8, [x8, _ERR_USER_NOT_EXIST@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
b LBB0_14
LBB0_11:
Lloh8:
adrp x8, _TRUE@GOTPAGE
Lloh9:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_12:
ldr w3, [x8]
mov x0, x20
mov x1, x22
mov x2, x21
bl _network_backends_addpwd
LBB0_13:
mov x1, x0
LBB0_14:
mov x0, x19
bl _lua_pushinteger
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
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _ERR_USER_EXIST,4,2 ; @ERR_USER_EXIST
.comm _FALSE,4,2 ; @FALSE
.comm _TRUE,4,2 ; @TRUE
.comm _ERR_USER_NOT_EXIST,4,2 ; @ERR_USER_NOT_EXIST
.no_dead_strip _proxy_backends_pwds
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_backends_pwds.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_backends_set
_proxy_backends_set: ## @proxy_backends_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 %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
callq _luaL_checkself
movq (%rax), %r14
movl $0, -36(%rbp)
leaq -36(%rbp), %rdx
movq %r12, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r15
movl -36(%rbp), %ebx
leaq L_.str(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r12, %rdi
movl $-1, %esi
callq _lua_tostring
movl %eax, %edi
callq _g_strdup
movq %rax, %rbx
movq _BACKEND_TYPE_RO@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_2:
movl -36(%rbp), %ebx
leaq L_.str.1(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_8
## %bb.3:
movq %r12, %rdi
movl $-1, %esi
callq _lua_tostring
movl %eax, %edi
callq _g_strdup
movq %rax, %rbx
movq _BACKEND_TYPE_RW@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %edx
movq %r14, %rdi
movq %rbx, %rsi
callq _network_backends_add
LBB0_5:
movq %rbx, %rdi
callq _g_free
LBB0_6:
movl $1, %eax
LBB0_7:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movl -36(%rbp), %ebx
leaq L_.str.2(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_10
## %bb.9:
movq %r12, %rdi
movl $-1, %esi
callq _lua_tointeger
movq %r14, %rdi
movl %eax, %esi
callq _network_backends_remove
jmp LBB0_6
LBB0_10:
movl -36(%rbp), %ebx
leaq L_.str.3(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_12
## %bb.11:
movq %r12, %rdi
movl $-1, %esi
callq _lua_tostring
movl %eax, %edi
callq _g_strdup
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
callq _network_backends_addclient
jmp LBB0_5
LBB0_12:
movl -36(%rbp), %ebx
leaq L_.str.4(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_14
## %bb.13:
movq %r12, %rdi
movl $-1, %esi
callq _lua_tostring
movl %eax, %edi
callq _g_strdup
movq %rax, %rbx
movq %r14, %rdi
movq %rax, %rsi
callq _network_backends_removeclient
jmp LBB0_5
LBB0_14:
movl -36(%rbp), %ebx
leaq L_.str.5(%rip), %rdi
callq _C
movq %r15, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_16
## %bb.15:
movq %r14, %rdi
callq _network_backends_save
jmp LBB0_6
LBB0_16:
leaq L_.str.6(%rip), %rsi
movq %r12, %rdi
movq %r15, %rdx
callq _luaL_error
jmp LBB0_7
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "addslave"
.comm _BACKEND_TYPE_RO,4,2 ## @BACKEND_TYPE_RO
L_.str.1: ## @.str.1
.asciz "addmaster"
.comm _BACKEND_TYPE_RW,4,2 ## @BACKEND_TYPE_RW
L_.str.2: ## @.str.2
.asciz "removebackend"
L_.str.3: ## @.str.3
.asciz "addclient"
L_.str.4: ## @.str.4
.asciz "removeclient"
L_.str.5: ## @.str.5
.asciz "saveconfig"
L_.str.6: ## @.str.6
.asciz "proxy.global.backends.%s is not writable"
.no_dead_strip _proxy_backends_set
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_backends_set
_proxy_backends_set: ; @proxy_backends_set
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x0
bl _luaL_checkself
ldr x19, [x0]
str wzr, [sp, #12]
add x2, sp, #12
mov x0, x20
mov w1, #2
bl _luaL_checklstring
mov x21, x0
ldr w22, [sp, #12]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_2
; %bb.1:
mov x0, x20
mov w1, #-1
bl _lua_tostring
bl _g_strdup
mov x20, x0
Lloh2:
adrp x8, _BACKEND_TYPE_RO@GOTPAGE
Lloh3:
ldr x8, [x8, _BACKEND_TYPE_RO@GOTPAGEOFF]
b LBB0_4
LBB0_2:
ldr w22, [sp, #12]
Lloh4:
adrp x0, l_.str.1@PAGE
Lloh5:
add x0, x0, l_.str.1@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_8
; %bb.3:
mov x0, x20
mov w1, #-1
bl _lua_tostring
bl _g_strdup
mov x20, x0
Lloh6:
adrp x8, _BACKEND_TYPE_RW@GOTPAGE
Lloh7:
ldr x8, [x8, _BACKEND_TYPE_RW@GOTPAGEOFF]
LBB0_4:
ldr w2, [x8]
mov x0, x19
mov x1, x20
bl _network_backends_add
LBB0_5:
mov x0, x20
bl _g_free
LBB0_6:
mov w0, #1
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_8:
ldr w22, [sp, #12]
Lloh8:
adrp x0, l_.str.2@PAGE
Lloh9:
add x0, x0, l_.str.2@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_10
; %bb.9:
mov x0, x20
mov w1, #-1
bl _lua_tointeger
mov x1, x0
mov x0, x19
bl _network_backends_remove
b LBB0_6
LBB0_10:
ldr w22, [sp, #12]
Lloh10:
adrp x0, l_.str.3@PAGE
Lloh11:
add x0, x0, l_.str.3@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_12
; %bb.11:
mov x0, x20
mov w1, #-1
bl _lua_tostring
bl _g_strdup
mov x20, x0
mov x0, x19
mov x1, x20
bl _network_backends_addclient
b LBB0_5
LBB0_12:
ldr w22, [sp, #12]
Lloh12:
adrp x0, l_.str.4@PAGE
Lloh13:
add x0, x0, l_.str.4@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_14
; %bb.13:
mov x0, x20
mov w1, #-1
bl _lua_tostring
bl _g_strdup
mov x20, x0
mov x0, x19
mov x1, x20
bl _network_backends_removeclient
b LBB0_5
LBB0_14:
ldr w22, [sp, #12]
Lloh14:
adrp x0, l_.str.5@PAGE
Lloh15:
add x0, x0, l_.str.5@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_16
; %bb.15:
mov x0, x19
bl _network_backends_save
b LBB0_6
LBB0_16:
Lloh16:
adrp x1, l_.str.6@PAGE
Lloh17:
add x1, x1, l_.str.6@PAGEOFF
mov x0, x20
mov x2, x21
bl _luaL_error
b LBB0_7
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "addslave"
.comm _BACKEND_TYPE_RO,4,2 ; @BACKEND_TYPE_RO
l_.str.1: ; @.str.1
.asciz "addmaster"
.comm _BACKEND_TYPE_RW,4,2 ; @BACKEND_TYPE_RW
l_.str.2: ; @.str.2
.asciz "removebackend"
l_.str.3: ; @.str.3
.asciz "addclient"
l_.str.4: ; @.str.4
.asciz "removeclient"
l_.str.5: ; @.str.5
.asciz "saveconfig"
l_.str.6: ; @.str.6
.asciz "proxy.global.backends.%s is not writable"
.no_dead_strip _proxy_backends_set
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_backends_set.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_clients_exist
_proxy_clients_exist: ## @proxy_clients_exist
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
callq _luaL_checkself
movq (%rax), %r12
movq %r14, %rdi
movl $-1, %esi
callq _lua_tostring
cmpq $0, (%r12)
jle LBB0_5
## %bb.1:
movq %rax, %r15
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movq %rbx, %rsi
callq _g_ptr_array_index
movq %r15, %rdi
movl %eax, %esi
callq _strcmp
testq %rax, %rax
je LBB0_6
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
cmpq (%r12), %rbx
jl LBB0_2
LBB0_5:
xorl %esi, %esi
jmp LBB0_7
LBB0_6:
movl $1, %esi
LBB0_7:
movq %r14, %rdi
callq _lua_pushinteger
movl $1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_clients_exist
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_clients_exist
_proxy_clients_exist: ; @proxy_clients_exist
.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
bl _luaL_checkself
ldr x20, [x0]
mov x0, x19
mov w1, #-1
bl _lua_tostring
ldr x8, [x20]
cmp x8, #1
b.lt LBB0_4
; %bb.1:
mov x21, x0
mov x22, #0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x22
bl _g_ptr_array_index
mov x1, x0
mov x0, x21
bl _strcmp
cbz x0, LBB0_5
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x22, x22, #1
ldr x8, [x20]
cmp x22, x8
b.lt LBB0_2
LBB0_4:
mov w1, #0
b LBB0_6
LBB0_5:
mov w1, #1
LBB0_6:
mov x0, x19
bl _lua_pushinteger
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
.cfi_endproc
; -- End function
.no_dead_strip _proxy_clients_exist
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_clients_exist.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_clients_get
_proxy_clients_get: ## @proxy_clients_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _luaL_checkself
movq (%rax), %r14
movq %r15, %rdi
movl $2, %esi
callq _luaL_checkinteger
## kill: def $eax killed $eax def $rax
leal -1(%rax), %esi
movq %r14, %rdi
callq _g_ptr_array_index
movq %rax, %rbx
movq %rax, %rdi
callq _strlen
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _lua_pushlstring
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_clients_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_clients_get
_proxy_clients_get: ; @proxy_clients_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
sub w1, w0, #1
mov x0, x20
bl _g_ptr_array_index
mov x20, x0
bl _strlen
mov x2, x0
mov x0, x19
mov x1, x20
bl _lua_pushlstring
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_clients_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_clients_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_clients_len
_proxy_clients_len: ## @proxy_clients_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_clients_len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_clients_len
_proxy_clients_len: ; @proxy_clients_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_clients_len
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_clients_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_pwds_exist
_proxy_pwds_exist: ## @proxy_pwds_exist
.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
movq _FALSE@GOTPCREL(%rip), %rax
cmpq $0, (%r15)
jle LBB0_6
## %bb.1:
movq %rsi, %r14
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %rbx, %rsi
callq _g_ptr_array_index
movq %rax, %r12
movq %rax, %rdi
movl $58, %esi
callq _strchr
movq %rax, %r13
movq %rax, %rdi
callq _g_assert
movb $0, (%r13)
movq %r14, %rdi
movq %r12, %rsi
callq _strcmp
movb $58, (%r13)
testq %rax, %rax
je LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
incq %rbx
cmpq (%r15), %rbx
jl LBB0_2
## %bb.5:
movq _FALSE@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_3:
movq _TRUE@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TRUE,4,2 ## @TRUE
.comm _FALSE,4,2 ## @FALSE
.no_dead_strip _proxy_pwds_exist
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_pwds_exist
_proxy_pwds_exist: ; @proxy_pwds_exist
.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 x20, [x0]
ldr x8, [x20]
cmp x8, #1
b.lt LBB0_5
; %bb.1:
mov x19, x1
mov x21, #0
mov w26, #58
Lloh0:
adrp x24, _TRUE@GOTPAGE
Lloh1:
ldr x24, [x24, _TRUE@GOTPAGEOFF]
Lloh2:
adrp x25, _FALSE@GOTPAGE
Lloh3:
ldr x25, [x25, _FALSE@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x21
bl _g_ptr_array_index
mov x22, x0
mov w1, #58
bl _strchr
mov x23, x0
bl _g_assert
strb wzr, [x23]
mov x0, x19
mov x1, x22
bl _strcmp
strb w26, [x23]
cbz x0, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x21, x21, #1
ldr x8, [x20]
cmp x21, x8
b.lt LBB0_2
; %bb.4:
mov x24, x25
b LBB0_6
LBB0_5:
Lloh4:
adrp x24, _FALSE@GOTPAGE
Lloh5:
ldr x24, [x24, _FALSE@GOTPAGEOFF]
LBB0_6:
ldr w0, [x24]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.comm _FALSE,4,2 ; @FALSE
.no_dead_strip _proxy_pwds_exist
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_pwds_exist.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_pwds_get
_proxy_pwds_get: ## @proxy_pwds_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _luaL_checkself
movq (%rax), %r14
movq %r15, %rdi
movl $2, %esi
callq _luaL_checkinteger
## kill: def $eax killed $eax def $rax
leal -1(%rax), %esi
movq %r14, %rdi
callq _g_ptr_array_index
movq %rax, %rbx
movq %rax, %rdi
callq _strlen
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _lua_pushlstring
movl $1, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_pwds_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_pwds_get
_proxy_pwds_get: ; @proxy_pwds_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
sub w1, w0, #1
mov x0, x20
bl _g_ptr_array_index
mov x20, x0
bl _strlen
mov x2, x0
mov x0, x19
mov x1, x20
bl _lua_pushlstring
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_pwds_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_pwds_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_pwds_len
_proxy_pwds_len: ## @proxy_pwds_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_pwds_len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_pwds_len
_proxy_pwds_len: ; @proxy_pwds_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_pwds_len
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend-lua.c_proxy_pwds_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _append_key ## -- Begin function append_key
.p2align 4, 0x90
_append_key: ## @append_key
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rdi, %rbx
movq %rdx, %rdi
movl $44, %esi
callq _g_string_append_c
movl (%rbx), %ebx
movzbl %bl, %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _g_string_append_printf
movzbl %bh, %edx
leaq L_.str.1(%rip), %r15
movq %r14, %rdi
movq %r15, %rsi
callq _g_string_append_printf
movl %ebx, %eax
shrl $16, %eax
movzbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq _g_string_append_printf
shrl $24, %ebx
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _g_string_append_printf ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%u"
L_.str.1: ## @.str.1
.asciz ".%u"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _append_key ; -- Begin function append_key
.p2align 2
_append_key: ; @append_key
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
mov x0, x2
mov w1, #44
bl _g_string_append_c
ldr w21, [x20]
and w2, w21, #0xff
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _g_string_append_printf
ubfx w2, w21, #8, #8
Lloh2:
adrp x20, l_.str.1@PAGE
Lloh3:
add x20, x20, l_.str.1@PAGEOFF
mov x0, x19
mov x1, x20
bl _g_string_append_printf
ubfx w2, w21, #16, #8
mov x0, x19
mov x1, x20
bl _g_string_append_printf
lsr w2, w21, #24
mov x0, x19
mov x1, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _g_string_append_printf
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%u"
l_.str.1: ; @.str.1
.asciz ".%u"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_append_key.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _copy_pwd ## -- Begin function copy_pwd
.p2align 4, 0x90
_copy_pwd: ## @copy_pwd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
callq _g_strdup
movl %eax, %r15d
movq %rbx, %rdi
callq _S
movl %eax, %edi
callq _g_string_new_len
movq %r14, %rdi
movl %r15d, %esi
movl %eax, %edx
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _g_hash_table_insert ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _copy_pwd ; -- Begin function copy_pwd
.p2align 2
_copy_pwd: ; @copy_pwd
.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
bl _g_strdup
mov x21, x0
mov x0, x20
bl _S
bl _g_string_new_len
mov x2, x0
mov x0, x19
mov x1, x21
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _g_hash_table_insert
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_copy_pwd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g_wrr_poll_free ## -- Begin function g_wrr_poll_free
.p2align 4, 0x90
_g_wrr_poll_free: ## @g_wrr_poll_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _g_free ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _g_wrr_poll_free ; -- Begin function g_wrr_poll_free
.p2align 2
_g_wrr_poll_free: ; @g_wrr_poll_free
.cfi_startproc
; %bb.0:
b _g_free
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_g_wrr_poll_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backend_free ## -- Begin function network_backend_free
.p2align 4, 0x90
_network_backend_free: ## @network_backend_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_9
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %r14
movq 16(%rdi), %rdi
cmpq $0, (%rdi)
jle LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rsi
callq _g_ptr_array_index
movq %rax, %rdi
callq _network_connection_pool_free
incq %rbx
movq 16(%r14), %rdi
cmpq (%rdi), %rbx
jl LBB0_3
LBB0_4:
movq _TRUE@GOTPCREL(%rip), %rbx
movl (%rbx), %esi
callq _g_ptr_array_free
movq 8(%r14), %rdi
testq %rdi, %rdi
je LBB0_6
## %bb.5:
callq _network_address_free
LBB0_6:
movq (%r14), %rdi
testq %rdi, %rdi
je LBB0_8
## %bb.7:
movl (%rbx), %esi
callq _g_string_free
LBB0_8:
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_free ## TAILCALL
LBB0_9:
retq
.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 _network_backend_free ; -- Begin function network_backend_free
.p2align 2
_network_backend_free: ; @network_backend_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_9
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0, #16]
ldr x8, [x0]
cmp x8, #1
b.lt LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x1, x20
bl _g_ptr_array_index
bl _network_connection_pool_free
add x20, x20, #1
ldr x0, [x19, #16]
ldr x8, [x0]
cmp x20, x8
b.lt LBB0_3
LBB0_4:
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
ldr w1, [x20]
bl _g_ptr_array_free
ldr x0, [x19, #8]
cbz x0, LBB0_6
; %bb.5:
bl _network_address_free
LBB0_6:
ldr x0, [x19]
cbz x0, LBB0_8
; %bb.7:
ldr w1, [x20]
bl _g_string_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
LBB0_9:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backend_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_add ## -- Begin function network_backends_add
.p2align 4, 0x90
_network_backends_add: ## @network_backends_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, -48(%rbp) ## 8-byte Spill
movl 16(%rdi), %edi
callq _network_backend_new
movq %rax, %r13
movq %rbx, (%rax)
movq _BACKEND_TYPE_RO@GOTPCREL(%rip), %rax
cmpq %rbx, (%rax)
jne LBB0_3
## %bb.1:
movq %r14, %rdi
movl $64, %esi
callq _strrchr
movq %rax, %r12
testq %rax, %rax
je LBB0_4
## %bb.2:
movb $0, (%r12)
movq %r12, %rdi
incq %rdi
callq _atoi
jmp LBB0_5
LBB0_3:
xorl %r12d, %r12d
jmp LBB0_6
LBB0_4:
movl $1, %eax
LBB0_5:
movq %rax, 8(%r13)
LBB0_6:
movq 16(%r13), %rdi
movq %r14, %rsi
callq _network_address_set_address
testq %rax, %rax
je LBB0_8
## %bb.7:
movq %r13, %rdi
callq _network_backend_free
LBB0_20:
movl $-1, %eax
jmp LBB0_21
LBB0_8:
movq -48(%rbp), %r15 ## 8-byte Reload
movl (%r15), %edi
callq _g_mutex_lock
movq 8(%r15), %rdi
cmpq $0, (%rdi)
movq %r14, -56(%rbp) ## 8-byte Spill
movq %r12, -64(%rbp) ## 8-byte Spill
movl $-1, %r12d
je LBB0_14
## %bb.9:
xorl %r15d, %r15d
jmp LBB0_11
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_11 Depth=1
incq %r15
cmpq (%rdi), %r15
jae LBB0_14
LBB0_11: ## =>This Inner Loop Header: Depth=1
movq 8(%rdi), %rax
movq (%rax,%r15,8), %rax
movq (%rax), %rcx
movq _BACKEND_TYPE_RO@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
movl %r12d, %edx
movl $-1, %r12d
cmovel %r15d, %r12d
cmpl $-1, %edx
cmovnel %edx, %r12d
cmpq %rbx, %rcx
jne LBB0_10
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq 16(%rax), %rax
movl (%rax), %edi
callq _S
movl %eax, %r14d
movq 16(%r13), %rax
movl (%rax), %edi
callq _S
movl %r14d, %edi
movl %eax, %esi
callq _strleq
testq %rax, %rax
jne LBB0_19
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rdi
jmp LBB0_10
LBB0_14:
movq %r13, %rsi
callq _g_ptr_array_add
movq _BACKEND_TYPE_RW@GOTPCREL(%rip), %r14
cmpl $-1, %r12d
je LBB0_17
## %bb.15:
cmpq %rbx, (%r14)
jne LBB0_17
## %bb.16:
movq -48(%rbp), %rdi ## 8-byte Reload
movq 8(%rdi), %rax
movq (%rax), %rcx
movq 8(%rax), %rax
movslq %r12d, %rdx
movq (%rax,%rdx,8), %rsi
movq -8(%rax,%rcx,8), %rcx
movq %rcx, (%rax,%rdx,8)
movq 8(%rdi), %rax
movq (%rax), %rcx
movq 8(%rax), %rax
movq %rsi, -8(%rax,%rcx,8)
LBB0_17:
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
callq _g_mutex_unlock
cmpq %rbx, (%r14)
leaq L_.str.2(%rip), %rax
leaq L_.str.3(%rip), %rsi
cmoveq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movq -56(%rbp), %rdx ## 8-byte Reload
callq _g_message
xorl %eax, %eax
movq -64(%rbp), %rcx ## 8-byte Reload
testq %rcx, %rcx
je LBB0_21
## %bb.18:
movb $64, (%rcx)
LBB0_21:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
movq %r13, %rdi
callq _network_backend_free
movq -48(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
callq _g_mutex_unlock
leaq L_.str(%rip), %rdi
movq -56(%rbp), %rsi ## 8-byte Reload
callq _g_critical
jmp LBB0_20
.cfi_endproc
## -- End function
.comm _BACKEND_TYPE_RO,8,3 ## @BACKEND_TYPE_RO
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "backend %s is already known!"
.comm _BACKEND_TYPE_RW,8,3 ## @BACKEND_TYPE_RW
L_.str.1: ## @.str.1
.asciz "added %s backend: %s"
L_.str.2: ## @.str.2
.asciz "read/write"
L_.str.3: ## @.str.3
.asciz "read-only"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_add ; -- Begin function network_backends_add
.p2align 2
_network_backends_add: ; @network_backends_add
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x2
mov x19, x1
mov x21, x0
ldr w0, [x0, #16]
bl _network_backend_new
mov x23, x0
str x20, [x0]
Lloh0:
adrp x25, _BACKEND_TYPE_RO@GOTPAGE
Lloh1:
ldr x25, [x25, _BACKEND_TYPE_RO@GOTPAGEOFF]
ldr x8, [x25]
cmp x8, x20
b.ne LBB0_3
; %bb.1:
mov x0, x19
mov w1, #64
bl _strrchr
mov x22, x0
cbz x0, LBB0_4
; %bb.2:
mov x0, x22
strb wzr, [x0], #1
bl _atoi
b LBB0_5
LBB0_3:
mov x22, #0
b LBB0_6
LBB0_4:
mov w0, #1
LBB0_5:
str x0, [x23, #8]
LBB0_6:
ldr x0, [x23, #16]
mov x1, x19
bl _network_address_set_address
cbz x0, LBB0_9
; %bb.7:
mov x0, x23
bl _network_backend_free
LBB0_8:
mov w0, #-1
b LBB0_20
LBB0_9:
ldr w0, [x21]
bl _g_mutex_lock
ldr x0, [x21, #8]
ldr x8, [x0]
cbz x8, LBB0_15
; %bb.10:
mov x27, #0
mov w26, #-1
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add x27, x27, #1
ldr x8, [x0]
cmp x27, x8
b.hs LBB0_16
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, #8]
ldr x8, [x8, x27, lsl #3]
ldr x9, [x8]
ldr x10, [x25]
cmp x9, x10
csinv w10, w27, wzr, eq
cmn w26, #1
csel w26, w10, w26, eq
cmp x9, x20
b.ne LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr x8, [x8, #16]
ldr w0, [x8]
bl _S
mov x24, x0
ldr x8, [x23, #16]
ldr w0, [x8]
bl _S
mov x1, x0
mov x0, x24
bl _strleq
cbnz x0, LBB0_21
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
ldr x0, [x21, #8]
b LBB0_11
LBB0_15:
mov w26, #-1
LBB0_16:
mov x1, x23
bl _g_ptr_array_add
Lloh2:
adrp x23, _BACKEND_TYPE_RW@GOTPAGE
Lloh3:
ldr x23, [x23, _BACKEND_TYPE_RW@GOTPAGEOFF]
ldr x8, [x23]
cmn w26, #1
ccmp x8, x20, #0, ne
b.ne LBB0_18
; %bb.17:
ldr x8, [x21, #8]
sbfiz x9, x26, #3, #32
ldp x8, x10, [x8]
ldr x11, [x10, x9]
add x8, x10, x8, lsl #3
ldur x8, [x8, #-8]
str x8, [x10, x9]
ldr x8, [x21, #8]
ldp x8, x9, [x8]
add x8, x9, x8, lsl #3
stur x11, [x8, #-8]
LBB0_18:
ldr w0, [x21]
bl _g_mutex_unlock
ldr x8, [x23]
Lloh4:
adrp x9, l_.str.3@PAGE
Lloh5:
add x9, x9, l_.str.3@PAGEOFF
Lloh6:
adrp x10, l_.str.2@PAGE
Lloh7:
add x10, x10, l_.str.2@PAGEOFF
cmp x8, x20
csel x1, x10, x9, eq
Lloh8:
adrp x0, l_.str.1@PAGE
Lloh9:
add x0, x0, l_.str.1@PAGEOFF
mov x2, x19
bl _g_message
mov w0, #0
cbz x22, LBB0_20
; %bb.19:
mov w8, #64
strb w8, [x22]
LBB0_20:
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_21:
mov x0, x23
bl _network_backend_free
ldr w0, [x21]
bl _g_mutex_unlock
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
mov x1, x19
bl _g_critical
b LBB0_8
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _BACKEND_TYPE_RO,8,3 ; @BACKEND_TYPE_RO
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "backend %s is already known!"
.comm _BACKEND_TYPE_RW,8,3 ; @BACKEND_TYPE_RW
l_.str.1: ; @.str.1
.asciz "added %s backend: %s"
l_.str.2: ; @.str.2
.asciz "read/write"
l_.str.3: ; @.str.3
.asciz "read-only"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backends_add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_addpwd ## -- Begin function network_backends_addpwd
.p2align 4, 0x90
_network_backends_addpwd: ## @network_backends_addpwd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r12
xorl %edi, %edi
callq _g_string_new
movq %rax, %r15
testq %rbx, %rbx
je LBB0_4
## %bb.1:
movq %r14, %rdi
callq _decrypt
testq %rax, %rax
je LBB0_2
## %bb.3:
movq %rax, %rbx
movq %rax, %rdi
callq _strlen
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq _network_mysqld_proto_password_hash
movq %rbx, %rdi
callq _g_free
movl 16(%r12), %ebx
leaq L_.str.1(%rip), %rdi
movq %r13, %rsi
movq %r14, %rdx
callq _g_strdup_printf
movl %ebx, %edi
movl %eax, %esi
callq _g_ptr_array_add
movq %r13, -48(%rbp) ## 8-byte Spill
jmp LBB0_7
LBB0_4:
movq %r15, -56(%rbp) ## 8-byte Spill
movq %r13, %r15
movq %r14, %rdi
callq _encrypt
testq %rax, %rax
je LBB0_5
## %bb.6:
movq %rax, %r13
movl 16(%r12), %ebx
leaq L_.str.1(%rip), %rdi
movq %r15, %rsi
movq %r15, -48(%rbp) ## 8-byte Spill
movq %rax, %rdx
callq _g_strdup_printf
movl %ebx, %edi
movl %eax, %esi
callq _g_ptr_array_add
movq %r13, %rdi
callq _g_free
movq %r14, %rdi
callq _strlen
movq -56(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq _network_mysqld_proto_password_hash
LBB0_7:
movq (%r12), %rax
movq 8(%r12), %rcx
movq (%rax), %rax
movq (%rcx,%rax,8), %r14
movl $1, %r13d
subq %rax, %r13
movq (%rcx,%r13,8), %rbx
movq %rbx, %rdi
callq _g_hash_table_remove_all
movq _copy_pwd@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
movq %rbx, %rdx
callq _g_hash_table_foreach
movq -48(%rbp), %rdi ## 8-byte Reload
callq _g_strdup
movq %rbx, %rdi
movl %eax, %esi
movq %r15, %rdx
callq _g_hash_table_insert
movq (%r12), %rdi
movl %r13d, %esi
callq _g_atomic_int_set
movq _PWD_SUCCESS@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_2:
leaq L_.str(%rip), %rdi
movq %r14, %rsi
callq _g_warning
movq _ERR_PWD_DECRYPT@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_5:
leaq L_.str.2(%rip), %rdi
movq %r14, %rsi
callq _g_warning
movq _ERR_PWD_ENCRYPT@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %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 "failed to decrypt %s\n"
.comm _ERR_PWD_DECRYPT,4,2 ## @ERR_PWD_DECRYPT
L_.str.1: ## @.str.1
.asciz "%s:%s"
L_.str.2: ## @.str.2
.asciz "failed to encrypt %s\n"
.comm _ERR_PWD_ENCRYPT,4,2 ## @ERR_PWD_ENCRYPT
.comm _copy_pwd,4,2 ## @copy_pwd
.comm _PWD_SUCCESS,4,2 ## @PWD_SUCCESS
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_addpwd ; -- Begin function network_backends_addpwd
.p2align 2
_network_backends_addpwd: ; @network_backends_addpwd
.cfi_startproc
; %bb.0:
stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x23, x3
mov x22, x2
mov x21, x1
mov x19, x0
mov x0, #0
bl _g_string_new
mov x20, x0
mov x0, x22
cbz x23, LBB0_3
; %bb.1:
bl _decrypt
cbz x0, LBB0_6
; %bb.2:
mov x23, x0
bl _strlen
mov x2, x0
mov x0, x20
mov x1, x23
bl _network_mysqld_proto_password_hash
mov x0, x23
bl _g_free
ldr w23, [x19, #16]
Lloh0:
adrp x0, l_.str.1@PAGE
Lloh1:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x21
mov x2, x22
bl _g_strdup_printf
mov x1, x0
mov x0, x23
bl _g_ptr_array_add
b LBB0_5
LBB0_3:
bl _encrypt
cbz x0, LBB0_7
; %bb.4:
mov x23, x0
ldr w24, [x19, #16]
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
mov x1, x21
mov x2, x23
bl _g_strdup_printf
mov x1, x0
mov x0, x24
bl _g_ptr_array_add
mov x0, x23
bl _g_free
mov x0, x22
bl _strlen
mov x2, x0
mov x0, x20
mov x1, x22
bl _network_mysqld_proto_password_hash
LBB0_5:
ldp x8, x9, [x19]
ldr x8, [x8]
ldr x22, [x9, x8, lsl #3]
mov w10, #1
sub x23, x10, x8
ldr x24, [x9, x23, lsl #3]
mov x0, x24
bl _g_hash_table_remove_all
Lloh4:
adrp x8, _copy_pwd@GOTPAGE
Lloh5:
ldr x8, [x8, _copy_pwd@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
mov x0, x22
mov x2, x24
bl _g_hash_table_foreach
mov x0, x21
bl _g_strdup
mov x1, x0
mov x0, x24
mov x2, x20
bl _g_hash_table_insert
ldr x0, [x19]
mov x1, x23
bl _g_atomic_int_set
Lloh7:
adrp x8, _PWD_SUCCESS@GOTPAGE
Lloh8:
ldr x8, [x8, _PWD_SUCCESS@GOTPAGEOFF]
b LBB0_8
LBB0_6:
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
mov x1, x22
bl _g_warning
Lloh11:
adrp x8, _ERR_PWD_DECRYPT@GOTPAGE
Lloh12:
ldr x8, [x8, _ERR_PWD_DECRYPT@GOTPAGEOFF]
b LBB0_8
LBB0_7:
Lloh13:
adrp x0, l_.str.2@PAGE
Lloh14:
add x0, x0, l_.str.2@PAGEOFF
mov x1, x22
bl _g_warning
Lloh15:
adrp x8, _ERR_PWD_ENCRYPT@GOTPAGE
Lloh16:
ldr x8, [x8, _ERR_PWD_ENCRYPT@GOTPAGEOFF]
LBB0_8:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "failed to decrypt %s\n"
.comm _ERR_PWD_DECRYPT,4,2 ; @ERR_PWD_DECRYPT
l_.str.1: ; @.str.1
.asciz "%s:%s"
l_.str.2: ; @.str.2
.asciz "failed to encrypt %s\n"
.comm _ERR_PWD_ENCRYPT,4,2 ; @ERR_PWD_ENCRYPT
.comm _copy_pwd,4,2 ; @copy_pwd
.comm _PWD_SUCCESS,4,2 ; @PWD_SUCCESS
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backends_addpwd.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_count ## -- Begin function network_backends_count
.p2align 4, 0x90
_network_backends_count: ## @network_backends_count
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _g_mutex_lock
movq 8(%rbx), %rax
movl (%rax), %r14d
movl (%rbx), %edi
callq _g_mutex_unlock
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_count ; -- Begin function network_backends_count
.p2align 2
_network_backends_count: ; @network_backends_count
.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 _g_mutex_lock
ldr x8, [x19, #8]
ldr w20, [x8]
ldr w0, [x19]
bl _g_mutex_unlock
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
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backends_count.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_free ## -- Begin function network_backends_free
.p2align 4, 0x90
_network_backends_free: ## @network_backends_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movl 28(%rdi), %edi
callq _g_mutex_lock
movq 32(%r15), %rax
cmpq $0, (%rax)
je LBB0_4
## %bb.2:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rax), %rax
movq (%rax,%rbx,8), %rdi
callq _network_backend_free
incq %rbx
movq 32(%r15), %rax
cmpq (%rax), %rbx
jb LBB0_3
LBB0_4:
movl 28(%r15), %edi
callq _g_mutex_unlock
movq 32(%r15), %rdi
movq _TRUE@GOTPCREL(%rip), %r14
movl (%r14), %esi
callq _g_ptr_array_free
movl 28(%r15), %edi
callq _g_mutex_free
movl 24(%r15), %edi
callq _g_wrr_poll_free
movq 16(%r15), %rdi
callq _g_free
movq 8(%r15), %rdi
movl (%r14), %esi
callq _g_ptr_array_free
movq (%r15), %rdi
movl (%r14), %esi
callq _g_ptr_array_free
movq %r15, %rdi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _g_free ## TAILCALL
LBB0_5:
retq
.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 _network_backends_free ; -- Begin function network_backends_free
.p2align 2
_network_backends_free: ; @network_backends_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #28]
bl _g_mutex_lock
ldr x8, [x19, #32]
ldr x9, [x8]
cbz x9, LBB0_4
; %bb.2:
mov x20, #0
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x8, [x8, #8]
ldr x0, [x8, x20, lsl #3]
bl _network_backend_free
add x20, x20, #1
ldr x8, [x19, #32]
ldr x9, [x8]
cmp x20, x9
b.lo LBB0_3
LBB0_4:
ldr w0, [x19, #28]
bl _g_mutex_unlock
ldr x0, [x19, #32]
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
ldr w1, [x20]
bl _g_ptr_array_free
ldr w0, [x19, #28]
bl _g_mutex_free
ldr w0, [x19, #24]
bl _g_wrr_poll_free
ldr x0, [x19, #16]
bl _g_free
ldr x0, [x19, #8]
ldr w1, [x20]
bl _g_ptr_array_free
ldr x0, [x19]
ldr w1, [x20]
bl _g_ptr_array_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backends_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_get ## -- Begin function network_backends_get
.p2align 4, 0x90
_network_backends_get: ## @network_backends_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 %rsi, %r14
movq %rdi, %rbx
callq _network_backends_count
cmpq %r14, %rax
jbe LBB0_1
## %bb.2:
movq (%rbx), %rax
movq (%rax), %rax
movq (%rax,%r14,8), %rax
jmp LBB0_3
LBB0_1:
xorl %eax, %eax
LBB0_3:
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_get ; -- Begin function network_backends_get
.p2align 2
_network_backends_get: ; @network_backends_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, x1
mov x20, x0
bl _network_backends_count
cmp x0, x19
b.ls LBB0_2
; %bb.1:
ldr x8, [x20]
ldr x8, [x8]
ldr x0, [x8, x19, lsl #3]
b LBB0_3
LBB0_2:
mov x0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backends_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_remove ## -- Begin function network_backends_remove
.p2align 4, 0x90
_network_backends_remove: ## @network_backends_remove
.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,%rsi,8), %rbx
testq %rbx, %rbx
je LBB0_6
## %bb.1:
movq %rsi, %r14
movq %rdi, %r15
movq 8(%rbx), %rdi
testq %rdi, %rdi
je LBB0_3
## %bb.2:
callq _network_address_free
LBB0_3:
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.4:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _g_string_free
LBB0_5:
movl (%r15), %edi
callq _g_mutex_lock
movq 8(%r15), %rdi
movq %r14, %rsi
callq _g_ptr_array_remove_index
movl (%r15), %edi
callq _g_mutex_unlock
LBB0_6:
xorl %eax, %eax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.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 _network_backends_remove ; -- Begin function network_backends_remove
.p2align 2
_network_backends_remove: ; @network_backends_remove
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x0, #8]
ldr x8, [x8]
ldr x21, [x8, x1, lsl #3]
cbz x21, LBB0_6
; %bb.1:
mov x20, x1
mov x19, x0
ldr x0, [x21, #8]
cbz x0, LBB0_3
; %bb.2:
bl _network_address_free
LBB0_3:
ldr x0, [x21]
cbz x0, LBB0_5
; %bb.4:
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _g_string_free
LBB0_5:
ldr w0, [x19]
bl _g_mutex_lock
ldr x0, [x19, #8]
mov x1, x20
bl _g_ptr_array_remove_index
ldr w0, [x19]
bl _g_mutex_unlock
LBB0_6:
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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backends_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_save ## -- Begin function network_backends_save
.p2align 4, 0x90
_network_backends_save: ## @network_backends_save
.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
xorl %eax, %eax
callq _g_key_file_new
movq %rax, %rbx
movq %rax, %rdi
movl $44, %esi
callq _g_key_file_set_list_separator
movq $0, -56(%rbp)
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %r14
movl (%r13), %esi
movq _G_KEY_FILE_KEEP_COMMENTS@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq -56(%rbp), %rcx
movq %rbx, %rdi
callq _g_key_file_load_from_file
cmpq %rax, %r14
jne LBB0_2
## %bb.1:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rdi
callq _g_critical
movq -56(%rbp), %rdi
callq _g_error_free
movq %rbx, %rdi
callq _g_key_file_free
movl $-1, %ebx
jmp LBB0_30
LBB0_2:
movq %rbx, -48(%rbp) ## 8-byte Spill
xorl %edi, %edi
callq _g_string_new
movq %rax, %r15
xorl %edi, %edi
callq _g_string_new
movq %rax, -72(%rbp) ## 8-byte Spill
movq 32(%r13), %rbx
movl 24(%r13), %edi
callq _g_mutex_lock
movq (%rbx), %r12
testq %r12, %r12
jle LBB0_8
## %bb.3:
xorl %r14d, %r14d
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rax), %rax
movq (%rax), %rax
movq (%rax), %rdx
leaq L_.str.1(%rip), %rsi
callq _g_string_append_printf
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
incq %r14
cmpq %r14, %r12
je LBB0_8
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r14, %rsi
callq _g_ptr_array_index
movq (%rax), %rcx
movq %r15, %rdi
movq _BACKEND_TYPE_RW@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movq _BACKEND_TYPE_RO@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rcx
je LBB0_6
jmp LBB0_7
LBB0_8:
movl 24(%r13), %edi
callq _g_mutex_unlock
cmpq $0, (%r15)
je LBB0_10
## %bb.9:
movq 8(%r15), %rcx
incq %rcx
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
jmp LBB0_11
LBB0_10:
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
leaq L_.str.4(%rip), %rcx
LBB0_11:
movq -48(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _g_key_file_set_value
movq -72(%rbp), %rbx ## 8-byte Reload
cmpq $0, (%rbx)
je LBB0_13
## %bb.12:
movq 8(%rbx), %rcx
incq %rcx
leaq L_.str.2(%rip), %rsi
leaq L_.str.5(%rip), %rdx
jmp LBB0_14
LBB0_13:
leaq L_.str.2(%rip), %rsi
leaq L_.str.5(%rip), %rdx
leaq L_.str.4(%rip), %rcx
LBB0_14:
movq %r14, %rdi
callq _g_key_file_set_value
movq _TRUE@GOTPCREL(%rip), %r12
movl (%r12), %esi
movq %r15, %rdi
callq _g_string_free
movl (%r12), %esi
movq %rbx, %rdi
callq _g_string_free
xorl %edi, %edi
callq _g_string_new
movq %rax, %r14
movq 16(%r13), %rdi
cmpq $0, (%rdi)
jle LBB0_17
## %bb.15:
xorl %ebx, %ebx
leaq L_.str.1(%rip), %r15
.p2align 4, 0x90
LBB0_16: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rsi
callq _g_ptr_array_index
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq _g_string_append_printf
incq %rbx
movq 16(%r13), %rdi
cmpq (%rdi), %rbx
jl LBB0_16
LBB0_17:
cmpq $0, (%r14)
je LBB0_19
## %bb.18:
movq 8(%r14), %rcx
incq %rcx
leaq L_.str.2(%rip), %rsi
leaq L_.str.6(%rip), %rdx
jmp LBB0_20
LBB0_19:
leaq L_.str.2(%rip), %rsi
leaq L_.str.6(%rip), %rdx
leaq L_.str.4(%rip), %rcx
LBB0_20:
movq -48(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _g_key_file_set_value
movl (%r12), %esi
movq %r14, %rdi
callq _g_string_free
xorl %edi, %edi
callq _g_string_new
movq %rax, %r14
movq 8(%r13), %rax
cmpq $0, (%rax)
jle LBB0_23
## %bb.21:
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_22: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
movl $44, %esi
callq _g_string_append_c
movq 8(%r13), %rdi
movq %rbx, %rsi
callq _g_ptr_array_index
movq %r14, %rdi
movq %rax, %rsi
callq _g_string_append
incq %rbx
movq 8(%r13), %rax
cmpq (%rax), %rbx
jl LBB0_22
LBB0_23:
cmpq $0, (%r14)
je LBB0_25
## %bb.24:
movq 8(%r14), %rcx
incq %rcx
leaq L_.str.2(%rip), %rsi
leaq L_.str.7(%rip), %rdx
jmp LBB0_26
LBB0_25:
leaq L_.str.2(%rip), %rsi
leaq L_.str.7(%rip), %rdx
leaq L_.str.4(%rip), %rcx
LBB0_26:
movq %r15, %rdi
callq _g_key_file_set_value
movl (%r12), %esi
movq %r14, %rdi
callq _g_string_free
movl $0, -60(%rbp)
xorl %ebx, %ebx
leaq -60(%rbp), %rsi
movq %r15, %rdi
xorl %edx, %edx
callq _g_key_file_to_data
movq %rax, %r14
movq _FALSE@GOTPCREL(%rip), %rax
movq (%rax), %r15
movl (%r13), %edi
movl -60(%rbp), %edx
leaq -56(%rbp), %rcx
movq %r14, %rsi
callq _g_file_set_contents
movq _G_STRLOC@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
cmpq %rax, %r15
jne LBB0_28
## %bb.27:
movq -56(%rbp), %rax
movl (%rax), %edx
leaq L_.str.8(%rip), %rdi
callq _g_critical
movq %r14, %rdi
callq _g_free
movq -56(%rbp), %rdi
callq _g_error_free
movl $-1, %ebx
jmp LBB0_29
LBB0_28:
leaq L_.str.9(%rip), %rdi
callq _g_message
movq %r14, %rdi
callq _g_free
LBB0_29:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _g_key_file_free
LBB0_30:
movl %ebx, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,8,3 ## @FALSE
.comm _G_KEY_FILE_KEEP_COMMENTS,4,2 ## @G_KEY_FILE_KEEP_COMMENTS
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: g_key_file_load_from_file: %s"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _BACKEND_TYPE_RW,8,3 ## @BACKEND_TYPE_RW
L_.str.1: ## @.str.1
.asciz ",%s"
.comm _BACKEND_TYPE_RO,8,3 ## @BACKEND_TYPE_RO
L_.str.2: ## @.str.2
.asciz "mysql-proxy"
L_.str.3: ## @.str.3
.asciz "proxy-backend-addresses"
L_.str.4: ## @.str.4
.space 1
L_.str.5: ## @.str.5
.asciz "proxy-read-only-backend-addresses"
.comm _TRUE,4,2 ## @TRUE
L_.str.6: ## @.str.6
.asciz "client-ips"
L_.str.7: ## @.str.7
.asciz "pwds"
L_.str.8: ## @.str.8
.asciz "%s: g_file_set_contents: %s"
L_.str.9: ## @.str.9
.asciz "%s: saving config file succeed"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_backends_save ; -- Begin function network_backends_save
.p2align 2
_network_backends_save: ; @network_backends_save
.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 x20, x0
bl _g_key_file_new
mov x19, x0
mov w1, #44
bl _g_key_file_set_list_separator
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
str xzr, [sp, #8]
Lloh2:
ldr x21, [x8]
ldr w1, [x20]
Lloh3:
adrp x8, _G_KEY_FILE_KEEP_COMMENTS@GOTPAGE
Lloh4:
ldr x8, [x8, _G_KEY_FILE_KEEP_COMMENTS@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
add x3, sp, #8
mov x0, x19
bl _g_key_file_load_from_file
cmp x21, x0
b.ne LBB0_2
; %bb.1:
Lloh6:
adrp x8, _G_STRLOC@GOTPAGE
Lloh7:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
ldr x8, [sp, #8]
ldr w2, [x8]
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
bl _g_critical
ldr x0, [sp, #8]
bl _g_error_free
mov x0, x19
bl _g_key_file_free
mov w20, #-1
b LBB0_30
LBB0_2:
mov x0, #0
bl _g_string_new
mov x21, x0
mov x0, #0
bl _g_string_new
mov x22, x0
ldr x23, [x20, #32]
ldr w0, [x20, #24]
bl _g_mutex_lock
ldr x27, [x23]
cmp x27, #1
b.lt LBB0_8
; %bb.3:
mov x24, #0
Lloh11:
adrp x28, _BACKEND_TYPE_RW@GOTPAGE
Lloh12:
ldr x28, [x28, _BACKEND_TYPE_RW@GOTPAGEOFF]
Lloh13:
adrp x26, _BACKEND_TYPE_RO@GOTPAGE
Lloh14:
ldr x26, [x26, _BACKEND_TYPE_RO@GOTPAGEOFF]
Lloh15:
adrp x25, l_.str.1@PAGE
Lloh16:
add x25, x25, l_.str.1@PAGEOFF
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [x0, #8]
ldr x8, [x8]
ldr x2, [x8]
mov x0, x1
mov x1, x25
bl _g_string_append_printf
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x24, x24, #1
cmp x27, x24
b.eq LBB0_8
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x24
bl _g_ptr_array_index
ldr x8, [x0]
ldr x9, [x28]
mov x1, x21
cmp x8, x9
b.eq LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr x9, [x26]
mov x1, x22
cmp x8, x9
b.eq LBB0_4
b LBB0_5
LBB0_8:
ldr w0, [x20, #24]
bl _g_mutex_unlock
ldr x8, [x21]
cbz x8, LBB0_10
; %bb.9:
ldr x8, [x21, #8]
add x3, x8, #1
Lloh17:
adrp x1, l_.str.2@PAGE
Lloh18:
add x1, x1, l_.str.2@PAGEOFF
Lloh19:
adrp x2, l_.str.3@PAGE
Lloh20:
add x2, x2, l_.str.3@PAGEOFF
b LBB0_11
LBB0_10:
Lloh21:
adrp x1, l_.str.2@PAGE
Lloh22:
add x1, x1, l_.str.2@PAGEOFF
Lloh23:
adrp x2, l_.str.3@PAGE
Lloh24:
add x2, x2, l_.str.3@PAGEOFF
Lloh25:
adrp x3, l_.str.4@PAGE
Lloh26:
add x3, x3, l_.str.4@PAGEOFF
LBB0_11:
mov x0, x19
bl _g_key_file_set_value
ldr x8, [x22]
cbz x8, LBB0_13
; %bb.12:
ldr x8, [x22, #8]
add x3, x8, #1
Lloh27:
adrp x1, l_.str.2@PAGE
Lloh28:
add x1, x1, l_.str.2@PAGEOFF
Lloh29:
adrp x2, l_.str.5@PAGE
Lloh30:
add x2, x2, l_.str.5@PAGEOFF
b LBB0_14
LBB0_13:
Lloh31:
adrp x1, l_.str.2@PAGE
Lloh32:
add x1, x1, l_.str.2@PAGEOFF
Lloh33:
adrp x2, l_.str.5@PAGE
Lloh34:
add x2, x2, l_.str.5@PAGEOFF
Lloh35:
adrp x3, l_.str.4@PAGE
Lloh36:
add x3, x3, l_.str.4@PAGEOFF
LBB0_14:
mov x0, x19
bl _g_key_file_set_value
Lloh37:
adrp x24, _TRUE@GOTPAGE
Lloh38:
ldr x24, [x24, _TRUE@GOTPAGEOFF]
ldr w1, [x24]
mov x0, x21
bl _g_string_free
ldr w1, [x24]
mov x0, x22
bl _g_string_free
mov x0, #0
bl _g_string_new
mov x21, x0
ldr x0, [x20, #16]
ldr x8, [x0]
cmp x8, #1
b.lt LBB0_17
; %bb.15:
mov x22, #0
Lloh39:
adrp x23, l_.str.1@PAGE
Lloh40:
add x23, x23, l_.str.1@PAGEOFF
LBB0_16: ; =>This Inner Loop Header: Depth=1
mov x1, x22
bl _g_ptr_array_index
mov x2, x0
mov x0, x21
mov x1, x23
bl _g_string_append_printf
add x22, x22, #1
ldr x0, [x20, #16]
ldr x8, [x0]
cmp x22, x8
b.lt LBB0_16
LBB0_17:
ldr x8, [x21]
cbz x8, LBB0_19
; %bb.18:
ldr x8, [x21, #8]
add x3, x8, #1
Lloh41:
adrp x1, l_.str.2@PAGE
Lloh42:
add x1, x1, l_.str.2@PAGEOFF
Lloh43:
adrp x2, l_.str.6@PAGE
Lloh44:
add x2, x2, l_.str.6@PAGEOFF
b LBB0_20
LBB0_19:
Lloh45:
adrp x1, l_.str.2@PAGE
Lloh46:
add x1, x1, l_.str.2@PAGEOFF
Lloh47:
adrp x2, l_.str.6@PAGE
Lloh48:
add x2, x2, l_.str.6@PAGEOFF
Lloh49:
adrp x3, l_.str.4@PAGE
Lloh50:
add x3, x3, l_.str.4@PAGEOFF
LBB0_20:
mov x0, x19
bl _g_key_file_set_value
ldr w1, [x24]
mov x0, x21
bl _g_string_free
mov x0, #0
bl _g_string_new
mov x21, x0
ldr x8, [x20, #8]
ldr x8, [x8]
cmp x8, #1
b.lt LBB0_23
; %bb.21:
mov x22, #0
LBB0_22: ; =>This Inner Loop Header: Depth=1
mov x0, x21
mov w1, #44
bl _g_string_append_c
ldr x0, [x20, #8]
mov x1, x22
bl _g_ptr_array_index
mov x1, x0
mov x0, x21
bl _g_string_append
add x22, x22, #1
ldr x8, [x20, #8]
ldr x8, [x8]
cmp x22, x8
b.lt LBB0_22
LBB0_23:
ldr x8, [x21]
cbz x8, LBB0_25
; %bb.24:
ldr x8, [x21, #8]
add x3, x8, #1
Lloh51:
adrp x1, l_.str.2@PAGE
Lloh52:
add x1, x1, l_.str.2@PAGEOFF
Lloh53:
adrp x2, l_.str.7@PAGE
Lloh54:
add x2, x2, l_.str.7@PAGEOFF
b LBB0_26
LBB0_25:
Lloh55:
adrp x1, l_.str.2@PAGE
Lloh56:
add x1, x1, l_.str.2@PAGEOFF
Lloh57:
adrp x2, l_.str.7@PAGE
Lloh58:
add x2, x2, l_.str.7@PAGEOFF
Lloh59:
adrp x3, l_.str.4@PAGE
Lloh60:
add x3, x3, l_.str.4@PAGEOFF
LBB0_26:
mov x0, x19
bl _g_key_file_set_value
Lloh61:
adrp x22, _FALSE@GOTPAGE
Lloh62:
ldr x22, [x22, _FALSE@GOTPAGEOFF]
ldr w1, [x24]
mov x0, x21
bl _g_string_free
str wzr, [sp, #4]
add x1, sp, #4
mov x0, x19
mov x2, #0
bl _g_key_file_to_data
mov x21, x0
Lloh63:
ldr x22, [x22]
ldr w0, [x20]
ldr w2, [sp, #4]
add x3, sp, #8
mov x1, x21
bl _g_file_set_contents
Lloh64:
adrp x8, _G_STRLOC@GOTPAGE
Lloh65:
ldr x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh66:
ldr w1, [x8]
cmp x22, x0
b.ne LBB0_28
; %bb.27:
ldr x8, [sp, #8]
ldr w2, [x8]
Lloh67:
adrp x0, l_.str.8@PAGE
Lloh68:
add x0, x0, l_.str.8@PAGEOFF
bl _g_critical
mov x0, x21
bl _g_free
ldr x0, [sp, #8]
bl _g_error_free
mov w20, #-1
b LBB0_29
LBB0_28:
Lloh69:
adrp x0, l_.str.9@PAGE
Lloh70:
add x0, x0, l_.str.9@PAGEOFF
bl _g_message
mov x0, x21
bl _g_free
mov w20, #0
LBB0_29:
mov x0, x19
bl _g_key_file_free
LBB0_30:
mov x0, x20
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh35, Lloh36
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpLdrGot Lloh37, Lloh38
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh53, Lloh54
.loh AdrpAdd Lloh51, Lloh52
.loh AdrpAdd Lloh59, Lloh60
.loh AdrpAdd Lloh57, Lloh58
.loh AdrpAdd Lloh55, Lloh56
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpAdd Lloh67, Lloh68
.loh AdrpAdd Lloh69, Lloh70
.cfi_endproc
; -- End function
.comm _FALSE,8,3 ; @FALSE
.comm _G_KEY_FILE_KEEP_COMMENTS,4,2 ; @G_KEY_FILE_KEEP_COMMENTS
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: g_key_file_load_from_file: %s"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _BACKEND_TYPE_RW,8,3 ; @BACKEND_TYPE_RW
l_.str.1: ; @.str.1
.asciz ",%s"
.comm _BACKEND_TYPE_RO,8,3 ; @BACKEND_TYPE_RO
l_.str.2: ; @.str.2
.asciz "mysql-proxy"
l_.str.3: ; @.str.3
.asciz "proxy-backend-addresses"
l_.str.4: ; @.str.4
.space 1
l_.str.5: ; @.str.5
.asciz "proxy-read-only-backend-addresses"
.comm _TRUE,4,2 ; @TRUE
l_.str.6: ; @.str.6
.asciz "client-ips"
l_.str.7: ; @.str.7
.asciz "pwds"
l_.str.8: ; @.str.8
.asciz "%s: g_file_set_contents: %s"
l_.str.9: ; @.str.9
.asciz "%s: saving config file succeed"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-backend.c_network_backends_save.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_lua_add_connection ## -- Begin function network_connection_pool_lua_add_connection
.p2align 4, 0x90
_network_connection_pool_lua_add_connection: ## @network_connection_pool_lua_add_connection
.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
testq %rax, %rax
je LBB0_8
## %bb.1:
movq %rdi, %rbx
movq 16(%rdi), %r15
cmpq $0, 16(%rax)
jne LBB0_3
## %bb.2:
movq _G_STRLOC@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq 24(%rax), %rcx
movq 32(%rax), %rax
movq (%rax), %rax
movl (%rax), %edx
movq (%rcx), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rdi
callq _g_warning
xorl %eax, %eax
callq _network_mysqld_auth_response_new
movq (%rbx), %rcx
movq %rax, 16(%rcx)
movl (%rax), %r14d
leaq L_.str.1(%rip), %rdi
callq _C
movl %r14d, %edi
movl %eax, %esi
callq _g_string_assign_len
movq (%rbx), %rax
LBB0_3:
movl $1, (%rax)
movq 8(%r15), %rdi
callq _chassis_event_thread_pool
movq (%rbx), %rsi
movq %rax, %rdi
callq _network_connection_pool_add
testq %rax, %rax
je LBB0_5
## %bb.4:
movq (%rbx), %rdi
movl 8(%rdi), %esi
addq $4, %rdi
movq _EV_READ@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movq _network_mysqld_con_idle_handle@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq %rax, %r8
callq _event_set
movl 8(%rbx), %edi
movq (%rbx), %rsi
addq $4, %rsi
callq _chassis_event_add_local
LBB0_5:
movq 8(%r15), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _g_atomic_int_compare_and_exchange
testl %eax, %eax
jne LBB0_7
## %bb.6:
movq 8(%r15), %rdi
callq _g_atomic_int_dec_and_test
LBB0_7:
movq $0, 8(%r15)
movl $-1, (%r15)
movq $0, (%rbx)
LBB0_8:
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 "%s: (remove) remove socket from pool, response is NULL, src is %s, dst is %s"
.comm _G_STRLOC,4,2 ## @G_STRLOC
L_.str.1: ## @.str.1
.asciz "mysql_proxy_invalid_user"
.comm _EV_READ,4,2 ## @EV_READ
.comm _network_mysqld_con_idle_handle,4,2 ## @network_mysqld_con_idle_handle
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_lua_add_connection ; -- Begin function network_connection_pool_lua_add_connection
.p2align 2
_network_connection_pool_lua_add_connection: ; @network_connection_pool_lua_add_connection
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
ldr x8, [x0]
cbz x8, LBB0_8
; %bb.1:
mov x19, x0
ldr x21, [x0, #16]
ldr x9, [x8, #16]
cbnz x9, LBB0_3
; %bb.2:
Lloh0:
adrp x9, _G_STRLOC@GOTPAGE
Lloh1:
ldr x9, [x9, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
ldp x8, x9, [x8, #24]
ldr x9, [x9]
ldr w2, [x9]
ldr x8, [x8]
ldr w3, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _g_warning
bl _network_mysqld_auth_response_new
ldr x8, [x19]
str x0, [x8, #16]
ldr w20, [x0]
Lloh5:
adrp x0, l_.str.1@PAGE
Lloh6:
add x0, x0, l_.str.1@PAGEOFF
bl _C
mov x1, x0
mov x0, x20
bl _g_string_assign_len
ldr x8, [x19]
LBB0_3:
mov w9, #1
str w9, [x8]
ldr x0, [x21, #8]
bl _chassis_event_thread_pool
ldr x1, [x19]
bl _network_connection_pool_add
cbz x0, LBB0_5
; %bb.4:
mov x4, x0
ldr x8, [x19]
add x0, x8, #4
ldr w1, [x8, #8]
Lloh7:
adrp x8, _EV_READ@GOTPAGE
Lloh8:
ldr x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh9:
ldr w2, [x8]
Lloh10:
adrp x8, _network_mysqld_con_idle_handle@GOTPAGE
Lloh11:
ldr x8, [x8, _network_mysqld_con_idle_handle@GOTPAGEOFF]
Lloh12:
ldr w3, [x8]
bl _event_set
ldr w0, [x19, #8]
ldr x8, [x19]
add x1, x8, #4
bl _chassis_event_add_local
LBB0_5:
ldr x0, [x21, #8]
mov w1, #0
mov w2, #0
bl _g_atomic_int_compare_and_exchange
cbnz w0, LBB0_7
; %bb.6:
ldr x0, [x21, #8]
bl _g_atomic_int_dec_and_test
LBB0_7:
str xzr, [x21, #8]
mov w8, #-1
str w8, [x21]
str xzr, [x19]
LBB0_8:
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 Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: (remove) remove socket from pool, response is NULL, src is %s, dst is %s"
.comm _G_STRLOC,4,2 ; @G_STRLOC
l_.str.1: ; @.str.1
.asciz "mysql_proxy_invalid_user"
.comm _EV_READ,4,2 ; @EV_READ
.comm _network_mysqld_con_idle_handle,4,2 ; @network_mysqld_con_idle_handle
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool-lua.c_network_connection_pool_lua_add_connection.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_lua_swap ## -- Begin function network_connection_pool_lua_swap
.p2align 4, 0x90
_network_connection_pool_lua_swap: ## @network_connection_pool_lua_swap
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r15
movl %esi, %r14d
movq %rdi, %r13
movq 8(%rdi), %rax
movq 16(%rdi), %r12
movl (%rax), %edi
callq _network_backends_get
testq %rax, %rax
je LBB0_8
## %bb.1:
movq %rax, %rbx
movq %r15, -48(%rbp) ## 8-byte Spill
movq %rax, %rdi
callq _chassis_event_thread_pool
movq %rax, %rdi
callq _network_connection_pool_get
testq %rax, %rax
je LBB0_5
## %bb.2:
movq %rax, %r15
movq %rbx, 8(%r12)
movl %r14d, (%r12)
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq _g_atomic_int_compare_and_exchange
testl %eax, %eax
jne LBB0_9
## %bb.3:
movq 8(%r12), %rdi
callq _g_atomic_int_dec_and_test
jmp LBB0_9
LBB0_5:
movq %r13, %rdi
movq %rbx, %rsi
movq -48(%rbp), %rdx ## 8-byte Reload
callq _self_connect
testq %rax, %rax
je LBB0_7
## %bb.6:
movq %rax, %r15
movq %rbx, 8(%r12)
movl %r14d, (%r12)
jmp LBB0_9
LBB0_7:
movl $-1, (%r12)
LBB0_8:
xorl %r15d, %r15d
LBB0_9:
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _G_STRLOC,4,2 ## @G_STRLOC
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_lua_swap ; -- Begin function network_connection_pool_lua_swap
.p2align 2
_network_connection_pool_lua_swap: ; @network_connection_pool_lua_swap
.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 x20, x1
mov x23, x0
ldp x8, x24, [x0, #8]
ldr w0, [x8]
bl _network_backends_get
cbz x0, LBB0_4
; %bb.1:
mov x21, x0
bl _chassis_event_thread_pool
bl _network_connection_pool_get
cbz x0, LBB0_5
; %bb.2:
mov x19, x0
str x21, [x24, #8]
str w20, [x24]
mov x0, x21
mov w1, #0
mov w2, #0
bl _g_atomic_int_compare_and_exchange
cbnz w0, LBB0_8
; %bb.3:
ldr x0, [x24, #8]
bl _g_atomic_int_dec_and_test
b LBB0_8
LBB0_4:
mov x19, #0
b LBB0_8
LBB0_5:
mov x0, x23
mov x1, x21
mov x2, x22
bl _self_connect
mov x19, x0
cbz x0, LBB0_7
; %bb.6:
str x21, [x24, #8]
str w20, [x24]
b LBB0_8
LBB0_7:
mov w8, #-1
str w8, [x24]
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
.cfi_endproc
; -- End function
.comm _G_STRLOC,4,2 ; @G_STRLOC
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool-lua.c_network_connection_pool_lua_swap.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function network_mysqld_con_idle_handle
_network_mysqld_con_idle_handle: ## @network_mysqld_con_idle_handle
.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 _EV_READ@GOTPCREL(%rip), %rax
cmpw %si, (%rax)
jne LBB0_6
## %bb.1:
movq %rdx, %r14
movl %edi, %ebx
movq (%rdx), %r15
movl $-1, -28(%rbp)
movq _FIONREAD@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -28(%rbp), %rdx
callq _ioctlsocket
testq %rax, %rax
je LBB0_3
## %bb.2:
movq _errno@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _g_strerror
leaq L_.str(%rip), %rdi
movl %ebx, %esi
movl %eax, %edx
callq _g_critical
jmp LBB0_6
LBB0_3:
movl -28(%rbp), %edx
testl %edx, %edx
je LBB0_5
## %bb.4:
leaq L_.str.1(%rip), %rdi
movl %ebx, %esi
callq _g_critical
jmp LBB0_6
LBB0_5:
movq %r15, %rdi
movq %r14, %rsi
callq _network_connection_pool_remove
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EV_READ,2,1 ## @EV_READ
.comm _FIONREAD,4,2 ## @FIONREAD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ioctl(%d, FIONREAD, ...) failed: %s"
.comm _errno,4,2 ## @errno
L_.str.1: ## @.str.1
.asciz "ioctl(%d, FIONREAD, ...) said there is something to read, oops: %d"
.no_dead_strip _network_mysqld_con_idle_handle
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function network_mysqld_con_idle_handle
_network_mysqld_con_idle_handle: ; @network_mysqld_con_idle_handle
.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, _EV_READ@GOTPAGE
Lloh1:
ldr x8, [x8, _EV_READ@GOTPAGEOFF]
ldrh w8, [x8]
cmp w8, w1, uxth
b.ne LBB0_6
; %bb.1:
mov x20, x2
mov x19, x0
ldr x21, [x2]
mov w8, #-1
str w8, [sp, #12]
Lloh2:
adrp x8, _FIONREAD@GOTPAGE
Lloh3:
ldr x8, [x8, _FIONREAD@GOTPAGEOFF]
Lloh4:
ldr w1, [x8]
add x2, sp, #12
bl _ioctlsocket
cbz x0, LBB0_3
; %bb.2:
Lloh5:
adrp x8, _errno@GOTPAGE
Lloh6:
ldr x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
ldr w0, [x8]
bl _g_strerror
mov x2, x0
Lloh8:
adrp x0, l_.str@PAGE
Lloh9:
add x0, x0, l_.str@PAGEOFF
b LBB0_5
LBB0_3:
ldr w2, [sp, #12]
cbz w2, LBB0_7
; %bb.4:
Lloh10:
adrp x0, l_.str.1@PAGE
Lloh11:
add x0, x0, l_.str.1@PAGEOFF
LBB0_5:
mov x1, x19
bl _g_critical
LBB0_6:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_7:
mov x0, x21
mov x1, x20
bl _network_connection_pool_remove
b LBB0_6
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpAdd Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _EV_READ,2,1 ; @EV_READ
.comm _FIONREAD,4,2 ; @FIONREAD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ioctl(%d, FIONREAD, ...) failed: %s"
.comm _errno,4,2 ; @errno
l_.str.1: ; @.str.1
.asciz "ioctl(%d, FIONREAD, ...) said there is something to read, oops: %d"
.no_dead_strip _network_mysqld_con_idle_handle
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool-lua.c_network_mysqld_con_idle_handle.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_add ## -- Begin function network_connection_pool_add
.p2align 4, 0x90
_network_connection_pool_add: ## @network_connection_pool_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
testq %rdi, %rdi
je LBB0_3
## %bb.1:
movq %rdi, %r15
xorl %eax, %eax
callq _network_connection_pool_entry_new
testq %rax, %rax
je LBB0_3
## %bb.2:
movq %rax, %rbx
movq %r14, 8(%rax)
movq %r15, (%rax)
movq %r15, %rdi
movq %rax, %rsi
callq _g_queue_push_tail
jmp LBB0_4
LBB0_3:
movq %r14, %rdi
callq _network_socket_free
xorl %ebx, %ebx
LBB0_4:
movq %rbx, %rax
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 _network_connection_pool_add ; -- Begin function network_connection_pool_add
.p2align 2
_network_connection_pool_add: ; @network_connection_pool_add
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
cbz x0, LBB0_3
; %bb.1:
mov x21, x0
bl _network_connection_pool_entry_new
cbz x0, LBB0_3
; %bb.2:
mov x19, x0
stp x21, x20, [x0]
mov x0, x21
mov x1, x19
bl _g_queue_push_tail
b LBB0_4
LBB0_3:
mov x0, x20
bl _network_socket_free
mov x19, #0
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool.c_network_connection_pool_add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_entry_free ## -- Begin function network_connection_pool_entry_free
.p2align 4, 0x90
_network_connection_pool_entry_free: ## @network_connection_pool_entry_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
testq %rsi, %rsi
je LBB0_4
## %bb.2:
movq (%rbx), %r14
testq %r14, %r14
je LBB0_4
## %bb.3:
movq %r14, %rdi
callq _event_del
movq %r14, %rdi
callq _network_socket_free
LBB0_4:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_free ## TAILCALL
LBB0_5:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_entry_free ; -- Begin function network_connection_pool_entry_free
.p2align 2
_network_connection_pool_entry_free: ; @network_connection_pool_entry_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
cbz x1, LBB0_4
; %bb.2:
ldr x20, [x19]
cbz x20, LBB0_4
; %bb.3:
mov x0, x20
bl _event_del
mov x0, x20
bl _network_socket_free
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool.c_network_connection_pool_entry_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_free ## -- Begin function network_connection_pool_free
.p2align 4, 0x90
_network_connection_pool_free: ## @network_connection_pool_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_5
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _g_queue_pop_head
testq %rax, %rax
je LBB0_4
## %bb.2:
movq _TRUE@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r14), %esi
movq %rax, %rdi
callq _network_connection_pool_entry_free
movq %rbx, %rdi
callq _g_queue_pop_head
testq %rax, %rax
jne LBB0_3
LBB0_4:
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_queue_free ## TAILCALL
LBB0_5:
retq
.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 _network_connection_pool_free ; -- Begin function network_connection_pool_free
.p2align 2
_network_connection_pool_free: ; @network_connection_pool_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_5
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _g_queue_pop_head
cbz x0, LBB0_4
; %bb.2:
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w1, [x20]
bl _network_connection_pool_entry_free
mov x0, x19
bl _g_queue_pop_head
cbnz x0, LBB0_3
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_queue_free
LBB0_5:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool.c_network_connection_pool_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_get ## -- Begin function network_connection_pool_get
.p2align 4, 0x90
_network_connection_pool_get: ## @network_connection_pool_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
cmpq $0, (%rdi)
jle LBB0_4
## %bb.1:
callq _g_queue_pop_tail
testq %rax, %rax
je LBB0_4
## %bb.2:
movq (%rax), %rbx
movq _FALSE@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq %rax, %rdi
callq _network_connection_pool_entry_free
movq %rbx, %rdi
callq _event_del
jmp LBB0_5
LBB0_4:
xorl %ebx, %ebx
LBB0_5:
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_get ; -- Begin function network_connection_pool_get
.p2align 2
_network_connection_pool_get: ; @network_connection_pool_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
ldr x8, [x0]
cmp x8, #1
b.lt LBB0_3
; %bb.1:
bl _g_queue_pop_tail
cbz x0, LBB0_3
; %bb.2:
ldr x19, [x0]
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _network_connection_pool_entry_free
mov x0, x19
bl _event_del
b LBB0_4
LBB0_3:
mov x19, #0
LBB0_4:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool.c_network_connection_pool_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_new ## -- Begin function network_connection_pool_new
.p2align 4, 0x90
_network_connection_pool_new: ## @network_connection_pool_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
jmp _g_queue_new ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_new ; -- Begin function network_connection_pool_new
.p2align 2
_network_connection_pool_new: ; @network_connection_pool_new
.cfi_startproc
; %bb.0:
b _g_queue_new
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool.c_network_connection_pool_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_remove ## -- Begin function network_connection_pool_remove
.p2align 4, 0x90
_network_connection_pool_remove: ## @network_connection_pool_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
cmpq $0, 16(%rax)
jne LBB0_2
## %bb.1:
movq _G_STRLOC@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq (%rax), %rcx
movq 8(%rax), %rax
movq (%rax), %rax
movl (%rax), %edx
movq (%rcx), %rax
movl (%rax), %ecx
leaq L_.str(%rip), %rdi
callq _g_critical
LBB0_2:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _network_connection_pool_entry_free
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp _g_queue_remove ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: (remove) remove socket from pool, response is NULL, src is %s, dst is %s"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.comm _TRUE,4,2 ## @TRUE
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_connection_pool_remove ; -- Begin function network_connection_pool_remove
.p2align 2
_network_connection_pool_remove: ; @network_connection_pool_remove
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
ldr x8, [x1]
ldr x9, [x8, #16]
cbnz x9, LBB0_2
; %bb.1:
Lloh0:
adrp x9, _G_STRLOC@GOTPAGE
Lloh1:
ldr x9, [x9, _G_STRLOC@GOTPAGEOFF]
Lloh2:
ldr w1, [x9]
ldp x8, x9, [x8]
ldr x9, [x9]
ldr w2, [x9]
ldr x8, [x8]
ldr w3, [x8]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _g_critical
LBB0_2:
Lloh5:
adrp x8, _TRUE@GOTPAGE
Lloh6:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
mov x0, x19
bl _network_connection_pool_entry_free
mov x0, x20
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_queue_remove
.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: (remove) remove socket from pool, response is NULL, src is %s, dst is %s"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-conn-pool.c_network_connection_pool_remove.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parse_resultset_fields ## -- Begin function parse_resultset_fields
.p2align 4, 0x90
_parse_resultset_fields: ## @parse_resultset_fields
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
xorl %edi, %edi
cmpq $0, 16(%rbx)
setne %dil
movl $-1, %esi
callq _g_return_val_if_fail
xorl %eax, %eax
cmpq $0, 8(%rbx)
je LBB0_1
LBB0_5:
addq $8, %rsp
popq %rbx
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
callq _network_mysqld_proto_fielddefs_new
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_2
## %bb.3:
movq 16(%rbx), %rcx
movl (%rcx), %edi
movq %rax, %rsi
callq _network_mysqld_proto_get_fielddefs
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
je LBB0_5
## %bb.4:
movl (%rcx), %eax
movl %eax, (%rbx)
xorl %eax, %eax
jmp LBB0_5
LBB0_2:
movl $-1, %eax
jmp LBB0_5
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parse_resultset_fields ; -- Begin function parse_resultset_fields
.p2align 2
_parse_resultset_fields: ; @parse_resultset_fields
.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, #16]
cmp x8, #0
cset w0, ne
mov w1, #-1
bl _g_return_val_if_fail
ldr x8, [x19, #8]
cbz x8, LBB0_2
; %bb.1:
mov w0, #0
b LBB0_6
LBB0_2:
bl _network_mysqld_proto_fielddefs_new
str x0, [x19, #8]
cbz x0, LBB0_5
; %bb.3:
mov x1, x0
ldr x8, [x19, #16]
ldr w0, [x8]
bl _network_mysqld_proto_get_fielddefs
cbz x0, LBB0_5
; %bb.4:
mov x8, x0
mov w0, #0
ldr w8, [x8]
str w8, [x19]
b LBB0_6
LBB0_5:
mov w0, #-1
LBB0_6:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_parse_resultset_fields.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_getinjectionmetatable ## -- Begin function proxy_getinjectionmetatable
.p2align 4, 0x90
_proxy_getinjectionmetatable: ## @proxy_getinjectionmetatable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _methods_proxy_injection@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.comm _methods_proxy_injection,4,2 ## @methods_proxy_injection
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_getinjectionmetatable ; -- Begin function proxy_getinjectionmetatable
.p2align 2
_proxy_getinjectionmetatable: ; @proxy_getinjectionmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _methods_proxy_injection@GOTPAGE
Lloh1:
ldr x8, [x8, _methods_proxy_injection@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _proxy_getmetatable
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _methods_proxy_injection,4,2 ; @methods_proxy_injection
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_getinjectionmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_getqueuemetatable ## -- Begin function proxy_getqueuemetatable
.p2align 4, 0x90
_proxy_getqueuemetatable: ## @proxy_getqueuemetatable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _methods_proxy_queue@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.comm _methods_proxy_queue,4,2 ## @methods_proxy_queue
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_getqueuemetatable ; -- Begin function proxy_getqueuemetatable
.p2align 2
_proxy_getqueuemetatable: ; @proxy_getqueuemetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _methods_proxy_queue@GOTPAGE
Lloh1:
ldr x8, [x8, _methods_proxy_queue@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _proxy_getmetatable
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _methods_proxy_queue,4,2 ; @methods_proxy_queue
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_getqueuemetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_queue_add
_proxy_queue_add: ## @proxy_queue_add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, %r15d
movq %rdi, %r13
callq _luaL_checkself
movq (%rax), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq %r13, %rdi
movl $2, %esi
callq _luaL_checkinteger
movl %eax, %r12d
leaq -56(%rbp), %rdx
movq %r13, %rdi
movl $3, %esi
callq _luaL_checklstring
movq %rax, %rbx
movq -56(%rbp), %rdi
callq _g_string_sized_new
movq %rax, %r14
movq -56(%rbp), %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq _g_string_append_len
movl %r12d, %edi
movq %r14, %rsi
callq _injection_new
movq %rax, %r12
movq _FALSE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, (%r12)
movq _lua_istable@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r13, %rdi
movl $4, %edx
movl $-1, %ecx
callq _luaL_opt
cmpl $-1, %eax
je LBB0_12
## %bb.1:
cmpl $1, %eax
jne LBB0_11
## %bb.2:
leaq L_.str(%rip), %rdx
movq %r13, %rdi
movl $4, %esi
callq _lua_getfield
movq %r13, %rdi
movl $-1, %esi
callq _lua_isnil
testl %eax, %eax
jne LBB0_5
## %bb.3:
movq %r13, %rdi
movl $-1, %esi
callq _lua_isboolean
testl %eax, %eax
je LBB0_6
## %bb.4:
movq %r13, %rdi
movl $-1, %esi
callq _lua_toboolean
movl %eax, (%r12)
LBB0_5:
movq %r13, %rdi
movl $1, %esi
callq _lua_pop
LBB0_12:
cmpl $128, %r15d
je LBB0_15
LBB0_13:
cmpl $129, %r15d
jne LBB0_16
## %bb.14:
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _network_injection_queue_append
xorl %eax, %eax
jmp LBB0_17
LBB0_11:
movq %r13, %rdi
callq _proxy_lua_dumpstack_verbose
leaq L_.str.3(%rip), %rdx
movq %r13, %rdi
movl $4, %esi
callq _luaL_typerror
cmpl $128, %r15d
jne LBB0_13
LBB0_15:
movq -48(%rbp), %rdi ## 8-byte Reload
movq %r12, %rsi
callq _network_injection_queue_prepend
xorl %eax, %eax
jmp LBB0_17
LBB0_16:
xorl %eax, %eax
callq _g_assert_not_reached
## implicit-def: $eax
LBB0_17:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_6:
cmpl $128, %r15d
je LBB0_10
## %bb.7:
cmpl $129, %r15d
jne LBB0_5
## %bb.8:
leaq L_.str.1(%rip), %rdx
jmp LBB0_9
LBB0_10:
leaq L_.str.2(%rip), %rdx
LBB0_9:
movq %r13, %rdi
movl $4, %esi
callq _luaL_argerror
jmp LBB0_17
.cfi_endproc
## -- End function
.comm _FALSE,4,2 ## @FALSE
.comm _lua_istable,4,2 ## @lua_istable
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "resultset_is_needed"
L_.str.1: ## @.str.1
.asciz ":append(..., { resultset_is_needed = boolean } ), is %s"
L_.str.2: ## @.str.2
.asciz ":prepend(..., { resultset_is_needed = boolean } ), is %s"
L_.str.3: ## @.str.3
.asciz "table"
.no_dead_strip _proxy_queue_add
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_queue_add
_proxy_queue_add: ; @proxy_queue_add
.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 x20, x1
mov x21, x0
bl _luaL_checkself
ldr x19, [x0]
mov x0, x21
mov w1, #2
bl _luaL_checkinteger
mov x22, x0
add x2, sp, #8
mov x0, x21
mov w1, #3
bl _luaL_checklstring
mov x23, x0
ldr x0, [sp, #8]
bl _g_string_sized_new
mov x24, x0
ldr x2, [sp, #8]
mov x1, x23
bl _g_string_append_len
mov x0, x22
mov x1, x24
bl _injection_new
mov x22, x0
Lloh0:
adrp x8, _FALSE@GOTPAGE
Lloh1:
ldr x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
str w8, [x0]
Lloh3:
adrp x8, _lua_istable@GOTPAGE
Lloh4:
ldr x8, [x8, _lua_istable@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x21
mov w2, #4
mov w3, #-1
bl _luaL_opt
cmn w0, #1
b.eq LBB0_6
; %bb.1:
cmp w0, #1
b.ne LBB0_9
; %bb.2:
Lloh6:
adrp x2, l_.str@PAGE
Lloh7:
add x2, x2, l_.str@PAGEOFF
mov x0, x21
mov w1, #4
bl _lua_getfield
mov x0, x21
mov w1, #-1
bl _lua_isnil
cbnz w0, LBB0_5
; %bb.3:
mov x0, x21
mov w1, #-1
bl _lua_isboolean
cbz w0, LBB0_13
; %bb.4:
mov x0, x21
mov w1, #-1
bl _lua_toboolean
str w0, [x22]
LBB0_5:
mov x0, x21
mov w1, #1
bl _lua_pop
LBB0_6:
cmp w20, #128
b.eq LBB0_10
LBB0_7:
cmp w20, #129
b.ne LBB0_11
; %bb.8:
mov x0, x19
mov x1, x22
bl _network_injection_queue_append
mov w0, #0
b LBB0_12
LBB0_9:
mov x0, x21
bl _proxy_lua_dumpstack_verbose
Lloh8:
adrp x2, l_.str.3@PAGE
Lloh9:
add x2, x2, l_.str.3@PAGEOFF
mov x0, x21
mov w1, #4
bl _luaL_typerror
cmp w20, #128
b.ne LBB0_7
LBB0_10:
mov x0, x19
mov x1, x22
bl _network_injection_queue_prepend
mov w0, #0
b LBB0_12
LBB0_11:
bl _g_assert_not_reached
; implicit-def: $w0
LBB0_12:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_13:
cmp w20, #128
b.eq LBB0_16
; %bb.14:
cmp w20, #129
b.ne LBB0_5
; %bb.15:
Lloh10:
adrp x2, l_.str.1@PAGE
Lloh11:
add x2, x2, l_.str.1@PAGEOFF
b LBB0_17
LBB0_16:
Lloh12:
adrp x2, l_.str.2@PAGE
Lloh13:
add x2, x2, l_.str.2@PAGEOFF
LBB0_17:
mov x0, x21
mov w1, #4
bl _luaL_argerror
b LBB0_12
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh12, Lloh13
.cfi_endproc
; -- End function
.comm _FALSE,4,2 ; @FALSE
.comm _lua_istable,4,2 ; @lua_istable
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "resultset_is_needed"
l_.str.1: ; @.str.1
.asciz ":append(..., { resultset_is_needed = boolean } ), is %s"
l_.str.2: ; @.str.2
.asciz ":prepend(..., { resultset_is_needed = boolean } ), is %s"
l_.str.3: ; @.str.3
.asciz "table"
.no_dead_strip _proxy_queue_add
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_queue_add.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_queue_append
_proxy_queue_append: ## @proxy_queue_append
.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_QUEUE_ADD_APPEND@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _proxy_queue_add ## TAILCALL
.cfi_endproc
## -- End function
.comm _PROXY_QUEUE_ADD_APPEND,4,2 ## @PROXY_QUEUE_ADD_APPEND
.no_dead_strip _proxy_queue_append
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_queue_append
_proxy_queue_append: ; @proxy_queue_append
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _PROXY_QUEUE_ADD_APPEND@GOTPAGE
Lloh1:
ldr x8, [x8, _PROXY_QUEUE_ADD_APPEND@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _proxy_queue_add
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PROXY_QUEUE_ADD_APPEND,4,2 ; @PROXY_QUEUE_ADD_APPEND
.no_dead_strip _proxy_queue_append
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_queue_append.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_queue_len
_proxy_queue_len: ## @proxy_queue_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_queue_len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_queue_len
_proxy_queue_len: ; @proxy_queue_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_queue_len
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_queue_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_queue_prepend
_proxy_queue_prepend: ## @proxy_queue_prepend
.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_QUEUE_ADD_PREPEND@GOTPCREL(%rip), %rax
movl (%rax), %esi
popq %rbp
jmp _proxy_queue_add ## TAILCALL
.cfi_endproc
## -- End function
.comm _PROXY_QUEUE_ADD_PREPEND,4,2 ## @PROXY_QUEUE_ADD_PREPEND
.no_dead_strip _proxy_queue_prepend
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_queue_prepend
_proxy_queue_prepend: ; @proxy_queue_prepend
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _PROXY_QUEUE_ADD_PREPEND@GOTPAGE
Lloh1:
ldr x8, [x8, _PROXY_QUEUE_ADD_PREPEND@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
b _proxy_queue_add
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _PROXY_QUEUE_ADD_PREPEND,4,2 ; @PROXY_QUEUE_ADD_PREPEND
.no_dead_strip _proxy_queue_prepend
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_queue_prepend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_queue_reset
_proxy_queue_reset: ## @proxy_queue_reset
.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 _network_injection_queue_reset
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_queue_reset
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_queue_reset
_proxy_queue_reset: ; @proxy_queue_reset
.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 _network_injection_queue_reset
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _proxy_queue_reset
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_queue_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_field_get
_proxy_resultset_field_get: ## @proxy_resultset_field_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
movl $0, -36(%rbp)
leaq -36(%rbp), %rdx
movq %r15, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r14
movl -36(%rbp), %ebx
leaq L_.str(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_2
## %bb.1:
movl 16(%r12), %esi
movq %r15, %rdi
callq _lua_pushinteger
jmp LBB0_12
LBB0_2:
movl -36(%rbp), %ebx
leaq L_.str.1(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_5
## %bb.3:
movl 12(%r12), %esi
jmp LBB0_4
LBB0_5:
movl -36(%rbp), %ebx
leaq L_.str.2(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_7
## %bb.6:
movl 8(%r12), %esi
jmp LBB0_4
LBB0_7:
movl -36(%rbp), %ebx
leaq L_.str.3(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_9
## %bb.8:
movl 4(%r12), %esi
jmp LBB0_4
LBB0_9:
movl -36(%rbp), %ebx
leaq L_.str.4(%rip), %rdi
callq _C
movq %r14, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_11
## %bb.10:
movl (%r12), %esi
LBB0_4:
movq %r15, %rdi
callq _lua_pushstring
LBB0_12:
movl $1, %eax
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
movq %r15, %rdi
callq _lua_pushnil
jmp LBB0_12
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "type"
L_.str.1: ## @.str.1
.asciz "name"
L_.str.2: ## @.str.2
.asciz "org_name"
L_.str.3: ## @.str.3
.asciz "org_table"
L_.str.4: ## @.str.4
.asciz "table"
.no_dead_strip _proxy_resultset_field_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_field_get
_proxy_resultset_field_get: ; @proxy_resultset_field_get
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x0
bl _luaL_checkself
ldr x22, [x0]
str wzr, [sp, #12]
add x2, sp, #12
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x20, x0
ldr w21, [sp, #12]
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_2
; %bb.1:
ldr w1, [x22, #16]
mov x0, x19
bl _lua_pushinteger
b LBB0_11
LBB0_2:
ldr w21, [sp, #12]
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_4
; %bb.3:
ldr w1, [x22, #12]
b LBB0_10
LBB0_4:
ldr w21, [sp, #12]
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_6
; %bb.5:
ldr w1, [x22, #8]
b LBB0_10
LBB0_6:
ldr w21, [sp, #12]
Lloh6:
adrp x0, l_.str.3@PAGE
Lloh7:
add x0, x0, l_.str.3@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_8
; %bb.7:
ldr w1, [x22, #4]
b LBB0_10
LBB0_8:
ldr w21, [sp, #12]
Lloh8:
adrp x0, l_.str.4@PAGE
Lloh9:
add x0, x0, l_.str.4@PAGEOFF
bl _C
mov x2, x0
mov x0, x20
mov x1, x21
bl _strleq
cbz x0, LBB0_12
; %bb.9:
ldr w1, [x22]
LBB0_10:
mov x0, x19
bl _lua_pushstring
LBB0_11:
mov w0, #1
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
LBB0_12:
mov x0, x19
bl _lua_pushnil
b LBB0_11
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "type"
l_.str.1: ; @.str.1
.asciz "name"
l_.str.2: ; @.str.2
.asciz "org_name"
l_.str.3: ; @.str.3
.asciz "org_table"
l_.str.4: ; @.str.4
.asciz "table"
.no_dead_strip _proxy_resultset_field_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_field_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_fields_gc
_proxy_resultset_fields_gc: ## @proxy_resultset_fields_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 _g_ref_unref
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_resultset_fields_gc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_fields_gc
_proxy_resultset_fields_gc: ; @proxy_resultset_fields_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 _g_ref_unref
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _proxy_resultset_fields_gc
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_fields_gc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_fields_get
_proxy_resultset_fields_get: ## @proxy_resultset_fields_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, %rbx
callq _luaL_checkself
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %r14
movq %rbx, %rdi
movl $2, %esi
callq _luaL_checkinteger
## kill: def $eax killed $eax def $rax
movq (%r14), %rdx
movq _G_MAXINT@GOTPCREL(%rip), %rsi
xorl %ecx, %ecx
cmpq (%rsi), %rdx
jg LBB0_6
## %bb.1:
testl %eax, %eax
jle LBB0_3
## %bb.2:
cmpl %edx, %eax
jg LBB0_3
## %bb.4:
movq 8(%r14), %rcx
decl %eax
movq (%rcx,%rax,8), %r14
movq %rbx, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %r14, (%rax)
movq _methods_proxy_resultset_fields_field@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _proxy_getmetatable
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setmetatable
jmp LBB0_5
LBB0_3:
movq %rbx, %rdi
callq _lua_pushnil
LBB0_5:
movl $1, %ecx
LBB0_6:
movl %ecx, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _G_MAXINT,8,3 ## @G_MAXINT
.comm _methods_proxy_resultset_fields_field,4,2 ## @methods_proxy_resultset_fields_field
.no_dead_strip _proxy_resultset_fields_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_fields_get
_proxy_resultset_fields_get: ; @proxy_resultset_fields_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 x8, [x0]
ldr x8, [x8]
ldr x20, [x8]
mov x0, x19
mov w1, #2
bl _luaL_checkinteger
ldr x8, [x20]
Lloh0:
adrp x9, _G_MAXINT@GOTPAGE
Lloh1:
ldr x9, [x9, _G_MAXINT@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.le LBB0_2
; %bb.1:
mov w0, #0
b LBB0_7
LBB0_2:
subs w9, w0, #1
b.lt LBB0_5
; %bb.3:
cmp w0, w8
b.gt LBB0_5
; %bb.4:
ldr x8, [x20, #8]
ldr x20, [x8, w9, uxtw #3]
mov x0, x19
mov w1, #8
bl _lua_newuserdata
str x20, [x0]
Lloh3:
adrp x8, _methods_proxy_resultset_fields_field@GOTPAGE
Lloh4:
ldr x8, [x8, _methods_proxy_resultset_fields_field@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
bl _proxy_getmetatable
mov x0, x19
mov w1, #-2
bl _lua_setmetatable
b LBB0_6
LBB0_5:
mov x0, x19
bl _lua_pushnil
LBB0_6:
mov w0, #1
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 AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _G_MAXINT,8,3 ; @G_MAXINT
.comm _methods_proxy_resultset_fields_field,4,2 ; @methods_proxy_resultset_fields_field
.no_dead_strip _proxy_resultset_fields_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_fields_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_fields_len
_proxy_resultset_fields_len: ## @proxy_resultset_fields_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
movq (%rax), %rax
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_resultset_fields_len
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_fields_len
_proxy_resultset_fields_len: ; @proxy_resultset_fields_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 x8, [x8]
ldr x8, [x8]
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_resultset_fields_len
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_fields_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_fields_lua_push_ref
_proxy_resultset_fields_lua_push_ref: ## @proxy_resultset_fields_lua_push_ref
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq _g_ref_ref
movq %rbx, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %r14, (%rax)
movq _methods_proxy_resultset_fields@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _proxy_getmetatable
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setmetatable
movl $1, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _methods_proxy_resultset_fields,4,2 ## @methods_proxy_resultset_fields
.no_dead_strip _proxy_resultset_fields_lua_push_ref
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_fields_lua_push_ref
_proxy_resultset_fields_lua_push_ref: ; @proxy_resultset_fields_lua_push_ref
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov x0, x1
bl _g_ref_ref
mov x0, x20
mov w1, #8
bl _lua_newuserdata
str x19, [x0]
Lloh0:
adrp x8, _methods_proxy_resultset_fields@GOTPAGE
Lloh1:
ldr x8, [x8, _methods_proxy_resultset_fields@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _proxy_getmetatable
mov x0, x20
mov w1, #-2
bl _lua_setmetatable
mov w0, #1
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 _methods_proxy_resultset_fields,4,2 ; @methods_proxy_resultset_fields
.no_dead_strip _proxy_resultset_fields_lua_push_ref
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_fields_lua_push_ref.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_gc
_proxy_resultset_gc: ## @proxy_resultset_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 _g_ref_unref
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_resultset_gc
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_gc
_proxy_resultset_gc: ; @proxy_resultset_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 _g_ref_unref
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _proxy_resultset_gc
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_gc.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_get
_proxy_resultset_get: ## @proxy_resultset_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 %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
callq _luaL_checkself
movq (%rax), %r13
movq (%r13), %r14
movl $0, -44(%rbp)
leaq -44(%rbp), %rdx
movq %r15, %rdi
movl $2, %esi
callq _luaL_checklstring
movq %rax, %r12
movl -44(%rbp), %ebx
leaq L_.str(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_6
## %bb.1:
cmpq $0, 72(%r14)
je LBB0_2
## %bb.4:
movq %r14, %rdi
callq _parse_resultset_fields
cmpq $0, 96(%r14)
je LBB0_35
## %bb.5:
movq %r15, %rdi
movq %r13, %rsi
callq _proxy_resultset_fields_lua_push_ref
jmp LBB0_36
LBB0_6:
movl -44(%rbp), %ebx
leaq L_.str.2(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_13
## %bb.7:
cmpq $0, 72(%r14)
je LBB0_8
## %bb.9:
cmpq $0, 64(%r14)
je LBB0_11
## %bb.10:
leaq L_.str.4(%rip), %rsi
jmp LBB0_3
LBB0_2:
leaq L_.str.1(%rip), %rsi
jmp LBB0_3
LBB0_13:
movl -44(%rbp), %ebx
leaq L_.str.5(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_15
## %bb.14:
movq (%r14), %rsi
jmp LBB0_34
LBB0_8:
leaq L_.str.3(%rip), %rsi
LBB0_3:
movq %r15, %rdi
callq _luaL_error
jmp LBB0_36
LBB0_11:
movq %r14, %rdi
callq _parse_resultset_fields
movq 80(%r14), %rax
testq %rax, %rax
je LBB0_35
## %bb.12:
movq %rax, 88(%r14)
movq %r15, %rdi
movq %r13, %rsi
callq _proxy_resultset_lua_push_ref
movq _proxy_resultset_rows_iter@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movl $1, %edx
callq _lua_pushcclosure
jmp LBB0_36
LBB0_15:
movl -44(%rbp), %ebx
leaq L_.str.6(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_17
## %bb.16:
movq 8(%r14), %rsi
LBB0_34:
movq %r15, %rdi
callq _lua_pushinteger
jmp LBB0_36
LBB0_17:
movl -44(%rbp), %ebx
leaq L_.str.7(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_21
## %bb.18:
movq 72(%r14), %rax
testq %rax, %rax
je LBB0_19
## %bb.20:
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rdx
movq 8(%rax), %rsi
addq $4, %rsi
addq $-4, %rdx
movq %r15, %rdi
callq _lua_pushlstring
jmp LBB0_36
LBB0_21:
movl -44(%rbp), %ebx
leaq L_.str.9(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_23
## %bb.22:
movq %r15, %rdi
callq _lua_newtable
movq _SERVER_STATUS_IN_TRANS@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %esi, %esi
andl 16(%r14), %eax
setne %sil
movq %r15, %rdi
callq _lua_pushboolean
leaq L_.str.10(%rip), %rdx
movq %r15, %rdi
movl $-2, %esi
callq _lua_setfield
movq _SERVER_STATUS_AUTOCOMMIT@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %esi, %esi
andl 16(%r14), %eax
setne %sil
movq %r15, %rdi
callq _lua_pushboolean
leaq L_.str.11(%rip), %rdx
movq %r15, %rdi
movl $-2, %esi
callq _lua_setfield
movq _SERVER_QUERY_NO_GOOD_INDEX_USED@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %esi, %esi
andl 16(%r14), %eax
setne %sil
movq %r15, %rdi
callq _lua_pushboolean
leaq L_.str.12(%rip), %rdx
movq %r15, %rdi
movl $-2, %esi
callq _lua_setfield
movq _SERVER_QUERY_NO_INDEX_USED@GOTPCREL(%rip), %rax
movl (%rax), %eax
xorl %esi, %esi
andl 16(%r14), %eax
setne %sil
movq %r15, %rdi
callq _lua_pushboolean
leaq L_.str.13(%rip), %rdx
movq %r15, %rdi
movl $-2, %esi
callq _lua_setfield
jmp LBB0_36
LBB0_19:
leaq L_.str.8(%rip), %rsi
jmp LBB0_3
LBB0_23:
movl -44(%rbp), %ebx
leaq L_.str.14(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_25
## %bb.24:
movq 24(%r14), %rsi
jmp LBB0_34
LBB0_25:
movl -44(%rbp), %ebx
leaq L_.str.15(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_29
## %bb.26:
cmpq $0, 48(%r14)
jne LBB0_35
## %bb.27:
movl 56(%r14), %esi
jmp LBB0_28
LBB0_29:
movl -44(%rbp), %ebx
leaq L_.str.16(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_32
## %bb.30:
cmpq $0, 48(%r14)
jne LBB0_35
## %bb.31:
movl 40(%r14), %esi
LBB0_28:
movq %r15, %rdi
callq _lua_pushnumber
jmp LBB0_36
LBB0_32:
movl -44(%rbp), %ebx
leaq L_.str.17(%rip), %rdi
callq _C
movq %r12, %rdi
movl %ebx, %esi
movl %eax, %edx
callq _strleq
testq %rax, %rax
je LBB0_35
## %bb.33:
movq 32(%r14), %rsi
movq _MYSQLD_PACKET_NULL@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
jne LBB0_34
LBB0_35:
movq %r15, %rdi
callq _lua_pushnil
LBB0_36:
movl $1, %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: ## @.str
.asciz "fields"
L_.str.1: ## @.str.1
.asciz ".resultset.fields isn't available if 'resultset_is_needed ~= true'"
L_.str.2: ## @.str.2
.asciz "rows"
L_.str.3: ## @.str.3
.asciz ".resultset.rows isn't available if 'resultset_is_needed ~= true'"
L_.str.4: ## @.str.4
.asciz ".resultset.rows isn't available for prepared statements"
.comm _proxy_resultset_rows_iter,4,2 ## @proxy_resultset_rows_iter
L_.str.5: ## @.str.5
.asciz "row_count"
L_.str.6: ## @.str.6
.asciz "bytes"
L_.str.7: ## @.str.7
.asciz "raw"
L_.str.8: ## @.str.8
.asciz ".resultset.raw isn't available if 'resultset_is_needed ~= true'"
L_.str.9: ## @.str.9
.asciz "flags"
.comm _SERVER_STATUS_IN_TRANS,4,2 ## @SERVER_STATUS_IN_TRANS
L_.str.10: ## @.str.10
.asciz "in_trans"
.comm _SERVER_STATUS_AUTOCOMMIT,4,2 ## @SERVER_STATUS_AUTOCOMMIT
L_.str.11: ## @.str.11
.asciz "auto_commit"
.comm _SERVER_QUERY_NO_GOOD_INDEX_USED,4,2 ## @SERVER_QUERY_NO_GOOD_INDEX_USED
L_.str.12: ## @.str.12
.asciz "no_good_index_used"
.comm _SERVER_QUERY_NO_INDEX_USED,4,2 ## @SERVER_QUERY_NO_INDEX_USED
L_.str.13: ## @.str.13
.asciz "no_index_used"
L_.str.14: ## @.str.14
.asciz "warning_count"
L_.str.15: ## @.str.15
.asciz "affected_rows"
L_.str.16: ## @.str.16
.asciz "insert_id"
L_.str.17: ## @.str.17
.asciz "query_status"
.comm _MYSQLD_PACKET_NULL,8,3 ## @MYSQLD_PACKET_NULL
.no_dead_strip _proxy_resultset_get
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_get
_proxy_resultset_get: ; @proxy_resultset_get
.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
bl _luaL_checkself
ldr x22, [x0]
ldr x20, [x22]
str wzr, [sp, #12]
add x2, sp, #12
mov x0, x19
mov w1, #2
bl _luaL_checklstring
mov x21, x0
ldr w23, [sp, #12]
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x23
bl _strleq
cbz x0, LBB0_4
; %bb.1:
ldr x8, [x20, #72]
cbz x8, LBB0_8
; %bb.2:
mov x0, x20
bl _parse_resultset_fields
ldr x8, [x20, #96]
cbz x8, LBB0_35
; %bb.3:
mov x0, x19
mov x1, x22
bl _proxy_resultset_fields_lua_push_ref
b LBB0_36
LBB0_4:
ldr w23, [sp, #12]
Lloh2:
adrp x0, l_.str.2@PAGE
Lloh3:
add x0, x0, l_.str.2@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x23
bl _strleq
cbz x0, LBB0_9
; %bb.5:
ldr x8, [x20, #72]
cbz x8, LBB0_11
; %bb.6:
ldr x8, [x20, #64]
cbz x8, LBB0_13
; %bb.7:
Lloh4:
adrp x1, l_.str.4@PAGE
Lloh5:
add x1, x1, l_.str.4@PAGEOFF
b LBB0_12
LBB0_8:
Lloh6:
adrp x1, l_.str.1@PAGE
Lloh7:
add x1, x1, l_.str.1@PAGEOFF
b LBB0_12
LBB0_9:
ldr w22, [sp, #12]
Lloh8:
adrp x0, l_.str.5@PAGE
Lloh9:
add x0, x0, l_.str.5@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_15
; %bb.10:
ldr x1, [x20]
b LBB0_17
LBB0_11:
Lloh10:
adrp x1, l_.str.3@PAGE
Lloh11:
add x1, x1, l_.str.3@PAGEOFF
LBB0_12:
mov x0, x19
bl _luaL_error
b LBB0_36
LBB0_13:
mov x0, x20
bl _parse_resultset_fields
ldr x8, [x20, #80]
cbz x8, LBB0_35
; %bb.14:
str x8, [x20, #88]
mov x0, x19
mov x1, x22
bl _proxy_resultset_lua_push_ref
Lloh12:
adrp x8, _proxy_resultset_rows_iter@GOTPAGE
Lloh13:
ldr x8, [x8, _proxy_resultset_rows_iter@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
mov w2, #1
bl _lua_pushcclosure
b LBB0_36
LBB0_15:
ldr w22, [sp, #12]
Lloh15:
adrp x0, l_.str.6@PAGE
Lloh16:
add x0, x0, l_.str.6@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_18
; %bb.16:
ldr x1, [x20, #8]
LBB0_17:
mov x0, x19
bl _lua_pushinteger
b LBB0_36
LBB0_18:
ldr w22, [sp, #12]
Lloh17:
adrp x0, l_.str.7@PAGE
Lloh18:
add x0, x0, l_.str.7@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_21
; %bb.19:
ldr x8, [x20, #72]
cbz x8, LBB0_23
; %bb.20:
ldr x8, [x8]
ldr x8, [x8]
ldp x8, x9, [x8]
add x1, x9, #4
sub x2, x8, #4
mov x0, x19
bl _lua_pushlstring
b LBB0_36
LBB0_21:
ldr w22, [sp, #12]
Lloh19:
adrp x0, l_.str.9@PAGE
Lloh20:
add x0, x0, l_.str.9@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_24
; %bb.22:
mov x0, x19
bl _lua_newtable
ldr w8, [x20, #16]
Lloh21:
adrp x9, _SERVER_STATUS_IN_TRANS@GOTPAGE
Lloh22:
ldr x9, [x9, _SERVER_STATUS_IN_TRANS@GOTPAGEOFF]
Lloh23:
ldr w9, [x9]
tst w9, w8
cset w1, ne
mov x0, x19
bl _lua_pushboolean
Lloh24:
adrp x2, l_.str.10@PAGE
Lloh25:
add x2, x2, l_.str.10@PAGEOFF
mov x0, x19
mov w1, #-2
bl _lua_setfield
ldr w8, [x20, #16]
Lloh26:
adrp x9, _SERVER_STATUS_AUTOCOMMIT@GOTPAGE
Lloh27:
ldr x9, [x9, _SERVER_STATUS_AUTOCOMMIT@GOTPAGEOFF]
Lloh28:
ldr w9, [x9]
tst w9, w8
cset w1, ne
mov x0, x19
bl _lua_pushboolean
Lloh29:
adrp x2, l_.str.11@PAGE
Lloh30:
add x2, x2, l_.str.11@PAGEOFF
mov x0, x19
mov w1, #-2
bl _lua_setfield
ldr w8, [x20, #16]
Lloh31:
adrp x9, _SERVER_QUERY_NO_GOOD_INDEX_USED@GOTPAGE
Lloh32:
ldr x9, [x9, _SERVER_QUERY_NO_GOOD_INDEX_USED@GOTPAGEOFF]
Lloh33:
ldr w9, [x9]
tst w9, w8
cset w1, ne
mov x0, x19
bl _lua_pushboolean
Lloh34:
adrp x2, l_.str.12@PAGE
Lloh35:
add x2, x2, l_.str.12@PAGEOFF
mov x0, x19
mov w1, #-2
bl _lua_setfield
ldr w8, [x20, #16]
Lloh36:
adrp x9, _SERVER_QUERY_NO_INDEX_USED@GOTPAGE
Lloh37:
ldr x9, [x9, _SERVER_QUERY_NO_INDEX_USED@GOTPAGEOFF]
Lloh38:
ldr w9, [x9]
tst w9, w8
cset w1, ne
mov x0, x19
bl _lua_pushboolean
Lloh39:
adrp x2, l_.str.13@PAGE
Lloh40:
add x2, x2, l_.str.13@PAGEOFF
mov x0, x19
mov w1, #-2
bl _lua_setfield
b LBB0_36
LBB0_23:
Lloh41:
adrp x1, l_.str.8@PAGE
Lloh42:
add x1, x1, l_.str.8@PAGEOFF
b LBB0_12
LBB0_24:
ldr w22, [sp, #12]
Lloh43:
adrp x0, l_.str.14@PAGE
Lloh44:
add x0, x0, l_.str.14@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_26
; %bb.25:
ldr x1, [x20, #24]
b LBB0_17
LBB0_26:
ldr w22, [sp, #12]
Lloh45:
adrp x0, l_.str.15@PAGE
Lloh46:
add x0, x0, l_.str.15@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_29
; %bb.27:
ldr x8, [x20, #48]
cbnz x8, LBB0_35
; %bb.28:
ldr w1, [x20, #56]
b LBB0_32
LBB0_29:
ldr w22, [sp, #12]
Lloh47:
adrp x0, l_.str.16@PAGE
Lloh48:
add x0, x0, l_.str.16@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_33
; %bb.30:
ldr x8, [x20, #48]
cbnz x8, LBB0_35
; %bb.31:
ldr w1, [x20, #40]
LBB0_32:
mov x0, x19
bl _lua_pushnumber
b LBB0_36
LBB0_33:
ldr w22, [sp, #12]
Lloh49:
adrp x0, l_.str.17@PAGE
Lloh50:
add x0, x0, l_.str.17@PAGEOFF
bl _C
mov x2, x0
mov x0, x21
mov x1, x22
bl _strleq
cbz x0, LBB0_35
; %bb.34:
ldr x1, [x20, #32]
Lloh51:
adrp x8, _MYSQLD_PACKET_NULL@GOTPAGE
Lloh52:
ldr x8, [x8, _MYSQLD_PACKET_NULL@GOTPAGEOFF]
Lloh53:
ldr x8, [x8]
cmp x1, x8
b.ne LBB0_17
LBB0_35:
mov x0, x19
bl _lua_pushnil
LBB0_36:
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
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38
.loh AdrpAdd Lloh34, Lloh35
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpAdd Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpAdd Lloh41, Lloh42
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh49, Lloh50
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "fields"
l_.str.1: ; @.str.1
.asciz ".resultset.fields isn't available if 'resultset_is_needed ~= true'"
l_.str.2: ; @.str.2
.asciz "rows"
l_.str.3: ; @.str.3
.asciz ".resultset.rows isn't available if 'resultset_is_needed ~= true'"
l_.str.4: ; @.str.4
.asciz ".resultset.rows isn't available for prepared statements"
.comm _proxy_resultset_rows_iter,4,2 ; @proxy_resultset_rows_iter
l_.str.5: ; @.str.5
.asciz "row_count"
l_.str.6: ; @.str.6
.asciz "bytes"
l_.str.7: ; @.str.7
.asciz "raw"
l_.str.8: ; @.str.8
.asciz ".resultset.raw isn't available if 'resultset_is_needed ~= true'"
l_.str.9: ; @.str.9
.asciz "flags"
.comm _SERVER_STATUS_IN_TRANS,4,2 ; @SERVER_STATUS_IN_TRANS
l_.str.10: ; @.str.10
.asciz "in_trans"
.comm _SERVER_STATUS_AUTOCOMMIT,4,2 ; @SERVER_STATUS_AUTOCOMMIT
l_.str.11: ; @.str.11
.asciz "auto_commit"
.comm _SERVER_QUERY_NO_GOOD_INDEX_USED,4,2 ; @SERVER_QUERY_NO_GOOD_INDEX_USED
l_.str.12: ; @.str.12
.asciz "no_good_index_used"
.comm _SERVER_QUERY_NO_INDEX_USED,4,2 ; @SERVER_QUERY_NO_INDEX_USED
l_.str.13: ; @.str.13
.asciz "no_index_used"
l_.str.14: ; @.str.14
.asciz "warning_count"
l_.str.15: ; @.str.15
.asciz "affected_rows"
l_.str.16: ; @.str.16
.asciz "insert_id"
l_.str.17: ; @.str.17
.asciz "query_status"
.comm _MYSQLD_PACKET_NULL,8,3 ; @MYSQLD_PACKET_NULL
.no_dead_strip _proxy_resultset_get
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_lua_push
_proxy_resultset_lua_push: ## @proxy_resultset_lua_push
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %r15
xorl %eax, %eax
callq _g_ref_new
movq %rax, %rbx
movq _proxy_resultset_free@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq _g_ref_set
movq %r15, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %rbx, (%rax)
movq _methods_proxy_resultset@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _proxy_getmetatable
movq %r15, %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
.comm _proxy_resultset_free,8,3 ## @proxy_resultset_free
.comm _methods_proxy_resultset,4,2 ## @methods_proxy_resultset
.no_dead_strip _proxy_resultset_lua_push
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_lua_push
_proxy_resultset_lua_push: ; @proxy_resultset_lua_push
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
bl _g_ref_new
mov x21, x0
Lloh0:
adrp x8, _proxy_resultset_free@GOTPAGE
Lloh1:
ldr x8, [x8, _proxy_resultset_free@GOTPAGEOFF]
Lloh2:
ldr w2, [x8]
mov x1, x19
bl _g_ref_set
mov x0, x20
mov w1, #8
bl _lua_newuserdata
str x21, [x0]
Lloh3:
adrp x8, _methods_proxy_resultset@GOTPAGE
Lloh4:
ldr x8, [x8, _methods_proxy_resultset@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x20
bl _proxy_getmetatable
mov x0, x20
mov w1, #-2
bl _lua_setmetatable
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 Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _proxy_resultset_free,8,3 ; @proxy_resultset_free
.comm _methods_proxy_resultset,4,2 ; @methods_proxy_resultset
.no_dead_strip _proxy_resultset_lua_push
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_lua_push.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_lua_push_ref
_proxy_resultset_lua_push_ref: ## @proxy_resultset_lua_push_ref
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq _g_ref_ref
movq %rbx, %rdi
movl $8, %esi
callq _lua_newuserdata
movq %r14, (%rax)
movq _methods_proxy_resultset@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq _proxy_getmetatable
movq %rbx, %rdi
movl $-2, %esi
callq _lua_setmetatable
movl $1, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _methods_proxy_resultset,4,2 ## @methods_proxy_resultset
.no_dead_strip _proxy_resultset_lua_push_ref
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_lua_push_ref
_proxy_resultset_lua_push_ref: ; @proxy_resultset_lua_push_ref
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
mov x0, x1
bl _g_ref_ref
mov x0, x20
mov w1, #8
bl _lua_newuserdata
str x19, [x0]
Lloh0:
adrp x8, _methods_proxy_resultset@GOTPAGE
Lloh1:
ldr x8, [x8, _methods_proxy_resultset@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x20
bl _proxy_getmetatable
mov x0, x20
mov w1, #-2
bl _lua_setmetatable
mov w0, #1
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 _methods_proxy_resultset,4,2 ; @methods_proxy_resultset
.no_dead_strip _proxy_resultset_lua_push_ref
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_lua_push_ref.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function proxy_resultset_rows_iter
_proxy_resultset_rows_iter: ## @proxy_resultset_rows_iter
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r14
movl $1, %r13d
movl $1, %edi
callq _lua_upvalueindex
movq %r14, %rdi
movl %eax, %esi
callq _lua_touserdata
movq (%rax), %rax
movq (%rax), %r12
movq 8(%r12), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq (%r12), %rbx
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
xorl %r15d, %r15d
xorl %esi, %esi
callq _g_return_val_if_fail
movq 8(%rbx), %rax
movq %rax, -56(%rbp)
movl $0, -64(%rbp)
leaq -64(%rbp), %rdi
callq _network_mysqld_proto_skip_network_header
testq %rax, %rax
jne LBB0_2
## %bb.1:
leaq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_peek_lenenc_type
xorl %r13d, %r13d
testq %rax, %rax
setne %r13b
LBB0_2:
movl %r13d, %edi
xorl $1, %edi
xorl %esi, %esi
callq _g_return_val_if_fail
movl -44(%rbp), %eax
andl $-2, %eax
cmpl $130, %eax
je LBB0_17
## %bb.3:
movq %r12, -80(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _lua_newtable
movq -72(%rbp), %rax ## 8-byte Reload
cmpq $0, (%rax)
jle LBB0_16
## %bb.4:
xorl %ebx, %ebx
jmp LBB0_5
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_5 Depth=1
addl 4(%rax), %esi
movq %r14, %rdi
## kill: def $esi killed $esi killed $rsi
## kill: def $edx killed $edx killed $rdx
callq _lua_pushlstring
movl -48(%rbp), %esi
leaq -64(%rbp), %rdi
callq _network_mysqld_proto_skip
testl %eax, %eax
setne %r12b
LBB0_15: ## in Loop: Header=BB0_5 Depth=1
incq %rbx
movq %r14, %rdi
movl $-2, %esi
movq %rbx, %rdx
callq _lua_rawseti
movl %r12d, %eax
xorb $1, %al
movzbl %al, %edi
xorl %esi, %esi
callq _g_return_val_if_fail
movzbl %r12b, %r13d
movq -72(%rbp), %rax ## 8-byte Reload
cmpq (%rax), %rbx
jge LBB0_16
LBB0_5: ## =>This Inner Loop Header: Depth=1
movb $1, %r12b
movb $1, %r15b
testl %r13d, %r13d
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
leaq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_peek_lenenc_type
testq %rax, %rax
setne %r15b
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movl %r15d, %eax
xorb $1, %al
movzbl %al, %edi
xorl %esi, %esi
callq _g_return_val_if_fail
movl -44(%rbp), %eax
cmpl $129, %eax
je LBB0_10
## %bb.8: ## in Loop: Header=BB0_5 Depth=1
cmpl $128, %eax
jne LBB0_15
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
leaq -64(%rbp), %rdi
movl $1, %esi
callq _network_mysqld_proto_skip
movq %r14, %rdi
callq _lua_pushnil
movl %r15d, %r12d
jmp LBB0_15
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
testb %r15b, %r15b
jne LBB0_18
## %bb.11: ## in Loop: Header=BB0_5 Depth=1
leaq -64(%rbp), %rdi
leaq -48(%rbp), %rsi
callq _network_mysqld_proto_get_lenenc_int
testl %eax, %eax
jne LBB0_18
## %bb.12: ## in Loop: Header=BB0_5 Depth=1
movl -48(%rbp), %edx
movq -56(%rbp), %rax
movl (%rax), %ecx
cmpl %ecx, %edx
jg LBB0_18
## %bb.13: ## in Loop: Header=BB0_5 Depth=1
movl -64(%rbp), %esi
leal (%rsi,%rdx), %edi
cmpl %ecx, %edi
jle LBB0_14
LBB0_18:
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str(%rip), %rsi
movq %r14, %rdi
callq _luaL_error
movl %eax, %r15d
jmp LBB0_17
LBB0_16:
movq -80(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rax
movq (%rax), %rax
movq %rax, (%rcx)
movl $1, %r15d
LBB0_17:
movl %r15d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: row-data is invalid"
.comm _G_STRLOC,4,2 ## @G_STRLOC
.no_dead_strip _proxy_resultset_rows_iter
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function proxy_resultset_rows_iter
_proxy_resultset_rows_iter: ; @proxy_resultset_rows_iter
.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
mov w23, #1
mov w0, #1
bl _lua_upvalueindex
mov x1, x0
mov x0, x19
bl _lua_touserdata
ldr x8, [x0]
ldr x21, [x8]
ldp x20, x22, [x21]
cmp x20, #0
cset w0, ne
mov w1, #0
bl _g_return_val_if_fail
ldr x8, [x20, #8]
str x8, [sp, #24]
str wzr, [sp, #16]
add x0, sp, #16
bl _network_mysqld_proto_skip_network_header
cbnz x0, LBB0_2
; %bb.1:
add x0, sp, #16
add x1, sp, #12
bl _network_mysqld_proto_peek_lenenc_type
cmp x0, #0
cset w23, ne
LBB0_2:
eor w0, w23, #0x1
mov w1, #0
bl _g_return_val_if_fail
mov w0, #0
ldr w8, [sp, #12]
and w8, w8, #0xfffffffe
cmp w8, #130
b.eq LBB0_20
; %bb.3:
mov x0, x19
bl _lua_newtable
ldr x8, [x22]
cmp x8, #1
b.lt LBB0_18
; %bb.4:
mov x20, #0
b LBB0_7
LBB0_5: ; in Loop: Header=BB0_7 Depth=1
mov w23, #1
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
add x20, x20, #1
mov x0, x19
mov w1, #-2
mov x2, x20
bl _lua_rawseti
eor w0, w23, #0x1
mov w1, #0
bl _g_return_val_if_fail
ldr x8, [x22]
cmp x20, x8
b.ge LBB0_18
LBB0_7: ; =>This Inner Loop Header: Depth=1
cbz w23, LBB0_9
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
mov w23, #1
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
add x0, sp, #16
add x1, sp, #12
bl _network_mysqld_proto_peek_lenenc_type
cmp x0, #0
cset w23, ne
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
eor w0, w23, #0x1
mov w1, #0
bl _g_return_val_if_fail
ldr w8, [sp, #12]
cmp w8, #129
b.eq LBB0_13
; %bb.11: ; in Loop: Header=BB0_7 Depth=1
cmp w8, #128
b.ne LBB0_5
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
add x0, sp, #16
mov w1, #1
bl _network_mysqld_proto_skip
mov x0, x19
bl _lua_pushnil
b LBB0_6
LBB0_13: ; in Loop: Header=BB0_7 Depth=1
tbnz w23, #0, LBB0_19
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
add x0, sp, #16
add x1, sp, #8
bl _network_mysqld_proto_get_lenenc_int
cbnz w0, LBB0_19
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
ldr w2, [sp, #8]
ldr x8, [sp, #24]
ldr w10, [x8]
cmp w2, w10
b.gt LBB0_19
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [sp, #16]
add w11, w9, w2
cmp w11, w10
b.gt LBB0_19
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [x8, #4]
add w1, w9, w8
mov x0, x19
bl _lua_pushlstring
ldr w1, [sp, #8]
add x0, sp, #16
bl _network_mysqld_proto_skip
cmp w0, #0
cset w23, ne
b LBB0_6
LBB0_18:
ldr x8, [x21]
ldr x8, [x8]
str x8, [x21]
mov w0, #1
b LBB0_20
LBB0_19:
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
LBB0_20:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: row-data is invalid"
.comm _G_STRLOC,4,2 ; @G_STRLOC
.no_dead_strip _proxy_resultset_rows_iter
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection-lua.c_proxy_resultset_rows_iter.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _injection_free ## -- Begin function injection_free
.p2align 4, 0x90
_injection_free: ## @injection_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_4
## %bb.1:
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_3
## %bb.2:
movq _TRUE@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _g_string_free
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
LBB0_4:
retq
.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 _injection_free ; -- Begin function injection_free
.p2align 2
_injection_free: ; @injection_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_4
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
cbz x0, LBB0_3
; %bb.2:
Lloh0:
adrp x8, _TRUE@GOTPAGE
Lloh1:
ldr x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _g_string_free
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_4:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_injection_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_append ## -- Begin function network_injection_queue_append
.p2align 4, 0x90
_network_injection_queue_append: ## @network_injection_queue_append
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _g_queue_push_tail ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_append ; -- Begin function network_injection_queue_append
.p2align 2
_network_injection_queue_append: ; @network_injection_queue_append
.cfi_startproc
; %bb.0:
b _g_queue_push_tail
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_network_injection_queue_append.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_free ## -- Begin function network_injection_queue_free
.p2align 4, 0x90
_network_injection_queue_free: ## @network_injection_queue_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
callq _network_injection_queue_reset
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_queue_free ## TAILCALL
LBB0_1:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_free ; -- Begin function network_injection_queue_free
.p2align 2
_network_injection_queue_free: ; @network_injection_queue_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _network_injection_queue_reset
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_queue_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_network_injection_queue_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_len ## -- Begin function network_injection_queue_len
.p2align 4, 0x90
_network_injection_queue_len: ## @network_injection_queue_len
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_len ; -- Begin function network_injection_queue_len
.p2align 2
_network_injection_queue_len: ; @network_injection_queue_len
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_network_injection_queue_len.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_new ## -- Begin function network_injection_queue_new
.p2align 4, 0x90
_network_injection_queue_new: ## @network_injection_queue_new
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
jmp _g_queue_new ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_new ; -- Begin function network_injection_queue_new
.p2align 2
_network_injection_queue_new: ; @network_injection_queue_new
.cfi_startproc
; %bb.0:
b _g_queue_new
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_network_injection_queue_new.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_prepend ## -- Begin function network_injection_queue_prepend
.p2align 4, 0x90
_network_injection_queue_prepend: ## @network_injection_queue_prepend
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
jmp _g_queue_push_head ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_prepend ; -- Begin function network_injection_queue_prepend
.p2align 2
_network_injection_queue_prepend: ; @network_injection_queue_prepend
.cfi_startproc
; %bb.0:
b _g_queue_push_head
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_network_injection_queue_prepend.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_injection_queue_reset ## -- Begin function network_injection_queue_reset
.p2align 4, 0x90
_network_injection_queue_reset: ## @network_injection_queue_reset
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
testq %rdi, %rdi
je LBB0_4
## %bb.1:
movq %rdi, %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _g_queue_pop_head
testq %rax, %rax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_3 Depth=1
movq %rax, %rdi
callq _injection_free
jmp LBB0_3
LBB0_4:
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 _network_injection_queue_reset ; -- Begin function network_injection_queue_reset
.p2align 2
_network_injection_queue_reset: ; @network_injection_queue_reset
.cfi_startproc
; %bb.0:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
cbz x0, LBB0_4
; %bb.1:
mov x19, x0
LBB0_2: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _g_queue_pop_head
cbz x0, LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
bl _injection_free
b LBB0_2
LBB0_4:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_network_injection_queue_reset.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_resultset_free ## -- Begin function proxy_resultset_free
.p2align 4, 0x90
_proxy_resultset_free: ## @proxy_resultset_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_4
## %bb.1:
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_3
## %bb.2:
callq _network_mysqld_proto_fielddefs_free
LBB0_3:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
LBB0_4:
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_resultset_free ; -- Begin function proxy_resultset_free
.p2align 2
_proxy_resultset_free: ; @proxy_resultset_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_4
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr x0, [x0]
cbz x0, LBB0_3
; %bb.2:
bl _network_mysqld_proto_fielddefs_free
LBB0_3:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_4:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_proxy_resultset_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_resultset_init ## -- Begin function proxy_resultset_init
.p2align 4, 0x90
_proxy_resultset_init: ## @proxy_resultset_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
jmp _proxy_resultset_new ## TAILCALL
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _proxy_resultset_init ; -- Begin function proxy_resultset_init
.p2align 2
_proxy_resultset_init: ; @proxy_resultset_init
.cfi_startproc
; %bb.0:
b _proxy_resultset_new
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-injection.c_proxy_resultset_init.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function guint64_equal
_guint64_equal: ## @guint64_equal
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rdi), %rcx
xorl %eax, %eax
cmpq (%rsi), %rcx
sete %al
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _guint64_equal
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function guint64_equal
_guint64_equal: ; @guint64_equal
.cfi_startproc
; %bb.0:
ldr x8, [x0]
ldr x9, [x1]
cmp x8, x9
cset w0, eq
ret
.cfi_endproc
; -- End function
.no_dead_strip _guint64_equal
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_guint64_equal.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 4, 0x90 ## -- Begin function guint64_hash
_guint64_hash: ## @guint64_hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdi), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _guint64_hash
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.p2align 2 ; -- Begin function guint64_hash
_guint64_hash: ; @guint64_hash
.cfi_startproc
; %bb.0:
ldr w0, [x0]
ret
.cfi_endproc
; -- End function
.no_dead_strip _guint64_hash
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_guint64_hash.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_binlog_dump_free ## -- Begin function network_mysqld_binlog_dump_free
.p2align 4, 0x90
_network_mysqld_binlog_dump_free: ## @network_mysqld_binlog_dump_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testq %rdi, %rdi
je LBB0_1
## %bb.2:
popq %rbp
jmp _g_free ## TAILCALL
LBB0_1:
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 _network_mysqld_binlog_dump_free ; -- Begin function network_mysqld_binlog_dump_free
.p2align 2
_network_mysqld_binlog_dump_free: ; @network_mysqld_binlog_dump_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
b _g_free
LBB0_2:
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_binlog_dump_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_binlog_event_free ## -- Begin function network_mysqld_binlog_event_free
.p2align 4, 0x90
_network_mysqld_binlog_event_free: ## @network_mysqld_binlog_event_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_31
## %bb.1:
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 (%rdi), %eax
addl $-128, %eax
cmpl $8, %eax
ja LBB0_30
## %bb.2:
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_22:
movq 32(%rbx), %rdi
testq %rdi, %rdi
je LBB0_24
## %bb.23:
callq _g_free
LBB0_24:
movq 24(%rbx), %rdi
testq %rdi, %rdi
je LBB0_26
## %bb.25:
callq _g_free
LBB0_26:
movq 16(%rbx), %rdi
jmp LBB0_28
LBB0_31:
retq
LBB0_10:
movq 88(%rbx), %rdi
testq %rdi, %rdi
je LBB0_12
## %bb.11:
callq _g_free
LBB0_12:
movq 80(%rbx), %rdi
jmp LBB0_28
LBB0_13:
movq 72(%rbx), %rdi
testq %rdi, %rdi
je LBB0_15
## %bb.14:
callq _g_free
LBB0_15:
movq 64(%rbx), %rdi
testq %rdi, %rdi
je LBB0_17
## %bb.16:
callq _g_free
LBB0_17:
movq 56(%rbx), %rdi
testq %rdi, %rdi
je LBB0_19
## %bb.18:
callq _g_free
LBB0_19:
movq 48(%rbx), %rdi
testq %rdi, %rdi
je LBB0_21
## %bb.20:
callq _g_free
LBB0_21:
movq 40(%rbx), %rdi
jmp LBB0_28
LBB0_27:
movq 8(%rbx), %rdi
jmp LBB0_28
LBB0_6:
movq 112(%rbx), %rdi
jmp LBB0_28
LBB0_3:
movq 128(%rbx), %rdi
testq %rdi, %rdi
je LBB0_5
## %bb.4:
callq _g_free
LBB0_5:
movq 120(%rbx), %rdi
jmp LBB0_28
LBB0_7:
movq 104(%rbx), %rdi
testq %rdi, %rdi
je LBB0_9
## %bb.8:
callq _g_free
LBB0_9:
movq 96(%rbx), %rdi
LBB0_28:
testq %rdi, %rdi
je LBB0_30
## %bb.29:
callq _g_free
LBB0_30:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
.long L0_0_set_22
.long L0_0_set_10
.long L0_0_set_22
.long L0_0_set_13
.long L0_0_set_27
.long L0_0_set_6
.long L0_0_set_3
.long L0_0_set_7
.long L0_0_set_22
.end_data_region
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_binlog_event_free ; -- Begin function network_mysqld_binlog_event_free
.p2align 2
_network_mysqld_binlog_event_free: ; @network_mysqld_binlog_event_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_10
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_remember_state
mov x19, x0
ldr w8, [x0]
sub w8, w8, #128
cmp w8, #8
b.hi LBB0_9
; %bb.2:
Lloh0:
adrp x9, lJTI0_0@PAGE
Lloh1:
add x9, x9, lJTI0_0@PAGEOFF
adr x10, LBB0_3
ldrb w11, [x9, x8]
add x10, x10, x11, lsl #2
br x10
LBB0_3:
ldr x0, [x19, #32]
cbz x0, LBB0_5
; %bb.4:
bl _g_free
LBB0_5:
ldr x0, [x19, #24]
cbz x0, LBB0_7
; %bb.6:
bl _g_free
LBB0_7:
ldr x0, [x19, #16]
cbz x0, LBB0_9
LBB0_8:
bl _g_free
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_10:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
LBB0_11:
.cfi_restore_state
ldr x0, [x19, #88]
cbz x0, LBB0_13
; %bb.12:
bl _g_free
LBB0_13:
ldr x0, [x19, #80]
cbnz x0, LBB0_8
b LBB0_9
LBB0_14:
ldr x0, [x19, #72]
cbz x0, LBB0_16
; %bb.15:
bl _g_free
LBB0_16:
ldr x0, [x19, #64]
cbz x0, LBB0_18
; %bb.17:
bl _g_free
LBB0_18:
ldr x0, [x19, #56]
cbz x0, LBB0_20
; %bb.19:
bl _g_free
LBB0_20:
ldr x0, [x19, #48]
cbz x0, LBB0_22
; %bb.21:
bl _g_free
LBB0_22:
ldr x0, [x19, #40]
cbnz x0, LBB0_8
b LBB0_9
LBB0_23:
ldr x0, [x19, #8]
cbnz x0, LBB0_8
b LBB0_9
LBB0_24:
ldr x0, [x19, #112]
cbnz x0, LBB0_8
b LBB0_9
LBB0_25:
ldr x0, [x19, #128]
cbz x0, LBB0_27
; %bb.26:
bl _g_free
LBB0_27:
ldr x0, [x19, #120]
cbnz x0, LBB0_8
b LBB0_9
LBB0_28:
ldr x0, [x19, #104]
cbz x0, LBB0_30
; %bb.29:
bl _g_free
LBB0_30:
ldr x0, [x19, #96]
cbnz x0, LBB0_8
b LBB0_9
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_11-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
.byte (LBB0_14-LBB0_3)>>2
.byte (LBB0_23-LBB0_3)>>2
.byte (LBB0_24-LBB0_3)>>2
.byte (LBB0_25-LBB0_3)>>2
.byte (LBB0_28-LBB0_3)>>2
.byte (LBB0_3-LBB0_3)>>2
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_binlog_event_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_binlog_event_tablemap_get ## -- Begin function network_mysqld_binlog_event_tablemap_get
.p2align 4, 0x90
_network_mysqld_binlog_event_tablemap_get: ## @network_mysqld_binlog_event_tablemap_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 %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movl 12(%rsi), %edi
movl 48(%rbx), %esi
callq _g_string_assign
movl 8(%r14), %edi
movl 44(%rbx), %esi
callq _g_string_assign
movl 40(%rbx), %eax
movq %r14, -72(%rbp) ## 8-byte Spill
movl %eax, 4(%r14)
movq 24(%rbx), %rax
movq %rax, -80(%rbp)
movq (%rbx), %rax
movq %rax, -88(%rbp)
leaq -88(%rbp), %rcx
movq %rcx, -56(%rbp)
movq $0, -64(%rbp)
movl 8(%rbx), %edx
testl %edx, %edx
jle LBB0_61
## %bb.1:
xorl %r12d, %r12d
xorl %r14d, %r14d
jmp LBB0_4
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
testl %r14d, %r14d
je LBB0_23
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
movl $1, %r14d
LBB0_3: ## in Loop: Header=BB0_4 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
movl (%rax), %edi
movq %r15, %rsi
callq _g_ptr_array_add
incq %r12
movslq 8(%rbx), %rdx
cmpq %rdx, %r12
jge LBB0_60
LBB0_4: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
callq _network_mysqld_proto_fielddef_new
movq %rax, %r15
movq 16(%rbx), %rax
movq %r12, %rcx
shrq %rcx
andl $2147483644, %ecx ## imm = 0x7FFFFFFC
movl (%rax,%rcx), %eax
movl %r12d, %ecx
andb $7, %cl
movzbl %cl, %ecx
btl %ecx, %eax
movl $0, %eax
jb LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq _NOT_NULL_FLAG@GOTPCREL(%rip), %rax
movl (%rax), %eax
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
orl %eax, 12(%r15)
movq 32(%rbx), %rax
movl (%rax,%r12,8), %r13d
leal -128(%r13), %eax
cmpl $20, %eax
ja LBB0_14
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_2: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, 4(%r15)
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
testl %r14d, %r14d
jne LBB0_16
## %bb.24: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_int8
testl %eax, %eax
jne LBB0_16
## %bb.38: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, 4(%r15)
movl -44(%rbp), %eax
movl %eax, (%r15)
cmpl $140, %r13d
je LBB0_52
## %bb.39: ## in Loop: Header=BB0_4 Depth=1
cmpl $147, %r13d
jne LBB0_53
## %bb.40: ## in Loop: Header=BB0_4 Depth=1
decl %eax
movl $1, %r14d
cmpl $3, %eax
ja LBB0_3
## %bb.41: ## in Loop: Header=BB0_4 Depth=1
leaq LJTI0_1(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_42: ## in Loop: Header=BB0_4 Depth=1
movq _MYSQL_TYPE_TINY_BLOB@GOTPCREL(%rip), %rax
jmp LBB0_58
LBB0_12: ## in Loop: Header=BB0_4 Depth=1
testl %r14d, %r14d
jne LBB0_16
## %bb.26: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_int8
jmp LBB0_27
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movq _G_STRLOC@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movl %r13d, %edx
callq _g_error
jmp LBB0_3
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
testl %r14d, %r14d
jne LBB0_16
## %bb.30: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %r14
movq %r14, %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_int8
testl %eax, %eax
jne LBB0_16
## %bb.43: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
leaq -48(%rbp), %rsi
callq _network_mysqld_proto_get_int8
movl $1, %r14d
testl %eax, %eax
jne LBB0_3
## %bb.44: ## in Loop: Header=BB0_4 Depth=1
movl -44(%rbp), %eax
andl $48, %eax
cmpl $48, %eax
jne LBB0_54
## %bb.45: ## in Loop: Header=BB0_4 Depth=1
movl -48(%rbp), %eax
movl %eax, (%r15)
movl -44(%rbp), %eax
jmp LBB0_59
LBB0_17: ## in Loop: Header=BB0_4 Depth=1
movl $136, 4(%r15)
testl %r14d, %r14d
jne LBB0_16
## %bb.32: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %r14
movq %r14, %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_int8
testl %eax, %eax
jne LBB0_16
## %bb.46: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
leaq -48(%rbp), %rsi
callq _network_mysqld_proto_get_int8
movl $1, %r14d
testl %eax, %eax
jne LBB0_3
## %bb.47: ## in Loop: Header=BB0_4 Depth=1
movl -44(%rbp), %eax
movl %eax, (%r15)
movl -48(%rbp), %eax
movl %eax, 8(%r15)
xorl %r14d, %r14d
jmp LBB0_3
LBB0_19: ## in Loop: Header=BB0_4 Depth=1
testl %r14d, %r14d
jne LBB0_16
## %bb.34: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %r14
movq %r14, %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_int8
testl %eax, %eax
jne LBB0_16
## %bb.48: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
leaq -48(%rbp), %rsi
callq _network_mysqld_proto_get_int8
movl $1, %r14d
testl %eax, %eax
jne LBB0_3
## %bb.49: ## in Loop: Header=BB0_4 Depth=1
movl -44(%rbp), %eax
movl %eax, 4(%r15)
movl -48(%rbp), %eax
jmp LBB0_29
LBB0_21: ## in Loop: Header=BB0_4 Depth=1
movl $148, 4(%r15)
testl %r14d, %r14d
jne LBB0_16
## %bb.36: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %r14
movq %r14, %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_int8
testl %eax, %eax
jne LBB0_16
## %bb.50: ## in Loop: Header=BB0_4 Depth=1
movq %r14, %rdi
leaq -48(%rbp), %rsi
callq _network_mysqld_proto_get_int8
movl $1, %r14d
testl %eax, %eax
jne LBB0_3
## %bb.51: ## in Loop: Header=BB0_4 Depth=1
movl -48(%rbp), %eax
cmpl $1, -44(%rbp)
sbbl $-1, %eax
jmp LBB0_29
LBB0_23: ## in Loop: Header=BB0_4 Depth=1
leaq -64(%rbp), %rdi
leaq -44(%rbp), %rsi
callq _network_mysqld_proto_get_int16
LBB0_27: ## in Loop: Header=BB0_4 Depth=1
movl $1, %r14d
testl %eax, %eax
jne LBB0_3
## %bb.28: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, 4(%r15)
movl -44(%rbp), %eax
LBB0_29: ## in Loop: Header=BB0_4 Depth=1
movl %eax, (%r15)
xorl %r14d, %r14d
jmp LBB0_3
LBB0_52: ## in Loop: Header=BB0_4 Depth=1
xorl %r14d, %r14d
cmpl $4, %eax
setne %r14b
jmp LBB0_3
LBB0_53: ## in Loop: Header=BB0_4 Depth=1
xorl %r14d, %r14d
xorl %eax, %eax
callq _g_assert_not_reached
jmp LBB0_3
LBB0_54: ## in Loop: Header=BB0_4 Depth=1
xorl $48, %eax
shll $4, %eax
orl %eax, (%r15)
movl -44(%rbp), %eax
orl $48, %eax
jmp LBB0_59
LBB0_55: ## in Loop: Header=BB0_4 Depth=1
movl $147, 4(%r15)
xorl %r14d, %r14d
jmp LBB0_3
LBB0_56: ## in Loop: Header=BB0_4 Depth=1
movq _MYSQL_TYPE_MEDIUM_BLOB@GOTPCREL(%rip), %rax
jmp LBB0_58
LBB0_57: ## in Loop: Header=BB0_4 Depth=1
movq _MYSQL_TYPE_LONG_BLOB@GOTPCREL(%rip), %rax
LBB0_58: ## in Loop: Header=BB0_4 Depth=1
movl (%rax), %eax
LBB0_59: ## in Loop: Header=BB0_4 Depth=1
movl %eax, 4(%r15)
xorl %r14d, %r14d
jmp LBB0_3
LBB0_60:
movq -64(%rbp), %rcx
movq -56(%rbp), %rax
movq (%rax), %rax
cmpq %rax, %rcx
jne LBB0_62
jmp LBB0_64
LBB0_61:
xorl %ecx, %ecx
xorl %r14d, %r14d
cmpq %rax, %rcx
je LBB0_64
LBB0_62:
movq _G_STRLOC@GOTPCREL(%rip), %r15
movl (%r15), %edi
movq 32(%rbx), %rsi
## kill: def $edx killed $edx killed $rdx
callq _g_debug_hexdump
movl (%r15), %edi
movq 24(%rbx), %rsi
movl (%rbx), %edx
callq _g_debug_hexdump
movq -64(%rbp), %rax
movq -56(%rbp), %rcx
cmpq (%rcx), %rax
je LBB0_64
## %bb.63:
movl (%r15), %esi
leaq L_.str.1(%rip), %rdi
callq _g_critical
movl $1, %r14d
LBB0_64:
xorl %eax, %eax
negl %r14d
sbbl %eax, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
.long L0_0_set_2
.long L0_0_set_8
.long L0_0_set_8
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_15
.long L0_0_set_2
.long L0_0_set_17
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_10
.long L0_0_set_12
.long L0_0_set_19
.long L0_0_set_12
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_2
.long L0_0_set_10
.long L0_0_set_21
.set L0_1_set_42, LBB0_42-LJTI0_1
.set L0_1_set_55, LBB0_55-LJTI0_1
.set L0_1_set_56, LBB0_56-LJTI0_1
.set L0_1_set_57, LBB0_57-LJTI0_1
LJTI0_1:
.long L0_1_set_42
.long L0_1_set_55
.long L0_1_set_56
.long L0_1_set_57
.end_data_region
## -- End function
.comm _NOT_NULL_FLAG,4,2 ## @NOT_NULL_FLAG
.comm _MYSQL_TYPE_TINY_BLOB,4,2 ## @MYSQL_TYPE_TINY_BLOB
.comm _MYSQL_TYPE_MEDIUM_BLOB,4,2 ## @MYSQL_TYPE_MEDIUM_BLOB
.comm _MYSQL_TYPE_LONG_BLOB,4,2 ## @MYSQL_TYPE_LONG_BLOB
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%s: field-type %d isn't handled"
.comm _G_STRLOC,4,2 ## @G_STRLOC
L_.str.1: ## @.str.1
.asciz "%s: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_binlog_event_tablemap_get ; -- Begin function network_mysqld_binlog_event_tablemap_get
.p2align 2
_network_mysqld_binlog_event_tablemap_get: ; @network_mysqld_binlog_event_tablemap_get
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x1
mov x19, x0
ldr w0, [x1, #12]
ldr w1, [x19, #48]
bl _g_string_assign
ldr w0, [x20, #8]
ldr w1, [x19, #44]
bl _g_string_assign
ldr w8, [x19, #40]
str w8, [x20, #4]
ldr x9, [x19, #24]
ldr x8, [x19]
stp x8, x9, [sp, #16]
add x9, sp, #16
stp xzr, x9, [sp, #32]
ldr w2, [x19, #8]
Lloh0:
adrp x24, _G_STRLOC@GOTPAGE
Lloh1:
ldr x24, [x24, _G_STRLOC@GOTPAGEOFF]
cmp w2, #1
b.lt LBB0_45
; %bb.1:
mov x25, #0
mov w28, #0
Lloh2:
adrp x26, _NOT_NULL_FLAG@GOTPAGE
Lloh3:
ldr x26, [x26, _NOT_NULL_FLAG@GOTPAGEOFF]
Lloh4:
adrp x27, lJTI0_0@PAGE
Lloh5:
add x27, x27, lJTI0_0@PAGEOFF
mov w21, #148
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
cbz w28, LBB0_35
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
mov w28, #1
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x20]
mov x1, x22
bl _g_ptr_array_add
add x25, x25, #1
ldrsw x2, [x19, #8]
cmp x25, x2
b.ge LBB0_44
LBB0_5: ; =>This Inner Loop Header: Depth=1
bl _network_mysqld_proto_fielddef_new
mov x22, x0
and w8, w25, #0x7
ldr x9, [x19, #16]
ubfx x10, x25, #3, #29
ldr w9, [x9, x10, lsl #2]
ldr w10, [x26]
lsr w8, w9, w8
tst w8, #0x1
csel w8, w10, wzr, eq
ldr w9, [x0, #12]
orr w8, w8, w9
str w8, [x0, #12]
ldr x8, [x19, #32]
ldr x23, [x8, x25, lsl #3]
sub w8, w23, #128
cmp w8, #20
b.hi LBB0_17
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
adr x9, LBB0_2
ldrb w10, [x27, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
str w23, [x22, #4]
b LBB0_4
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
cbnz w28, LBB0_3
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #12
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #12]
stp w8, w23, [x22]
cmp w23, #140
b.eq LBB0_37
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
cmp w23, #147
b.ne LBB0_38
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
sub w8, w8, #1
cmp w8, #3
b.hi LBB0_3
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
Lloh6:
adrp x11, lJTI0_1@PAGE
Lloh7:
add x11, x11, lJTI0_1@PAGEOFF
adr x9, LBB0_14
ldrb w10, [x11, x8]
add x9, x9, x10, lsl #2
br x9
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
Lloh8:
adrp x8, _MYSQL_TYPE_TINY_BLOB@GOTPAGE
Lloh9:
ldr x8, [x8, _MYSQL_TYPE_TINY_BLOB@GOTPAGEOFF]
b LBB0_43
LBB0_15: ; in Loop: Header=BB0_5 Depth=1
cbnz w28, LBB0_3
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #12
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
b LBB0_36
LBB0_17: ; in Loop: Header=BB0_5 Depth=1
ldr w1, [x24]
Lloh10:
adrp x0, l_.str@PAGE
Lloh11:
add x0, x0, l_.str@PAGEOFF
mov x2, x23
bl _g_error
b LBB0_4
LBB0_18: ; in Loop: Header=BB0_5 Depth=1
cbnz w28, LBB0_3
; %bb.19: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #12
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.20: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #8
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.21: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #12]
and w8, w8, #0x30
cmp w8, #48
b.ne LBB0_39
; %bb.22: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
ldr w8, [sp, #8]
str w8, [x22]
ldr w8, [sp, #12]
str w8, [x22, #4]
b LBB0_4
LBB0_23: ; in Loop: Header=BB0_5 Depth=1
mov w8, #136
str w8, [x22, #4]
cbnz w28, LBB0_3
; %bb.24: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #12
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.25: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #8
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.26: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
ldr w8, [sp, #12]
str w8, [x22]
ldr w8, [sp, #8]
str w8, [x22, #8]
b LBB0_4
LBB0_27: ; in Loop: Header=BB0_5 Depth=1
cbnz w28, LBB0_3
; %bb.28: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #12
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.29: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #8
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.30: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
ldp w9, w8, [sp, #8]
stp w9, w8, [x22]
b LBB0_4
LBB0_31: ; in Loop: Header=BB0_5 Depth=1
str w21, [x22, #4]
cbnz w28, LBB0_3
; %bb.32: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #12
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.33: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #8
bl _network_mysqld_proto_get_int8
cbnz w0, LBB0_3
; %bb.34: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
ldp w8, w9, [sp, #8]
cmp w9, #0
cinc w8, w8, ne
str w8, [x22]
b LBB0_4
LBB0_35: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #32
add x1, sp, #12
bl _network_mysqld_proto_get_int16
cbnz w0, LBB0_3
LBB0_36: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
ldr w8, [sp, #12]
stp w8, w23, [x22]
b LBB0_4
LBB0_37: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #4
cset w28, ne
b LBB0_4
LBB0_38: ; in Loop: Header=BB0_5 Depth=1
bl _g_assert_not_reached
mov w28, #0
b LBB0_4
LBB0_39: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
lsl w8, w8, #4
eor w8, w8, #0x300
ldr w9, [x22]
orr w8, w9, w8
str w8, [x22]
ldr w8, [sp, #12]
orr w8, w8, #0x30
str w8, [x22, #4]
b LBB0_4
LBB0_40: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
mov w8, #147
str w8, [x22, #4]
b LBB0_4
LBB0_41: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
Lloh12:
adrp x8, _MYSQL_TYPE_MEDIUM_BLOB@GOTPAGE
Lloh13:
ldr x8, [x8, _MYSQL_TYPE_MEDIUM_BLOB@GOTPAGEOFF]
b LBB0_43
LBB0_42: ; in Loop: Header=BB0_5 Depth=1
mov w28, #0
Lloh14:
adrp x8, _MYSQL_TYPE_LONG_BLOB@GOTPAGE
Lloh15:
ldr x8, [x8, _MYSQL_TYPE_LONG_BLOB@GOTPAGEOFF]
LBB0_43: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x8]
str w8, [x22, #4]
b LBB0_4
LBB0_44:
ldp x9, x8, [sp, #32]
ldr x8, [x8]
cmp x9, x8
b.ne LBB0_46
b LBB0_48
LBB0_45:
mov x9, #0
mov w28, #0
cmp x9, x8
b.eq LBB0_48
LBB0_46:
ldr w0, [x24]
ldr x1, [x19, #32]
; kill: def $w2 killed $w2 killed $x2
bl _g_debug_hexdump
ldr w0, [x24]
ldr x1, [x19, #24]
ldr w2, [x19]
bl _g_debug_hexdump
ldp x8, x9, [sp, #32]
ldr x9, [x9]
cmp x8, x9
b.eq LBB0_48
; %bb.47:
ldr w1, [x24]
Lloh16:
adrp x0, l_.str.1@PAGE
Lloh17:
add x0, x0, l_.str.1@PAGEOFF
bl _g_critical
mov w28, #1
LBB0_48:
cmp w28, #0
csetm w0, ne
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
ldp x20, x19, [sp, #112] ; 16-byte Folded Reload
ldp x22, x21, [sp, #96] ; 16-byte Folded Reload
ldp x24, x23, [sp, #80] ; 16-byte Folded Reload
ldp x26, x25, [sp, #64] ; 16-byte Folded Reload
ldp x28, x27, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #144
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.cfi_endproc
.section __TEXT,__const
lJTI0_0:
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_2-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_18-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_23-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_15-LBB0_2)>>2
.byte (LBB0_27-LBB0_2)>>2
.byte (LBB0_15-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_7-LBB0_2)>>2
.byte (LBB0_8-LBB0_2)>>2
.byte (LBB0_31-LBB0_2)>>2
lJTI0_1:
.byte (LBB0_14-LBB0_14)>>2
.byte (LBB0_40-LBB0_14)>>2
.byte (LBB0_41-LBB0_14)>>2
.byte (LBB0_42-LBB0_14)>>2
; -- End function
.comm _NOT_NULL_FLAG,4,2 ; @NOT_NULL_FLAG
.comm _MYSQL_TYPE_TINY_BLOB,4,2 ; @MYSQL_TYPE_TINY_BLOB
.comm _MYSQL_TYPE_MEDIUM_BLOB,4,2 ; @MYSQL_TYPE_MEDIUM_BLOB
.comm _MYSQL_TYPE_LONG_BLOB,4,2 ; @MYSQL_TYPE_LONG_BLOB
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%s: field-type %d isn't handled"
.comm _G_STRLOC,4,2 ; @G_STRLOC
l_.str.1: ; @.str.1
.asciz "%s: "
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_binlog_event_tablemap_get.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_binlog_free ## -- Begin function network_mysqld_binlog_free
.p2align 4, 0x90
_network_mysqld_binlog_free: ## @network_mysqld_binlog_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _g_hash_table_destroy
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
LBB0_1:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_binlog_free ; -- Begin function network_mysqld_binlog_free
.p2align 2
_network_mysqld_binlog_free: ; @network_mysqld_binlog_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _g_hash_table_destroy
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_binlog_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_append_binlog_dump ## -- Begin function network_mysqld_proto_append_binlog_dump
.p2align 4, 0x90
_network_mysqld_proto_append_binlog_dump: ## @network_mysqld_proto_append_binlog_dump
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rsi, %r14
movq %rdi, %rbx
movq _COM_BINLOG_DUMP@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _network_mysqld_proto_append_int8
movl 12(%r14), %esi
movq %rbx, %rdi
callq _network_mysqld_proto_append_int32
movl 8(%r14), %esi
movq %rbx, %rdi
callq _network_mysqld_proto_append_int16
movl 4(%r14), %esi
movq %rbx, %rdi
callq _network_mysqld_proto_append_int32
movl (%r14), %esi
movq %rbx, %rdi
callq _g_string_append
movq %rbx, %rdi
xorl %esi, %esi
callq _network_mysqld_proto_append_int8
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _COM_BINLOG_DUMP,4,2 ## @COM_BINLOG_DUMP
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_append_binlog_dump ; -- Begin function network_mysqld_proto_append_binlog_dump
.p2align 2
_network_mysqld_proto_append_binlog_dump: ; @network_mysqld_proto_append_binlog_dump
.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
Lloh0:
adrp x8, _COM_BINLOG_DUMP@GOTPAGE
Lloh1:
ldr x8, [x8, _COM_BINLOG_DUMP@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
bl _network_mysqld_proto_append_int8
ldr w1, [x19, #12]
mov x0, x20
bl _network_mysqld_proto_append_int32
ldr w1, [x19, #8]
mov x0, x20
bl _network_mysqld_proto_append_int16
ldr w1, [x19, #4]
mov x0, x20
bl _network_mysqld_proto_append_int32
ldr w1, [x19]
mov x0, x20
bl _g_string_append
mov x0, x20
mov w1, #0
bl _network_mysqld_proto_append_int8
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _COM_BINLOG_DUMP,4,2 ; @COM_BINLOG_DUMP
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_proto_append_binlog_dump.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_get_binlog_event_header ## -- Begin function network_mysqld_proto_get_binlog_event_header
.p2align 4, 0x90
_network_mysqld_proto_get_binlog_event_header: ## @network_mysqld_proto_get_binlog_event_header
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r15
movq %rdi, %rbx
addq $20, %rsi
callq _network_mysqld_proto_get_int32
movl $-1, %r14d
testq %rax, %rax
jne LBB0_7
## %bb.1:
leaq -28(%rbp), %rsi
movq %rbx, %rdi
callq _network_mysqld_proto_get_int8
testq %rax, %rax
jne LBB0_7
## %bb.2:
leaq 16(%r15), %rsi
movq %rbx, %rdi
callq _network_mysqld_proto_get_int32
testq %rax, %rax
jne LBB0_7
## %bb.3:
leaq 12(%r15), %rsi
movq %rbx, %rdi
callq _network_mysqld_proto_get_int32
testq %rax, %rax
jne LBB0_7
## %bb.4:
leaq 8(%r15), %rsi
movq %rbx, %rdi
callq _network_mysqld_proto_get_int32
testq %rax, %rax
jne LBB0_7
## %bb.5:
leaq 4(%r15), %rsi
movq %rbx, %rdi
callq _network_mysqld_proto_get_int16
testq %rax, %rax
jne LBB0_7
## %bb.6:
movl -28(%rbp), %eax
movl %eax, (%r15)
xorl %r14d, %r14d
LBB0_7:
movl %r14d, %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 _network_mysqld_proto_get_binlog_event_header ; -- Begin function network_mysqld_proto_get_binlog_event_header
.p2align 2
_network_mysqld_proto_get_binlog_event_header: ; @network_mysqld_proto_get_binlog_event_header
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x1
mov x20, x0
add x1, x1, #20
bl _network_mysqld_proto_get_int32
cbnz x0, LBB0_6
; %bb.1:
add x1, sp, #12
mov x0, x20
bl _network_mysqld_proto_get_int8
cbnz x0, LBB0_6
; %bb.2:
add x1, x19, #16
mov x0, x20
bl _network_mysqld_proto_get_int32
cbnz x0, LBB0_6
; %bb.3:
add x1, x19, #12
mov x0, x20
bl _network_mysqld_proto_get_int32
cbnz x0, LBB0_6
; %bb.4:
add x1, x19, #8
mov x0, x20
bl _network_mysqld_proto_get_int32
cbnz x0, LBB0_6
; %bb.5:
add x1, x19, #4
mov x0, x20
bl _network_mysqld_proto_get_int16
cbz x0, LBB0_8
LBB0_6:
mov w0, #-1
LBB0_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
LBB0_8:
ldr w8, [sp, #12]
str w8, [x19]
b LBB0_7
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_proto_get_binlog_event_header.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_get_binlog_status ## -- Begin function network_mysqld_proto_get_binlog_status
.p2align 4, 0x90
_network_mysqld_proto_get_binlog_status: ## @network_mysqld_proto_get_binlog_status
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq -8(%rbp), %rsi
callq _network_mysqld_proto_get_int8
movq %rax, %rcx
movl $-1, %eax
testq %rcx, %rcx
jne LBB0_2
## %bb.1:
xorl %edi, %edi
cmpq $0, -8(%rbp)
sete %dil
movl $-1, %esi
callq _g_return_val_if_fail
xorl %eax, %eax
LBB0_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_proto_get_binlog_status ; -- Begin function network_mysqld_proto_get_binlog_status
.p2align 2
_network_mysqld_proto_get_binlog_status: ; @network_mysqld_proto_get_binlog_status
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
add x1, sp, #8
bl _network_mysqld_proto_get_int8
cbz x0, LBB0_2
; %bb.1:
mov w0, #-1
b LBB0_3
LBB0_2:
ldr x8, [sp, #8]
cmp x8, #0
cset w0, eq
mov w1, #-1
bl _g_return_val_if_fail
mov w0, #0
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_proto_get_binlog_status.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_table_free ## -- Begin function network_mysqld_table_free
.p2align 4, 0x90
_network_mysqld_table_free: ## @network_mysqld_table_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
movl 8(%rdi), %edi
movq _TRUE@GOTPCREL(%rip), %r14
movl (%r14), %esi
callq _g_string_free
movl 4(%rbx), %edi
movl (%r14), %esi
callq _g_string_free
movl (%rbx), %edi
callq _network_mysqld_proto_fielddefs_free
movq %rbx, %rdi
popq %rbx
popq %r14
popq %rbp
jmp _g_free ## TAILCALL
LBB0_1:
retq
.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 _network_mysqld_table_free ; -- Begin function network_mysqld_table_free
.p2align 2
_network_mysqld_table_free: ; @network_mysqld_table_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0, #8]
Lloh0:
adrp x20, _TRUE@GOTPAGE
Lloh1:
ldr x20, [x20, _TRUE@GOTPAGEOFF]
ldr w1, [x20]
bl _g_string_free
ldr w0, [x19, #4]
ldr w1, [x20]
bl _g_string_free
ldr w0, [x19]
bl _network_mysqld_proto_fielddefs_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TRUE,4,2 ; @TRUE
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-binlog.c_network_mysqld_table_free.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_con_getmetatable ## -- Begin function network_mysqld_con_getmetatable
.p2align 4, 0x90
_network_mysqld_con_getmetatable: ## @network_mysqld_con_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 _network_mysqld_con_getmetatable.methods(%rip), %rsi
popq %rbp
jmp _proxy_getmetatable ## TAILCALL
.cfi_endproc
## -- End function
.section __DATA,__const
.p2align 4 ## @network_mysqld_con_getmetatable.methods
_network_mysqld_con_getmetatable.methods:
.quad L_.str
.quad 129
.quad L_.str.1
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "__index"
L_.str.1: ## @.str.1
.asciz "__newindex"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_con_getmetatable ; -- Begin function network_mysqld_con_getmetatable
.p2align 2
_network_mysqld_con_getmetatable: ; @network_mysqld_con_getmetatable
.cfi_startproc
; %bb.0:
Lloh0:
adrp x1, _network_mysqld_con_getmetatable.methods@PAGE
Lloh1:
add x1, x1, _network_mysqld_con_getmetatable.methods@PAGEOFF
b _proxy_getmetatable
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __DATA,__const
.p2align 3 ; @network_mysqld_con_getmetatable.methods
_network_mysqld_con_getmetatable.methods:
.quad l_.str
.quad 129
.quad l_.str.1
.quad 128
.space 16
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "__index"
l_.str.1: ; @.str.1
.asciz "__newindex"
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-lua.c_network_mysqld_con_getmetatable.c | anghabench |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_con_lua_free ## -- Begin function network_mysqld_con_lua_free
.p2align 4, 0x90
_network_mysqld_con_lua_free: ## @network_mysqld_con_lua_free
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.2:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %rbx
pushq %rax
.cfi_offset %rbx, -24
movq %rdi, %rbx
movl (%rdi), %edi
callq _network_injection_queue_free
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _g_free ## TAILCALL
LBB0_1:
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _network_mysqld_con_lua_free ; -- Begin function network_mysqld_con_lua_free
.p2align 2
_network_mysqld_con_lua_free: ; @network_mysqld_con_lua_free
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
ldr w0, [x0]
bl _network_injection_queue_free
mov x0, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _g_free
LBB0_2:
.cfi_def_cfa wsp, 0
.cfi_same_value w30
.cfi_same_value w29
.cfi_same_value w19
.cfi_same_value w20
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| AnghaBench/Atlas/src/extr_network-mysqld-lua.c_network_mysqld_con_lua_free.c | anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.