	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_proto_get_stmt_prepare_ok_packet
_lua_proto_get_stmt_prepare_ok_packet:  ## @lua_proto_get_stmt_prepare_ok_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-32(%rbp), %rdx
	movl	$1, %esi
	callq	_luaL_checklstring
	movq	%rax, -48(%rbp)
	movq	-32(%rbp), %rax
	movq	%rax, -40(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -64(%rbp)
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_network_mysqld_stmt_prepare_ok_packet_new
	movq	%rax, %rbx
	leaq	-64(%rbp), %rdi
	movq	%rax, %rsi
	callq	_network_mysqld_proto_get_stmt_prepare_ok_packet
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_network_mysqld_stmt_prepare_ok_packet_free
	movq	_G_STRLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_luaL_error
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_lua_newtable
	movq	_stmt_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_EXPORT_INT
	movq	_num_columns@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_EXPORT_INT
	movq	_num_params@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_EXPORT_INT
	movq	_warnings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_EXPORT_INT
	movq	%rbx, %rdi
	callq	_network_mysqld_stmt_prepare_ok_packet_free
	movl	$1, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: network_mysqld_proto_get_stmt_prepare_ok_packet() failed"

	.comm	_G_STRLOC,4,2                   ## @G_STRLOC
	.comm	_stmt_id,4,2                    ## @stmt_id
	.comm	_num_columns,4,2                ## @num_columns
	.comm	_num_params,4,2                 ## @num_params
	.comm	_warnings,4,2                   ## @warnings
	.no_dead_strip	_lua_proto_get_stmt_prepare_ok_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_proto_get_stmt_prepare_ok_packet
_lua_proto_get_stmt_prepare_ok_packet:  ; @lua_proto_get_stmt_prepare_ok_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	sub	x2, x29, #24
	mov	w1, #1
	bl	_luaL_checklstring
	ldur	x8, [x29, #-24]
	stp	x0, x8, [sp, #8]
	add	x8, sp, #8
	stp	xzr, x8, [sp, #24]
	bl	_network_mysqld_stmt_prepare_ok_packet_new
	mov	x19, x0
	add	x0, sp, #24
	mov	x1, x19
	bl	_network_mysqld_proto_get_stmt_prepare_ok_packet
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_network_mysqld_stmt_prepare_ok_packet_free
Lloh0:
	adrp	x8, _G_STRLOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_luaL_error
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_lua_newtable
Lloh5:
	adrp	x8, _stmt_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stmt_id@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LUA_EXPORT_INT
Lloh8:
	adrp	x8, _num_columns@GOTPAGE
Lloh9:
	ldr	x8, [x8, _num_columns@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LUA_EXPORT_INT
Lloh11:
	adrp	x8, _num_params@GOTPAGE
Lloh12:
	ldr	x8, [x8, _num_params@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LUA_EXPORT_INT
Lloh14:
	adrp	x8, _warnings@GOTPAGE
Lloh15:
	ldr	x8, [x8, _warnings@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LUA_EXPORT_INT
	mov	x0, x19
	bl	_network_mysqld_stmt_prepare_ok_packet_free
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: network_mysqld_proto_get_stmt_prepare_ok_packet() failed"

	.comm	_G_STRLOC,4,2                   ; @G_STRLOC
	.comm	_stmt_id,4,2                    ; @stmt_id
	.comm	_num_columns,4,2                ; @num_columns
	.comm	_num_params,4,2                 ; @num_params
	.comm	_warnings,4,2                   ; @warnings
	.no_dead_strip	_lua_proto_get_stmt_prepare_ok_packet
.subsections_via_symbols
