	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_fe_getauthname              ## -- Begin function pg_fe_getauthname
	.p2align	4, 0x90
_pg_fe_getauthname:                     ## @pg_fe_getauthname
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_geteuid
	movq	%rax, %r15
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	callq	_pglock_thread
	leaq	-72(%rbp), %rsi
	leaq	-64(%rbp), %r8
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_pqGetpwuid
	movl	%eax, %r13d
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.2:
	callq	_strdup
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_11
## %bb.3:
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	callq	_libpq_gettext
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printfPQExpBuffer
	jmp	LBB0_11
LBB0_5:
	testq	%r14, %r14
	je	LBB0_9
## %bb.6:
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.7:
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_strerror_r
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_printfPQExpBuffer
	jmp	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
LBB0_11:
	xorl	%eax, %eax
	callq	_pgunlock_thread
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	callq	_libpq_gettext
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_printfPQExpBuffer
	jmp	LBB0_11
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not look up local user ID %d: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"local user with ID %d does not exist\n"

L_.str.2:                               ## @.str.2
	.asciz	"out of memory\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_fe_getauthname              ; -- Begin function pg_fe_getauthname
	.p2align	2
_pg_fe_getauthname:                     ; @pg_fe_getauthname
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_geteuid
	mov	x20, x0
Lloh3:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	stur	xzr, [x29, #-72]
	bl	_pglock_thread
	sub	x1, x29, #64
	sub	x4, x29, #72
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_pqGetpwuid
	ldur	x8, [x29, #-72]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.2:
	bl	_strdup
	mov	x20, x0
	cbz	x19, LBB0_11
; %bb.3:
	cbnz	x20, LBB0_11
; %bb.4:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
	b	LBB0_11
LBB0_5:
	cbz	x19, LBB0_10
; %bb.6:
	mov	x23, x0
	cbz	w0, LBB0_8
; %bb.7:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_libpq_gettext
	mov	x24, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_strerror_r
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #-16]!
	mov	x0, x19
	mov	x1, x24
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	str	x20, [sp, #-16]!
	mov	x0, x19
LBB0_9:
	bl	_printfPQExpBuffer
	add	sp, sp, #16
LBB0_10:
	mov	x20, #0
LBB0_11:
	bl	_pgunlock_thread
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x20
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not look up local user ID %d: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"local user with ID %d does not exist\n"

l_.str.2:                               ; @.str.2
	.asciz	"out of memory\n"

.subsections_via_symbols
