	.file	"extr_xhci-ring.c_giveback_first_trb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	giveback_first_trb, @function
giveback_first_trb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	wmb@PLT
	test	ebp, ebp
	je	.L2
	mov	edi, ebp
	call	cpu_to_le32@PLT
	mov	r8d, eax
	mov	rax, QWORD PTR [rbx]
	or	DWORD PTR 12[rax], r8d
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	ecx, r15d
	mov	edx, r14d
	mov	esi, r13d
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	xhci_ring_ep_doorbell@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR TRB_CYCLE[rip]
	not	edi
	call	cpu_to_le32@PLT
	mov	r8d, eax
	mov	rax, QWORD PTR [rbx]
	and	DWORD PTR 12[rax], r8d
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	giveback_first_trb, .-giveback_first_trb
	.comm	TRB_CYCLE,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-ring.c_giveback_first_trb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	giveback_first_trb, %function
giveback_first_trb:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, [sp, #32]
	mov	r4, r0
	mov	r5, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r9, [sp, #36]
	bl	wmb
	cmp	r8, #0
	beq	.L2
	mov	r0, r8
	bl	cpu_to_le32
	ldr	r2, [r9]
	ldr	r3, [r2, #12]
	orr	r3, r3, r0
	str	r3, [r2, #12]
.L3:
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	xhci_ring_ep_doorbell
.L2:
	ldr	r3, .L6
	ldr	r0, [r3]
	mvn	r0, r0
	bl	cpu_to_le32
	ldr	r2, [r9]
	ldr	r3, [r2, #12]
	and	r3, r3, r0
	str	r3, [r2, #12]
	b	.L3
.L7:
	.align	2
.L6:
	.word	TRB_CYCLE
	.size	giveback_first_trb, .-giveback_first_trb
	.comm	TRB_CYCLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
