	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realfs_mmap                    ## -- Begin function realfs_mmap
	.p2align	4, 0x90
_realfs_mmap:                           ## @realfs_mmap
	.cfi_startproc
## %bb.0:
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.1:
	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
	movl	%r9d, %r14d
	movl	%r8d, %r9d
	movl	%ecx, %r13d
	movq	%rsi, %r12
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %ecx
	movq	_MMAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ecx, %eax
	je	LBB0_3
## %bb.2:
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movq	_MMAP_SHARED@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	je	LBB0_5
## %bb.4:
	movq	_MAP_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_5:
	orl	%eax, %ecx
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movq	_P_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	andl	%r14d, %ebx
	je	LBB0_7
## %bb.6:
	movq	_PROT_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_7:
	orl	(%rax), %ebx
	movq	_real_page_size@GOTPCREL(%rip), %rsi
	movl	%r9d, %eax
	cltd
	idivl	(%rsi)
	movl	%edx, %r15d
	subl	%edx, %r9d
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	%r13d, %esi
	addl	%edx, %esi
	movl	(%rdi), %r8d
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_mmap
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movq	%rax, %rcx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pt_map                         ## TAILCALL
LBB0_8:
	xorl	%eax, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMAP_PRIVATE,4,2               ## @MMAP_PRIVATE
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_MMAP_SHARED,4,2                ## @MMAP_SHARED
	.comm	_MAP_SHARED,4,2                 ## @MAP_SHARED
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_P_WRITE,4,2                    ## @P_WRITE
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_real_page_size,4,2             ## @real_page_size
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_realfs_mmap                    ; -- Begin function realfs_mmap
	.p2align	2
_realfs_mmap:                           ; @realfs_mmap
	.cfi_startproc
; %bb.0:
	cbz	w3, LBB0_2
; %bb.1:
	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
	mov	x19, x5
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
Lloh0:
	adrp	x8, _MMAP_PRIVATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMAP_PRIVATE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MAP_PRIVATE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAP_PRIVATE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w6
	csel	w8, wzr, w9, eq
Lloh6:
	adrp	x9, _MMAP_SHARED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMAP_SHARED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _MAP_SHARED@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MAP_SHARED@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w9, w6
	csel	w9, wzr, w10, eq
	orr	w3, w9, w8
Lloh12:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _P_WRITE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _P_WRITE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _PROT_WRITE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _PROT_WRITE@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w5
	csel	w9, wzr, w10, eq
	orr	w2, w9, w8
Lloh21:
	adrp	x8, _real_page_size@GOTPAGE
Lloh22:
	ldr	x8, [x8, _real_page_size@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	sdiv	w9, w4, w8
	mul	w5, w9, w8
	sub	w23, w4, w5
Lloh24:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	madd	w1, w8, w20, w23
	ldr	w4, [x0]
	mov	x0, #0
	bl	_mmap
	mov	x3, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, x23
	mov	x5, x19
	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
	b	_pt_map
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MMAP_PRIVATE,4,2               ; @MMAP_PRIVATE
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_MMAP_SHARED,4,2                ; @MMAP_SHARED
	.comm	_MAP_SHARED,4,2                 ; @MAP_SHARED
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_P_WRITE,4,2                    ; @P_WRITE
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_real_page_size,4,2             ; @real_page_size
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
