	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msi2500_start_streaming
_msi2500_start_streaming:               ## @msi2500_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, %rbx
	movl	12(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_5:
	movl	4(%rbx), %edi
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_power@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_v4l2_subdev_call
	movq	%rbx, %rdi
	callq	_msi2500_set_usb_adc
	movq	%rbx, %rdi
	callq	_msi2500_isoc_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_msi2500_cleanup_queued_bufs
LBB0_7:
	movq	_CMD_START_STREAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_msi2500_ctrl_msg
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
	.comm	_core,4,2                       ## @core
	.comm	_s_power,4,2                    ## @s_power
	.comm	_CMD_START_STREAMING,4,2        ## @CMD_START_STREAMING
	.no_dead_strip	_msi2500_start_streaming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msi2500_start_streaming
_msi2500_start_streaming:               ; @msi2500_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
	mov	x19, x0
	ldr	w0, [x0, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _ENODEV@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_5:
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x8, _core@GOTPAGE
Lloh7:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _s_power@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_power@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_v4l2_subdev_call
	mov	x0, x19
	bl	_msi2500_set_usb_adc
	mov	x0, x19
	bl	_msi2500_isoc_init
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_msi2500_cleanup_queued_bufs
LBB0_7:
Lloh12:
	adrp	x8, _CMD_START_STREAMING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CMD_START_STREAMING@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_msi2500_ctrl_msg
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
	.comm	_core,4,2                       ; @core
	.comm	_s_power,4,2                    ; @s_power
	.comm	_CMD_START_STREAMING,4,2        ; @CMD_START_STREAMING
	.no_dead_strip	_msi2500_start_streaming
.subsections_via_symbols
