	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iommu_handle_ppr_entry
_iommu_handle_ppr_entry:                ## @iommu_handle_ppr_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	(%rsi), %edi
	callq	_PPR_REQ_TYPE
	movq	_PPR_REQ_FAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	4(%rbx), %eax
	movl	%eax, -16(%rbp)
	movl	(%rbx), %edi
	callq	_PPR_PASID
	movl	%eax, -20(%rbp)
	movl	(%rbx), %edi
	callq	_PPR_DEVID
	movl	%eax, -24(%rbp)
	movl	(%rbx), %edi
	callq	_PPR_TAG
	movl	%eax, -28(%rbp)
	movl	(%rbx), %edi
	callq	_PPR_FLAGS
	movl	%eax, -32(%rbp)
	movq	_ppr_notifier@GOTPCREL(%rip), %rdi
	leaq	-32(%rbp), %rdx
	xorl	%esi, %esi
	callq	_atomic_notifier_call_chain
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pr_err_ratelimited             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PPR_REQ_FAULT,8,3              ## @PPR_REQ_FAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown PPR request received\n"

	.comm	_ppr_notifier,4,2               ## @ppr_notifier
	.no_dead_strip	_iommu_handle_ppr_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iommu_handle_ppr_entry
_iommu_handle_ppr_entry:                ; @iommu_handle_ppr_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	ldr	w0, [x1]
	bl	_PPR_REQ_TYPE
Lloh0:
	adrp	x8, _PPR_REQ_FAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPR_REQ_FAULT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	w0, w8, [x19]
	str	w8, [sp, #24]
	bl	_PPR_PASID
	str	w0, [sp, #20]
	ldr	w0, [x19]
	bl	_PPR_DEVID
	str	w0, [sp, #16]
	ldr	w0, [x19]
	bl	_PPR_TAG
	str	w0, [sp, #12]
	ldr	w0, [x19]
	bl	_PPR_FLAGS
	str	w0, [sp, #8]
Lloh3:
	adrp	x0, _ppr_notifier@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ppr_notifier@GOTPAGEOFF]
	add	x2, sp, #8
	mov	w1, #0
	bl	_atomic_notifier_call_chain
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_pr_err_ratelimited
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PPR_REQ_FAULT,8,3              ; @PPR_REQ_FAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown PPR request received\n"

	.comm	_ppr_notifier,4,2               ; @ppr_notifier
	.no_dead_strip	_iommu_handle_ppr_entry
.subsections_via_symbols
