	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function event_interrupt_wq_v9
LCPI0_0:
	.quad	32                              ## 0x20
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_event_interrupt_wq_v9:                 ## @event_interrupt_wq_v9
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_SOC15_SOURCE_ID_FROM_IH_ENTRY
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_SOC15_CLIENT_ID_FROM_IH_ENTRY
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_SOC15_PASID_FROM_IH_ENTRY
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_SOC15_VMID_FROM_IH_ENTRY
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_SOC15_CONTEXT_ID0_FROM_IH_ENTRY
	movq	_SOC15_INTSRC_CP_END_OF_PIPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jne	LBB0_3
## %bb.1:
	movq	%r13, %rdi
	movl	%eax, %esi
	movl	$32, %edx
	jmp	LBB0_2
LBB0_3:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	_SOC15_INTSRC_SDMA_TRAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jne	LBB0_5
## %bb.4:
	andl	$268435455, %eax                ## imm = 0xFFFFFFF
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	$28, %edx
	jmp	LBB0_2
LBB0_5:
	movq	_SOC15_INTSRC_SQ_INTERRUPT_MSG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jne	LBB0_7
## %bb.6:
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	$24, %edx
LBB0_2:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfd_signal_event_interrupt     ## TAILCALL
LBB0_7:
	movq	_SOC15_INTSRC_CP_BAD_OPCODE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_8
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfd_signal_hw_exception_event  ## TAILCALL
LBB0_8:
	movq	_SOC15_IH_CLIENTID_VMC@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_11
## %bb.9:
	movq	_SOC15_IH_CLIENTID_VMC1@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_11
## %bb.10:
	movq	_SOC15_IH_CLIENTID_UTCL2@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_12
LBB0_11:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -64(%rbp)
	movq	%rbx, %rdi
	callq	_SOC15_RING_ID_FROM_IH_ENTRY
	movq	%r12, -72(%rbp)
	movq	%r15, -80(%rbp)
	movq	%rax, %xmm0
                                        ## kill: def $eax killed $eax killed $rax def $rax
	andl	$8, %eax
	movq	%rax, -88(%rbp)
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	pand	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, -104(%rbp)
	movl	(%r13), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_kfd_process_vm_fault
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_kfd_signal_vm_fault_event
LBB0_12:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SOC15_INTSRC_CP_END_OF_PIPE,8,3 ## @SOC15_INTSRC_CP_END_OF_PIPE
	.comm	_SOC15_INTSRC_SDMA_TRAP,8,3     ## @SOC15_INTSRC_SDMA_TRAP
	.comm	_SOC15_INTSRC_SQ_INTERRUPT_MSG,8,3 ## @SOC15_INTSRC_SQ_INTERRUPT_MSG
	.comm	_SOC15_INTSRC_CP_BAD_OPCODE,8,3 ## @SOC15_INTSRC_CP_BAD_OPCODE
	.comm	_SOC15_IH_CLIENTID_VMC,8,3      ## @SOC15_IH_CLIENTID_VMC
	.comm	_SOC15_IH_CLIENTID_VMC1,8,3     ## @SOC15_IH_CLIENTID_VMC1
	.comm	_SOC15_IH_CLIENTID_UTCL2,8,3    ## @SOC15_IH_CLIENTID_UTCL2
	.no_dead_strip	_event_interrupt_wq_v9
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function event_interrupt_wq_v9
lCPI0_0:
	.quad	32                              ; 0x20
	.quad	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_event_interrupt_wq_v9:                 ; @event_interrupt_wq_v9
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_SOC15_SOURCE_ID_FROM_IH_ENTRY
	mov	x24, x0
	mov	x0, x21
	bl	_SOC15_CLIENT_ID_FROM_IH_ENTRY
	mov	x22, x0
	mov	x0, x21
	bl	_SOC15_PASID_FROM_IH_ENTRY
	mov	x20, x0
	mov	x0, x21
	bl	_SOC15_VMID_FROM_IH_ENTRY
	mov	x23, x0
	mov	x0, x21
	bl	_SOC15_CONTEXT_ID0_FROM_IH_ENTRY
	mov	x1, x0
Lloh0:
	adrp	x8, _SOC15_INTSRC_CP_END_OF_PIPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SOC15_INTSRC_CP_END_OF_PIPE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w2, #32
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x8, _SOC15_INTSRC_SDMA_TRAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOC15_INTSRC_SDMA_TRAP@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_4
; %bb.3:
	and	w1, w1, #0xfffffff
	mov	x0, x20
	mov	w2, #28
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _SOC15_INTSRC_SQ_INTERRUPT_MSG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOC15_INTSRC_SQ_INTERRUPT_MSG@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_7
; %bb.5:
	and	w1, w1, #0xffffff
	mov	x0, x20
	mov	w2, #24
LBB0_6:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_kfd_signal_event_interrupt
LBB0_7:
Lloh9:
	adrp	x8, _SOC15_INTSRC_CP_BAD_OPCODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SOC15_INTSRC_CP_BAD_OPCODE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_kfd_signal_hw_exception_event
LBB0_9:
Lloh12:
	adrp	x8, _SOC15_IH_CLIENTID_VMC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOC15_IH_CLIENTID_VMC@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _SOC15_IH_CLIENTID_VMC1@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SOC15_IH_CLIENTID_VMC1@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _SOC15_IH_CLIENTID_UTCL2@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SOC15_IH_CLIENTID_UTCL2@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x22, x8
	ccmp	x22, x9, #4, ne
	ccmp	x22, x10, #4, ne
	b.ne	LBB0_11
; %bb.10:
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	mov	x0, x21
	bl	_SOC15_RING_ID_FROM_IH_ENTRY
	stp	x22, x23, [sp, #32]
	and	x8, x0, #0x8
	dup.2d	v0, x0
	str	x8, [sp, #24]
Lloh21:
	adrp	x8, lCPI0_0@PAGE
Lloh22:
	ldr	q1, [x8, lCPI0_0@PAGEOFF]
	and.16b	v0, v0, v1
	stur	q0, [sp, #8]
	ldr	w0, [x19]
	mov	x1, x20
	bl	_kfd_process_vm_fault
	mov	x2, sp
	mov	x0, x19
	mov	x1, x20
	bl	_kfd_signal_vm_fault_event
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SOC15_INTSRC_CP_END_OF_PIPE,8,3 ; @SOC15_INTSRC_CP_END_OF_PIPE
	.comm	_SOC15_INTSRC_SDMA_TRAP,8,3     ; @SOC15_INTSRC_SDMA_TRAP
	.comm	_SOC15_INTSRC_SQ_INTERRUPT_MSG,8,3 ; @SOC15_INTSRC_SQ_INTERRUPT_MSG
	.comm	_SOC15_INTSRC_CP_BAD_OPCODE,8,3 ; @SOC15_INTSRC_CP_BAD_OPCODE
	.comm	_SOC15_IH_CLIENTID_VMC,8,3      ; @SOC15_IH_CLIENTID_VMC
	.comm	_SOC15_IH_CLIENTID_VMC1,8,3     ; @SOC15_IH_CLIENTID_VMC1
	.comm	_SOC15_IH_CLIENTID_UTCL2,8,3    ; @SOC15_IH_CLIENTID_UTCL2
	.no_dead_strip	_event_interrupt_wq_v9
.subsections_via_symbols
