	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_fe_sendauth                 ## -- Begin function pg_fe_sendauth
	.p2align	4, 0x90
_pg_fe_sendauth:                        ## @pg_fe_sendauth
	.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	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	%rdx, %rsi
	callq	_check_expected_areq
	movq	_STATUS_ERROR@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_25
## %bb.1:
	leal	-128(%rbx), %eax
	cmpl	$12, %eax
	ja	LBB0_26
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	cmpq	$0, 32(%r14)
	je	LBB0_18
## %bb.19:
	xorl	%edx, %edx
	cmpl	$130, %ebx
	sete	%dl
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_pg_SASL_continue
	movq	_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_24
## %bb.20:
	cmpl	$0, 24(%r14)
	jne	LBB0_25
## %bb.21:
	addq	$24, %r14
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_15
LBB0_9:
	movl	$1, (%r14)
	movq	8(%r14), %rax
	movq	40(%r14), %rcx
	movq	(%rcx,%rax,8), %rsi
	testq	%rsi, %rsi
	jne	LBB0_11
## %bb.10:
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
LBB0_11:
	cmpb	$0, (%rsi)
	je	LBB0_12
## %bb.13:
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_pg_password_sendauth
	movq	_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_24
## %bb.14:
	addq	$24, %r14
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_6:
	addq	$24, %r14
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_26:
	addq	$24, %r14
	leaq	L_.str.8(%rip), %rdi
	callq	_libpq_gettext
	movslq	%eax, %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_printfPQExpBuffer
	jmp	LBB0_25
LBB0_7:
	addq	$24, %r14
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_22:
	movq	%r14, %rdi
	callq	_pg_local_sendauth
	jmp	LBB0_23
LBB0_16:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_pg_SASL_init
LBB0_23:
	movq	_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
LBB0_24:
	movq	_STATUS_OK@GOTPCREL(%rip), %r12
	jmp	LBB0_25
LBB0_5:
	addq	$24, %r14
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_3:
	addq	$24, %r14
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_8:
	addq	$24, %r14
	leaq	L_.str.4(%rip), %rdi
LBB0_4:
	callq	_libpq_gettext
	movslq	%eax, %rsi
LBB0_15:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printfPQExpBuffer
LBB0_25:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	addq	$24, %r14
	movq	_PQnoPasswordSupplied@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	jmp	LBB0_15
LBB0_18:
	addq	$24, %r14
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_22
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_24
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_STATUS_ERROR,4,2               ## @STATUS_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Kerberos 4 authentication not supported\n"

L_.str.1:                               ## @.str.1
	.asciz	"Kerberos 5 authentication not supported\n"

L_.str.2:                               ## @.str.2
	.asciz	"GSSAPI authentication not supported\n"

L_.str.3:                               ## @.str.3
	.asciz	"SSPI authentication not supported\n"

L_.str.4:                               ## @.str.4
	.asciz	"Crypt authentication not supported\n"

	.comm	_PQnoPasswordSupplied,4,2       ## @PQnoPasswordSupplied
	.comm	_STATUS_OK,4,2                  ## @STATUS_OK
L_.str.5:                               ## @.str.5
	.asciz	"fe_sendauth: error sending password authentication\n"

L_.str.6:                               ## @.str.6
	.asciz	"fe_sendauth: invalid authentication request from server: AUTH_REQ_SASL_CONT without AUTH_REQ_SASL\n"

L_.str.7:                               ## @.str.7
	.asciz	"fe_sendauth: error in SASL authentication\n"

L_.str.8:                               ## @.str.8
	.asciz	"authentication method %u not supported\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_fe_sendauth                 ; -- Begin function pg_fe_sendauth
	.p2align	2
_pg_fe_sendauth:                        ; @pg_fe_sendauth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x20, x0
	mov	x1, x2
	bl	_check_expected_areq
	cbz	w0, LBB0_25
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #12
	b.hi	LBB0_13
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_28
; %bb.4:
	cmp	w20, #130
	cset	w2, eq
	mov	x0, x19
	mov	x1, x21
	bl	_pg_SASL_continue
