	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_preview_isr           ## -- Begin function omap3isp_preview_isr
	.p2align	4, 0x90
_omap3isp_preview_isr:                  ## @omap3isp_preview_isr
	.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	%rdi, %rbx
	addq	$36, %rdi
	leaq	32(%rbx), %rsi
	callq	_omap3isp_module_sync_is_stopping
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	24(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_preview_params_switch
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_preview_params_lock
	movl	%eax, %r15d
	movl	28(%rbx), %r12d
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_preview_setup_hw
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_preview_config_input_size
	movq	(%rbx), %rax
	movq	_PREVIEW_INPUT_MEMORY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_PREVIEW_OUTPUT_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_preview_isr_buffer
LBB0_6:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_preview_params_unlock
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_4:
	movq	16(%rbx), %rax
	movq	_ISP_PIPELINE_STREAM_CONTINUOUS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_preview_enable_oneshot
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_PREVIEW_INPUT_MEMORY,8,3       ## @PREVIEW_INPUT_MEMORY
	.comm	_PREVIEW_OUTPUT_MEMORY,4,2      ## @PREVIEW_OUTPUT_MEMORY
	.comm	_ISP_PIPELINE_STREAM_CONTINUOUS,8,3 ## @ISP_PIPELINE_STREAM_CONTINUOUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_preview_isr           ; -- Begin function omap3isp_preview_isr
	.p2align	2
_omap3isp_preview_isr:                  ; @omap3isp_preview_isr
	.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, x0
	add	x0, x0, #36
	add	x1, x19, #32
	bl	_omap3isp_module_sync_is_stopping
	cbz	x0, LBB0_2
; %bb.1:
	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
LBB0_2:
	add	x20, x19, #24
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_preview_params_switch
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_preview_params_lock
	mov	x21, x0
	ldr	w22, [x19, #28]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_preview_setup_hw
	mov	x0, x19
	mov	x1, x22
	bl	_preview_config_input_size
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _PREVIEW_INPUT_MEMORY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PREVIEW_INPUT_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _PREVIEW_OUTPUT_MEMORY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PREVIEW_OUTPUT_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_preview_isr_buffer
LBB0_5:
	mov	x0, x20
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	bl	_preview_params_unlock
	mov	x0, x20
	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
	b	_spin_unlock_irqrestore
LBB0_6:
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x9, _ISP_PIPELINE_STREAM_CONTINUOUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ISP_PIPELINE_STREAM_CONTINUOUS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:
	mov	x0, x19
	bl	_preview_enable_oneshot
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PREVIEW_INPUT_MEMORY,8,3       ; @PREVIEW_INPUT_MEMORY
	.comm	_PREVIEW_OUTPUT_MEMORY,4,2      ; @PREVIEW_OUTPUT_MEMORY
	.comm	_ISP_PIPELINE_STREAM_CONTINUOUS,8,3 ; @ISP_PIPELINE_STREAM_CONTINUOUS
.subsections_via_symbols
