	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_get_binary_row ## -- Begin function network_mysqld_proto_get_binary_row
	.p2align	4, 0x90
_network_mysqld_proto_get_binary_row:   ## @network_mysqld_proto_get_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	leaq	-64(%rbp), %rsi
	callq	_network_mysqld_proto_get_int8
	movq	%rax, %r14
	movq	-64(%rbp), %r15
	movl	(%r13), %ebx
	leal	9(%rbx), %eax
	addl	$16, %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	movl	%ebx, %edi
	callq	_g_string_sized_new
	orq	%r14, %r15
	movl	$-1, %r14d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_12
## %bb.1:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_network_mysqld_proto_get_gstring_len
	testq	%rax, %rax
	jne	LBB0_12
## %bb.2:
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_network_mysqld_proto_binary_get_type
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_g_ptr_array_add
	incl	%r14d
	testl	%ebx, %ebx
	jne	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r13), %r14d
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_g_ptr_array_index
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_network_mysqld_type_new
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	leal	2(%r14), %ecx
	movl	%ecx, %edx
	shrl	$3, %edx
	movl	(%rax,%rdx,4), %eax
	andb	$7, %cl
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	jae	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_8:
	movq	_G_STRLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	callq	_g_debug
LBB0_11:
	movl	$-1, %r14d
LBB0_12:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_g_string_free
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: coulnd't create type = %d"

	.comm	_G_STRLOC,4,2                   ## @G_STRLOC
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_get_binary_row ; -- Begin function network_mysqld_proto_get_binary_row
	.p2align	2
_network_mysqld_proto_get_binary_row:   ; @network_mysqld_proto_get_binary_row
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x1, sp, #8
	bl	_network_mysqld_proto_get_int8
	ldr	x8, [sp, #8]
	orr	x24, x0, x8
	ldr	w8, [x21]
	add	w9, w8, #9
	add	w8, w8, #16
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w23, w8, #3
	mov	x0, x23
	bl	_g_string_sized_new
	mov	x19, x0
Lloh0:
	adrp	x26, _TRUE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	cbnz	x24, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	bl	_network_mysqld_proto_get_gstring_len
	cbz	x0, LBB0_4
LBB0_2:
	mov	w20, #-1
LBB0_3:
	ldr	w1, [x26]
	mov	x0, x19
	bl	_g_string_free
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	mov	w23, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_network_mysqld_proto_binary_get_type
	cmp	x0, #0
	cset	w25, ne
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_g_ptr_array_add
	add	w23, w23, #1
	cbnz	w25, LBB0_2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w23, w8
	b.ge	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_g_ptr_array_index
	mov	x25, x0
	ldr	w0, [x0]
	bl	_network_mysqld_type_new
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x0
	ldr	x8, [x19]
	add	w9, w23, #2
	lsr	w10, w9, #3
	ldr	w8, [x8, w10, uxtw #2]
	and	w9, w9, #0x7
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w25, #0
	ldr	w8, [x26]
	str	w8, [x24]
	b	LBB0_6
LBB0_11:
	mov	w20, #0
	b	LBB0_3
LBB0_12:
Lloh2:
	adrp	x8, _G_STRLOC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _G_STRLOC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x25]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_g_debug
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: coulnd't create type = %d"

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