	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp401_update_device_reg16
_tmp401_update_device_reg16:            ## @tmp401_update_device_reg16
	.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	%rsi, %r13
	movq	%rdi, %r14
	movb	$1, %r15b
	xorl	%ebx, %ebx
	movq	_tmp411@GOTPCREL(%rip), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %ebx
	testb	$1, %r15b
	movl	$0, %r15d
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_TMP401_TEMP_MSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$8, %eax
	movq	(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	_TMP401_TEMP_LSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	(%r13), %rcx
	orl	%eax, (%rcx,%rbx,4)
	movq	_TMP401_TEMP_LOW_LIMIT_MSB_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$8, %eax
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	_TMP401_TEMP_LOW_LIMIT_LSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	8(%r13), %rcx
	orl	%eax, (%rcx,%rbx,4)
	movq	_TMP401_TEMP_HIGH_LIMIT_MSB_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$8, %eax
	movq	16(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	_TMP401_TEMP_HIGH_LIMIT_LSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	16(%r13), %rcx
	orl	%eax, (%rcx,%rbx,4)
	movq	_TMP401_TEMP_CRIT_LIMIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	24(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	32(%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_TMP411_TEMP_LOWEST_MSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$8, %eax
	movq	40(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	_TMP411_TEMP_LOWEST_LSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	40(%r13), %rcx
	orl	%eax, (%rcx,%rbx,4)
	movq	_TMP411_TEMP_HIGHEST_MSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$8, %eax
	movq	48(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movq	_TMP411_TEMP_HIGHEST_LSB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	48(%r13), %rcx
	orl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_3
LBB0_4:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMP401_TEMP_MSB,8,3            ## @TMP401_TEMP_MSB
	.comm	_TMP401_TEMP_LSB,8,3            ## @TMP401_TEMP_LSB
	.comm	_TMP401_TEMP_LOW_LIMIT_MSB_READ,8,3 ## @TMP401_TEMP_LOW_LIMIT_MSB_READ
	.comm	_TMP401_TEMP_LOW_LIMIT_LSB,8,3  ## @TMP401_TEMP_LOW_LIMIT_LSB
	.comm	_TMP401_TEMP_HIGH_LIMIT_MSB_READ,8,3 ## @TMP401_TEMP_HIGH_LIMIT_MSB_READ
	.comm	_TMP401_TEMP_HIGH_LIMIT_LSB,8,3 ## @TMP401_TEMP_HIGH_LIMIT_LSB
	.comm	_TMP401_TEMP_CRIT_LIMIT,8,3     ## @TMP401_TEMP_CRIT_LIMIT
	.comm	_tmp411,8,3                     ## @tmp411
	.comm	_TMP411_TEMP_LOWEST_MSB,8,3     ## @TMP411_TEMP_LOWEST_MSB
	.comm	_TMP411_TEMP_LOWEST_LSB,8,3     ## @TMP411_TEMP_LOWEST_LSB
	.comm	_TMP411_TEMP_HIGHEST_MSB,8,3    ## @TMP411_TEMP_HIGHEST_MSB
	.comm	_TMP411_TEMP_HIGHEST_LSB,8,3    ## @TMP411_TEMP_HIGHEST_LSB
	.no_dead_strip	_tmp401_update_device_reg16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp401_update_device_reg16
_tmp401_update_device_reg16:            ; @tmp401_update_device_reg16
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	mov	x8, #0
	mov	w9, #1
Lloh0:
	adrp	x23, _TMP401_TEMP_LOW_LIMIT_MSB_READ@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TMP401_TEMP_LOW_LIMIT_MSB_READ@GOTPAGEOFF]
Lloh2:
	adrp	x24, _TMP401_TEMP_LOW_LIMIT_LSB@GOTPAGE
Lloh3:
	ldr	x24, [x24, _TMP401_TEMP_LOW_LIMIT_LSB@GOTPAGEOFF]
Lloh4:
	adrp	x25, _TMP401_TEMP_HIGH_LIMIT_MSB_READ@GOTPAGE
Lloh5:
	ldr	x25, [x25, _TMP401_TEMP_HIGH_LIMIT_MSB_READ@GOTPAGEOFF]
Lloh6:
	adrp	x26, _TMP401_TEMP_HIGH_LIMIT_LSB@GOTPAGE
Lloh7:
	ldr	x26, [x26, _TMP401_TEMP_HIGH_LIMIT_LSB@GOTPAGEOFF]
Lloh8:
	adrp	x27, _TMP401_TEMP_CRIT_LIMIT@GOTPAGE
Lloh9:
	ldr	x27, [x27, _TMP401_TEMP_CRIT_LIMIT@GOTPAGEOFF]
Lloh10:
	adrp	x28, _tmp411@GOTPAGE
Lloh11:
	ldr	x28, [x28, _tmp411@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #0
	mov	w8, #1
	tbz	w21, #0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x9
Lloh12:
	adrp	x9, _TMP401_TEMP_MSB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TMP401_TEMP_MSB@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	lsl	x22, x8, #2
	ldr	w1, [x9, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	lsl	w8, w0, #8
	ldr	x9, [x19]
	str	w8, [x9, x22]
Lloh15:
	adrp	x8, _TMP401_TEMP_LSB@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TMP401_TEMP_LSB@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19]
	ldr	w9, [x8, x22]
	orr	w9, w9, w0
	str	w9, [x8, x22]
	ldr	x8, [x23]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	lsl	w8, w0, #8
	ldr	x9, [x19, #8]
	str	w8, [x9, x22]
	ldr	x8, [x24]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #8]
	ldr	w9, [x8, x22]
	orr	w9, w9, w0
	str	w9, [x8, x22]
	ldr	x8, [x25]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	lsl	w8, w0, #8
	ldr	x9, [x19, #16]
	str	w8, [x9, x22]
	ldr	x8, [x26]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #16]
	ldr	w9, [x8, x22]
	orr	w9, w9, w0
	str	w9, [x8, x22]
	ldr	x8, [x27]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldp	x8, x9, [x19, #24]
	str	w0, [x8, x22]
	ldr	x8, [x28]
	cmp	x9, x8
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh18:
	adrp	x8, _TMP411_TEMP_LOWEST_MSB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TMP411_TEMP_LOWEST_MSB@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	lsl	w8, w0, #8
	ldr	x9, [x19, #40]
	str	w8, [x9, x22]
Lloh21:
	adrp	x8, _TMP411_TEMP_LOWEST_LSB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TMP411_TEMP_LOWEST_LSB@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #40]
	ldr	w9, [x8, x22]
	orr	w9, w9, w0
	str	w9, [x8, x22]
Lloh24:
	adrp	x8, _TMP411_TEMP_HIGHEST_MSB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TMP411_TEMP_HIGHEST_MSB@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	lsl	w8, w0, #8
	ldr	x9, [x19, #48]
	str	w8, [x9, x22]
Lloh27:
	adrp	x8, _TMP411_TEMP_HIGHEST_LSB@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TMP411_TEMP_HIGHEST_LSB@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	w1, [x8, x22]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #48]
	ldr	w9, [x8, x22]
	orr	w9, w9, w0
	str	w9, [x8, x22]
	b	LBB0_1
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TMP401_TEMP_MSB,8,3            ; @TMP401_TEMP_MSB
	.comm	_TMP401_TEMP_LSB,8,3            ; @TMP401_TEMP_LSB
	.comm	_TMP401_TEMP_LOW_LIMIT_MSB_READ,8,3 ; @TMP401_TEMP_LOW_LIMIT_MSB_READ
	.comm	_TMP401_TEMP_LOW_LIMIT_LSB,8,3  ; @TMP401_TEMP_LOW_LIMIT_LSB
	.comm	_TMP401_TEMP_HIGH_LIMIT_MSB_READ,8,3 ; @TMP401_TEMP_HIGH_LIMIT_MSB_READ
	.comm	_TMP401_TEMP_HIGH_LIMIT_LSB,8,3 ; @TMP401_TEMP_HIGH_LIMIT_LSB
	.comm	_TMP401_TEMP_CRIT_LIMIT,8,3     ; @TMP401_TEMP_CRIT_LIMIT
	.comm	_tmp411,8,3                     ; @tmp411
	.comm	_TMP411_TEMP_LOWEST_MSB,8,3     ; @TMP411_TEMP_LOWEST_MSB
	.comm	_TMP411_TEMP_LOWEST_LSB,8,3     ; @TMP411_TEMP_LOWEST_LSB
	.comm	_TMP411_TEMP_HIGHEST_MSB,8,3    ; @TMP411_TEMP_HIGHEST_MSB
	.comm	_TMP411_TEMP_HIGHEST_LSB,8,3    ; @TMP411_TEMP_HIGHEST_LSB
	.no_dead_strip	_tmp401_update_device_reg16
.subsections_via_symbols
