	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_set_ext_ctrls_common
_try_set_ext_ctrls_common:              ## @try_set_ext_ctrls_common
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	4(%rdx), %eax
	movl	%eax, (%rdx)
	movq	8(%rdx), %rdi
	movq	_V4L2_CTRL_WHICH_DEF_VAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_video_device_node_name
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movl	%r8d, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	callq	_V4L2_CTRL_ID2WHICH
	movq	%rax, 8(%rbx)
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movl	4(%rbx), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.8:
	movq	%r13, -184(%rbp)                ## 8-byte Spill
	leaq	-144(%rbp), %r13
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	jbe	LBB0_12
## %bb.9:
	movl	4(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$24, %esi
	callq	_kvmalloc_array
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_10
LBB0_12:
	movl	%r15d, -148(%rbp)               ## 4-byte Spill
	movq	%r14, -168(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_prepare_ext_ctrls
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	-148(%rbp), %ecx                ## 4-byte Reload
	callq	_validate_ctrls
	movl	%eax, %r15d
LBB0_14:
	cmpl	$0, -148(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_17
## %bb.15:
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.16:
	movl	4(%rbx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_71
LBB0_4:
	movq	%r12, %rdi
	callq	_video_device_node_name
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_dprintk
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_73:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_75
## %bb.74:
	movl	%r15d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_75
## %bb.7:
	movq	%r14, %rdi
	movq	%rax, %rsi
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_class_check                    ## TAILCALL
LBB0_17:
	testl	%r15d, %r15d
	jne	LBB0_71
## %bb.18:
	xorl	%ecx, %ecx
	jmp	LBB0_19
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%r15d, %r15d
LBB0_70:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rcx
	testl	%r15d, %r15d
	jne	LBB0_71
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_51 Depth 2
                                        ##     Child Loop BB0_64 Depth 2
                                        ##     Child Loop BB0_66 Depth 2
	movl	4(%rbx), %eax
	cmpq	%rax, %rcx
	jae	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	(%rcx,%rcx,2), %rax
	movq	16(%r13,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ecx, -152(%rbp)                ## 4-byte Spill
	movl	%ecx, (%rbx)
	movq	(%rax), %r14
	movq	%r14, %rdi
	callq	_v4l2_ctrl_lock
	movl	(%r14), %edx
	testq	%rdx, %rdx
	je	LBB0_41
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	16(%r14), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%esi, %esi
LBB0_36:                                ##   in Loop: Header=BB0_19 Depth=1
	testq	%rax, %rax
	je	LBB0_41
## %bb.37:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%edx, %edx
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_38 Depth=2
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_41
LBB0_38:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=2
	movq	$0, 8(%rsi)
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpq	$0, 48(%r14)
	je	LBB0_50
## %bb.42:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpq	$0, 40(%r14)
	je	LBB0_50
## %bb.43:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, %rdi
	callq	_is_cur_manual
	testl	%eax, %eax
	jne	LBB0_50
## %bb.44:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r14), %rax
	leaq	1(%rax), %rcx
	movl	-152(%rbp), %edx                ## 4-byte Reload
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_45 Depth=2
	movl	(%r13,%rdx,8), %edx
	testl	%edx, %edx
	je	LBB0_48
LBB0_45:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%edx, %rsi
	leaq	(%rsi,%rsi,2), %rdx
	movq	8(%r13,%rdx,8), %rdi
	cmpq	%r14, (%rdi)
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=2
	movq	16(%rbx), %rcx
	movq	(%rcx,%rsi,8), %rcx
	jmp	LBB0_47
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	andl	$-4, %edx
	xorl	%esi, %esi
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_27 Depth=2
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_36
LBB0_27:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	$0, 8(%rdi)
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	8(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	$0, 8(%rdi)
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	16(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	$0, 8(%rdi)
LBB0_33:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	24(%rcx,%rsi,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	$0, 8(%rdi)
	jmp	LBB0_35
LBB0_48:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpq	%rax, %rcx
	jne	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, %rdi
	callq	_update_from_auto_cluster
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	movl	-152(%rbp), %eax                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_51:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%eax, %rdi
	leaq	(%rdi,%rdi,2), %r12
	movq	8(%r13,%r12,8), %rax
	movq	(%rax), %r14
	shlq	$3, %rdi
	addq	16(%rbx), %rdi
	movq	%r14, %rsi
	callq	_user_to_new
	testl	%eax, %eax
	jne	LBB0_52
## %bb.53:                              ##   in Loop: Header=BB0_51 Depth=2
	cmpq	$0, 32(%r14)
	je	LBB0_54
## %bb.55:                              ##   in Loop: Header=BB0_51 Depth=2
	movl	24(%r14), %esi
	movq	%r14, %rdi
	callq	_validate_new
	movl	%eax, %r15d
	testl	%r15d, %r15d
	je	LBB0_57
	jmp	LBB0_58
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_51 Depth=2
	xorl	%r15d, %r15d
	testl	%r15d, %r15d
	jne	LBB0_58
LBB0_57:                                ##   in Loop: Header=BB0_51 Depth=2
	movl	(%r13,%r12,8), %eax
	testl	%eax, %eax
	jne	LBB0_51
LBB0_58:                                ##   in Loop: Header=BB0_19 Depth=1
	testl	%r15d, %r15d
	movq	-176(%rbp), %r12                ## 8-byte Reload
	jne	LBB0_69
## %bb.59:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, -148(%rbp)                  ## 4-byte Folded Reload
	setne	%al
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	cmpq	$0, (%rcx)
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edx
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_try_or_set_cluster
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_69
## %bb.60:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, -148(%rbp)                  ## 4-byte Folded Reload
	movq	-168(%rbp), %r15                ## 8-byte Reload
	je	LBB0_65
## %bb.61:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpq	$0, (%r15)
	je	LBB0_65
## %bb.62:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, (%r12)
	je	LBB0_65
## %bb.63:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_64:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_find_ref
	movq	%rax, %rdi
	callq	_new_to_req
	incq	%r14
	movl	(%r12), %eax
	cmpq	%rax, %r14
	jb	LBB0_64
LBB0_65:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	-152(%rbp), %eax                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_66:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cltq
	leaq	(,%rax,8), %rdi
	addq	16(%rbx), %rdi
	leaq	(%rax,%rax,2), %rbx
	movq	8(%r13,%rbx,8), %rax
	movq	(%rax), %rsi
	callq	_new_to_user
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_67
## %bb.68:                              ##   in Loop: Header=BB0_66 Depth=2
	movl	(%r13,%rbx,8), %eax
	testl	%eax, %eax
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_66
	jmp	LBB0_69
LBB0_52:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, %r15d
	movq	-176(%rbp), %r12                ## 8-byte Reload
LBB0_69:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rdi
	callq	_v4l2_ctrl_unlock
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	jmp	LBB0_70
LBB0_67:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_69
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_20:
	xorl	%r15d, %r15d
LBB0_71:
	movl	4(%rbx), %ebx
	leaq	-144(%rbp), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jbe	LBB0_73
## %bb.72:
	movq	%r13, %rdi
	callq	_kvfree
	jmp	LBB0_73
LBB0_75:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_CTRL_WHICH_DEF_VAL,8,3    ## @V4L2_CTRL_WHICH_DEF_VAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: cannot change default value\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"%s: invalid null control handler\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_try_set_ext_ctrls_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function try_set_ext_ctrls_common
_try_set_ext_ctrls_common:              ; @try_set_ext_ctrls_common
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x24, x3
	mov	x26, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w8, [x2, #4]
	str	w8, [x2]
	ldr	x0, [x2, #8]
Lloh3:
	adrp	x8, _V4L2_CTRL_WHICH_DEF_VAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_CTRL_WHICH_DEF_VAL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x24
	bl	_video_device_node_name
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_2:
	mov	x22, x4
	mov	x19, x2
	mov	x20, x1
	bl	_V4L2_CTRL_ID2WHICH
	str	x0, [x19, #8]
	cbz	x20, LBB0_11
; %bb.3:
	ldr	w21, [x19, #4]
	cbz	w21, LBB0_16
; %bb.4:
	add	x23, sp, #24
	add	x0, sp, #24
	bl	_ARRAY_SIZE
	cmp	w21, w0
	b.ls	LBB0_6
; %bb.5:
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	w1, #24
	bl	_kvmalloc_array
	mov	x23, x0
	cbz	x0, LBB0_53
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x24
	mov	w4, #0
	bl	_prepare_ext_ctrls
	mov	x25, x0
	cbnz	w0, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	mov	x3, x22
	bl	_validate_ctrls
	mov	x25, x0
LBB0_8:
	cbz	w22, LBB0_18
; %bb.9:
	cbz	w25, LBB0_18
; %bb.10:
	ldr	w8, [x19, #4]
	str	w8, [x19]
	b	LBB0_55
LBB0_11:
	mov	x0, x24
	bl	_video_device_node_name
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x24
	bl	_dprintk
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w25, w8
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_57
; %bb.15:
	mov	x0, x25
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_57
; %bb.17:
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_class_check
LBB0_18:
	str	x26, [sp, #8]                   ; 8-byte Folded Spill
	str	w22, [sp, #20]                  ; 4-byte Folded Spill
	cbnz	w25, LBB0_55
; %bb.19:
	mov	x27, #0
	mov	w28, #24
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	w25, #0
	add	x27, x27, #1
	cbnz	w25, LBB0_55
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
                                        ;     Child Loop BB0_49 Depth 2
                                        ;     Child Loop BB0_50 Depth 2
	ldr	w8, [x19, #4]
	cmp	x27, x8
	b.hs	LBB0_54
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	madd	x8, x27, x28, x23
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x22, x27
	str	w27, [x19]
	ldr	x24, [x8]
	mov	x0, x24
	bl	_v4l2_ctrl_lock
	ldr	w8, [x24]
	cbz	w8, LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [x24, #16]
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_28
LBB0_26:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x9]
	cbz	x10, LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	str	xzr, [x10, #8]
	b	LBB0_25
LBB0_28:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x24, #48]
	cbz	x8, LBB0_37
; %bb.29:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x24, #40]
	cbz	x8, LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x24
	bl	_is_cur_manual
	cbnz	w0, LBB0_37
; %bb.31:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x24, #8]
	add	x9, x8, #1
	mov	x11, x22
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	mul	x10, x10, x28
	ldr	w11, [x23, x10]
	cbz	w11, LBB0_35
LBB0_33:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtw	x10, w11
	smaddl	x11, w11, w28, x23
	ldr	x11, [x11, #8]
	ldr	x11, [x11]
	cmp	x11, x24
	b.ne	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x9, [x19, #16]
	ldr	x9, [x9, x10, lsl #3]
	b	LBB0_32
LBB0_35:                                ;   in Loop: Header=BB0_21 Depth=1
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x24
	bl	_update_from_auto_cluster
LBB0_37:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x21, x22
LBB0_38:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	smaddl	x8, w21, w28, x23
	ldr	x8, [x8, #8]
	ldr	x26, [x8]
	ldr	x8, [x19, #16]
	add	x0, x8, w21, sxtw #3
	mov	x1, x26
	bl	_user_to_new
	cbnz	w0, LBB0_51
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=2
	ldr	x8, [x26, #32]
	cbz	x8, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=2
	ldr	w1, [x26, #24]
	mov	x0, x26
	bl	_validate_new
	mov	x25, x0
	cbz	w25, LBB0_42
	b	LBB0_43
LBB0_41:                                ;   in Loop: Header=BB0_38 Depth=2
	mov	w25, #0
	cbnz	w25, LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_38 Depth=2
	sxtw	x8, w21
	mul	x8, x8, x28
	ldr	w21, [x23, x8]
	cbnz	w21, LBB0_38
LBB0_43:                                ;   in Loop: Header=BB0_21 Depth=1
	cbnz	w25, LBB0_52
; %bb.44:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, #0
	ldr	x8, [x20]
	ccmp	x8, #0, #0, ne
	cset	w2, eq
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x24
	mov	w3, #0
	bl	_try_or_set_cluster
	mov	x25, x0
	cbnz	w0, LBB0_52
; %bb.45:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x24]
	cbz	w8, LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x21, #0
LBB0_49:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24, #16]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_find_ref
	bl	_new_to_req
	add	x21, x21, #1
	ldr	w8, [x24]
	cmp	x21, x8
	b.lo	LBB0_49
LBB0_50:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #16]
	add	x0, x8, w22, sxtw #3
	smaddl	x21, w22, w28, x23
	ldr	x8, [x21, #8]
	ldr	x1, [x8]
	bl	_new_to_user
	ldr	w22, [x21]
	cmp	w0, #0
	ccmp	w22, #0, #4, eq
	b.ne	LBB0_50
LBB0_51:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x25, x0
LBB0_52:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x24
	bl	_v4l2_ctrl_unlock
	add	x27, x27, #1
	cbz	w25, LBB0_21
	b	LBB0_55
LBB0_53:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_54:
	mov	w25, #0
LBB0_55:
	ldr	w19, [x19, #4]
	add	x0, sp, #24
	bl	_ARRAY_SIZE
	cmp	w19, w0
	b.ls	LBB0_14
; %bb.56:
	mov	x0, x23
	bl	_kvfree
	b	LBB0_14
LBB0_57:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_CTRL_WHICH_DEF_VAL,8,3    ; @V4L2_CTRL_WHICH_DEF_VAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: cannot change default value\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"%s: invalid null control handler\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_try_set_ext_ctrls_common
.subsections_via_symbols
