	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_required_directory
_check_required_directory:              ## @check_required_directory
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movq	%r8, %r15
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpb	$0, (%rax)
	jne	LBB0_11
LBB0_2:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_pg_strdup
	movq	%rax, (%rbx)
	jmp	LBB0_11
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.6:
	movq	%rsp, %r15
	movq	_MAXPGPATH@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_getcwd
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_fatal
LBB0_8:
	movq	%r14, %rdi
	callq	_pg_strdup
	movq	%rax, (%rbx)
	movq	%r15, %rsp
LBB0_11:
	movq	(%rbx), %rdi
	callq	_canonicalize_path
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testl	%r13d, %r13d
	jne	LBB0_12
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_pg_fatal
	jmp	LBB0_11
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPGPATH,4,2                  ## @MAXPGPATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not determine current directory\n"

L_.str.1:                               ## @.str.1
	.asciz	"You must identify the directory where the %s.\nPlease use the %s command-line option or the %s environment variable.\n"

	.no_dead_strip	_check_required_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_required_directory
_check_required_directory:              ; @check_required_directory
	.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, #16
	mov	x23, x5
	mov	x20, x4
	mov	x21, x3
	mov	x24, x2
	mov	x22, x1
	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]
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_9
LBB0_2:
	mov	x0, x22
	bl	_getenv
	cbz	x0, LBB0_5
; %bb.3:
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.4:
	bl	_pg_strdup
	str	x0, [x19]
	b	LBB0_9
LBB0_5:
	cbz	w24, LBB0_12
; %bb.6:
	mov	x21, sp
Lloh3:
	adrp	x12, _MAXPGPATH@GOTPAGE
Lloh4:
	ldr	x12, [x12, _MAXPGPATH@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	w1, [x12]
	mov	x0, x20
	bl	_getcwd
	cbnz	w0, LBB0_8
; %bb.7:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_fatal
LBB0_8:
	mov	x0, x20
	bl	_pg_strdup
	str	x0, [x19]
	mov	sp, x21
LBB0_9:
	ldr	x0, [x19]
	bl	_canonicalize_path
LBB0_10:
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.11:
	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_12:
	cbnz	w23, LBB0_10
; %bb.13:
	sub	sp, sp, #32
	stp	x21, x22, [sp, #8]
	str	x20, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_fatal
	add	sp, sp, #32
	b	LBB0_9
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPGPATH,4,2                  ; @MAXPGPATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not determine current directory\n"

l_.str.1:                               ; @.str.1
	.asciz	"You must identify the directory where the %s.\nPlease use the %s command-line option or the %s environment variable.\n"

	.no_dead_strip	_check_required_directory
.subsections_via_symbols
