	.file	"extr_cdv_intel_dp.c_i2c_algo_dp_aux_xfer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dp_aux_xfer return %d\n"
	.text
	.p2align 4
	.type	i2c_algo_dp_aux_xfer, @function
i2c_algo_dp_aux_xfer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	DWORD PTR 28[rsp], edx
	test	edx, edx
	jle	.L9
	mov	eax, edx
	mov	rbp, rsi
	sub	eax, 1
	lea	rax, [rax+rax*2]
	lea	rax, 24[rsi+rax*8]
	mov	QWORD PTR 16[rsp], rax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r12d, DWORD PTR 4[rbp]
	xor	eax, eax
	and	r12d, DWORD PTR I2C_M_RD[rip]
	mov	rdi, r14
	setne	al
	mov	ecx, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR 8[rbp]
	mov	edx, eax
	mov	DWORD PTR 24[rsp], eax
	mov	rbx, QWORD PTR 16[rbp]
	mov	DWORD PTR 12[rsp], ecx
	call	i2c_algo_dp_aux_address@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L10
	test	r12d, r12d
	mov	ecx, DWORD PTR 12[rsp]
	jne	.L3
	test	ecx, ecx
	jle	.L5
	lea	eax, -1[rcx]
	mov	r13, rbx
	lea	rbx, 4[rbx+rax*4]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	add	r13, 4
	cmp	r13, rbx
	je	.L5
.L7:
	mov	esi, DWORD PTR 0[r13]
	mov	rdi, r14
	call	i2c_algo_dp_aux_put_byte@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L18
.L2:
	mov	esi, r12d
	mov	rdi, r14
	call	i2c_algo_dp_aux_stop@PLT
	mov	esi, r15d
	lea	rdi, .LC0[rip]
	call	DRM_DEBUG_KMS@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L5:
	.cfi_restore_state
	add	rbp, 24
	cmp	rbp, QWORD PTR 16[rsp]
	jne	.L8
	mov	r12d, DWORD PTR 24[rsp]
	mov	r15d, DWORD PTR 28[rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	test	ecx, ecx
	jle	.L5
	lea	eax, -1[rcx]
	lea	r12, 4[rbx+rax*4]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L19:
	add	rbx, 4
	cmp	r12, rbx
	je	.L5
.L6:
	mov	rsi, rbx
	mov	rdi, r14
	call	i2c_algo_dp_aux_get_byte@PLT
	mov	r15d, eax
	test	eax, eax
	jns	.L19
	mov	r12d, 1
	jmp	.L2
.L10:
	mov	r12d, DWORD PTR 24[rsp]
	jmp	.L2
.L9:
	mov	r15d, DWORD PTR 28[rsp]
	xor	r12d, r12d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	i2c_algo_dp_aux_xfer, .-i2c_algo_dp_aux_xfer
	.comm	I2C_M_RD,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_cdv_intel_dp.c_i2c_algo_dp_aux_xfer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dp_aux_xfer return %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2c_algo_dp_aux_xfer, %function
i2c_algo_dp_aux_xfer:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r3, r2, #0
	sub	sp, sp, #12
	mov	r6, r0
	str	r3, [sp, #4]
	ble	.L9
	mov	r7, r1
	mov	r9, #0
.L8:
	ldr	r3, .L21
	ldr	r8, [r7, #4]
	ldr	r3, [r3]
	mov	r0, r6
	ands	r8, r8, r3
	movne	r10, #1
	moveq	r10, #0
	ldr	r1, [r7, #8]
	mov	r2, r10
	ldr	r5, [r7]
	ldr	r4, [r7, #12]
	bl	i2c_algo_dp_aux_address
	subs	r3, r0, #0
	blt	.L17
	cmp	r8, #0
	bne	.L3
	cmp	r5, #0
	movgt	fp, r8
	subgt	r4, r4, #4
	bgt	.L7
	b	.L5
.L19:
	cmp	r5, fp
	beq	.L5
.L7:
	mov	r0, r6
	ldr	r1, [r4, #4]!
	bl	i2c_algo_dp_aux_put_byte
	subs	r3, r0, #0
	add	fp, fp, #1
	bge	.L19
.L2:
	mov	r1, r8
	mov	r0, r6
	str	r3, [sp, #4]
	bl	i2c_algo_dp_aux_stop
	ldr	r3, [sp, #4]
	ldr	r0, .L21+4
	mov	r1, r3
	bl	DRM_DEBUG_KMS
	ldr	r3, [sp, #4]
	mov	r0, r3
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r3, [sp, #4]
	add	r9, r9, #1
	cmp	r3, r9
	add	r7, r7, #16
	bne	.L8
.L17:
	mov	r8, r10
	b	.L2
.L3:
	cmp	r5, #0
	ble	.L5
	mov	r8, #0
	b	.L6
.L20:
	cmp	r5, r8
	add	r4, r4, #4
	beq	.L5
.L6:
	mov	r1, r4
	mov	r0, r6
	bl	i2c_algo_dp_aux_get_byte
	subs	r3, r0, #0
	add	r8, r8, #1
	bge	.L20
	mov	r8, #1
	b	.L2
.L9:
	mov	r8, #0
	ldr	r3, [sp, #4]
	b	.L2
.L22:
	.align	2
.L21:
	.word	I2C_M_RD
	.word	.LC0
	.size	i2c_algo_dp_aux_xfer, .-i2c_algo_dp_aux_xfer
	.comm	I2C_M_RD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
