	.file	"extr_cdv_intel_dp.c_cdv_intel_dp_aux_native_read.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cdv_intel_dp_aux_native_read, @function
cdv_intel_dp_aux_native_read:
.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, rdx
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	ebx, 1[rcx]
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR DP_AUX_NATIVE_READ[rip]
	lea	r13, 16[rsp]
	mov	r12, rsp
	sal	eax, 4
	mov	DWORD PTR [rsp], eax
	mov	eax, esi
	and	esi, 255
	sar	eax, 8
	mov	DWORD PTR 8[rsp], esi
	mov	DWORD PTR 4[rsp], eax
	lea	eax, -1[rcx]
	mov	DWORD PTR 12[rsp], eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	js	.L1
	mov	eax, DWORD PTR 16[rsp]
	sar	eax, 4
	and	eax, DWORD PTR DP_AUX_NATIVE_REPLY_MASK[rip]
	cmp	eax, DWORD PTR DP_AUX_NATIVE_REPLY_ACK[rip]
	je	.L10
	cmp	eax, DWORD PTR DP_AUX_NATIVE_REPLY_DEFER[rip]
	jne	.L5
	mov	edi, 100
	call	udelay@PLT
.L6:
	mov	r8d, ebx
	mov	rcx, r13
	mov	edx, 4
	mov	rsi, r12
	mov	rdi, rbp
	call	cdv_intel_dp_aux_ch@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L2
	mov	r15d, DWORD PTR EPROTO[rip]
	neg	r15d
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 120
	.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
.L10:
	.cfi_restore_state
	sub	r15d, 1
	lea	rsi, 20[rsp]
	mov	rdi, r14
	mov	edx, r15d
	call	memcpy@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r15d, DWORD PTR EIO[rip]
	neg	r15d
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cdv_intel_dp_aux_native_read, .-cdv_intel_dp_aux_native_read
	.comm	EPROTO,4,4
	.comm	EIO,4,4
	.comm	DP_AUX_NATIVE_REPLY_MASK,4,4
	.comm	DP_AUX_NATIVE_REPLY_DEFER,4,4
	.comm	DP_AUX_NATIVE_REPLY_ACK,4,4
	.comm	DP_AUX_NATIVE_READ,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_cdv_intel_dp_aux_native_read.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cdv_intel_dp_aux_native_read, %function
cdv_intel_dp_aux_native_read:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r2
	ldr	r2, .L12
	sub	sp, sp, #112
	ldr	r2, [r2]
	str	r2, [sp, #108]
	mov	r2,#0
	ldr	r2, .L12+4
	asr	ip, r1, #8
	ldr	r2, [r2]
	mov	r5, r0
	and	r1, r1, #255
	sub	r0, r3, #1
	lsl	r2, r2, #4
	ldr	r7, .L12+8
	ldr	r6, .L12+12
	ldr	r8, .L12+16
	str	ip, [sp, #16]
	str	r1, [sp, #20]
	str	r0, [sp, #24]
	add	r4, r3, #1
	str	r2, [sp, #12]
	b	.L6
.L2:
	blt	.L1
	ldr	r1, [sp, #28]
	ldr	r3, [r7]
	ldr	r2, [r6]
	and	r3, r3, r1, asr #4
	cmp	r3, r2
	beq	.L10
	ldr	r2, [r8]
	cmp	r3, r2
	bne	.L5
	mov	r0, #100
	bl	udelay
.L6:
	mov	r2, #4
	mov	r0, r5
	str	r4, [sp]
	add	r3, sp, #28
	add	r1, sp, #12
	bl	cdv_intel_dp_aux_ch
	subs	r10, r0, #0
	bne	.L2
	ldr	r3, .L12+20
	ldr	r0, [r3]
	rsb	r10, r0, #0
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #108]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r10
	add	sp, sp, #112
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	sub	r10, r10, #1
	mov	r0, r9
	mov	r2, r10
	add	r1, sp, #32
	bl	memcpy
	b	.L1
.L5:
	ldr	r3, .L12+24
	ldr	r0, [r3]
	rsb	r10, r0, #0
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	DP_AUX_NATIVE_READ
	.word	DP_AUX_NATIVE_REPLY_MASK
	.word	DP_AUX_NATIVE_REPLY_ACK
	.word	DP_AUX_NATIVE_REPLY_DEFER
	.word	EPROTO
	.word	EIO
	.size	cdv_intel_dp_aux_native_read, .-cdv_intel_dp_aux_native_read
	.comm	EPROTO,4,4
	.comm	EIO,4,4
	.comm	DP_AUX_NATIVE_REPLY_MASK,4,4
	.comm	DP_AUX_NATIVE_REPLY_DEFER,4,4
	.comm	DP_AUX_NATIVE_REPLY_ACK,4,4
	.comm	DP_AUX_NATIVE_READ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
