	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_config_file_path           ## -- Begin function get_config_file_path
	.p2align	4, 0x90
_get_config_file_path:                  ## @get_config_file_path
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_conf@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	xorl	%esi, %esi
	callq	_realpath
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_FATAL
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_3:
	xorl	%eax, %eax
	callq	_get_home
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_realpath
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_free
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:
	cmpq	$0, 8(%r15)
	je	LBB0_9
## %bb.7:
	xorl	%eax, %eax
	callq	_get_global_config
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_realpath
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_10
LBB0_9:
	movq	%rax, %rdi
	callq	_fclose
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,16,3                      ## @conf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to open the specified config file. %s"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"r"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_config_file_path           ; -- Begin function get_config_file_path
	.p2align	2
_get_config_file_path:                  ; @get_config_file_path
	.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
Lloh0:
	adrp	x21, _conf@GOTPAGE
Lloh1:
	ldr	x21, [x21, _conf@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, #0
	bl	_realpath
	mov	x19, x0
	cbnz	x0, LBB0_10
; %bb.2:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FATAL
	b	LBB0_10
LBB0_3:
	bl	_get_home
	mov	x20, x0
	mov	x1, #0
	bl	_realpath
	mov	x19, x0
	cbz	x20, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_free
LBB0_5:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fopen
	cbnz	x0, LBB0_9
; %bb.6:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_9
; %bb.7:
	bl	_get_global_config
	mov	x20, x0
	mov	x1, #0
	bl	_realpath
	mov	x19, x0
	cbz	x20, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_free
	b	LBB0_10
LBB0_9:
	bl	_fclose
LBB0_10:
	mov	x0, x19
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,16,3                      ; @conf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to open the specified config file. %s"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"r"

.subsections_via_symbols
