	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_psqlrc_file
_process_psqlrc_file:                   ## @process_psqlrc_file
	.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	%rdi, %r14
	movq	_PG_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_psprintf
	movq	%rax, %rbx
	movq	_PG_MAJORVERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_psprintf
	movq	%rax, %r15
	movq	_R_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_access
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_access
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_access
	movq	%r14, %rdi
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	xorl	%esi, %esi
	callq	_process_file
LBB0_4:
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%s"

	.comm	_PG_VERSION,4,2                 ## @PG_VERSION
	.comm	_PG_MAJORVERSION,4,2            ## @PG_MAJORVERSION
	.comm	_R_OK,4,2                       ## @R_OK
	.no_dead_strip	_process_psqlrc_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_psqlrc_file
_process_psqlrc_file:                   ; @process_psqlrc_file
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
Lloh0:
	adrp	x8, _PG_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PG_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	bl	_psprintf
	mov	x19, x0
Lloh5:
	adrp	x8, _PG_MAJORVERSION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PG_MAJORVERSION@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_psprintf
	mov	x21, x0
Lloh8:
	adrp	x22, _R_OK@GOTPAGE
Lloh9:
	ldr	x22, [x22, _R_OK@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_access
	mov	x8, x0
	mov	x0, x19
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_access
	mov	x8, x0
	mov	x0, x21
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_access
	mov	x8, x0
	mov	x0, x20
	cbnz	x8, LBB0_4
LBB0_3:
	mov	w1, #0
	bl	_process_file
LBB0_4:
	mov	x0, x19
	bl	_free
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%s"

	.comm	_PG_VERSION,4,2                 ; @PG_VERSION
	.comm	_PG_MAJORVERSION,4,2            ; @PG_MAJORVERSION
	.comm	_R_OK,4,2                       ; @R_OK
	.no_dead_strip	_process_psqlrc_file
.subsections_via_symbols
