	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mysqlnd_run_authentication     ## -- Begin function mysqlnd_run_authentication
	.p2align	4, 0x90
_mysqlnd_run_authentication:            ## @mysqlnd_run_authentication
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -144(%rbp)                 ## 8-byte Spill
	movq	%r8, -136(%rbp)                 ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	movq	$0, -120(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DBG_ENTER
	movq	16(%rbp), %r14
	leaq	1(%r14), %rdi
	callq	_mnd_emalloc
	testq	%rax, %rax
	je	LBB0_35
## %bb.1:
	movq	%rax, %rbx
	movq	32(%rbp), %r15
	leaq	16(%rbp), %rax
	movq	8(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_memcpy
	movb	$0, (%rbx,%r14)
	testq	%r15, %r15
	jne	LBB0_3
## %bb.2:
	movq	_MYSQLND_DEFAULT_AUTH_PROTOCOL@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_3:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_mnd_pestrdup
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	8(%r12), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_36
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_mnd_pefree
	movq	_MYSQLND_DEFAULT_AUTH_PROTOCOL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_mnd_pestrdup
	movq	%rax, %r15
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -120(%rbp)
	movq	32(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rsi
	callq	_mnd_pefree
	movq	$0, 32(%r12)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, 40(%r12)
	movq	(%r12), %rsi
	movq	%r14, %rdi
	callq	_mnd_pemalloc
	movq	%rax, 32(%r12)
	testq	%rax, %rax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_memcpy
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	testq	%r13, %r13
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r12), %rax
	movl	(%rax), %r10d
	subq	$8, %rsp
	xorl	%edi, %edi
	leaq	-96(%rbp), %rsi
	movq	%r12, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movq	%rbx, %rax
	movl	56(%rbp), %ebx
	pushq	%rbx
	movq	%rax, %rbx
	pushq	%r10
	pushq	48(%rbp)
	pushq	%r14
	pushq	%rax
	callq	*(%r13)
	addq	$48, %rsp
	movq	%rax, %r15
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r12), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	72(%rbp), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	movq	-144(%rbp), %r9                 ## 8-byte Reload
	leaq	-104(%rbp), %rax
	pushq	%rax
	leaq	-112(%rbp), %rax
	pushq	%rax
	leaq	-120(%rbp), %rax
	pushq	%rax
	leaq	-48(%rbp), %rax
	pushq	%rax
	pushq	-96(%rbp)
	pushq	%r15
	pushq	%r14
	movq	%rbx, %r14
	pushq	%rbx
	pushq	%r13
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	movl	40(%rbp), %eax
	pushq	%rax
	movl	56(%rbp), %eax
	pushq	%rax
	pushq	48(%rbp)
	callq	_mysqlnd_auth_handshake
	addq	$112, %rsp
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r14
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-136(%rbp), %r9                 ## 8-byte Reload
	leaq	-104(%rbp), %rax
	pushq	%rax
	leaq	-112(%rbp), %rax
	pushq	%rax
	leaq	-120(%rbp), %rax
	pushq	%rax
	leaq	-48(%rbp), %rax
	pushq	%rax
	pushq	-96(%rbp)
	pushq	%r15
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	64(%rbp)
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	callq	_mysqlnd_auth_change_user
	addq	$80, %rsp
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r13
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_free
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	testq	%rbx, %rbx
	movq	%rbx, %r15
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_mnd_efree
	movq	-48(%rbp), %r15
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	testq	%r14, %r14
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	callq	_mnd_efree
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-104(%rbp), %r14
	movq	-112(%rbp), %rbx
	movq	16(%r12), %rax
	movq	(%rax), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	movq	_FAIL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r12), %rax
	cmpq	$0, (%rax)
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, -48(%rbp)
	jne	LBB0_6
LBB0_29:
	movq	_PASS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_31
