	.file	"extr_inftlcore.c_inftl_write_oob.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	inftl_write_oob
	.type	inftl_write_oob, @function
inftl_write_oob:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	r9, rdx
	mov	rbx, rcx
	sub	rsp, 64
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR MTD_OOB_PLACE[rip]
	mov	QWORD PTR 8[rsp], r9
	mov	QWORD PTR 32[rsp], r8
	mov	DWORD PTR 40[rsp], eax
	mov	eax, DWORD PTR [rdi]
	mov	QWORD PTR 24[rsp], 0
	lea	edx, -1[rax]
	neg	eax
	and	edx, esi
	and	esi, eax
	mov	DWORD PTR [rsp], edx
	mov	rdx, rsp
	call	[QWORD PTR 8[rdi]]
	mov	rdx, QWORD PTR 16[rsp]
	mov	QWORD PTR [rbx], rdx
	mov	rbx, QWORD PTR 56[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	inftl_write_oob, .-inftl_write_oob
	.comm	MTD_OOB_PLACE,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_inftlcore.c_inftl_write_oob.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inftl_write_oob
	.syntax unified
	.arm
	.fpu softvfp
	.type	inftl_write_oob, %function
inftl_write_oob:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, #0
	mov	r4, r3
	ldr	ip, [r0]
	sub	sp, sp, #32
	sub	r3, ip, #1
	and	r3, r3, r1
	ldr	r5, .L6
	str	r3, [sp, #4]
	ldr	r3, [sp, #48]
	str	r2, [sp, #8]
	ldr	r2, [r5]
	str	r3, [sp, #20]
	rsb	ip, ip, #0
	ldr	r3, .L6+4
	str	r2, [sp, #24]
	str	r6, [sp, #16]
	add	r2, sp, #4
	ldr	r5, [r0, #4]
	and	r1, r1, ip
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	blx	r5
	ldr	r3, [sp, #12]
	str	r3, [r4]
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	MTD_OOB_PLACE
	.word	.LC0
	.size	inftl_write_oob, .-inftl_write_oob
	.comm	MTD_OOB_PLACE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
