	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_get_stmt_prepare_ok_packet ## -- Begin function network_mysqld_proto_get_stmt_prepare_ok_packet
	.p2align	4, 0x90
_network_mysqld_proto_get_stmt_prepare_ok_packet: ## @network_mysqld_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	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-32(%rbp), %rsi
	callq	_network_mysqld_proto_get_int8
	movl	$-1, %r15d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movl	-32(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.2:
	movq	_G_STRLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%edx, %edx
	callq	_g_critical
	jmp	LBB0_9
LBB0_3:
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_get_int32
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_get_int16
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_get_int16
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_network_mysqld_proto_skip
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_get_int16
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	-28(%rbp), %eax
	movl	%eax, 24(%r14)
	movq	-56(%rbp), %rax
	movq	%rax, 16(%r14)
	movq	-48(%rbp), %rax
	movq	%rax, 8(%r14)
	movq	-40(%rbp), %rax
	movq	%rax, (%r14)
	xorl	%r15d, %r15d
LBB0_9:
	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: expected the first byte to be %02x, got %02x"

	.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_get_stmt_prepare_ok_packet ; -- Begin function network_mysqld_proto_get_stmt_prepare_ok_packet
	.p2align	2
_network_mysqld_proto_get_stmt_prepare_ok_packet: ; @network_mysqld_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	x19, x1
	mov	x20, x0
	sub	x1, x29, #20
	bl	_network_mysqld_proto_get_int8
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_4
LBB0_2:
	ldur	w3, [x29, #-20]
	cbz	w3, LBB0_5
; %bb.3:
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
	mov	w2, #0
	bl	_g_critical
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	add	x1, sp, #12
	mov	x0, x20
	bl	_network_mysqld_proto_get_int32
	cbnz	x0, LBB0_1
; %bb.6:
	add	x1, sp, #32
	mov	x0, x20
	bl	_network_mysqld_proto_get_int16
	cbnz	x0, LBB0_1
; %bb.7:
	add	x1, sp, #24
	mov	x0, x20
	bl	_network_mysqld_proto_get_int16
	cbnz	x0, LBB0_1
; %bb.8:
	mov	x0, x20
	mov	w1, #1
	bl	_network_mysqld_proto_skip
	cbnz	x0, LBB0_1
; %bb.9:
	add	x1, sp, #16
	mov	x0, x20
	bl	_network_mysqld_proto_get_int16
	cbnz	x0, LBB0_1
; %bb.10:
	ldr	w8, [sp, #12]
	str	w8, [x19, #24]
	ldr	x10, [sp, #32]
	ldp	x9, x8, [sp, #16]
	stp	x8, x10, [x19, #8]
	str	x9, [x19]
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: expected the first byte to be %02x, got %02x"

	.comm	_G_STRLOC,4,2                   ; @G_STRLOC
.subsections_via_symbols
