	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_get_next_binary_row ## -- Begin function network_mysqld_proto_get_next_binary_row
	.p2align	4, 0x90
_network_mysqld_proto_get_next_binary_row: ## @network_mysqld_proto_get_next_binary_row
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	8(%rdi), %eax
	movl	%eax, -32(%rbp)
	movq	$0, -40(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_network_mysqld_proto_skip_network_header
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_network_mysqld_proto_peek_lenenc_type
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movq	_NETWORK_MYSQLD_LENENC_TYPE_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	je	LBB0_1
## %bb.6:
	leaq	-40(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_network_mysqld_proto_get_binary_row
	testq	%rax, %rax
	je	LBB0_8
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%rbx), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_EOF,8,3 ## @NETWORK_MYSQLD_LENENC_TYPE_EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_get_next_binary_row ; -- Begin function network_mysqld_proto_get_next_binary_row
	.p2align	2
_network_mysqld_proto_get_next_binary_row: ; @network_mysqld_proto_get_next_binary_row
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0, #8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
	add	x0, sp, #16
	bl	_network_mysqld_proto_skip_network_header
	mov	x8, x0
	mov	x0, #0
	cbnz	x8, LBB0_5
; %bb.1:
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_network_mysqld_proto_peek_lenenc_type
	cbnz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _NETWORK_MYSQLD_LENENC_TYPE_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETWORK_MYSQLD_LENENC_TYPE_EOF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	add	x0, sp, #16
	mov	x1, x21
	mov	x2, x20
	bl	_network_mysqld_proto_get_binary_row
	cbz	x0, LBB0_6
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	x0, [x19]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_EOF,8,3 ; @NETWORK_MYSQLD_LENENC_TYPE_EOF
.subsections_via_symbols
