	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_get_user_config_dir        ## -- Begin function ghb_get_user_config_dir
	.p2align	4, 0x90
_ghb_get_user_config_dir:               ## @ghb_get_user_config_dir
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_override_user_config_dir@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_g_get_user_config_dir
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	_G_FILE_TEST_IS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_g_file_test
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %r15
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_g_get_home_dir
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r15
LBB0_6:
	movq	_G_FILE_TEST_IS_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_g_file_test
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rbx
	leaq	L_.str.1(%rip), %r15
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_g_strdup_printf
	movq	%rax, %r12
	movq	_G_FILE_TEST_IS_DIR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rax, %rdi
	callq	_g_file_test
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	movl	$493, %esi                      ## imm = 0x1ED
	callq	_g_mkdir
LBB0_10:
	testq	%r14, %r14
	je	LBB0_17
## %bb.11:
	movq	_G_DIR_SEPARATOR_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_g_strsplit
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.12:
	movq	%rax, %r14
	addq	$8, %r14
	leaq	L_.str.3(%rip), %r15
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	(%r14), %rdx
	addq	$8, %r14
	testq	%rdx, %rdx
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_g_strdup_printf
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_g_free
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_g_file_test
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r12, %rdi
	movl	$493, %esi                      ## imm = 0x1ED
	callq	_g_mkdir
	jmp	LBB0_15
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_g_strfreev
LBB0_17:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ghb"

	.comm	_override_user_config_dir,8,3   ## @override_user_config_dir
	.comm	_G_FILE_TEST_IS_DIR,4,2         ## @G_FILE_TEST_IS_DIR
L_.str.1:                               ## @.str.1
	.asciz	".ghb"

L_.str.2:                               ## @.str.2
	.asciz	"./"

L_.str.3:                               ## @.str.3
	.asciz	"%s/%s"

	.comm	_G_DIR_SEPARATOR_S,4,2          ## @G_DIR_SEPARATOR_S
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ghb_get_user_config_dir        ; -- Begin function ghb_get_user_config_dir
	.p2align	2
_ghb_get_user_config_dir:               ; @ghb_get_user_config_dir
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _override_user_config_dir@GOTPAGE
Lloh1:
	ldr	x8, [x8, _override_user_config_dir@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
Lloh3:
	adrp	x23, _G_FILE_TEST_IS_DIR@GOTPAGE
Lloh4:
	ldr	x23, [x23, _G_FILE_TEST_IS_DIR@GOTPAGEOFF]
	cbnz	x20, LBB0_2
; %bb.1:
	bl	_g_get_user_config_dir
	mov	x20, x0
	cbz	x0, LBB0_4
LBB0_2:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_g_file_test
	cbz	w0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	bl	_g_get_home_dir
	cbz	x0, LBB0_7
; %bb.5:
	mov	x20, x0
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_g_file_test
	cbnz	w0, LBB0_8
LBB0_7:
Lloh9:
	adrp	x20, l_.str.2@PAGE
Lloh10:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh11:
	adrp	x21, l_.str.1@PAGE
Lloh12:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_8:
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_g_strdup_printf
	mov	x20, x0
	ldr	w1, [x23]
	bl	_g_file_test
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x20
	mov	w1, #493
	bl	_g_mkdir
LBB0_10:
	cbz	x19, LBB0_17
; %bb.11:
Lloh15:
	adrp	x8, _G_DIR_SEPARATOR_S@GOTPAGE
Lloh16:
	ldr	x8, [x8, _G_DIR_SEPARATOR_S@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_g_strsplit
	mov	x19, x0
	ldr	x2, [x0]
	cbz	x2, LBB0_16
; %bb.12:
	add	x24, x19, #8
Lloh18:
	adrp	x21, l_.str.3@PAGE
Lloh19:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x2, [x24], #8
	cbz	x2, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	mov	x0, x21
	mov	x1, x20
	bl	_g_strdup_printf
	mov	x20, x0
	mov	x0, x22
	bl	_g_free
	ldr	w1, [x23]
	mov	x0, x20
	bl	_g_file_test
	cbnz	w0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	mov	w1, #493
	bl	_g_mkdir
	b	LBB0_13
LBB0_16:
	mov	x0, x19
	bl	_g_strfreev
LBB0_17:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ghb"

	.comm	_override_user_config_dir,8,3   ; @override_user_config_dir
	.comm	_G_FILE_TEST_IS_DIR,4,2         ; @G_FILE_TEST_IS_DIR
l_.str.1:                               ; @.str.1
	.asciz	".ghb"

l_.str.2:                               ; @.str.2
	.asciz	"./"

l_.str.3:                               ; @.str.3
	.asciz	"%s/%s"

	.comm	_G_DIR_SEPARATOR_S,4,2          ; @G_DIR_SEPARATOR_S
.subsections_via_symbols
