	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_append_auth_response ## -- Begin function network_mysqld_proto_append_auth_response
	.p2align	4, 0x90
_network_mysqld_proto_append_auth_response: ## @network_mysqld_proto_append_auth_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %esi
	movq	_CLIENT_PROTOCOL_41@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int32
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int32
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	32(%r14), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.5:
	callq	_S
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_g_string_append_len
LBB0_6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	24(%r14), %rdi
	callq	_S
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_network_mysqld_proto_append_lenenc_string_len
	movq	16(%r14), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_9
LBB0_8:
	callq	_S
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_g_string_append_len
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int16
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_network_mysqld_proto_append_int24
	movq	32(%r14), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.2:
	callq	_S
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_g_string_append_len
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_network_mysqld_proto_append_int8
	movq	24(%r14), %rdi
	cmpq	$0, (%rdi)
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_CLIENT_PROTOCOL_41,4,2         ## @CLIENT_PROTOCOL_41
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_mysqld_proto_append_auth_response ; -- Begin function network_mysqld_proto_append_auth_response
	.p2align	2
_network_mysqld_proto_append_auth_response: ; @network_mysqld_proto_append_auth_response
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x1]
Lloh0:
	adrp	x8, _CLIENT_PROTOCOL_41@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLIENT_PROTOCOL_41@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_6
; %bb.1:
	bl	_network_mysqld_proto_append_int32
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_network_mysqld_proto_append_int32
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	ldr	x0, [x20, #32]
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	bl	_S
	mov	x1, x0
	mov	x0, x19
	bl	_g_string_append_len
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	ldr	x0, [x20, #24]
	bl	_S
	mov	x1, x0
	mov	x0, x19
	bl	_network_mysqld_proto_append_lenenc_string_len
	ldr	x0, [x20, #16]
	ldr	x8, [x0]
	cbz	x8, LBB0_5
LBB0_4:
	bl	_S
	mov	x1, x0
	mov	x0, x19
	bl	_g_string_append_len
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_network_mysqld_proto_append_int16
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_network_mysqld_proto_append_int24
	ldr	x0, [x20, #32]
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.7:
	bl	_S
	mov	x1, x0
	mov	x0, x19
	bl	_g_string_append_len
LBB0_8:
	mov	x0, x19
	mov	w1, #0
	bl	_network_mysqld_proto_append_int8
	ldr	x0, [x20, #24]
	ldr	x8, [x0]
	cbnz	x8, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CLIENT_PROTOCOL_41,4,2         ; @CLIENT_PROTOCOL_41
.subsections_via_symbols
