	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uvc_ctrl_commit_entity
_uvc_ctrl_commit_entity:                ## @uvc_ctrl_commit_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	$0, (%rsi)
	je	LBB0_15
## %bb.2:
	movl	%edx, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_UVC_CTRL_DATA_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rbx
	movq	%rcx, %rdi
	callq	_uvc_ctrl_data
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_UVC_CTRL_DATA_BACKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_uvc_ctrl_data
	movl	12(%r13,%r15), %edx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_memcpy
	movq	$0, (%r13,%r15)
	testl	%r14d, %r14d
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movl	(%rsi), %eax
	addq	$48, %r15
	cmpq	%rax, %r12
	jae	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi), %r13
	cmpl	$0, 40(%r13,%r15)
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r13,%r15), %eax
	movq	_UVC_CTRL_FLAG_AUTO_UPDATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 32(%r13,%r15)
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_UVC_CTRL_FLAG_GET_CUR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r13,%r15)
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r15,%r13), %rcx
	xorl	%eax, %eax
	testl	%r14d, %r14d
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_UVC_SET_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	24(%r13,%r15), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %r14d
	movl	16(%r13,%r15), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_UVC_CTRL_DATA_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rdi
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	callq	_uvc_ctrl_data
	movl	12(%r13,%r15), %ecx
	movl	%ecx, (%rsp)
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	callq	_uvc_query_ctrl
	testl	%eax, %eax
	js	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, (%r13,%r15)
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_14:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVC_CTRL_FLAG_AUTO_UPDATE,4,2  ## @UVC_CTRL_FLAG_AUTO_UPDATE
	.comm	_UVC_CTRL_FLAG_GET_CUR,4,2      ## @UVC_CTRL_FLAG_GET_CUR
	.comm	_UVC_SET_CUR,4,2                ## @UVC_SET_CUR
	.comm	_UVC_CTRL_DATA_CURRENT,4,2      ## @UVC_CTRL_DATA_CURRENT
	.comm	_UVC_CTRL_DATA_BACKUP,4,2       ## @UVC_CTRL_DATA_BACKUP
	.no_dead_strip	_uvc_ctrl_commit_entity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uvc_ctrl_commit_entity
_uvc_ctrl_commit_entity:                ; @uvc_ctrl_commit_entity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	cbz	x1, LBB0_15
; %bb.1:
	mov	x20, x1
	ldr	w8, [x1]
	cbz	w8, LBB0_15
; %bb.2:
	mov	x25, x2
	mov	x27, #0
	mov	x28, #0
Lloh0:
	adrp	x26, _UVC_CTRL_FLAG_AUTO_UPDATE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _UVC_CTRL_FLAG_AUTO_UPDATE@GOTPAGEOFF]
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh2:
	adrp	x8, _UVC_SET_CUR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UVC_SET_CUR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	add	x19, x21, x27
	ldr	x8, [x19, #24]
	ldr	w24, [x8]
	ldr	x23, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w25, [x23]
	ldr	w26, [x19, #16]
Lloh5:
	adrp	x8, _UVC_CTRL_DATA_CURRENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UVC_CTRL_DATA_CURRENT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_uvc_ctrl_data
	mov	x5, x0
	ldr	w6, [x19, #12]
	mov	x0, x23
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	mov	x2, x24
	mov	x3, x25
	mov	x4, x26
	bl	_uvc_query_ctrl
	tbnz	w0, #31, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x21, x27]
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
Lloh8:
	adrp	x26, _UVC_CTRL_FLAG_AUTO_UPDATE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _UVC_CTRL_FLAG_AUTO_UPDATE@GOTPAGEOFF]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x28, #1
	ldr	w8, [x20]
	add	x27, x27, #48
	cmp	x28, x8
	b.hs	LBB0_15
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20, #8]
	add	x22, x21, x27
	ldr	w8, [x22, #40]
	cbz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x22, #8]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x21, x27
	str	xzr, [x8, #32]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh10:
	adrp	x9, _UVC_CTRL_FLAG_GET_CUR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _UVC_CTRL_FLAG_GET_CUR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, x27]
	cbz	x8, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cbz	w25, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #0
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh13:
	adrp	x8, _UVC_CTRL_DATA_CURRENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UVC_CTRL_DATA_CURRENT@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_uvc_ctrl_data
	mov	x24, x0
Lloh16:
	adrp	x8, _UVC_CTRL_DATA_BACKUP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UVC_CTRL_DATA_BACKUP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_uvc_ctrl_data
	mov	x1, x0
	add	x19, x21, x27
	ldr	w2, [x19, #12]
	mov	x0, x24
	bl	_memcpy
	str	xzr, [x19]
	cbnz	w25, LBB0_5
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
Lloh19:
	adrp	x26, _UVC_CTRL_FLAG_AUTO_UPDATE@GOTPAGE
Lloh20:
	ldr	x26, [x26, _UVC_CTRL_FLAG_AUTO_UPDATE@GOTPAGEOFF]
	b	LBB0_13
LBB0_15:
	mov	w23, #0
LBB0_16:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_UVC_CTRL_FLAG_AUTO_UPDATE,4,2  ; @UVC_CTRL_FLAG_AUTO_UPDATE
	.comm	_UVC_CTRL_FLAG_GET_CUR,4,2      ; @UVC_CTRL_FLAG_GET_CUR
	.comm	_UVC_SET_CUR,4,2                ; @UVC_SET_CUR
	.comm	_UVC_CTRL_DATA_CURRENT,4,2      ; @UVC_CTRL_DATA_CURRENT
	.comm	_UVC_CTRL_DATA_BACKUP,4,2       ; @UVC_CTRL_DATA_BACKUP
	.no_dead_strip	_uvc_ctrl_commit_entity
.subsections_via_symbols
