	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__citrus_mapper_create_area     ## -- Begin function _citrus_mapper_create_area
	.p2align	4, 0x90
__citrus_mapper_create_area:            ## @_citrus_mapper_create_area
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_cm_lock@GOTPCREL(%rip), %rdi
	callq	_WLOCK
	xorl	%ebx, %ebx
	cmpq	$0, (%r15)
	jne	LBB0_7
## %bb.1:
	movslq	(%r13), %rsi
	movq	__CITRUS_MAPPER_DIR@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_snprintf
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	callq	_stat
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_7:
	movq	_cm_lock@GOTPCREL(%rip), %rdi
	callq	_UNLOCK
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_CM_HASH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	__CITRUS_HASH_INIT
	movq	%r12, (%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_7
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.comm	_cm_lock,4,2                    ## @cm_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

	.comm	__CITRUS_MAPPER_DIR,8,3         ## @_CITRUS_MAPPER_DIR
	.comm	_errno,4,2                      ## @errno
	.comm	_CM_HASH_SIZE,4,2               ## @CM_HASH_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__citrus_mapper_create_area     ; -- Begin function _citrus_mapper_create_area
	.p2align	2
__citrus_mapper_create_area:            ; @_citrus_mapper_create_area
	.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, x1
	mov	x19, x0
	mov	x23, sp
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	x22, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x22, [x22, _PATH_MAX@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh7:
	adrp	x0, _cm_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _cm_lock@GOTPAGEOFF]
	bl	_WLOCK
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_3
LBB0_2:
	ldrsw	x1, [x22]
Lloh9:
	adrp	x8, __CITRUS_MAPPER_DIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, __CITRUS_MAPPER_DIR@GOTPAGEOFF]
Lloh11:
	ldr	x4, [x8]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	bl	_snprintf
	sub	x1, x29, #64
	mov	x0, x21
	bl	_stat
	mov	x21, x0
	cbz	w0, LBB0_5
LBB0_3:
Lloh14:
	adrp	x0, _cm_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _cm_lock@GOTPAGEOFF]
	bl	_UNLOCK
	mov	sp, x23
	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_10
; %bb.4:
	mov	x0, x21
	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	w0, #16
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
	mov	x0, x20
	bl	_strdup
	str	x0, [x22, #8]
	cbz	x0, LBB0_9
; %bb.7:
Lloh19:
	adrp	x8, _CM_HASH_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CM_HASH_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x22
	bl	__CITRUS_HASH_INIT
	mov	w21, #0
	str	x22, [x19]
	b	LBB0_3
LBB0_8:
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
	b	LBB0_3
LBB0_9:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w21, [x8]
	mov	x0, x22
	bl	_free
	b	LBB0_3
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.comm	_cm_lock,4,2                    ; @cm_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

	.comm	__CITRUS_MAPPER_DIR,8,3         ; @_CITRUS_MAPPER_DIR
	.comm	_errno,4,2                      ; @errno
	.comm	_CM_HASH_SIZE,4,2               ; @CM_HASH_SIZE
.subsections_via_symbols
