	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpia2_register_camera          ## -- Begin function cpia2_register_camera
	.p2align	4, 0x90
_cpia2_register_camera:                 ## @cpia2_register_camera
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	76(%rdi), %r12
	leaq	L_.str(%rip), %rax
	movq	%rax, -72(%rbp)
	movl	$1, -64(%rbp)
	movq	_USBIF_ISO_6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_USBIF_ISO_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_V4L2_CTRL_TYPE_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_CPIA2_CID_USB_ALT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_cpia2_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r15, -40(%rbp)
	movq	%r12, %rdi
	movl	$12, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_BRIGHTNESS@GOTPCREL(%rip), %rax
	movq	56(%r14), %rdx
	movq	_DEVICE_STV_672@GOTPCREL(%rip), %rbx
	xorl	%ecx, %ecx
	cmpq	(%rbx), %rdx
	movl	(%rax), %edx
	sete	%cl
	movq	_DEFAULT_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DEFAULT_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DEFAULT_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_JPEG_ACTIVE_MARKER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_JPEG_ACTIVE_MARKER_DHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$100, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movl	$100, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_alternate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_v4l2_ctrl_new_custom
	movl	%eax, 72(%r14)
	movq	56(%r14), %rax
	cmpq	(%rbx), %rax
	je	LBB0_2
## %bb.1:
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_cpia2_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	56(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_3
LBB0_2:
	movq	_V4L2_CID_POWER_LINE_FREQUENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_cpia2_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_v4l2_ctrl_new_std_menu
LBB0_3:
	cmpl	$337, 64(%r14)                  ## imm = 0x151
	jne	LBB0_5
## %bb.4:
	movq	_V4L2_CID_ILLUMINATORS_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_cpia2_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	leaq	40(%r14), %rbx
	movq	%rax, 40(%r14)
	movq	_V4L2_CID_ILLUMINATORS_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%r14)
	movl	$2, %edi
	movq	%rbx, %rsi
	callq	_v4l2_ctrl_cluster
