	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_queue_append    ## -- Begin function network_mysqld_queue_append
	.p2align	4, 0x90
_network_mysqld_queue_append:           ## @network_mysqld_queue_append
	.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	%rcx, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r13d, %rax
	addl	%r13d, %r15d
	subq	%rax, %rbx
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PACKET_LEN_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_MIN
	movl	%eax, %r13d
	leal	4(%rbx), %edi
	callq	_g_string_sized_new
	movq	%rax, %r14
	cmpq	$0, 8(%r12)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movl	$255, (%r12)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_network_mysqld_proto_append_packet_len
	movl	(%r12), %esi
	incl	%esi
	movl	%esi, (%r12)
	movq	%r14, %rdi
	callq	_network_mysqld_proto_append_packet_id
	movslq	%r15d, %rsi
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_g_string_append_len
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_network_queue_append
	movq	_PACKET_LEN_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$4, %edi
	callq	_g_string_sized_new
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_packet_len
	movl	(%r12), %esi
	incl	%esi
	movl	%esi, (%r12)
	movq	%r14, %rdi
	callq	_network_mysqld_proto_append_packet_id
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_network_queue_append
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_LEN_MAX,8,3             ## @PACKET_LEN_MAX
	.comm	_FALSE,8,3                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_queue_append    ; -- Begin function network_mysqld_queue_append
	.p2align	2
_network_mysqld_queue_append:           ; @network_mysqld_queue_append
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w25, #0
	mov	w26, #255
Lloh0:
	adrp	x27, _PACKET_LEN_MAX@GOTPAGE
Lloh1:
	ldr	x27, [x27, _PACKET_LEN_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x28, _FALSE@GOTPAGE
Lloh3:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	subs	x19, x19, w23, sxtw
	add	w25, w23, w25
	b.eq	LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x27]
	mov	x0, x19
	bl	_MIN
	mov	x23, x0
	add	w0, w19, #4
	bl	_g_string_sized_new
	mov	x24, x0
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [x22, #8]
	str	w26, [x22]
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_network_mysqld_proto_append_packet_len
	ldr	w8, [x22]
	add	w1, w8, #1
	str	w1, [x22]
	mov	x0, x24
	bl	_network_mysqld_proto_append_packet_id
	add	x1, x20, w25, sxtw
	mov	x0, x24
	mov	x2, x23
	bl	_g_string_append_len
	mov	x0, x21
	mov	x1, x24
	bl	_network_queue_append
	ldr	x8, [x27]
	cmp	x19, x8
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #4
	bl	_g_string_sized_new
	mov	x24, x0
	mov	w1, #0
	bl	_network_mysqld_proto_append_packet_len
	ldr	w8, [x22]
	add	w1, w8, #1
	str	w1, [x22]
	mov	x0, x24
	bl	_network_mysqld_proto_append_packet_id
	mov	x0, x21
	mov	x1, x24
	bl	_network_queue_append
	b	LBB0_1
LBB0_6:
	mov	w0, #0
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_LEN_MAX,8,3             ; @PACKET_LEN_MAX
	.comm	_FALSE,8,3                      ; @FALSE
.subsections_via_symbols
