	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_sort_a
_r_sort_a:                              ## @r_sort_a
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$2104, %rsp                     ## imm = 0x838
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -2112(%rbp)               ## 4-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r13d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r12, -2104(%rbp)               ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r14d, -2108(%rbp)              ## 4-byte Spill
	movl	%r14d, %esi
	movl	%r13d, %edx
	callq	_push
	movq	%rbx, -2136(%rbp)               ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_empty
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.37:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	-2108(%rbp), %rax               ## 4-byte Folded Reload
	movq	-2104(%rbp), %rcx               ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r12
	movslq	%r13d, %r14
	leal	1(%r13), %eax
	movl	%eax, -2116(%rbp)               ## 4-byte Spill
	movq	%r13, -2144(%rbp)               ## 8-byte Spill
	movq	%r12, -2128(%rbp)               ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	%r13d, %edx
	movq	%r15, %rcx
	movl	-2112(%rbp), %r8d               ## 4-byte Reload
	callq	_simplesort
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-2136(%rbp), %rdi               ## 8-byte Reload
	callq	_empty
	testl	%eax, %eax
	movq	-2144(%rbp), %r13               ## 8-byte Reload
	jne	LBB0_5
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
                                        ##       Child Loop BB0_27 Depth 3
                                        ##     Child Loop BB0_33 Depth 2
                                        ##       Child Loop BB0_35 Depth 3
	movq	-2104(%rbp), %r12               ## 8-byte Reload
	movq	%r12, %rdi
	movl	-2108(%rbp), %ebx               ## 4-byte Reload
	movl	%ebx, %esi
	movl	%r13d, %edx
	callq	_pop
	movl	%ebx, %esi
	movq	_THRESHOLD@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	_r_sort_a.nc(%rip), %eax
	testl	%eax, %eax
	movq	-2128(%rbp), %r12               ## 8-byte Reload
	movl	-2112(%rbp), %r8d               ## 4-byte Reload
	jne	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$255, _r_sort_a.bmin(%rip)
	xorl	%eax, %eax
	testl	%esi, %esi
	jle	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$255, %r11d
	movq	-2104(%rbp), %r9                ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	incl	%eax
	movl	%eax, _r_sort_a.nc(%rip)
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	cmpq	%r12, %r9
	jae	LBB0_16
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r9), %rcx
	addq	$8, %r9
	movq	(%rcx,%r14,8), %rcx
	movq	(%r15,%rcx,8), %rcx
	movslq	%ecx, %rdi
	leaq	_r_sort_a.count(%rip), %r10
	movl	(%r10,%rdi,4), %ebx
	leal	1(%rbx), %edx
	movl	%edx, (%r10,%rdi,4)
	testl	%ebx, %ebx
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpl	%r8d, %ecx
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpl	%ecx, %r11d
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	%ecx, _r_sort_a.bmin(%rip)
	movl	%ecx, %r11d
	jmp	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-2104(%rbp), %rdi               ## 8-byte Reload
	movl	%r13d, %edx
	movq	%r15, %rcx
	callq	_r_sort_a
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	_r_sort_a.bmin(%rip), %rcx
	leaq	_r_sort_a.count(%rip), %rdx
	cmpl	%esi, (%rdx,%rcx,4)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-2104(%rbp), %rdi               ## 8-byte Reload
	movl	-2116(%rbp), %edx               ## 4-byte Reload
	callq	_push
	movslq	_r_sort_a.bmin(%rip), %rax
	leaq	_r_sort_a.count(%rip), %rcx
	movl	$0, (%rcx,%rax,4)
	movl	$0, _r_sort_a.nc(%rip)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r8d, %r8d
	movq	-2104(%rbp), %r13               ## 8-byte Reload
	je	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, -56(%rbp)
	testl	%eax, %eax
	jg	LBB0_25
	jmp	LBB0_31
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	_r_sort_a.count(%rip), %rcx
	leaq	(%r13,%rcx,8), %r13
	movq	%r13, -2096(%rbp)
	testl	%eax, %eax
	jle	LBB0_31
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	_r_sort_a.bmin(%rip), %rcx
	leaq	_r_sort_a.count(%rip), %rdx
	leaq	(%rdx,%rcx,4), %r12
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=2
	movslq	%esi, %rcx
	leaq	(%r13,%rcx,8), %r13
	movq	%r13, -2096(%rbp,%rbx,2)
	leal	-1(%rax), %ecx
	movl	%ecx, _r_sort_a.nc(%rip)
	cmpl	$1, %eax
	movl	%ecx, %eax
	jle	LBB0_31
