	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_streaming
_start_streaming:                       ## @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
	movq	%rdi, %r14
	callq	_vb2_get_drv_priv
	movq	%rax, %rbx
	movl	32(%rax), %edi
	callq	_regmap_get_device
	xorl	%r12d, %r12d
	cmpq	$0, (%rbx)
	jne	LBB0_7
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	24(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	$0, 16(%rbx)
	movq	_video_i2c_thread_vid_cap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	callq	_kthread_run
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	callq	_pm_runtime_mark_last_busy
	movq	%r15, %rdi
	callq	_pm_runtime_put_autosuspend
	jmp	LBB0_6
LBB0_2:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_pm_runtime_put_noidle
LBB0_6:
	movq	_VB2_BUF_STATE_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_video_i2c_del_list
	movl	%r13d, %r12d
LBB0_7:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_video_i2c_thread_vid_cap,4,2   ## @video_i2c_thread_vid_cap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-vid-cap"

	.comm	_VB2_BUF_STATE_QUEUED,4,2       ## @VB2_BUF_STATE_QUEUED
	.no_dead_strip	_start_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_streaming
_start_streaming:                       ; @start_streaming
	.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
	bl	_vb2_get_drv_priv
	mov	x22, x0
	ldr	w0, [x0, #32]
	bl	_regmap_get_device
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_8
LBB0_2:
	mov	x20, x0
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_6
; %bb.3:
	ldr	x8, [x22, #24]
	ldr	x8, [x8]
	mov	x0, x22
	blr	x8
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.4:
	str	xzr, [x22, #16]
Lloh0:
	adrp	x8, _video_i2c_thread_vid_cap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _video_i2c_thread_vid_cap@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w3, [x22, #8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x22
	bl	_kthread_run
	str	x0, [x22]
	bl	_PTR_ERR_OR_ZERO
	mov	x21, x0
	cbz	w0, LBB0_8
LBB0_5:
	mov	x0, x20
	bl	_pm_runtime_mark_last_busy
	mov	x0, x20
	bl	_pm_runtime_put_autosuspend
	b	LBB0_7
LBB0_6:
	mov	x21, x0
	mov	x0, x20
	bl	_pm_runtime_put_noidle
LBB0_7:
Lloh5:
	adrp	x8, _VB2_BUF_STATE_QUEUED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VB2_BUF_STATE_QUEUED@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_video_i2c_del_list
LBB0_8:
	mov	x0, x21
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_video_i2c_thread_vid_cap,4,2   ; @video_i2c_thread_vid_cap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-vid-cap"

	.comm	_VB2_BUF_STATE_QUEUED,4,2       ; @VB2_BUF_STATE_QUEUED
	.no_dead_strip	_start_streaming
.subsections_via_symbols
