	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_ctrl_init_ctrl
_uvc_ctrl_init_ctrl:                    ## @uvc_ctrl_init_ctrl
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_uvc_ctrls@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r13d
	movq	_uvc_ctrl_mappings@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r15), %edi
	callq	_UVC_ENTITY_TYPE
	movq	_UVC_VC_EXTENSION_UNIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	%r13d, %r13
	shlq	$4, %r13
	addq	%r12, %r13
	cmpq	%r12, %r13
	ja	LBB0_2
LBB0_6:
	cmpl	$0, 20(%r15)
	je	LBB0_12
LBB0_7:
	movslq	-44(%rbp), %r12                 ## 4-byte Folded Reload
	shlq	$4, %r12
	addq	%rbx, %r12
	cmpq	%rbx, %r12
	ja	LBB0_8
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %rbx
	cmpq	%r12, %rbx
	jae	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r15), %edi
	movl	8(%rbx), %esi
	callq	_uvc_entity_match_guid
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r15), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	___uvc_ctrl_add_mapping
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %r12
	cmpq	%r13, %r12
	jae	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r15), %edi
	movl	8(%r12), %esi
	callq	_uvc_entity_match_guid
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_uvc_ctrl_add_info
	cmpl	$0, 20(%r15)
	jne	LBB0_7
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_uvc_ctrls,8,3                  ## @uvc_ctrls
	.comm	_uvc_ctrl_mappings,8,3          ## @uvc_ctrl_mappings
	.comm	_UVC_VC_EXTENSION_UNIT,8,3      ## @UVC_VC_EXTENSION_UNIT
	.no_dead_strip	_uvc_ctrl_init_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_ctrl_init_ctrl
_uvc_ctrl_init_ctrl:                    ; @uvc_ctrl_init_ctrl
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _uvc_ctrls@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uvc_ctrls@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x24, x0
Lloh3:
	adrp	x8, _uvc_ctrl_mappings@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uvc_ctrl_mappings@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x23, x0
	ldr	w0, [x19, #16]
	bl	_UVC_ENTITY_TYPE
Lloh6:
	adrp	x8, _UVC_VC_EXTENSION_UNIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UVC_VC_EXTENSION_UNIT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_1:
	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
LBB0_2:
	add	x24, x22, w24, sxtw #4
	cmp	x24, x22
	b.hi	LBB0_10
LBB0_3:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_1
LBB0_4:
	add	x22, x21, w23, sxtw #4
	cmp	x22, x21
	b.hi	LBB0_6
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #16
	cmp	x21, x22
	b.hs	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	ldr	w1, [x21, #8]
	bl	_uvc_entity_match_guid
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	___uvc_ctrl_add_mapping
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #16
	cmp	x22, x24
	b.hs	LBB0_3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #16]
	ldr	w1, [x22, #8]
	bl	_uvc_entity_match_guid
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_uvc_ctrl_add_info
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_4
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_uvc_ctrls,8,3                  ; @uvc_ctrls
	.comm	_uvc_ctrl_mappings,8,3          ; @uvc_ctrl_mappings
	.comm	_UVC_VC_EXTENSION_UNIT,8,3      ; @UVC_VC_EXTENSION_UNIT
	.no_dead_strip	_uvc_ctrl_init_ctrl
.subsections_via_symbols
