	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioctl_g_ctrl
_ioctl_g_ctrl:                          ## @ioctl_g_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_21
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_CPIA2_CMD_GET_USER_EFFECTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movq	_CPIA2_VP_USER_EFFECTS_FLIP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_CPIA2_CMD_GET_VP_SATURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movl	32(%r15), %ebx
	jmp	LBB0_33
LBB0_4:
	movq	_CPIA2_CMD_GET_USER_EFFECTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movq	_CPIA2_VP_USER_EFFECTS_MIRROR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	andl	(%r15), %eax
	setne	%bl
	jmp	LBB0_33
LBB0_2:
	movq	_CPIA2_CMD_GET_CONTRAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movl	28(%r15), %ebx
	jmp	LBB0_33
LBB0_32:
	movq	_CPIA2_CMD_GET_VP_BRIGHTNESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movl	24(%r15), %ebx
	jmp	LBB0_33
LBB0_26:
	movl	12(%r15), %ebx
	jmp	LBB0_33
LBB0_7:
	movl	20(%r15), %ebx
	jmp	LBB0_33
LBB0_27:
	movq	_CPIA2_CMD_GET_VP_GPIO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movq	_NUM_LIGHTS_CONTROLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_31
## %bb.28:
	movq	_GPIO_LIGHTS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	4(%r15), %ecx
	movq	_lights_controls@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdx,%rbx,4), %ecx
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_29
	jmp	LBB0_21
LBB0_8:
	movq	_CPIA2_CMD_GET_VP_GPIO_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movl	4(%r15), %ebx
	jmp	LBB0_33
LBB0_22:
	movq	_NUM_FRAMERATE_CONTROLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_21
## %bb.23:
	movl	8(%r15), %ecx
	movq	_framerate_controls@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdx,%rbx,4), %ecx
	je	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_24
	jmp	LBB0_21
LBB0_9:
	movq	_CPIA2_CMD_GET_FLICKER_MODES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRANSFER_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_cpia2_do_command
	movl	16(%r15), %eax
	movq	_CPIA2_VP_FLICKER_MODES_NEVER_FLICKER@GOTPCREL(%rip), %rdx
	movq	_CPIA2_VP_FLICKER_MODES_50HZ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.11:
	movq	_FLICKER_60@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_31:
	cmpl	%eax, %ebx
	je	LBB0_21
LBB0_33:
	movl	%ebx, 4(%r14)
LBB0_34:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_DBG
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_10:
	movq	_FLICKER_50@GOTPCREL(%rip), %rcx
LBB0_12:
	testl	%eax, (%rdx)
	je	LBB0_14
## %bb.13:
	movq	_NEVER_FLICKER@GOTPCREL(%rip), %rcx
LBB0_14:
	movq	_NUM_FLICKER_CONTROLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.15:
	movl	(%rcx), %ecx
	movq	_flicker_controls@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, (%rdx,%rbx,4)
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	cmpq	%rbx, %rax
	jne	LBB0_16
	jmp	LBB0_21
LBB0_17:
	movl	%ebx, 4(%r14)
LBB0_18:
	cmpl	%eax, %ebx
	jne	LBB0_19
