	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jlj_start
_jlj_start:                             ## @jlj_start
	.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
	subq	$768, %rsp                      ## imm = 0x300
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$255, -788(%rbp)
	leaq	-784(%rbp), %rdi
	movl	$736, %esi                      ## imm = 0x2E0
	callq	___bzero
	movl	$113, -784(%rbp)
	movl	$112, -752(%rbp)
	movq	_JEILINJ_CMD_DELAY@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -744(%rbp)
	movabsq	$4294967445, %rcx               ## imm = 0x100000095
	movq	%rcx, -720(%rbp)
	movl	$113, -688(%rbp)
	movl	$112, -656(%rbp)
	movq	%rax, -648(%rbp)
	movq	%rcx, -624(%rbp)
	movl	$113, -592(%rbp)
	movl	$112, -560(%rbp)
	movq	%rax, -552(%rbp)
	movq	%rcx, -528(%rbp)
	movl	$148, -496(%rbp)
	movl	$222, -464(%rbp)
	movl	$148, -432(%rbp)
	movl	$221, -400(%rbp)
	movl	$148, -368(%rbp)
	movl	$227, -336(%rbp)
	movl	$148, -304(%rbp)
	movl	$228, -272(%rbp)
	movl	$148, -240(%rbp)
	movl	$229, -208(%rbp)
	movl	$148, -176(%rbp)
	movl	$230, -144(%rbp)
	movl	$148, -112(%rbp)
	movl	$170, -80(%rbp)
	movq	$0, 16(%r15)
	movq	(%r15), %rcx
	movq	_SPORTSCAM_DV15@GOTPCREL(%rip), %rdx
	movl	$9, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	leaq	-784(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
LBB0_2:
	movl	%eax, %r12d
	leaq	-768(%rbp), %rbx
	leaq	-788(%rbp), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$32, %rbx
	decq	%r12
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_jlj_write2
	movl	-12(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_msleep
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -8(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_jlj_read1
	jmp	LBB0_7
LBB0_8:
	movl	12(%r15), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_setcamquality
	movl	$2, %edi
	callq	_msleep
	movl	8(%r15), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_setfreq
	movq	(%r15), %rax
	testq	%rax, %rax
	jns	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_gspca_err
	movq	(%r15), %rax
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$768, %rsp                      ## imm = 0x300
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_JEILINJ_CMD_DELAY,4,2          ## @JEILINJ_CMD_DELAY
	.comm	_SPORTSCAM_DV15,8,3             ## @SPORTSCAM_DV15
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Start streaming command failed\n"

	.comm	_SPORTSCAM_DV15_CMD_SIZE,4,2    ## @SPORTSCAM_DV15_CMD_SIZE
	.no_dead_strip	_jlj_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function jlj_start
lCPI0_0:
	.long	149                             ; 0x95
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_jlj_start:                             ; @jlj_start
	.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
	sub	sp, sp, #752
	mov	x19, x0
	add	x21, sp, #8
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	w8, #255
	str	w8, [sp, #4]
	add	x20, sp, #8
	add	x0, sp, #8
	mov	w1, #736
	bl	_bzero
Lloh3:
	adrp	x8, _JEILINJ_CMD_DELAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JEILINJ_CMD_DELAY@GOTPAGEOFF]
	mov	w9, #113
	mov	w10, #112
	str	w9, [sp, #8]
	str	w10, [sp, #40]
Lloh5:
	ldrsw	x8, [x8]
	str	x8, [sp, #48]
Lloh6:
	adrp	x11, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x11, lCPI0_0@PAGEOFF]
	str	d0, [sp, #72]
	str	w9, [sp, #104]
	str	w10, [sp, #136]
	str	x8, [x21, #136]
	str	d0, [x21, #160]
	str	w9, [sp, #200]
	str	w10, [sp, #232]
	str	x8, [x21, #232]
	str	d0, [x21, #256]
	mov	w8, #148
	str	w8, [sp, #296]
	mov	w9, #222
	str	w9, [sp, #328]
	str	w8, [sp, #360]
	mov	w9, #221
	str	w9, [sp, #392]
	str	w8, [sp, #424]
	mov	w9, #227
	str	w9, [sp, #456]
	str	w8, [sp, #488]
	mov	w9, #228
	str	w9, [sp, #520]
	str	w8, [sp, #552]
	mov	w9, #229
	str	w9, [sp, #584]
	str	w8, [sp, #616]
	mov	w9, #230
	str	w9, [sp, #648]
	str	w8, [sp, #680]
	mov	w8, #170
	str	w8, [sp, #712]
	str	xzr, [x19, #16]
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _SPORTSCAM_DV15@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SPORTSCAM_DV15@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #9
	b	LBB0_3
LBB0_2:
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
LBB0_3:
	mov	w21, w0
	add	x20, x20, #8
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #32
	subs	x21, x21, #1
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_jlj_write2
	ldur	w0, [x20, #-4]
	cbz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_msleep
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #4
	mov	x0, x19
	bl	_jlj_read1
	b	LBB0_4
LBB0_9:
	ldr	w0, [x19, #12]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	bl	_setcamquality
	mov	w0, #2
	bl	_msleep
	ldr	w0, [x19, #8]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	bl	_setfreq
	ldr	x0, [x19]
	tbz	x0, #63, LBB0_11
; %bb.10:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gspca_err
	ldr	x0, [x19]
LBB0_11:
	ldur	x8, [x29, #-40]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
                                        ; kill: def $w0 killed $w0 killed $x0
	add	sp, sp, #752
	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
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_JEILINJ_CMD_DELAY,4,2          ; @JEILINJ_CMD_DELAY
	.comm	_SPORTSCAM_DV15,8,3             ; @SPORTSCAM_DV15
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Start streaming command failed\n"

	.comm	_SPORTSCAM_DV15_CMD_SIZE,4,2    ; @SPORTSCAM_DV15_CMD_SIZE
	.no_dead_strip	_jlj_start
.subsections_via_symbols
