	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_axz
_sort_axz:                              ## @sort_axz
	.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
	testq	%rsi, %rsi
	jle	LBB0_15
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movq	%r14, %rcx
	andq	$-2, %rcx
	movl	(%r15,%rcx,4), %eax
	movl	4(%r15,%rcx,4), %ecx
	movq	%r14, %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	incq	%rbx
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	cmpl	%eax, (%r15,%rbx,8)
	jl	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpl	%ecx, 4(%r15,%rbx,8)
	jl	LBB0_6
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=3
	decq	%rsi
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpl	%eax, (%r15,%rsi,8)
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=3
	cmpl	%ecx, 4(%r15,%rsi,8)
	jg	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rsi, %rbx
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	(%r15,%rbx,8), %rdx
	movq	(%r15,%rsi,8), %rdi
	movq	%rdi, (%r15,%rbx,8)
	incq	%rbx
	movq	%rdx, (%r15,%rsi,8)
	decq	%rsi
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rsi, %rbx
	jle	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_sort_axz
	leaq	(%r15,%rbx,8), %r15
	subq	%rbx, %r14
	jg	LBB0_2
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sort_axz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_axz
_sort_axz:                              ; @sort_axz
	.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
	cmp	x1, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_sort_axz
	add	x20, x20, x21, lsl #3
	sub	x19, x19, x21
	cmp	x19, #0
	b.le	LBB0_17
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
	mov	x21, #0
	lsl	x8, x19, #2
	and	x8, x8, #0xfffffffffffffff8
	add	x9, x20, x8
	ldp	w8, w9, [x9]
	mov	x1, x19
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	cmp	x21, x1
	b.gt	LBB0_2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
	add	x10, x20, x21, lsl #3
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=3
	add	x21, x21, #1
	add	x10, x10, #8
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w11, [x10]
	cmp	w11, w8
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w11, [x10, #4]
	cmp	w11, w9
	b.lt	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x11, x20, x1, lsl #3
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=3
	sub	x1, x1, #1
	sub	x11, x11, #8
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w12, [x11]
	cmp	w12, w8
	b.gt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	w12, [x11, #4]
	cmp	w12, w9
	b.gt	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	x21, x1
	b.gt	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=2
	ldr	x12, [x10]
	add	x21, x21, #1
	ldr	x13, [x11]
	str	x13, [x10]
	sub	x1, x1, #1
	str	x12, [x11]
	b	LBB0_4
LBB0_17:
	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_axz
.subsections_via_symbols