LBB0_21:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	4(%r14), %ebx
	jmp	LBB0_34
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_32
	.long	L0_0_set_26
	.long	L0_0_set_7
	.long	L0_0_set_21
	.long	L0_0_set_27
	.long	L0_0_set_8
	.long	L0_0_set_22
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_CPIA2_CMD_GET_VP_BRIGHTNESS,4,2 ## @CPIA2_CMD_GET_VP_BRIGHTNESS
	.comm	_TRANSFER_READ,4,2              ## @TRANSFER_READ
	.comm	_CPIA2_CMD_GET_CONTRAST,4,2     ## @CPIA2_CMD_GET_CONTRAST
	.comm	_CPIA2_CMD_GET_VP_SATURATION,4,2 ## @CPIA2_CMD_GET_VP_SATURATION
	.comm	_CPIA2_CMD_GET_USER_EFFECTS,4,2 ## @CPIA2_CMD_GET_USER_EFFECTS
	.comm	_CPIA2_VP_USER_EFFECTS_MIRROR,4,2 ## @CPIA2_VP_USER_EFFECTS_MIRROR
	.comm	_CPIA2_VP_USER_EFFECTS_FLIP,4,2 ## @CPIA2_VP_USER_EFFECTS_FLIP
	.comm	_CPIA2_CMD_GET_VP_GPIO_DATA,4,2 ## @CPIA2_CMD_GET_VP_GPIO_DATA
	.comm	_CPIA2_CMD_GET_FLICKER_MODES,4,2 ## @CPIA2_CMD_GET_FLICKER_MODES
	.comm	_CPIA2_VP_FLICKER_MODES_NEVER_FLICKER,4,2 ## @CPIA2_VP_FLICKER_MODES_NEVER_FLICKER
	.comm	_NEVER_FLICKER,4,2              ## @NEVER_FLICKER
	.comm	_CPIA2_VP_FLICKER_MODES_50HZ,4,2 ## @CPIA2_VP_FLICKER_MODES_50HZ
	.comm	_FLICKER_50,4,2                 ## @FLICKER_50
	.comm	_FLICKER_60,4,2                 ## @FLICKER_60
	.comm	_NUM_FLICKER_CONTROLS,4,2       ## @NUM_FLICKER_CONTROLS
	.comm	_flicker_controls,8,3           ## @flicker_controls
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NUM_FRAMERATE_CONTROLS,4,2     ## @NUM_FRAMERATE_CONTROLS
	.comm	_framerate_controls,8,3         ## @framerate_controls
	.comm	_NUM_LIGHTS_CONTROLS,4,2        ## @NUM_LIGHTS_CONTROLS
	.comm	_GPIO_LIGHTS_MASK,4,2           ## @GPIO_LIGHTS_MASK
	.comm	_lights_controls,8,3            ## @lights_controls
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Get control id:%d, value:%d\n"

	.no_dead_strip	_ioctl_g_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioctl_g_ctrl
