	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_path_mkdir                     ## -- Begin function path_mkdir
	.p2align	4, 0x90
_path_mkdir:                            ## @path_mkdir
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_12
## %bb.2:
	movq	%rbx, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_path_parent_dir
	cmpb	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	callq	_path_is_directory
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_5:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_8:
	movq	%r15, %rdi
	callq	_path_mkdir
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_free
	testl	%r12d, %r12d
	je	LBB0_12
LBB0_9:
	movq	%rbx, %rdi
	callq	_path_mkdir_cb
	movl	%eax, %r15d
	cmpl	$-2, %eax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_path_is_directory
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_12
LBB0_11:
	xorl	%r14d, %r14d
	testl	%r15d, %r15d
	sete	%r14b
LBB0_12:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_path_mkdir                     ; -- Begin function path_mkdir
	.p2align	2
_path_mkdir:                            ; @path_mkdir
	.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
	cbz	x0, LBB0_13
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_12
; %bb.2:
	mov	x0, x19
	bl	_strdup
	cbz	x0, LBB0_13
; %bb.3:
	mov	x20, x0
	bl	_path_parent_dir
	ldrb	w8, [x20]
	cbz	w8, LBB0_7
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_path_is_directory
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_free
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_free
	mov	w0, #0
	b	LBB0_13
LBB0_8:
	mov	x0, x20
	bl	_path_mkdir
	mov	x21, x0
	mov	x0, x20
	bl	_free
	cbz	w21, LBB0_12
LBB0_9:
	mov	x0, x19
	bl	_path_mkdir_cb
	mov	x20, x0
	cmn	w0, #2
	b.ne	LBB0_14
; %bb.10:
	mov	x0, x19
	bl	_path_is_directory
	cbz	x0, LBB0_14
; %bb.11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
LBB0_14:
	cmp	w20, #0
	cset	w0, eq
	b	LBB0_13
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
