	.file	"7950105.c"
	.intel_syntax noprefix
	.text
	.type	swapfunc, @function
swapfunc:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -48[rbp], rdi
	mov	QWORD PTR -56[rbp], rsi
	mov	DWORD PTR -60[rbp], edx
	mov	DWORD PTR -64[rbp], ecx
	cmp	DWORD PTR -64[rbp], 1
	jg	.L2
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	shr	rax, 3
	mov	QWORD PTR -40[rbp], rax
	mov	r12, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -56[rbp]
.L3:
	mov	r13, QWORD PTR [r12]
	mov	rax, r12
	lea	r12, 8[rax]
	mov	rdx, QWORD PTR [rbx]
	mov	QWORD PTR [rax], rdx
	mov	rax, rbx
	lea	rbx, 8[rax]
	mov	QWORD PTR [rax], r13
	sub	QWORD PTR -40[rbp], 1
	cmp	QWORD PTR -40[rbp], 0
	jg	.L3
	jmp	.L6
.L2:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	QWORD PTR -32[rbp], rax
	mov	r12, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -56[rbp]
.L5:
	movzx	r13d, BYTE PTR [r12]
	mov	rax, r12
	lea	r12, 1[rax]
	movzx	edx, BYTE PTR [rbx]
	mov	BYTE PTR [rax], dl
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], r13b
	sub	QWORD PTR -32[rbp], 1
	cmp	QWORD PTR -32[rbp], 0
	jg	.L5
.L6:
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	swapfunc, .-swapfunc
	.type	med3, @function
med3:
.LFB7:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jns	.L8
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	js	.L9
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jns	.L10
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L18
.L10:
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L18
.L9:
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L18
.L8:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jg	.L14
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	test	eax, eax
	jns	.L15
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L18
.L15:
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L18
.L14:
	mov	rax, QWORD PTR -16[rbp]
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	med3, .-med3
	.globl	qsort
	.type	qsort, @function
qsort:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	QWORD PTR -160[rbp], rcx
.L20:
	mov	rax, QWORD PTR -136[rbp]
	and	eax, 7
	test	rax, rax
	jne	.L21
	mov	rax, QWORD PTR -152[rbp]
	and	eax, 7
	test	rax, rax
	jne	.L21
	cmp	QWORD PTR -152[rbp], 8
	setne	al
	movzx	eax, al
	jmp	.L22
.L21:
	mov	eax, 2
