	.file	"extr_ehci-dbgp.c_dbgp_get_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dbgp_get_data, @function
dbgp_get_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR ehci_debug[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	lea	rdi, 4[rax]
	mov	ebx, esi
	call	readl@PLT
	mov	rdi, QWORD PTR ehci_debug[rip]
	mov	r12d, eax
	call	readl@PLT
	test	ebx, ebx
	jle	.L1
	mov	edx, 1
	.p2align 4,,10
	.p2align 3
.L3:
	lea	ecx, -8[0+rdx*8]
	mov	esi, r12d
	sar	esi, cl
	mov	ecx, edx
	mov	BYTE PTR -1[rbp+rdx], sil
	add	rdx, 1
	cmp	ecx, 3
	jg	.L7
	cmp	ebx, ecx
	jg	.L3
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	cmp	ebx, ecx
	jle	.L1
	lea	edx, 1[rcx]
	lea	ecx, -32[0+rcx*8]
	movsx	rdx, edx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, eax
	sar	edi, cl
	add	ecx, 8
	mov	BYTE PTR -1[rbp+rdx], dil
	mov	edi, edx
	add	rdx, 1
	cmp	edi, 7
	jg	.L1
	cmp	ebx, edi
	jg	.L5
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dbgp_get_data, .-dbgp_get_data
	.comm	ehci_debug,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_ehci-dbgp.c_dbgp_get_data.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dbgp_get_data, %function
dbgp_get_data:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L9
	mov	r4, r0
	ldr	r0, [r7]
	mov	r5, r1
	add	r0, r0, #4
	bl	readl
	mov	r6, r0
	ldr	r0, [r7]
	bl	readl
	cmp	r5, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r3, #0
	sub	r1, r4, #1
.L3:
	lsl	r2, r3, #3
	mov	ip, r3
	add	r3, r3, #1
	cmp	r3, #3
	movle	lr, #1
	movgt	lr, #0
	cmp	r5, r3
	movle	lr, #0
	asr	r2, r6, r2
	cmp	lr, #0
	strb	r2, [r1, #1]!
	bne	.L3
	cmp	r5, r3
	pople	{r4, r5, r6, r7, r8, pc}
	sub	r2, ip, #3
	lsl	r2, r2, #3
	add	ip, r4, ip
.L4:
	add	r3, r3, #1
	cmp	r3, #7
	movle	lr, #1
	movgt	lr, #0
	cmp	r5, r3
	movle	lr, #0
	asr	r1, r0, r2
	cmp	lr, #0
	strb	r1, [ip, #1]!
	add	r2, r2, #8
	bne	.L4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	ehci_debug
	.size	dbgp_get_data, .-dbgp_get_data
	.comm	ehci_debug,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
