	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_utility_string_sort_helper
_archive_utility_string_sort_helper:    ## @archive_utility_string_sort_helper
	.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	$1, %esi
	ja	LBB0_2
## %bb.1:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_52
LBB0_2:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx,%r14,8), %rdx
	movl	%ecx, %ecx
	movq	%rdx, (%rax,%rcx,8)
	incq	%r14
	cmpq	%r14, %r15
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx,%r14,8), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	jns	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %r13
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	leal	8(,%r15,8), %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %ecx
	leal	1(%r15), %edx
	movq	%rax, %rdi
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leal	8(,%rbx,8), %esi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %ecx
	leal	1(%rbx), %edx
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rbx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_9:
	movq	%rdi, %r12
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_archive_utility_string_sort_helper
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	testl	%r15d, %r15d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.10:
	movl	%r15d, %r9d
	xorl	%eax, %eax
	cmpl	$4, %r15d
	jb	LBB0_18
## %bb.11:
	movq	%rbx, %rcx
	movq	%r12, %rdi
	subq	%r12, %rcx
	cmpq	$32, %rcx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jb	LBB0_25
## %bb.12:
	movl	%r9d, %eax
	andl	$-4, %eax
	leaq	-4(%rax), %rsi
	movq	%rsi, %rdx
	shrq	$2, %rdx
	incq	%rdx
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$12, %rsi
	jae	LBB0_19
## %bb.13:
	xorl	%esi, %esi
	jmp	LBB0_21
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	%r12, %rdi
	jmp	LBB0_16
LBB0_15:
	movq	%r13, %rdi
	callq	_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_16:
	callq	_free
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_52
LBB0_17:
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, %rdi
	jmp	LBB0_30
LBB0_18:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r12, %rdi
	jmp	LBB0_25
LBB0_19:
	andq	$-4, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rdi,%rsi,8), %xmm0
	movups	16(%rdi,%rsi,8), %xmm1
	movups	%xmm0, (%rbx,%rsi,8)
	movups	%xmm1, 16(%rbx,%rsi,8)
	movups	32(%rdi,%rsi,8), %xmm0
	movups	48(%rdi,%rsi,8), %xmm1
	movups	%xmm0, 32(%rbx,%rsi,8)
	movups	%xmm1, 48(%rbx,%rsi,8)
	movups	64(%rdi,%rsi,8), %xmm0
	movups	80(%rdi,%rsi,8), %xmm1
	movups	%xmm0, 64(%rbx,%rsi,8)
	movups	%xmm1, 80(%rbx,%rsi,8)
	movups	96(%rdi,%rsi,8), %xmm0
	movups	112(%rdi,%rsi,8), %xmm1
	movups	%xmm0, 96(%rbx,%rsi,8)
	movups	%xmm1, 112(%rbx,%rsi,8)
	addq	$16, %rsi
	addq	$-4, %rdx
	jne	LBB0_20
LBB0_21:
	testq	%r8, %r8
	je	LBB0_24
## %bb.22:
	leaq	(%rbx,%rsi,8), %rdx
	addq	$16, %rdx
	leaq	(%rdi,%rsi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rcx), %xmm0
	movups	(%rsi,%rcx), %xmm1
	movups	%xmm0, -16(%rdx,%rcx)
	movups	%xmm1, (%rdx,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_23
LBB0_24:
	cmpq	%r9, %rax
	je	LBB0_29
LBB0_25:
	movq	%rax, %rcx
	notq	%rcx
	addq	%r9, %rcx
	movq	%r9, %rdx
	andq	$3, %rdx
	je	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax,8), %rsi
	movq	%rsi, (%rbx,%rax,8)
	incq	%rax
	decq	%rdx
	jne	LBB0_26
LBB0_27:
	cmpq	$3, %rcx
	jb	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rax,8), %rcx
	movq	%rcx, (%rbx,%rax,8)
	movq	8(%rdi,%rax,8), %rcx
	movq	%rcx, 8(%rbx,%rax,8)
	movq	16(%rdi,%rax,8), %rcx
	movq	%rcx, 16(%rbx,%rax,8)
	movq	24(%rdi,%rax,8), %rcx
	movq	%rcx, 24(%rbx,%rax,8)
	addq	$4, %rax
	cmpq	%rax, %r9
	jne	LBB0_28
