	.file	"extr_stts751.c_stts751_update_temp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"I2C read failed (temp H). ret: %x\n"
	.align 8
.LC1:
	.string	"I2C read failed (temp L). ret: %x\n"
	.align 8
.LC2:
	.string	"I2C 2nd read failed (temp H). ret: %x\n"
	.align 8
.LC3:
	.string	"I2C 2nd read failed (temp L). ret: %x\n"
	.text
	.p2align 4
	.type	stts751_update_temp, @function
stts751_update_temp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 8[rdi]
	mov	esi, DWORD PTR STTS751_REG_TEMP_H[rip]
	call	i2c_smbus_read_byte_data@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	r12d, eax
	test	eax, eax
	js	.L9
	mov	esi, DWORD PTR STTS751_REG_TEMP_L[rip]
	call	i2c_smbus_read_byte_data@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	ebp, eax
	test	eax, eax
	js	.L10
	mov	esi, DWORD PTR STTS751_REG_TEMP_H[rip]
	call	i2c_smbus_read_byte_data@PLT
	mov	r13d, eax
	test	eax, eax
	js	.L11
	cmp	r12d, eax
	je	.L6
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR STTS751_REG_TEMP_L[rip]
	call	i2c_smbus_read_byte_data@PLT
	mov	ebp, eax
	test	eax, eax
	js	.L12
.L6:
	mov	edi, r12d
	xor	r12d, r12d
	sal	edi, 8
	or	edi, ebp
	call	stts751_to_deg@PLT
	mov	DWORD PTR [rbx], eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_dbg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	mov	r12d, r13d
	call	dev_dbg@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edx, eax
	lea	rsi, .LC1[rip]
	mov	r12d, ebp
	call	dev_dbg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	r12d, ebp
	call	dev_dbg@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	stts751_update_temp, .-stts751_update_temp
	.comm	STTS751_REG_TEMP_L,4,4
	.comm	STTS751_REG_TEMP_H,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_stts751.c_stts751_update_temp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"I2C read failed (temp H). ret: %x\012\000"
	.align	2
.LC1:
	.ascii	"I2C read failed (temp L). ret: %x\012\000"
	.align	2
.LC2:
	.ascii	"I2C 2nd read failed (temp H). ret: %x\012\000"
	.align	2
.LC3:
	.ascii	"I2C 2nd read failed (temp L). ret: %x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stts751_update_temp, %function
stts751_update_temp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L13
	mov	r5, r0
	ldr	r1, [r7]
	ldr	r0, [r0, #4]
	bl	i2c_smbus_read_byte_data
	subs	r4, r0, #0
	blt	.L9
	ldr	r8, .L13+4
	ldr	r0, [r5, #4]
	ldr	r1, [r8]
	bl	i2c_smbus_read_byte_data
	subs	r6, r0, #0
	blt	.L10
	ldr	r1, [r7]
	ldr	r0, [r5, #4]
	bl	i2c_smbus_read_byte_data
	subs	r2, r0, #0
	blt	.L11
	cmp	r4, r2
	beq	.L6
	ldr	r1, [r8]
	ldr	r0, [r5, #4]
	bl	i2c_smbus_read_byte_data
	subs	r6, r0, #0
	blt	.L12
.L6:
	orr	r0, r6, r4, lsl #8
	bl	stts751_to_deg
	mov	r4, #0
	str	r0, [r5]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r2, r4
	ldr	r0, [r5, #4]
	ldr	r1, .L13+8
	bl	dev_dbg
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, [r5, #4]
	ldr	r1, .L13+12
	mov	r4, r2
	bl	dev_dbg
	b	.L1
.L10:
	mov	r4, r6
	mov	r2, r6
	ldr	r0, [r5, #4]
	ldr	r1, .L13+16
	bl	dev_dbg
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r2, r6
	ldr	r0, [r5, #4]
	ldr	r1, .L13+20
	mov	r4, r6
	bl	dev_dbg
	b	.L1
.L14:
	.align	2
.L13:
	.word	STTS751_REG_TEMP_H
	.word	STTS751_REG_TEMP_L
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	stts751_update_temp, .-stts751_update_temp
	.comm	STTS751_REG_TEMP_L,4,4
	.comm	STTS751_REG_TEMP_H,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
