	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_rec
_sort_rec:                              ## @sort_rec
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	movl	%edx, %r14d
	incl	%r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	decl	%r14d
	cmpl	$1, %r14d
	jbe	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%r14), %r15d
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_sort_rec
	movl	4(%rbx), %ecx
	movl	%ecx, (%rax)
	addq	$4, %rax
	movl	(%rbx), %ecx
	cmpl	4(%rbx), %ecx
	jle	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_sort_rec
	movl	(%rbx), %ecx
	movl	%ecx, (%rax)
	addq	$4, %rax
	jmp	LBB0_4
LBB0_5:
	movl	4(%rbx), %ecx
	movl	%ecx, (%rax)
	movl	(%rbx), %ecx
	cmpl	4(%rbx), %ecx
	jle	LBB0_6
## %bb.7:
	movl	%ecx, 4(%rax)
	addq	$8, %rax
	jmp	LBB0_8
LBB0_6:
	addq	$4, %rax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sort_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_rec
_sort_rec:                              ; @sort_rec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	cmp	w2, #1
	b.lt	LBB0_5
; %bb.1:
	add	w21, w2, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #8]
	sub	w21, w21, #1
	cmp	w21, #1
	b.ls	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w21, #2
	ldr	x0, [x19, #24]
	mov	x2, x20
	bl	_sort_rec
	mov	x1, x0
	ldr	w8, [x19, #4]
	str	w8, [x1], #4
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.le	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x19, #16]
	mov	x2, x20
	bl	_sort_rec
	mov	x1, x0
	ldr	w8, [x19]
	str	w8, [x1], #4
	b	LBB0_2
LBB0_5:
	ldr	w8, [x19, #4]
	mov	x0, x1
	str	w8, [x0], #4
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.le	LBB0_7
; %bb.6:
	add	x0, x1, #8
	str	w8, [x1, #4]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sort_rec
.subsections_via_symbols
