	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_free_page                  ## -- Begin function get_free_page
	.p2align	4, 0x90
_get_free_page:                         ## @get_free_page
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PAGING_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	_mem_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rsi,%rdx,4)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
## %bb.6:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	$1, (%rsi,%rdx,4)
	movq	_LOW_MEMORY@GOTPCREL(%rip), %rcx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movslq	%edx, %rax
	imulq	%rsi, %rax
	addq	(%rcx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGING_PAGES,4,2               ## @PAGING_PAGES
	.comm	_mem_map,8,3                    ## @mem_map
	.comm	_LOW_MEMORY,8,3                 ## @LOW_MEMORY
	.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	_get_free_page                  ; -- Begin function get_free_page
	.p2align	2
_get_free_page:                         ; @get_free_page
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PAGING_PAGES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGING_PAGES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x8, #0
Lloh3:
	adrp	x10, _mem_map@GOTPAGE
Lloh4:
	ldr	x10, [x10, _mem_map@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x8, lsl #2]
	cbz	w11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_4:
	mov	x0, #0
	ret
LBB0_5:
	mov	w9, #1
	str	w9, [x10, x8, lsl #2]
Lloh6:
	adrp	x9, _LOW_MEMORY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LOW_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldrsw	x10, [x10]
	sxtw	x8, w8
	madd	x0, x10, x8, x9
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGING_PAGES,4,2               ; @PAGING_PAGES
	.comm	_mem_map,8,3                    ; @mem_map
	.comm	_LOW_MEMORY,8,3                 ; @LOW_MEMORY
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