.L22:
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -120[rbp], 0
	cmp	QWORD PTR -144[rbp], 6
	ja	.L23
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	jmp	.L24
.L30:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L25
.L29:
	cmp	DWORD PTR -116[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -152[rbp]
	mov	edi, eax
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, [rdx+rax]
	mov	edx, DWORD PTR -116[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	swapfunc
.L27:
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	add	QWORD PTR -72[rbp], rax
.L25:
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -136[rbp]
	jbe	.L28
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	rdx
	test	eax, eax
	jg	.L29
.L28:
	mov	rax, QWORD PTR -152[rbp]
	add	QWORD PTR -64[rbp], rax
.L24:
	mov	rax, QWORD PTR -144[rbp]
	imul	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	cmp	QWORD PTR -64[rbp], rax
	jb	.L30
	jmp	.L19
.L23:
	mov	rax, QWORD PTR -144[rbp]
	shr	rax
	imul	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -144[rbp], 7
	jbe	.L32
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	sub	rax, 1
	imul	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -144[rbp], 40
	jbe	.L33
	mov	rax, QWORD PTR -144[rbp]
	shr	rax, 3
	mov	edx, eax
	mov	rax, QWORD PTR -152[rbp]
	imul	eax, edx
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	lea	rdi, [rdx+rax]
	mov	eax, DWORD PTR -112[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, [rdx+rax]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	rdx, rdi
	mov	rdi, rax
	call	med3
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -112[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	call	med3
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, [rdx+rax]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, eax
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rdi, [rdx+rax]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	med3
	mov	QWORD PTR -56[rbp], rax
.L33:
	mov	rcx, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	med3
	mov	QWORD PTR -64[rbp], rax
.L32:
	cmp	DWORD PTR -116[rbp], 0
	jne	.L34
	mov	rax, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L35
.L34:
	mov	rax, QWORD PTR -152[rbp]
	mov	edi, eax
	mov	edx, DWORD PTR -116[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	swapfunc
.L35:
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	sub	rax, 1
	imul	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L36
.L41:
	cmp	DWORD PTR -108[rbp], 0
	jne	.L37
	mov	DWORD PTR -120[rbp], 1
	cmp	DWORD PTR -116[rbp], 0
	jne	.L38
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L39
.L38:
	mov	rax, QWORD PTR -152[rbp]
	mov	edi, eax
	mov	edx, DWORD PTR -116[rbp]
	mov	rsi, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	swapfunc
.L39:
	mov	rax, QWORD PTR -152[rbp]
	add	QWORD PTR -104[rbp], rax
.L37:
	mov	rax, QWORD PTR -152[rbp]
	add	QWORD PTR -96[rbp], rax
.L36:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	ja	.L42
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rcx, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	jle	.L41
	jmp	.L42
.L47:
	cmp	DWORD PTR -108[rbp], 0
	jne	.L43
	mov	DWORD PTR -120[rbp], 1
	cmp	DWORD PTR -116[rbp], 0
	jne	.L44
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L45
.L44:
	mov	rax, QWORD PTR -152[rbp]
	mov	edi, eax
	mov	edx, DWORD PTR -116[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	swapfunc
.L45:
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	add	QWORD PTR -80[rbp], rax
.L43:
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	add	QWORD PTR -88[rbp], rax
.L42:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	ja	.L46
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	jns	.L47
.L46:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -88[rbp]
	ja	.L65
	cmp	DWORD PTR -116[rbp], 0
	jne	.L50
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L51
.L50:
	mov	rax, QWORD PTR -152[rbp]
	mov	edi, eax
	mov	edx, DWORD PTR -116[rbp]
	mov	rsi, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	swapfunc
.L51:
	mov	DWORD PTR -120[rbp], 1
	mov	rax, QWORD PTR -152[rbp]
	add	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	add	QWORD PTR -88[rbp], rax
	jmp	.L36
.L65:
	nop
	cmp	DWORD PTR -120[rbp], 0
	jne	.L53
	mov	rdx, QWORD PTR -136[rbp]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	jmp	.L54
.L60:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L55
.L59:
	cmp	DWORD PTR -116[rbp], 0
	jne	.L56
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L57
.L56:
	mov	rax, QWORD PTR -152[rbp]
	mov	edi, eax
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, [rdx+rax]
	mov	edx, DWORD PTR -116[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, edx
	mov	edx, edi
	mov	rdi, rax
	call	swapfunc
.L57:
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	add	QWORD PTR -72[rbp], rax
.L55:
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -136[rbp]
	jbe	.L58
	mov	rax, QWORD PTR -152[rbp]
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -160[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	rdx
	test	eax, eax
	jg	.L59
.L58:
	mov	rax, QWORD PTR -152[rbp]
	add	QWORD PTR -64[rbp], rax
.L54:
	mov	rax, QWORD PTR -144[rbp]
	imul	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	cmp	QWORD PTR -64[rbp], rax
	jb	.L60
	jmp	.L19
.L53:
	mov	rax, QWORD PTR -144[rbp]
	imul	rax, QWORD PTR -152[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	sub	rax, QWORD PTR -104[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	sub	rax, QWORD PTR -136[rbp]
	cmp	rdx, rax
	cmovle	rax, rdx
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	jle	.L61
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, [rdx+rax]
	mov	ecx, DWORD PTR -116[rbp]
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	swapfunc
.L61:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR -80[rbp]
	sub	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	sub	rdx, QWORD PTR -88[rbp]
	cmp	rax, rdx
	cmova	rax, rdx
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	jle	.L62
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, [rdx+rax]
	mov	ecx, DWORD PTR -116[rbp]
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	swapfunc
.L62:
	mov	rax, QWORD PTR -96[rbp]
	sub	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	cmp	QWORD PTR -152[rbp], rax
	jnb	.L63
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	edx, 0
	div	QWORD PTR -152[rbp]
	mov	rsi, rax
	mov	rcx, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	qsort
.L63:
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	cmp	QWORD PTR -152[rbp], rax
	jnb	.L19
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -136[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	edx, 0
	div	QWORD PTR -152[rbp]
	mov	QWORD PTR -144[rbp], rax
	jmp	.L20
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	qsort, .-qsort
	.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	"7950105.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	swapfunc, %function
swapfunc:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, fp}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, [fp, #-32]
	lsr	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r5, [fp, #-24]
	ldr	r4, [fp, #-28]
.L3:
	ldr	r6, [r5]
	mov	r3, r5
	add	r5, r3, #4
	ldr	r2, [r4]
	str	r2, [r3]
	mov	r3, r4
	add	r4, r3, #4
	str	r6, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L3
	b	.L6
.L2:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
	ldr	r5, [fp, #-24]
	ldr	r4, [fp, #-28]
.L5:
	ldrb	r6, [r5]	@ zero_extendqisi2
	mov	r3, r5
	add	r5, r3, #1
	ldrb	r2, [r4]	@ zero_extendqisi2
	strb	r2, [r3]
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, r6
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L5
.L6:
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, r6, fp}
	bx	lr
	.size	swapfunc, .-swapfunc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	med3, %function
med3:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bge	.L8
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	blt	.L9
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bge	.L10
	ldr	r3, [fp, #-16]
	b	.L18
.L10:
	ldr	r3, [fp, #-8]
	b	.L18
.L9:
	ldr	r3, [fp, #-12]
	b	.L18
.L8:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bgt	.L14
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bge	.L15
	ldr	r3, [fp, #-8]
	b	.L18
.L15:
	ldr	r3, [fp, #-16]
	b	.L18
.L14:
	ldr	r3, [fp, #-12]
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	med3, .-med3
	.global	__aeabi_uidiv
	.align	2
	.global	qsort
	.syntax unified
	.arm
	.fpu softvfp
	.type	qsort, %function
qsort:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
.L20:
	ldr	r3, [fp, #-80]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-88]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-88]
	cmp	r3, #4
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	b	.L22
.L21:
	mov	r3, #2
.L22:
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-84]
	cmp	r3, #6
	bhi	.L23
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	b	.L24
.L30:
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-56]
	b	.L25
.L29:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	str	r2, [r3]
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	b	.L27
.L26:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r1, r2, r3
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-40]
	ldr	r0, [fp, #-56]
	bl	swapfunc
.L27:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
.L25:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bls	.L28
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r2, r2, r3
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-56]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bgt	.L29
.L28:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L24:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bcc	.L30
	b	.L19
.L23:
	ldr	r3, [fp, #-84]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-84]
	cmp	r3, #7
	bls	.L32
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-84]
	cmp	r3, #40
	bls	.L33
	ldr	r3, [fp, #-84]
	lsr	r3, r3, #3
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-56]
	add	r1, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r2, r3, r2
	ldr	r3, [fp, #-92]
	ldr	r0, [fp, #-56]
	bl	med3
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-52]
	add	r0, r2, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-52]
	add	r2, r2, r3
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-52]
	bl	med3
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #1
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r0, r2, r3
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r1, r2, r3
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-48]
	bl	med3
	str	r0, [fp, #-48]
.L33:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	med3
	str	r0, [fp, #-52]
.L32:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	b	.L35
.L34:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-80]
	bl	swapfunc
.L35:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-64]
	b	.L36
.L41:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L37
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-72]
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-68]
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	b	.L39
.L38:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-72]
	bl	swapfunc
.L39:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-72]
.L37:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-68]
.L36:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bhi	.L42
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-68]
	blx	r3
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L41
	b	.L42
.L47:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L43
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	str	r2, [r3]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	b	.L45
.L44:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-64]
	bl	swapfunc
.L45:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	str	r3, [fp, #-60]
.L43:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
.L42:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bhi	.L46
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-64]
	blx	r3
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L47
.L46:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	bhi	.L65
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	b	.L51
.L50:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-68]
	bl	swapfunc
.L51:
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-64]
	b	.L36
.L65:
	nop
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L53
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	b	.L54
.L60:
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-56]
	b	.L55
.L59:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	str	r2, [r3]
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	b	.L57
.L56:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r1, r2, r3
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-40]
	ldr	r0, [fp, #-56]
	bl	swapfunc
.L57:
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	str	r3, [fp, #-56]
.L55:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	bls	.L58
	ldr	r3, [fp, #-88]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-56]
	add	r2, r2, r3
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-56]
	mov	r0, r2
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bgt	.L59
.L58:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L54:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bcc	.L60
	b	.L19
.L53:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-88]
	mul	r3, r2, r3
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-72]
	sub	r2, r2, r3
	ldr	r1, [fp, #-72]
	ldr	r3, [fp, #-80]
	sub	r3, r1, r3
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L61
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-68]
	add	r1, r2, r3
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-28]
	ldr	r0, [fp, #-80]
	bl	swapfunc
.L61:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-60]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-88]
	sub	r3, r2, r3
	ldr	r1, [fp, #-60]
	ldr	r2, [fp, #-64]
	sub	r2, r1, r2
	cmp	r3, r2
	movcc	r3, r3
	movcs	r3, r2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L62
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r1, r2, r3
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-28]
	ldr	r0, [fp, #-68]
	bl	swapfunc
.L62:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-72]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	bcs	.L63
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-88]
	ldr	r0, [fp, #-80]
	bl	qsort
.L63:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	bcs	.L19
	ldr	r3, [fp, #-28]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-88]
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-84]
	b	.L20
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	qsort, .-qsort
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
