	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov7x20_mode_init
_ov7x20_mode_init:                      ## @ov7x20_mode_init
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_i2c_get_clientdata
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	setne	%bl
	sete	%r15b
	movl	$58, %r14d
	movl	$32, %eax
	cmovnel	%eax, %r14d
	movl	$96, %eax
	movl	$48, %r12d
	cmovel	%eax, %r12d
	movl	%ebx, %edx
	shll	$5, %edx
	movq	%r13, %rdi
	movl	$20, %esi
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	$32, %ecx
	callq	_ov_write_mask
	shll	$5, %r15d
	movq	%r13, %rdi
	movl	$40, %esi
	movl	%r15d, %edx
	movl	$32, %ecx
	callq	_ov_write_mask
	movq	%r13, %rdi
	movl	$36, %esi
	movl	%r14d, %edx
	callq	_ov_write
	movq	%r13, %rdi
	movl	$37, %esi
	movl	%r12d, %edx
	callq	_ov_write
	shll	$6, %ebx
	movq	%r13, %rdi
	movl	$45, %esi
	movl	%ebx, %edx
	movl	$64, %ecx
	callq	_ov_write_mask
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movl	$144, %edx
	movl	$240, %eax
	cmovnel	%eax, %edx
	movq	%r13, %rdi
	movl	$103, %esi
	movl	$240, %ecx
	callq	_ov_write_mask
LBB0_2:
	movq	%r13, %rdi
	movl	$116, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	$32, %ecx
	callq	_ov_write_mask
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%r13, %rdi
	movl	$17, %esi
	callq	_ov_write
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ov7x20_mode_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov7x20_mode_init
_ov7x20_mode_init:                      ; @ov7x20_mode_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_i2c_get_clientdata
	mov	x22, x0
	ldr	w25, [x20]
	cmp	w25, #0
	cset	w26, ne
	cset	w27, eq
	lsl	w21, w26, #5
	mov	w8, #32
	mov	w9, #58
	csel	w23, w9, w8, eq
	mov	w8, #48
	mov	w9, #96
	csel	w24, w9, w8, eq
	mov	x0, x19
	mov	w1, #20
	mov	x2, x21
	mov	w3, #32
	bl	_ov_write_mask
	lsl	w2, w27, #5
	mov	x0, x19
	mov	w1, #40
	mov	w3, #32
	bl	_ov_write_mask
	mov	x0, x19
	mov	w1, #36
	mov	x2, x23
	bl	_ov_write
	mov	x0, x19
	mov	w1, #37
	mov	x2, x24
	bl	_ov_write
	lsl	w2, w26, #6
	mov	x0, x19
	mov	w1, #45
	mov	w3, #64
	bl	_ov_write_mask
	ldr	w8, [x22]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w8, #240
	mov	w9, #144
	cmp	w25, #0
	csel	w2, w9, w8, eq
	mov	x0, x19
	mov	w1, #103
	mov	w3, #240
	bl	_ov_write_mask
LBB0_2:
	mov	x0, x19
	mov	w1, #116
	mov	x2, x21
	mov	w3, #32
	bl	_ov_write_mask
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #17
	bl	_ov_write
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ov7x20_mode_init
.subsections_via_symbols
