	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54p_interrupt
_p54p_interrupt:                        ## @p54p_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	(%rsi), %r14
	movq	_int_ident@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_P54P_READ
	movl	%eax, %ebx
	movl	$-1, %edi
	callq	_cpu_to_le32
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %r15d
	jmp	LBB0_6
LBB0_2:
	movq	_int_ack@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_P54P_WRITE
	movq	_int_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_P54P_READ
	movl	%eax, %r15d
	andl	%ebx, %r15d
	movq	_ISL38XX_INT_IDENT_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	testl	%r15d, %eax
	je	LBB0_4
## %bb.3:
	addq	$4, %r14
	movq	%r14, %rdi
	callq	_tasklet_schedule
	jmp	LBB0_6
LBB0_4:
	movq	_ISL38XX_INT_IDENT_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	testl	%r15d, %eax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_complete
LBB0_6:
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.8:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_int_ident,4,2                  ## @int_ident
	.comm	_int_ack,4,2                    ## @int_ack
	.comm	_int_enable,4,2                 ## @int_enable
	.comm	_ISL38XX_INT_IDENT_UPDATE,4,2   ## @ISL38XX_INT_IDENT_UPDATE
	.comm	_ISL38XX_INT_IDENT_INIT,4,2     ## @ISL38XX_INT_IDENT_INIT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_p54p_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54p_interrupt
_p54p_interrupt:                        ; @p54p_interrupt
	.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
	ldr	x20, [x1]
Lloh0:
	adrp	x8, _int_ident@GOTPAGE
Lloh1:
	ldr	x8, [x8, _int_ident@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_P54P_READ
	mov	x19, x0
	mov	w0, #-1
	bl	_cpu_to_le32
	cmp	w19, w0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _int_ack@GOTPAGE
Lloh4:
	ldr	x8, [x8, _int_ack@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_P54P_WRITE
Lloh6:
	adrp	x8, _int_enable@GOTPAGE
Lloh7:
	ldr	x8, [x8, _int_enable@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_P54P_READ
	and	w19, w0, w19
Lloh9:
	adrp	x8, _ISL38XX_INT_IDENT_UPDATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISL38XX_INT_IDENT_UPDATE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	tst	w0, w19
	b.eq	LBB0_3
; %bb.2:
	add	x0, x20, #4
	bl	_tasklet_schedule
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _ISL38XX_INT_IDENT_INIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISL38XX_INT_IDENT_INIT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	tst	w0, w19
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_complete
LBB0_5:
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh17:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_int_ident,4,2                  ; @int_ident
	.comm	_int_ack,4,2                    ; @int_ack
	.comm	_int_enable,4,2                 ; @int_enable
	.comm	_ISL38XX_INT_IDENT_UPDATE,4,2   ; @ISL38XX_INT_IDENT_UPDATE
	.comm	_ISL38XX_INT_IDENT_INIT,4,2     ; @ISL38XX_INT_IDENT_INIT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_p54p_interrupt
.subsections_via_symbols
