	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bq25890_find_val
_bq25890_find_val:                      ## @bq25890_find_val
	.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	_TBL_TREG@GOTPCREL(%rip), %rdi
	movq	_bq25890_tables@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%esi, %edx
	cmpl	%esi, (%rdi)
	jbe	LBB0_1
## %bb.2:
	leaq	(%rdx,%rdx,2), %rdx
	imulq	(%rcx,%rdx,8), %rax
	addq	8(%rcx,%rdx,8), %rax
	popq	%rbp
	retq
LBB0_1:
	leaq	(%rdx,%rdx,2), %rdx
	movq	16(%rcx,%rdx,8), %rcx
	movq	(%rcx,%rax,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TBL_TREG,4,2                   ## @TBL_TREG
	.comm	_bq25890_tables,8,3             ## @bq25890_tables
	.no_dead_strip	_bq25890_find_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bq25890_find_val
_bq25890_find_val:                      ; @bq25890_find_val
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TBL_TREG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TBL_TREG@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _bq25890_tables@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bq25890_tables@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	w9, w1
	cmp	w10, w1
	b.ls	LBB0_2
; %bb.1:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldp	x8, x9, [x8]
	madd	x0, x8, x0, x9
	ret
LBB0_2:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	x8, [x8, #16]
	ldr	x0, [x8, x0, lsl #3]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TBL_TREG,4,2                   ; @TBL_TREG
	.comm	_bq25890_tables,8,3             ; @bq25890_tables
	.no_dead_strip	_bq25890_find_val
.subsections_via_symbols
