	.file	"extr_i2c-stub.c_stub_xfer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"smbus quick - addr 0x%02x\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"smbus byte - addr 0x%02x, wrote 0x%02x.\n"
	.align 8
.LC2:
	.string	"smbus byte - addr 0x%02x, read  0x%02x.\n"
	.align 8
.LC3:
	.string	"smbus byte data - addr 0x%02x, wrote 0x%02x at 0x%02x.\n"
	.section	.rodata.str1.1
.LC4:
	.string	"switching to bank %u.\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"smbus byte data - addr 0x%02x, read  0x%02x at 0x%02x.\n"
	.align 8
.LC6:
	.string	"smbus word data - addr 0x%02x, wrote 0x%04x at 0x%02x.\n"
	.align 8
.LC7:
	.string	"smbus word data - addr 0x%02x, read  0x%04x at 0x%02x.\n"
	.align 8
.LC8:
	.string	"i2c block data - addr 0x%02x, read  %d bytes at 0x%02x.\n"
	.align 8
.LC9:
	.string	"i2c block data - addr 0x%02x, wrote %d bytes at 0x%02x.\n"
	.align 8
.LC10:
	.string	"smbus block data - addr 0x%02x, wrote %d bytes at 0x%02x.\n"
	.align 8
.LC11:
	.string	"SMBus block read command without prior block write not supported\n"
	.align 8
.LC12:
	.string	"smbus block data - addr 0x%02x, read  %d bytes at 0x%02x.\n"
	.align 8
.LC13:
	.string	"Unsupported I2C/SMBus command\n"
	.text
	.p2align 4
	.type	stub_xfer, @function
