	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_3a_lock
_s5c73m3_3a_lock:                       ## @s5c73m3_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), %r15d
	movq	_V4L2_LOCK_WHITE_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_V4L2_LOCK_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_LOCK_FOCUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	4(%rsi), %eax
	xorl	%r15d, %eax
	movl	%r13d, %edx
	testl	%ecx, %eax
	je	LBB0_6
## %bb.1:
	movq	_COMM_AE_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edi, %ebx
	testl	%r15d, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_COMM_AE_START@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_COMM_AE_STOP@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_s5c73m3_isp_command
	testl	%eax, %eax
	jne	LBB0_15
## %bb.5:
	movl	4(%r12), %eax
	movq	_V4L2_LOCK_WHITE_BALANCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	(%r12), %eax
	movl	%ebx, %edi
	movq	_V4L2_LOCK_FOCUS@GOTPCREL(%rip), %rbx
LBB0_6:
	testl	%edx, %eax
	je	LBB0_13
## %bb.7:
	movq	(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_13
## %bb.8:
	movq	_COMM_AWB_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r15d, %r13d
	jne	LBB0_9
## %bb.10:
	movq	%rbx, %r13
	movl	%edi, %ebx
	movq	_COMM_AWB_START@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	%rbx, %r13
	movl	%edi, %ebx
	movq	_COMM_AWB_STOP@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_s5c73m3_isp_command
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movl	4(%r12), %eax
	xorl	(%r12), %eax
	movl	%ebx, %edi
	movq	%r13, %rbx
LBB0_13:
	testl	%eax, (%rbx)
	je	LBB0_14
## %bb.16:
	xorl	%esi, %esi
	testl	%r15d, %edi
	sete	%sil
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_s5c73m3_af_run                 ## TAILCALL
LBB0_14:
	xorl	%eax, %eax
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_WHITE_BALANCE,4,2    ## @V4L2_LOCK_WHITE_BALANCE
	.comm	_V4L2_LOCK_EXPOSURE,4,2         ## @V4L2_LOCK_EXPOSURE
	.comm	_V4L2_LOCK_FOCUS,4,2            ## @V4L2_LOCK_FOCUS
	.comm	_COMM_AE_CON,4,2                ## @COMM_AE_CON
	.comm	_COMM_AE_STOP,4,2               ## @COMM_AE_STOP
	.comm	_COMM_AE_START,4,2              ## @COMM_AE_START
	.comm	_COMM_AWB_CON,4,2               ## @COMM_AWB_CON
	.comm	_COMM_AWB_STOP,4,2              ## @COMM_AWB_STOP
	.comm	_COMM_AWB_START,4,2             ## @COMM_AWB_START
	.no_dead_strip	_s5c73m3_3a_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_3a_lock
_s5c73m3_3a_lock:                       ; @s5c73m3_3a_lock
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _V4L2_LOCK_WHITE_BALANCE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _V4L2_LOCK_WHITE_BALANCE@GOTPAGEOFF]
	ldr	w24, [x25]
Lloh2:
	adrp	x8, _V4L2_LOCK_EXPOSURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_LOCK_EXPOSURE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _V4L2_LOCK_FOCUS@GOTPAGE
Lloh5:
	ldr	x23, [x23, _V4L2_LOCK_FOCUS@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
	ldr	w21, [x23]
	ldp	w22, w8, [x1]
	eor	w8, w8, w22
	tst	w8, w9
	b.eq	LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _COMM_AE_CON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COMM_AE_CON@GOTPAGEOFF]
Lloh9:
	adrp	x10, _COMM_AE_STOP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _COMM_AE_STOP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _COMM_AE_START@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMM_AE_START@GOTPAGEOFF]
	tst	w9, w22
	csel	x8, x8, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_s5c73m3_isp_command
	cbnz	w0, LBB0_10
; %bb.2:
	ldp	w8, w10, [x20]
	ldr	w9, [x25]
	eor	w8, w10, w8
	tst	w8, w9
	b.ne	LBB0_4
	b	LBB0_7
LBB0_3:
	mov	x9, x24
	tst	w8, w9
	b.eq	LBB0_7
LBB0_4:
	ldr	x9, [x19]
	ldr	x9, [x9]
	cbz	x9, LBB0_7
; %bb.5:
	and	w8, w24, w22
Lloh14:
	adrp	x9, _COMM_AWB_CON@GOTPAGE
Lloh15:
	ldr	x9, [x9, _COMM_AWB_CON@GOTPAGEOFF]
Lloh16:
	adrp	x10, _COMM_AWB_STOP@GOTPAGE
Lloh17:
	ldr	x10, [x10, _COMM_AWB_STOP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
Lloh19:
	adrp	x9, _COMM_AWB_START@GOTPAGE
Lloh20:
	ldr	x9, [x9, _COMM_AWB_START@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	bl	_s5c73m3_isp_command
	cbnz	w0, LBB0_10
; %bb.6:
	ldp	w8, w9, [x20]
	eor	w8, w9, w8
LBB0_7:
	ldr	w9, [x23]
	tst	w8, w9
	b.eq	LBB0_9
; %bb.8:
	and	w8, w21, w22
	cmp	w8, #0
	cset	w1, eq
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_s5c73m3_af_run
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_LOCK_WHITE_BALANCE,4,2    ; @V4L2_LOCK_WHITE_BALANCE
	.comm	_V4L2_LOCK_EXPOSURE,4,2         ; @V4L2_LOCK_EXPOSURE
	.comm	_V4L2_LOCK_FOCUS,4,2            ; @V4L2_LOCK_FOCUS
	.comm	_COMM_AE_CON,4,2                ; @COMM_AE_CON
	.comm	_COMM_AE_STOP,4,2               ; @COMM_AE_STOP
	.comm	_COMM_AE_START,4,2              ; @COMM_AE_START
	.comm	_COMM_AWB_CON,4,2               ; @COMM_AWB_CON
	.comm	_COMM_AWB_STOP,4,2              ; @COMM_AWB_STOP
	.comm	_COMM_AWB_START,4,2             ; @COMM_AWB_START
	.no_dead_strip	_s5c73m3_3a_lock
.subsections_via_symbols
