	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plugin_debug_con_handle_stmt   ## -- Begin function plugin_debug_con_handle_stmt
	.p2align	4, 0x90
_plugin_debug_con_handle_stmt:          ## @plugin_debug_con_handle_stmt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	(%rdx), %rax
	movq	_NET_HEADER_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edx
	cmpl	$129, %edx
	je	LBB0_22
## %bb.1:
	movq	%rsi, %r15
	cmpl	$131, %edx
	je	LBB0_8
## %bb.2:
	cmpl	$130, %edx
	jne	LBB0_9
## %bb.3:
	movq	%rdi, %r14
	leaq	(%rax,%rcx,4), %rbx
	addl	$4, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_C
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_g_ascii_strncasecmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movl	(%r12), %eax
	movl	(%r13), %ecx
	leal	(%rax,%rcx,4), %ebx
	addl	$4, %ebx
	leaq	L_.str.3(%rip), %rdi
	callq	_C
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_g_ascii_strncasecmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movq	(%r14), %rax
	movq	(%rax), %r14
	movl	(%r12), %eax
	movl	(%r13), %ecx
	leal	(%rax,%rcx,4), %esi
	addl	$4, %esi
	movq	%r14, %rdi
	callq	_luaL_loadstring
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_lua_pcall
	testl	%eax, %eax
	je	LBB0_23
LBB0_7:
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_lua_tolstring
	movl	(%r15), %edi
	movq	-48(%rbp), %rdx
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_network_mysqld_con_send_error
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_lua_pop
	jmp	LBB0_14
LBB0_8:
	movl	(%r15), %edi
	callq	_network_mysqld_con_send_ok
	jmp	LBB0_22
LBB0_9:
	movl	(%r15), %ebx
	leaq	L_.str.10(%rip), %rdi
	callq	_C
	movslq	%eax, %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_network_mysqld_con_send_error
	jmp	LBB0_22
LBB0_10:
	xorl	%eax, %eax
	callq	_network_mysqld_proto_fielddefs_new
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_network_mysqld_proto_fielddef_new
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_g_strdup
	movq	%rax, 24(%rbx)
	movq	_FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_g_ptr_array_add
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
	callq	_network_mysqld_proto_fielddefs_new
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_network_mysqld_proto_fielddef_new
	movq	%rax, %rbx
	leaq	L_.str.4(%rip), %rdi
	callq	_g_strdup
	movq	%rax, 24(%rbx)
	movq	_FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_g_ptr_array_add
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %rbx
	leaq	L_.str.5(%rip), %rdi
LBB0_12:
	callq	_g_strdup
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_g_ptr_array_add
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_g_ptr_array_add
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_network_mysqld_con_send_resultset
	testq	%r13, %r13
	je	LBB0_14
LBB0_13:
	movq	%r13, %rdi
	callq	_network_mysqld_proto_fielddefs_free
LBB0_14:
	testq	%r12, %r12
	je	LBB0_22
## %bb.15:
	cmpq	$0, (%r12)
	je	LBB0_21
## %bb.16:
	xorl	%r14d, %r14d
	movq	_TRUE@GOTPCREL(%rip), %r15
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_g_ptr_array_free
	incq	%r14
	cmpq	(%r12), %r14
	jae	LBB0_21
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movq	8(%r12), %rax
	movq	(%rax,%r14,8), %r13
	cmpq	$0, (%r13)
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_g_free
	incq	%rbx
	cmpq	(%r13), %rbx
	jb	LBB0_20
	jmp	LBB0_17
LBB0_21:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_g_ptr_array_free
LBB0_22:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_lua_type
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_network_mysqld_proto_fielddefs_new
	movq	%rax, %r13
	cmpl	$128, %ebx
	jne	LBB0_53
## %bb.24:
	movq	%r14, %rdi
	callq	_lua_pushnil
	movq	%r14, %rdi
	movl	$-2, %esi
	callq	_lua_next
	testl	%eax, %eax
	je	LBB0_58
## %bb.25:
	movq	%r13, %rbx
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_29
LBB0_26:                                ##   in Loop: Header=BB0_29 Depth=1
	testq	%r12, %r12
	je	LBB0_48