LBB0_29:
	movq	%r9, %r15
LBB0_30:
	callq	_free
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx,%r15,8)
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_archive_utility_string_sort_helper
	movl	%eax, %r12d
	testl	%r13d, %r13d
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	je	LBB0_51
## %bb.31:
	movl	%r13d, %r9d
	cmpl	$4, %r13d
	jae	LBB0_33
LBB0_32:
	xorl	%ecx, %ecx
LBB0_45:
	movq	%rcx, %r8
	notq	%r8
	addq	%r9, %r8
	movq	%r9, %rsi
	andq	$3, %rsi
	je	LBB0_48
## %bb.46:
	leal	1(%r10), %edi
	.p2align	4, 0x90
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rcx,8), %rax
	leal	(%rdi,%rcx), %edx
	movq	%rax, (%rbx,%rdx,8)
	incq	%rcx
	decq	%rsi
	jne	LBB0_47
LBB0_48:
	cmpq	$3, %r8
	jb	LBB0_51
## %bb.49:
	movl	%r10d, %edx
	.p2align	4, 0x90
LBB0_50:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rcx,8), %rax
	leal	(%rdx,%rcx), %esi
	incl	%esi
	movq	%rax, (%rbx,%rsi,8)
	movq	8(%r14,%rcx,8), %rax
	leal	2(%rdx,%rcx), %esi
	movq	%rax, (%rbx,%rsi,8)
	movq	16(%r14,%rcx,8), %rax
	leal	3(%rdx,%rcx), %esi
	movq	%rax, (%rbx,%rsi,8)
	movq	24(%r14,%rcx,8), %rax
	leal	(%rdx,%rcx), %esi
	addl	$4, %esi
	movq	%rax, (%rbx,%rsi,8)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_50
LBB0_51:
	movq	%r14, %rdi
	callq	_free
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	cmpl	%r12d, %eax
	cmovll	%eax, %r12d
	movl	%r12d, %eax
LBB0_52:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	leaq	-1(%r9), %rdx
	movl	$-2, %esi
	subl	%r10d, %esi
	xorl	%ecx, %ecx
	cmpl	%edx, %esi
	jb	LBB0_45
## %bb.34:
	shrq	$32, %rdx
	jne	LBB0_45
## %bb.35:
	leal	1(%r10), %ecx
	leaq	(%rbx,%rcx,8), %rcx
	subq	%r14, %rcx
	cmpq	$32, %rcx
	jb	LBB0_32
## %bb.37:
	movl	%r9d, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$12, %rdx
	jae	LBB0_39
## %bb.38:
	xorl	%edi, %edi
	jmp	LBB0_41
LBB0_39:
	andq	$-4, %rsi
	leal	9(%r10), %edx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r14,%rdi,8), %xmm0
	movups	16(%r14,%rdi,8), %xmm1
	leal	-8(%rdx), %eax
	movups	%xmm0, (%rbx,%rax,8)
	movups	%xmm1, 16(%rbx,%rax,8)
	movups	32(%r14,%rdi,8), %xmm0
	movups	48(%r14,%rdi,8), %xmm1
	leal	-4(%rdx), %eax
	movups	%xmm0, (%rbx,%rax,8)
	movups	%xmm1, 16(%rbx,%rax,8)
	movups	64(%r14,%rdi,8), %xmm0
	movups	80(%r14,%rdi,8), %xmm1
	movl	%edx, %eax
	movups	%xmm0, (%rbx,%rax,8)
	movups	%xmm1, 16(%rbx,%rax,8)
	movups	96(%r14,%rdi,8), %xmm0
	movups	112(%r14,%rdi,8), %xmm1
	leal	4(%rdx), %eax
	movups	%xmm0, (%rbx,%rax,8)
	movups	%xmm1, 16(%rbx,%rax,8)
	addq	$16, %rdi
	addl	$16, %edx
	addq	$-4, %rsi
	jne	LBB0_40
LBB0_41:
	testq	%r8, %r8
	je	LBB0_44
## %bb.42:
	leaq	(%r14,%rdi,8), %rdx
	addq	$16, %rdx
	leal	(%rdi,%r10), %esi
	incl	%esi
	shlq	$2, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rdi,8), %xmm0
	movups	(%rdx,%rdi,8), %xmm1
	leal	(%rsi,%rdi), %eax
	movups	%xmm0, (%rbx,%rax,8)
	movups	%xmm1, 16(%rbx,%rax,8)
	addq	$4, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_43
