	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_v4l2_init                 ## -- Begin function solo_v4l2_init
	.p2align	4, 0x90
_solo_v4l2_init:                        ## @solo_v4l2_init
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	addq	$120, %rdi
	callq	_init_waitqueue_head
	leaq	116(%rbx), %rdi
	callq	_spin_lock_init
	leaq	104(%rbx), %r12
	movq	%r12, %rdi
	callq	_mutex_init
	leaq	112(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_video_device_alloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	_solo_v4l2_template@GOTPCREL(%rip), %rcx
	movq	32(%rcx), %rdx
	movq	%rdx, 32(%rax)
	movups	(%rcx), %xmm0
	movups	16(%rcx), %xmm1
	movups	%xmm1, 16(%rax)
	movups	%xmm0, (%rax)
	leaq	108(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	%rax, 32(%rcx)
	leaq	32(%rbx), %r13
	movq	%r13, 24(%rcx)
	movq	%r12, 16(%rcx)
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_solo_motion_trace_ctrl@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_v4l2_ctrl_new_custom
	movl	16(%rbx), %r14d
	testl	%r14d, %r14d
	jne	LBB0_13
## %bb.3:
	movq	8(%rbx), %rdi
	movq	%r15, 8(%rdi)
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movq	_VB2_USERPTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VB2_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 32(%rbx)
	movq	_solo_video_qops@GOTPCREL(%rip), %rax
	movq	%rax, 88(%rbx)
	movq	_vb2_dma_contig_memops@GOTPCREL(%rip), %rax
	movq	%rax, 80(%rbx)
	movq	%rbx, 72(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	___GFP_DMA32@GOTPCREL(%rip), %rax
	movq	___GFP_KSWAPD_RECLAIM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 36(%rbx)
	movl	$4, 40(%rbx)
	movq	%r12, 56(%rbx)
	movq	24(%rbx), %rax
	movq	%rax, 48(%rbx)
	movq	%r13, %rdi
	callq	_vb2_queue_init
	testl	%eax, %eax
	js	LBB0_12
## %bb.4:
	cmpl	$0, (%rbx)
	jle	LBB0_9
## %bb.5:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_solo_v4l2_set_ch
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_erase_off
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r14d
	cmpl	(%rbx), %r14d
	jl	LBB0_6
LBB0_9:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_solo_v4l2_set_ch
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_erase_off
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:
	movq	8(%rbx), %rdi
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_video_register_device
	testl	%eax, %eax
	js	LBB0_12
## %bb.15:
	movq	8(%rbx), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %edi
	movq	_SOLO6X10_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	_snprintf
	movq	24(%rbx), %rdi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movl	20(%rbx), %r8d
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_info
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_14
LBB0_12:
	movl	%eax, %r14d
LBB0_13:
	movq	8(%rbx), %rdi
	callq	_video_device_release
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_free
	movq	$0, 8(%rbx)
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_solo_v4l2_template,40,3        ## @solo_v4l2_template
	.comm	_solo_motion_trace_ctrl,4,2     ## @solo_motion_trace_ctrl
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ## @VB2_USERPTR
	.comm	_VB2_READ,4,2                   ## @VB2_READ
	.comm	_solo_video_qops,4,2            ## @solo_video_qops
	.comm	_vb2_dma_contig_memops,4,2      ## @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	___GFP_DMA32,4,2                ## @__GFP_DMA32
	.comm	___GFP_KSWAPD_RECLAIM,4,2       ## @__GFP_KSWAPD_RECLAIM
	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s (%i)"

	.comm	_SOLO6X10_NAME,8,3              ## @SOLO6X10_NAME
L_.str.1:                               ## @.str.1
	.asciz	"Display as /dev/video%d with %d inputs (%d extended)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_solo_v4l2_init                 ; -- Begin function solo_v4l2_init
	.p2align	2
_solo_v4l2_init:                        ; @solo_v4l2_init
	.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
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #120
	bl	_init_waitqueue_head
	add	x0, x19, #116
	bl	_spin_lock_init
	add	x22, x19, #104
	mov	x0, x22
	bl	_mutex_init
	add	x0, x19, #112
	bl	_INIT_LIST_HEAD
	bl	_video_device_alloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_12
; %bb.1:
Lloh0:
	adrp	x8, _solo_v4l2_template@GOTPAGE
Lloh1:
	ldr	x8, [x8, _solo_v4l2_template@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	ldr	x8, [x8, #32]
	str	x8, [x0, #32]
	stp	q0, q1, [x0]
	add	x8, x19, #108
	ldr	x9, [x19, #8]
	add	x23, x19, #32
	stp	x23, x8, [x9, #24]
	str	x22, [x9, #16]
	add	x21, x19, #16
	mov	x0, x21
	mov	w1, #1
	bl	_v4l2_ctrl_handler_init
Lloh2:
	adrp	x1, _solo_motion_trace_ctrl@GOTPAGE
Lloh3:
	ldr	x1, [x1, _solo_motion_trace_ctrl@GOTPAGEOFF]
	mov	x0, x21
	mov	x2, #0
	bl	_v4l2_ctrl_new_custom
	ldr	w24, [x19, #16]
	cbnz	w24, LBB0_14
; %bb.2:
	ldr	x0, [x19, #8]
	str	x21, [x0, #8]
	mov	x1, x19
	bl	_video_set_drvdata
Lloh4:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #96]
Lloh7:
	adrp	x8, _VB2_MMAP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VB2_MMAP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _VB2_USERPTR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _VB2_USERPTR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh13:
	adrp	x9, _VB2_READ@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VB2_READ@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _solo_video_qops@GOTPAGE
Lloh17:
	ldr	x10, [x10, _solo_video_qops@GOTPAGEOFF]
	orr	w8, w8, w9
	str	x10, [x19, #88]
Lloh18:
	adrp	x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	str	w9, [x19, #64]
Lloh21:
	adrp	x9, ___GFP_DMA32@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___GFP_DMA32@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, ___GFP_KSWAPD_RECLAIM@GOTPAGE
Lloh25:
	ldr	x10, [x10, ___GFP_KSWAPD_RECLAIM@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh27:
	adrp	x10, _vb2_dma_contig_memops@GOTPAGE
Lloh28:
	ldr	x10, [x10, _vb2_dma_contig_memops@GOTPAGEOFF]
	stp	x19, x10, [x19, #72]
	stp	w8, w9, [x19, #32]
	mov	w8, #4
	str	w8, [x19, #40]
	ldr	x8, [x19, #24]
	stp	x8, x22, [x19, #48]
	mov	x0, x23
	bl	_vb2_queue_init
	tbnz	w0, #31, LBB0_13
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w22, #0
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x19
	mov	x1, x22
	bl	_solo_v4l2_set_ch
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_erase_off
	cbnz	x0, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	ldr	w8, [x19]
	cmp	w22, w8
	b.lt	LBB0_5
LBB0_8:
	mov	x0, x19
	mov	w1, #0
	bl	_solo_v4l2_set_ch
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_erase_off
	cbnz	x0, LBB0_9
; %bb.10:
	ldr	x0, [x19, #8]
Lloh29:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_video_register_device
	tbnz	w0, #31, LBB0_13
; %bb.11:
	ldr	x8, [x19, #8]
Lloh32:
	adrp	x9, _SOLO6X10_NAME@GOTPAGE
Lloh33:
	ldr	x9, [x9, _SOLO6X10_NAME@GOTPAGEOFF]
Lloh34:
	ldr	x3, [x9]
	ldp	w4, w0, [x8]
Lloh35:
	adrp	x2, l_.str@PAGE
Lloh36:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_snprintf
	ldr	x0, [x19, #24]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldr	w3, [x19]
	ldr	w4, [x19, #20]
Lloh37:
	adrp	x1, l_.str.1@PAGE
Lloh38:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
	mov	w24, #0
	b	LBB0_15
LBB0_12:
Lloh39:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_15
LBB0_13:
	mov	x24, x0
LBB0_14:
	ldr	x0, [x19, #8]
	bl	_video_device_release
	mov	x0, x21
	bl	_v4l2_ctrl_handler_free
	str	xzr, [x19, #8]
LBB0_15:
	mov	x0, x24
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_solo_v4l2_template,40,3        ; @solo_v4l2_template
	.comm	_solo_motion_trace_ctrl,4,2     ; @solo_motion_trace_ctrl
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ; @VB2_USERPTR
	.comm	_VB2_READ,4,2                   ; @VB2_READ
	.comm	_solo_video_qops,4,2            ; @solo_video_qops
	.comm	_vb2_dma_contig_memops,4,2      ; @vb2_dma_contig_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	___GFP_DMA32,4,2                ; @__GFP_DMA32
	.comm	___GFP_KSWAPD_RECLAIM,4,2       ; @__GFP_KSWAPD_RECLAIM
	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s (%i)"

	.comm	_SOLO6X10_NAME,8,3              ; @SOLO6X10_NAME
l_.str.1:                               ; @.str.1
	.asciz	"Display as /dev/video%d with %d inputs (%d extended)\n"

.subsections_via_symbols
