	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltdc_irq_thread
_ltdc_irq_thread:                       ## @ltdc_irq_thread
	.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, %rdi
	movq	(%rsi), %rbx
	xorl	%esi, %esi
	callq	_drm_crtc_from_index
	movq	_ISR_LIF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_drm_crtc_handle_vblank
LBB0_2:
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	(%rbx), %eax
	movq	_ISR_FUIF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	orl	%ecx, 4(%rbx)
LBB0_4:
	movq	_ISR_TERRIF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_6
## %bb.5:
	orl	%ecx, 4(%rbx)
LBB0_6:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISR_LIF,4,2                    ## @ISR_LIF
	.comm	_ISR_FUIF,4,2                   ## @ISR_FUIF
	.comm	_ISR_TERRIF,4,2                 ## @ISR_TERRIF
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ltdc_irq_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltdc_irq_thread
_ltdc_irq_thread:                       ; @ltdc_irq_thread
	.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	x0, x1
	ldr	x20, [x1]
	mov	w1, #0
	bl	_drm_crtc_from_index
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _ISR_LIF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISR_LIF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_drm_crtc_handle_vblank
LBB0_2:
	add	x19, x20, #8
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _ISR_FUIF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ISR_FUIF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w10, [x20, #4]
	orr	w9, w10, w9
	str	w9, [x20, #4]
LBB0_4:
Lloh6:
	adrp	x9, _ISR_TERRIF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISR_TERRIF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w8, [x20, #4]
	orr	w8, w8, w9
	str	w8, [x20, #4]
LBB0_6:
	mov	x0, x19
	bl	_mutex_unlock
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh11:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ISR_LIF,4,2                    ; @ISR_LIF
	.comm	_ISR_FUIF,4,2                   ; @ISR_FUIF
	.comm	_ISR_TERRIF,4,2                 ; @ISR_TERRIF
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ltdc_irq_thread
.subsections_via_symbols
