	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_parse_standard_control
_uvc_parse_standard_control:            ## @uvc_parse_standard_control
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	2(%rsi), %al
	leal	-128(%rax), %ecx
	cmpb	$5, %cl
	ja	LBB0_5
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	24(%rdi), %r14
	movq	(%rax), %rsi
	movzbl	%cl, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	cmpl	$5, %ebx
	jl	LBB0_4
## %bb.3:
	movzbl	4(%r12), %r13d
	leal	6(%r13), %eax
	cmpl	%ebx, %eax
	jbe	LBB0_49
LBB0_4:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	(%r14), %edx
	movl	(%rsi), %ecx
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_24
LBB0_5:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movzbl	%al, %edx
	leaq	L_.str.16(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_uvc_trace
	jmp	LBB0_82
LBB0_6:
	xorl	%r13d, %r13d
	cmpl	$8, %ebx
	jl	LBB0_8
## %bb.7:
	movzbl	7(%r12), %r13d
LBB0_8:
	xorl	%eax, %eax
	cmpl	$272, (%r15)                    ## imm = 0x110
	setge	%al
	addl	%r13d, %eax
	addl	$9, %eax
	cmpl	%ebx, %eax
	jbe	LBB0_25
## %bb.9:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	(%r14), %edx
	movl	(%rsi), %ecx
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_24
LBB0_10:
	cmpl	$8, %ebx
	jg	LBB0_30
## %bb.11:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	(%r14), %edx
	movl	(%rsi), %ecx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_24
LBB0_12:
	cmpl	$7, %ebx
	jg	LBB0_34
LBB0_13:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	(%r14), %edx
	movl	(%rsi), %ecx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_24
LBB0_14:
	xorl	%r13d, %r13d
	cmpl	$12, %ebx
	jl	LBB0_16
## %bb.15:
	movzbl	11(%r12), %r13d
LBB0_16:
	leal	12(%r13), %eax
	cmpl	%ebx, %eax
	jbe	LBB0_39
## %bb.17:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	(%r14), %edx
	movl	(%rsi), %ecx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_24
LBB0_18:
	xorl	%ecx, %ecx
	movl	$0, %r13d
	cmpl	$22, %ebx
	jl	LBB0_20
## %bb.19:
	movzbl	21(%r12), %r13d
LBB0_20:
	leal	24(%r13), %eax
	cmpl	%ebx, %eax
	ja	LBB0_22
## %bb.21:
	movl	%r13d, %ecx
	movzbl	22(%rcx,%r12), %ecx
LBB0_22:
	addl	%ecx, %eax
	cmpl	%ebx, %eax
	jbe	LBB0_45
## %bb.23:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	(%r14), %edx
	movl	(%rsi), %ecx
	leaq	L_.str.14(%rip), %rsi
LBB0_24:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_uvc_trace
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_82
LBB0_25:
	movzbl	3(%r12), %esi
	movl	$129, %edi
	movl	$2, %edx
	movl	%r13d, %ecx
	callq	_uvc_alloc_entity
	testq	%rax, %rax
	je	LBB0_72
## %bb.26:
	movq	%rax, %rbx
	movq	32(%rax), %rdi
	leaq	4(%r12), %rsi
	movl	$1, %edx
	callq	_memcpy
	leaq	5(%r12), %rdi
	callq	_get_unaligned_le16
	movq	%rax, 56(%rbx)
	movb	7(%r12), %al
	movb	%al, 40(%rbx)
	movq	%rbx, %rdi
	addq	$512, %rdi                      ## imm = 0x200
	movq	%rdi, 48(%rbx)
	leaq	8(%r12), %rsi
	movl	%r13d, %edx
	callq	_memcpy
	cmpl	$272, (%r15)                    ## imm = 0x110
	movl	%r13d, %eax
	jl	LBB0_28
## %bb.27:
	movb	9(%rax,%r12), %cl
	movb	%cl, 41(%rbx)
LBB0_28:
	movb	8(%rax,%r12), %al
	movl	4(%rbx), %edx
	testb	%al, %al
	jne	LBB0_78
## %bb.29:
	movzbl	3(%r12), %eax
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_52
LBB0_30:
	movq	%rsi, %rbx
	leaq	4(%r12), %rdi
	callq	_get_unaligned_le16
	testl	$65280, %eax                    ## imm = 0xFF00
	je	LBB0_56
## %bb.31:
	movq	_UVC_TERM_OUTPUT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movzbl	%al, %edi
	orl	%ecx, %edi
	movzbl	3(%r12), %esi
	xorl	%ebx, %ebx
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_uvc_alloc_entity
	testq	%rax, %rax
	je	LBB0_55
## %bb.32:
	movq	%rax, %r13
	movq	32(%rax), %rdi
	leaq	7(%r12), %rsi
	movl	$1, %edx
	callq	_memcpy
	movb	8(%r12), %al
	movl	4(%r13), %edx
	testb	%al, %al
	je	LBB0_64
## %bb.33:
	movzbl	%al, %esi
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_usb_string
	jmp	LBB0_65
LBB0_34:
	movq	%rsi, %r13
	leaq	4(%r12), %rdi
	callq	_get_unaligned_le16
	testl	$32512, %eax                    ## imm = 0x7F00
	je	LBB0_54
## %bb.35:
	movl	%eax, %ecx
	andl	$32768, %ecx                    ## imm = 0x8000
	jne	LBB0_54
## %bb.36:
	movq	_UVC_ITT_CAMERA@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	movq	%r13, %rsi
	jne	LBB0_59
## %bb.37:
	movl	$15, %edx
	xorl	%edi, %edi
	cmpl	$15, %ebx
	jb	LBB0_66
## %bb.38:
	movzbl	14(%r12), %r13d
	jmp	LBB0_68
LBB0_39:
	leaq	3(%r12), %rdi
	callq	_get_unaligned_le16
	movl	%eax, (%r15)
	leaq	7(%r12), %rdi
	callq	_get_unaligned_le32
	movl	%eax, 8(%r15)
	testl	%r13d, %r13d
	je	LBB0_81
## %bb.40:
	movl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_43 Depth=1
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	(%r14), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_uvc_trace
LBB0_42:                                ##   in Loop: Header=BB0_43 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_81
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movzbl	12(%r12,%rbx), %esi
	movq	%r14, %rdi
	callq	_usb_ifnum_to_if
	testq	%rax, %rax
	je	LBB0_41
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_uvc_parse_streaming
	jmp	LBB0_42
LBB0_45:
	movzbl	3(%r12), %esi
	leal	1(%r13), %edx
	movl	$133, %edi
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	callq	_uvc_alloc_entity
	testq	%rax, %rax
	je	LBB0_72
## %bb.46:
	movq	%rax, %rbx
	movq	24(%rax), %rdi
	leaq	4(%r12), %rsi
	movl	$16, %edx
	callq	_memcpy
	movb	20(%r12), %al
	movb	%al, 8(%rbx)
	movq	32(%rbx), %rdi
	leaq	22(%r12), %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movl	%r13d, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movb	22(%rcx,%r12), %al
	movb	%al, 9(%rbx)
	movq	%rbx, %rdi
	addq	$512, %rdi                      ## imm = 0x200
	movq	%rdi, 16(%rbx)
	leaq	(%r12,%rcx), %rsi
	addq	$23, %rsi
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_memcpy
	movl	%r13d, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, %rax
	addq	$23, %rax
	movb	(%r12,%rax), %al
	movl	4(%rbx), %edx
	testb	%al, %al
	jne	LBB0_78
## %bb.47:
	movzbl	3(%r12), %eax
	leaq	L_.str.15(%rip), %rsi
	jmp	LBB0_52
LBB0_49:
	movzbl	3(%r12), %esi
	leal	1(%r13), %edx
	xorl	%ebx, %ebx
	movl	$128, %edi
	xorl	%ecx, %ecx
	callq	_uvc_alloc_entity
	testq	%rax, %rax
	je	LBB0_55
## %bb.50:
	movq	32(%rax), %rdi
	leaq	5(%r12), %rsi
	movl	%r13d, %edx
	movq	%rax, %rbx
	callq	_memcpy
	movb	5(%r13,%r12), %al
	movl	4(%rbx), %edx
	testb	%al, %al
	jne	LBB0_78
## %bb.51:
	movzbl	3(%r12), %eax
	leaq	L_.str.11(%rip), %rsi
LBB0_52:
	movl	%edx, %edi
	movl	%eax, %edx
LBB0_53:
	callq	_sprintf
	jmp	LBB0_79
LBB0_54:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movzbl	(%r14), %edx
	movl	(%r13), %ecx
	movzbl	3(%r12), %r8d
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_57
LBB0_55:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_82
LBB0_56:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movzbl	(%r14), %edx
	movl	(%rbx), %ecx
	movzbl	3(%r12), %r8d
	leaq	L_.str.8(%rip), %rsi
LBB0_57:
	xorl	%ebx, %ebx
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_uvc_trace
	jmp	LBB0_82
LBB0_59:
	movq	_UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_67
## %bb.60:
	xorl	%edi, %edi
	movl	$0, %r13d
	cmpl	$9, %ebx
	jb	LBB0_62
## %bb.61:
	movzbl	8(%r12), %r13d
LBB0_62:
	leal	10(%r13), %ecx
	movl	$10, %edx
	cmpl	%ebx, %ecx
	ja	LBB0_68
## %bb.63:
	movl	%r13d, %ecx
	movzbl	9(%rcx,%r12), %edi
	jmp	LBB0_68
LBB0_64:
	movzbl	3(%r12), %eax
	leaq	L_.str.9(%rip), %rsi
	movl	%edx, %edi
	movl	%eax, %edx
	callq	_sprintf
LBB0_65:
	addq	$4, %r15
	movq	%r13, %rdi
	jmp	LBB0_80
LBB0_66:
	xorl	%r13d, %r13d
	jmp	LBB0_68
LBB0_67:
	movl	$8, %edx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
LBB0_68:
	leal	(%rdi,%r13), %ecx
	addl	%ecx, %edx
	cmpl	%ebx, %edx
	ja	LBB0_13
## %bb.69:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_UVC_TERM_INPUT@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	movzbl	%al, %edi
	orl	%edx, %edi
	movzbl	3(%r12), %esi
	movl	$1, %edx
	callq	_uvc_alloc_entity
	testq	%rax, %rax
	je	LBB0_72
## %bb.70:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_UVC_ENTITY_TYPE
	movq	_UVC_ITT_CAMERA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_73
## %bb.71:
	movl	%r13d, 88(%rbx)
	movq	%rbx, %rax
	addq	$512, %rax                      ## imm = 0x200
	movq	%rax, 96(%rbx)
	leaq	8(%r12), %rdi
	callq	_get_unaligned_le16
	movq	%rax, 120(%rbx)
	leaq	10(%r12), %rdi
	callq	_get_unaligned_le16
	movq	%rax, 112(%rbx)
	leaq	12(%r12), %rdi
	callq	_get_unaligned_le16
	movq	%rax, 104(%rbx)
	movq	96(%rbx), %rdi
	leaq	15(%r12), %rsi
	movl	%r13d, %edx
	jmp	LBB0_75
LBB0_72:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_82
LBB0_73:
	movq	%rbx, %rdi
	callq	_UVC_ENTITY_TYPE
	movq	_UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_76
## %bb.74:
	movl	%r13d, 64(%rbx)
	leaq	512(%rbx), %rdi
	movq	%rdi, 80(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 68(%rbx)
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	512(%rbx,%rax,4), %rax
	movq	%rax, 72(%rbx)
	leaq	9(%r12), %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movq	72(%rbx), %rdi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %rsi
	addq	$10, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
LBB0_75:
	callq	_memcpy
LBB0_76:
	movb	7(%r12), %al
	testb	%al, %al
	je	LBB0_83
## %bb.77:
	movl	4(%rbx), %edx
LBB0_78:
	movzbl	%al, %esi
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_usb_string
LBB0_79:
	addq	$4, %r15
	movq	%rbx, %rdi
LBB0_80:
	movq	%r15, %rsi
	callq	_list_add_tail
LBB0_81:
	xorl	%ebx, %ebx
LBB0_82:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_83:
	movq	%rbx, %rdi
	callq	_UVC_ENTITY_TYPE
	movq	_UVC_ITT_CAMERA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_85
## %bb.84:
	movl	4(%rbx), %edi
	movzbl	3(%r12), %edx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_53
LBB0_85:
	movq	%rbx, %rdi
	callq	_UVC_ENTITY_TYPE
	movq	_UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPCREL(%rip), %rdx
	movl	4(%rbx), %edi
	movb	3(%r12), %cl
	cmpl	(%rdx), %eax
	jne	LBB0_87
## %bb.86:
	movzbl	%cl, %edx
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_53
LBB0_87:
	movzbl	%cl, %edx
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_53
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_UVC_TRACE_DESCR,4,2            ## @UVC_TRACE_DESCR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device %d videocontrol interface %d HEADER error\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"device %d interface %d doesn't exists\n"

L_.str.2:                               ## @.str.2
	.asciz	"device %d videocontrol interface %d INPUT_TERMINAL error\n"

L_.str.3:                               ## @.str.3
	.asciz	"device %d videocontrol interface %d INPUT_TERMINAL %d has invalid type 0x%04x, skipping\n"

	.comm	_UVC_ITT_CAMERA,4,2             ## @UVC_ITT_CAMERA
	.comm	_UVC_ITT_MEDIA_TRANSPORT_INPUT,4,2 ## @UVC_ITT_MEDIA_TRANSPORT_INPUT
	.comm	_UVC_TERM_INPUT,4,2             ## @UVC_TERM_INPUT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"Camera %u"

L_.str.5:                               ## @.str.5
	.asciz	"Media %u"

L_.str.6:                               ## @.str.6
	.asciz	"Input %u"

L_.str.7:                               ## @.str.7
	.asciz	"device %d videocontrol interface %d OUTPUT_TERMINAL error\n"

L_.str.8:                               ## @.str.8
	.asciz	"device %d videocontrol interface %d OUTPUT_TERMINAL %d has invalid type 0x%04x, skipping\n"

	.comm	_UVC_TERM_OUTPUT,4,2            ## @UVC_TERM_OUTPUT
L_.str.9:                               ## @.str.9
	.asciz	"Output %u"

L_.str.10:                              ## @.str.10
	.asciz	"device %d videocontrol interface %d SELECTOR_UNIT error\n"

L_.str.11:                              ## @.str.11
	.asciz	"Selector %u"

L_.str.12:                              ## @.str.12
	.asciz	"device %d videocontrol interface %d PROCESSING_UNIT error\n"

L_.str.13:                              ## @.str.13
	.asciz	"Processing %u"

L_.str.14:                              ## @.str.14
	.asciz	"device %d videocontrol interface %d EXTENSION_UNIT error\n"

L_.str.15:                              ## @.str.15
	.asciz	"Extension %u"

L_.str.16:                              ## @.str.16
	.asciz	"Found an unknown CS_INTERFACE descriptor (%u)\n"

	.no_dead_strip	_uvc_parse_standard_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_parse_standard_control
_uvc_parse_standard_control:            ; @uvc_parse_standard_control
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	ldrb	w2, [x1, #2]
	sub	w8, w2, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldp	x9, x20, [x0, #16]
	ldr	x25, [x9]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cmp	w22, #5
	b.lt	LBB0_4
; %bb.3:
	ldrb	w23, [x21, #4]
	add	w8, w23, #6
	cmp	w8, w22
	b.ls	LBB0_53
LBB0_4:
Lloh2:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldrb	w2, [x20]
	ldr	w8, [x25]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.10@PAGE
Lloh6:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_48
LBB0_5:
Lloh7:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.16@PAGE
Lloh11:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_61
LBB0_6:
	cmp	w22, #8
	b.lt	LBB0_16
; %bb.7:
	ldrb	w23, [x21, #7]
	b	LBB0_17
LBB0_8:
	cmp	w22, #8
	b.gt	LBB0_19
; %bb.9:
Lloh12:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldrb	w2, [x20]
	ldr	w8, [x25]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.7@PAGE
Lloh16:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_48
LBB0_10:
	cmp	w22, #7
	b.gt	LBB0_23
LBB0_11:
Lloh17:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldrb	w2, [x20]
	ldr	w8, [x25]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_48
LBB0_12:
	cmp	w22, #12
	b.lt	LBB0_28
; %bb.13:
	ldrb	w23, [x21, #11]
	b	LBB0_29
LBB0_14:
	cmp	w22, #22
	b.lt	LBB0_31
; %bb.15:
	ldrb	w23, [x21, #21]
	b	LBB0_32
LBB0_16:
	mov	w23, #0
LBB0_17:
	ldr	w8, [x19]
	cmp	w8, #271
	mov	w8, #9
	cinc	w8, w8, gt
	add	w8, w8, w23
	cmp	w8, w22
	b.ls	LBB0_34
; %bb.18:
Lloh22:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldrb	w2, [x20]
	ldr	w8, [x25]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.12@PAGE
Lloh26:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_48
LBB0_19:
	add	x0, x21, #4
	bl	_get_unaligned_le16
	tst	w0, #0xff00
	b.eq	LBB0_59
; %bb.20:
Lloh27:
	adrp	x8, _UVC_TERM_OUTPUT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _UVC_TERM_OUTPUT@GOTPAGEOFF]
	ldrb	w8, [x8]
	and	w9, w0, #0xff
	orr	w0, w8, w9
	ldrb	w1, [x21, #3]
	mov	w2, #1
	mov	w3, #0
	bl	_uvc_alloc_entity
	cbz	x0, LBB0_76
; %bb.21:
	mov	x22, x0
	ldr	x0, [x0, #32]
	add	x1, x21, #7
	mov	w2, #1
	bl	_memcpy
	ldrb	w1, [x21, #8]
	ldr	w2, [x22, #4]
	cbnz	w1, LBB0_82
; %bb.22:
	ldrb	w8, [x21, #3]
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_56
LBB0_23:
	add	x0, x21, #4
	bl	_get_unaligned_le16
	tst	w0, #0x7f00
	b.eq	LBB0_58
; %bb.24:
	tbnz	w0, #15, LBB0_58
; %bb.25:
Lloh31:
	adrp	x26, _UVC_ITT_CAMERA@GOTPAGE
Lloh32:
	ldr	x26, [x26, _UVC_ITT_CAMERA@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, w0
	b.ne	LBB0_62
; %bb.26:
	cmp	w22, #15
	b.lo	LBB0_65
; %bb.27:
	mov	w24, #0
	ldrb	w23, [x21, #14]
	mov	w8, #15
	b	LBB0_72
LBB0_28:
	mov	w23, #0
LBB0_29:
	add	w8, w23, #12
	cmp	w8, w22
	b.ls	LBB0_39
; %bb.30:
Lloh33:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldrb	w2, [x20]
	ldr	w8, [x25]
	str	x8, [sp]
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_48
LBB0_31:
	mov	w23, #0
LBB0_32:
	add	w8, w23, #24
	cmp	w8, w22
	b.ls	LBB0_45
; %bb.33:
	mov	w24, #0
	b	LBB0_46
LBB0_34:
	ldrb	w1, [x21, #3]
	mov	w0, #129
	mov	w2, #2
	mov	x3, x23
	bl	_uvc_alloc_entity
	cbz	x0, LBB0_76
; %bb.35:
	mov	x22, x0
	ldr	x0, [x0, #32]
	add	x1, x21, #4
	mov	w2, #1
	bl	_memcpy
	add	x0, x21, #5
	bl	_get_unaligned_le16
	str	x0, [x22, #56]
	ldrb	w8, [x21, #7]
	strb	w8, [x22, #40]
	add	x0, x22, #512
	str	x0, [x22, #48]
	add	x1, x21, #8
	mov	x2, x23
	bl	_memcpy
	ldr	w9, [x19]
	add	x8, x21, w23, uxtw
	cmp	w9, #272
	b.lt	LBB0_37
; %bb.36:
	ldrb	w9, [x8, #9]
	strb	w9, [x22, #41]
LBB0_37:
	ldrb	w1, [x8, #8]
	ldr	w2, [x22, #4]
	cbnz	w1, LBB0_82
; %bb.38:
	ldrb	w8, [x21, #3]
Lloh38:
	adrp	x1, l_.str.13@PAGE
Lloh39:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_56
LBB0_39:
	add	x0, x21, #3
	bl	_get_unaligned_le16
	str	w0, [x19]
	add	x0, x21, #7
	bl	_get_unaligned_le32
	str	w0, [x19, #8]
	cbz	w23, LBB0_84
; %bb.40:
	mov	x22, #0
	mov	w23, w23
	add	x24, x21, #12
Lloh40:
	adrp	x25, _UVC_TRACE_DESCR@GOTPAGE
Lloh41:
	ldr	x25, [x25, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh42:
	adrp	x21, l_.str.1@PAGE
Lloh43:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_43
LBB0_41:                                ;   in Loop: Header=BB0_43 Depth=1
	ldr	w0, [x25]
	ldrb	w2, [x20]
	str	x22, [sp]
	mov	x1, x21
	bl	_uvc_trace
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=1
	add	x22, x22, #1
	cmp	x23, x22
	b.eq	LBB0_84
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w1, [x24, x22]
	mov	x0, x20
	bl	_usb_ifnum_to_if
	cbz	x0, LBB0_41
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	mov	x1, x0
	mov	x0, x19
	bl	_uvc_parse_streaming
	b	LBB0_42
LBB0_45:
	add	x9, x21, w23, uxtw
	ldrb	w24, [x9, #22]
LBB0_46:
	add	w8, w24, w8
	cmp	w8, w22
	b.ls	LBB0_50
; %bb.47:
Lloh44:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldrb	w2, [x20]
	ldr	w8, [x25]
	str	x8, [sp]
Lloh47:
	adrp	x1, l_.str.14@PAGE
Lloh48:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_48:
	bl	_uvc_trace
Lloh49:
	adrp	x8, _EINVAL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_49:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_85
LBB0_50:
	ldrb	w1, [x21, #3]
	add	w2, w23, #1
	mov	w0, #133
	mov	x3, x24
	bl	_uvc_alloc_entity
	cbz	x0, LBB0_76
; %bb.51:
	mov	x22, x0
	ldr	x0, [x0, #24]
	add	x1, x21, #4
	mov	w2, #16
	bl	_memcpy
	ldrb	w8, [x21, #20]
	strb	w8, [x22, #8]
	ldr	x0, [x22, #32]
	add	x1, x21, #22
	mov	x2, x23
	bl	_memcpy
	add	x8, x21, w23, uxtw
	ldrb	w8, [x8, #22]
	strb	w8, [x22, #9]
	add	x0, x22, #512
	str	x0, [x22, #16]
	add	w23, w23, #23
	add	x1, x21, x23
	mov	x2, x24
	bl	_memcpy
	add	x8, x23, w24, uxtw
	ldrb	w1, [x21, x8]
	ldr	w2, [x22, #4]
	cbnz	w1, LBB0_82
; %bb.52:
	ldrb	w8, [x21, #3]
Lloh51:
	adrp	x1, l_.str.15@PAGE
Lloh52:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_56
LBB0_53:
	ldrb	w1, [x21, #3]
	add	w2, w23, #1
	mov	w0, #128
	mov	w3, #0
	bl	_uvc_alloc_entity
	cbz	x0, LBB0_76
; %bb.54:
	mov	x22, x0
	ldr	x0, [x0, #32]
	add	x1, x21, #5
	mov	x2, x23
	bl	_memcpy
	add	x8, x23, x21
	ldrb	w1, [x8, #5]
	ldr	w2, [x22, #4]
	cbnz	w1, LBB0_82
; %bb.55:
	ldrb	w8, [x21, #3]
Lloh53:
	adrp	x1, l_.str.11@PAGE
Lloh54:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_56:
	mov	x0, x2
	mov	x2, x8
LBB0_57:
	bl	_sprintf
	b	LBB0_83
LBB0_58:
Lloh55:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	ldrb	w2, [x20]
	ldrb	w9, [x21, #3]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	ldr	w10, [x25]
	stp	x9, x0, [sp, #8]
	str	x10, [sp]
Lloh58:
	adrp	x1, l_.str.3@PAGE
Lloh59:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_60
LBB0_59:
Lloh60:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	ldrb	w2, [x20]
	ldrb	w9, [x21, #3]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	ldr	w10, [x25]
	stp	x9, x0, [sp, #8]
	str	x10, [sp]
Lloh63:
	adrp	x1, l_.str.8@PAGE
Lloh64:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_60:
	mov	x0, x8
LBB0_61:
	bl	_uvc_trace
	b	LBB0_84
LBB0_62:
Lloh65:
	adrp	x8, _UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_66
; %bb.63:
	cmp	w22, #9
	b.lo	LBB0_67
; %bb.64:
	ldrb	w23, [x21, #8]
	b	LBB0_68
LBB0_65:
	mov	w23, #0
	mov	w24, #0
	mov	w8, #15
	b	LBB0_72
LBB0_66:
	mov	w23, #0
	mov	w24, #0
	mov	w8, #8
	b	LBB0_72
LBB0_67:
	mov	w23, #0
LBB0_68:
	add	w8, w23, #10
	cmp	w8, w22
	b.ls	LBB0_70
; %bb.69:
	mov	w24, #0
	b	LBB0_71
LBB0_70:
	add	x8, x21, w23, uxtw
	ldrb	w24, [x8, #9]
LBB0_71:
	mov	w8, #10
LBB0_72:
	add	w3, w24, w23
	add	w8, w3, w8
	cmp	w8, w22
	b.hi	LBB0_11
; %bb.73:
Lloh68:
	adrp	x8, _UVC_TERM_INPUT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _UVC_TERM_INPUT@GOTPAGEOFF]
	ldrb	w8, [x8]
	and	w9, w0, #0xff
	orr	w0, w8, w9
	ldrb	w1, [x21, #3]
	mov	w2, #1
	bl	_uvc_alloc_entity
	cbz	x0, LBB0_76
; %bb.74:
	mov	x22, x0
	bl	_UVC_ENTITY_TYPE
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_77
; %bb.75:
	str	w23, [x22, #88]
	add	x8, x22, #512
	str	x8, [x22, #96]
	add	x0, x21, #8
	bl	_get_unaligned_le16
	str	x0, [x22, #120]
	add	x0, x21, #10
	bl	_get_unaligned_le16
	str	x0, [x22, #112]
	add	x0, x21, #12
	bl	_get_unaligned_le16
	str	x0, [x22, #104]
	ldr	x0, [x22, #96]
	add	x1, x21, #15
	mov	x2, x23
	b	LBB0_79
LBB0_76:
Lloh70:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_49
LBB0_77:
	mov	x0, x22
	bl	_UVC_ENTITY_TYPE
Lloh72:
	adrp	x8, _UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPAGE
Lloh73:
	ldr	x8, [x8, _UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_80
; %bb.78:
	add	x0, x22, #512
	stp	w23, w24, [x22, #64]
	add	x8, x0, w23, uxtw #2
	stp	x8, x0, [x22, #72]
	add	x1, x21, #9
	mov	x2, x23
	bl	_memcpy
	ldr	x0, [x22, #72]
	add	w8, w23, #10
	add	x1, x21, x8
	mov	x2, x24
LBB0_79:
	bl	_memcpy
LBB0_80:
	ldrb	w1, [x21, #7]
	cbz	w1, LBB0_86
; %bb.81:
	ldr	w2, [x22, #4]
LBB0_82:
	mov	x0, x20
	mov	w3, #4
	bl	_usb_string
LBB0_83:
	add	x1, x19, #4
	mov	x0, x22
	bl	_list_add_tail
LBB0_84:
	mov	w0, #0
LBB0_85:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_86:
	mov	x0, x22
	bl	_UVC_ENTITY_TYPE
	ldr	w8, [x26]
	cmp	w0, w8
	b.ne	LBB0_88
; %bb.87:
	ldr	w0, [x22, #4]
	ldrb	w2, [x21, #3]
Lloh75:
	adrp	x1, l_.str.4@PAGE
Lloh76:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_57
LBB0_88:
	mov	x0, x22
	bl	_UVC_ENTITY_TYPE
	mov	x8, x0
Lloh77:
	adrp	x9, _UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPAGE
Lloh78:
	ldr	x9, [x9, _UVC_ITT_MEDIA_TRANSPORT_INPUT@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	ldr	w0, [x22, #4]
	ldrb	w2, [x21, #3]
	cmp	w8, w9
	b.ne	LBB0_90
; %bb.89:
Lloh80:
	adrp	x1, l_.str.5@PAGE
Lloh81:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_57
LBB0_90:
Lloh82:
	adrp	x1, l_.str.6@PAGE
Lloh83:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_57
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_UVC_TRACE_DESCR,4,2            ; @UVC_TRACE_DESCR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device %d videocontrol interface %d HEADER error\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"device %d interface %d doesn't exists\n"

l_.str.2:                               ; @.str.2
	.asciz	"device %d videocontrol interface %d INPUT_TERMINAL error\n"

l_.str.3:                               ; @.str.3
	.asciz	"device %d videocontrol interface %d INPUT_TERMINAL %d has invalid type 0x%04x, skipping\n"

	.comm	_UVC_ITT_CAMERA,4,2             ; @UVC_ITT_CAMERA
	.comm	_UVC_ITT_MEDIA_TRANSPORT_INPUT,4,2 ; @UVC_ITT_MEDIA_TRANSPORT_INPUT
	.comm	_UVC_TERM_INPUT,4,2             ; @UVC_TERM_INPUT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"Camera %u"

l_.str.5:                               ; @.str.5
	.asciz	"Media %u"

l_.str.6:                               ; @.str.6
	.asciz	"Input %u"

l_.str.7:                               ; @.str.7
	.asciz	"device %d videocontrol interface %d OUTPUT_TERMINAL error\n"

l_.str.8:                               ; @.str.8
	.asciz	"device %d videocontrol interface %d OUTPUT_TERMINAL %d has invalid type 0x%04x, skipping\n"

	.comm	_UVC_TERM_OUTPUT,4,2            ; @UVC_TERM_OUTPUT
l_.str.9:                               ; @.str.9
	.asciz	"Output %u"

l_.str.10:                              ; @.str.10
	.asciz	"device %d videocontrol interface %d SELECTOR_UNIT error\n"

l_.str.11:                              ; @.str.11
	.asciz	"Selector %u"

l_.str.12:                              ; @.str.12
	.asciz	"device %d videocontrol interface %d PROCESSING_UNIT error\n"

l_.str.13:                              ; @.str.13
	.asciz	"Processing %u"

l_.str.14:                              ; @.str.14
	.asciz	"device %d videocontrol interface %d EXTENSION_UNIT error\n"

l_.str.15:                              ; @.str.15
	.asciz	"Extension %u"

l_.str.16:                              ; @.str.16
	.asciz	"Found an unknown CS_INTERFACE descriptor (%u)\n"

	.no_dead_strip	_uvc_parse_standard_control
.subsections_via_symbols
