	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m5mols_3a_lock
_m5mols_3a_lock:                        ## @m5mols_3a_lock
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rsi), %ebx
	movq	_V4L2_LOCK_FOCUS@GOTPCREL(%rip), %r15
	movl	(%r15), %r13d
	movl	4(%rsi), %ecx
	xorl	%ebx, %ecx
	movq	_V4L2_LOCK_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %eax
	testl	%edx, %ecx
	je	LBB0_6
## %bb.1:
	movq	_AE_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %edx
	jne	LBB0_2
## %bb.3:
	movq	_REG_AE_UNLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_REG_AE_LOCK@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_m5mols_write
	testl	%eax, %eax
	jne	LBB0_15
## %bb.5:
	movl	(%r12), %eax
	movl	4(%r12), %ecx
	xorl	%eax, %ecx
LBB0_6:
	movq	_V4L2_LOCK_WHITE_BALANCE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_12
## %bb.7:
	movq	8(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_12
## %bb.8:
	movq	_AWB_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%eax, %edx
	jne	LBB0_9
## %bb.10:
	movq	_REG_AWB_UNLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_REG_AWB_LOCK@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_m5mols_write
	testl	%eax, %eax
	jne	LBB0_15
LBB0_12:
	xorl	%eax, %eax
	cmpl	$0, 4(%r14)
	je	LBB0_15
## %bb.13:
	andl	%ebx, %r13d
	je	LBB0_15
## %bb.14:
	movl	4(%r12), %ecx
	xorl	(%r12), %ecx
	testl	%ecx, (%r15)
	je	LBB0_15
## %bb.16:
	movq	_AF_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_AF_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m5mols_write                   ## TAILCALL
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_LOCK_FOCUS,4,2            ## @V4L2_LOCK_FOCUS
	.comm	_V4L2_LOCK_EXPOSURE,4,2         ## @V4L2_LOCK_EXPOSURE
	.comm	_AE_LOCK,4,2                    ## @AE_LOCK
	.comm	_REG_AE_LOCK,4,2                ## @REG_AE_LOCK
	.comm	_REG_AE_UNLOCK,4,2              ## @REG_AE_UNLOCK
	.comm	_V4L2_LOCK_WHITE_BALANCE,4,2    ## @V4L2_LOCK_WHITE_BALANCE
	.comm	_AWB_LOCK,4,2                   ## @AWB_LOCK
	.comm	_REG_AWB_LOCK,4,2               ## @REG_AWB_LOCK
	.comm	_REG_AWB_UNLOCK,4,2             ## @REG_AWB_UNLOCK
	.comm	_AF_EXECUTE,4,2                 ## @AF_EXECUTE
	.comm	_REG_AF_STOP,4,2                ## @REG_AF_STOP
	.no_dead_strip	_m5mols_3a_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m5mols_3a_lock
_m5mols_3a_lock:                        ; @m5mols_3a_lock
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _V4L2_LOCK_FOCUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _V4L2_LOCK_FOCUS@GOTPAGEOFF]
	ldr	w22, [x21]
	ldp	w23, w8, [x1]
	eor	w9, w8, w23
Lloh2:
	adrp	x8, _V4L2_LOCK_EXPOSURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_LOCK_EXPOSURE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, _AE_LOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AE_LOCK@GOTPAGEOFF]
Lloh7:
	adrp	x10, _REG_AE_LOCK@GOTPAGE
Lloh8:
	ldr	x10, [x10, _REG_AE_LOCK@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x9]
Lloh10:
	adrp	x9, _REG_AE_UNLOCK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _REG_AE_UNLOCK@GOTPAGEOFF]
	tst	w8, w23
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_m5mols_write
	cbnz	w0, LBB0_12
; %bb.2:
	ldp	w8, w9, [x20]
	eor	w9, w9, w8
	b	LBB0_4
LBB0_3:
	mov	x8, x23
LBB0_4:
Lloh12:
	adrp	x10, _V4L2_LOCK_WHITE_BALANCE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _V4L2_LOCK_WHITE_BALANCE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w9, w10
	b.eq	LBB0_7
; %bb.5:
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	cbz	x9, LBB0_7
; %bb.6:
Lloh15:
	adrp	x9, _AWB_LOCK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AWB_LOCK@GOTPAGEOFF]
Lloh17:
	adrp	x11, _REG_AWB_LOCK@GOTPAGE
Lloh18:
	ldr	x11, [x11, _REG_AWB_LOCK@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
Lloh20:
	adrp	x9, _REG_AWB_UNLOCK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _REG_AWB_UNLOCK@GOTPAGEOFF]
	tst	w10, w8
	csel	x8, x9, x11, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_m5mols_write
	cbnz	w0, LBB0_12
LBB0_7:
	mov	w0, #0
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_12
; %bb.8:
	and	w8, w22, w23
	cbz	w8, LBB0_12
; %bb.9:
	ldp	w8, w9, [x20]
	eor	w8, w9, w8
	ldr	w9, [x21]
	tst	w8, w9
	b.eq	LBB0_11
; %bb.10:
Lloh22:
	adrp	x8, _AF_EXECUTE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AF_EXECUTE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _REG_AF_STOP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_AF_STOP@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	mov	x0, x19
	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
	b	_m5mols_write
LBB0_11:
	mov	w0, #0
LBB0_12:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_LOCK_FOCUS,4,2            ; @V4L2_LOCK_FOCUS
	.comm	_V4L2_LOCK_EXPOSURE,4,2         ; @V4L2_LOCK_EXPOSURE
	.comm	_AE_LOCK,4,2                    ; @AE_LOCK
	.comm	_REG_AE_LOCK,4,2                ; @REG_AE_LOCK
	.comm	_REG_AE_UNLOCK,4,2              ; @REG_AE_UNLOCK
	.comm	_V4L2_LOCK_WHITE_BALANCE,4,2    ; @V4L2_LOCK_WHITE_BALANCE
	.comm	_AWB_LOCK,4,2                   ; @AWB_LOCK
	.comm	_REG_AWB_LOCK,4,2               ; @REG_AWB_LOCK
	.comm	_REG_AWB_UNLOCK,4,2             ; @REG_AWB_UNLOCK
	.comm	_AF_EXECUTE,4,2                 ; @AF_EXECUTE
	.comm	_REG_AF_STOP,4,2                ; @REG_AF_STOP
	.no_dead_strip	_m5mols_3a_lock
.subsections_via_symbols
