	.file	"extr_sdhci.c_sdhci_read_rsp_136.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sdhci_read_rsp_136, @function
sdhci_read_rsp_136:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, 12
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	xor	ebx, ebx
.L2:
	mov	r14, QWORD PTR [r12]
	mov	esi, r13d
	mov	rdi, rbp
	sub	esi, ebx
	add	esi, DWORD PTR SDHCI_RESPONSE[rip]
	call	sdhci_readl@PLT
	add	r14, rbx
	add	rbx, 4
	mov	DWORD PTR [r14], eax
	cmp	rbx, 16
	jne	.L2
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR SDHCI_QUIRK2_RSP_136_HAS_CRC[rip], eax
	jne	.L1
	mov	rax, QWORD PTR [r12]
	mov	edx, DWORD PTR [rax]
	lea	rsi, 12[rax]
	sal	edx, 8
	mov	DWORD PTR [rax], edx
.L4:
	movsx	ecx, BYTE PTR 7[rax]
	add	rax, 4
	or	edx, ecx
	mov	DWORD PTR -4[rax], edx
	mov	edx, DWORD PTR [rax]
	sal	edx, 8
	mov	DWORD PTR [rax], edx
	cmp	rax, rsi
	jne	.L4
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sdhci_read_rsp_136, .-sdhci_read_rsp_136
	.comm	SDHCI_RESPONSE,4,4
	.comm	SDHCI_QUIRK2_RSP_136_HAS_CRC,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_sdhci.c_sdhci_read_rsp_136.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdhci_read_rsp_136, %function
sdhci_read_rsp_136:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r7, r1
	mov	r4, #12
	ldr	r8, .L12
.L2:
	ldr	r1, [r8]
	mov	r0, r5
	add	r1, r4, r1
	ldr	r6, [r7]
	bl	sdhci_readl
	rsb	r3, r4, #12
	sub	r4, r4, #4
	cmn	r4, #4
	str	r0, [r6, r3]
	bne	.L2
	ldr	r3, .L12+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	popne	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r7]
	mov	r0, r3
	ldr	r2, [r3]
	lsl	r2, r2, #8
	str	r2, [r0], #12
.L4:
	ldrsb	r1, [r3, #7]
	orr	r2, r1, r2
	str	r2, [r3]
	ldr	r2, [r3, #4]!
	lsl	r2, r2, #8
	cmp	r3, r0
	str	r2, [r3]
	bne	.L4
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	SDHCI_RESPONSE
	.word	SDHCI_QUIRK2_RSP_136_HAS_CRC
	.size	sdhci_read_rsp_136, .-sdhci_read_rsp_136
	.comm	SDHCI_RESPONSE,4,4
	.comm	SDHCI_QUIRK2_RSP_136_HAS_CRC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
