	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_append_stmt_prepare_ok_packet ## -- Begin function network_mysqld_proto_append_stmt_prepare_ok_packet
	.p2align	4, 0x90
_network_mysqld_proto_append_stmt_prepare_ok_packet: ## @network_mysqld_proto_append_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_MYSQLD_PACKET_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_network_mysqld_proto_append_int8
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movl	12(%r15), %esi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int32
	testq	%rax, %rax
	jne	LBB0_6
## %bb.2:
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int16
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int16
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int16
	negq	%rax
	sbbl	%r12d, %r12d
	movl	%r12d, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MYSQLD_PACKET_OK,4,2           ## @MYSQLD_PACKET_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_append_stmt_prepare_ok_packet ; -- Begin function network_mysqld_proto_append_stmt_prepare_ok_packet
	.p2align	2
_network_mysqld_proto_append_stmt_prepare_ok_packet: ; @network_mysqld_proto_append_stmt_prepare_ok_packet
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MYSQLD_PACKET_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MYSQLD_PACKET_OK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_network_mysqld_proto_append_int8
	cbnz	x0, LBB0_5
; %bb.1:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_network_mysqld_proto_append_int32
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_network_mysqld_proto_append_int16
	cbnz	x0, LBB0_5
; %bb.3:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_network_mysqld_proto_append_int16
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	cbz	x0, LBB0_7
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
LBB0_7:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_network_mysqld_proto_append_int16
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MYSQLD_PACKET_OK,4,2           ; @MYSQLD_PACKET_OK
.subsections_via_symbols