_ioctl_g_ctrl:                          ; @ioctl_g_ctrl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_30
; %bb.1:
	mov	x20, x1
	mov	x19, x0
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, _CPIA2_CMD_GET_USER_EFFECTS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPIA2_CMD_GET_USER_EFFECTS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _CPIA2_VP_USER_EFFECTS_FLIP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPIA2_VP_USER_EFFECTS_FLIP@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh10:
	adrp	x8, _CPIA2_CMD_GET_VP_SATURATION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CPIA2_CMD_GET_VP_SATURATION@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
	ldr	w2, [x20, #32]
	b	LBB0_27
LBB0_4:
Lloh16:
	adrp	x8, _CPIA2_CMD_GET_USER_EFFECTS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CPIA2_CMD_GET_USER_EFFECTS@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
	ldr	w8, [x20]
Lloh22:
	adrp	x9, _CPIA2_VP_USER_EFFECTS_MIRROR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CPIA2_VP_USER_EFFECTS_MIRROR@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	b	LBB0_27
LBB0_6:
Lloh24:
	adrp	x8, _CPIA2_CMD_GET_CONTRAST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CPIA2_CMD_GET_CONTRAST@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
	ldr	w2, [x20, #28]
	b	LBB0_27
LBB0_7:
Lloh30:
	adrp	x8, _CPIA2_CMD_GET_VP_BRIGHTNESS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CPIA2_CMD_GET_VP_BRIGHTNESS@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
	ldr	w2, [x20, #24]
	b	LBB0_27
LBB0_8:
	ldr	w2, [x20, #12]
	b	LBB0_27
LBB0_9:
	ldr	w2, [x20, #20]
	b	LBB0_27
LBB0_10:
Lloh36:
	adrp	x8, _CPIA2_CMD_GET_VP_GPIO_DATA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CPIA2_CMD_GET_VP_GPIO_DATA@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
Lloh39:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
Lloh42:
	adrp	x8, _NUM_LIGHTS_CONTROLS@GOTPAGE
Lloh43:
	ldr	x8, [x8, _NUM_LIGHTS_CONTROLS@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.11:
	mov	x2, #0
Lloh45:
	adrp	x9, _GPIO_LIGHTS_MASK@GOTPAGE
Lloh46:
	ldr	x9, [x9, _GPIO_LIGHTS_MASK@GOTPAGEOFF]
	ldr	w10, [x20, #4]
Lloh47:
	ldr	w9, [x9]
	and	w9, w9, w10
Lloh48:
	adrp	x10, _lights_controls@GOTPAGE
Lloh49:
	ldr	x10, [x10, _lights_controls@GOTPAGEOFF]
Lloh50:
	ldr	x10, [x10]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x2, lsl #2]
	cmp	w9, w11
	b.eq	LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x2, x2, #1
	cmp	x8, x2
	b.ne	LBB0_12
	b	LBB0_30
LBB0_14:
Lloh51:
	adrp	x8, _CPIA2_CMD_GET_VP_GPIO_DATA@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CPIA2_CMD_GET_VP_GPIO_DATA@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh55:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
	ldr	w2, [x20, #4]
	b	LBB0_27
LBB0_15:
Lloh57:
	adrp	x8, _NUM_FRAMERATE_CONTROLS@GOTPAGE
Lloh58:
	ldr	x8, [x8, _NUM_FRAMERATE_CONTROLS@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.16:
	mov	x2, #0
	ldr	w9, [x20, #8]
Lloh60:
	adrp	x10, _framerate_controls@GOTPAGE
Lloh61:
	ldr	x10, [x10, _framerate_controls@GOTPAGEOFF]
Lloh62:
	ldr	x10, [x10]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x2, lsl #2]
	cmp	w9, w11
	b.eq	LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x2, x2, #1
	cmp	x8, x2
	b.ne	LBB0_17
	b	LBB0_30
LBB0_19:
Lloh63:
	adrp	x8, _CPIA2_CMD_GET_FLICKER_MODES@GOTPAGE
Lloh64:
	ldr	x8, [x8, _CPIA2_CMD_GET_FLICKER_MODES@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _TRANSFER_READ@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TRANSFER_READ@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_cpia2_do_command
	ldr	w8, [x20, #16]
Lloh69:
	adrp	x9, _CPIA2_VP_FLICKER_MODES_NEVER_FLICKER@GOTPAGE
Lloh70:
	ldr	x9, [x9, _CPIA2_VP_FLICKER_MODES_NEVER_FLICKER@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _CPIA2_VP_FLICKER_MODES_50HZ@GOTPAGE
Lloh73:
	ldr	x10, [x10, _CPIA2_VP_FLICKER_MODES_50HZ@GOTPAGEOFF]
Lloh74:
	ldr	w10, [x10]
Lloh75:
	adrp	x11, _FLICKER_60@GOTPAGE
Lloh76:
	ldr	x11, [x11, _FLICKER_60@GOTPAGEOFF]
Lloh77:
	adrp	x12, _FLICKER_50@GOTPAGE
Lloh78:
	ldr	x12, [x12, _FLICKER_50@GOTPAGEOFF]
	tst	w10, w8
	csel	x10, x11, x12, eq
Lloh79:
	adrp	x11, _NEVER_FLICKER@GOTPAGE
Lloh80:
	ldr	x11, [x11, _NEVER_FLICKER@GOTPAGEOFF]
	tst	w9, w8
	csel	x10, x10, x11, eq
Lloh81:
	adrp	x8, _NUM_FLICKER_CONTROLS@GOTPAGE
Lloh82:
	ldr	x8, [x8, _NUM_FLICKER_CONTROLS@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.20:
	mov	x9, #0
	ldr	w10, [x10]
Lloh84:
	adrp	x11, _flicker_controls@GOTPAGE
Lloh85:
	ldr	x11, [x11, _flicker_controls@GOTPAGEOFF]
Lloh86:
	ldr	x11, [x11]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x9, lsl #2]
	cmp	w12, w10
	b.eq	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_21
	b	LBB0_30
LBB0_23:
	mov	w2, #0
	b	LBB0_26
LBB0_24:
	mov	w9, #0
	cmp	w9, w8
	b.eq	LBB0_30
	b	LBB0_32
LBB0_25:
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
LBB0_26:
	cmp	w2, w8
	b.eq	LBB0_30
LBB0_27:
	str	w2, [x19, #4]
LBB0_28:
	ldr	w1, [x19]
Lloh87:
	adrp	x0, l_.str@PAGE
Lloh88:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_DBG
	mov	w0, #0
	b	LBB0_31
LBB0_29:
	str	w9, [x19, #4]
	cmp	w9, w8
	b.ne	LBB0_32
LBB0_30:
Lloh89:
	adrp	x8, _EINVAL@GOTPAGE
Lloh90:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_31:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_32:
	ldr	w2, [x19, #4]
	b	LBB0_28
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_30-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
                                        ; -- End function
	.comm	_CPIA2_CMD_GET_VP_BRIGHTNESS,4,2 ; @CPIA2_CMD_GET_VP_BRIGHTNESS
	.comm	_TRANSFER_READ,4,2              ; @TRANSFER_READ
	.comm	_CPIA2_CMD_GET_CONTRAST,4,2     ; @CPIA2_CMD_GET_CONTRAST
	.comm	_CPIA2_CMD_GET_VP_SATURATION,4,2 ; @CPIA2_CMD_GET_VP_SATURATION
	.comm	_CPIA2_CMD_GET_USER_EFFECTS,4,2 ; @CPIA2_CMD_GET_USER_EFFECTS
	.comm	_CPIA2_VP_USER_EFFECTS_MIRROR,4,2 ; @CPIA2_VP_USER_EFFECTS_MIRROR
	.comm	_CPIA2_VP_USER_EFFECTS_FLIP,4,2 ; @CPIA2_VP_USER_EFFECTS_FLIP
	.comm	_CPIA2_CMD_GET_VP_GPIO_DATA,4,2 ; @CPIA2_CMD_GET_VP_GPIO_DATA
	.comm	_CPIA2_CMD_GET_FLICKER_MODES,4,2 ; @CPIA2_CMD_GET_FLICKER_MODES
	.comm	_CPIA2_VP_FLICKER_MODES_NEVER_FLICKER,4,2 ; @CPIA2_VP_FLICKER_MODES_NEVER_FLICKER
	.comm	_NEVER_FLICKER,4,2              ; @NEVER_FLICKER
	.comm	_CPIA2_VP_FLICKER_MODES_50HZ,4,2 ; @CPIA2_VP_FLICKER_MODES_50HZ
	.comm	_FLICKER_50,4,2                 ; @FLICKER_50
	.comm	_FLICKER_60,4,2                 ; @FLICKER_60
	.comm	_NUM_FLICKER_CONTROLS,4,2       ; @NUM_FLICKER_CONTROLS
	.comm	_flicker_controls,8,3           ; @flicker_controls
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NUM_FRAMERATE_CONTROLS,4,2     ; @NUM_FRAMERATE_CONTROLS
	.comm	_framerate_controls,8,3         ; @framerate_controls
	.comm	_NUM_LIGHTS_CONTROLS,4,2        ; @NUM_LIGHTS_CONTROLS
	.comm	_GPIO_LIGHTS_MASK,4,2           ; @GPIO_LIGHTS_MASK
	.comm	_lights_controls,8,3            ; @lights_controls
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Get control id:%d, value:%d\n"

	.no_dead_strip	_ioctl_g_ctrl
.subsections_via_symbols
