	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup                          ## -- Begin function setup
	.p2align	4, 0x90
_setup:                                 ## @setup
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	cmpq	$5, %rdx
	ja	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	movl	%r8d, %ecx
	callq	_insertionsort
	imulq	%r14, %r13
	leaq	(%r15,%r13,4), %rbx
	movq	%r15, %rdi
	callq	_EVAL
	movq	%rbx, (%rax)
	jmp	LBB0_7
LBB0_2:
	movl	%r13d, %esi
	andl	$1, %esi
	orl	$4, %esi
	movq	%r13, %r12
	subq	%rsi, %r12
	imulq	%r14, %r12
	leaq	(%rbx,%r12,4), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%r14, %rdx
	movl	%r8d, %ecx
	callq	_insertionsort
	imulq	%r14, %r13
	leaq	(%r15,%r13,4), %r13
	leaq	(%r15,%r12,4), %rdi
	callq	_EVAL
	movq	%r13, (%rax)
	testq	%r12, %r12
	jle	LBB0_7
## %bb.3:
	leal	(%r14,%r14), %eax
	movslq	%eax, %r12
	shlq	$2, %r12
	shlq	$2, %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%r12, %rbx
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	addq	%r12, %r15
	callq	_EVAL
	movq	%r15, (%rax)
	leaq	(%rbx,%r14), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_CMP
	testq	%rax, %rax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_swap
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THRESHOLD,4,2                  ## @THRESHOLD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup                          ; -- Begin function setup
	.p2align	2
_setup:                                 ; @setup
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x2, #5
	b.hi	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x4
	bl	_insertionsort
	mul	x8, x22, x23
	add	x19, x21, x8, lsl #2
	mov	x0, x21
	bl	_EVAL
	str	x19, [x0]
	b	LBB0_7
LBB0_2:
	mov	w1, #4
	bfxil	w1, w23, #0, #1
	sub	x8, x23, x1
	mul	x24, x8, x22
	lsl	x25, x24, #2
	add	x20, x19, x25
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x22
	mov	x3, x4
	bl	_insertionsort
	mul	x8, x22, x23
	add	x23, x21, x8, lsl #2
	add	x0, x21, x25
	bl	_EVAL
	str	x23, [x0]
	cmp	x24, #1
	b.lt	LBB0_7
; %bb.3:
	lsl	w8, w22, #1
	sbfiz	x23, x8, #2, #32
	lsl	x22, x22, #2
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x19, x19, x23
	cmp	x19, x20
	mov	x21, x24
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x21, x23
	mov	x0, x21
	bl	_EVAL
	str	x24, [x0]
	add	x21, x19, x22
	mov	x0, x19
	mov	x1, x21
	bl	_CMP
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_swap
	b	LBB0_4
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_THRESHOLD,4,2                  ; @THRESHOLD
.subsections_via_symbols
