	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9m111_set_autoexposure
_mt9m111_set_autoexposure:              ## @mt9m111_set_autoexposure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	callq	_to_mt9m111
	movq	%rax, %r14
	movq	_OPER_MODE_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MT9M111_OPMODE_AUTOEXPO_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	callq	_reg_set
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movl	%ebx, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	_reg_clear
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_OPER_MODE_CTRL,4,2             ## @OPER_MODE_CTRL
	.comm	_MT9M111_OPMODE_AUTOEXPO_EN,4,2 ## @MT9M111_OPMODE_AUTOEXPO_EN
	.no_dead_strip	_mt9m111_set_autoexposure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9m111_set_autoexposure
_mt9m111_set_autoexposure:              ; @mt9m111_set_autoexposure
	.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
	mov	x19, x1
	bl	_to_mt9m111
	mov	x20, x0
Lloh0:
	adrp	x8, _OPER_MODE_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPER_MODE_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MT9M111_OPMODE_AUTOEXPO_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT9M111_OPMODE_AUTOEXPO_EN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	cbz	w19, LBB0_4
; %bb.1:
	bl	_reg_set
	cbnz	w0, LBB0_3
LBB0_2:
	str	w19, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_reg_clear
	cbnz	w0, LBB0_3
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPER_MODE_CTRL,4,2             ; @OPER_MODE_CTRL
	.comm	_MT9M111_OPMODE_AUTOEXPO_EN,4,2 ; @MT9M111_OPMODE_AUTOEXPO_EN
	.no_dead_strip	_mt9m111_set_autoexposure
.subsections_via_symbols