LBB0_27:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_g_ptr_array_add
	xorl	%r13d, %r13d
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_lua_pop
	movq	%r14, %rdi
	movl	$-2, %esi
	callq	_lua_next
	testl	%eax, %eax
	je	LBB0_54
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_lua_istable
	movq	%r14, %rdi
	testl	%eax, %eax
	je	LBB0_43
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	callq	_lua_pushnil
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_34 Depth=2
	callq	_lua_isnumber
	movq	%r14, %rdi
	movl	$-1, %esi
	testl	%eax, %eax
	je	LBB0_42
## %bb.32:                              ##   in Loop: Header=BB0_34 Depth=2
	callq	_lua_tonumber
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	callq	_g_strdup_printf
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=2
	movq	%rax, %rsi
	movq	%r13, %rdi
	callq	_g_ptr_array_add
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_lua_pop
LBB0_34:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	$-2, %esi
	callq	_lua_next
	testl	%eax, %eax
	je	LBB0_26
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=2
	testq	%r12, %r12
	je	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=2
	testq	%r13, %r13
	je	LBB0_41
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=2
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_lua_isboolean
	movq	%r14, %rdi
	movl	$-1, %esi
	testl	%eax, %eax
	je	LBB0_31
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=2
	callq	_lua_toboolean
	testl	%eax, %eax
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rax
	cmoveq	%rax, %rdi
LBB0_39:                                ##   in Loop: Header=BB0_34 Depth=2
	callq	_g_strdup
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_34 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_lua_table_key_to_mysql_field
	testq	%r13, %r13
	jne	LBB0_37
LBB0_41:                                ##   in Loop: Header=BB0_34 Depth=2
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %r13
	jmp	LBB0_37
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=2
	callq	_lua_tostring
	movq	%rax, %rdi
	jmp	LBB0_39
LBB0_43:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%rbx, %rsi
	callq	_lua_table_key_to_mysql_field
	testq	%r13, %r13
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_29 Depth=1
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %r13
LBB0_45:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_lua_isboolean
	movq	%r14, %rdi
	movl	$-1, %esi
	testl	%eax, %eax
	je	LBB0_49
## %bb.46:                              ##   in Loop: Header=BB0_29 Depth=1
	callq	_lua_toboolean
	testl	%eax, %eax
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %rax
	cmoveq	%rax, %rdi
LBB0_47:                                ##   in Loop: Header=BB0_29 Depth=1
	callq	_g_strdup
	jmp	LBB0_51
LBB0_48:                                ##   in Loop: Header=BB0_29 Depth=1
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %r12
	jmp	LBB0_27
LBB0_49:                                ##   in Loop: Header=BB0_29 Depth=1
	callq	_lua_isnumber
	movq	%r14, %rdi
	movl	$-1, %esi
	testl	%eax, %eax
	je	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_29 Depth=1
	callq	_lua_tonumber
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	callq	_g_strdup_printf
LBB0_51:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_g_ptr_array_add
	jmp	LBB0_28
LBB0_52:                                ##   in Loop: Header=BB0_29 Depth=1
	callq	_lua_tostring
	movq	%rax, %rdi
	jmp	LBB0_47
LBB0_53:
	xorl	%eax, %eax
	callq	_network_mysqld_proto_fielddef_new
	movq	%rax, %rbx
	leaq	L_.str.9(%rip), %rdi
	callq	_g_strdup
	movq	%rax, 24(%rbx)
	movq	_FIELD_TYPE_VAR_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_g_ptr_array_add
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %rbx
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_lua_tostring
	movq	%rax, %rdi
	callq	_g_strdup
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_g_ptr_array_add
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_g_ptr_array_add
	jmp	LBB0_60
LBB0_54:
	testq	%r13, %r13
	je	LBB0_59
## %bb.55:
	testq	%r12, %r12
	jne	LBB0_57
## %bb.56:
	xorl	%eax, %eax
	callq	_g_ptr_array_new
	movq	%rax, %r12
LBB0_57:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_g_ptr_array_add
LBB0_59:
	movq	%rbx, %r13
	jmp	LBB0_60
