	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm95245_read_conversion_rate
_lm95245_read_conversion_rate:          ## @lm95245_read_conversion_rate
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movq	_LM95245_REG_RW_CONVERS_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movl	$-129, %eax
	addl	-12(%rbp), %eax
	movl	$2500, %ecx                     ## imm = 0x9C4
	cmpl	$2, %eax
	ja	LBB0_3
## %bb.2:
	cltq
	leaq	l_switch.table.lm95245_read_conversion_rate(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
LBB0_3:
	movl	%ecx, (%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM95245_REG_RW_CONVERS_RATE,4,2 ## @LM95245_REG_RW_CONVERS_RATE
	.no_dead_strip	_lm95245_read_conversion_rate
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.lm95245_read_conversion_rate
l_switch.table.lm95245_read_conversion_rate:
	.long	1000                            ## 0x3e8
	.long	364                             ## 0x16c
	.long	63                              ## 0x3f

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm95245_read_conversion_rate
_lm95245_read_conversion_rate:          ; @lm95245_read_conversion_rate
	.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, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _LM95245_REG_RW_CONVERS_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LM95245_REG_RW_CONVERS_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	w8, [sp, #12]
	sub	w8, w8, #129
	cmp	w8, #2
	b.hi	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, l_switch.table.lm95245_read_conversion_rate@PAGE
Lloh4:
	add	x9, x9, l_switch.table.lm95245_read_conversion_rate@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_4
LBB0_3:
	mov	w8, #2500
LBB0_4:
	mov	w0, #0
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LM95245_REG_RW_CONVERS_RATE,4,2 ; @LM95245_REG_RW_CONVERS_RATE
	.no_dead_strip	_lm95245_read_conversion_rate
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.lm95245_read_conversion_rate
l_switch.table.lm95245_read_conversion_rate:
	.long	1000                            ; 0x3e8
	.long	364                             ; 0x16c
	.long	63                              ; 0x3f

.subsections_via_symbols