LBB0_26:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_27 Depth 3
	movq	%r12, %rbx
	leaq	_r_sort_a.count(%rip), %rcx
	subq	%rcx, %rbx
	addq	$-4, %rbx
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_26 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12), %esi
	addq	$4, %r12
	addq	$4, %rbx
	testl	%esi, %esi
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	cmpl	$2, %esi
	jl	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	%r13, %rdi
	movl	-2116(%rbp), %edx               ## 4-byte Reload
	callq	_push
	movl	-4(%r12), %esi
	movl	_r_sort_a.nc(%rip), %eax
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-2136(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%rdi, %rsi
	callq	_swap
	cmpl	$0, -2108(%rbp)                 ## 4-byte Folded Reload
	movq	-2128(%rbp), %r12               ## 8-byte Reload
	jle	LBB0_4
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-2104(%rbp), %r13               ## 8-byte Reload
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_33 Depth=2
	movq	%rbx, (%r13)
	leaq	_r_sort_a.count(%rip), %rdx
	movslq	(%rdx,%rax,4), %rcx
	leaq	(%r13,%rcx,8), %r13
	movl	$0, (%rdx,%rax,4)
	cmpq	%r12, %r13
	jae	LBB0_4
LBB0_33:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_35 Depth 3
	movq	(%r13), %rbx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_33 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%rbx,%r14,8), %rax
	movslq	(%r15,%rax,8), %rax
	movq	-2096(%rbp,%rax,8), %rcx
	addq	$-8, %rcx
	movq	%rcx, -2096(%rbp,%rax,8)
	cmpq	%rcx, %r13
	jae	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_35 Depth=3
	movq	(%rcx), %rdi
	movq	%rbx, %rsi
	callq	_swap
	jmp	LBB0_35
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_r_sort_a.count,1024,4 ## @r_sort_a.count
.zerofill __DATA,__bss,_r_sort_a.nc,4,2 ## @r_sort_a.nc
.zerofill __DATA,__bss,_r_sort_a.bmin,4,2 ## @r_sort_a.bmin
	.comm	_SIZE,4,2                       ## @SIZE
	.comm	_THRESHOLD,4,2                  ## @THRESHOLD
	.no_dead_strip	_r_sort_a
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_sort_a
_r_sort_a:                              ; @r_sort_a
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2112
	mov	x19, sp
	str	w4, [x19, #20]                  ; 4-byte Folded Spill
	mov	x21, x3
	mov	x23, x2
	mov	x27, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	str	x0, [x19, #24]                  ; 8-byte Folded Spill
	bl	_push
	str	x22, [x19, #40]                 ; 8-byte Folded Spill
	mov	x0, x22
	bl	_empty
	cbz	w0, LBB0_3
LBB0_1:
	ldur	x8, [x29, #-96]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.2:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	sxtw	x28, w23
	add	w22, w23, #1
	ldr	x8, [x19, #24]                  ; 8-byte Folded Reload
	add	x25, x8, w27, sxtw #3
	add	x24, x19, #48
Lloh11:
	adrp	x26, _r_sort_a.count@PAGE
Lloh12:
	add	x26, x26, _r_sort_a.count@PAGEOFF
	str	x23, [x19, #8]                  ; 8-byte Folded Spill
	str	w27, [x19, #36]                 ; 4-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x27
	mov	x2, x23
	mov	x3, x21
	ldr	w4, [x19, #20]                  ; 4-byte Folded Reload
	bl	_simplesort
	mov	x22, x20
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #40]                  ; 8-byte Folded Reload
	bl	_empty
	ldr	x23, [x19, #8]                  ; 8-byte Folded Reload
	ldr	w27, [x19, #36]                 ; 4-byte Folded Reload
	cbnz	w0, LBB0_1
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_27 Depth 3
                                        ;     Child Loop BB0_33 Depth 2
                                        ;       Child Loop BB0_34 Depth 3
	mov	x20, x22
	ldr	x22, [x19, #24]                 ; 8-byte Folded Reload
	mov	x0, x22
	mov	x1, x27
	mov	x2, x23
	bl	_pop
Lloh13:
	adrp	x8, _THRESHOLD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _THRESHOLD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w27
	b.gt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adrp	x10, _r_sort_a.nc@PAGE
	ldr	w8, [x10, _r_sort_a.nc@PAGEOFF]
	mov	x0, x22
	mov	x22, x20
	ldr	w4, [x19, #20]                  ; 4-byte Folded Reload
	cbnz	w8, LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	adrp	x8, _r_sort_a.bmin@PAGE
	mov	w9, #255
	str	w9, [x8, _r_sort_a.bmin@PAGEOFF]
	cmp	w27, #1
	b.lt	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #0
	mov	w10, #255
	mov	x9, x0
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	add	w8, w8, #1
	adrp	x11, _r_sort_a.nc@PAGE
	str	w8, [x11, _r_sort_a.nc@PAGEOFF]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	cmp	x9, x25
	b.hs	LBB0_16
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9], #8
	ldr	x11, [x11, x28, lsl #3]
	ldr	x11, [x21, x11, lsl #3]
	sbfiz	x12, x11, #2, #32
	ldr	w13, [x26, x12]
	add	w14, w13, #1
	str	w14, [x26, x12]
	cmp	w13, #0
	ccmp	w11, w4, #4, eq
	b.eq	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w10, w11
	b.le	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	adrp	x10, _r_sort_a.bmin@PAGE
	str	w11, [x10, _r_sort_a.bmin@PAGEOFF]
	mov	x10, x11
	b	LBB0_10
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w8, #0
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x9, _SIZE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	adrp	x10, _r_sort_a.nc@PAGE
	b.le	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x27
	mov	x2, x23
	mov	x3, x21
	bl	_r_sort_a
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #1
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x9, _r_sort_a.bmin@PAGE
Lloh20:
	ldrsw	x9, [x9, _r_sort_a.bmin@PAGEOFF]
	ldr	w9, [x26, x9, lsl #2]
	cmp	w9, w27
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x1, x27
	mov	x2, x22
	mov	x20, x10
	bl	_push
Lloh21:
	adrp	x8, _r_sort_a.bmin@PAGE
Lloh22:
	ldrsw	x8, [x8, _r_sort_a.bmin@PAGEOFF]
	str	wzr, [x26, x8, lsl #2]
	str	wzr, [x20, _r_sort_a.nc@PAGEOFF]
	b	LBB0_5
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w4, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_6 Depth=1
	str	x25, [x19, #2088]
	mov	x27, x0
	cmp	w8, #1
	b.ge	LBB0_24
	b	LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh23:
	adrp	x9, _r_sort_a.count@PAGE
Lloh24:
	ldrsw	x9, [x9, _r_sort_a.count@PAGEOFF]
	add	x27, x0, x9, lsl #3
	str	x27, [x19, #48]
	cmp	w8, #1
	b.lt	LBB0_30
LBB0_24:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh25:
	adrp	x9, _r_sort_a.bmin@PAGE
Lloh26:
	ldrsw	x9, [x9, _r_sort_a.bmin@PAGEOFF]
	add	x23, x26, x9, lsl #2
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x27, x27, w1, sxtw #3
	lsl	x9, x20, #1
	str	x27, [x24, x9]
	subs	w8, w8, #1
	str	w8, [x10, _r_sort_a.nc@PAGEOFF]
	b.le	LBB0_30
LBB0_26:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_27 Depth 3
	sub	x9, x23, x26
	sub	x20, x9, #4
LBB0_27:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w1, [x23], #4
	add	x20, x20, #4
	cbz	w1, LBB0_27
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=2
	cmp	w1, #2
	b.lt	LBB0_25
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x0, x27
	mov	x2, x22
	bl	_push
	adrp	x10, _r_sort_a.nc@PAGE
	ldur	w1, [x23, #-4]
	ldr	w8, [x10, _r_sort_a.nc@PAGEOFF]
	b	LBB0_25
LBB0_30:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #40]                  ; 8-byte Folded Reload
	ldr	x0, [x8]
	mov	x1, x0
	bl	_swap
	ldr	w8, [x19, #36]                  ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.31:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x19, #24]                 ; 8-byte Folded Reload
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	sxtw	x8, w9
	str	x27, [x23]
	lsl	x8, x8, #2
	ldrsw	x9, [x26, x8]
	add	x23, x23, x9, lsl #3
	str	wzr, [x26, x8]
	cmp	x23, x25
	b.hs	LBB0_5
LBB0_33:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_34 Depth 3
	ldr	x27, [x23]
LBB0_34:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_33 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x27, x28, lsl #3]
	ldr	x9, [x21, x8, lsl #3]
	sbfiz	x10, x9, #3, #32
	ldr	x8, [x24, x10]
	sub	x8, x8, #8
	str	x8, [x24, x10]
	cmp	x23, x8
	b.hs	LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=3
	ldr	x0, [x8]
	mov	x1, x27
	bl	_swap
	b	LBB0_34
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpLdr	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_r_sort_a.count,1024,2 ; @r_sort_a.count
.zerofill __DATA,__bss,_r_sort_a.nc,4,2 ; @r_sort_a.nc
.zerofill __DATA,__bss,_r_sort_a.bmin,4,2 ; @r_sort_a.bmin
	.comm	_SIZE,4,2                       ; @SIZE
	.comm	_THRESHOLD,4,2                  ; @THRESHOLD
	.no_dead_strip	_r_sort_a
.subsections_via_symbols
