	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_mmio_gap
_remove_mmio_gap:                       ## @remove_mmio_gap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__4GB@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_top_lm@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	subq	%rcx, %rdx
	xorl	%eax, %eax
	cmpq	%rdi, %rcx
	cmovleq	%rdx, %rax
	addq	%rdi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__4GB,8,3                       ## @_4GB
	.comm	_top_lm,8,3                     ## @top_lm
	.no_dead_strip	_remove_mmio_gap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_mmio_gap
_remove_mmio_gap:                       ; @remove_mmio_gap
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, __4GB@GOTPAGE
Lloh1:
	ldr	x8, [x8, __4GB@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _top_lm@GOTPAGE
Lloh4:
	ldr	x9, [x9, _top_lm@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	sub	x9, x9, x8
	cmp	x8, x0
	csel	x8, xzr, x9, gt
	add	x0, x8, x0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__4GB,8,3                       ; @_4GB
	.comm	_top_lm,8,3                     ; @top_lm
	.no_dead_strip	_remove_mmio_gap
.subsections_via_symbols
