	.file	"extr_swap.c_write_page.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	write_page, @function
write_page:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	je	.L13
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdx, rdx
	je	.L4
	mov	edi, DWORD PTR __GFP_WAIT[rip]
	or	edi, DWORD PTR __GFP_HIGH[rip]
	call	__get_free_page@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L5
	mov	edx, DWORD PTR PAGE_SIZE[rip]
	mov	rsi, r13
	mov	rdi, rax
	mov	r13, rbx
	call	memcpy@PLT
.L4:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	mov	rsi, r13
	mov	edi, ebp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	bio_write_page@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR ENOSPC[rip]
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	mov	edi, 1
	xor	r12d, r12d
	call	WARN_ON_ONCE@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	write_page, .-write_page
	.comm	__GFP_WAIT,4,4
	.comm	__GFP_HIGH,4,4
	.comm	PAGE_SIZE,4,4
	.comm	ENOSPC,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_swap.c_write_page.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_page, %function
write_page:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r5, r1, #0
	beq	.L12
	cmp	r2, #0
	mov	r6, r0
	mov	r4, r2
	beq	.L4
	ldr	r2, .L13
	ldr	r3, .L13+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r3
	bl	__get_free_page
	subs	r3, r0, #0
	beq	.L5
	ldr	r2, .L13+8
	mov	r1, r6
	ldr	r2, [r2]
	mov	r6, r3
	bl	memcpy
.L4:
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	bio_write_page
.L12:
	ldr	r3, .L13+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, #1
	mov	r4, r3
	bl	WARN_ON_ONCE
	b	.L4
.L14:
	.align	2
.L13:
	.word	__GFP_WAIT
	.word	__GFP_HIGH
	.word	PAGE_SIZE
	.word	ENOSPC
	.size	write_page, .-write_page
	.comm	__GFP_WAIT,4,4
	.comm	__GFP_HIGH,4,4
	.comm	PAGE_SIZE,4,4
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
