	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mapper_open
_mapper_open:                           ## @mapper_open
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	addq	$16, %r13
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax)
	movups	%xmm0, 16(%rax)
	movups	%xmm0, (%rax)
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	__citrus_load_module
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:
	movq	(%r13), %rdi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	__citrus_find_getops
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movl	$24, %edi
	callq	_malloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rdi
	callq	*%rbx
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:
	movq	8(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.9:
	cmpl	$0, 16(%rax)
	je	LBB0_12
## %bb.10:
	cmpl	$0, 12(%rax)
	je	LBB0_12
## %bb.11:
	cmpl	$0, 8(%rax)
	je	LBB0_12
## %bb.15:
	movl	$4, %edi
	callq	_malloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.16:
	movq	%rax, %rbx
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %r14d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_strlen
	leaq	1(%rax), %r8
	movl	$4, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%r13, %rcx
	movq	%rbx, %r9
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_18
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %ebx
LBB0_14:
	movq	%r15, %rdi
	callq	_mapper_close
LBB0_18:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mapper"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mapper_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mapper_open
_mapper_open:                           ; @mapper_open
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x24, x2
	mov	x20, x1
	mov	x22, x0
	mov	w0, #48
	bl	_malloc
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	mov	x25, x0
	str	q0, [x25, #16]!
	str	q0, [x0, #32]
	str	q0, [x0]
	mov	x0, x25
	mov	x1, x24
	bl	__citrus_load_module
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.2:
	ldr	x0, [x25]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x24
	bl	__citrus_find_getops
	cbz	x0, LBB0_13
; %bb.3:
	mov	x23, x0
	mov	w0, #24
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_14
; %bb.4:
	blr	x23
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cbz	x9, LBB0_15
; %bb.6:
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_15
; %bb.7:
	ldr	w9, [x8, #12]
	cbz	w9, LBB0_15
; %bb.8:
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_15
; %bb.9:
	mov	w0, #4
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_14
; %bb.10:
	mov	x23, x0
	ldr	x8, [x19, #8]
	ldr	x25, [x8]
	ldr	w24, [x22]
	mov	x0, x21
	bl	_strlen
	add	x4, x0, #1
	mov	x0, x22
	mov	x1, x19
	mov	x2, x24
	mov	x3, x21
	mov	x5, x23
	mov	w6, #4
	blr	x25
	mov	x23, x0
	cbnz	w0, LBB0_17
; %bb.11:
	str	x19, [x20]
	b	LBB0_18
LBB0_12:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	b	LBB0_18
LBB0_13:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_16:
	ldr	w23, [x8]
LBB0_17:
	mov	x0, x19
	bl	_mapper_close
LBB0_18:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mapper"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mapper_open
.subsections_via_symbols
