	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trigger_aux_channel_interrupt
_trigger_aux_channel_interrupt:         ## @trigger_aux_channel_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	__DPA_AUX_CH_CTL@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_AUX_CHANNEL_A@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	__PCH_DPB_AUX_CH_CTL@GOTPCREL(%rip), %rcx
	movq	_AUX_CHANNEL_B@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.4:
	movq	__DPB_AUX_CH_CTL@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.5:
	movq	__PCH_DPC_AUX_CH_CTL@GOTPCREL(%rip), %rcx
	movq	_AUX_CHANNEL_C@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.6:
	movq	__DPC_AUX_CH_CTL@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.7:
	movq	__PCH_DPD_AUX_CH_CTL@GOTPCREL(%rip), %rcx
	movq	_AUX_CHANNEL_D@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.8:
	movq	__DPD_AUX_CH_CTL@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.9:
	movl	$1, %edi
	callq	_WARN_ON
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	(%rax), %esi
	callq	_intel_vgpu_trigger_virtual_event
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__DPA_AUX_CH_CTL,4,2            ## @_DPA_AUX_CH_CTL
	.comm	_AUX_CHANNEL_A,4,2              ## @AUX_CHANNEL_A
	.comm	__PCH_DPB_AUX_CH_CTL,4,2        ## @_PCH_DPB_AUX_CH_CTL
	.comm	__DPB_AUX_CH_CTL,4,2            ## @_DPB_AUX_CH_CTL
	.comm	_AUX_CHANNEL_B,4,2              ## @AUX_CHANNEL_B
	.comm	__PCH_DPC_AUX_CH_CTL,4,2        ## @_PCH_DPC_AUX_CH_CTL
	.comm	__DPC_AUX_CH_CTL,4,2            ## @_DPC_AUX_CH_CTL
	.comm	_AUX_CHANNEL_C,4,2              ## @AUX_CHANNEL_C
	.comm	__PCH_DPD_AUX_CH_CTL,4,2        ## @_PCH_DPD_AUX_CH_CTL
	.comm	__DPD_AUX_CH_CTL,4,2            ## @_DPD_AUX_CH_CTL
	.comm	_AUX_CHANNEL_D,4,2              ## @AUX_CHANNEL_D
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_trigger_aux_channel_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trigger_aux_channel_interrupt
_trigger_aux_channel_interrupt:         ; @trigger_aux_channel_interrupt
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, __DPA_AUX_CH_CTL@GOTPAGE
Lloh1:
	ldr	x8, [x8, __DPA_AUX_CH_CTL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AUX_CHANNEL_A@GOTPAGE
Lloh4:
	ldr	x8, [x8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, w1, #4, ne
	b.ne	LBB0_9
; %bb.7:
Lloh27:
	adrp	x8, _AUX_CHANNEL_D@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AUX_CHANNEL_D@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	bl	_intel_vgpu_trigger_virtual_event
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #1
	bl	_WARN_ON
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	__DPA_AUX_CH_CTL,4,2            ; @_DPA_AUX_CH_CTL
	.comm	_AUX_CHANNEL_A,4,2              ; @AUX_CHANNEL_A
	.comm	__PCH_DPB_AUX_CH_CTL,4,2        ; @_PCH_DPB_AUX_CH_CTL
	.comm	__DPB_AUX_CH_CTL,4,2            ; @_DPB_AUX_CH_CTL
	.comm	_AUX_CHANNEL_B,4,2              ; @AUX_CHANNEL_B
	.comm	__PCH_DPC_AUX_CH_CTL,4,2        ; @_PCH_DPC_AUX_CH_CTL
	.comm	__DPC_AUX_CH_CTL,4,2            ; @_DPC_AUX_CH_CTL
	.comm	_AUX_CHANNEL_C,4,2              ; @AUX_CHANNEL_C
	.comm	__PCH_DPD_AUX_CH_CTL,4,2        ; @_PCH_DPD_AUX_CH_CTL
	.comm	__DPD_AUX_CH_CTL,4,2            ; @_DPD_AUX_CH_CTL
	.comm	_AUX_CHANNEL_D,4,2              ; @AUX_CHANNEL_D
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_trigger_aux_channel_interrupt
.subsections_via_symbols