LBB0_44:
	cmpq	%r9, %rcx
	je	LBB0_51
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.no_dead_strip	_archive_utility_string_sort_helper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_utility_string_sort_helper
_archive_utility_string_sort_helper:    ; @archive_utility_string_sort_helper
	.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	w1, #1
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_28
LBB0_2:
	mov	x19, x0
	mov	w21, #0
	mov	x20, #0
	mov	x24, #0
	mov	w23, #0
	mov	x22, x0
	ldr	x25, [x22], #8
	mov	w8, w1
	sub	x26, x8, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22], #8
	str	x9, [x0, w8, uxtw #3]
	subs	x26, x26, #1
	b.eq	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	mov	x1, x25
	bl	_strcmp
	tbz	x0, #63, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w21, #1
	lsl	w1, w27, #3
	mov	x0, x24
	bl	_realloc
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x21
	mov	x24, x0
	mov	x21, x27
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w27, w23, #1
	lsl	w1, w27, #3
	mov	x0, x20
	bl	_realloc
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x23
	mov	x23, x27
	mov	x20, x0
	b	LBB0_3
LBB0_9:
	mov	x0, x20
	bl	_free
	mov	x0, x24
	bl	_free
Lloh3:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_28
LBB0_10:
	mov	x0, x24
	mov	x1, x21
	bl	_archive_utility_string_sort_helper
	mov	x22, x0
	cbz	w21, LBB0_18
; %bb.11:
	mov	x8, #0
	mov	w26, w21
	cmp	w21, #8
	b.lo	LBB0_16
; %bb.12:
	sub	x9, x19, x24
	cmp	x9, #64
	b.lo	LBB0_16
; %bb.13:
	and	x8, x26, #0xfffffff8
	add	x9, x19, #32
	add	x10, x24, #32
	mov	x11, x8
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x11, x11, #8
	b.ne	LBB0_14
; %bb.15:
	cmp	x8, x26
	b.eq	LBB0_19
LBB0_16:
	lsl	x10, x8, #3
	add	x9, x24, x10
	add	x10, x19, x10
	sub	x8, x26, x8
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #8
	str	x11, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_17
	b	LBB0_19
LBB0_18:
	mov	x26, #0
LBB0_19:
	mov	x0, x24
	bl	_free
	str	x25, [x19, x26, lsl #3]
	mov	x0, x20
	mov	x1, x23
	bl	_archive_utility_string_sort_helper
	mov	x24, x0
	cbz	w23, LBB0_27
; %bb.20:
	mov	w8, w23
	cmp	w23, #8
	b.lo	LBB0_24
; %bb.21:
	mov	x9, #0
	sub	x10, x8, #1
	mov	w11, #-2
	sub	w11, w11, w21
	cmp	w11, w10
	b.lo	LBB0_25
; %bb.22:
	lsr	x10, x10, #32
	cbnz	x10, LBB0_25
; %bb.23:
	add	w10, w21, #1
	add	x9, x19, w10, uxtw #3
	sub	x9, x9, x20
	cmp	x9, #64
	b.hs	LBB0_29
LBB0_24:
	mov	x9, #0
LBB0_25:
	add	w10, w9, w21
	add	w10, w10, #1
	add	x11, x20, x9, lsl #3
	sub	x8, x8, x9
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x11], #8
	str	x9, [x19, w10, uxtw #3]
	add	w10, w10, #1
	subs	x8, x8, #1
	b.ne	LBB0_26
LBB0_27:
	mov	x0, x20
	bl	_free
	cmp	w22, w24
	csel	w0, w22, w24, lt
LBB0_28:
	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_29:
	and	x9, x8, #0xfffffff8
	add	x11, x20, #32
	mov	x12, x9
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	add	x13, x19, w10, uxtw #3
	stp	q0, q1, [x13]
	stp	q2, q3, [x13, #32]
	add	w10, w10, #8
	subs	x12, x12, #8
	b.ne	LBB0_30
; %bb.31:
	cmp	x9, x8
	b.eq	LBB0_27
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.no_dead_strip	_archive_utility_string_sort_helper
.subsections_via_symbols
