	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov5640_set_gain
_ov5640_set_gain:                       ## @ov5640_set_gain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edx
	movq	_OV5640_REG_AEC_PK_REAL_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	$1023, %edx                     ## imm = 0x3FF
	popq	%rbp
	jmp	_ov5640_write_reg16             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OV5640_REG_AEC_PK_REAL_GAIN,4,2 ## @OV5640_REG_AEC_PK_REAL_GAIN
	.no_dead_strip	_ov5640_set_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov5640_set_gain
_ov5640_set_gain:                       ; @ov5640_set_gain
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _OV5640_REG_AEC_PK_REAL_GAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OV5640_REG_AEC_PK_REAL_GAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w2, w1, #0x3ff
	mov	x1, x8
	b	_ov5640_write_reg16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OV5640_REG_AEC_PK_REAL_GAIN,4,2 ; @OV5640_REG_AEC_PK_REAL_GAIN
	.no_dead_strip	_ov5640_set_gain
.subsections_via_symbols
