	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_ctrl_new
_v4l2_ctrl_new:                         ## @v4l2_ctrl_new
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_2:
	movl	%r9d, %r14d
	movl	%ecx, %r13d
	movq	48(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.3:
	movq	_V4L2_CTRL_MAX_DIMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	movl	(%r12,%rcx,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	imull	%ecx, %r15d
	incl	%ebx
	cmpl	%ebx, %eax
	jne	LBB0_4
## %bb.6:
	movl	%eax, %ebx
	jmp	LBB0_8
LBB0_7:
	movl	$1, %r15d
LBB0_8:
	movq	24(%rbp), %r10
	testl	%ebx, %ebx
	setne	%r11b
	leal	-128(%r14), %eax
	cmpl	$13, %eax
	ja	LBB0_25
## %bb.9:
	movl	$8, %r9d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	$4, %r9d
LBB0_11:
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.12:
	testq	%r8, %r8
	je	LBB0_19
## %bb.13:
	testl	%r9d, %r9d
	je	LBB0_19
## %bb.14:
	movq	_V4L2_CID_PRIVATE_BASE@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jbe	LBB0_19
## %bb.15:
	movq	_V4L2_CTRL_TYPE_MENU@GOTPCREL(%rip), %rax
	cmpq	$0, 72(%rbp)
	jne	LBB0_17
## %bb.16:
	cmpl	%r14d, (%rax)
	je	LBB0_19
LBB0_17:
	movq	_V4L2_CTRL_TYPE_INTEGER_MENU@GOTPCREL(%rip), %rax
	cmpq	$0, 80(%rbp)
	jne	LBB0_23
## %bb.18:
	cmpl	%r14d, (%rax)
	jne	LBB0_23
LBB0_19:
	movq	_ERANGE@GOTPCREL(%rip), %rax
LBB0_20:
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	subl	(%rax), %esi
LBB0_21:
	callq	_handler_set_err
LBB0_22:
	movq	%r14, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movb	%r11b, -72(%rbp)                ## 1-byte Spill
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%r8, -112(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	40(%rbp), %r8
	movl	32(%rbp), %ecx
	movq	16(%rbp), %rsi
	movl	%r14d, %edi
	movq	%r10, %rdx
	callq	_check_range
	testl	%eax, %eax
	je	LBB0_27
## %bb.24:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_handler_set_err
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_25:
	movq	_V4L2_CTRL_COMPOUND_TYPES@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	movl	$4, %r9d
	cmovbel	56(%rbp), %r9d
	jmp	LBB0_11
LBB0_26:
	leal	1(%r10), %r9d
	jmp	LBB0_11
LBB0_27:
	movq	_V4L2_CTRL_TYPE_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_30
## %bb.28:
	cmpl	%r14d, %eax
	je	LBB0_35
## %bb.29:
	movq	_V4L2_CTRL_TYPE_CTRL_CLASS@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	je	LBB0_35
LBB0_30:
	movl	64(%rbp), %edx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $ecx killed $ecx def $rcx
	imull	%r15d, %ecx
	cmpl	%r14d, %eax
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_32
## %bb.31:
	movq	_V4L2_CTRL_FLAG_WRITE_ONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_V4L2_CTRL_FLAG_EXECUTE_ON_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_32:
	movq	_V4L2_CTRL_TYPE_CTRL_CLASS@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_36
## %bb.33:
	movq	_V4L2_CTRL_FLAG_READ_ONLY@GOTPCREL(%rip), %rax
LBB0_34:
	orl	(%rax), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	$192, %edi
	jmp	LBB0_39
LBB0_35:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_36:
	cmpl	$132, %r14d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_38
## %bb.37:
	cmpl	$135, %r14d
	jne	LBB0_59
LBB0_38:
	leal	(%rcx,%rcx), %edi
	addl	$192, %edi
LBB0_39:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_46
## %bb.40:
	movq	%rax, %r14
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movb	-72(%rbp), %cl                  ## 1-byte Reload
	movb	%cl, %al
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	72(%r14), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	leaq	184(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	jne	LBB0_42
## %bb.41:
	movq	_std_type_ops@GOTPCREL(%rip), %rcx
LBB0_42:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 176(%r14)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 168(%r14)
	movq	%rcx, 88(%r14)
	movl	%r13d, (%r14)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 8(%r14)
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%esi, 16(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%r14)
	movq	16(%rbp), %rax
	movq	%rax, 160(%r14)
	cmpl	$132, %esi
	sete	%al
	testl	%ebx, %ebx
	movq	24(%rbp), %rcx
	movq	%rcx, 152(%r14)
	setne	%cl
	movl	32(%rbp), %edx
	movl	%edx, 144(%r14)
	movq	40(%rbp), %r13
	movq	%r13, 136(%r14)
	sete	%dl
	andb	%al, %dl
	movzbl	%dl, %eax
	movl	%eax, 24(%r14)
	movq	_V4L2_CTRL_COMPOUND_TYPES@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rdx)
	setbe	%dl
	orb	%cl, %al
	orb	%dl, %al
	movzbl	%al, %ecx
	movl	%ecx, 28(%r14)
	cmpl	$135, %esi
	setne	%cl
	xorb	$1, %al
	andb	%cl, %al
	movzbl	%al, %eax
	movl	%eax, 32(%r14)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 36(%r14)
	movl	%r15d, 40(%r14)
	movl	%ebx, 44(%r14)
	testl	%ebx, %ebx
	je	LBB0_44
## %bb.43:
	movl	128(%r14), %edi
	shll	$2, %ebx
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
LBB0_44:
	movq	88(%rbp), %rax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 48(%r14)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	_V4L2_CTRL_TYPE_MENU@GOTPCREL(%rip), %rdx
	cmpl	%ecx, (%rdx)
	jne	LBB0_47
## %bb.45:
	movq	72(%rbp), %rcx
	movq	%rcx, 56(%r14)
	jmp	LBB0_49
LBB0_46:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	subl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_47:
	movq	_V4L2_CTRL_TYPE_INTEGER_MENU@GOTPCREL(%rip), %rdx
	cmpl	%ecx, (%rdx)
	jne	LBB0_49
## %bb.48:
	movq	80(%rbp), %rcx
	movq	%rcx, 64(%r14)
LBB0_49:
	movq	%rax, 120(%r14)
	movq	%r13, 112(%r14)
	movq	%r13, 104(%r14)
	cmpl	$0, 32(%r14)
	je	LBB0_51
## %bb.50:
	leaq	112(%r14), %rax
	movq	%r14, %rdx
	addq	$104, %rdx
	movq	%rax, 80(%r14)
	jmp	LBB0_52
LBB0_51:
	leaq	192(%r14), %rax
	movq	%rax, 80(%r14)
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	leaq	(%r14,%rax), %rdx
	addq	$192, %rdx
LBB0_52:
	movq	%rdx, 96(%r14)
	testl	%r15d, %r15d
	je	LBB0_56
## %bb.53:
	movq	88(%r14), %rax
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	movq	80(%r14), %rdx
	movq	88(%r14), %rax
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	cmpl	$1, %r15d
	je	LBB0_56
## %bb.54:
	movl	$1, %ebx
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	movq	88(%r14), %rax
	movq	96(%r14), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*(%rax)
	movq	80(%r14), %rdx
	movq	88(%r14), %rax
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*(%rax)
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_55
LBB0_56:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_handler_new_ref
	testq	%rax, %rax
	je	LBB0_58
## %bb.57:
	movq	%r14, %rdi
	callq	_kvfree
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_58:
	movl	(%rbx), %edi
	callq	_mutex_lock
	leaq	4(%rbx), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_add_tail
	movl	(%rbx), %edi
	callq	_mutex_unlock
	jmp	LBB0_22
LBB0_59:
	movq	_V4L2_CTRL_COMPOUND_TYPES@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jbe	LBB0_38
## %bb.60:
	movl	$192, %edi
	testl	%ebx, %ebx
	je	LBB0_39
	jmp	LBB0_38
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_26
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_V4L2_CTRL_MAX_DIMS,4,2         ## @V4L2_CTRL_MAX_DIMS
	.comm	_V4L2_CTRL_COMPOUND_TYPES,4,2   ## @V4L2_CTRL_COMPOUND_TYPES
	.comm	_V4L2_CID_PRIVATE_BASE,4,2      ## @V4L2_CID_PRIVATE_BASE
	.comm	_V4L2_CTRL_TYPE_MENU,4,2        ## @V4L2_CTRL_TYPE_MENU
	.comm	_V4L2_CTRL_TYPE_INTEGER_MENU,4,2 ## @V4L2_CTRL_TYPE_INTEGER_MENU
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_V4L2_CTRL_TYPE_BUTTON,4,2      ## @V4L2_CTRL_TYPE_BUTTON
	.comm	_V4L2_CTRL_TYPE_CTRL_CLASS,4,2  ## @V4L2_CTRL_TYPE_CTRL_CLASS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_CTRL_FLAG_WRITE_ONLY,4,2  ## @V4L2_CTRL_FLAG_WRITE_ONLY
	.comm	_V4L2_CTRL_FLAG_EXECUTE_ON_WRITE,4,2 ## @V4L2_CTRL_FLAG_EXECUTE_ON_WRITE
	.comm	_V4L2_CTRL_FLAG_READ_ONLY,4,2   ## @V4L2_CTRL_FLAG_READ_ONLY
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_std_type_ops,8,3               ## @std_type_ops
	.no_dead_strip	_v4l2_ctrl_new
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_ctrl_new
_v4l2_ctrl_new:                         ; @v4l2_ctrl_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_21
; %bb.1:
	mov	x22, x7
	mov	x28, x6
	mov	x20, x5
	mov	x24, x4
	mov	x25, x3
	mov	x19, x0
	mov	w27, #0
	ldr	x21, [x29, #32]
	cbz	x21, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _V4L2_CTRL_MAX_DIMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CTRL_MAX_DIMS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w26, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, w27, uxtw #2]
	cbz	w9, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mul	w26, w9, w26
	add	w27, w27, #1
	cmp	w8, w27
	b.ne	LBB0_3
; %bb.5:
	mov	x27, x8
	b	LBB0_7
LBB0_6:
	mov	w26, #1
LBB0_7:
	cmp	w27, #0
	cset	w12, ne
	sub	w8, w20, #128
	cmp	w8, #13
	b.hi	LBB0_25
; %bb.8:
	mov	w23, #8
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	mov	w23, #4
LBB0_10:
	cbz	w25, LBB0_18
; %bb.11:
	cbz	x24, LBB0_18
; %bb.12:
	cbz	w23, LBB0_18
; %bb.13:
Lloh5:
	adrp	x8, _V4L2_CID_PRIVATE_BASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CID_PRIVATE_BASE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, w25
	b.ls	LBB0_18
; %bb.14:
	ldr	x9, [x29, #48]
Lloh8:
	adrp	x8, _V4L2_CTRL_TYPE_MENU@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_CTRL_TYPE_MENU@GOTPAGEOFF]
	cbnz	x9, LBB0_16
; %bb.15:
	ldr	w8, [x8]
	cmp	w8, w20
	b.eq	LBB0_18
LBB0_16:
	ldr	x10, [x29, #56]
Lloh10:
	adrp	x8, _V4L2_CTRL_TYPE_INTEGER_MENU@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_CTRL_TYPE_INTEGER_MENU@GOTPAGEOFF]
	cbnz	x10, LBB0_23
; %bb.17:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_23
LBB0_18:
Lloh12:
	adrp	x8, _ERANGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_19:
	ldr	w8, [x8]
	neg	w1, w8
LBB0_20:
	mov	x0, x19
	bl	_handler_set_err
LBB0_21:
	mov	x28, #0
LBB0_22:
	mov	x0, x28
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_23:
	stp	x10, x9, [sp, #40]              ; 16-byte Folded Spill
	str	w12, [sp, #76]                  ; 4-byte Folded Spill
	stp	x1, x2, [sp, #80]               ; 16-byte Folded Spill
	ldr	x4, [x29, #24]
	ldr	w3, [x29, #16]
	mov	x0, x20
	mov	x1, x28
	mov	x2, x22
	str	w3, [sp, #60]                   ; 4-byte Folded Spill
	str	x4, [sp, #64]                   ; 8-byte Folded Spill
	bl	_check_range
	cbz	w0, LBB0_27
; %bb.24:
	mov	x1, x0
	b	LBB0_20
LBB0_25:
	ldr	w8, [x29, #40]
Lloh14:
	adrp	x9, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	mov	w10, #4
	cmp	w9, w20
	csel	w23, w10, w8, hi
	b	LBB0_10
LBB0_26:
	add	w23, w22, #1
	b	LBB0_10
LBB0_27:
Lloh17:
	adrp	x8, _V4L2_CTRL_TYPE_BUTTON@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_CTRL_TYPE_BUTTON@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbz	w27, LBB0_30
; %bb.28:
	cmp	w8, w20
	b.eq	LBB0_34
; %bb.29:
Lloh20:
	adrp	x9, _V4L2_CTRL_TYPE_CTRL_CLASS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_CTRL_CLASS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w9, w20
	b.eq	LBB0_34
LBB0_30:
	ldr	w10, [x29, #44]
	mul	w9, w23, w26
	cmp	w8, w20
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
	str	w9, [sp, #16]                   ; 4-byte Folded Spill
	b.ne	LBB0_32
; %bb.31:
Lloh23:
	adrp	x8, _V4L2_CTRL_FLAG_WRITE_ONLY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _V4L2_CTRL_FLAG_WRITE_ONLY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _V4L2_CTRL_FLAG_EXECUTE_ON_WRITE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _V4L2_CTRL_FLAG_EXECUTE_ON_WRITE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w10
	orr	w8, w8, w9
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mov	w0, #192
	b	LBB0_41
LBB0_32:
Lloh29:
	adrp	x8, _V4L2_CTRL_TYPE_CTRL_CLASS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _V4L2_CTRL_TYPE_CTRL_CLASS@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_35
; %bb.33:
Lloh32:
	adrp	x8, _V4L2_CTRL_FLAG_READ_ONLY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _V4L2_CTRL_FLAG_READ_ONLY@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	orr	w10, w8, w10
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	mov	w0, #192
	b	LBB0_41
LBB0_34:
Lloh35:
	adrp	x8, _EINVAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_19
LBB0_35:
	cmp	w20, #132
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	b.eq	LBB0_40
; %bb.36:
	cmp	w20, #135
	b.eq	LBB0_40
; %bb.37:
Lloh37:
	adrp	x8, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGE
Lloh38:
	ldr	x8, [x8, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ls	LBB0_40
; %bb.38:
	cbnz	w27, LBB0_40
; %bb.39:
	mov	w0, #192
	b	LBB0_41
LBB0_40:
	lsl	w8, w9, #1
	add	w0, w8, #192
LBB0_41:
Lloh40:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh41:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	bl	_kvzalloc
	mov	x28, x0
	cbz	x0, LBB0_46
; %bb.42:
	cmp	w27, #0
	cset	w9, ne
	cset	w8, eq
	stp	w8, w9, [sp, #20]               ; 8-byte Folded Spill
	add	x0, x28, #72
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_INIT_LIST_HEAD
	add	x0, x28, #184
	bl	_INIT_LIST_HEAD
	ldp	x8, x9, [sp, #80]               ; 16-byte Folded Reload
	stp	x8, x19, [x28, #168]
Lloh43:
	adrp	x8, _std_type_ops@GOTPAGE
Lloh44:
	ldr	x8, [x8, _std_type_ops@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x9, eq
	str	x8, [x28, #88]
	str	w25, [x28]
	str	x24, [x28, #8]
	ldp	w10, w8, [sp, #24]              ; 8-byte Folded Reload
	stp	w20, w8, [x28, #16]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	x22, x8, [x28, #152]
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	str	w8, [x28, #144]
	ldr	x22, [sp, #64]                  ; 8-byte Folded Reload
	str	x22, [x28, #136]
	cmp	w20, #132
	cset	w8, eq
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	and	w8, w8, w9
Lloh45:
	adrp	x9, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGE
Lloh46:
	ldr	x9, [x9, _V4L2_CTRL_COMPOUND_TYPES@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	cmp	w9, w20
	cset	w9, ls
	orr	w9, w10, w9
	orr	w9, w8, w9
	stp	w8, w9, [x28, #24]
	cmp	w20, #135
	cset	w8, ne
	eor	w9, w9, #0x1
	and	w8, w8, w9
	str	w8, [x28, #32]
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	stp	w8, w26, [x28, #36]
	str	w27, [x28, #44]
	cbz	w27, LBB0_44
; %bb.43:
	ldr	w0, [x28, #128]
	lsl	w2, w27, #2
	mov	x1, x21
	bl	_memcpy
LBB0_44:
	ldr	x8, [x29, #64]
	str	w23, [x28, #48]
Lloh48:
	adrp	x9, _V4L2_CTRL_TYPE_MENU@GOTPAGE
Lloh49:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_MENU@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	cmp	w9, w20
	b.ne	LBB0_47
; %bb.45:
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	str	x9, [x28, #56]
	b	LBB0_49
LBB0_46:
Lloh51:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	neg	w1, w8
	mov	x0, x19
	bl	_handler_set_err
	b	LBB0_22
LBB0_47:
Lloh54:
	adrp	x9, _V4L2_CTRL_TYPE_INTEGER_MENU@GOTPAGE
Lloh55:
	ldr	x9, [x9, _V4L2_CTRL_TYPE_INTEGER_MENU@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	cmp	w9, w20
	b.ne	LBB0_49
; %bb.48:
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	x9, [x28, #64]
LBB0_49:
	mov	x9, x28
	stp	x22, x8, [x9, #112]!
	mov	x2, x9
	str	x22, [x2, #-8]!
	ldur	w8, [x9, #-80]
	cbz	w8, LBB0_51
; %bb.50:
	str	x9, [x28, #80]
	b	LBB0_52
LBB0_51:
	add	x8, x28, #192
	str	x8, [x28, #80]
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	add	x2, x8, w9, uxtw
LBB0_52:
	str	x2, [x28, #96]
	cbz	w26, LBB0_56
; %bb.53:
	ldr	x8, [x28, #88]
	ldr	x8, [x8]
	mov	x0, x28
	mov	w1, #0
	blr	x8
	ldp	x2, x8, [x28, #80]
	ldr	x8, [x8]
	mov	x0, x28
	mov	w1, #0
	blr	x8
	cmp	w26, #1
	b.eq	LBB0_56
; %bb.54:
	mov	w20, #1
LBB0_55:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x2, [x28, #88]
	ldr	x8, [x8]
	mov	x0, x28
	mov	x1, x20
	blr	x8
	ldp	x2, x8, [x28, #80]
	ldr	x8, [x8]
	mov	x0, x28
	mov	x1, x20
	blr	x8
	add	w20, w20, #1
	cmp	w26, w20
	b.ne	LBB0_55
LBB0_56:
	mov	x0, x19
	mov	x1, x28
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	bl	_handler_new_ref
	cbz	x0, LBB0_58
; %bb.57:
	mov	x0, x28
	bl	_kvfree
	b	LBB0_21
LBB0_58:
	ldr	w0, [x19]
	bl	_mutex_lock
	add	x1, x19, #4
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_list_add_tail
	ldr	w0, [x19]
	bl	_mutex_unlock
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_26-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
                                        ; -- End function
	.comm	_V4L2_CTRL_MAX_DIMS,4,2         ; @V4L2_CTRL_MAX_DIMS
	.comm	_V4L2_CTRL_COMPOUND_TYPES,4,2   ; @V4L2_CTRL_COMPOUND_TYPES
	.comm	_V4L2_CID_PRIVATE_BASE,4,2      ; @V4L2_CID_PRIVATE_BASE
	.comm	_V4L2_CTRL_TYPE_MENU,4,2        ; @V4L2_CTRL_TYPE_MENU
	.comm	_V4L2_CTRL_TYPE_INTEGER_MENU,4,2 ; @V4L2_CTRL_TYPE_INTEGER_MENU
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_V4L2_CTRL_TYPE_BUTTON,4,2      ; @V4L2_CTRL_TYPE_BUTTON
	.comm	_V4L2_CTRL_TYPE_CTRL_CLASS,4,2  ; @V4L2_CTRL_TYPE_CTRL_CLASS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_CTRL_FLAG_WRITE_ONLY,4,2  ; @V4L2_CTRL_FLAG_WRITE_ONLY
	.comm	_V4L2_CTRL_FLAG_EXECUTE_ON_WRITE,4,2 ; @V4L2_CTRL_FLAG_EXECUTE_ON_WRITE
	.comm	_V4L2_CTRL_FLAG_READ_ONLY,4,2   ; @V4L2_CTRL_FLAG_READ_ONLY
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_std_type_ops,8,3               ; @std_type_ops
	.no_dead_strip	_v4l2_ctrl_new
.subsections_via_symbols
