	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setautogain
_setautogain:                           ## @setautogain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_SENSOR_OV7620@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	movl	$128, %eax
	movl	$163, %edx
	cmovel	%eax, %edx
	movl	$19, %esi
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_i2c_write                      ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	testq	%rsi, %rsi
	setne	%al
	shll	$6, %eax
	orl	$2, %eax
	movl	%eax, %esi
	movl	$384, %edx                      ## imm = 0x180
	popq	%rbp
	jmp	_reg_w                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SENSOR_OV7620,8,3              ## @SENSOR_OV7620
	.no_dead_strip	_setautogain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setautogain
_setautogain:                           ; @setautogain
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SENSOR_OV7620@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SENSOR_OV7620@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	cmp	x1, #0
	mov	w8, #163
	mov	w9, #128
	csel	w2, w9, w8, eq
	mov	w1, #19
	mov	w3, #0
	b	_i2c_write
LBB0_2:
	cmp	x1, #0
	mov	w8, #66
	mov	w9, #2
	csel	w1, w9, w8, eq
	mov	w2, #384
	b	_reg_w
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SENSOR_OV7620,8,3              ; @SENSOR_OV7620
	.no_dead_strip	_setautogain
.subsections_via_symbols
