	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7411_read_in_vdd
_adt7411_read_in_vdd:                   ## @adt7411_read_in_vdd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_dev_get_drvdata
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_10
## %bb.1:
	movq	(%rax), %rdi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_ADT7411_REG_VDD_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_8:
	movq	_ADT7411_REG_VDD_HIGH@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	imull	$7000, %eax, %eax               ## imm = 0x1B58
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$8, %ecx
	jmp	LBB0_4
LBB0_2:
	movq	_ADT7411_REG_INT_TEMP_VDD_LSB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ADT7411_REG_VDD_MSB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, %ecx
	callq	_adt7411_read_10_bit
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	imull	$7000, %eax, %eax               ## imm = 0x1B58
	leal	1023(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$10, %ecx
LBB0_4:
	movslq	%ecx, %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adt7411_read_in_alarm          ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_ADT7411_REG_INT_TEMP_VDD_LSB,4,2 ## @ADT7411_REG_INT_TEMP_VDD_LSB
	.comm	_ADT7411_REG_VDD_MSB,4,2        ## @ADT7411_REG_VDD_MSB
	.comm	_ADT7411_REG_VDD_LOW,4,2        ## @ADT7411_REG_VDD_LOW
	.comm	_ADT7411_REG_VDD_HIGH,4,2       ## @ADT7411_REG_VDD_HIGH
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_adt7411_read_in_vdd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7411_read_in_vdd
_adt7411_read_in_vdd:                   ; @adt7411_read_in_vdd
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_dev_get_drvdata
	sub	w8, w21, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
	ldr	x0, [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:
Lloh2:
	adrp	x8, _ADT7411_REG_VDD_LOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ADT7411_REG_VDD_LOW@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_4:
Lloh7:
	adrp	x8, _ADT7411_REG_VDD_HIGH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ADT7411_REG_VDD_HIGH@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
	tbnz	w0, #31, LBB0_10
; %bb.6:
	mov	w8, #7000
	mul	w8, w0, w8
	mov	w0, #0
	add	w9, w8, #255
	cmp	w8, #0
	csel	w8, w9, w8, lt
	sbfx	x8, x8, #8, #24
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x8, _ADT7411_REG_INT_TEMP_VDD_LSB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADT7411_REG_INT_TEMP_VDD_LSB@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _ADT7411_REG_VDD_MSB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADT7411_REG_VDD_MSB@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	w3, #2
	bl	_adt7411_read_10_bit
	tbnz	w0, #31, LBB0_10
; %bb.8:
	mov	w8, #7000
	mul	w8, w0, w8
	mov	w0, #0
	add	w9, w8, #1023
	cmp	w8, #0
	csel	w8, w9, w8, lt
	sbfx	x8, x8, #10, #22
LBB0_9:
	str	x8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_adt7411_read_in_alarm
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_ADT7411_REG_INT_TEMP_VDD_LSB,4,2 ; @ADT7411_REG_INT_TEMP_VDD_LSB
	.comm	_ADT7411_REG_VDD_MSB,4,2        ; @ADT7411_REG_VDD_MSB
	.comm	_ADT7411_REG_VDD_LOW,4,2        ; @ADT7411_REG_VDD_LOW
	.comm	_ADT7411_REG_VDD_HIGH,4,2       ; @ADT7411_REG_VDD_HIGH
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_adt7411_read_in_vdd
.subsections_via_symbols
