	.file	"extr_ohci.c_ar_context_link_page.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ar_context_link_page, @function
ar_context_link_page:
.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
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR 16[rdi]
	lea	rdx, 0[rbp+rbp*2]
	mov	rbx, rdi
	mov	edi, -16
	lea	r12, [rax+rdx*8]
	call	cpu_to_le32@PLT
	and	DWORD PTR [r12], eax
	mov	edi, DWORD PTR PAGE_SIZE[rip]
	call	cpu_to_le16@PLT
	mov	QWORD PTR 8[r12], 0
	mov	DWORD PTR 16[r12], eax
	xor	eax, eax
	call	wmb@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edi, 1
	lea	rdx, [rax+rax*2]
	mov	rax, QWORD PTR 16[rbx]
	lea	r12, [rax+rdx*8]
	call	cpu_to_le32@PLT
	or	DWORD PTR [r12], eax
	mov	edi, DWORD PTR 8[rbx]
	mov	QWORD PTR [rbx], rbp
	mov	r12d, DWORD PTR CONTEXT_WAKE[rip]
	call	CONTROL_SET@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	edx, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	esi, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	reg_write@PLT
	.cfi_endproc
.LFE0:
	.size	ar_context_link_page, .-ar_context_link_page
	.comm	PAGE_SIZE,4,4
	.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_ar_context_link_page.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ar_context_link_page, %function
ar_context_link_page:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r7, [r0, #12]
	mvn	r0, #15
	mov	r6, r1
	add	r5, r1, r1, lsl #1
	bl	cpu_to_le32
	add	r8, r7, r5, lsl #2
	lsl	r5, r5, #2
	ldr	r3, [r7, r5]
	ldr	r2, .L4
	and	r3, r3, r0
	str	r3, [r7, r5]
	ldr	r0, [r2]
	bl	cpu_to_le16
	mov	r3, #0
	str	r0, [r8, #8]
	str	r3, [r8, #4]
	bl	wmb
	mov	r0, #1
	ldr	r5, [r4]
	ldr	r7, [r4, #12]
	add	r5, r5, r5, lsl r0
	bl	cpu_to_le32
	mov	r2, r0
	lsl	r5, r5, #2
	ldr	r3, [r7, r5]
	ldr	r0, [r4, #4]
	orr	r3, r3, r2
	str	r3, [r7, r5]
	str	r6, [r4]
	ldr	r4, [r4, #8]
	bl	CONTROL_SET
	ldr	r3, .L4+4
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	reg_write
.L5:
	.align	2
.L4:
	.word	PAGE_SIZE
	.word	CONTEXT_WAKE
	.size	ar_context_link_page, .-ar_context_link_page
	.comm	PAGE_SIZE,4,4
	.comm	CONTEXT_WAKE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
