	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_level3_page
_init_level3_page:                      ## @init_level3_page
	.cfi_startproc
## %bb.0:
	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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rbx
	movq	_PGDIR_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	addq	%rbx, %r15
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rbx
	jae	LBB0_6
## %bb.1:
	cmpq	%r15, %rbx
	jae	LBB0_6
## %bb.2:
	movl	%r14d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_kimage_alloc_control_pages
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	callq	_page_address
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_init_level2_page
	addq	$4, %r14
	movq	%r12, %rdi
	callq	___pa
	movq	__KERNPG_TABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	___pud
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_set_pud
	movq	_PUD_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	addl	$4, %r13d
	cmpq	%r15, %rbx
	jb	LBB0_3
LBB0_6:
	xorl	%r12d, %r12d
	cmpq	%r15, %rbx
	jae	LBB0_5
## %bb.7:
	movq	_PUD_SIZE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_pud_clear
	addq	(%r13), %rbx
	addl	$4, %r14d
	cmpq	%r15, %rbx
	jb	LBB0_8
	jmp	LBB0_5
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_5:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_PGDIR_SIZE,8,3                 ## @PGDIR_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	__KERNPG_TABLE,4,2              ## @_KERNPG_TABLE
	.comm	_PUD_SIZE,8,3                   ## @PUD_SIZE
	.no_dead_strip	_init_level3_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_level3_page
_init_level3_page:                      ; @init_level3_page
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x8, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	and	x20, x8, x2
Lloh3:
	adrp	x8, _PGDIR_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PGDIR_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x25, x20, x8
	cmp	x20, x3
	ccmp	x20, x25, #2, lo
	b.hs	LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x22, x0
Lloh6:
	adrp	x26, __KERNPG_TABLE@GOTPAGE
Lloh7:
	ldr	x26, [x26, __KERNPG_TABLE@GOTPAGEOFF]
Lloh8:
	adrp	x27, _PUD_SIZE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _PUD_SIZE@GOTPAGEOFF]
	mov	x23, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #0
	bl	_kimage_alloc_control_pages
	cbz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_page_address
	mov	x24, x0
	mov	x1, x20
	bl	_init_level2_page
	add	x19, x19, #4
	mov	x0, x24
	bl	___pa
	ldr	w8, [x26]
	orr	w0, w8, w0
	bl	___pud
	mov	x1, x0
	mov	x0, x23
	bl	_set_pud
	ldr	x8, [x27]
	add	w23, w23, #4
	add	x20, x8, x20
	cmp	x20, x21
	ccmp	x20, x25, #2, lo
	b.lo	LBB0_2
LBB0_4:
	cmp	x20, x25
	b.hs	LBB0_7
; %bb.5:
Lloh10:
	adrp	x21, _PUD_SIZE@GOTPAGE
Lloh11:
	ldr	x21, [x21, _PUD_SIZE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_pud_clear
	ldr	x8, [x21]
	add	w19, w19, #4
	add	x20, x8, x20
	cmp	x20, x25
	b.lo	LBB0_6
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_PGDIR_SIZE,8,3                 ; @PGDIR_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	__KERNPG_TABLE,4,2              ; @_KERNPG_TABLE
	.comm	_PUD_SIZE,8,3                   ; @PUD_SIZE
	.no_dead_strip	_init_level3_page
.subsections_via_symbols
