	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltc4245_get_voltage
_ltc4245_get_voltage:                   ## @ltc4245_get_voltage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_ltc4245_update_device
	leal	-128(%rbx), %edx
	cmpl	$10, %edx
	ja	LBB0_7
## %bb.1:
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	-64(%rax,%rcx,4), %ecx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_6:
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %eax
	jmp	LBB0_8
LBB0_5:
	imull	$-55, %ecx, %eax
	jmp	LBB0_8
LBB0_3:
	leal	(%rcx,%rcx,4), %eax
	leal	(%rcx,%rax,4), %eax
	addl	%ecx, %eax
	jmp	LBB0_8
LBB0_4:
	leal	(%rcx,%rcx,4), %eax
	leal	(%rax,%rax,2), %eax
	jmp	LBB0_8
LBB0_2:
	imull	$55, %ecx, %eax
	jmp	LBB0_8
LBB0_7:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_ltc4245_get_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltc4245_get_voltage
_ltc4245_get_voltage:                   ; @ltc4245_get_voltage
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_ltc4245_update_device
	sub	w9, w19, #128
	cmp	w9, #10
	b.hi	LBB0_7
; %bb.1:
	ldr	x8, [x0]
	sub	w10, w19, #16
	ldr	w8, [x8, w10, sxtw #2]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	add	w8, w8, w8, lsl #2
	lsl	w0, w8, #1
	b	LBB0_8
LBB0_3:
	mov	w9, #-55
	mul	w0, w8, w9
	b	LBB0_8
LBB0_4:
	mov	w9, #22
	mul	w0, w8, w9
	b	LBB0_8
LBB0_5:
	lsl	w9, w8, #4
	sub	w0, w9, w8
	b	LBB0_8
LBB0_6:
	mov	w9, #55
	mul	w0, w8, w9
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_ltc4245_get_voltage
.subsections_via_symbols
