	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvd_v7_0_process_interrupt
_uvd_v7_0_process_interrupt:            ## @uvd_v7_0_process_interrupt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movl	(%rdx), %esi
	cmpl	$129, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_13
## %bb.3:
	movl	$1, %r15d
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_DEBUG
	movl	4(%rbx), %esi
	cmpl	$119, %esi
	je	LBB0_8
## %bb.5:
	cmpl	$120, %esi
	je	LBB0_9
## %bb.6:
	cmpl	$124, %esi
	jne	LBB0_11
## %bb.7:
	movq	(%r14), %rax
	shlq	$4, %r15
	leaq	(%rax,%r15), %rdi
	addq	$8, %rdi
	callq	_amdgpu_fence_process
	jmp	LBB0_12
LBB0_13:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
	jmp	LBB0_12
LBB0_8:
	movq	(%r14), %rax
	shlq	$4, %r15
	movq	(%rax,%r15), %rdi
	callq	_amdgpu_fence_process
	jmp	LBB0_12
LBB0_9:
	movq	%r14, %rdi
	callq	_amdgpu_sriov_vf
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	(%r14), %rax
	shlq	$4, %r15
	movq	(%rax,%r15), %rdi
	addq	$4, %rdi
	callq	_amdgpu_fence_process
	jmp	LBB0_12
LBB0_11:
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_12:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled client id: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"IH: UVD TRAP\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unhandled interrupt: %d %d\n"

	.no_dead_strip	_uvd_v7_0_process_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvd_v7_0_process_interrupt
_uvd_v7_0_process_interrupt:            ; @uvd_v7_0_process_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x0
	ldr	w1, [x2]
	cmp	w1, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_8
; %bb.2:
	mov	w21, #1
	b	LBB0_4
LBB0_3:
	mov	x21, #0
LBB0_4:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_DEBUG
	ldr	w1, [x20, #4]
	cmp	w1, #119
	b.eq	LBB0_9
; %bb.5:
	cmp	w1, #120
	b.eq	LBB0_10
; %bb.6:
	cmp	w1, #124
	b.ne	LBB0_12
; %bb.7:
	ldr	x8, [x19]
	add	x8, x8, x21, lsl #4
	add	x0, x8, #8
	bl	_amdgpu_fence_process
	b	LBB0_14
LBB0_8:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_13
LBB0_9:
	ldr	x8, [x19]
	lsl	x9, x21, #4
	ldr	x0, [x8, x9]
	bl	_amdgpu_fence_process
	b	LBB0_14
LBB0_10:
	mov	x0, x19
	bl	_amdgpu_sriov_vf
	cbnz	w0, LBB0_14
; %bb.11:
	ldr	x8, [x19]
	lsl	x9, x21, #4
	ldr	x8, [x8, x9]
	add	x0, x8, #4
	bl	_amdgpu_fence_process
	b	LBB0_14
LBB0_12:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_13:
	bl	_DRM_ERROR
LBB0_14:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled client id: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"IH: UVD TRAP\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unhandled interrupt: %d %d\n"

	.no_dead_strip	_uvd_v7_0_process_interrupt
.subsections_via_symbols
