	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_CreatePath                  ## -- Begin function FS_CreatePath
	.p2align	4, 0x90
_FS_CreatePath:                         ## @FS_CreatePath
	.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, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_INSTALL_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_Com_Printf
	movq	_qtrue@GOTPCREL(%rip), %r12
LBB0_11:
	movl	(%r12), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_Q_strncpyz
	movq	%r14, %rdi
	callq	_FS_ReplaceSeparators
	movq	_PATH_SEP@GOTPCREL(%rip), %r13
	movsbl	(%r13), %esi
	movq	%r14, %rdi
	callq	_strchr
	movq	_qfalse@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %rbx
	movb	1(%rax), %al
	testb	%al, %al
	je	LBB0_11
## %bb.5:
	addq	$2, %rbx
	leaq	L_.str.3(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%r13), %eax
	movb	%al, -1(%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	(%r13), %al
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, -1(%rbx)
	movq	%r14, %rdi
	callq	_Sys_Mkdir
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_ERR_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_Com_Error
	jmp	LBB0_9
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_INSTALL_PATH,4,2           ## @MAX_INSTALL_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".."

L_.str.1:                               ## @.str.1
	.asciz	"::"

L_.str.2:                               ## @.str.2
	.asciz	"WARNING: refusing to create relative path \"%s\"\n"

	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_PATH_SEP,1,0                   ## @PATH_SEP
	.comm	_ERR_FATAL,4,2                  ## @ERR_FATAL
L_.str.3:                               ## @.str.3
	.asciz	"FS_CreatePath: failed to create path \"%s\""

	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FS_CreatePath                  ; -- Begin function FS_CreatePath
	.p2align	2
_FS_CreatePath:                         ; @FS_CreatePath
	.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
	sub	sp, sp, #16
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_INSTALL_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_INSTALL_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbnz	x0, LBB0_2
; %bb.1:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strstr
	cbz	x0, LBB0_5
LBB0_2:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x20
	bl	_Com_Printf
Lloh14:
	adrp	x22, _qtrue@GOTPAGE
Lloh15:
	ldr	x22, [x22, _qtrue@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x22]
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.4:
	sub	sp, x29, #48
	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_5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_Q_strncpyz
	mov	x0, x19
	bl	_FS_ReplaceSeparators
Lloh19:
	adrp	x21, _PATH_SEP@GOTPAGE
Lloh20:
	ldr	x21, [x21, _PATH_SEP@GOTPAGEOFF]
	ldrsb	w1, [x21]
	mov	x0, x19
	bl	_strchr
	cbz	x0, LBB0_13
; %bb.6:
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_13
; %bb.7:
	add	x23, x0, #2
Lloh21:
	adrp	x24, _ERR_FATAL@GOTPAGE
Lloh22:
	ldr	x24, [x24, _ERR_FATAL@GOTPAGEOFF]
Lloh23:
	adrp	x22, _qfalse@GOTPAGE
Lloh24:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
Lloh25:
	adrp	x20, l_.str.3@PAGE
Lloh26:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x21]
	sturb	w8, [x23, #-1]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x23], #1
	cbz	w8, LBB0_3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sturb	wzr, [x23, #-1]
	mov	x0, x19
	bl	_Sys_Mkdir
	cbnz	w0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x24]
	mov	x1, x20
	mov	x2, x19
	bl	_Com_Error
	b	LBB0_8
LBB0_13:
Lloh27:
	adrp	x22, _qfalse@GOTPAGE
Lloh28:
	ldr	x22, [x22, _qfalse@GOTPAGEOFF]
	b	LBB0_3
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_INSTALL_PATH,4,2           ; @MAX_INSTALL_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".."

l_.str.1:                               ; @.str.1
	.asciz	"::"

l_.str.2:                               ; @.str.2
	.asciz	"WARNING: refusing to create relative path \"%s\"\n"

	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_PATH_SEP,1,0                   ; @PATH_SEP
	.comm	_ERR_FATAL,4,2                  ; @ERR_FATAL
l_.str.3:                               ; @.str.3
	.asciz	"FS_CreatePath: failed to create path \"%s\""

	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
