	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcmi_irq_thread
_dcmi_irq_thread:                       ## @dcmi_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, %rbx
	leaq	16(%rsi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movl	(%rbx), %eax
	movq	_IT_OVR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	8(%rbx), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, 8(%rbx)
	movq	_OVERRUN_ERROR_THRESHOLD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_3
## %bb.2:
	incl	32(%rbx)
LBB0_3:
	movq	_IT_ERR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	incl	32(%rbx)
LBB0_5:
	movq	24(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	_V4L2_PIX_FMT_JPEG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.6:
	movq	_IT_FRAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	%rbx, %rdi
	callq	_dcmi_process_jpeg
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
LBB0_9:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IT_OVR,4,2                     ## @IT_OVR
	.comm	_OVERRUN_ERROR_THRESHOLD,8,3    ## @OVERRUN_ERROR_THRESHOLD
	.comm	_IT_ERR,4,2                     ## @IT_ERR
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ## @V4L2_PIX_FMT_JPEG
	.comm	_IT_FRAME,4,2                   ## @IT_FRAME
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_dcmi_irq_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcmi_irq_thread
_dcmi_irq_thread:                       ; @dcmi_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	x19, x1
	add	x20, x1, #16
	mov	x0, x20
	bl	_spin_lock_irq
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IT_OVR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IT_OVR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	add	x10, x9, #1
	str	x10, [x19, #8]
Lloh3:
	adrp	x10, _OVERRUN_ERROR_THRESHOLD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OVERRUN_ERROR_THRESHOLD@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.lt	LBB0_3
; %bb.2:
	ldr	w9, [x19, #32]
	add	w9, w9, #1
	str	w9, [x19, #32]
LBB0_3:
Lloh6:
	adrp	x9, _IT_ERR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IT_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w9, [x19, #32]
	add	w9, w9, #1
	str	w9, [x19, #32]
LBB0_5:
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _V4L2_PIX_FMT_JPEG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _V4L2_PIX_FMT_JPEG@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.6:
Lloh12:
	adrp	x9, _IT_FRAME@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IT_FRAME@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_dcmi_process_jpeg
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_spin_unlock_irq
LBB0_9:
Lloh15:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh17:
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IT_OVR,4,2                     ; @IT_OVR
	.comm	_OVERRUN_ERROR_THRESHOLD,8,3    ; @OVERRUN_ERROR_THRESHOLD
	.comm	_IT_ERR,4,2                     ; @IT_ERR
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ; @V4L2_PIX_FMT_JPEG
	.comm	_IT_FRAME,4,2                   ; @IT_FRAME
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_dcmi_irq_thread
.subsections_via_symbols
