	.file	"extr_inode.c_udf_update_extents.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	udf_update_extents, @function
udf_update_extents:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	edx, ecx
	jle	.L2
	sub	r15d, ecx
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR [r12]
	mov	rdi, rbp
	add	ebx, 1
	call	udf_delete_aext@PLT
	cmp	ebx, r15d
	jne	.L3
.L6:
	xor	r15d, r15d
.L8:
	cmp	r15d, r13d
	jge	.L1
	sub	r13d, 1
	movsx	rax, r15d
	sub	r13d, r15d
	lea	rbx, 4[r14+rax*8]
	add	r13, rax
	lea	r15, 12[r14+r13*8]
	lea	r14, 20[rsp]
	lea	r13, 16[rsp]
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r8d, r8d
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	udf_next_aext@PLT
	mov	ecx, DWORD PTR -4[rbx]
	mov	rdx, rbx
	mov	rsi, r12
	mov	r8d, 1
	mov	rdi, rbp
	add	rbx, 8
	call	udf_write_aext@PLT
	cmp	rbx, r15
	jne	.L9
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	jge	.L6
	mov	eax, ecx
	mov	rbx, rsi
	sub	eax, edx
	mov	r15d, eax
	lea	eax, -1[rax]
	lea	rax, 8[rsi+rax*8]
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edx, DWORD PTR 4[rbx]
	mov	ecx, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR [r12]
	call	udf_insert_aext@PLT
	lea	rdx, 4[rbx]
	mov	rcx, rbx
	mov	rsi, r12
	mov	r8d, 1
	mov	rdi, rbp
	add	rbx, 8
	call	udf_next_aext@PLT
	cmp	rbx, QWORD PTR 8[rsp]
	jne	.L7
	jmp	.L8
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	udf_update_extents, .-udf_update_extents
	.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_inode.c_udf_update_extents.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	udf_update_extents, %function
udf_update_extents:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	cmp	r2, r3
	mov	r8, r3
	ldr	r3, .L17
	sub	sp, sp, #28
	mov	r6, r0
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r7, [sp, #64]
	ble	.L2
	mov	r9, #0
	sub	r5, r2, r8
.L3:
	mov	r0, r6
	ldr	r1, [r7]
	add	r9, r9, #1
	bl	udf_delete_aext
	cmp	r9, r5
	bne	.L3
.L6:
	mov	r5, #0
.L8:
	cmp	r5, r8
	addlt	r4, r4, r5, lsl #3
	movlt	r10, #0
	movlt	r9, #1
	addlt	r4, r4, #4
	bge	.L1
.L9:
	mov	r1, r7
	add	r3, sp, #16
	add	r2, sp, #12
	mov	r0, r6
	str	r10, [sp]
	bl	udf_next_aext
	add	r5, r5, #1
	ldr	r3, [r4, #-4]
	mov	r2, r4
	mov	r1, r7
	mov	r0, r6
	str	r9, [sp]
	bl	udf_write_aext
	cmp	r8, r5
	add	r4, r4, #8
	bne	.L9
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	bge	.L6
	mov	r9, r1
	sub	r5, r8, r2
	add	fp, r1, r5, lsl #3
.L7:
	mov	r10, r9
	ldr	r3, [r9]
	ldr	r2, [r10, #4]!
	ldr	r1, [r7]
	mov	r0, r6
	bl	udf_insert_aext
	mov	r3, #1
	mov	r2, r10
	str	r3, [sp]
	mov	r1, r7
	mov	r3, r9
	mov	r0, r6
	add	r9, r9, #8
	bl	udf_next_aext
	cmp	r9, fp
	bne	.L7
	b	.L8
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.size	udf_update_extents, .-udf_update_extents
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
