	.file	"extr_ohci.c_context_append.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	context_append, @function
context_append:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	add	ecx, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	sal	ecx, 2
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 16[rdi]
	mov	rdi, rsi
	mov	r13, QWORD PTR 8[rbx]
	add	DWORD PTR 4[rax], ecx
	sub	rdi, QWORD PTR 8[rax]
	add	edi, DWORD PTR [rax]
	or	edi, edx
	call	cpu_to_le32@PLT
	mov	esi, ebp
	mov	rdi, r12
	mov	DWORD PTR 0[r13], eax
	call	find_branch_descriptor@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	r12d, DWORD PTR CONTEXT_WAKE[rip]
	mov	QWORD PTR 8[rbx], rax
	call	CONTROL_SET@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, r12d
	mov	esi, eax
	call	reg_write@PLT
	mov	edi, DWORD PTR [rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	flush_writes@PLT
	.cfi_endproc
.LFE0:
	.size	context_append, .-context_append
	.comm	CONTEXT_WAKE,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_ohci.c_context_append.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	context_append, %function
context_append:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r6, r1
	mov	r4, r0
	ldr	r2, [r0, #12]
	add	r1, r5, r3
	ldr	r3, [r2, #4]
	ldr	r0, [r2, #8]
	add	r3, r3, r1, lsl #2
	ldr	r1, [r2]
	sub	r0, r6, r0
	add	r0, r0, r1
	str	r3, [r2, #4]
	orr	r0, r0, r5
	ldr	r7, [r4, #8]
	bl	cpu_to_le32
	mov	r1, r5
	str	r0, [r7]
	mov	r0, r6
	bl	find_branch_descriptor
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [r4, #8]
	ldr	r5, [r4]
	bl	CONTROL_SET
	ldr	r3, .L4
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r5
	bl	reg_write
	ldr	r0, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	flush_writes
.L5:
	.align	2
.L4:
	.word	CONTEXT_WAKE
	.size	context_append, .-context_append
	.comm	CONTEXT_WAKE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
