	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_lpae_init_pte
_arm_lpae_init_pte:                     ## @arm_lpae_init_pte
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, %r15d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	(%r9), %ebx
	movl	(%rdi), %edx
	movl	%ebx, %edi
	movl	%r8d, %esi
	callq	_iopte_leaf
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_selftest_running@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_WARN_ON
	movq	_EEXIST@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_6:
	subl	(%rax), %r12d
	jmp	LBB0_7
LBB0_2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_iopte_type
	movq	_ARM_LPAE_PTE_TYPE_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r12, %r8
	jne	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	callq	_ARM_LPAE_BLOCK_SIZE
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_ARM_LPAE_LVL_IDX
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	subq	%rax, %r9
	sarq	$2, %r9
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	callq	___arm_lpae_unmap
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cmpq	%rbx, %rax
	jne	LBB0_5
LBB0_4:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	callq	___arm_lpae_init_pte
	xorl	%r12d, %r12d
LBB0_7:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$1, %edi
	callq	_WARN_ON
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_selftest_running,4,2           ## @selftest_running
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ARM_LPAE_PTE_TYPE_TABLE,8,3    ## @ARM_LPAE_PTE_TYPE_TABLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_arm_lpae_init_pte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_lpae_init_pte
_arm_lpae_init_pte:                     ; @arm_lpae_init_pte
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x23, x0
	ldr	w25, [x5]
	ldr	w2, [x0]
	mov	x0, x25
	mov	x1, x4
	bl	_iopte_leaf
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _selftest_running@GOTPAGE
Lloh1:
	ldr	x8, [x8, _selftest_running@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
Lloh3:
	adrp	x8, _EEXIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_3:
	mov	x0, x25
	mov	x1, x20
	bl	_iopte_type
Lloh5:
	adrp	x8, _ARM_LPAE_PTE_TYPE_TABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARM_LPAE_PTE_TYPE_TABLE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x23
	bl	_ARM_LPAE_BLOCK_SIZE
	mov	x25, x0
	mov	x0, x24
	mov	x1, x20
	mov	x2, x23
	bl	_ARM_LPAE_LVL_IDX
	sub	x8, x19, x0
	asr	x5, x8, #2
	mov	x0, x23
	mov	x1, #0
	mov	x2, x24
	mov	x3, x25
	mov	x4, x20
	bl	___arm_lpae_unmap
	cmp	x0, x25
	b.ne	LBB0_7
LBB0_5:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	___arm_lpae_init_pte
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w0, #1
	bl	_WARN_ON
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_selftest_running,4,2           ; @selftest_running
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ARM_LPAE_PTE_TYPE_TABLE,8,3    ; @ARM_LPAE_PTE_TYPE_TABLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_arm_lpae_init_pte
.subsections_via_symbols
