	.file	"extr_text-data.c_int_sort.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	int_sort, @function
int_sort:
.LFB0:
	.cfi_startproc
	endbr64
	test	esi, esi
	jle	.L14
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
.L2:
	mov	eax, r13d
	mov	r9, rbp
	mov	ebx, r13d
	xor	r8d, r8d
	sar	eax
	cdqe
	mov	ecx, DWORD PTR 0[rbp+rax*4]
	movsx	rax, r13d
	mov	edx, DWORD PTR 0[rbp+rax*4]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r10d, DWORD PTR [r9]
	mov	esi, r8d
	mov	r11d, r8d
	mov	r12, r9
	cmp	r10d, ecx
	jl	.L4
	cmp	ecx, edx
	jge	.L5
	lea	rax, -4[rbp+rax*4]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rax
	mov	edx, DWORD PTR [rax]
	sub	rax, 4
	sub	ebx, 1
	cmp	edx, ecx
	jg	.L6
.L7:
	cmp	ebx, r8d
	jge	.L18
.L8:
	mov	esi, r13d
	mov	rdi, r12
	sub	esi, r11d
	call	int_sort
	test	ebx, ebx
	jle	.L1
	mov	r13d, ebx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	lea	r11d, 1[rsi]
	sub	ebx, 1
	mov	DWORD PTR [r9], edx
	mov	DWORD PTR [rdi], r10d
	cmp	ebx, r11d
	jl	.L9
	movsx	rax, ebx
	mov	edx, DWORD PTR 0[rbp+rax*4]
.L4:
	add	r8, 1
	add	r9, 4
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rdi, 0[rbp+rax*4]
	jmp	.L7
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	ret
.L9:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	movsx	rax, r11d
	lea	r12, 0[rbp+rax*4]
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	int_sort, .-int_sort
	.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_text-data.c_int_sort.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	int_sort, %function
int_sort:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r10, r1, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r8, r0
.L2:
	mov	r7, r8
	mov	r4, r10
	mov	lr, #0
	asr	r3, r10, #1
	ldr	r5, [r8, r3, lsl #2]
	ldr	ip, [r8, r10, lsl #2]
.L3:
	mov	r0, r7
	ldr	r9, [r7], #4
	mov	r1, lr
	cmp	r9, r5
	addlt	lr, lr, #1
	blt	.L3
	cmp	r5, ip
	bge	.L5
	sub	r2, r4, #1
	add	r3, r8, r2, lsl #2
	b	.L6
.L17:
	sub	r2, r2, #1
.L6:
	mov	r6, r3
	ldr	ip, [r3], #-4
	mov	r4, r2
	cmp	ip, r5
	bgt	.L17
.L7:
	cmp	lr, r4
	ble	.L18
.L8:
	sub	r1, r10, r1
	bl	int_sort
	cmp	r4, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r10, r4
	b	.L2
.L18:
	add	lr, lr, #1
	sub	r4, r4, #1
	cmp	r4, lr
	str	ip, [r7, #-4]
	mov	r1, lr
	str	r9, [r6]
	blt	.L9
	ldr	ip, [r8, r4, lsl #2]
	b	.L3
.L5:
	add	r6, r8, r4, lsl #2
	b	.L7
.L9:
	add	r0, r8, lr, lsl #2
	b	.L8
	.size	int_sort, .-int_sort
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