stub_xfer:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR stub_chips_nr[rip]
	test	eax, eax
	jle	.L52
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	lea	esi, -1[rax]
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rcx, QWORD PTR chip_addr[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdx, 1[rax]
	cmp	rax, rsi
	je	.L2
	mov	rax, rdx
.L5:
	cmp	QWORD PTR [rcx+rax*8], r12
	jne	.L3
	lea	rax, [rax+rax*2]
	sal	rax, 4
	add	rax, QWORD PTR stub_chips[rip]
	mov	r14, rax
	je	.L2
	add	r9d, -128
	cmp	r9d, 5
	ja	.L7
	lea	rdx, .L9[rip]
	movsx	rax, DWORD PTR [rdx+r9*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L9:
	.long	.L14-.L9
	.long	.L13-.L9
	.long	.L12-.L9
	.long	.L11-.L9
	.long	.L10-.L9
	.long	.L8-.L9
	.text
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	BYTE PTR I2C_SMBUS_WRITE[rip], bl
	je	.L56
	mov	rsi, QWORD PTR [r14]
	mov	rdi, r14
	lea	rax, 1[rsi]
	mov	QWORD PTR [r14], rax
	call	stub_get_wordp@PLT
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	movzx	ecx, BYTE PTR [rax]
	mov	rax, QWORD PTR 64[rsp]
	mov	QWORD PTR [rax], rcx
	xor	eax, eax
	call	dev_dbg@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	ecx, ecx
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	call	stub_find_block@PLT
	cmp	BYTE PTR I2C_SMBUS_WRITE[rip], bl
	je	.L57
	test	rax, rax
	je	.L58
	mov	rbx, QWORD PTR 64[rsp]
	mov	r9d, DWORD PTR [rax]
	mov	rcx, QWORD PTR [rbx]
	mov	DWORD PTR [rcx], r9d
	test	r9d, r9d
	jle	.L38
	mov	rdi, QWORD PTR 8[rax]
	lea	esi, -1[r9]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L37:
	mov	edx, DWORD PTR [rdi+rax*4]
	mov	DWORD PTR 4[rcx+rax*4], edx
	mov	rdx, rax
	add	rax, 1
	cmp	rsi, rdx
	jne	.L37
.L38:
	mov	r8, r13
	mov	ecx, r9d
	mov	rdx, r12
	mov	rdi, rbp
	lea	rsi, .LC12[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rsi, r13
	mov	rdi, r14
	call	stub_get_wordp@PLT
	cmp	BYTE PTR I2C_SMBUS_WRITE[rip], bl
	je	.L59
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR 64[rsp]
	mov	r8, r13
	mov	rdx, r12
	lea	rsi, .LC7[rip]
	mov	rdi, rbp
	mov	QWORD PTR [rax], rcx
	xor	eax, eax
	call	dev_dbg@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR 64[rsp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, 256
	sub	rax, r13
	movsx	rdx, DWORD PTR [rcx]
	mov	r9, rdx
	cmp	rdx, rax
	jbe	.L19
	mov	r9d, 256
	sub	r9d, r13d
	mov	DWORD PTR [rcx], r9d
.L19:
	cmp	BYTE PTR I2C_SMBUS_WRITE[rip], bl
	je	.L20
	test	r9d, r9d
	jle	.L26
	mov	rax, QWORD PTR 32[r14]
	lea	edi, -1[r9]
	lea	rsi, [rax+r13*4]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L25:
	movzx	edx, BYTE PTR [rsi+rax*4]
	mov	DWORD PTR 4[rcx+rax*4], edx
	mov	rdx, rax
	add	rax, 1
	cmp	rdi, rdx
	jne	.L25
.L26:
	mov	r8, r13
	mov	ecx, r9d
	mov	rdx, r12
	mov	rdi, rbp
	lea	rsi, .LC8[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rsi, r13
	mov	rdi, r14
	call	stub_get_wordp@PLT
	cmp	BYTE PTR I2C_SMBUS_WRITE[rip], bl
	je	.L60
	movzx	ecx, BYTE PTR [rax]
	mov	rax, QWORD PTR 64[rsp]
	mov	r8, r13
	mov	rdx, r12
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	mov	QWORD PTR [rax], rcx
	xor	eax, eax
	call	dev_dbg@PLT
.L17:
	add	r13, 1
	xor	eax, eax
	mov	QWORD PTR [r14], r13
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdx, r12
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC13[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L56:
	.cfi_restore_state
	mov	QWORD PTR [r14], r13
	mov	rcx, r13
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	dev_dbg@PLT
	xor	eax, eax
	jmp	.L1
.L60:
	mov	rdx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 64[rsp]
	mov	r8, r13
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	and	edx, 65280
	mov	QWORD PTR [rax], rdx
	or	rdx, QWORD PTR [rbx]
	mov	QWORD PTR [rax], rdx
	mov	rcx, QWORD PTR [rbx]
	mov	rdx, r12
	xor	eax, eax
	call	dev_dbg@PLT
	mov	eax, DWORD PTR 40[r14]
	test	eax, eax
	je	.L17
	cmp	QWORD PTR 8[r14], r13
	jne	.L17
	mov	rax, QWORD PTR 64[rsp]
	mov	ecx, DWORD PTR 20[r14]
	mov	rdi, rbp
	lea	rsi, .LC4[rip]
	mov	edx, DWORD PTR 24[r14]
	mov	rax, QWORD PTR [rax]
	sar	rax, cl
	and	edx, eax
	xor	eax, eax
	mov	DWORD PTR 16[r14], edx
	call	dev_dbg@PLT
	jmp	.L17
.L20:
	test	r9d, r9d
	jle	.L24
	mov	rsi, QWORD PTR 32[r14]
	lea	eax, -1[r9]
	add	rcx, 4
	add	rax, r13
	lea	rdx, [rsi+r13*4]
	lea	rsi, 4[rsi+rax*4]
	.p2align 4,,10
	.p2align 3
.L23:
	mov	eax, DWORD PTR [rdx]
	add	rdx, 4
	add	rcx, 4
	and	eax, 65280
	mov	DWORD PTR -4[rdx], eax
	or	eax, DWORD PTR -4[rcx]
	mov	DWORD PTR -4[rdx], eax
	cmp	rsi, rdx
	jne	.L23
.L24:
	mov	r8, r13
	mov	ecx, r9d
	mov	rdx, r12
	mov	rdi, rbp
	lea	rsi, .LC9[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	xor	eax, eax
	jmp	.L1
.L59:
	mov	rbx, QWORD PTR 64[rsp]
	mov	r8, r13
	mov	rdx, r12
	mov	rdi, rbp
	lea	rsi, .LC6[rip]
	mov	rcx, QWORD PTR [rbx]
	mov	QWORD PTR [rax], rcx
	xor	eax, eax
	call	dev_dbg@PLT
	xor	eax, eax
	jmp	.L1
.L57:
	mov	rbx, QWORD PTR 64[rsp]
	mov	rdx, QWORD PTR [rbx]
	mov	r15d, DWORD PTR [rdx]
	test	r15d, r15d
	je	.L28
	cmp	DWORD PTR I2C_SMBUS_BLOCK_MAX[rip], r15d
	jl	.L28
	test	rax, rax
	je	.L61
.L30:
	cmp	DWORD PTR [rax], r15d
	jge	.L31
	mov	DWORD PTR [rax], r15d
.L31:
	mov	rdi, QWORD PTR 8[rax]
	test	r15d, r15d
	jle	.L34
	mov	rbx, QWORD PTR 64[rsp]
	lea	esi, -1[r15]
	mov	edx, 1
	add	rsi, 2
	mov	r8, QWORD PTR [rbx]
.L33:
	mov	ecx, DWORD PTR [r8+rdx*4]
	mov	DWORD PTR -4[rdi+rdx*4], ecx
	add	rdx, 1
	cmp	rsi, rdx
	jne	.L33
.L34:
	mov	edx, DWORD PTR [rdi]
	mov	rcx, QWORD PTR 32[r14]
	mov	r8, r13
	lea	rsi, .LC10[rip]
	mov	rdi, rbp
	sal	edx, 8
	or	edx, DWORD PTR [rax]
	xor	eax, eax
	mov	DWORD PTR [rcx+r13*4], edx
	mov	ecx, r15d
	mov	rdx, r12
	call	dev_dbg@PLT
	xor	eax, eax
	jmp	.L1
.L28:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
.L58:
	lea	rsi, .LC11[rip]
	mov	rdi, rbp
	call	dev_dbg@PLT
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
.L52:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	mov	eax, DWORD PTR ENODEV[rip]
	neg	eax
	ret
.L61:
	.cfi_def_cfa_offset 64
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	mov	ecx, 1
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	call	stub_find_block@PLT
	test	rax, rax
	jne	.L30
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	stub_xfer, .-stub_xfer
	.comm	stub_chips_nr,4,4
	.comm	stub_chips,8,8
	.comm	chip_addr,8,8
	.comm	I2C_SMBUS_WRITE,1,1
	.comm	I2C_SMBUS_BLOCK_MAX,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,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_i2c-stub.c_stub_xfer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"smbus quick - addr 0x%02x\012\000"
	.align	2
.LC1:
	.ascii	"smbus byte - addr 0x%02x, wrote 0x%02x.\012\000"
	.align	2
.LC2:
	.ascii	"smbus byte - addr 0x%02x, read  0x%02x.\012\000"
	.align	2
.LC3:
	.ascii	"smbus byte data - addr 0x%02x, wrote 0x%02x at 0x%0"
	.ascii	"2x.\012\000"
	.align	2
.LC4:
	.ascii	"switching to bank %u.\012\000"
	.align	2
.LC5:
	.ascii	"smbus byte data - addr 0x%02x, read  0x%02x at 0x%0"
	.ascii	"2x.\012\000"
	.align	2
.LC6:
	.ascii	"smbus word data - addr 0x%02x, wrote 0x%04x at 0x%0"
	.ascii	"2x.\012\000"
	.align	2
.LC7:
	.ascii	"smbus word data - addr 0x%02x, read  0x%04x at 0x%0"
	.ascii	"2x.\012\000"
	.align	2
.LC8:
	.ascii	"i2c block data - addr 0x%02x, read  %d bytes at 0x%"
	.ascii	"02x.\012\000"
	.align	2
.LC9:
	.ascii	"i2c block data - addr 0x%02x, wrote %d bytes at 0x%"
	.ascii	"02x.\012\000"
	.align	2
.LC10:
	.ascii	"smbus block data - addr 0x%02x, wrote %d bytes at 0"
	.ascii	"x%02x.\012\000"
	.align	2
.LC11:
	.ascii	"SMBus block read command without prior block write "
	.ascii	"not supported\012\000"
	.align	2
.LC12:
	.ascii	"smbus block data - addr 0x%02x, read  %d bytes at 0"
	.ascii	"x%02x.\012\000"
	.align	2
.LC13:
	.ascii	"Unsupported I2C/SMBus command\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stub_xfer, %function
stub_xfer:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r2, .L62
	mov	r6, r0
	ldr	r0, [r2]
	sub	sp, sp, #8
	cmp	r0, #0
	ldr	r8, [sp, #40]
	ble	.L2
	mov	r7, r3
	ldr	r3, .L62+4
	mov	r5, r1
	ldr	ip, [r3]
	mov	r2, #0
	sub	ip, ip, #4
	b	.L5
.L3:
	add	r2, r2, #1
	cmp	r2, r0
	beq	.L2
.L5:
	ldr	r3, [ip, #4]!
	cmp	r3, r5
	bne	.L3
	ldr	r3, .L62+8
	rsb	r2, r2, r2, lsl #3
	ldr	r9, [r3]
	lsl	r10, r2, #2
	adds	r4, r9, r2, lsl #2
	beq	.L2
	ldr	r3, [sp, #44]
	sub	r3, r3, #128
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L9:
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L8
.L8:
	mov	r3, #0
	mov	r2, r8
	mov	r1, r4
	mov	r0, r6
	bl	stub_find_block
	ldr	r3, .L62+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r7
	beq	.L56
	cmp	r0, #0
	beq	.L57
	ldr	r2, [sp, #48]
	ldr	r3, [r0]
	ldr	r1, [r2]
	cmp	r3, #0
	str	r3, [r1]
	ble	.L38
	ldr	r2, [r0, #4]
	sub	r2, r2, #4
	add	ip, r2, r3, lsl #2
.L37:
	ldr	r0, [r2, #4]!
	cmp	ip, r2
	str	r0, [r1, #4]!
	bne	.L37
.L38:
	mov	r2, r5
	mov	r0, r6
	ldr	r1, .L62+16
	str	r8, [sp]
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L14:
	mov	r1, r8
	mov	r0, r4
	bl	stub_get_wordp
	ldr	r3, .L62+12
	mov	r1, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r7
	beq	.L58
	ldr	r3, [r0]
	ldr	r1, [sp, #48]
	mov	r2, r5
	str	r3, [r1]
	mov	r0, r6
	ldr	r1, .L62+20
	str	r8, [sp]
	bl	dev_dbg
	mov	r0, #0
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	mov	r2, r5
	mov	r0, r6
	ldr	r1, .L62+24
	bl	dev_dbg
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	ldr	r3, [sp, #48]
	rsb	r1, r8, #256
	ldr	r2, [r3]
	ldr	r3, [r2]
	cmp	r3, r1
	movhi	r3, r1
	ldr	r1, .L62+12
	strhi	r3, [r2]
	ldrb	r1, [r1]	@ zero_extendqisi2
	cmp	r1, r7
	beq	.L20
	cmp	r3, #0
	ble	.L26
	ldr	r0, [r4, #20]
	sub	r1, r8, #-1073741823
	add	r0, r0, r1, lsl #2
	add	ip, r2, r3, lsl #2
.L25:
	ldr	r1, [r0, #4]!
	and	r1, r1, #255
	str	r1, [r2, #4]!
	cmp	ip, r2
	bne	.L25
.L26:
	mov	r2, r5
	mov	r0, r6
	ldr	r1, .L62+28
	str	r8, [sp]
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L11:
	mov	r1, r8
	mov	r0, r4
	bl	stub_get_wordp
	ldr	r3, .L62+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r7
	beq	.L59
	ldrb	r3, [r0]	@ zero_extendqisi2
	ldr	r1, [sp, #48]
	mov	r2, r5
	str	r3, [r1]
	mov	r0, r6
	ldr	r1, .L62+32
	str	r8, [sp]
	bl	dev_dbg
.L17:
	mov	r0, #0
	add	r8, r8, #1
	str	r8, [r9, r10]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	ldr	r3, .L62+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, r7
	beq	.L60
	ldr	r1, [r9, r10]
	mov	r0, r4
	add	r3, r1, #1
	str	r3, [r9, r10]
	bl	stub_get_wordp
	ldr	r1, [sp, #48]
	ldrb	r3, [r0]	@ zero_extendqisi2
	mov	r2, r5
	str	r3, [r1]
	mov	r0, r6
	ldr	r1, .L62+36
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L2:
	ldr	r3, .L62+40
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L56:
	ldr	r3, [sp, #48]
	ldr	r3, [r3]
	ldr	r7, [r3]
	cmp	r7, #0
	beq	.L28
	ldr	r3, .L62+44
	ldr	r3, [r3]
	cmp	r3, r7
	blt	.L28
	cmp	r0, #0
	beq	.L61
.L30:
	ldr	r3, [r0]
	ldr	lr, [r0, #4]
	cmp	r3, r7
	strlt	r7, [r0]
	cmp	r7, #0
	ble	.L34
	ldr	r3, [sp, #48]
	sub	r2, lr, #4
	ldr	r3, [r3]
	add	ip, r3, r7, lsl #2
.L33:
	ldr	r1, [r3, #4]!
	cmp	ip, r3
	str	r1, [r2, #4]!
	bne	.L33
.L34:
	ldr	r1, [lr]
	ldr	r3, [r0]
	ldr	r2, [r4, #20]
	orr	r3, r3, r1, lsl #8
	str	r3, [r2, r8, lsl #2]
	mov	r0, r6
	mov	r3, r7
	mov	r2, r5
	ldr	r1, .L62+48
	str	r8, [sp]
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L60:
	mov	r3, r8
	mov	r2, r5
	mov	r0, r6
	ldr	r1, .L62+52
	str	r8, [r9, r10]
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L59:
	ldr	r3, [r0]
	ldr	r1, [sp, #48]
	and	r3, r3, #65280
	str	r3, [r0]
	ldr	ip, [r1]
	mov	r2, r5
	orr	r3, ip, r3
	str	r3, [r0]
	ldr	r3, [sp, #48]
	mov	r0, r6
	ldr	r3, [r3]
	ldr	r1, .L62+56
	str	r8, [sp]
	bl	dev_dbg
	ldr	r3, [r4, #24]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [r4, #4]
	cmp	r3, r8
	bne	.L17
	ldr	r3, [sp, #48]
	ldr	r2, [r4, #16]
	ldr	r1, [r3]
	ldr	r3, [r4, #12]
	mov	r0, r6
	and	r2, r2, r1, asr r3
	str	r2, [r4, #8]
	ldr	r1, .L62+60
	bl	dev_dbg
	b	.L17
.L20:
	cmp	r3, #0
	ble	.L24
	ldr	r0, [r4, #20]
	sub	r1, r8, #-1073741823
	add	r0, r0, r1, lsl #2
	add	lr, r2, r3, lsl #2
.L23:
	ldr	r1, [r0, #4]!
	and	r1, r1, #65280
	str	r1, [r0]
	ldr	ip, [r2, #4]!
	orr	r1, ip, r1
	cmp	lr, r2
	str	r1, [r0]
	bne	.L23
.L24:
	mov	r2, r5
	mov	r0, r6
	ldr	r1, .L62+64
	str	r8, [sp]
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L58:
	ldr	r3, [sp, #48]
	mov	r2, r5
	ldr	r3, [r3]
	mov	r0, r6
	str	r3, [r1]
	ldr	r1, .L62+68
	str	r8, [sp]
	bl	dev_dbg
	mov	r0, #0
	b	.L1
.L28:
	ldr	r3, .L62+72
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L57:
	mov	r0, r6
	ldr	r1, .L62+76
	bl	dev_dbg
	ldr	r3, .L62+80
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L61:
	mov	r3, #1
	mov	r2, r8
	mov	r1, r4
	mov	r0, r6
	bl	stub_find_block
	cmp	r0, #0
	bne	.L30
	ldr	r3, .L62+84
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L7:
	mov	r0, r6
	ldr	r1, .L62+88
	bl	dev_dbg
	ldr	r3, .L62+80
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L63:
	.align	2
.L62:
	.word	stub_chips_nr
	.word	chip_addr
	.word	stub_chips
	.word	I2C_SMBUS_WRITE
	.word	.LC12
	.word	.LC7
	.word	.LC0
	.word	.LC8
	.word	.LC5
	.word	.LC2
	.word	ENODEV
	.word	I2C_SMBUS_BLOCK_MAX
	.word	.LC10
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.word	.LC9
	.word	.LC6
	.word	EINVAL
	.word	.LC11
	.word	EOPNOTSUPP
	.word	ENOMEM
	.word	.LC13
	.size	stub_xfer, .-stub_xfer
	.comm	stub_chips_nr,4,4
	.comm	stub_chips,4,4
	.comm	chip_addr,4,4
	.comm	I2C_SMBUS_WRITE,1,1
	.comm	I2C_SMBUS_BLOCK_MAX,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
