	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_config_file
_read_config_file:                      ## @read_config_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_ghb_get_user_config_dir
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r15, %rdx
	callq	_g_strdup_printf
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_g_free
	movq	_G_FILE_TEST_IS_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_g_file_test
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_ghb_json_parse_file
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_hb_plist_parse_file
	movq	%rax, %r14
LBB0_3:
	movq	%r15, %rdi
	callq	_g_free
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

	.comm	_G_FILE_TEST_IS_REGULAR,4,2     ## @G_FILE_TEST_IS_REGULAR
	.no_dead_strip	_read_config_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_config_file
_read_config_file:                      ; @read_config_file
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, #0
	bl	_ghb_get_user_config_dir
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x19
	bl	_g_strdup_printf
	mov	x19, x0
	mov	x0, x20
	bl	_g_free
Lloh2:
	adrp	x8, _G_FILE_TEST_IS_REGULAR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _G_FILE_TEST_IS_REGULAR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_g_file_test
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ghb_json_parse_file
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_hb_plist_parse_file
	mov	x20, x0
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x19
	bl	_g_free
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

	.comm	_G_FILE_TEST_IS_REGULAR,4,2     ; @G_FILE_TEST_IS_REGULAR
	.no_dead_strip	_read_config_file
.subsections_via_symbols
