	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltc4245_get_current
_ltc4245_get_current:                   ## @ltc4245_get_current
	.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), %ecx
	cmpl	$3, %ecx
	ja	LBB0_6
## %bb.1:
	movq	(%rax), %rax
	movslq	%ebx, %rdx
	movl	-64(%rax,%rdx,4), %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:
	imull	$250, %eax, %eax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	shrq	$37, %rax
	jmp	LBB0_7
LBB0_6:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	imull	$1250, %eax, %eax               ## imm = 0x4E2
	movl	$3558687189, %ecx               ## imm = 0xD41D41D5
	imulq	%rax, %rcx
	shrq	$32, %rcx
	subl	%ecx, %eax
	shrl	%eax
	addl	%ecx, %eax
	shrl	$5, %eax
	jmp	LBB0_7
LBB0_4:
	imull	$1250, %eax, %eax               ## imm = 0x4E2
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	shrq	$35, %rax
	jmp	LBB0_7
LBB0_2:
	imull	$250, %eax, %eax
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	shrq	$36, %rax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	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_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_3
	.long	L0_0_set_4
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_ltc4245_get_current
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltc4245_get_current
_ltc4245_get_current:                   ; @ltc4245_get_current
	.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, #3
	b.hi	LBB0_3
; %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:
	mov	w9, #250
	mul	w8, w8, w9
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #37
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_7
LBB0_3:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	mov	w9, #1250
	mul	w8, w8, w9
	mov	w9, #16853
	movk	w9, #54301, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #32
	sub	w8, w8, w9
	add	w8, w9, w8, lsr #1
	lsr	w0, w8, #5
	b	LBB0_7
LBB0_5:
	mov	w9, #1250
	mul	w8, w8, w9
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #35
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_7
LBB0_6:
	mov	w9, #250
	mul	w8, w8, w9
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #36
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	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_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_ltc4245_get_current
.subsections_via_symbols
