	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dir_check_defaults             ## -- Begin function dir_check_defaults
	.p2align	4, 0x90
_dir_check_defaults:                    ## @dir_check_defaults
	.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
	leaq	L_.str(%rip), %rdi
	callq	_path_is_valid
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	_DEFAULT_DIR_LAST@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_9
## %bb.2:
	xorl	%ebx, %ebx
	movq	_g_defaults@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_free
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jae	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %r12
	movq	%r12, %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movb	$0, (%rax)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_fill_pathname_expand_special
	movq	%r14, %rdi
	callq	_path_is_directory
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_path_mkdir
	jmp	LBB0_7
LBB0_9:
	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	"custom.ini"

	.comm	_DEFAULT_DIR_LAST,4,2           ## @DEFAULT_DIR_LAST
	.comm	_g_defaults,8,3                 ## @g_defaults
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dir_check_defaults             ; -- Begin function dir_check_defaults
	.p2align	2
_dir_check_defaults:                    ; @dir_check_defaults
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_path_is_valid
Lloh2:
	adrp	x21, _DEFAULT_DIR_LAST@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DEFAULT_DIR_LAST@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	x0, #0
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_2
LBB0_1:
	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_2:
	mov	x22, #0
Lloh4:
	adrp	x23, _g_defaults@GOTPAGE
Lloh5:
	ldr	x23, [x23, _g_defaults@GOTPAGEOFF]
Lloh6:
	adrp	x24, _PATH_MAX_LENGTH@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PATH_MAX_LENGTH@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_free
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	w8, [x21]
	cmp	x22, x8
	b.hs	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x20, [x8, x22, lsl #3]
	mov	x0, x20
	bl	_string_is_empty
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	bl	_malloc
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, x0
	strb	wzr, [x0]
	ldr	w2, [x24]
	mov	x1, x20
	bl	_fill_pathname_expand_special
	mov	x0, x19
	bl	_path_is_directory
	cbnz	w0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_path_mkdir
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"custom.ini"

	.comm	_DEFAULT_DIR_LAST,4,2           ; @DEFAULT_DIR_LAST
	.comm	_g_defaults,8,3                 ; @g_defaults
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
.subsections_via_symbols
