	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_scan_chain_entity
_uvc_scan_chain_entity:                 ## @uvc_scan_chain_entity
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_UVC_ENTITY_TYPE
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_uvc_trace_param@GOTPCREL(%rip), %rax
	movq	_UVC_TRACE_PROBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
LBB0_3:
	movl	(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
LBB0_4:
	callq	_printk
LBB0_5:
	addq	$8, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_6:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	callq	_UVC_ENTITY_TYPE
	leaq	L_.str.8(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	jmp	LBB0_21
LBB0_7:
	movq	_uvc_trace_param@GOTPCREL(%rip), %rax
	movq	_UVC_TRACE_PROBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	callq	_printk
LBB0_9:
	cmpl	$1, 4(%rbx)
	je	LBB0_5
## %bb.10:
	cmpq	$0, 8(%r14)
	je	LBB0_29
## %bb.11:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_16
LBB0_12:
	movq	_uvc_trace_param@GOTPCREL(%rip), %rax
	movq	_UVC_TRACE_PROBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_14
## %bb.13:
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_printk
LBB0_14:
	cmpq	$0, 16(%r14)
	je	LBB0_28
## %bb.15:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_16:
	xorl	%eax, %eax
	callq	_uvc_trace
	jmp	LBB0_22
LBB0_17:
	movq	_uvc_trace_param@GOTPCREL(%rip), %rax
	movq	_UVC_TRACE_PROBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_19
## %bb.18:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_printk
LBB0_19:
	cmpl	$1, 4(%rbx)
	je	LBB0_5
## %bb.20:
	movq	_UVC_TRACE_DESCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_21:
	xorl	%eax, %eax
	callq	_uvc_trace
LBB0_22:
	movl	$-1, %eax
LBB0_23:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_24:
	movq	%rbx, %rdi
	callq	_UVC_ENTITY_IS_ITERM
	movq	_uvc_trace_param@GOTPCREL(%rip), %rdx
	movq	_UVC_TRACE_PROBE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdx), %ecx
	testl	%eax, %eax
	je	LBB0_26
## %bb.25:
	testl	%ecx, %ecx
	jne	LBB0_3
	jmp	LBB0_5
LBB0_26:
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.27:
	movl	(%rbx), %esi
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_4
LBB0_28:
	movq	%rbx, 16(%r14)
	jmp	LBB0_5
LBB0_29:
	movq	%rbx, 8(%r14)
	jmp	LBB0_5
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_17
	.long	L0_0_set_24
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_uvc_trace_param,4,2            ## @uvc_trace_param
	.comm	_UVC_TRACE_PROBE,4,2            ## @UVC_TRACE_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" <- XU %d"

	.comm	_UVC_TRACE_DESCR,4,2            ## @UVC_TRACE_DESCR
L_.str.1:                               ## @.str.1
	.asciz	"Extension unit %d has more than 1 input pin.\n"

L_.str.2:                               ## @.str.2
	.asciz	" <- PU %d"

L_.str.3:                               ## @.str.3
	.asciz	"Found multiple Processing Units in chain.\n"

L_.str.4:                               ## @.str.4
	.asciz	" <- SU %d"

L_.str.5:                               ## @.str.5
	.asciz	"Found multiple Selector Units in chain.\n"

L_.str.6:                               ## @.str.6
	.asciz	" <- IT %d\n"

L_.str.7:                               ## @.str.7
	.asciz	" OT %d"

L_.str.8:                               ## @.str.8
	.asciz	"Unsupported entity type 0x%04x found in chain.\n"

	.no_dead_strip	_uvc_scan_chain_entity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_scan_chain_entity
_uvc_scan_chain_entity:                 ; @uvc_scan_chain_entity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_UVC_ENTITY_TYPE
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_6
; %bb.1:
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:
Lloh2:
	adrp	x8, _uvc_trace_param@GOTPAGE
Lloh3:
	ldr	x8, [x8, _uvc_trace_param@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _UVC_TRACE_PROBE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UVC_TRACE_PROBE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
LBB0_3:
	ldr	w1, [x19]
Lloh8:
	adrp	x0, l_.str.6@PAGE
Lloh9:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_4:
	bl	_printk
LBB0_5:
	add	x0, x19, #8
	mov	x1, x20
	bl	_list_add_tail
	mov	w0, #0
	b	LBB0_21
LBB0_6:
Lloh10:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_UVC_ENTITY_TYPE
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x1, l_.str.8@PAGE
Lloh14:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	b	LBB0_20
LBB0_7:
Lloh15:
	adrp	x8, _uvc_trace_param@GOTPAGE
Lloh16:
	ldr	x8, [x8, _uvc_trace_param@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _UVC_TRACE_PROBE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _UVC_TRACE_PROBE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w1, [x19]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printk
LBB0_9:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.10:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_27
; %bb.11:
Lloh23:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_20
LBB0_12:
Lloh28:
	adrp	x8, _uvc_trace_param@GOTPAGE
Lloh29:
	ldr	x8, [x8, _uvc_trace_param@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _UVC_TRACE_PROBE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _UVC_TRACE_PROBE@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w1, [x19]
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
LBB0_14:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_26
; %bb.15:
Lloh36:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh37:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_16:
Lloh41:
	adrp	x8, _uvc_trace_param@GOTPAGE
Lloh42:
	ldr	x8, [x8, _uvc_trace_param@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
Lloh44:
	adrp	x9, _UVC_TRACE_PROBE@GOTPAGE
Lloh45:
	ldr	x9, [x9, _UVC_TRACE_PROBE@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	w1, [x19]
Lloh47:
	adrp	x0, l_.str@PAGE
Lloh48:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
LBB0_18:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.eq	LBB0_5
; %bb.19:
Lloh49:
	adrp	x8, _UVC_TRACE_DESCR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _UVC_TRACE_DESCR@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh52:
	adrp	x1, l_.str.1@PAGE
Lloh53:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_20:
	bl	_uvc_trace
	mov	w0, #-1
LBB0_21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_22:
	mov	x0, x19
	bl	_UVC_ENTITY_IS_ITERM
Lloh54:
	adrp	x8, _uvc_trace_param@GOTPAGE
Lloh55:
	ldr	x8, [x8, _uvc_trace_param@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _UVC_TRACE_PROBE@GOTPAGE
Lloh58:
	ldr	x9, [x9, _UVC_TRACE_PROBE@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	and	w8, w9, w8
	cbz	w0, LBB0_24
; %bb.23:
	cbnz	w8, LBB0_3
	b	LBB0_5
LBB0_24:
	cbz	w8, LBB0_5
; %bb.25:
	ldr	w1, [x19]
Lloh60:
	adrp	x0, l_.str.7@PAGE
Lloh61:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_4
LBB0_26:
	str	x19, [x20, #16]
	b	LBB0_5
LBB0_27:
	str	x19, [x20, #8]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_uvc_trace_param,4,2            ; @uvc_trace_param
	.comm	_UVC_TRACE_PROBE,4,2            ; @UVC_TRACE_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" <- XU %d"

	.comm	_UVC_TRACE_DESCR,4,2            ; @UVC_TRACE_DESCR
l_.str.1:                               ; @.str.1
	.asciz	"Extension unit %d has more than 1 input pin.\n"

l_.str.2:                               ; @.str.2
	.asciz	" <- PU %d"

l_.str.3:                               ; @.str.3
	.asciz	"Found multiple Processing Units in chain.\n"

l_.str.4:                               ; @.str.4
	.asciz	" <- SU %d"

l_.str.5:                               ; @.str.5
	.asciz	"Found multiple Selector Units in chain.\n"

l_.str.6:                               ; @.str.6
	.asciz	" <- IT %d\n"

l_.str.7:                               ; @.str.7
	.asciz	" OT %d"

l_.str.8:                               ; @.str.8
	.asciz	"Unsupported entity type 0x%04x found in chain.\n"

	.no_dead_strip	_uvc_scan_chain_entity
.subsections_via_symbols
