	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iopte_leaf
_iopte_leaf:                            ## @iopte_leaf
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	_ARM_LPAE_MAX_LEVELS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%ebx
	movq	_ARM_MALI_LPAE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	callq	_iopte_type
	movq	_ARM_LPAE_PTE_TYPE_BLOCK@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	cmpl	%r14d, %r12d
	je	LBB0_2
## %bb.1:
	movq	_ARM_LPAE_PTE_TYPE_PAGE@GOTPCREL(%rip), %rdx
LBB0_2:
	cmpl	%r15d, %ebx
	cmovneq	%rcx, %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	sete	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_LPAE_MAX_LEVELS,4,2        ## @ARM_LPAE_MAX_LEVELS
	.comm	_ARM_MALI_LPAE,4,2              ## @ARM_MALI_LPAE
	.comm	_ARM_LPAE_PTE_TYPE_PAGE,8,3     ## @ARM_LPAE_PTE_TYPE_PAGE
	.comm	_ARM_LPAE_PTE_TYPE_BLOCK,8,3    ## @ARM_LPAE_PTE_TYPE_BLOCK
	.no_dead_strip	_iopte_leaf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iopte_leaf
_iopte_leaf:                            ; @iopte_leaf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _ARM_LPAE_MAX_LEVELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARM_LPAE_MAX_LEVELS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w21, w8, #1
Lloh3:
	adrp	x8, _ARM_MALI_LPAE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARM_MALI_LPAE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	bl	_iopte_type
	cmp	w22, w19
Lloh6:
	adrp	x8, _ARM_LPAE_PTE_TYPE_BLOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARM_LPAE_PTE_TYPE_BLOCK@GOTPAGEOFF]
Lloh8:
	adrp	x9, _ARM_LPAE_PTE_TYPE_PAGE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ARM_LPAE_PTE_TYPE_PAGE@GOTPAGEOFF]
	ccmp	w21, w20, #0, ne
	csel	x8, x8, x9, ne
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_LPAE_MAX_LEVELS,4,2        ; @ARM_LPAE_MAX_LEVELS
	.comm	_ARM_MALI_LPAE,4,2              ; @ARM_MALI_LPAE
	.comm	_ARM_LPAE_PTE_TYPE_PAGE,8,3     ; @ARM_LPAE_PTE_TYPE_PAGE
	.comm	_ARM_LPAE_PTE_TYPE_BLOCK,8,3    ; @ARM_LPAE_PTE_TYPE_BLOCK
	.no_dead_strip	_iopte_leaf
.subsections_via_symbols
