	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_ctrls_create              ## -- Begin function fimc_ctrls_create
	.p2align	4, 0x90
_fimc_ctrls_create:                     ## @fimc_ctrls_create
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	72(%rdi), %edi
	callq	_fimc_get_alpha_mask
	movl	%eax, %r15d
	xorl	%eax, %eax
	cmpl	$0, 16(%rbx)
	jne	LBB0_6
## %bb.1:
	leaq	64(%rbx), %r14
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_ROTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_fimc_ctrl_ops@GOTPCREL(%rip), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$270, %r8d                      ## imm = 0x10E
	movl	$90, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 56(%rbx)
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%rbx)
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 40(%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_V4L2_CID_ALPHA_COMPONENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	_fimc_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%rbx)
	jmp	LBB0_4
LBB0_3:
	movq	$0, 32(%rbx)
LBB0_4:
	movq	_V4L2_CID_COLORFX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_COLORFX_SET_CBCR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_COLORFX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_fimc_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$-38976, %r8d                   ## imm = 0xFFFF67C0
	callq	_v4l2_ctrl_new_std_menu
	movl	%eax, 20(%rbx)
	movq	_V4L2_CID_COLORFX_CBCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$65535, %r8d                    ## imm = 0xFFFF
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%rbx)
	movq	_FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	64(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	20(%rbx), %rsi
	movl	$2, %edi
	callq	_v4l2_ctrl_cluster
	movl	$1, 16(%rbx)
	movl	64(%rbx), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fimc_ctrl_ops,4,2              ## @fimc_ctrl_ops
	.comm	_V4L2_CID_ROTATE,4,2            ## @V4L2_CID_ROTATE
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_ALPHA_COMPONENT,4,2   ## @V4L2_CID_ALPHA_COMPONENT
	.comm	_V4L2_CID_COLORFX,4,2           ## @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_SET_CBCR,4,2      ## @V4L2_COLORFX_SET_CBCR
	.comm	_V4L2_COLORFX_NONE,4,2          ## @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_COLORFX_CBCR,4,2      ## @V4L2_CID_COLORFX_CBCR
	.comm	_FIMC_REG_CIIMGEFF_FIN_BYPASS,4,2 ## @FIMC_REG_CIIMGEFF_FIN_BYPASS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fimc_ctrls_create              ; -- Begin function fimc_ctrls_create
	.p2align	2
_fimc_ctrls_create:                     ; @fimc_ctrls_create
	.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, x0
	ldr	w0, [x0, #72]
	bl	_fimc_get_alpha_mask
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x21, x0
	add	x20, x19, #64
	mov	x0, x20
	mov	w1, #6
	bl	_v4l2_ctrl_handler_init
Lloh0:
	adrp	x8, _V4L2_CID_ROTATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_CID_ROTATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x22, _fimc_ctrl_ops@GOTPAGE
Lloh4:
	ldr	x22, [x22, _fimc_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #270
	mov	w5, #90
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #56]
Lloh5:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #48]
Lloh8:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #40]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _V4L2_CID_ALPHA_COMPONENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_CID_ALPHA_COMPONENT@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x1, _fimc_ctrl_ops@GOTPAGE
Lloh15:
	ldr	x1, [x1, _fimc_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	w3, #0
	mov	x4, x21
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #32]
	b	LBB0_5
LBB0_4:
	str	xzr, [x19, #32]
LBB0_5:
Lloh16:
	adrp	x8, _V4L2_CID_COLORFX@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_CID_COLORFX@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _V4L2_COLORFX_SET_CBCR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _V4L2_COLORFX_SET_CBCR@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
Lloh22:
	adrp	x8, _V4L2_COLORFX_NONE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _V4L2_COLORFX_NONE@GOTPAGEOFF]
Lloh24:
	ldr	w5, [x8]
Lloh25:
	adrp	x22, _fimc_ctrl_ops@GOTPAGE
Lloh26:
	ldr	x22, [x22, _fimc_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	w4, #-38976
	bl	_v4l2_ctrl_new_std_menu
	mov	x21, x19
	str	w0, [x21, #20]!
Lloh27:
	adrp	x8, _V4L2_CID_COLORFX_CBCR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _V4L2_CID_COLORFX_CBCR@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	w23, #1
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #65535
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #24]
Lloh30:
	adrp	x8, _FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FIMC_REG_CIIMGEFF_FIN_BYPASS@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w0, [x19, #64]
	cbnz	w0, LBB0_7
; %bb.6:
	mov	w0, #2
	mov	x1, x21
	bl	_v4l2_ctrl_cluster
	str	w23, [x19, #16]
	ldr	w0, [x19, #64]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_fimc_ctrl_ops,4,2              ; @fimc_ctrl_ops
	.comm	_V4L2_CID_ROTATE,4,2            ; @V4L2_CID_ROTATE
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_ALPHA_COMPONENT,4,2   ; @V4L2_CID_ALPHA_COMPONENT
	.comm	_V4L2_CID_COLORFX,4,2           ; @V4L2_CID_COLORFX
	.comm	_V4L2_COLORFX_SET_CBCR,4,2      ; @V4L2_COLORFX_SET_CBCR
	.comm	_V4L2_COLORFX_NONE,4,2          ; @V4L2_COLORFX_NONE
	.comm	_V4L2_CID_COLORFX_CBCR,4,2      ; @V4L2_CID_COLORFX_CBCR
	.comm	_FIMC_REG_CIIMGEFF_FIN_BYPASS,4,2 ; @FIMC_REG_CIIMGEFF_FIN_BYPASS
.subsections_via_symbols
