	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_crtc_irq_handler
_vc4_crtc_irq_handler:                  ## @vc4_crtc_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, %rbx
	movq	_PV_INTSTAT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_CRTC_READ
	movq	_PV_INT_VFP_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %esi
	je	LBB0_1
## %bb.2:
	movl	(%r14), %edi
	callq	_CRTC_WRITE
	movq	%rbx, %rdi
	callq	_vc4_crtc_handle_vblank
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PV_INTSTAT,4,2                 ## @PV_INTSTAT
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_PV_INT_VFP_START,4,2           ## @PV_INT_VFP_START
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_vc4_crtc_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_crtc_irq_handler
_vc4_crtc_irq_handler:                  ; @vc4_crtc_irq_handler
	.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
	mov	x19, x1
Lloh0:
	adrp	x20, _PV_INTSTAT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PV_INTSTAT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_CRTC_READ
Lloh2:
	adrp	x8, _PV_INT_VFP_START@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PV_INT_VFP_START@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	tst	w1, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_CRTC_WRITE
	mov	x0, x19
	bl	_vc4_crtc_handle_vblank
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PV_INTSTAT,4,2                 ; @PV_INTSTAT
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_PV_INT_VFP_START,4,2           ; @PV_INT_VFP_START
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_vc4_crtc_irq_handler
.subsections_via_symbols
