	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stk_register_video_device
_stk_register_video_device:             ## @stk_register_video_device
	.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
	movq	%rdi, %rbx
	movq	_stk_v4l_data@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	%xmm0, (%rdi)
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	16(%rdi), %rax
	movq	%rax, (%rdi)
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_video_register_device
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_STK_ERROR
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_video_device_node_name
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_STK_INFO
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stk_v4l_data,16,3              ## @stk_v4l_data
	.comm	_debug,4,2                      ## @debug
	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"v4l registration failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"Syntek USB2.0 Camera is now controlling device %s\n"

	.no_dead_strip	_stk_register_video_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stk_register_video_device
_stk_register_video_device:             ; @stk_register_video_device
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _stk_v4l_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stk_v4l_data@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [x0]
Lloh3:
	adrp	x8, _debug@GOTPAGE
Lloh4:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	x8, [x0, #16]
	str	x8, [x0]
Lloh6:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_video_register_device
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_STK_ERROR
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_video_device_node_name
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_STK_INFO
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_stk_v4l_data,16,3              ; @stk_v4l_data
	.comm	_debug,4,2                      ; @debug
	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"v4l registration failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"Syntek USB2.0 Camera is now controlling device %s\n"

	.no_dead_strip	_stk_register_video_device
.subsections_via_symbols
