	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lis3lv02d_rate_show
_lis3lv02d_rate_show:                   ## @lis3lv02d_rate_show
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	_lis3_dev@GOTPCREL(%rip), %rbx
	movq	_CTRL_REG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rbx)
	movq	(%rbx), %rax
	movq	_CTRL1_DF0@GOTPCREL(%rip), %rcx
	movq	_CTRL1_DF1@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_LIS_DOUBLE_ID@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	cmpq	(%rcx), %rax
	movq	_CTRL1_DR@GOTPCREL(%rip), %rax
	cmovnel	(%rax), %edx
	movq	_lis3_8_rates@GOTPCREL(%rip), %rax
	cmoveq	_lis3_12_rates@GOTPCREL(%rip), %rax
	setne	%sil
	andl	-20(%rbp), %edx
	leal	(%rsi,%rsi,2), %ecx
	addl	$4, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	movq	(%rax), %rax
	movslq	%edx, %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lis3_dev,16,3                  ## @lis3_dev
	.comm	_CTRL_REG1,4,2                  ## @CTRL_REG1
	.comm	_LIS_DOUBLE_ID,8,3              ## @LIS_DOUBLE_ID
	.comm	_lis3_12_rates,8,3              ## @lis3_12_rates
	.comm	_CTRL1_DF0,4,2                  ## @CTRL1_DF0
	.comm	_CTRL1_DF1,4,2                  ## @CTRL1_DF1
	.comm	_lis3_8_rates,8,3               ## @lis3_8_rates
	.comm	_CTRL1_DR,4,2                   ## @CTRL1_DR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_lis3lv02d_rate_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lis3lv02d_rate_show
_lis3lv02d_rate_show:                   ; @lis3lv02d_rate_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x20, _lis3_dev@GOTPAGE
Lloh1:
	ldr	x20, [x20, _lis3_dev@GOTPAGEOFF]
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _CTRL_REG1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CTRL_REG1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x20
	blr	x8
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _LIS_DOUBLE_ID@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LIS_DOUBLE_ID@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _CTRL1_DR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CTRL1_DR@GOTPAGEOFF]
	ldr	w11, [sp, #12]
Lloh10:
	adrp	x12, _CTRL1_DF0@GOTPAGE
Lloh11:
	ldr	x12, [x12, _CTRL1_DF0@GOTPAGEOFF]
Lloh12:
	ldr	w12, [x12]
Lloh13:
	adrp	x13, _CTRL1_DF1@GOTPAGE
Lloh14:
	ldr	x13, [x13, _CTRL1_DF1@GOTPAGEOFF]
Lloh15:
	ldr	w13, [x13]
	orr	w12, w13, w12
Lloh16:
	adrp	x13, _lis3_12_rates@GOTPAGE
Lloh17:
	ldr	x13, [x13, _lis3_12_rates@GOTPAGEOFF]
Lloh18:
	adrp	x14, _lis3_8_rates@GOTPAGE
Lloh19:
	ldr	x14, [x14, _lis3_8_rates@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	x8, x13, x14, eq
	csel	w9, w12, w10, eq
	mov	w10, #7
	mov	w12, #4
	csel	w10, w12, w10, eq
	and	w9, w9, w11
	asr	w9, w9, w10
	ldr	x8, [x8]
	ldr	w2, [x8, w9, sxtw #2]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh20
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lis3_dev,16,3                  ; @lis3_dev
	.comm	_CTRL_REG1,4,2                  ; @CTRL_REG1
	.comm	_LIS_DOUBLE_ID,8,3              ; @LIS_DOUBLE_ID
	.comm	_lis3_12_rates,8,3              ; @lis3_12_rates
	.comm	_CTRL1_DF0,4,2                  ; @CTRL1_DF0
	.comm	_CTRL1_DF1,4,2                  ; @CTRL1_DF1
	.comm	_lis3_8_rates,8,3               ; @lis3_8_rates
	.comm	_CTRL1_DR,4,2                   ; @CTRL1_DR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_lis3lv02d_rate_show
.subsections_via_symbols
