	.file	"extr_xhci.c_xhci_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"xhci_init\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"QUIRK: Not clearing Link TRB chain bits.\n"
	.align 8
.LC2:
	.string	"xHCI doesn't need link TRB QUIRK\n"
	.section	.rodata.str1.1
.LC3:
	.string	"Finished xhci_init\n"
	.text
	.p2align 4
	.globl	xhci_init
	.type	xhci_init, @function
xhci_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	hcd_to_xhci@PLT
	lea	rsi, .LC0[rip]
	mov	rbp, rax
	mov	rdi, rax
	call	xhci_dbg@PLT
	lea	rdi, 8[rbp]
	call	spin_lock_init@PLT
	cmp	DWORD PTR 0[rbp], 149
	jne	.L2
	cmp	QWORD PTR link_quirk[rip], 0
	jne	.L10
.L2:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	xhci_dbg@PLT
.L3:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, rbp
	call	xhci_mem_init@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	r12d, eax
	call	xhci_dbg@PLT
	xor	eax, eax
	call	compliance_mode_recovery_timer_quirk_check@PLT
	test	rax, rax
	jne	.L11
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR XHCI_COMP_MODE_QUIRK[rip]
	or	DWORD PTR 4[rbp], eax
	mov	rdi, rbp
	call	compliance_mode_recovery_timer_init@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	xhci_dbg@PLT
	mov	eax, DWORD PTR XHCI_LINK_TRB_QUIRK[rip]
	or	DWORD PTR 4[rbp], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	xhci_init, .-xhci_init
	.comm	link_quirk,8,8
	.comm	XHCI_LINK_TRB_QUIRK,4,4
	.comm	XHCI_COMP_MODE_QUIRK,4,4
	.comm	GFP_KERNEL,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.c_xhci_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"xhci_init\012\000"
	.align	2
.LC1:
	.ascii	"QUIRK: Not clearing Link TRB chain bits.\012\000"
	.align	2
.LC2:
	.ascii	"xHCI doesn't need link TRB QUIRK\012\000"
	.align	2
.LC3:
	.ascii	"Finished xhci_init\012\000"
	.text
	.align	2
	.global	xhci_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	xhci_init, %function
xhci_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	hcd_to_xhci
	mov	r4, r0
	ldr	r1, .L15
	bl	xhci_dbg
	add	r0, r4, #8
	bl	spin_lock_init
	ldr	r3, [r4]
	cmp	r3, #149
	bne	.L2
	ldr	r3, .L15+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
.L2:
	mov	r0, r4
	ldr	r1, .L15+8
	bl	xhci_dbg
.L3:
	ldr	r3, .L15+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	xhci_mem_init
	ldr	r1, .L15+16
	mov	r5, r0
	mov	r0, r4
	bl	xhci_dbg
	bl	compliance_mode_recovery_timer_quirk_check
	cmp	r0, #0
	bne	.L14
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r2, .L15+20
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	mov	r0, r4
	orr	r3, r3, r2
	str	r3, [r4, #4]
	bl	compliance_mode_recovery_timer_init
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r4
	ldr	r1, .L15+24
	bl	xhci_dbg
	ldr	r2, .L15+28
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [r4, #4]
	b	.L3
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	link_quirk
	.word	.LC2
	.word	GFP_KERNEL
	.word	.LC3
	.word	XHCI_COMP_MODE_QUIRK
	.word	.LC1
	.word	XHCI_LINK_TRB_QUIRK
	.size	xhci_init, .-xhci_init
	.comm	link_quirk,4,4
	.comm	XHCI_LINK_TRB_QUIRK,4,4
	.comm	XHCI_COMP_MODE_QUIRK,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
