	.file	"extr_xhci-dbg.c_xhci_print_status.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"not "
.LC1:
	.string	""
.LC2:
	.string	"WARNING: "
.LC3:
	.string	"No "
.LC4:
	.string	"halted"
.LC5:
	.string	"running"
.LC6:
	.string	"USBSTS 0x%x:\n"
.LC7:
	.string	"  Event ring is %sempty\n"
.LC8:
	.string	"  %sHost System Error\n"
.LC9:
	.string	"  HC is %s\n"
	.text
	.p2align 4
	.type	xhci_print_status, @function
xhci_print_status:
.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	rsi, QWORD PTR [rdi]
	call	xhci_readl@PLT
	mov	rdi, rbp
	lea	rsi, .LC6[rip]
	mov	ebx, eax
	mov	edx, eax
	xor	eax, eax
	call	xhci_dbg@PLT
	test	DWORD PTR STS_EINT[rip], ebx
	lea	rax, .LC1[rip]
	lea	rdx, .LC0[rip]
	cmove	rdx, rax
	mov	rdi, rbp
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	xhci_dbg@PLT
	test	DWORD PTR STS_FATAL[rip], ebx
	lea	rax, .LC3[rip]
	lea	rdx, .LC2[rip]
	cmove	rdx, rax
	mov	rdi, rbp
	lea	rsi, .LC8[rip]
	xor	eax, eax
	call	xhci_dbg@PLT
	test	DWORD PTR STS_HALT[rip], ebx
	lea	rax, .LC5[rip]
	lea	rdx, .LC4[rip]
	cmove	rdx, rax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rsi, .LC9[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	xhci_dbg@PLT
	.cfi_endproc
.LFE0:
	.size	xhci_print_status, .-xhci_print_status
	.comm	STS_HALT,4,4
	.comm	STS_FATAL,4,4
	.comm	STS_EINT,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_xhci-dbg.c_xhci_print_status.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"not \000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"WARNING: \000"
	.align	2
.LC3:
	.ascii	"No \000"
	.align	2
.LC4:
	.ascii	"halted\000"
	.align	2
.LC5:
	.ascii	"running\000"
	.align	2
.LC6:
	.ascii	"USBSTS 0x%x:\012\000"
	.align	2
.LC7:
	.ascii	"  Event ring is %sempty\012\000"
	.align	2
.LC8:
	.ascii	"  %sHost System Error\012\000"
	.align	2
.LC9:
	.ascii	"  HC is %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xhci_print_status, %function
xhci_print_status:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r1, [r0]
	mov	r4, r0
	bl	xhci_readl
	mov	r5, r0
	ldr	r1, .L10
	mov	r2, r5
	mov	r0, r4
	bl	xhci_dbg
	ldr	r3, .L10+4
	ldr	r2, .L10+8
	ldr	r1, [r3]
	ldr	r3, .L10+12
	tst	r5, r1
	moveq	r2, r3
	mov	r0, r4
	ldr	r1, .L10+16
	bl	xhci_dbg
	ldr	r3, .L10+20
	ldr	r2, .L10+24
	ldr	r1, [r3]
	ldr	r3, .L10+28
	tst	r5, r1
	moveq	r2, r3
	mov	r0, r4
	ldr	r1, .L10+32
	bl	xhci_dbg
	ldr	r3, .L10+36
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r3, .L10+40
	tst	r5, r1
	ldr	r2, .L10+44
	ldr	r1, .L10+48
	moveq	r2, r3
	pop	{r4, r5, r6, lr}
	b	xhci_dbg
.L11:
	.align	2
.L10:
	.word	.LC6
	.word	STS_EINT
	.word	.LC0
	.word	.LC1
	.word	.LC7
	.word	STS_FATAL
	.word	.LC2
	.word	.LC3
	.word	.LC8
	.word	STS_HALT
	.word	.LC5
	.word	.LC4
	.word	.LC9
	.size	xhci_print_status, .-xhci_print_status
	.comm	STS_HALT,4,4
	.comm	STS_FATAL,4,4
	.comm	STS_EINT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
