	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_one_level2_page
_init_one_level2_page:                  ## @init_one_level2_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_PMD_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %r13
	movq	%r13, %rdi
	callq	_pgd_index
	cltq
	leaq	(%rbx,%rax,4), %r12
	movl	(%rbx,%rax,4), %edi
	callq	_pgd_present
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_kimage_alloc_control_pages
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %rdi
	callq	_page_address
	movq	%rax, %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	callq	___pa
	movq	__KERNPG_TABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	___pgd
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_set_pgd
LBB0_3:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_pud_offset
	movq	%rax, %r12
	movl	(%rax), %edi
	callq	_pud_present
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_kimage_alloc_control_pages
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rdi
	callq	_page_address
	movq	%rax, %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	callq	___pa
	movq	__KERNPG_TABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	___pud
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_set_pud
LBB0_6:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_pmd_offset
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_pmd_present
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	___PAGE_KERNEL_LARGE_EXEC@GOTPCREL(%rip), %rax
	orq	(%rax), %r13
	movq	%r13, %rdi
	callq	___pmd
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_set_pmd
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PMD_MASK,8,3                   ## @PMD_MASK
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	__KERNPG_TABLE,4,2              ## @_KERNPG_TABLE
	.comm	___PAGE_KERNEL_LARGE_EXEC,8,3   ## @__PAGE_KERNEL_LARGE_EXEC
	.no_dead_strip	_init_one_level2_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_one_level2_page
_init_one_level2_page:                  ; @init_one_level2_page
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
Lloh3:
	adrp	x8, _PMD_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMD_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x19, x8, x2
	mov	x0, x19
	bl	_pgd_index
	add	x22, x22, w0, sxtw #2
	ldr	w0, [x22]
	bl	_pgd_present
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	bl	_kimage_alloc_control_pages
	cbz	x0, LBB0_9
; %bb.2:
	bl	_page_address
	mov	x23, x0
Lloh6:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	mov	x0, x23
	bl	___pa
Lloh9:
	adrp	x8, __KERNPG_TABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, __KERNPG_TABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w0, w8, w0
	bl	___pgd
	mov	x1, x0
	mov	x0, x22
	bl	_set_pgd
LBB0_3:
	mov	x0, x22
	mov	x1, x19
	bl	_pud_offset
	mov	x22, x0
	ldr	w0, [x0]
	bl	_pud_present
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x21
	mov	w1, #0
	bl	_kimage_alloc_control_pages
	cbz	x0, LBB0_9
; %bb.5:
	bl	_page_address
	mov	x20, x0
Lloh12:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	mov	x0, x20
	bl	___pa
Lloh15:
	adrp	x8, __KERNPG_TABLE@GOTPAGE
Lloh16:
	ldr	x8, [x8, __KERNPG_TABLE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w0, w8, w0
	bl	___pud
	mov	x1, x0
	mov	x0, x22
	bl	_set_pud
LBB0_6:
	mov	x0, x22
	mov	x1, x19
	bl	_pmd_offset
	mov	x20, x0
	ldr	w0, [x0]
	bl	_pmd_present
	cbnz	w0, LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, ___PAGE_KERNEL_LARGE_EXEC@GOTPAGE
Lloh19:
	ldr	x8, [x8, ___PAGE_KERNEL_LARGE_EXEC@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	orr	x0, x8, x19
	bl	___pmd
	mov	x1, x0
	mov	x0, x20
	bl	_set_pmd
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PMD_MASK,8,3                   ; @PMD_MASK
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	__KERNPG_TABLE,4,2              ; @_KERNPG_TABLE
	.comm	___PAGE_KERNEL_LARGE_EXEC,8,3   ; @__PAGE_KERNEL_LARGE_EXEC
	.no_dead_strip	_init_one_level2_page
.subsections_via_symbols
