	.file	"extr_huge.c_huge_ralloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	huge_ralloc
	.type	huge_ralloc, @function
huge_ralloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r9
	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	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	mov	rsi, r13
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	mov	rcx, rbx
	mov	rdx, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR 64[rsp]
	call	huge_ralloc_no_move@PLT
	test	eax, eax
	jne	.L9
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L9:
	.cfi_restore_state
	mov	r9, QWORD PTR 72[rsp]
	mov	r8d, DWORD PTR 64[rsp]
	mov	rsi, r14
	mov	rcx, r15
	mov	rdx, rbx
	mov	rdi, rbp
	call	huge_ralloc_move_helper@PLT
	mov	r14, rax
	test	rax, rax
	je	.L3
	cmp	r13, rbx
	mov	rsi, r12
	mov	rdi, rax
	cmovbe	rbx, r13
	mov	rdx, rbx
	call	memcpy@PLT
	mov	rcx, QWORD PTR 72[rsp]
	mov	rsi, r12
	mov	rdx, r13
	mov	rdi, rbp
	mov	r12, r14
	call	isqalloc@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	xor	r12d, r12d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	huge_ralloc, .-huge_ralloc
	.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_huge.c_huge_ralloc.c"
	.text
	.align	2
	.global	huge_ralloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	huge_ralloc, %function
huge_ralloc:
	@ args = 16, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	ldr	r6, [sp, #40]
	ldr	r9, [sp, #48]
	mov	r4, r2
	mov	r5, r3
	mov	r7, r0
	mov	r8, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r6
	mov	r3, r6
	str	r9, [sp]
	bl	huge_ralloc_no_move
	cmp	r0, #0
	bne	.L9
.L2:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r3, [sp, #52]
	mov	r1, r8
	str	r3, [sp, #4]
	mov	r2, r6
	mov	r0, r7
	ldr	r3, [sp, #44]
	str	r9, [sp]
	bl	huge_ralloc_move_helper
	subs	r8, r0, #0
	moveq	r4, r8
	beq	.L2
	cmp	r5, r6
	movcc	r2, r5
	movcs	r2, r6
	mov	r1, r4
	bl	memcpy
	mov	r1, r4
	mov	r4, r8
	mov	r2, r5
	mov	r0, r7
	ldr	r3, [sp, #52]
	bl	isqalloc
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
	.size	huge_ralloc, .-huge_ralloc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
