	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r128_driver_irq_handler        ## -- Begin function r128_driver_irq_handler
	.p2align	4, 0x90
_r128_driver_irq_handler:               ## @r128_driver_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rsi), %r14
	movq	_R128_GEN_INT_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_R128_READ
	movq	_R128_CRTC_VBLANK_INT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	movq	_R128_CRTC_VBLANK_INT_AK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_R128_WRITE
	movq	%r14, %rdi
	callq	_atomic_inc
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_drm_handle_vblank
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R128_GEN_INT_STATUS,4,2        ## @R128_GEN_INT_STATUS
	.comm	_R128_CRTC_VBLANK_INT,4,2       ## @R128_CRTC_VBLANK_INT
	.comm	_R128_CRTC_VBLANK_INT_AK,4,2    ## @R128_CRTC_VBLANK_INT_AK
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_r128_driver_irq_handler        ; -- Begin function r128_driver_irq_handler
	.p2align	2
_r128_driver_irq_handler:               ; @r128_driver_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	x20, [x1]
Lloh0:
	adrp	x21, _R128_GEN_INT_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _R128_GEN_INT_STATUS@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_R128_READ
Lloh2:
	adrp	x8, _R128_CRTC_VBLANK_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R128_CRTC_VBLANK_INT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x21]
Lloh5:
	adrp	x8, _R128_CRTC_VBLANK_INT_AK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R128_CRTC_VBLANK_INT_AK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_R128_WRITE
	mov	x0, x20
	bl	_atomic_inc
	mov	x0, x19
	mov	w1, #0
	bl	_drm_handle_vblank
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_3:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_R128_GEN_INT_STATUS,4,2        ; @R128_GEN_INT_STATUS
	.comm	_R128_CRTC_VBLANK_INT,4,2       ; @R128_CRTC_VBLANK_INT
	.comm	_R128_CRTC_VBLANK_INT_AK,4,2    ; @R128_CRTC_VBLANK_INT_AK
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
.subsections_via_symbols
