	.file	"263007.c"
	.intel_syntax noprefix
	.text
	.globl	tce_sort_4kg__
	.type	tce_sort_4kg__, @function
tce_sort_4kg__:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	QWORD PTR -168[rbp], rdi
	mov	QWORD PTR -176[rbp], rsi
	mov	QWORD PTR -184[rbp], rdx
	mov	QWORD PTR -192[rbp], rcx
	mov	QWORD PTR -200[rbp], r8
	mov	QWORD PTR -208[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -216[rbp], rax
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR -224[rbp], rax
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR -232[rbp], rax
	mov	rax, QWORD PTR 40[rbp]
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR 48[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -152[rbp], 0
	mov	DWORD PTR -148[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -128[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -124[rbp], eax
	mov	rax, QWORD PTR -200[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -120[rbp], eax
	mov	rax, QWORD PTR -208[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -80[rbp], 1
	mov	DWORD PTR -152[rbp], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -152[rbp]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR -152[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -128[rbp+rax*4]
	imul	edx, eax
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	add	DWORD PTR -152[rbp], 1
.L2:
	cmp	DWORD PTR -152[rbp], 3
	jle	.L3
	mov	rax, QWORD PTR -216[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -96[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -88[rbp], eax
	mov	rax, QWORD PTR -240[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -152[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -128[rbp+rax*4]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], edx
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	sub	eax, 1
	cdqe
	mov	edx, DWORD PTR -80[rbp+rax*4]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	mov	rdx, QWORD PTR -168[rbp]
	mov	QWORD PTR -48[rbp+rax*8], rdx
	add	DWORD PTR -152[rbp], 1
.L4:
	cmp	DWORD PTR -152[rbp], 3
	jle	.L5
	mov	DWORD PTR -152[rbp], 0
	jmp	.L6
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -148[rbp], 0
	jmp	.L7
.L12:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -144[rbp], 0
	jmp	.L8
.L11:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -140[rbp], 0
	jmp	.L9
.L10:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -136[rbp]
	lea	rcx, 8[rax]
	mov	QWORD PTR -136[rbp], rcx
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	add	DWORD PTR -140[rbp], 1
.L9:
	mov	eax, DWORD PTR -112[rbp]
	cmp	DWORD PTR -140[rbp], eax
	jl	.L10
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	add	DWORD PTR -144[rbp], 1
.L8:
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L11
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	add	DWORD PTR -148[rbp], 1
.L7:
	mov	eax, DWORD PTR -104[rbp]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L12
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -152[rbp], 1
.L6:
	mov	eax, DWORD PTR -100[rbp]
	cmp	DWORD PTR -152[rbp], eax
	jl	.L13
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	tce_sort_4kg__, .-tce_sort_4kg__
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"263007.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tce_sort_4kg__
	.syntax unified
	.arm
	.fpu softvfp
	.type	tce_sort_4kg__, %function
tce_sort_4kg__:
	@ args = 28, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	str	r3, [fp, #-140]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-144]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-148]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-152]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-156]
	ldr	r3, [fp, #20]
	str	r3, [fp, #-160]
	ldr	r3, [fp, #24]
	str	r3, [fp, #-164]
	ldr	r3, [fp, #28]
	str	r3, [fp, #-168]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-124]
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-132]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-140]
	ldr	r3, [r3]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-144]
	ldr	r3, [r3]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-148]
	ldr	r3, [r3]
	str	r3, [fp, #-92]
	mov	r3, #1
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-124]
	b	.L2
.L3:
	ldr	r3, [fp, #-124]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-52]
	ldr	r3, [fp, #-124]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-100]
	mul	r2, r3, r2
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-52]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L2:
	ldr	r3, [fp, #-124]
	cmp	r3, #3
	ble	.L3
	ldr	r3, [fp, #-152]
	ldr	r3, [r3]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-156]
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3]
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L4
.L5:
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-100]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-52]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-36]
	ldr	r3, [fp, #-124]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-128]
	str	r2, [r3, #-20]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L4:
	ldr	r3, [fp, #-124]
	cmp	r3, #3
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L6
.L13:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L7
.L12:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L8
.L11:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L9
.L10:
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-108]
	add	r2, r1, #8
	str	r2, [fp, #-108]
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L9:
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-112]
	cmp	r2, r3
	blt	.L10
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L8:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L11
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L7:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L12
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L6:
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	blt	.L13
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	tce_sort_4kg__, .-tce_sort_4kg__
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
