	.file	"extr_base.c_base_extent_bump_alloc_helper.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	base_extent_bump_alloc_helper, @function
base_extent_bump_alloc_helper:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rsi, QWORD PTR QUANTUM[rip]
	call	ALIGNMENT_CEILING@PLT
	xor	edi, edi
	cmp	rax, r13
	sete	dil
	call	assert@PLT
	mov	rsi, r13
	mov	rdi, rbx
	call	ALIGNMENT_CEILING@PLT
	xor	edi, edi
	cmp	rax, rbx
	sete	dil
	call	assert@PLT
	mov	rdi, rbp
	call	extent_addr_get@PLT
	mov	rsi, r13
	mov	rdi, rax
	call	ALIGNMENT_CEILING@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	extent_addr_get@PLT
	mov	rdi, rbp
	sub	r13, rax
	mov	QWORD PTR [r12], r13
	call	extent_addr_get@PLT
	mov	rdi, rbp
	add	rax, QWORD PTR [r12]
	mov	r13, rax
	call	extent_bsize_get@PLT
	xor	edi, edi
	mov	r8, rax
	mov	rax, QWORD PTR [r12]
	add	rax, rbx
	cmp	r8, rax
	setnb	dil
	call	assert@PLT
	mov	rdi, rbp
	call	extent_sn_get@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	extent_bsize_get@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rdi, rbp
	add	rdx, rbx
	sub	rax, rdx
	mov	r14, rax
	call	extent_addr_get@PLT
	add	rbx, QWORD PTR [r12]
	mov	ecx, r15d
	mov	rdx, r14
	lea	rsi, [rbx+rax]
	mov	rdi, rbp
	call	extent_binit@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
	.cfi_endproc
.LFE0:
	.size	base_extent_bump_alloc_helper, .-base_extent_bump_alloc_helper
	.comm	QUANTUM,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_base.c_base_extent_bump_alloc_helper.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	base_extent_bump_alloc_helper, %function
base_extent_bump_alloc_helper:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r3
	ldr	r3, .L4
	mov	r4, r0
	mov	r6, r1
	mov	r0, r7
	ldr	r1, [r3]
	mov	r5, r2
	bl	ALIGNMENT_CEILING
	sub	r0, r0, r7
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r1, r7
	mov	r0, r5
	bl	ALIGNMENT_CEILING
	sub	r0, r0, r5
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r4
	bl	extent_addr_get
	mov	r1, r7
	bl	ALIGNMENT_CEILING
	mov	r7, r0
	mov	r0, r4
	bl	extent_addr_get
	sub	r7, r7, r0
	str	r7, [r6]
	mov	r0, r4
	bl	extent_addr_get
	mov	r8, r0
	ldr	r3, [r6]
	mov	r0, r4
	add	r8, r8, r3
	bl	extent_bsize_get
	ldr	r3, [r6]
	add	r3, r5, r3
	cmp	r0, r3
	movcc	r0, #0
	movcs	r0, #1
	bl	assert
	mov	r0, r4
	bl	extent_addr_get
	mov	r1, r0
	ldr	r7, [r6]
	mov	r0, r4
	add	r7, r5, r7
	add	r7, r7, r1
	bl	extent_bsize_get
	mov	r2, r0
	ldr	r3, [r6]
	mov	r0, r4
	add	r5, r5, r3
	sub	r5, r2, r5
	bl	extent_sn_get
	mov	r2, r5
	mov	r3, r0
	mov	r1, r7
	mov	r0, r4
	bl	extent_binit
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	QUANTUM
	.size	base_extent_bump_alloc_helper, .-base_extent_bump_alloc_helper
	.comm	QUANTUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
