	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_video_start_streaming
_isp_video_start_streaming:             ## @isp_video_start_streaming
	.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
	callq	_vb2_get_drv_priv
	movq	(%rax), %r14
	leaq	12(%r14), %rdi
	callq	_to_isp_pipeline
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.1:
	movq	_ISP_PIPELINE_STREAM_CONTINUOUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_omap3isp_pipeline_set_stream
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.3:
	leaq	8(%r14), %rdi
	callq	_list_empty
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ISP_VIDEO_DMAQUEUE_UNDERRUN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
	jmp	LBB0_5
LBB0_2:
	movq	_VB2_BUF_STATE_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_omap3isp_video_return_buffers
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISP_PIPELINE_STREAM_CONTINUOUS,4,2 ## @ISP_PIPELINE_STREAM_CONTINUOUS
	.comm	_VB2_BUF_STATE_QUEUED,4,2       ## @VB2_BUF_STATE_QUEUED
	.comm	_ISP_VIDEO_DMAQUEUE_UNDERRUN,4,2 ## @ISP_VIDEO_DMAQUEUE_UNDERRUN
	.no_dead_strip	_isp_video_start_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isp_video_start_streaming
_isp_video_start_streaming:             ; @isp_video_start_streaming
	.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
	bl	_vb2_get_drv_priv
	ldr	x19, [x0]
	add	x0, x19, #12
	bl	_to_isp_pipeline
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_7
LBB0_2:
Lloh0:
	adrp	x8, _ISP_PIPELINE_STREAM_CONTINUOUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISP_PIPELINE_STREAM_CONTINUOUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_omap3isp_pipeline_set_stream
	mov	x20, x0
	mov	x0, x19
	bl	_spin_lock_irqsave
	tbnz	w20, #31, LBB0_5
; %bb.3:
	add	x0, x19, #8
	bl	_list_empty
	mov	w20, #0
	cbz	x0, LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _ISP_VIDEO_DMAQUEUE_UNDERRUN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISP_VIDEO_DMAQUEUE_UNDERRUN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _VB2_BUF_STATE_QUEUED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VB2_BUF_STATE_QUEUED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_omap3isp_video_return_buffers
LBB0_6:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_7:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ISP_PIPELINE_STREAM_CONTINUOUS,4,2 ; @ISP_PIPELINE_STREAM_CONTINUOUS
	.comm	_VB2_BUF_STATE_QUEUED,4,2       ; @VB2_BUF_STATE_QUEUED
	.comm	_ISP_VIDEO_DMAQUEUE_UNDERRUN,4,2 ; @ISP_VIDEO_DMAQUEUE_UNDERRUN
	.no_dead_strip	_isp_video_start_streaming
.subsections_via_symbols
