	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7411_read_temp
_adt7411_read_temp:                     ## @adt7411_read_temp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	leal	-128(%r13), %ecx
	cmpl	$5, %ecx
	ja	LBB0_10
## %bb.1:
	movq	(%rax), %r15
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	movq	%r14, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adt7411_read_temp_alarm        ## TAILCALL
LBB0_10:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_11
LBB0_5:
	movl	%r12d, %edi
	callq	_ADT7411_REG_TEMP_LOW
	jmp	LBB0_7
LBB0_6:
	movl	%r12d, %edi
	callq	_ADT7411_REG_TEMP_HIGH
LBB0_7:
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_11
## %bb.8:
	leal	-256(%rbx), %eax
	testb	$-128, %bl
	cmovel	%ebx, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	cltq
	movq	%rax, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_2:
	testl	%r12d, %r12d
	movq	_ADT7411_REG_EXT_TEMP_AIN14_LSB@GOTPCREL(%rip), %rax
	cmoveq	_ADT7411_REG_INT_TEMP_VDD_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ADT7411_REG_EXT_TEMP_AIN1_MSB@GOTPCREL(%rip), %rax
	cmoveq	_ADT7411_REG_INT_TEMP_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_adt7411_read_10_bit
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leal	-1024(%rax), %ecx
	testl	$512, %eax                      ## imm = 0x200
	cmovel	%eax, %ecx
	imull	$250, %ecx, %eax
	cltq
	movq	%rax, (%r14)
	jmp	LBB0_11
LBB0_3:
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_ADT7411_REG_EXT_TEMP_AIN14_LSB,4,2 ## @ADT7411_REG_EXT_TEMP_AIN14_LSB
	.comm	_ADT7411_REG_INT_TEMP_VDD_LSB,4,2 ## @ADT7411_REG_INT_TEMP_VDD_LSB
	.comm	_ADT7411_REG_EXT_TEMP_AIN1_MSB,4,2 ## @ADT7411_REG_EXT_TEMP_AIN1_MSB
	.comm	_ADT7411_REG_INT_TEMP_MSB,4,2   ## @ADT7411_REG_INT_TEMP_MSB
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_adt7411_read_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7411_read_temp
_adt7411_read_temp:                     ; @adt7411_read_temp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_dev_get_drvdata
	sub	w8, w22, #128
	cmp	w8, #5
	b.hi	LBB0_3
; %bb.1:
	ldr	x20, [x0]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_adt7411_read_temp_alarm
LBB0_3:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_4:
	mov	x0, x21
	bl	_ADT7411_REG_TEMP_LOW
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_ADT7411_REG_TEMP_HIGH
LBB0_6:
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_11
; %bb.7:
	sub	w8, w0, #256
	tst	w0, #0x80
	csel	w8, w0, w8, eq
	mov	w9, #1000
	b	LBB0_10
LBB0_8:
Lloh5:
	adrp	x8, _ADT7411_REG_EXT_TEMP_AIN14_LSB@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADT7411_REG_EXT_TEMP_AIN14_LSB@GOTPAGEOFF]
Lloh7:
	adrp	x9, _ADT7411_REG_INT_TEMP_VDD_LSB@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ADT7411_REG_INT_TEMP_VDD_LSB@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ADT7411_REG_EXT_TEMP_AIN1_MSB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADT7411_REG_EXT_TEMP_AIN1_MSB@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ADT7411_REG_INT_TEMP_MSB@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ADT7411_REG_INT_TEMP_MSB@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #0
	bl	_adt7411_read_10_bit
	tbnz	w0, #31, LBB0_11
; %bb.9:
	sub	w8, w0, #1024
	tst	w0, #0x200
	csel	w8, w0, w8, eq
	mov	w9, #250
LBB0_10:
	mul	w8, w8, w9
	sxtw	x8, w8
	str	x8, [x19]
	mov	w0, #0
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_ADT7411_REG_EXT_TEMP_AIN14_LSB,4,2 ; @ADT7411_REG_EXT_TEMP_AIN14_LSB
	.comm	_ADT7411_REG_INT_TEMP_VDD_LSB,4,2 ; @ADT7411_REG_INT_TEMP_VDD_LSB
	.comm	_ADT7411_REG_EXT_TEMP_AIN1_MSB,4,2 ; @ADT7411_REG_EXT_TEMP_AIN1_MSB
	.comm	_ADT7411_REG_INT_TEMP_MSB,4,2   ; @ADT7411_REG_INT_TEMP_MSB
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_adt7411_read_temp
.subsections_via_symbols
