	.file	"extr_file.c_coda_file_mmap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	coda_file_mmap, @function
coda_file_mmap:
.LFB0:
	.cfi_startproc
	endbr64
	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, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	CODA_FTOC@PLT
	mov	edi, 1
	mov	rbx, rax
	test	rax, rax
	je	.L2
	xor	edi, edi
	mov	rax, QWORD PTR CODA_MAGIC[rip]
	cmp	QWORD PTR [rbx], rax
	setne	dil
.L2:
	call	BUG_ON@PLT
	mov	rbp, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR 0[rbp]
	test	rax, rax
	je	.L3
	cmp	QWORD PTR [rax], 0
	je	.L3
	mov	rax, QWORD PTR 16[r13]
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rbp]
	lea	rcx, 8[rdi]
	mov	DWORD PTR 8[r13], eax
	mov	rax, QWORD PTR [rdi]
	mov	rdx, QWORD PTR [rdx]
	cmp	rax, rcx
	je	.L16
	cmp	rax, rdx
	je	.L7
	mov	eax, DWORD PTR EBUSY[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	QWORD PTR [rdi], rdx
.L7:
	call	ITOC@PLT
	mov	rsi, r12
	mov	rdi, rbp
	add	DWORD PTR [rax], 1
	mov	rax, QWORD PTR 0[rbp]
	add	DWORD PTR 8[rbx], 1
	mov	rax, QWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.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	rax
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR ENODEV[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	coda_file_mmap, .-coda_file_mmap
	.comm	ENODEV,4,4
	.comm	EBUSY,4,4
	.comm	CODA_MAGIC,8,8
	.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_file.c_coda_file_mmap.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	coda_file_mmap, %function
coda_file_mmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r6, r0
	bl	CODA_FTOC
	subs	r4, r0, #0
	moveq	r0, #1
	beq	.L2
	ldr	r2, .L14
	ldr	r3, [r4]
	ldr	r0, [r2]
	subs	r0, r3, r0
	movne	r0, #1
.L2:
	bl	BUG_ON
	ldr	r5, [r4, #8]
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r2, [r6, #8]
	ldr	r3, [r5, #8]
	ldr	r0, [r2]
	ldr	ip, [r3]
	mov	r3, r0
	ldr	r2, [r3], #4
	ldr	r1, [r5, #4]
	cmp	r2, r3
	ldr	r3, [ip]
	str	r1, [r6, #4]
	streq	r3, [r0]
	beq	.L7
	cmp	r2, r3
	beq	.L7
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	bl	ITOC
	ldr	r2, [r0]
	ldr	r3, [r4, #4]
	add	r2, r2, #1
	str	r2, [r0]
	ldr	r2, [r5]
	add	r3, r3, #1
	str	r3, [r4, #4]
	mov	r1, r7
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r2]
	bx	r3
.L3:
	ldr	r3, .L14+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	CODA_MAGIC
	.word	EBUSY
	.word	ENODEV
	.size	coda_file_mmap, .-coda_file_mmap
	.comm	ENODEV,4,4
	.comm	EBUSY,4,4
	.comm	CODA_MAGIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
