	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mmap_base
_mmap_base:                             ## @mmap_base
	.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
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_RLIMIT_STACK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_MIN_GAP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_MAX_GAP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	cmpq	%rbx, %rax
	cmovbq	%rax, %rbx
	cmpq	%rcx, %rax
	cmovbq	%rcx, %rbx
	movq	_TASK_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	callq	_mmap_rnd
	addq	%rbx, %rax
	subq	%rax, %r14
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PAGE_ALIGN                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_RLIMIT_STACK,8,3               ## @RLIMIT_STACK
	.comm	_MIN_GAP,8,3                    ## @MIN_GAP
	.comm	_MAX_GAP,8,3                    ## @MAX_GAP
	.comm	_TASK_SIZE,8,3                  ## @TASK_SIZE
	.no_dead_strip	_mmap_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mmap_base
_mmap_base:                             ; @mmap_base
	.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
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RLIMIT_STACK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RLIMIT_STACK@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh6:
	adrp	x9, _MIN_GAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MIN_GAP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _MAX_GAP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MAX_GAP@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x10
	csel	x10, x8, x10, lo
	cmp	x8, x9
	csel	x19, x9, x10, lo
Lloh12:
	adrp	x8, _TASK_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TASK_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x8]
	bl	_mmap_rnd
	add	x8, x0, x19
	sub	x0, x20, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PAGE_ALIGN
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_current,8,3                    ; @current
	.comm	_RLIMIT_STACK,8,3               ; @RLIMIT_STACK
	.comm	_MIN_GAP,8,3                    ; @MIN_GAP
	.comm	_MAX_GAP,8,3                    ; @MAX_GAP
	.comm	_TASK_SIZE,8,3                  ; @TASK_SIZE
	.no_dead_strip	_mmap_base
.subsections_via_symbols
