	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm75_read
_lm75_read:                             ## @lm75_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%edx, %r12d
	movl	%esi, %ebx
	callq	_dev_get_drvdata
	movq	%rax, %r15
	cmpl	$131, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$133, %ebx
	jne	LBB0_9
## %bb.2:
	cmpl	$132, %r12d
	jne	LBB0_9
## %bb.3:
	movq	(%r15), %rax
	jmp	LBB0_7
LBB0_4:
	addl	$-128, %r12d
	cmpl	$3, %r12d
	jae	LBB0_9
## %bb.5:
	movslq	%r12d, %rax
	leaq	l_switch.table.lm75_read(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edi
	leaq	-36(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	movl	-36(%rbp), %edi
	movl	8(%r15), %esi
	callq	_lm75_reg_to_mc
LBB0_7:
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_LM75_REG_TEMP,4,2              ## @LM75_REG_TEMP
	.comm	_LM75_REG_MAX,4,2               ## @LM75_REG_MAX
	.comm	_LM75_REG_HYST,4,2              ## @LM75_REG_HYST
	.no_dead_strip	_lm75_read
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.lm75_read
l_switch.table.lm75_read:
	.quad	_LM75_REG_HYST
	.quad	_LM75_REG_MAX
	.quad	_LM75_REG_TEMP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm75_read
_lm75_read:                             ; @lm75_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x4
	mov	x21, x2
	mov	x22, x1
	bl	_dev_get_drvdata
	mov	x20, x0
	cmp	w22, #131
	b.eq	LBB0_4
; %bb.1:
	cmp	w22, #133
	b.ne	LBB0_8
; %bb.2:
	cmp	w21, #132
	b.ne	LBB0_8
; %bb.3:
	ldr	x8, [x20]
	b	LBB0_7
LBB0_4:
	sub	w8, w21, #128
	cmp	w8, #3
	b.hs	LBB0_8
; %bb.5:
Lloh0:
	adrp	x9, l_switch.table.lm75_read@PAGE
Lloh1:
	add	x9, x9, l_switch.table.lm75_read@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w1, [x8]
	ldr	w0, [x20, #12]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_9
; %bb.6:
	ldr	w0, [sp, #12]
	ldr	w1, [x20, #8]
	bl	_lm75_reg_to_mc
	mov	x8, x0
LBB0_7:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_LM75_REG_TEMP,4,2              ; @LM75_REG_TEMP
	.comm	_LM75_REG_MAX,4,2               ; @LM75_REG_MAX
	.comm	_LM75_REG_HYST,4,2              ; @LM75_REG_HYST
	.no_dead_strip	_lm75_read
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.lm75_read
l_switch.table.lm75_read:
	.quad	_LM75_REG_HYST
	.quad	_LM75_REG_MAX
	.quad	_LM75_REG_TEMP

.subsections_via_symbols
