	.file	"extr_ohci1394.c_ohci_soft_reset.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Soft reset finished"
	.text
	.p2align 4
	.type	ohci_soft_reset, @function
ohci_soft_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR OHCI1394_HCControl_softReset[rip]
	mov	esi, DWORD PTR OHCI1394_HCControlSet[rip]
	call	reg_write@PLT
	mov	eax, DWORD PTR OHCI_LOOP_COUNT[rip]
	test	eax, eax
	jle	.L2
	xor	ebx, ebx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, 1
	add	ebx, 1
	call	mdelay@PLT
	cmp	DWORD PTR OHCI_LOOP_COUNT[rip], ebx
	jle	.L2
.L3:
	mov	esi, DWORD PTR OHCI1394_HCControlSet[rip]
	mov	rdi, rbp
	call	reg_read@PLT
	test	DWORD PTR OHCI1394_HCControl_softReset[rip], eax
	jne	.L10
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	DBGMSG@PLT
	.cfi_endproc
.LFE0:
	.size	ohci_soft_reset, .-ohci_soft_reset
	.comm	OHCI_LOOP_COUNT,4,4
	.comm	OHCI1394_HCControl_softReset,4,4
	.comm	OHCI1394_HCControlSet,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_ohci1394.c_ohci_soft_reset.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Soft reset finished\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ohci_soft_reset, %function
ohci_soft_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, .L11
	ldr	r7, .L11+4
	ldr	r8, .L11+8
	ldr	r2, [r6]
	ldr	r1, [r7]
	mov	r5, r0
	bl	reg_write
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
	b	.L3
.L10:
	mov	r0, #1
	bl	mdelay
	ldr	r3, [r8]
	cmp	r3, r4
	ble	.L2
.L3:
	mov	r0, r5
	ldr	r1, [r7]
	bl	reg_read
	ldr	r3, [r6]
	add	r4, r4, #1
	tst	r0, r3
	bne	.L10
.L2:
	ldr	r0, .L11+12
	pop	{r4, r5, r6, r7, r8, lr}
	b	DBGMSG
.L12:
	.align	2
.L11:
	.word	OHCI1394_HCControl_softReset
	.word	OHCI1394_HCControlSet
	.word	OHCI_LOOP_COUNT
	.word	.LC0
	.size	ohci_soft_reset, .-ohci_soft_reset
	.comm	OHCI_LOOP_COUNT,4,4
	.comm	OHCI1394_HCControl_softReset,4,4
	.comm	OHCI1394_HCControlSet,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
