	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_iopte_attr
_get_iopte_attr:                        ## @get_iopte_attr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movl	8(%rdi), %eax
	movq	16(%rdi), %rdx
	movq	_MMU_CAM_PGSZ_64K@GOTPCREL(%rip), %rsi
	shll	$5, %ecx
	orl	4(%rdi), %ecx
	sarl	$3, %eax
	orl	%ecx, %eax
	xorl	%edi, %edi
	cmpq	(%rsi), %rdx
	movq	_MMU_CAM_PGSZ_4K@GOTPCREL(%rip), %rsi
	movl	$6, %ecx
	cmovel	%edi, %ecx
	cmpq	(%rsi), %rdx
	cmovel	%edi, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMU_CAM_PGSZ_4K,8,3            ## @MMU_CAM_PGSZ_4K
	.comm	_MMU_CAM_PGSZ_64K,8,3           ## @MMU_CAM_PGSZ_64K
	.no_dead_strip	_get_iopte_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_iopte_attr
_get_iopte_attr:                        ; @get_iopte_attr
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	ldr	w10, [x0, #8]
	ldr	x11, [x0, #16]
Lloh0:
	adrp	x12, _MMU_CAM_PGSZ_4K@GOTPAGE
Lloh1:
	ldr	x12, [x12, _MMU_CAM_PGSZ_4K@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
Lloh3:
	adrp	x13, _MMU_CAM_PGSZ_64K@GOTPAGE
Lloh4:
	ldr	x13, [x13, _MMU_CAM_PGSZ_64K@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x13]
	cmp	x11, x13
	ccmp	x11, x12, #4, ne
	mov	w11, #6
	csel	w11, wzr, w11, eq
	orr	w8, w9, w8, lsl #5
	orr	w8, w8, w10, asr #3
	lsl	w0, w8, w11
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMU_CAM_PGSZ_4K,8,3            ; @MMU_CAM_PGSZ_4K
	.comm	_MMU_CAM_PGSZ_64K,8,3           ; @MMU_CAM_PGSZ_64K
	.no_dead_strip	_get_iopte_attr
.subsections_via_symbols
