	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_sect_mmap                  ## -- Begin function ctf_sect_mmap
	.p2align	4, 0x90
_ctf_sect_mmap:                         ## @ctf_sect_mmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r8d
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	__PAGEMASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	%r9, %rbx
	notq	%rbx
	andq	%rax, %rbx
	movq	16(%rdi), %rsi
	addq	%rbx, %rsi
	movq	_PROT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andq	%rax, %r9
	xorl	%edi, %edi
	callq	_mmap64
	movq	_MAP_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rcx
	addq	%rbx, %rcx
	movq	%rcx, 8(%r14)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PAGEMASK,8,3                  ## @_PAGEMASK
	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_sect_mmap                  ; -- Begin function ctf_sect_mmap
	.p2align	2
_ctf_sect_mmap:                         ; @ctf_sect_mmap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x1
	mov	x19, x0
Lloh0:
	adrp	x8, __PAGEMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PAGEMASK@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	bic	x20, x9, x8
	ldr	x10, [x0, #16]
Lloh3:
	adrp	x11, _PROT_READ@GOTPAGE
Lloh4:
	ldr	x11, [x11, _PROT_READ@GOTPAGEOFF]
	add	x1, x10, x20
Lloh5:
	ldr	w2, [x11]
Lloh6:
	adrp	x10, _MAP_PRIVATE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MAP_PRIVATE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x10]
	and	x5, x8, x9
	mov	x0, #0
	bl	_mmap64
Lloh9:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	add	x8, x0, x20
	str	x8, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__PAGEMASK,8,3                  ; @_PAGEMASK
	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
.subsections_via_symbols
