	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltDefaultSortFunction        ## -- Begin function xsltDefaultSortFunction
	.p2align	4, 0x90
_xsltDefaultSortFunction:               ## @xsltDefaultSortFunction
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_XSLT_MAX_SORT@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	leaq	(,%r15,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%r15,4), %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_53
## %bb.1:
	testq	%r12, %r12
	je	LBB0_53
## %bb.2:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_53
## %bb.3:
	cmpl	-56(%rbp), %r15d                ## 4-byte Folded Reload
	jle	LBB0_53
## %bb.4:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_53
## %bb.5:
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_53
## %bb.6:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_53
## %bb.7:
	movl	(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	$2, %ecx
	jl	LBB0_53
## %bb.8:
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ecx
	testl	%eax, %eax
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_27
## %bb.9:
	leaq	-1(%rcx), %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	$0, (%rax,%r15,4)
	cmpq	$0, 48(%rbx)
	je	LBB0_11
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	$0, (%rax,%r15,4)
	cmpq	$0, 40(%rbx)
	je	LBB0_18
LBB0_24:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%r15, %r12
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax,%r15,8), %rsi
	movq	(%rsi), %rbx
	incq	%r15
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_XSLT_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	callq	_xsltEvalAttrValueTemplate
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	$1, (%rcx,%r15,4)
	movq	%rax, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_xmlStrEqual
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	48(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_xmlStrEqual
	movl	$1, %r13d
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rdx
	movq	48(%rbx), %r8
	xorl	%r13d, %r13d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	leaq	L_.str.3(%rip), %rcx
	callq	_xsltTransformError
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r13d, 8(%rbx)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rsi
	movq	_XSLT_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.4(%rip), %rdx
	callq	_xsltEvalAttrValueTemplate
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movl	$1, (%rcx,%r15,4)
	movq	%rax, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_xmlStrEqual
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	40(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_xmlStrEqual
	movl	$1, %r13d
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rdx
	movq	40(%rbx), %r8
	xorl	%r13d, %r13d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	leaq	L_.str.7(%rip), %rcx
	callq	_xsltTransformError
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%r13d, 24(%rbx)
	jmp	LBB0_24
LBB0_26:
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rsi
LBB0_27:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_xsltComputeSortResult
	movq	%rax, %r13
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, (%rdi)
	movl	(%r14), %esi
	cmpl	$2, %esi
	jl	LBB0_29
## %bb.28:
	addq	$8, %rdi
	decl	%esi
	shlq	$3, %rsi
	callq	___bzero
LBB0_29:
	testq	%r13, %r13
	je	LBB0_53
## %bb.30:
	cmpl	$2, -52(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	jl	LBB0_41
## %bb.31:
	movq	(%r12), %rax
	movq	(%rax), %rcx
	movl	8(%rcx), %eax
	movl	%eax, -148(%rbp)                ## 4-byte Spill
	movq	%rcx, %rax
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	24(%rcx), %eax
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	leaq	-2(%r8), %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_33 Depth=1
	cmpl	$4, -140(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_41
LBB0_33:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
                                        ##       Child Loop BB0_37 Depth 3
                                        ##         Child Loop BB0_67 Depth 4
                                        ##         Child Loop BB0_94 Depth 4
	movl	%r15d, %eax
	shrl	$31, %r15d
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	addl	%eax, %r15d
	sarl	%r15d
	cmpl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_32
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movslq	%r15d, %r14
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_35
LBB0_76:                                ##   in Loop: Header=BB0_35 Depth=2
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_98:                                ##   in Loop: Header=BB0_35 Depth=2
	movq	-168(%rbp), %r14                ## 8-byte Reload
	incq	%r14
	cmpl	%r14d, -52(%rbp)                ## 4-byte Folded Reload
	je	LBB0_32
LBB0_35:                                ##   Parent Loop BB0_33 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_37 Depth 3
                                        ##         Child Loop BB0_67 Depth 4
                                        ##         Child Loop BB0_94 Depth 4
	cmpq	$0, (%r13,%r14,8)
	movq	%r14, -168(%rbp)                ## 8-byte Spill
	je	LBB0_98
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	subl	%r15d, %r14d
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_97:                                ##   in Loop: Header=BB0_37 Depth=3
	subl	%r15d, %r14d
	js	LBB0_98
LBB0_37:                                ##   Parent Loop BB0_33 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_67 Depth 4
                                        ##         Child Loop BB0_94 Depth 4
	movl	%r14d, %r14d
	movq	(%r13,%r14,8), %rax
	testq	%rax, %rax
	je	LBB0_92
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=3
	cmpl	$0, -148(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_58
## %bb.39:                              ##   in Loop: Header=BB0_37 Depth=3
	movq	(%rax), %rdi
	callq	_xmlXPathIsNaN
	movq	%rax, %rbx
	leal	(%r14,%r15), %eax
	movslq	%eax, %r15
	movq	(%r13,%r15,8), %rax
	movq	(%rax), %rdi
	callq	_xmlXPathIsNaN
	movq	%rax, %rcx
	testq	%rbx, %rbx
	je	LBB0_55
## %bb.40:                              ##   in Loop: Header=BB0_37 Depth=3
	cmpq	$1, %rcx
	movl	$0, %eax
	sbbl	%eax, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_61
	.p2align	4, 0x90
LBB0_58:                                ##   in Loop: Header=BB0_37 Depth=3
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	32(%rcx), %rdi
	movq	16(%rax), %rsi
	leal	(%r14,%r15), %eax
	cltq
	testq	%rdi, %rdi
	je	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_37 Depth=3
	movq	(%r13,%rax,8), %rax
	movq	16(%rax), %rdx
	callq	_xsltLocaleStrcmp
	jmp	LBB0_61
LBB0_55:                                ##   in Loop: Header=BB0_37 Depth=3
	movl	$1, %eax
	testq	%rcx, %rcx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_61
## %bb.56:                              ##   in Loop: Header=BB0_37 Depth=3
	movq	(%r13,%r14,8), %rcx
	movq	(%r13,%r15,8), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, (%rcx)
	je	LBB0_61
## %bb.57:                              ##   in Loop: Header=BB0_37 Depth=3
	setg	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_61
LBB0_60:                                ##   in Loop: Header=BB0_37 Depth=3
	movq	(%r13,%rax,8), %rax
	movq	16(%rax), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_xmlStrcmp
	.p2align	4, 0x90
LBB0_61:                                ##   in Loop: Header=BB0_37 Depth=3
	movl	%eax, %ecx
	negl	%ecx
	cmpl	$0, -144(%rbp)                  ## 4-byte Folded Reload
	cmovel	%eax, %ecx
	testl	%ecx, %ecx
	je	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_37 Depth=3
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_91
	.p2align	4, 0x90
LBB0_63:                                ##   in Loop: Header=BB0_37 Depth=3
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	leal	(%r14,%r15), %eax
	cltq
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	cmpl	$2, -56(%rbp)                   ## 4-byte Folded Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	jl	LBB0_90
## %bb.64:                              ##   in Loop: Header=BB0_37 Depth=3
	movq	8(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_90
## %bb.65:                              ##   in Loop: Header=BB0_37 Depth=3
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_67:                                ##   Parent Loop BB0_33 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ##       Parent Loop BB0_37 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_68
## %bb.69:                              ##   in Loop: Header=BB0_67 Depth=4
	movl	8(%rax), %r15d
	movq	%rax, %rcx
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	24(%rax), %eax
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	8(%rbx,%r12,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_72
## %bb.70:                              ##   in Loop: Header=BB0_67 Depth=4
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_xsltComputeSortResult
	movq	%rax, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, 8(%rax,%r12,8)
	testq	%rbx, %rbx
	je	LBB0_71
LBB0_72:                                ##   in Loop: Header=BB0_67 Depth=4
	movq	(%rbx,%r14,8), %rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rbx,%rax,8), %rax
	testq	%rcx, %rcx
	je	LBB0_73
## %bb.75:                              ##   in Loop: Header=BB0_67 Depth=4
	testq	%rax, %rax
	je	LBB0_76
## %bb.77:                              ##   in Loop: Header=BB0_67 Depth=4
	testl	%r15d, %r15d
	je	LBB0_83
## %bb.78:                              ##   in Loop: Header=BB0_67 Depth=4
	movq	(%rcx), %rdi
	callq	_xmlXPathIsNaN
	movq	%rax, %r15
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rbx,%rax,8), %rax
	movq	(%rax), %rdi
	callq	_xmlXPathIsNaN
	movq	%rax, %rcx
	testq	%r15, %r15
	je	LBB0_80
## %bb.79:                              ##   in Loop: Header=BB0_67 Depth=4
	cmpq	$1, %rcx
	movl	$0, %eax
	sbbl	%eax, %eax
	jmp	LBB0_86
	.p2align	4, 0x90
LBB0_73:                                ##   in Loop: Header=BB0_67 Depth=4
	testq	%rax, %rax
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_89
	jmp	LBB0_74
	.p2align	4, 0x90
LBB0_83:                                ##   in Loop: Header=BB0_67 Depth=4
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	32(%rdx), %rdi
	movq	16(%rcx), %rsi
	testq	%rdi, %rdi
	je	LBB0_85
## %bb.84:                              ##   in Loop: Header=BB0_67 Depth=4
	movq	16(%rax), %rdx
	callq	_xsltLocaleStrcmp
	jmp	LBB0_86
LBB0_80:                                ##   in Loop: Header=BB0_67 Depth=4
	movl	$1, %eax
	testq	%rcx, %rcx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	jne	LBB0_87
## %bb.81:                              ##   in Loop: Header=BB0_67 Depth=4
	movq	(%rbx,%r14,8), %rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	(%rbx,%rax,8), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, (%rcx)
	je	LBB0_87
## %bb.82:                              ##   in Loop: Header=BB0_67 Depth=4
	setg	%al
	movzbl	%al, %eax
	addl	%eax, %eax
	decl	%eax
	jmp	LBB0_87
LBB0_85:                                ##   in Loop: Header=BB0_67 Depth=4
	movq	16(%rax), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_xmlStrcmp
	.p2align	4, 0x90
LBB0_86:                                ##   in Loop: Header=BB0_67 Depth=4
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	-92(%rbp), %esi                 ## 4-byte Reload
LBB0_87:                                ##   in Loop: Header=BB0_67 Depth=4
	movl	%eax, %ecx
	negl	%ecx
	testl	%esi, %esi
	cmovel	%eax, %ecx
	testl	%ecx, %ecx
	jne	LBB0_88
LBB0_89:                                ##   in Loop: Header=BB0_67 Depth=4
	cmpq	%r12, -176(%rbp)                ## 8-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_90
## %bb.66:                              ##   in Loop: Header=BB0_67 Depth=4
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax,%r12,8), %rsi
	incq	%r12
	testq	%rsi, %rsi
	jne	LBB0_67
	jmp	LBB0_90
LBB0_68:                                ##   in Loop: Header=BB0_37 Depth=3
	xorl	%eax, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_90
LBB0_88:                                ##   in Loop: Header=BB0_37 Depth=3
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_91
LBB0_71:                                ##   in Loop: Header=BB0_37 Depth=3
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_90:                                ##   in Loop: Header=BB0_37 Depth=3
	movq	(%r13,%r14,8), %rax
	movq	8(%rax), %rax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	(%r13,%rcx,8), %rdx
	xorl	%ecx, %ecx
	cmpq	8(%rdx), %rax
	setg	%cl
	movq	-64(%rbp), %r12                 ## 8-byte Reload
LBB0_91:                                ##   in Loop: Header=BB0_37 Depth=3
	testl	%ecx, %ecx
	jle	LBB0_98
LBB0_92:                                ##   in Loop: Header=BB0_37 Depth=3
	leal	(%r14,%r15), %eax
	movq	(%r13,%r14,8), %rcx
	cltq
	movq	(%r13,%rax,8), %rdx
	movq	%rdx, (%r13,%r14,8)
	movq	%rcx, (%r13,%rax,8)
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movq	8(%rdi), %rcx
	movq	(%rcx,%r14,8), %rdx
	movq	(%rcx,%rax,8), %rsi
	movq	%rsi, (%rcx,%r14,8)
	movq	8(%rdi), %rcx
	movq	%rdx, (%rcx,%rax,8)
	cmpl	$2, -56(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_97
## %bb.93:                              ##   in Loop: Header=BB0_37 Depth=3
	movl	$1, %ecx
	.p2align	4, 0x90
LBB0_94:                                ##   Parent Loop BB0_33 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ##       Parent Loop BB0_37 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	cmpq	$0, (%r12,%rcx,8)
	je	LBB0_97
## %bb.95:                              ##   in Loop: Header=BB0_94 Depth=4
	movq	(%rbx,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_97
## %bb.96:                              ##   in Loop: Header=BB0_94 Depth=4
	movq	(%rdx,%r14,8), %rsi
	movq	(%rdx,%rax,8), %rdi
	movq	%rdi, (%rdx,%r14,8)
	movq	%rsi, (%rdx,%rax,8)
	incq	%rcx
	cmpq	%rcx, %r8
	jne	LBB0_94
	jmp	LBB0_97
LBB0_74:                                ##   in Loop: Header=BB0_37 Depth=3
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_92
LBB0_41:
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_53
## %bb.42:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	xorl	%r15d, %r15d
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_43 Depth=1
	movq	%r12, %rdi
	callq	_xmlFree
LBB0_52:                                ##   in Loop: Header=BB0_43 Depth=1
	incq	%r15
	cmpq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_53
LBB0_43:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_50 Depth 2
	movq	(%r12,%r15,8), %rax
	movq	(%rax), %rbx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	cmpl	$1, (%rax,%r15,4)
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	48(%rbx), %rdi
	callq	_xmlFree
	movq	$0, 48(%rbx)
LBB0_45:                                ##   in Loop: Header=BB0_43 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	cmpl	$1, (%rax,%r15,4)
	jne	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_43 Depth=1
	movq	40(%rbx), %rdi
	callq	_xmlFree
	movq	$0, 40(%rbx)
LBB0_47:                                ##   in Loop: Header=BB0_43 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %r12
	testq	%r12, %r12
	je	LBB0_52
## %bb.48:                              ##   in Loop: Header=BB0_43 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_51
## %bb.49:                              ##   in Loop: Header=BB0_43 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_50:                                ##   Parent Loop BB0_43 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12,%rbx,8), %rdi
	callq	_xmlXPathFreeObject
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_50
	jmp	LBB0_51
LBB0_53:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_54
## %bb.99:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_54:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XSLT_MAX_SORT,4,2              ## @XSLT_MAX_SORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"data-type"

	.comm	_XSLT_NAMESPACE,4,2             ## @XSLT_NAMESPACE
L_.str.1:                               ## @.str.1
	.asciz	"text"

L_.str.2:                               ## @.str.2
	.asciz	"number"

L_.str.3:                               ## @.str.3
	.asciz	"xsltDoSortFunction: no support for data-type = %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"order"

L_.str.5:                               ## @.str.5
	.asciz	"ascending"

L_.str.6:                               ## @.str.6
	.asciz	"descending"

L_.str.7:                               ## @.str.7
	.asciz	"xsltDoSortFunction: invalid value %s for order\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltDefaultSortFunction        ; -- Begin function xsltDefaultSortFunction
	.p2align	2
_xsltDefaultSortFunction:               ; @xsltDefaultSortFunction
	.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
	sub	sp, sp, #160
	mov	x25, x2
	stur	x1, [x29, #-184]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x19, _XSLT_MAX_SORT@GOTPAGE
Lloh4:
	ldr	x19, [x19, _XSLT_MAX_SORT@GOTPAGEOFF]
	ldr	w12, [x19]
	lsl	x8, x12, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	lsl	x8, x12, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x26, x9, x13
	mov	sp, x26
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x13
	mov	sp, x23
	stur	x0, [x29, #-168]                ; 8-byte Folded Spill
	cbz	x0, LBB0_96
; %bb.1:
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	cbz	x8, LBB0_96
; %bb.2:
	cmp	w25, #1
	b.lt	LBB0_96
; %bb.3:
	cmp	w12, w25
	b.le	LBB0_96
; %bb.4:
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x1, [x8]
	cbz	x1, LBB0_96
; %bb.5:
	ldr	x21, [x1]
	cbz	x21, LBB0_96
; %bb.6:
	ldur	x8, [x29, #-168]                ; 8-byte Folded Reload
	ldr	x27, [x8]
	cbz	x27, LBB0_96
; %bb.7:
	ldr	w8, [x27]
	stur	w8, [x29, #-204]                ; 4-byte Folded Spill
	cmp	w8, #2
	b.lt	LBB0_96
; %bb.8:
	mov	w24, w25
	cmp	w25, #1
	stur	x27, [x29, #-152]               ; 8-byte Folded Spill
	stp	x24, x20, [x29, #-224]          ; 16-byte Folded Spill
	stur	w25, [x29, #-140]               ; 4-byte Folded Spill
	b.lt	LBB0_31
; %bb.9:
	mov	x22, x23
	mov	x25, #0
Lloh11:
	adrp	x27, _XSLT_NAMESPACE@GOTPAGE
Lloh12:
	ldr	x27, [x27, _XSLT_NAMESPACE@GOTPAGEOFF]
	sub	x28, x24, #1
Lloh13:
	adrp	x20, l_.str@PAGE
Lloh14:
	add	x20, x20, l_.str@PAGEOFF
	mov	w24, #1
Lloh15:
	adrp	x23, l_.str.4@PAGE
Lloh16:
	add	x23, x23, l_.str.4@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x26, x25, lsl #2]
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_10 Depth=1
	str	wzr, [x22, x25, lsl #2]
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	x28, x25
	b.eq	LBB0_30
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	add	x8, x8, x25, lsl #3
	ldr	x1, [x8, #8]
	ldr	x21, [x1]
	add	x25, x25, #1
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w3, [x27]
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	mov	x2, x20
	bl	_xsltEvalAttrValueTemplate
	str	x0, [x21, #48]
	cbz	x0, LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	str	w24, [x26, x25, lsl #2]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_xmlStrEqual
	cbz	x0, LBB0_22
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #0
	b	LBB0_24
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_12
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x1, [x8, x25, lsl #3]
	ldr	w3, [x27]
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	mov	x2, x23
	bl	_xsltEvalAttrValueTemplate
	str	x0, [x21, #40]
	cbz	x0, LBB0_12
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	str	w24, [x22, x25, lsl #2]
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_xmlStrEqual
	cbz	x0, LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #0
	b	LBB0_27
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x21, #48]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_xmlStrEqual
	cbz	x0, LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #1
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	str	w8, [x21, #8]
	b	LBB0_11
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x21, #40]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_xmlStrEqual
	cbz	x0, LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w8, #1
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=1
	str	w8, [x21, #24]
	b	LBB0_12
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x2, [x8, x25, lsl #3]
	ldr	x4, [x21, #48]
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	mov	x1, #0
Lloh25:
	adrp	x3, l_.str.3@PAGE
Lloh26:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_xsltTransformError
	b	LBB0_17
LBB0_29:                                ;   in Loop: Header=BB0_10 Depth=1
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x2, [x8, x25, lsl #3]
	ldr	x4, [x21, #40]
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	mov	x1, #0
Lloh27:
	adrp	x3, l_.str.7@PAGE
Lloh28:
	add	x3, x3, l_.str.7@PAGEOFF
	bl	_xsltTransformError
	b	LBB0_21
LBB0_30:
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
	ldr	w8, [x27]
	stur	w8, [x29, #-204]                ; 4-byte Folded Spill
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x1, [x8]
	ldur	x20, [x29, #-216]               ; 8-byte Folded Reload
	mov	x23, x22
	ldur	w25, [x29, #-140]               ; 4-byte Folded Reload
LBB0_31:
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	bl	_xsltComputeSortResult
	mov	x22, x0
	str	x0, [x20]
	ldr	w8, [x19]
	subs	w8, w8, #1
	b.le	LBB0_33
; %bb.32:
	add	x0, x20, #8
	lsl	x1, x8, #3
	bl	_bzero
LBB0_33:
	cbz	x22, LBB0_96
; %bb.34:
	stp	x23, x26, [x29, #-240]          ; 16-byte Folded Spill
	ldur	w8, [x29, #-204]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.le	LBB0_84
; %bb.35:
	ldur	x9, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x8, [x9]
	ldr	x19, [x8]
	ldr	w26, [x19, #24]
	add	x11, x9, #16
	ldur	x10, [x29, #-224]               ; 8-byte Folded Reload
	sub	x8, x10, #2
	stp	x8, x11, [x29, #-200]           ; 16-byte Folded Spill
	ldur	x8, [x29, #-216]                ; 8-byte Folded Reload
	add	x11, x8, #8
	ldr	w8, [x19, #8]
	stur	w8, [x29, #-108]                ; 4-byte Folded Spill
	add	x8, x9, #8
	stp	x8, x11, [x29, #-128]           ; 16-byte Folded Spill
	sub	x8, x10, #1
	stur	x8, [x29, #-136]                ; 8-byte Folded Spill
	ldur	w8, [x29, #-204]                ; 4-byte Folded Reload
	stur	w26, [x29, #-156]               ; 4-byte Folded Spill
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=1
	ldur	w8, [x29, #-208]                ; 4-byte Folded Reload
	cmp	w8, #4
	mov	x8, x21
	b.lt	LBB0_84
LBB0_37:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_41 Depth 2
                                        ;       Child Loop BB0_44 Depth 3
                                        ;         Child Loop BB0_57 Depth 4
                                        ;         Child Loop BB0_80 Depth 4
	cmp	w8, #0
	stur	w8, [x29, #-208]                ; 4-byte Folded Spill
	cinc	w8, w8, lt
	asr	w21, w8, #1
	ldur	w8, [x29, #-204]                ; 4-byte Folded Reload
	cmp	w21, w8
	b.ge	LBB0_36
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=1
	sxtw	x9, w21
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_41 Depth=2
	ldur	w25, [x29, #-140]               ; 4-byte Folded Reload
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
	ldur	w26, [x29, #-156]               ; 4-byte Folded Reload
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=2
	ldur	x9, [x29, #-176]                ; 8-byte Folded Reload
	add	x9, x9, #1
	ldur	w8, [x29, #-204]                ; 4-byte Folded Reload
	cmp	w8, w9
	b.eq	LBB0_36
LBB0_41:                                ;   Parent Loop BB0_37 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_44 Depth 3
                                        ;         Child Loop BB0_57 Depth 4
                                        ;         Child Loop BB0_80 Depth 4
	ldr	x8, [x22, x9, lsl #3]
	stur	x9, [x29, #-176]                ; 8-byte Folded Spill
	cbz	x8, LBB0_40
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	sub	w8, w9, w21
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_44 Depth=3
	subs	w8, w28, w21
	b.mi	LBB0_40
LBB0_44:                                ;   Parent Loop BB0_37 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_57 Depth 4
                                        ;         Child Loop BB0_80 Depth 4
	ldr	x9, [x22, w8, uxtw #3]
	mov	w28, w8
	cbz	x9, LBB0_78
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=3
	sxtw	x20, w28
	ldur	w8, [x29, #-108]                ; 4-byte Folded Reload
	cbz	w8, LBB0_48
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=3
	ldr	x0, [x9]
	bl	_xmlXPathIsNaN
	mov	x23, x0
	add	x24, x20, w21, sxtw
	ldr	x8, [x22, x24, lsl #3]
	ldr	x0, [x8]
	bl	_xmlXPathIsNaN
	cbz	x23, LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_44 Depth=3
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_54
LBB0_48:                                ;   in Loop: Header=BB0_44 Depth=3
	ldr	x0, [x19, #32]
	ldr	x1, [x9, #16]
	add	w8, w28, w21
	cbz	x0, LBB0_52
; %bb.49:                               ;   in Loop: Header=BB0_44 Depth=3
	ldr	x8, [x22, w8, sxtw #3]
	ldr	x2, [x8, #16]
	bl	_xsltLocaleStrcmp
	b	LBB0_54
LBB0_50:                                ;   in Loop: Header=BB0_44 Depth=3
	cbz	x0, LBB0_53
; %bb.51:                               ;   in Loop: Header=BB0_44 Depth=3
	mov	w0, #1
	b	LBB0_54
LBB0_52:                                ;   in Loop: Header=BB0_44 Depth=3
	ldr	x8, [x22, w8, sxtw #3]
	ldr	x8, [x8, #16]
	mov	x0, x1
	mov	x1, x8
	bl	_xmlStrcmp
	b	LBB0_54
LBB0_53:                                ;   in Loop: Header=BB0_44 Depth=3
	ldr	x8, [x22, x28, lsl #3]
	ldr	x8, [x8]
	ldr	x9, [x22, x24, lsl #3]
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #1
	cneg	w8, w8, le
	csel	w0, wzr, w8, eq
LBB0_54:                                ;   in Loop: Header=BB0_44 Depth=3
	cmp	w26, #0
	cneg	w8, w0, ne
	cbnz	w8, LBB0_77
; %bb.55:                               ;   in Loop: Header=BB0_44 Depth=3
	add	x8, x20, w21, sxtw
	stur	x8, [x29, #-104]                ; 8-byte Folded Spill
	cmp	w25, #2
	b.lt	LBB0_75
; %bb.56:                               ;   in Loop: Header=BB0_44 Depth=3
	ldp	x26, x8, [x29, #-192]           ; 16-byte Folded Reload
	ldr	x1, [x8, #8]
	ldur	x20, [x29, #-120]               ; 8-byte Folded Reload
	ldur	x27, [x29, #-200]               ; 8-byte Folded Reload
	cbz	x1, LBB0_75
LBB0_57:                                ;   Parent Loop BB0_37 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ;       Parent Loop BB0_44 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x19, [x1]
	cbz	x19, LBB0_75
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=4
	ldr	w25, [x19, #24]
	ldr	w24, [x19, #8]
	ldr	x23, [x20]
	cbnz	x23, LBB0_60
; %bb.59:                               ;   in Loop: Header=BB0_57 Depth=4
	ldur	x0, [x29, #-168]                ; 8-byte Folded Reload
	bl	_xsltComputeSortResult
	mov	x23, x0
	str	x0, [x20]
	cbz	x0, LBB0_75
LBB0_60:                                ;   in Loop: Header=BB0_57 Depth=4
	ldr	x9, [x23, x28, lsl #3]
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x8, [x23, x8, lsl #3]
	cbz	x9, LBB0_65
; %bb.61:                               ;   in Loop: Header=BB0_57 Depth=4
	cbz	x8, LBB0_39
; %bb.62:                               ;   in Loop: Header=BB0_57 Depth=4
	cbz	w24, LBB0_66
; %bb.63:                               ;   in Loop: Header=BB0_57 Depth=4
	ldr	x0, [x9]
	bl	_xmlXPathIsNaN
	mov	x24, x0
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x8, [x23, x8, lsl #3]
	ldr	x0, [x8]
	bl	_xmlXPathIsNaN
	cbz	x24, LBB0_68
; %bb.64:                               ;   in Loop: Header=BB0_57 Depth=4
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_72
LBB0_65:                                ;   in Loop: Header=BB0_57 Depth=4
	cbz	x8, LBB0_73
	b	LBB0_83
LBB0_66:                                ;   in Loop: Header=BB0_57 Depth=4
	ldr	x0, [x19, #32]
	ldr	x1, [x9, #16]
	cbz	x0, LBB0_70
; %bb.67:                               ;   in Loop: Header=BB0_57 Depth=4
	ldr	x2, [x8, #16]
	bl	_xsltLocaleStrcmp
	b	LBB0_72
LBB0_68:                                ;   in Loop: Header=BB0_57 Depth=4
	cbz	x0, LBB0_71
; %bb.69:                               ;   in Loop: Header=BB0_57 Depth=4
	mov	w0, #1
	b	LBB0_72
LBB0_70:                                ;   in Loop: Header=BB0_57 Depth=4
	ldr	x8, [x8, #16]
	mov	x0, x1
	mov	x1, x8
	bl	_xmlStrcmp
	b	LBB0_72
LBB0_71:                                ;   in Loop: Header=BB0_57 Depth=4
	ldr	x8, [x23, x28, lsl #3]
	ldr	x8, [x8]
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x9, [x23, x9, lsl #3]
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #1
	cneg	w8, w8, le
	csel	w0, wzr, w8, eq
LBB0_72:                                ;   in Loop: Header=BB0_57 Depth=4
	cmp	w25, #0
	cneg	w8, w0, ne
	cbnz	w8, LBB0_76
LBB0_73:                                ;   in Loop: Header=BB0_57 Depth=4
	cbz	x27, LBB0_75
; %bb.74:                               ;   in Loop: Header=BB0_57 Depth=4
	ldr	x1, [x26], #8
	sub	x27, x27, #1
	add	x20, x20, #8
	cbnz	x1, LBB0_57
LBB0_75:                                ;   in Loop: Header=BB0_44 Depth=3
	ldr	x8, [x22, x28, lsl #3]
	ldr	x8, [x8, #8]
	ldur	x9, [x29, #-104]                ; 8-byte Folded Reload
	ldr	x9, [x22, x9, lsl #3]
	ldr	x9, [x9, #8]
	cmp	x8, x9
	cset	w8, gt
LBB0_76:                                ;   in Loop: Header=BB0_44 Depth=3
	ldur	w25, [x29, #-140]               ; 4-byte Folded Reload
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
	ldur	w26, [x29, #-156]               ; 4-byte Folded Reload
LBB0_77:                                ;   in Loop: Header=BB0_44 Depth=3
	cmp	w8, #1
	b.lt	LBB0_40
LBB0_78:                                ;   in Loop: Header=BB0_44 Depth=3
	lsl	x8, x28, #3
	ldr	x10, [x22, x8]
	add	w9, w28, w21
	sbfiz	x11, x9, #3, #32
	ldr	x12, [x22, x11]
	str	x12, [x22, x8]
	str	x10, [x22, x11]
	ldr	x10, [x27, #8]
	ldr	x12, [x10, x8]
	ldr	x13, [x10, x11]
	str	x13, [x10, x8]
	ldr	x10, [x27, #8]
	str	x12, [x10, x11]
	cmp	w25, #2
	b.lt	LBB0_43
; %bb.79:                               ;   in Loop: Header=BB0_44 Depth=3
	sxtw	x9, w9
	ldp	x10, x11, [x29, #-136]          ; 16-byte Folded Reload
	ldur	x12, [x29, #-120]               ; 8-byte Folded Reload
LBB0_80:                                ;   Parent Loop BB0_37 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ;       Parent Loop BB0_44 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x13, [x11]
	cbz	x13, LBB0_43
; %bb.81:                               ;   in Loop: Header=BB0_80 Depth=4
	ldr	x13, [x12]
	cbz	x13, LBB0_43
; %bb.82:                               ;   in Loop: Header=BB0_80 Depth=4
	ldr	x14, [x13, x8]
	lsl	x15, x9, #3
	ldr	x16, [x13, x15]
	str	x16, [x13, x8]
	str	x14, [x13, x15]
	add	x12, x12, #8
	add	x11, x11, #8
	subs	x10, x10, #1
	b.ne	LBB0_80
	b	LBB0_43
LBB0_83:                                ;   in Loop: Header=BB0_44 Depth=3
	ldur	w25, [x29, #-140]               ; 4-byte Folded Reload
	ldur	x27, [x29, #-152]               ; 8-byte Folded Reload
	ldur	w26, [x29, #-156]               ; 4-byte Folded Reload
	b	LBB0_78
LBB0_84:
	cmp	w25, #1
	ldp	x27, x24, [x29, #-224]          ; 16-byte Folded Reload
	ldp	x26, x25, [x29, #-240]          ; 16-byte Folded Reload
	b.lt	LBB0_96
; %bb.85:
	mov	x19, #0
	ldur	w8, [x29, #-204]                ; 4-byte Folded Reload
	mov	w21, w8
	b	LBB0_88
LBB0_86:                                ;   in Loop: Header=BB0_88 Depth=1
	mov	x0, x20
	bl	_xmlFree
LBB0_87:                                ;   in Loop: Header=BB0_88 Depth=1
	add	x19, x19, #1
	cmp	x19, x27
	b.eq	LBB0_96
LBB0_88:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_95 Depth 2
	ldur	x8, [x29, #-184]                ; 8-byte Folded Reload
	ldr	x8, [x8, x19, lsl #3]
	ldr	x20, [x8]
	ldr	w8, [x25, x19, lsl #2]
	cmp	w8, #1
	b.ne	LBB0_90
; %bb.89:                               ;   in Loop: Header=BB0_88 Depth=1
	ldr	x0, [x20, #48]
	bl	_xmlFree
	str	xzr, [x20, #48]
LBB0_90:                                ;   in Loop: Header=BB0_88 Depth=1
	ldr	w8, [x26, x19, lsl #2]
	cmp	w8, #1
	b.ne	LBB0_92
; %bb.91:                               ;   in Loop: Header=BB0_88 Depth=1
	ldr	x0, [x20, #40]
	bl	_xmlFree
	str	xzr, [x20, #40]
LBB0_92:                                ;   in Loop: Header=BB0_88 Depth=1
	ldr	x20, [x24, x19, lsl #3]
	cbz	x20, LBB0_87
; %bb.93:                               ;   in Loop: Header=BB0_88 Depth=1
	ldur	w8, [x29, #-204]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_86
; %bb.94:                               ;   in Loop: Header=BB0_88 Depth=1
	mov	x22, x21
	mov	x23, x20
LBB0_95:                                ;   Parent Loop BB0_88 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x23], #8
	bl	_xmlXPathFreeObject
	subs	x22, x22, #1
	b.ne	LBB0_95
	b	LBB0_86
LBB0_96:
	ldur	x8, [x29, #-96]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_98
; %bb.97:
	sub	sp, x29, #80
	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
LBB0_98:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_XSLT_MAX_SORT,4,2              ; @XSLT_MAX_SORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"data-type"

	.comm	_XSLT_NAMESPACE,4,2             ; @XSLT_NAMESPACE
l_.str.1:                               ; @.str.1
	.asciz	"text"

l_.str.2:                               ; @.str.2
	.asciz	"number"

l_.str.3:                               ; @.str.3
	.asciz	"xsltDoSortFunction: no support for data-type = %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"order"

l_.str.5:                               ; @.str.5
	.asciz	"ascending"

l_.str.6:                               ; @.str.6
	.asciz	"descending"

l_.str.7:                               ; @.str.7
	.asciz	"xsltDoSortFunction: invalid value %s for order\n"

.subsections_via_symbols
