	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isp_video_capture_start_streaming
_isp_video_capture_start_streaming:     ## @isp_video_capture_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_vb2_get_drv_priv
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_fimc_isp_to_is
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	___get_isp_dma2
	movq	%rax, %r12
	movq	_ST_ISP_VID_CAP_BUF_PREP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_ST_ISP_VID_CAP_STREAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r13, %r15
	addq	$8, %r15
	movq	_DMA_OUTPUT_COMMAND_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_DMA_OUTPUT_NOTIFY_DMA_DONE_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_DMA2_OUTPUT_ADDR_ARRAY_OFFS@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	addq	(%r14), %r9
	movq	%r9, (%r12)
	movl	32(%r13), %eax
	movl	%eax, 12(%r12)
	movl	28(%r13), %eax
	movl	%eax, 8(%r12)
	movl	24(%r13), %ecx
	movq	16(%r13), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rdx
	movl	$2, %edi
	movq	%r15, %rsi
	callq	_isp_dbg
	xorl	%eax, %eax
	callq	_fimc_is_mem_barrier
	movq	_PARAM_ISP_DMA2_OUTPUT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_fimc_is_set_param_bit
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	___fimc_is_hw_update_param
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_fimc_is_itf_s_param
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_set_stream@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_fimc_pipeline_call
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movq	_ST_ISP_VID_CAP_STREAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_set_bit
	jmp	LBB0_6
LBB0_3:
	movl	%eax, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_ISP_VID_CAP_BUF_PREP,4,2    ## @ST_ISP_VID_CAP_BUF_PREP
	.comm	_ST_ISP_VID_CAP_STREAMING,4,2   ## @ST_ISP_VID_CAP_STREAMING
	.comm	_DMA_OUTPUT_COMMAND_ENABLE,4,2  ## @DMA_OUTPUT_COMMAND_ENABLE
	.comm	_DMA_OUTPUT_NOTIFY_DMA_DONE_ENABLE,4,2 ## @DMA_OUTPUT_NOTIFY_DMA_DONE_ENABLE
	.comm	_DMA2_OUTPUT_ADDR_ARRAY_OFFS,8,3 ## @DMA2_OUTPUT_ADDR_ARRAY_OFFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"buf_count: %d, planes: %d, dma addr table: %#x\n"

	.comm	_PARAM_ISP_DMA2_OUTPUT,4,2      ## @PARAM_ISP_DMA2_OUTPUT
	.comm	_set_stream,4,2                 ## @set_stream
	.no_dead_strip	_isp_video_capture_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_capture_start_streaming
_isp_video_capture_start_streaming:     ; @isp_video_capture_start_streaming
	.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
	bl	_vb2_get_drv_priv
	mov	x19, x0
	bl	_fimc_isp_to_is
	mov	x20, x0
	bl	___get_isp_dma2
	mov	x22, x0
Lloh0:
	adrp	x8, _ST_ISP_VID_CAP_BUF_PREP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ST_ISP_VID_CAP_BUF_PREP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x23, _ST_ISP_VID_CAP_STREAMING@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ST_ISP_VID_CAP_STREAMING@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x20
	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
LBB0_4:
Lloh5:
	adrp	x8, _DMA_OUTPUT_COMMAND_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMA_OUTPUT_COMMAND_ENABLE@GOTPAGEOFF]
	add	x21, x19, #8
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _DMA_OUTPUT_NOTIFY_DMA_DONE_ENABLE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DMA_OUTPUT_NOTIFY_DMA_DONE_ENABLE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #16]
	ldr	x8, [x20]
Lloh11:
	adrp	x9, _DMA2_OUTPUT_ADDR_ARRAY_OFFS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DMA2_OUTPUT_ADDR_ARRAY_OFFS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x5, x9, x8
	str	x5, [x22]
	ldur	d0, [x19, #28]
	str	d0, [x22, #8]
	ldr	w3, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	w4, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #2
	mov	x1, x21
	bl	_isp_dbg
	bl	_fimc_is_mem_barrier
Lloh16:
	adrp	x22, _PARAM_ISP_DMA2_OUTPUT@GOTPAGE
Lloh17:
	ldr	x22, [x22, _PARAM_ISP_DMA2_OUTPUT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_fimc_is_set_param_bit
	ldr	w1, [x22]
	mov	x0, x20
	bl	___fimc_is_hw_update_param
	mov	x0, x20
	mov	w1, #0
	bl	_fimc_is_itf_s_param
	tbnz	w0, #31, LBB0_7
; %bb.5:
Lloh18:
	adrp	x8, _set_stream@GOTPAGE
Lloh19:
	ldr	x8, [x8, _set_stream@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_fimc_pipeline_call
	mov	x20, x0
	tbnz	w0, #31, LBB0_3
; %bb.6:
	ldr	w0, [x23]
	mov	x1, x19
	bl	_set_bit
	b	LBB0_3
LBB0_7:
	mov	x20, x0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_ISP_VID_CAP_BUF_PREP,4,2    ; @ST_ISP_VID_CAP_BUF_PREP
	.comm	_ST_ISP_VID_CAP_STREAMING,4,2   ; @ST_ISP_VID_CAP_STREAMING
	.comm	_DMA_OUTPUT_COMMAND_ENABLE,4,2  ; @DMA_OUTPUT_COMMAND_ENABLE
	.comm	_DMA_OUTPUT_NOTIFY_DMA_DONE_ENABLE,4,2 ; @DMA_OUTPUT_NOTIFY_DMA_DONE_ENABLE
	.comm	_DMA2_OUTPUT_ADDR_ARRAY_OFFS,8,3 ; @DMA2_OUTPUT_ADDR_ARRAY_OFFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"buf_count: %d, planes: %d, dma addr table: %#x\n"

	.comm	_PARAM_ISP_DMA2_OUTPUT,4,2      ; @PARAM_ISP_DMA2_OUTPUT
	.comm	_set_stream,4,2                 ; @set_stream
	.no_dead_strip	_isp_video_capture_start_streaming
.subsections_via_symbols
