	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lima_pp_irq_handler
_lima_pp_irq_handler:                   ## @lima_pp_irq_handler
	.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
	movq	%rsi, %r14
	movq	(%rsi), %rax
	movq	_lima_pipe_pp@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rbx
	shlq	$2, %rbx
	addq	(%rax), %rbx
	movq	_LIMA_PP_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_pp_read
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_lima_pp_handle_irq
	movq	%rbx, %rdi
	callq	_atomic_dec_and_test
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_lima_sched_pipe_task_done
	jmp	LBB0_4
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
LBB0_4:
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lima_pipe_pp,4,2               ## @lima_pipe_pp
	.comm	_LIMA_PP_INT_STATUS,4,2         ## @LIMA_PP_INT_STATUS
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_lima_pp_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lima_pp_irq_handler
_lima_pp_irq_handler:                   ; @lima_pp_irq_handler
	.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
	ldr	x8, [x1]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _lima_pipe_pp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lima_pipe_pp@GOTPAGEOFF]
Lloh2:
	ldrsw	x21, [x8]
Lloh3:
	adrp	x8, _LIMA_PP_INT_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIMA_PP_INT_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_pp_read
	cbz	w0, LBB0_4
; %bb.1:
	mov	x1, x0
	add	x20, x20, x21, lsl #2
	mov	x0, x19
	bl	_lima_pp_handle_irq
	mov	x0, x20
	bl	_atomic_dec_and_test
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_lima_sched_pipe_task_done
LBB0_3:
Lloh6:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_lima_pipe_pp,4,2               ; @lima_pipe_pp
	.comm	_LIMA_PP_INT_STATUS,4,2         ; @LIMA_PP_INT_STATUS
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_lima_pp_irq_handler
.subsections_via_symbols
