	.file	"114819.c"
	.intel_syntax noprefix
	.text
	.type	i2c_smbus_access, @function
i2c_smbus_access:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	eax, edx
	mov	DWORD PTR -48[rbp], ecx
	mov	QWORD PTR -56[rbp], r8
	mov	edx, esi
	mov	BYTE PTR -40[rbp], dl
	mov	BYTE PTR -44[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR -32[rbp], al
	movzx	eax, BYTE PTR -44[rbp]
	mov	BYTE PTR -31[rbp], al
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 1824
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	i2c_smbus_access, .-i2c_smbus_access
	.type	i2c_smbus_read_byte_data, @function
i2c_smbus_read_byte_data:
.LFB7:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	eax, esi
	mov	BYTE PTR -56[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	edx, BYTE PTR -56[rbp]
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	ecx, 2
	mov	esi, 1
	mov	edi, eax
	call	i2c_smbus_access
	test	eax, eax
	je	.L5
	mov	eax, -1
	jmp	.L7
.L5:
	movzx	eax, BYTE PTR -48[rbp]
	movzx	eax, al
.L7:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	i2c_smbus_read_byte_data, .-i2c_smbus_read_byte_data
	.section	.rodata
.LC1:
	.string	"/dev/i2c-1"
.LC2:
	.string	"Tried to open '%s'"
	.align 8
.LC3:
	.string	"Tried to set device address '0x%02x'"
.LC4:
	.string	"dh: 0x%02x\n"
.LC5:
	.string	"dl: 0x%02x\n"
.LC6:
	.string	"bit_temp: 0x%04x\n"
.LC9:
	.string	"Temp: %.1f[C]\n"
.LC10:
	.string	"WHO I AM: 0x%02x\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	BYTE PTR -28[rbp], 65
	mov	WORD PTR -26[rbp], 0
	mov	WORD PTR -24[rbp], 0
	mov	WORD PTR -22[rbp], -1
	pxor	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	lea	rax, .LC1[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jns	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	edi, eax
	mov	eax, 0
	call	err@PLT
.L10:
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 104
	mov	esi, 1795
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edx, 104
	lea	rsi, .LC3[rip]
	mov	edi, eax
	mov	eax, 0
	call	err@PLT
.L11:
	movzx	edx, BYTE PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	i2c_smbus_read_byte_data
	mov	BYTE PTR -27[rbp], al
	movzx	eax, BYTE PTR -27[rbp]
	sal	eax, 8
	mov	edx, eax
	movzx	eax, WORD PTR -26[rbp]
	or	eax, edx
	mov	WORD PTR -26[rbp], ax
	movzx	eax, BYTE PTR -27[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -28[rbp]
	add	eax, 1
	movzx	edx, al
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	i2c_smbus_read_byte_data
	mov	BYTE PTR -27[rbp], al
	movzx	eax, BYTE PTR -27[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -27[rbp]
	or	WORD PTR -26[rbp], ax
	movzx	eax, WORD PTR -26[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -26[rbp]
	movzx	edx, WORD PTR -24[rbp]
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm2, QWORD PTR .LC7[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC8[rip]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -20[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	mov	BYTE PTR -28[rbp], 117
	movzx	edx, BYTE PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	i2c_smbus_read_byte_data
	mov	BYTE PTR -27[rbp], al
	movzx	eax, BYTE PTR -27[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -28[rbp], 35
	movzx	edx, BYTE PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	i2c_smbus_read_byte_data
	mov	BYTE PTR -27[rbp], al
	movzx	eax, BYTE PTR -27[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.long	-2061584302
	.long	1081400811
	.align 8
.LC8:
	.long	0
	.long	1077215232
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"114819.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_smbus_access, %function
i2c_smbus_access:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r3, [fp, #-32]
	mov	r3, r1
	strb	r3, [fp, #-25]
	mov	r3, r2
	strb	r3, [fp, #-26]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-36]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrb	r3, [fp, #-25]
	strb	r3, [fp, #-20]
	ldrb	r3, [fp, #-26]
	strb	r3, [fp, #-19]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-12]
	sub	r3, fp, #20
	mov	r2, r3
	mov	r1, #1824
	ldr	r0, [fp, #-24]
	bl	ioctl
	mov	r3, r0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	i2c_smbus_access, .-i2c_smbus_access
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_smbus_read_byte_data, %function
i2c_smbus_read_byte_data:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	mov	r3, r1
	strb	r3, [fp, #-49]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldrb	r2, [fp, #-49]	@ zero_extendqisi2
	sub	r3, fp, #44
	str	r3, [sp]
	mov	r3, #2
	mov	r1, #1
	ldr	r0, [fp, #-48]
	bl	i2c_smbus_access
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	mvn	r3, #0
	b	.L9
.L7:
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC1
	.size	i2c_smbus_read_byte_data, .-i2c_smbus_read_byte_data
	.section	.rodata
	.align	2
.LC2:
	.ascii	"/dev/i2c-1\000"
	.align	2
.LC3:
	.ascii	"Tried to open '%s'\000"
	.align	2
.LC4:
	.ascii	"Tried to set device address '0x%02x'\000"
	.align	2
.LC5:
	.ascii	"dh: 0x%02x\012\000"
	.align	2
.LC6:
	.ascii	"dl: 0x%02x\012\000"
	.align	2
.LC7:
	.ascii	"bit_temp: 0x%04x\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.align	2
.LC8:
	.ascii	"Temp: %.1f[C]\012\000"
	.align	2
.LC9:
	.ascii	"WHO I AM: 0x%02x\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, #65
	strb	r3, [fp, #-28]
	mov	r3, #0
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-24]	@ movhi
	mvn	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	ldr	r3, .L17
	str	r3, [fp, #-16]
	mov	r1, #2
	ldr	r0, [fp, #-16]
	bl	open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L14
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L17+4
	mov	r0, r3
	bl	err
.L14:
	mov	r2, #104
	ldr	r1, .L17+8
	ldr	r0, [fp, #-12]
	bl	ioctl
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L15
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #104
	ldr	r1, .L17+12
	mov	r0, r3
	bl	err
.L15:
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	i2c_smbus_read_byte_data
	mov	r3, r0
	strb	r3, [fp, #-27]
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrsh	r3, [fp, #-26]
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L17+16
	bl	printf
	ldrb	r3, [fp, #-28]
	add	r3, r3, #1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	i2c_smbus_read_byte_data
	mov	r3, r0
	strb	r3, [fp, #-27]
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L17+20
	bl	printf
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-26]	@ movhi
	orr	r3, r2, r3
	strh	r3, [fp, #-26]	@ movhi
	ldrh	r3, [fp, #-26]
	mov	r1, r3
	ldr	r0, .L17+24
	bl	printf
	ldrh	r2, [fp, #-26]
	ldrh	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L17+28
	ldr	r3, .L17+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L17+36
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-20]	@ float
	ldr	r0, [fp, #-20]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L17+40
	bl	printf
	mov	r3, #117
	strb	r3, [fp, #-28]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	i2c_smbus_read_byte_data
	mov	r3, r0
	strb	r3, [fp, #-27]
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L17+44
	bl	printf
	mov	r3, #35
	strb	r3, [fp, #-28]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	i2c_smbus_read_byte_data
	mov	r3, r0
	strb	r3, [fp, #-27]
	ldrb	r3, [fp, #-27]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L17+44
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	.LC3
	.word	1795
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	-2061584302
	.word	1081400811
	.word	1077215232
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
