	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_proto_append_ok_packet
_lua_proto_append_ok_packet:            ## @lua_proto_append_ok_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_LUA_TTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_luaL_checktype
	xorl	%eax, %eax
	callq	_network_mysqld_ok_packet_new
	movq	%rax, %rbx
	movq	_server_status@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_IMPORT_INT
	movq	_insert_id@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_IMPORT_INT
	movq	_warnings@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_IMPORT_INT
	movq	_affected_rows@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LUA_IMPORT_INT
	xorl	%edi, %edi
	callq	_g_string_new
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_network_mysqld_proto_append_ok_packet
	movq	%rbx, %rdi
	callq	_network_mysqld_ok_packet_free
	movq	%r15, %rdi
	callq	_S
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lua_pushlstring
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_g_string_free
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_TTABLE,4,2                 ## @LUA_TTABLE
	.comm	_server_status,4,2              ## @server_status
	.comm	_insert_id,4,2                  ## @insert_id
	.comm	_warnings,4,2                   ## @warnings
	.comm	_affected_rows,4,2              ## @affected_rows
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_lua_proto_append_ok_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_proto_append_ok_packet
_lua_proto_append_ok_packet:            ; @lua_proto_append_ok_packet
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _LUA_TTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_TTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_luaL_checktype
	bl	_network_mysqld_ok_packet_new
	mov	x20, x0
Lloh3:
	adrp	x8, _server_status@GOTPAGE
Lloh4:
	ldr	x8, [x8, _server_status@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_LUA_IMPORT_INT
Lloh6:
	adrp	x8, _insert_id@GOTPAGE
Lloh7:
	ldr	x8, [x8, _insert_id@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_LUA_IMPORT_INT
Lloh9:
	adrp	x8, _warnings@GOTPAGE
Lloh10:
	ldr	x8, [x8, _warnings@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_LUA_IMPORT_INT
Lloh12:
	adrp	x8, _affected_rows@GOTPAGE
Lloh13:
	ldr	x8, [x8, _affected_rows@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_LUA_IMPORT_INT
	mov	x0, #0
	bl	_g_string_new
	mov	x21, x0
	mov	x1, x20
	bl	_network_mysqld_proto_append_ok_packet
	mov	x0, x20
	bl	_network_mysqld_ok_packet_free
	mov	x0, x21
	bl	_S
	mov	x1, x0
	mov	x0, x19
	bl	_lua_pushlstring
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_g_string_free
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_TTABLE,4,2                 ; @LUA_TTABLE
	.comm	_server_status,4,2              ; @server_status
	.comm	_insert_id,4,2                  ; @insert_id
	.comm	_warnings,4,2                   ; @warnings
	.comm	_affected_rows,4,2              ; @affected_rows
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_lua_proto_append_ok_packet
.subsections_via_symbols
