	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_peek_lenenc_type ## -- Begin function network_mysqld_proto_peek_lenenc_type
	.p2align	4, 0x90
_network_mysqld_proto_peek_lenenc_type: ## @network_mysqld_proto_peek_lenenc_type
	.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, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	8(%rdi), %rax
	movq	8(%rax), %rbx
	xorl	%edi, %edi
	cmpq	(%rax), %r12
	setb	%dil
	movl	$-1, %esi
	callq	_g_return_val_if_fail
	movb	(%rbx,%r12), %dl
	movq	_NETWORK_MYSQLD_LENENC_TYPE_INT@GOTPCREL(%rip), %rax
	cmpb	$-5, %dl
	jb	LBB0_9
## %bb.2:
	addb	$5, %dl
	cmpb	$3, %dl
	ja	LBB0_5
## %bb.3:
	movq	_NETWORK_MYSQLD_LENENC_TYPE_NULL@GOTPCREL(%rip), %rcx
	movzbl	%dl, %edx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_9:
	movq	%rax, %rcx
LBB0_10:
	movl	(%rcx), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_NETWORK_MYSQLD_LENENC_TYPE_ERR@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_6:
	cmpq	$4, %r12
	jne	LBB0_9
## %bb.7:
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	subq	(%r15), %rcx
	cmpq	$8, %rcx
	jae	LBB0_9
## %bb.8:
	movq	_NETWORK_MYSQLD_LENENC_TYPE_EOF@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_INT,4,2 ## @NETWORK_MYSQLD_LENENC_TYPE_INT
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_NULL,4,2 ## @NETWORK_MYSQLD_LENENC_TYPE_NULL
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_EOF,4,2 ## @NETWORK_MYSQLD_LENENC_TYPE_EOF
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_ERR,4,2 ## @NETWORK_MYSQLD_LENENC_TYPE_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_peek_lenenc_type ; -- Begin function network_mysqld_proto_peek_lenenc_type
	.p2align	2
_network_mysqld_proto_peek_lenenc_type: ; @network_mysqld_proto_peek_lenenc_type
	.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, x1
	mov	x20, x0
	ldp	x21, x8, [x0]
	ldp	x8, x22, [x8]
	cmp	x21, x8
	cset	w0, lo
	mov	w1, #-1
	bl	_g_return_val_if_fail
	ldrb	w8, [x22, x21]
	subs	w9, w8, #251
	b.lo	LBB0_3
; %bb.1:
	cmp	w9, #3
	b.hi	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _NETWORK_MYSQLD_LENENC_TYPE_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETWORK_MYSQLD_LENENC_TYPE_NULL@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh4:
	adrp	x8, _NETWORK_MYSQLD_LENENC_TYPE_INT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NETWORK_MYSQLD_LENENC_TYPE_INT@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #0
	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
LBB0_5:
Lloh6:
	adrp	x8, _NETWORK_MYSQLD_LENENC_TYPE_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETWORK_MYSQLD_LENENC_TYPE_ERR@GOTPAGEOFF]
	b	LBB0_4
LBB0_6:
	cmp	x21, #4
	b.ne	LBB0_3
; %bb.7:
	ldp	x9, x8, [x20]
	ldr	x8, [x8]
	sub	x8, x8, x9
	cmp	x8, #8
	b.hs	LBB0_3
; %bb.8:
Lloh8:
	adrp	x8, _NETWORK_MYSQLD_LENENC_TYPE_EOF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NETWORK_MYSQLD_LENENC_TYPE_EOF@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_INT,4,2 ; @NETWORK_MYSQLD_LENENC_TYPE_INT
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_NULL,4,2 ; @NETWORK_MYSQLD_LENENC_TYPE_NULL
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_EOF,4,2 ; @NETWORK_MYSQLD_LENENC_TYPE_EOF
	.comm	_NETWORK_MYSQLD_LENENC_TYPE_ERR,4,2 ; @NETWORK_MYSQLD_LENENC_TYPE_ERR
.subsections_via_symbols
