	.file	"extr_auth.c_CheckMD5Auth.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"MD5 authentication is not supported when \"db_user_namespace\" is enabled"
	.align 8
.LC1:
	.string	"could not generate random MD5 salt"
	.text
	.p2align 4
	.type	CheckMD5Auth, @function
CheckMD5Auth:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR Db_user_namespace[rip], 0
	jne	.L12
.L2:
	lea	r14, 4[rsp]
	mov	esi, 4
	mov	rdi, r14
	call	pg_strong_random@PLT
	test	eax, eax
	je	.L13
	mov	esi, DWORD PTR AUTH_REQ_MD5[rip]
	mov	ecx, 4
	mov	rdx, r14
	mov	rdi, rbx
	call	sendAuthRequest@PLT
	mov	rdi, rbx
	call	recv_password_packet@PLT
	mov	r15d, DWORD PTR STATUS_EOF[rip]
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	r15d, DWORD PTR STATUS_ERROR[rip]
	test	rbp, rbp
	je	.L7
	mov	edi, DWORD PTR [rbx]
	mov	r9, r13
	mov	r8d, 4
	mov	rcx, r14
	mov	rdx, rax
	mov	rsi, rbp
	call	md5_crypt_verify@PLT
	mov	r15d, eax
.L7:
	mov	rdi, r12
	call	pfree@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	errmsg@PLT
	mov	edi, DWORD PTR LOG[rip]
	mov	esi, eax
	call	ereport@PLT
	mov	r15d, DWORD PTR STATUS_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION[rip]
	call	errcode@PLT
	lea	rdi, .LC0[rip]
	call	errmsg@PLT
	mov	edi, DWORD PTR FATAL[rip]
	mov	esi, eax
	call	ereport@PLT
	jmp	.L2
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	CheckMD5Auth, .-CheckMD5Auth
	.comm	STATUS_ERROR,4,4
	.comm	STATUS_EOF,4,4
	.comm	LOG,4,4
	.comm	FATAL,4,4
	.comm	ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION,4,4
	.comm	Db_user_namespace,8,8
	.comm	AUTH_REQ_MD5,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_auth.c_CheckMD5Auth.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MD5 authentication is not supported when \"db_user_"
	.ascii	"namespace\" is enabled\000"
	.align	2
.LC1:
	.ascii	"could not generate random MD5 salt\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CheckMD5Auth, %function
CheckMD5Auth:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L18
	sub	sp, sp, #20
	ldr	r3, [r3]
	mov	r4, r0
	cmp	r3, #0
	ldr	r3, .L18+4
	mov	r7, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bne	.L14
.L2:
	mov	r1, #4
	add	r0, sp, #8
	bl	pg_strong_random
	cmp	r0, #0
	beq	.L15
	ldr	r2, .L18+8
	mov	r3, #4
	ldr	r1, [r2]
	mov	r0, r4
	add	r2, sp, #8
	bl	sendAuthRequest
	mov	r0, r4
	bl	recv_password_packet
	subs	r5, r0, #0
	beq	.L16
	cmp	r7, #0
	beq	.L6
	mov	r2, #4
	str	r6, [sp, #4]
	ldr	r0, [r4]
	mov	r1, r7
	str	r2, [sp]
	add	r3, sp, #8
	mov	r2, r5
	bl	md5_crypt_verify
	mov	r4, r0
.L7:
	mov	r0, r5
	bl	pfree
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	ldr	r3, .L18+12
	ldr	r4, [r3]
	b	.L7
.L15:
	ldr	r3, .L18+16
	ldr	r0, .L18+20
	ldr	r4, [r3]
	bl	errmsg
	mov	r1, r0
	mov	r0, r4
	bl	ereport
	ldr	r3, .L18+12
	ldr	r4, [r3]
	b	.L1
.L14:
	ldr	r2, .L18+24
	ldr	r3, .L18+28
	ldr	r0, [r2]
	ldr	r5, [r3]
	bl	errcode
	ldr	r0, .L18+32
	bl	errmsg
	mov	r1, r0
	mov	r0, r5
	bl	ereport
	b	.L2
.L16:
	ldr	r3, .L18+36
	ldr	r4, [r3]
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	Db_user_namespace
	.word	.LC2
	.word	AUTH_REQ_MD5
	.word	STATUS_ERROR
	.word	LOG
	.word	.LC1
	.word	ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION
	.word	FATAL
	.word	.LC0
	.word	STATUS_EOF
	.size	CheckMD5Auth, .-CheckMD5Auth
	.comm	STATUS_ERROR,4,4
	.comm	STATUS_EOF,4,4
	.comm	LOG,4,4
	.comm	FATAL,4,4
	.comm	ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION,4,4
	.comm	Db_user_namespace,4,4
	.comm	AUTH_REQ_MD5,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