LBB0_58:
	xorl	%r12d, %r12d
LBB0_60:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_lua_pop
	movl	(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_network_mysqld_con_send_resultset
	testq	%r13, %r13
	jne	LBB0_13
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_HEADER_SIZE,8,3            ## @NET_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"select @@version_comment limit 1"

L_.str.1:                               ## @.str.1
	.asciz	"@@version_comment"

	.comm	_FIELD_TYPE_VAR_STRING,8,3      ## @FIELD_TYPE_VAR_STRING
L_.str.2:                               ## @.str.2
	.asciz	"MySQL Enterprise Agent"

L_.str.3:                               ## @.str.3
	.asciz	"select USER()"

L_.str.4:                               ## @.str.4
	.asciz	"USER()"

L_.str.5:                               ## @.str.5
	.asciz	"root"

L_.str.6:                               ## @.str.6
	.asciz	"TRUE"

L_.str.7:                               ## @.str.7
	.asciz	"FALSE"

L_.str.8:                               ## @.str.8
	.asciz	"%.0f"

L_.str.9:                               ## @.str.9
	.asciz	"lua"

	.comm	_TRUE,4,2                       ## @TRUE
L_.str.10:                              ## @.str.10
	.asciz	"unknown COM_*"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plugin_debug_con_handle_stmt   ; -- Begin function plugin_debug_con_handle_stmt
	.p2align	2
_plugin_debug_con_handle_stmt:          ; @plugin_debug_con_handle_stmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x2]
Lloh0:
	adrp	x23, _NET_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NET_HEADER_SIZE@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x8, x8, x9, lsl #2
	ldr	w9, [x8]
	cmp	w9, #129
	b.eq	LBB0_23
; %bb.1:
	mov	x19, x1
	cmp	w9, #131
	b.eq	LBB0_9
; %bb.2:
	cmp	w9, #130
	b.ne	LBB0_10
; %bb.3:
	mov	x20, x2
	mov	x21, x0
	add	w22, w8, #4
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_C
	mov	x1, x0
	mov	x0, x22
	bl	_g_ascii_strncasecmp
	cbz	w0, LBB0_11
; %bb.4:
	ldr	w8, [x20]
	ldr	w9, [x23]
	add	w8, w8, w9, lsl #2
	add	w22, w8, #4
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_C
	mov	x1, x0
	mov	x0, x22
	bl	_g_ascii_strncasecmp
	cbz	w0, LBB0_12
; %bb.5:
	ldr	x8, [x21]
	ldr	x22, [x8]
	ldr	w8, [x20]
	ldr	w9, [x23]
	add	w8, w8, w9, lsl #2
	add	w1, w8, #4
	mov	x0, x22
	bl	_luaL_loadstring
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x22
	mov	w1, #0
	mov	w2, #1
	mov	w3, #0
	bl	_lua_pcall
	cbz	w0, LBB0_24
LBB0_7:
	mov	x21, #0