LBB0_5:
	movl	(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_9
LBB0_7:
	movq	_cpia2_template@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	%xmm1, 16(%r14)
	movups	%xmm0, (%r14)
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_video_set_drvdata
	leaq	36(%r14), %rax
	movq	%rax, 24(%r14)
	movq	%r12, 16(%r14)
	leaq	32(%r14), %rax
	movq	%rax, 8(%r14)
	movq	_V4L2_CAP_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_READWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	%r14, %rdi
	callq	_reset_camera_struct_v4l
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_video_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_video_register_device
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jns	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"USB Alternate"

	.comm	_USBIF_ISO_6,4,2                ## @USBIF_ISO_6
	.comm	_USBIF_ISO_1,4,2                ## @USBIF_ISO_1
	.comm	_V4L2_CTRL_TYPE_INTEGER,4,2     ## @V4L2_CTRL_TYPE_INTEGER
	.comm	_CPIA2_CID_USB_ALT,4,2          ## @CPIA2_CID_USB_ALT
	.comm	_cpia2_ctrl_ops,4,2             ## @cpia2_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ## @V4L2_CID_BRIGHTNESS
	.comm	_DEVICE_STV_672,8,3             ## @DEVICE_STV_672
	.comm	_DEFAULT_BRIGHTNESS,4,2         ## @DEFAULT_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ## @V4L2_CID_CONTRAST
	.comm	_DEFAULT_CONTRAST,4,2           ## @DEFAULT_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ## @V4L2_CID_SATURATION
	.comm	_DEFAULT_SATURATION,4,2         ## @DEFAULT_SATURATION
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_JPEG_ACTIVE_MARKER,4,2 ## @V4L2_CID_JPEG_ACTIVE_MARKER
	.comm	_V4L2_JPEG_ACTIVE_MARKER_DHT,4,2 ## @V4L2_JPEG_ACTIVE_MARKER_DHT
	.comm	_V4L2_CID_JPEG_COMPRESSION_QUALITY,4,2 ## @V4L2_CID_JPEG_COMPRESSION_QUALITY
	.comm	_alternate,4,2                  ## @alternate
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ,4,2 ## @V4L2_CID_POWER_LINE_FREQUENCY_60HZ
	.comm	_V4L2_CID_ILLUMINATORS_1,4,2    ## @V4L2_CID_ILLUMINATORS_1
	.comm	_V4L2_CID_ILLUMINATORS_2,4,2    ## @V4L2_CID_ILLUMINATORS_2
	.comm	_cpia2_template,32,3            ## @cpia2_template
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ## @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_READWRITE,4,2         ## @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.comm	_video_nr,4,2                   ## @video_nr
L_.str.1:                               ## @.str.1
	.asciz	"video_register_device failed\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpia2_register_camera          ; -- Begin function cpia2_register_camera
	.p2align	2
_cpia2_register_camera:                 ; @cpia2_register_camera
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #8]
	mov	w8, #1
Lloh2:
	adrp	x9, _USBIF_ISO_6@GOTPAGE
Lloh3:
	ldr	x9, [x9, _USBIF_ISO_6@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	str	w8, [sp, #16]
	str	w9, [sp, #24]
Lloh5:
	adrp	x8, _USBIF_ISO_1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _USBIF_ISO_1@GOTPAGEOFF]
Lloh7:
	adrp	x9, _V4L2_CTRL_TYPE_INTEGER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_INTEGER@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #28]
Lloh11:
	adrp	x8, _CPIA2_CID_USB_ALT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CPIA2_CID_USB_ALT@GOTPAGEOFF]
	add	x20, x0, #76
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #36]
Lloh14:
	adrp	x21, _cpia2_ctrl_ops@GOTPAGE
Lloh15:
	ldr	x21, [x21, _cpia2_ctrl_ops@GOTPAGEOFF]
	str	x21, [sp, #40]
	mov	x0, x20
	mov	w1, #12
	bl	_v4l2_ctrl_handler_init
Lloh16:
	adrp	x8, _V4L2_CID_BRIGHTNESS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_CID_BRIGHTNESS@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	x8, [x19, #56]
Lloh19:
	adrp	x22, _DEVICE_STV_672@GOTPAGE
Lloh20:
	ldr	x22, [x22, _DEVICE_STV_672@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w3, eq
Lloh21:
	adrp	x8, _DEFAULT_BRIGHTNESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DEFAULT_BRIGHTNESS@GOTPAGEOFF]
Lloh23:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w4, #255
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh24:
	adrp	x8, _V4L2_CID_CONTRAST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_CID_CONTRAST@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x8, _DEFAULT_CONTRAST@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DEFAULT_CONTRAST@GOTPAGEOFF]
Lloh29:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh30:
	adrp	x8, _V4L2_CID_SATURATION@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_CID_SATURATION@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	adrp	x8, _DEFAULT_SATURATION@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DEFAULT_SATURATION@GOTPAGEOFF]
Lloh35:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh36:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh39:
	adrp	x8, _V4L2_CID_JPEG_ACTIVE_MARKER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _V4L2_CID_JPEG_ACTIVE_MARKER@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
Lloh42:
	adrp	x8, _V4L2_JPEG_ACTIVE_MARKER_DHT@GOTPAGE
Lloh43:
	ldr	x8, [x8, _V4L2_JPEG_ACTIVE_MARKER_DHT@GOTPAGEOFF]
Lloh44:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w5, #0
	mov	x6, x4
	bl	_v4l2_ctrl_new_std
Lloh45:
	adrp	x8, _V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _V4L2_CID_JPEG_COMPRESSION_QUALITY@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1
	mov	w4, #100
	mov	w5, #1
	mov	w6, #100
	bl	_v4l2_ctrl_new_std
Lloh48:
	adrp	x8, _alternate@GOTPAGE
Lloh49:
	ldr	x8, [x8, _alternate@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, #0
	bl	_v4l2_ctrl_new_custom
	str	w0, [x19, #72]
	ldr	x8, [x19, #56]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh51:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh52:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
Lloh54:
	adrp	x1, _cpia2_ctrl_ops@GOTPAGE
Lloh55:
	ldr	x1, [x1, _cpia2_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	ldr	x8, [x19, #56]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh56:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGE
Lloh57:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
Lloh59:
	adrp	x8, _V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPAGE
Lloh60:
	ldr	x8, [x8, _V4L2_CID_POWER_LINE_FREQUENCY_60HZ@GOTPAGEOFF]
Lloh61:
	ldr	w3, [x8]
Lloh62:
	adrp	x1, _cpia2_ctrl_ops@GOTPAGE
Lloh63:
	ldr	x1, [x1, _cpia2_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w4, #0
	mov	w5, #0
	bl	_v4l2_ctrl_new_std_menu
LBB0_3:
	ldr	w8, [x19, #64]
	cmp	w8, #337
	b.ne	LBB0_5
; %bb.4:
Lloh64:
	adrp	x8, _V4L2_CID_ILLUMINATORS_1@GOTPAGE
Lloh65:
	ldr	x8, [x8, _V4L2_CID_ILLUMINATORS_1@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
Lloh67:
	adrp	x21, _cpia2_ctrl_ops@GOTPAGE
Lloh68:
	ldr	x21, [x21, _cpia2_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	mov	x22, x19
	str	x0, [x22, #40]!
Lloh69:
	adrp	x8, _V4L2_CID_ILLUMINATORS_2@GOTPAGE
Lloh70:
	ldr	x8, [x8, _V4L2_CID_ILLUMINATORS_2@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x22, #8]
	mov	w0, #2
	mov	x1, x22
	bl	_v4l2_ctrl_cluster
LBB0_5:
	ldr	w21, [x20]
	cbz	w21, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_10
LBB0_7:
Lloh72:
	adrp	x8, _cpia2_template@GOTPAGE
Lloh73:
	ldr	x8, [x8, _cpia2_template@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [x19]
	mov	x0, x19
	mov	x1, x19
	bl	_video_set_drvdata
	add	x8, x19, #36
	stp	x20, x8, [x19, #16]
	add	x8, x19, #32
	str	x8, [x19, #8]
Lloh74:
	adrp	x8, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGE
Lloh75:
	ldr	x8, [x8, _V4L2_CAP_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh76:
	ldr	w8, [x8]
Lloh77:
	adrp	x9, _V4L2_CAP_READWRITE@GOTPAGE
Lloh78:
	ldr	x9, [x9, _V4L2_CAP_READWRITE@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh80:
	adrp	x9, _V4L2_CAP_STREAMING@GOTPAGE
Lloh81:
	ldr	x9, [x9, _V4L2_CAP_STREAMING@GOTPAGEOFF]
Lloh82:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	bl	_reset_camera_struct_v4l
Lloh83:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh84:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
Lloh86:
	adrp	x8, _video_nr@GOTPAGE
Lloh87:
	ldr	x8, [x8, _video_nr@GOTPAGEOFF]
Lloh88:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_video_register_device
	tbnz	x0, #63, LBB0_9
; %bb.8:
	mov	w21, #0
	b	LBB0_10
LBB0_9:
Lloh89:
	adrp	x0, l_.str.1@PAGE
Lloh90:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
Lloh91:
	adrp	x8, _ENODEV@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh93:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpAdd	Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"USB Alternate"

	.comm	_USBIF_ISO_6,4,2                ; @USBIF_ISO_6
	.comm	_USBIF_ISO_1,4,2                ; @USBIF_ISO_1
	.comm	_V4L2_CTRL_TYPE_INTEGER,4,2     ; @V4L2_CTRL_TYPE_INTEGER
	.comm	_CPIA2_CID_USB_ALT,4,2          ; @CPIA2_CID_USB_ALT
	.comm	_cpia2_ctrl_ops,4,2             ; @cpia2_ctrl_ops
	.comm	_V4L2_CID_BRIGHTNESS,4,2        ; @V4L2_CID_BRIGHTNESS
	.comm	_DEVICE_STV_672,8,3             ; @DEVICE_STV_672
	.comm	_DEFAULT_BRIGHTNESS,4,2         ; @DEFAULT_BRIGHTNESS
	.comm	_V4L2_CID_CONTRAST,4,2          ; @V4L2_CID_CONTRAST
	.comm	_DEFAULT_CONTRAST,4,2           ; @DEFAULT_CONTRAST
	.comm	_V4L2_CID_SATURATION,4,2        ; @V4L2_CID_SATURATION
	.comm	_DEFAULT_SATURATION,4,2         ; @DEFAULT_SATURATION
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_JPEG_ACTIVE_MARKER,4,2 ; @V4L2_CID_JPEG_ACTIVE_MARKER
	.comm	_V4L2_JPEG_ACTIVE_MARKER_DHT,4,2 ; @V4L2_JPEG_ACTIVE_MARKER_DHT
	.comm	_V4L2_CID_JPEG_COMPRESSION_QUALITY,4,2 ; @V4L2_CID_JPEG_COMPRESSION_QUALITY
	.comm	_alternate,4,2                  ; @alternate
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY
	.comm	_V4L2_CID_POWER_LINE_FREQUENCY_60HZ,4,2 ; @V4L2_CID_POWER_LINE_FREQUENCY_60HZ
	.comm	_V4L2_CID_ILLUMINATORS_1,4,2    ; @V4L2_CID_ILLUMINATORS_1
	.comm	_V4L2_CID_ILLUMINATORS_2,4,2    ; @V4L2_CID_ILLUMINATORS_2
	.comm	_cpia2_template,32,3            ; @cpia2_template
	.comm	_V4L2_CAP_VIDEO_CAPTURE,4,2     ; @V4L2_CAP_VIDEO_CAPTURE
	.comm	_V4L2_CAP_READWRITE,4,2         ; @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.comm	_video_nr,4,2                   ; @video_nr
l_.str.1:                               ; @.str.1
	.asciz	"video_register_device failed\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
