	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function venus_isr
_venus_isr:                             ## @venus_isr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_to_hfi_priv
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_WRAPPER_INTR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_venus_readl
	movl	%eax, %r14d
	movq	_WRAPPER_INTR_STATUS_A2H_MASK@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_5
## %bb.3:
	movq	_WRAPPER_INTR_STATUS_A2HWD_MASK@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_6
LBB0_5:
	movl	%r14d, (%rbx)
LBB0_6:
	movq	_CPU_CS_A2HSOFTINTCLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_venus_writel
	movq	_WRAPPER_INTR_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_venus_writel
	movq	_IRQ_WAKE_THREAD@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_WRAPPER_INTR_STATUS,4,2        ## @WRAPPER_INTR_STATUS
	.comm	_WRAPPER_INTR_STATUS_A2H_MASK,4,2 ## @WRAPPER_INTR_STATUS_A2H_MASK
	.comm	_WRAPPER_INTR_STATUS_A2HWD_MASK,4,2 ## @WRAPPER_INTR_STATUS_A2HWD_MASK
	.comm	_CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK,4,2 ## @CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK
	.comm	_CPU_CS_A2HSOFTINTCLR,4,2       ## @CPU_CS_A2HSOFTINTCLR
	.comm	_WRAPPER_INTR_CLEAR,4,2         ## @WRAPPER_INTR_CLEAR
	.comm	_IRQ_WAKE_THREAD,4,2            ## @IRQ_WAKE_THREAD
	.no_dead_strip	_venus_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function venus_isr
_venus_isr:                             ; @venus_isr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_to_hfi_priv
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _WRAPPER_INTR_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WRAPPER_INTR_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_venus_readl
	mov	x20, x0
Lloh3:
	adrp	x8, _WRAPPER_INTR_STATUS_A2H_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WRAPPER_INTR_STATUS_A2H_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _WRAPPER_INTR_STATUS_A2HWD_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WRAPPER_INTR_STATUS_A2HWD_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
LBB0_4:
	str	w20, [x19]
LBB0_5:
Lloh12:
	adrp	x8, _CPU_CS_A2HSOFTINTCLR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CPU_CS_A2HSOFTINTCLR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_venus_writel
Lloh15:
	adrp	x8, _WRAPPER_INTR_CLEAR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WRAPPER_INTR_CLEAR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_venus_writel
Lloh18:
	adrp	x8, _IRQ_WAKE_THREAD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_WAKE_THREAD@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh20:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_WRAPPER_INTR_STATUS,4,2        ; @WRAPPER_INTR_STATUS
	.comm	_WRAPPER_INTR_STATUS_A2H_MASK,4,2 ; @WRAPPER_INTR_STATUS_A2H_MASK
	.comm	_WRAPPER_INTR_STATUS_A2HWD_MASK,4,2 ; @WRAPPER_INTR_STATUS_A2HWD_MASK
	.comm	_CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK,4,2 ; @CPU_CS_SCIACMDARG0_INIT_IDLE_MSG_MASK
	.comm	_CPU_CS_A2HSOFTINTCLR,4,2       ; @CPU_CS_A2HSOFTINTCLR
	.comm	_WRAPPER_INTR_CLEAR,4,2         ; @WRAPPER_INTR_CLEAR
	.comm	_IRQ_WAKE_THREAD,4,2            ; @IRQ_WAKE_THREAD
	.no_dead_strip	_venus_isr
.subsections_via_symbols
