	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flite_irq_handler
_flite_irq_handler:                     ## @flite_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_flite_hw_get_interrupt_source
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_flite_hw_clear_pending_irq
	movq	_ST_FLITE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	24(%rbx), %rdi
	callq	_wake_up
	jmp	LBB0_19
LBB0_2:
	movq	_FLITE_REG_CISTATUS_IRQ_SRC_OVERFLOW@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ST_FLITE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	incl	28(%rbx)
LBB0_4:
	movq	_FLITE_REG_CISTATUS_IRQ_SRC_LASTCAPEND@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_flite_hw_clear_last_capture_end
	movq	_ST_FLITE_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
	leaq	24(%rbx), %rdi
	callq	_wake_up
LBB0_6:
	leaq	20(%rbx), %rdi
	callq	_atomic_read
	movq	_FIMC_IO_DMA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.7:
	movq	_FLITE_REG_CISTATUS_IRQ_SRC_FRMSTART@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.8:
	movq	_ST_FLITE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	8(%rbx), %rdi
	callq	_list_empty
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_fimc_lite_pending_queue_pop
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_flite_hw_set_dma_buffer
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_fimc_lite_active_queue_add
LBB0_11:
	movq	_FLITE_REG_CISTATUS_IRQ_SRC_FRMEND@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_15
## %bb.12:
	movq	_ST_FLITE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	leaq	16(%rbx), %rdi
	callq	_list_empty
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_fimc_lite_active_queue_pop
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_ktime_get_ns
	movl	%eax, (%r15)
	movslq	12(%rbx), %rax
	leal	1(%rax), %ecx
	movl	%ecx, 12(%rbx)
	movq	%rax, 8(%r15)
	movl	16(%r15), %esi
	movq	%rbx, %rdi
	callq	_flite_hw_mask_dma_buffer
	movq	_VB2_BUF_STATE_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_vb2_buffer_done
LBB0_15:
	movq	_ST_FLITE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_fimc_lite_config_update
LBB0_17:
	leaq	8(%rbx), %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_flite_hw_capture_stop
	movq	_ST_FLITE_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_clear_bit
LBB0_19:
	movq	_ST_FLITE_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_FLITE_OFF,4,2               ## @ST_FLITE_OFF
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_OVERFLOW,4,2 ## @FLITE_REG_CISTATUS_IRQ_SRC_OVERFLOW
	.comm	_ST_FLITE_RUN,4,2               ## @ST_FLITE_RUN
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_LASTCAPEND,4,2 ## @FLITE_REG_CISTATUS_IRQ_SRC_LASTCAPEND
	.comm	_ST_FLITE_STREAM,4,2            ## @ST_FLITE_STREAM
	.comm	_FIMC_IO_DMA,8,3                ## @FIMC_IO_DMA
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_FRMSTART,4,2 ## @FLITE_REG_CISTATUS_IRQ_SRC_FRMSTART
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_FRMEND,4,2 ## @FLITE_REG_CISTATUS_IRQ_SRC_FRMEND
	.comm	_VB2_BUF_STATE_DONE,4,2         ## @VB2_BUF_STATE_DONE
	.comm	_ST_FLITE_CONFIG,4,2            ## @ST_FLITE_CONFIG
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_flite_irq_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flite_irq_handler
_flite_irq_handler:                     ; @flite_irq_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x0, x1
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_flite_hw_get_interrupt_source
	mov	x21, x0
	mov	x0, x19
	bl	_flite_hw_clear_pending_irq
Lloh0:
	adrp	x8, _ST_FLITE_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ST_FLITE_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_and_clear_bit
Lloh3:
	adrp	x23, _ST_FLITE_RUN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ST_FLITE_RUN@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #24
	bl	_wake_up
	b	LBB0_19
LBB0_2:
Lloh5:
	adrp	x8, _FLITE_REG_CISTATUS_IRQ_SRC_OVERFLOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLITE_REG_CISTATUS_IRQ_SRC_OVERFLOW@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_clear_bit
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
LBB0_4:
Lloh8:
	adrp	x8, _FLITE_REG_CISTATUS_IRQ_SRC_LASTCAPEND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLITE_REG_CISTATUS_IRQ_SRC_LASTCAPEND@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_flite_hw_clear_last_capture_end
Lloh11:
	adrp	x8, _ST_FLITE_STREAM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ST_FLITE_STREAM@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	add	x0, x19, #24
	bl	_wake_up
LBB0_6:
	add	x0, x19, #20
	bl	_atomic_read
Lloh14:
	adrp	x8, _FIMC_IO_DMA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FIMC_IO_DMA@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_19
; %bb.7:
Lloh17:
	adrp	x8, _FLITE_REG_CISTATUS_IRQ_SRC_FRMSTART@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FLITE_REG_CISTATUS_IRQ_SRC_FRMSTART@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_11
; %bb.8:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.9:
	add	x0, x19, #8
	bl	_list_empty
	cbnz	x0, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_fimc_lite_pending_queue_pop
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_flite_hw_set_dma_buffer
	mov	x0, x19
	mov	x1, x22
	bl	_fimc_lite_active_queue_add
LBB0_11:
Lloh20:
	adrp	x8, _FLITE_REG_CISTATUS_IRQ_SRC_FRMEND@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FLITE_REG_CISTATUS_IRQ_SRC_FRMEND@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_15
; %bb.12:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_15
; %bb.13:
	add	x0, x19, #16
	bl	_list_empty
	cbnz	x0, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_fimc_lite_active_queue_pop
	mov	x21, x0
	bl	_ktime_get_ns
	str	w0, [x21]
	ldrsw	x8, [x19, #12]
	add	w9, w8, #1
	str	w9, [x19, #12]
	str	x8, [x21, #8]
	ldr	w1, [x21, #16]
	mov	x0, x19
	bl	_flite_hw_mask_dma_buffer
Lloh23:
	adrp	x8, _VB2_BUF_STATE_DONE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VB2_BUF_STATE_DONE@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vb2_buffer_done
LBB0_15:
Lloh26:
	adrp	x8, _ST_FLITE_CONFIG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ST_FLITE_CONFIG@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_fimc_lite_config_update
LBB0_17:
	add	x0, x19, #8
	bl	_list_empty
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_flite_hw_capture_stop
Lloh29:
	adrp	x8, _ST_FLITE_STREAM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ST_FLITE_STREAM@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
LBB0_19:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_set_bit
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh32:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_FLITE_OFF,4,2               ; @ST_FLITE_OFF
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_OVERFLOW,4,2 ; @FLITE_REG_CISTATUS_IRQ_SRC_OVERFLOW
	.comm	_ST_FLITE_RUN,4,2               ; @ST_FLITE_RUN
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_LASTCAPEND,4,2 ; @FLITE_REG_CISTATUS_IRQ_SRC_LASTCAPEND
	.comm	_ST_FLITE_STREAM,4,2            ; @ST_FLITE_STREAM
	.comm	_FIMC_IO_DMA,8,3                ; @FIMC_IO_DMA
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_FRMSTART,4,2 ; @FLITE_REG_CISTATUS_IRQ_SRC_FRMSTART
	.comm	_FLITE_REG_CISTATUS_IRQ_SRC_FRMEND,4,2 ; @FLITE_REG_CISTATUS_IRQ_SRC_FRMEND
	.comm	_VB2_BUF_STATE_DONE,4,2         ; @VB2_BUF_STATE_DONE
	.comm	_ST_FLITE_CONFIG,4,2            ; @ST_FLITE_CONFIG
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_flite_irq_handler
.subsections_via_symbols
