	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_choices
_sort_choices:                          ## @sort_choices
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %edx
	jl	LBB0_7
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	%edx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rbx,%rax,8)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r12,%rax,8)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	incq	%r15
	cmpq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%rbx,%r15,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12,%r15,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	-1(%r15), %r13
	movl	%r13d, %r14d
	movq	(%rbx,%r14,8), %rdi
	callq	_DEPRECATED_SYMBOL_NAME
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_DEPRECATED_SYMBOL_NAME
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_mangled_ordered_before
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	(%rbx,%r14,8), %rax
	movq	%rax, (%rbx,%r15,8)
	movq	(%r12,%r14,8), %rax
	movq	%rax, (%r12,%r15,8)
	leaq	1(%r13), %rax
	movq	%r13, %r15
	cmpq	$1, %rax
	jg	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_6
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sort_choices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_choices
_sort_choices:                          ; @sort_choices
	.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
	cmp	w2, #2
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w23, w2
	mov	w24, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sbfiz	x8, x26, #3, #32
	str	x21, [x20, x8]
	str	x25, [x19, x8]
	add	x24, x24, #1
	cmp	x24, x23
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	lsl	x8, x24, #3
	ldr	x21, [x20, x8]
	ldr	x25, [x19, x8]
	mov	x26, x24
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x27, x26, #1
	ldr	x0, [x20, w27, uxtw #3]
	bl	_DEPRECATED_SYMBOL_NAME
	mov	x22, x0
	mov	x0, x21
	bl	_DEPRECATED_SYMBOL_NAME
	mov	x1, x0
	mov	x0, x22
	bl	_mangled_ordered_before
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	and	x8, x27, #0xffffffff
	lsl	x8, x8, #3
	ldr	x9, [x20, x8]
	lsl	x10, x26, #3
	str	x9, [x20, x10]
	ldr	x8, [x19, x8]
	str	x8, [x19, x10]
	add	x8, x27, #1
	mov	x26, x27
	cmp	x8, #1
	b.gt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
	b	LBB0_2
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sort_choices
.subsections_via_symbols
