	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imx214_s_stream
_imx214_s_stream:                       ## @imx214_s_stream
	.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
	movl	%esi, %r15d
	callq	_to_imx214
	xorl	%r14d, %r14d
	cmpl	%r15d, (%rax)
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.2:
	movl	4(%rbx), %edi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_imx214_start_streaming
	testl	%eax, %eax
	jns	LBB0_8
	jmp	LBB0_5
LBB0_6:
	movq	%rbx, %rdi
	callq	_imx214_start_streaming
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:
	movl	4(%rbx), %edi
	callq	_pm_runtime_put
LBB0_8:
	movl	%r15d, (%rbx)
	jmp	LBB0_9
LBB0_5:
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	callq	_pm_runtime_put
	jmp	LBB0_9
LBB0_3:
	movl	%eax, %r12d
	movl	4(%rbx), %edi
	callq	_pm_runtime_put_noidle
	movl	%r12d, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_imx214_s_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imx214_s_stream
_imx214_s_stream:                       ; @imx214_s_stream
	.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	x20, x1
	bl	_to_imx214
	ldr	w8, [x0]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_10
LBB0_2:
	mov	x19, x0
	cbz	w20, LBB0_5
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_imx214_start_streaming
	tbz	w0, #31, LBB0_7
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_imx214_start_streaming
	tbnz	w0, #31, LBB0_8
; %bb.6:
	ldr	w0, [x19, #4]
	bl	_pm_runtime_put
LBB0_7:
	mov	w21, #0
	str	w20, [x19]
	b	LBB0_10
LBB0_8:
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_pm_runtime_put
	b	LBB0_10
LBB0_9:
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_pm_runtime_put_noidle
LBB0_10:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_imx214_s_stream
.subsections_via_symbols
