	.file	"70157.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
	.globl	wiringPiI2CRead
	.type	wiringPiI2CRead, @function
wiringPiI2CRead:
.LFB7:
	.cfi_startproc
	endbr64
	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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rdx
	mov	ecx, 1
	mov	edx, 0
	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	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	wiringPiI2CRead, .-wiringPiI2CRead
	.globl	wiringPiI2CReadReg8
	.type	wiringPiI2CReadReg8, @function
wiringPiI2CReadReg8:
.LFB8:
	.cfi_startproc
	endbr64
	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	DWORD PTR -56[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -56[rbp]
	movzx	edx, al
	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	.L10
	mov	eax, -1
	jmp	.L12
.L10:
	movzx	eax, BYTE PTR -48[rbp]
	movzx	eax, al
.L12:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	wiringPiI2CReadReg8, .-wiringPiI2CReadReg8
	.globl	wiringPiI2CReadReg16
	.type	wiringPiI2CReadReg16, @function
wiringPiI2CReadReg16:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -56[rbp]
	movzx	edx, al
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	ecx, 3
	mov	esi, 1
	mov	edi, eax
	call	i2c_smbus_access
	test	eax, eax
	je	.L15
	mov	eax, -1
	jmp	.L17
.L15:
	movzx	eax, WORD PTR -48[rbp]
	movzx	eax, ax
.L17:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	wiringPiI2CReadReg16, .-wiringPiI2CReadReg16
	.globl	wiringPiI2CWrite
	.type	wiringPiI2CWrite, @function
wiringPiI2CWrite:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	movzx	edx, al
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 0
	mov	ecx, 1
	mov	esi, 0
	mov	edi, eax
	call	i2c_smbus_access
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	wiringPiI2CWrite, .-wiringPiI2CWrite
	.globl	wiringPiI2CWriteReg8
	.type	wiringPiI2CWriteReg8, @function
wiringPiI2CWriteReg8:
.LFB11:
	.cfi_startproc
	endbr64
	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	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -60[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -60[rbp]
	mov	BYTE PTR -48[rbp], al
	mov	eax, DWORD PTR -56[rbp]
	movzx	edx, al
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	ecx, 2
	mov	esi, 0
	mov	edi, eax
	call	i2c_smbus_access
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	wiringPiI2CWriteReg8, .-wiringPiI2CWriteReg8
	.globl	wiringPiI2CWriteReg16
	.type	wiringPiI2CWriteReg16, @function
wiringPiI2CWriteReg16:
.LFB12:
	.cfi_startproc
	endbr64
	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	DWORD PTR -56[rbp], esi
	mov	DWORD PTR -60[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -60[rbp]
	mov	WORD PTR -48[rbp], ax
	mov	eax, DWORD PTR -56[rbp]
	movzx	edx, al
	lea	rcx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8, rcx
	mov	ecx, 3
	mov	esi, 0
	mov	edi, eax
	call	i2c_smbus_access
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	wiringPiI2CWriteReg16, .-wiringPiI2CWriteReg16
	.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	"70157.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
	.global	wiringPiI2CRead
	.syntax unified
	.arm
	.fpu softvfp
	.type	wiringPiI2CRead, %function
wiringPiI2CRead:
	@ 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]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #44
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #0
	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	wiringPiI2CRead, .-wiringPiI2CRead
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wiringPiI2CReadReg8
	.syntax unified
	.arm
	.fpu softvfp
	.type	wiringPiI2CReadReg8, %function
wiringPiI2CReadReg8:
	@ 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]
	str	r1, [fp, #-52]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-52]
	and	r2, r3, #255
	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	.L14
	mvn	r3, #0
	b	.L16
.L14:
	ldrb	r3, [fp, #-44]	@ zero_extendqisi2
.L16:
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.size	wiringPiI2CReadReg8, .-wiringPiI2CReadReg8
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wiringPiI2CReadReg16
	.syntax unified
	.arm
	.fpu softvfp
	.type	wiringPiI2CReadReg16, %function
wiringPiI2CReadReg16:
	@ 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]
	str	r1, [fp, #-52]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-52]
	and	r2, r3, #255
	sub	r3, fp, #44
	str	r3, [sp]
	mov	r3, #3
	mov	r1, #1
	ldr	r0, [fp, #-48]
	bl	i2c_smbus_access
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	mvn	r3, #0
	b	.L23
.L21:
	ldrh	r3, [fp, #-44]
.L23:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.size	wiringPiI2CReadReg16, .-wiringPiI2CReadReg16
	.align	2
	.global	wiringPiI2CWrite
	.syntax unified
	.arm
	.fpu softvfp
	.type	wiringPiI2CWrite, %function
wiringPiI2CWrite:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	and	r2, r3, #255
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #1
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	i2c_smbus_access
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	wiringPiI2CWrite, .-wiringPiI2CWrite
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wiringPiI2CWriteReg8
	.syntax unified
	.arm
	.fpu softvfp
	.type	wiringPiI2CWriteReg8, %function
wiringPiI2CWriteReg8:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	and	r3, r3, #255
	strb	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	and	r2, r3, #255
	sub	r3, fp, #44
	str	r3, [sp]
	mov	r3, #2
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	i2c_smbus_access
	mov	r3, r0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.size	wiringPiI2CWriteReg8, .-wiringPiI2CWriteReg8
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wiringPiI2CWriteReg16
	.syntax unified
	.arm
	.fpu softvfp
	.type	wiringPiI2CWriteReg16, %function
wiringPiI2CWriteReg16:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-44]	@ movhi
	ldr	r3, [fp, #-52]
	and	r2, r3, #255
	sub	r3, fp, #44
	str	r3, [sp]
	mov	r3, #3
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	i2c_smbus_access
	mov	r3, r0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC5
	.size	wiringPiI2CWriteReg16, .-wiringPiI2CWriteReg16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