Lloh2:
	adrp	x8, _STATUS_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STATUS_OK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_18
; %bb.5:
	ldr	w8, [x19, #24]!
	cbnz	w8, LBB0_25
; %bb.6:
Lloh5:
	adrp	x1, l_.str.7@PAGE
Lloh6:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_7:
	mov	w8, #1
	str	w8, [x19]
	ldr	x8, [x19, #40]
	ldr	x9, [x19, #8]
	ldr	x1, [x8, x9, lsl #3]
	cbnz	x1, LBB0_9
; %bb.8:
	ldr	x1, [x19, #16]
	cbz	x1, LBB0_27
LBB0_9:
	ldrb	w8, [x1]
	cbz	w8, LBB0_27
; %bb.10:
	mov	x0, x19
	mov	x2, x20
	bl	_pg_password_sendauth
Lloh7:
	adrp	x8, _STATUS_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STATUS_OK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_18
; %bb.11:
	add	x0, x19, #24
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_24
LBB0_12:
	add	x19, x19, #24
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_22
LBB0_13:
	add	x19, x19, #24
Lloh14:
	adrp	x0, l_.str.8@PAGE
Lloh15:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_libpq_gettext
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	str	x20, [sp]
	b	LBB0_23
LBB0_14:
	add	x19, x19, #24
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_22
LBB0_15:
	mov	x0, x19
	bl	_pg_local_sendauth
	b	LBB0_17
LBB0_16:
	mov	x0, x19
	mov	x1, x21
	bl	_pg_SASL_init
LBB0_17:
Lloh18:
	adrp	x8, _STATUS_OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _STATUS_OK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_25
LBB0_18:
Lloh21:
	adrp	x8, _STATUS_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STATUS_OK@GOTPAGEOFF]
	b	LBB0_26
LBB0_19:
	add	x19, x19, #24
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_20:
	add	x19, x19, #24
Lloh25:
	adrp	x0, l_.str@PAGE
Lloh26:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_22
LBB0_21:
	add	x19, x19, #24
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_22:
	bl	_libpq_gettext
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
LBB0_23:
	mov	x0, x19
LBB0_24:
	bl	_printfPQExpBuffer
LBB0_25:
Lloh29:
	adrp	x8, _STATUS_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _STATUS_ERROR@GOTPAGEOFF]
LBB0_26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_27:
	add	x0, x19, #24
Lloh31:
	adrp	x8, _PQnoPasswordSupplied@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PQnoPasswordSupplied@GOTPAGEOFF]
Lloh33:
	ldrsw	x1, [x8]
	b	LBB0_24
LBB0_28:
	add	x0, x19, #24
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_24
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_21-LBB0_3)>>2
                                        ; -- End function
	.comm	_STATUS_ERROR,4,2               ; @STATUS_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Kerberos 4 authentication not supported\n"

l_.str.1:                               ; @.str.1
	.asciz	"Kerberos 5 authentication not supported\n"

l_.str.2:                               ; @.str.2
	.asciz	"GSSAPI authentication not supported\n"

l_.str.3:                               ; @.str.3
	.asciz	"SSPI authentication not supported\n"

l_.str.4:                               ; @.str.4
	.asciz	"Crypt authentication not supported\n"

	.comm	_PQnoPasswordSupplied,4,2       ; @PQnoPasswordSupplied
	.comm	_STATUS_OK,4,2                  ; @STATUS_OK
l_.str.5:                               ; @.str.5
	.asciz	"fe_sendauth: error sending password authentication\n"

l_.str.6:                               ; @.str.6
	.asciz	"fe_sendauth: invalid authentication request from server: AUTH_REQ_SASL_CONT without AUTH_REQ_SASL\n"

l_.str.7:                               ; @.str.7
	.asciz	"fe_sendauth: error in SASL authentication\n"

l_.str.8:                               ; @.str.8
	.asciz	"authentication method %u not supported\n"

.subsections_via_symbols
