	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function epu_debug_irq
_epu_debug_irq:                         ## @epu_debug_irq
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	movb	$0, (%rbx)
	movq	16(%rsi), %rax
	movq	8(%rax), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cx18_setup_page
	movq	(%r15), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$252, %ecx
	callq	_cx18_memcpy_fromio
	movb	$0, 252(%rbx)
	movq	_SCB_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_cx18_setup_page
LBB0_2:
	movq	_CX18_F_EWO_MB_STALE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r12)
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mb_ack_irq
LBB0_4:
	xorl	%eax, %eax
	testq	%r14, %r14
	setne	%al
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCB_OFFSET,8,3                 ## @SCB_OFFSET
	.comm	_CX18_F_EWO_MB_STALE,4,2        ## @CX18_F_EWO_MB_STALE
	.no_dead_strip	_epu_debug_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function epu_debug_irq
_epu_debug_irq:                         ; @epu_debug_irq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x21, x0
	ldr	x22, [x1]
	strb	wzr, [x22]
	ldr	x8, [x1, #16]
	ldr	x20, [x8, #8]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_cx18_setup_page
	ldr	x8, [x21]
	add	x2, x8, x20
	mov	x0, x21
	mov	x1, x22
	mov	w3, #252
	bl	_cx18_memcpy_fromio
	strb	wzr, [x22, #252]
Lloh0:
	adrp	x8, _SCB_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCB_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, x21
	bl	_cx18_setup_page
LBB0_2:
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _CX18_F_EWO_MB_STALE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CX18_F_EWO_MB_STALE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_mb_ack_irq
LBB0_4:
	cmp	x20, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SCB_OFFSET,8,3                 ; @SCB_OFFSET
	.comm	_CX18_F_EWO_MB_STALE,4,2        ; @CX18_F_EWO_MB_STALE
	.no_dead_strip	_epu_debug_irq
.subsections_via_symbols
