	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_multi_sort_compare_dims        ## -- Begin function multi_sort_compare_dims
	.p2align	4, 0x90
_multi_sort_compare_dims:               ## @multi_sort_compare_dims
	.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
	xorl	%eax, %eax
	cmpl	%esi, %edi
	jg	LBB0_5
## %bb.1:
	movq	%r8, %r15
	movq	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %ebx
	movslq	%edi, %r14
	shlq	$2, %r14
	subl	%edi, %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	8(%r13), %rcx
	movl	(%rcx,%r14), %edi
	movl	(%rax,%r14), %esi
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movl	(%rcx,%r14), %edx
	movl	(%rax,%r14), %ecx
	movq	(%r15), %r8
	addq	%r14, %r8
	callq	_ApplySortComparator
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %r14
	decl	%ebx
	jne	LBB0_2
## %bb.4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_multi_sort_compare_dims        ; -- Begin function multi_sort_compare_dims
	.p2align	2
_multi_sort_compare_dims:               ; @multi_sort_compare_dims
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, w1
	b.gt	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	sbfiz	x22, x0, #2, #32
	sub	w8, w1, w0
	add	w23, w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x21]
	ldr	w0, [x8, x22]
	ldr	w1, [x9, x22]
	ldp	x9, x8, [x20]
	ldr	w2, [x8, x22]
	ldr	w3, [x9, x22]
	ldr	x8, [x19]
	add	x4, x8, x22
	bl	_ApplySortComparator
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #4
	subs	w23, w23, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