LBB0_8:
	str	xzr, [sp, #8]
	add	x2, sp, #8
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_tolstring
	mov	x1, x0
	ldr	w0, [x19]
	ldr	x8, [sp, #8]
	str	x8, [sp]
	bl	_network_mysqld_con_send_error
	mov	x0, x22
	mov	w1, #1
	bl	_lua_pop
	cbnz	x21, LBB0_16
	b	LBB0_23
LBB0_9:
	ldr	w0, [x19]
	bl	_network_mysqld_con_send_ok
	b	LBB0_23
LBB0_10:
	ldr	w19, [x19]
Lloh6:
	adrp	x0, l_.str.10@PAGE
Lloh7:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_C
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x19
	bl	_network_mysqld_con_send_error
	b	LBB0_23
LBB0_11:
	bl	_network_mysqld_proto_fielddefs_new
	mov	x20, x0
	bl	_network_mysqld_proto_fielddef_new
	mov	x21, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_g_strdup
Lloh10:
	adrp	x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	stp	x8, x0, [x21, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_g_ptr_array_add
	bl	_g_ptr_array_new
	mov	x21, x0
	bl	_g_ptr_array_new
	mov	x22, x0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_12:
	bl	_network_mysqld_proto_fielddefs_new
	mov	x20, x0
	bl	_network_mysqld_proto_fielddef_new
	mov	x21, x0
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_g_strdup
Lloh17:
	adrp	x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	stp	x8, x0, [x21, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_g_ptr_array_add
	bl	_g_ptr_array_new
	mov	x21, x0
	bl	_g_ptr_array_new
	mov	x22, x0
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_13:
	bl	_g_strdup
	mov	x1, x0
	mov	x0, x22
	bl	_g_ptr_array_add
	mov	x0, x21
	mov	x1, x22
	bl	_g_ptr_array_add
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_network_mysqld_con_send_resultset
	cbz	x20, LBB0_15
LBB0_14:
	mov	x0, x20
	bl	_network_mysqld_proto_fielddefs_free
LBB0_15:
	cbz	x21, LBB0_23
LBB0_16:
	ldr	x8, [x21]
Lloh22:
	adrp	x20, _TRUE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _TRUE@GOTPAGEOFF]
	cbz	x8, LBB0_22
; %bb.17:
	mov	x22, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w1, [x20]
	mov	x0, x19
	bl	_g_ptr_array_free
	add	x22, x22, #1
	ldr	x8, [x21]
	cmp	x22, x8
	b.hs	LBB0_22
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	ldr	x8, [x21, #8]
	ldr	x19, [x8, x22, lsl #3]
	ldr	x8, [x19]
	cbz	x8, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x23, #0
LBB0_21:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x23, lsl #3]
	bl	_g_free
	add	x23, x23, #1
	ldr	x8, [x19]
	cmp	x23, x8
	b.lo	LBB0_21
	b	LBB0_18
LBB0_22:
	ldr	w1, [x20]
	mov	x0, x21
	bl	_g_ptr_array_free
LBB0_23:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_24:
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_type
	mov	x21, x0
	bl	_network_mysqld_proto_fielddefs_new
	mov	x20, x0
	cmp	w21, #128
	b.ne	LBB0_54
; %bb.25:
	mov	x0, x22
	bl	_lua_pushnil
	mov	x0, x22
	mov	w1, #-2
	bl	_lua_next
	mov	x21, #0
	cbz	w0, LBB0_59
; %bb.26:
	mov	x23, #0
Lloh24:
	adrp	x24, l_.str.8@PAGE
Lloh25:
	add	x24, x24, l_.str.8@PAGEOFF
Lloh26:
	adrp	x25, l_.str.6@PAGE
Lloh27:
	add	x25, x25, l_.str.6@PAGEOFF
Lloh28:
	adrp	x26, l_.str.7@PAGE
Lloh29:
	add	x26, x26, l_.str.7@PAGEOFF
	b	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_30 Depth=1
	cbz	x21, LBB0_49
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_g_ptr_array_add
	mov	x23, #0
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	mov	w1, #1
	bl	_lua_pop
	mov	x0, x22
	mov	w1, #-2
	bl	_lua_next
	cbz	w0, LBB0_55
LBB0_30:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_35 Depth 2
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_istable
	cbz	w0, LBB0_44
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	bl	_lua_pushnil
	b	LBB0_35
LBB0_32:                                ;   in Loop: Header=BB0_35 Depth=2
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_isnumber
	cbz	w0, LBB0_43
; %bb.33:                               ;   in Loop: Header=BB0_35 Depth=2
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_tonumber
	mov	x1, x0
	mov	x0, x24
	bl	_g_strdup_printf
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=2
	mov	x1, x0
	mov	x0, x23
	bl	_g_ptr_array_add
	mov	x0, x22
	mov	w1, #1
	bl	_lua_pop
LBB0_35:                                ;   Parent Loop BB0_30 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	w1, #-2
	bl	_lua_next
	cbz	w0, LBB0_27
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=2
	cbz	x21, LBB0_41
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=2
	cbz	x23, LBB0_42
LBB0_38:                                ;   in Loop: Header=BB0_35 Depth=2
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_isboolean
	cbz	w0, LBB0_32
; %bb.39:                               ;   in Loop: Header=BB0_35 Depth=2
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_toboolean
	cmp	w0, #0
	csel	x0, x26, x25, eq
LBB0_40:                                ;   in Loop: Header=BB0_35 Depth=2
	bl	_g_strdup
	b	LBB0_34
LBB0_41:                                ;   in Loop: Header=BB0_35 Depth=2
	mov	x0, x22
	mov	x1, x20
	bl	_lua_table_key_to_mysql_field
	cbnz	x23, LBB0_38
LBB0_42:                                ;   in Loop: Header=BB0_35 Depth=2
	bl	_g_ptr_array_new
	mov	x23, x0
	b	LBB0_38
LBB0_43:                                ;   in Loop: Header=BB0_35 Depth=2
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_tostring
	b	LBB0_40
LBB0_44:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_lua_table_key_to_mysql_field
	cbnz	x23, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_30 Depth=1
	bl	_g_ptr_array_new
	mov	x23, x0
LBB0_46:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_isboolean
	cbz	w0, LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_toboolean
	cmp	w0, #0
	csel	x0, x26, x25, eq
LBB0_48:                                ;   in Loop: Header=BB0_30 Depth=1
	bl	_g_strdup
	b	LBB0_52
LBB0_49:                                ;   in Loop: Header=BB0_30 Depth=1
	bl	_g_ptr_array_new
	mov	x21, x0
	b	LBB0_28
LBB0_50:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_isnumber
	cbz	w0, LBB0_53
; %bb.51:                               ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_tonumber
	mov	x1, x0
	mov	x0, x24
	bl	_g_strdup_printf
LBB0_52:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x1, x0
	mov	x0, x23
	bl	_g_ptr_array_add
	b	LBB0_29
LBB0_53:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_tostring
	b	LBB0_48
LBB0_54:
	bl	_network_mysqld_proto_fielddef_new
	mov	x21, x0
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_g_strdup
Lloh32:
	adrp	x8, _FIELD_TYPE_VAR_STRING@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FIELD_TYPE_VAR_STRING@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	stp	x8, x0, [x21, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_g_ptr_array_add
	bl	_g_ptr_array_new
	mov	x21, x0
	bl	_g_ptr_array_new
	mov	x23, x0
	mov	x0, x22
	mov	w1, #-1
	bl	_lua_tostring
	bl	_g_strdup
	mov	x1, x0
	mov	x0, x23
	bl	_g_ptr_array_add
	b	LBB0_58
LBB0_55:
	cbz	x23, LBB0_59
; %bb.56:
	cbnz	x21, LBB0_58
; %bb.57:
	bl	_g_ptr_array_new
	mov	x21, x0
LBB0_58:
	mov	x0, x21
	mov	x1, x23
	bl	_g_ptr_array_add
LBB0_59:
	mov	x0, x22
	mov	w1, #1
	bl	_lua_pop
	ldr	w0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_network_mysqld_con_send_resultset
	cbnz	x20, LBB0_14
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_HEADER_SIZE,8,3            ; @NET_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"select @@version_comment limit 1"

l_.str.1:                               ; @.str.1
	.asciz	"@@version_comment"

	.comm	_FIELD_TYPE_VAR_STRING,8,3      ; @FIELD_TYPE_VAR_STRING
l_.str.2:                               ; @.str.2
	.asciz	"MySQL Enterprise Agent"

l_.str.3:                               ; @.str.3
	.asciz	"select USER()"

l_.str.4:                               ; @.str.4
	.asciz	"USER()"

l_.str.5:                               ; @.str.5
	.asciz	"root"

l_.str.6:                               ; @.str.6
	.asciz	"TRUE"

l_.str.7:                               ; @.str.7
	.asciz	"FALSE"

l_.str.8:                               ; @.str.8
	.asciz	"%.0f"

l_.str.9:                               ; @.str.9
	.asciz	"lua"

	.comm	_TRUE,4,2                       ; @TRUE
l_.str.10:                              ; @.str.10
	.asciz	"unknown COM_*"

.subsections_via_symbols
