	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_uAh_to_bin
_convert_uAh_to_bin:                    ## @convert_uAh_to_bin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	imull	$100, %esi, %eax
	movslq	(%rdi), %rcx
	imulq	$1717986919, %rcx, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$34, %rcx
	addl	%edx, %ecx
	cltd
	idivl	%ecx
	movq	_LTC294X_MAX_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LTC294X_MAX_VALUE,4,2          ## @LTC294X_MAX_VALUE
	.no_dead_strip	_convert_uAh_to_bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_uAh_to_bin
_convert_uAh_to_bin:                    ; @convert_uAh_to_bin
	.cfi_startproc
; %bb.0:
	mov	w8, #100
	mul	w8, w1, w8
	ldrsw	x9, [x0]
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	sdiv	w8, w8, w9
Lloh0:
	adrp	x9, _LTC294X_MAX_VALUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LTC294X_MAX_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w0, w8, w9, lt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LTC294X_MAX_VALUE,4,2          ; @LTC294X_MAX_VALUE
	.no_dead_strip	_convert_uAh_to_bin
.subsections_via_symbols
