	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9t001_gain_value
_mt9t001_gain_value:                    ## @mt9t001_gain_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$33, %eax
	jl	LBB0_4
## %bb.1:
	cmpl	$64, %eax
	ja	LBB0_3
## %bb.2:
	movl	%eax, %ecx
	andl	$-2, %ecx
	movl	%ecx, (%rdi)
	shrl	%eax
	orl	$64, %eax
	popq	%rbp
	retq
LBB0_3:
	andl	$-8, %eax
	movl	%eax, (%rdi)
	shll	$5, %eax
	addl	$-1952, %eax                    ## imm = 0xF860
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt9t001_gain_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9t001_gain_value
_mt9t001_gain_value:                    ; @mt9t001_gain_value
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0]
	cmp	w0, #33
	b.lt	LBB0_4
; %bb.1:
	cmp	w0, #64
	b.hi	LBB0_3
; %bb.2:
	and	w9, w0, #0xfffffffe
	str	w9, [x8]
	lsr	w8, w0, #1
	orr	w0, w8, #0x40
	ret
LBB0_3:
	and	w9, w0, #0xfffffff8
	str	w9, [x8]
	lsl	w8, w9, #5
	sub	w0, w8, #1952
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt9t001_gain_value
.subsections_via_symbols