## %bb.30:
	leaq	L_.str.7(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_DBG_INF_FMT
	movq	8(%r12), %rax
	movq	_MYSQLND_OPT_AUTH_PROTOCOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	*(%rax)
	testq	%rbx, %rbx
	jne	LBB0_32
	jmp	LBB0_33
LBB0_4:
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_12:
	movq	16(%r12), %rdi
	callq	_SET_OOM_ERROR
LBB0_13:
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_31:
	testq	%rbx, %rbx
	je	LBB0_33
LBB0_32:
	movq	%rbx, %rdi
	callq	_mnd_efree
LBB0_33:
	testq	%r15, %r15
	je	LBB0_35
## %bb.34:
	movq	%r15, %rdi
	callq	_mnd_efree
LBB0_35:
	movq	%r13, %rdi
	callq	_DBG_RETURN
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movq	%r15, %rcx
	callq	_php_error_docref
	movq	16(%r12), %rdi
	movq	_CR_NOT_IMPLEMENTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_UNKNOWN_SQLSTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	callq	_SET_CLIENT_ERROR
	movq	-128(%rbp), %r13                ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_32
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_FAIL,8,3                       ## @FAIL
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mysqlnd_run_authentication"

	.comm	_MYSQLND_DEFAULT_AUTH_PROTOCOL,8,3 ## @MYSQLND_DEFAULT_AUTH_PROTOCOL
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_E_WARNING,4,2                  ## @E_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"The server requested authentication method unknown to the client [%s]"

	.comm	_CR_NOT_IMPLEMENTED,4,2         ## @CR_NOT_IMPLEMENTED
	.comm	_UNKNOWN_SQLSTATE,4,2           ## @UNKNOWN_SQLSTATE
L_.str.2:                               ## @.str.2
	.asciz	"The server requested authentication method unknown to the client"

L_.str.3:                               ## @.str.3
	.asciz	"salt(%d)=[%.*s]"

L_.str.4:                               ## @.str.4
	.asciz	"switch_to_auth_protocol=%s"

L_.str.5:                               ## @.str.5
	.asciz	"n/a"

L_.str.6:                               ## @.str.6
	.asciz	"conn->error_info->error_no = %d"

	.comm	_PASS,8,3                       ## @PASS
L_.str.7:                               ## @.str.7
	.asciz	"saving requested_protocol=%s"

	.comm	_MYSQLND_OPT_AUTH_PROTOCOL,4,2  ## @MYSQLND_OPT_AUTH_PROTOCOL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mysqlnd_run_authentication     ; -- Begin function mysqlnd_run_authentication
	.p2align	2
_mysqlnd_run_authentication:            ; @mysqlnd_run_authentication
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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	x21, x7
	mov	x24, x6
	stp	x4, x5, [sp, #136]              ; 16-byte Folded Spill
	stur	x3, [x29, #-136]                ; 8-byte Folded Spill
	mov	x26, x2
	mov	x27, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x25, [x8]
	stp	xzr, xzr, [x29, #-104]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG_ENTER
	add	x0, x24, #1
	bl	_mnd_emalloc
	cbz	x0, LBB0_31
; %bb.1:
	mov	x19, x0
	ldr	x23, [x29, #16]
	mov	x1, x21
	mov	x2, x24
	bl	_memcpy
	strb	wzr, [x19, x24]
Lloh8:
	adrp	x8, _MYSQLND_DEFAULT_AUTH_PROTOCOL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MYSQLND_DEFAULT_AUTH_PROTOCOL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x23, #0
	csel	x0, x8, x23, eq
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	x1, [x8]
	bl	_mnd_pestrdup
	mov	x21, x0
	cbz	x0, LBB0_28
; %bb.2:
	ldr	x8, [x29, #56]
	str	x8, [sp, #112]                  ; 8-byte Folded Spill
	ldr	x8, [x29, #48]
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
	ldr	w8, [x29, #40]
	str	w8, [sp, #132]                  ; 4-byte Folded Spill
	ldr	x8, [x29, #32]
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
	ldr	w8, [x29, #24]
	str	w8, [sp, #100]                  ; 4-byte Folded Spill
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
	mov	x28, x0
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x25, LBB0_32
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x23, _FALSE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	x1, [x23]
	mov	x0, x21
	bl	_mnd_pefree
Lloh16:
	adrp	x8, _MYSQLND_DEFAULT_AUTH_PROTOCOL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MYSQLND_DEFAULT_AUTH_PROTOCOL@GOTPAGEOFF]
Lloh18:
	ldr	x0, [x8]
	ldr	x1, [x23]
	bl	_mnd_pestrdup
	mov	x21, x0
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	stp	xzr, xzr, [x29, #-120]
	stur	xzr, [x29, #-128]
	stp	xzr, xzr, [x29, #-104]
	ldr	x0, [x22, #32]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x22]
	bl	_mnd_pefree
	str	xzr, [x22, #32]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x24, [x22, #40]
	ldr	x1, [x22]
	mov	x0, x24
	bl	_mnd_pemalloc
	str	x0, [x22, #32]
	cbz	x0, LBB0_26
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x19
	mov	x2, x24
	bl	_memcpy
	stp	x24, x19, [sp, #8]
	str	x24, [sp]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_DBG_INF_FMT
	cbz	x28, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x28]
	ldr	x9, [x22, #24]
	ldr	w9, [x9]
	ldr	w10, [sp, #132]                 ; 4-byte Folded Reload
	stp	w9, w10, [sp, #8]
	sub	x1, x29, #128
	ldr	x9, [sp, #120]                  ; 8-byte Folded Reload
	str	x9, [sp]
	mov	x0, #0
	mov	x2, x22
	mov	x3, x27
	mov	x4, x26
	ldur	x5, [x29, #-136]                ; 8-byte Folded Reload
	mov	x6, x19
	mov	x7, x24
	blr	x8
	mov	x23, x0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, #0
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	cbnz	x8, LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh21:
	adrp	x8, _FALSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x9, [sp, #112]                  ; 8-byte Folded Reload
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x29, #-128]
	sub	x9, x29, #120
	str	x9, [sp, #88]
	sub	x9, x29, #112
	str	x9, [sp, #80]
	sub	x9, x29, #104
	str	x9, [sp, #72]
	sub	x9, x29, #96
	stp	x8, x9, [sp, #56]
	stp	x24, x23, [sp, #40]
	stp	x28, x19, [sp, #24]
	stp	x25, x21, [sp, #8]
	ldr	w8, [sp, #100]                  ; 4-byte Folded Reload
	str	w8, [sp]
	mov	x0, x22
	mov	x1, x27
	mov	x2, x26
	ldur	x3, [x29, #-136]                ; 8-byte Folded Reload
	ldp	x4, x5, [sp, #136]              ; 16-byte Folded Reload
	ldr	x6, [sp, #120]                  ; 8-byte Folded Reload
	ldr	w7, [sp, #132]                  ; 4-byte Folded Reload
	bl	_mysqlnd_auth_handshake
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	bl	_strlen
	mov	x2, x0
	ldur	x8, [x29, #-128]
	sub	x9, x29, #120
	str	x9, [sp, #56]
	sub	x9, x29, #112
	str	x9, [sp, #48]
	sub	x9, x29, #104
	str	x9, [sp, #40]
	sub	x9, x29, #96
	stp	x8, x9, [sp, #24]
	stp	x21, x23, [sp, #8]
	str	x25, [sp]
	mov	x0, x22
	mov	x1, x27
	mov	x3, x26
	ldur	x4, [x29, #-136]                ; 8-byte Folded Reload
	ldp	x5, x6, [sp, #136]              ; 16-byte Folded Reload
	ldr	x7, [sp, #104]                  ; 8-byte Folded Reload
	bl	_mysqlnd_auth_change_user
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh26:
	ldr	x25, [x8]
	mov	x0, x23
	bl	_free
	ldur	x8, [x29, #-96]
	cmp	x8, #0
Lloh27:
	adrp	x9, l_.str.5@PAGE
Lloh28:
	add	x9, x9, l_.str.5@PAGEOFF
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DBG_INF_FMT
	cbz	x21, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x29, #-96]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_mnd_efree
	ldur	x21, [x29, #-96]
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x19, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_mnd_efree
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x24, x19, [x29, #-120]
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.6@PAGE
Lloh32:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DBG_INF_FMT
Lloh33:
	adrp	x8, _FAIL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22, #16]
	ldr	x8, [x8]
	cbnz	x8, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x29, #-96]
	cbnz	x8, LBB0_3
LBB0_24:
Lloh36:
	adrp	x8, _PASS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PASS@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_27
; %bb.25:
	str	x21, [sp]
Lloh39:
	adrp	x0, l_.str.7@PAGE
Lloh40:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DBG_INF_FMT
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
Lloh41:
	adrp	x9, _MYSQLND_OPT_AUTH_PROTOCOL@GOTPAGE
Lloh42:
	ldr	x9, [x9, _MYSQLND_OPT_AUTH_PROTOCOL@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x9]
	mov	x0, x22
	mov	x2, x21
	blr	x8
	cbnz	x19, LBB0_28
	b	LBB0_29
LBB0_26:
	ldr	x0, [x22, #16]
	bl	_SET_OOM_ERROR
LBB0_27:
	cbz	x19, LBB0_29
LBB0_28:
	mov	x0, x19
	bl	_mnd_efree
LBB0_29:
	cbz	x21, LBB0_31
; %bb.30:
	mov	x0, x21
	bl	_mnd_efree
LBB0_31:
	mov	x0, x20
	bl	_DBG_RETURN
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_32:
Lloh44:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh45:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x2, l_.str.1@PAGE
Lloh48:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x3, x21
	bl	_php_error_docref
	ldr	x0, [x22, #16]
Lloh49:
	adrp	x8, _CR_NOT_IMPLEMENTED@GOTPAGE
Lloh50:
	ldr	x8, [x8, _CR_NOT_IMPLEMENTED@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
Lloh52:
	adrp	x8, _UNKNOWN_SQLSTATE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _UNKNOWN_SQLSTATE@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
Lloh55:
	adrp	x3, l_.str.2@PAGE
Lloh56:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_SET_CLIENT_ERROR
	cbnz	x19, LBB0_28
	b	LBB0_29
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_FAIL,8,3                       ; @FAIL
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mysqlnd_run_authentication"

	.comm	_MYSQLND_DEFAULT_AUTH_PROTOCOL,8,3 ; @MYSQLND_DEFAULT_AUTH_PROTOCOL
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_E_WARNING,4,2                  ; @E_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"The server requested authentication method unknown to the client [%s]"

	.comm	_CR_NOT_IMPLEMENTED,4,2         ; @CR_NOT_IMPLEMENTED
	.comm	_UNKNOWN_SQLSTATE,4,2           ; @UNKNOWN_SQLSTATE
l_.str.2:                               ; @.str.2
	.asciz	"The server requested authentication method unknown to the client"

l_.str.3:                               ; @.str.3
	.asciz	"salt(%d)=[%.*s]"

l_.str.4:                               ; @.str.4
	.asciz	"switch_to_auth_protocol=%s"

l_.str.5:                               ; @.str.5
	.asciz	"n/a"

l_.str.6:                               ; @.str.6
	.asciz	"conn->error_info->error_no = %d"

	.comm	_PASS,8,3                       ; @PASS
l_.str.7:                               ; @.str.7
	.asciz	"saving requested_protocol=%s"

	.comm	_MYSQLND_OPT_AUTH_PROTOCOL,4,2  ; @MYSQLND_OPT_AUTH_PROTOCOL
.subsections_via_symbols
