	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltc4151_get_value
_ltc4151_get_value:                     ## @ltc4151_get_value
	.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
	movl	(%rax,%rsi,4), %edx
	movl	4(%rax,%rsi,4), %ecx
	shll	$4, %edx
	sarl	$4, %ecx
	addl	%edx, %ecx
	cmpq	$128, %rsi
	je	LBB0_5
## %bb.1:
	cmpq	$129, %rsi
	je	LBB0_4
## %bb.2:
	cmpq	$130, %rsi
	jne	LBB0_6
## %bb.3:
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	popq	%rbp
	retq
LBB0_5:
	leal	(%rcx,%rcx,4), %eax
	leal	(%rax,%rax,4), %eax
	popq	%rbp
	retq
LBB0_4:
	imull	$20000, %ecx, %eax              ## imm = 0x4E20
	cltd
	idivl	8(%rdi)
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ltc4151_get_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltc4151_get_value
_ltc4151_get_value:                     ; @ltc4151_get_value
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	add	x8, x8, x1, lsl #2
	ldp	w9, w8, [x8]
	asr	w8, w8, #4
	add	w8, w8, w9, lsl #4
	cmp	x1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	x1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	x1, #130
	b.ne	LBB0_6
; %bb.3:
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w0, w8, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w9, #25
	mul	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w9, #20000
	mul	w8, w8, w9
	ldr	w9, [x0, #8]
	sdiv	w0, w8, w9
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ltc4151_get_value
.subsections_via_symbols
