	.file	"extr_via_i2c.c_viafb_i2c_writebyte.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	viafb_i2c_writebyte
	.type	viafb_i2c_writebyte, @function
viafb_i2c_writebyte:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 56
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	eax, edi
	mov	DWORD PTR 32[rsp], esi
	mov	rsi, rsp
	shr	eax, 31
	mov	DWORD PTR 36[rsp], edx
	mov	edx, 1
	add	eax, edi
	mov	DWORD PTR 4[rsp], 2
	mov	QWORD PTR 16[rsp], 0
	sar	eax
	mov	DWORD PTR [rsp], eax
	lea	rax, 32[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR viaparinfo[rip]
	mov	rdi, QWORD PTR [rax]
	call	i2c_transfer@PLT
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	viafb_i2c_writebyte, .-viafb_i2c_writebyte
	.comm	viaparinfo,8,8
	.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_via_i2c.c_viafb_i2c_writebyte.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	viafb_i2c_writebyte
	.syntax unified
	.arm
	.fpu softvfp
	.type	viafb_i2c_writebyte, %function
viafb_i2c_writebyte:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r2
	mov	lr, #0
	mov	ip, #2
	ldr	r3, .L6
	sub	sp, sp, #36
	ldr	r2, [r3]
	add	r0, r0, r0, lsr #31
	asr	r3, r0, #1
	ldr	r0, [r2]
	str	r4, [sp, #24]
	ldr	r4, .L6+4
	str	r3, [sp, #4]
	str	r1, [sp, #20]
	add	r3, sp, #20
	mov	r2, #1
	add	r1, sp, #4
	ldr	r4, [r4]
	str	r4, [sp, #28]
	mov	r4,#0
	str	r3, [sp, #12]
	str	lr, [sp, #16]
	str	ip, [sp, #8]
	bl	i2c_transfer
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	viaparinfo
	.word	.LC0
	.size	viafb_i2c_writebyte, .-viafb_i2c_writebyte
	.comm	viaparinfo,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
