	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_strtab_finalize       ## -- Begin function _bfd_elf_strtab_finalize
	.p2align	4, 0x90
__bfd_elf_strtab_finalize:              ## @_bfd_elf_strtab_finalize
	.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
	movq	%rdi, %r15
	movslq	(%rdi), %rdi
	shlq	$3, %rdi
	callq	_bfd_malloc
	testq	%rax, %rax
	je	LBB0_24
## %bb.1:
	movq	%rax, %r14
	movslq	(%r15), %rax
	cmpq	$2, %rax
	jb	LBB0_23
## %bb.2:
	movl	%eax, %ecx
	decq	%rax
	cmpl	$2, %ecx
	jne	LBB0_4
## %bb.3:
	movl	$1, %ecx
	movq	%r14, %r13
LBB0_12:
	testb	$1, %al
	je	LBB0_16
## %bb.13:
	movq	8(%r15), %rax
	movq	(%rax,%rcx,8), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_15
## %bb.14:
	movq	%rax, (%r13)
	addq	$8, %r13
	decl	(%rax)
	jmp	LBB0_16
LBB0_4:
	movq	%rax, %rdx
	andq	$-2, %rdx
	negq	%rdx
	movl	$1, %ecx
	movq	%r14, %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, (%rsi)
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rdx,%rcx), %rsi
	addq	$2, %rsi
	addq	$2, %rcx
	cmpq	$1, %rsi
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rsi
	movq	(%rsi,%rcx,8), %rsi
	cmpq	$0, 24(%rsi)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsi, (%r13)
	addq	$8, %r13
	decl	(%rsi)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, (%rsi)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %rsi
	movq	8(%rsi,%rcx,8), %rsi
	cmpq	$0, 24(%rsi)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsi, (%r13)
	addq	$8, %r13
	decl	(%rsi)
	jmp	LBB0_11
LBB0_15:
	movl	$0, (%rax)
LBB0_16:
	movq	%r13, %rsi
	subq	%r14, %rsi
	je	LBB0_23
## %bb.17:
	sarq	$3, %rsi
	movq	_strrevcmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_qsort
	movq	-8(%r13), %r12
	incl	(%r12)
	addq	$-16, %r13
	cmpq	%r14, %r13
	jae	LBB0_19
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, 16(%rbx)
	negl	(%rbx)
	addq	$-8, %r13
	cmpq	%r14, %r13
	jb	LBB0_23
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rbx
	incl	(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_is_suffix
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %r12
	addq	$-8, %r13
	cmpq	%r14, %r13
	jae	LBB0_19
LBB0_23:
	movq	%r14, %rdi
	callq	_free
LBB0_24:
	movslq	(%r15), %r10
	cmpq	$1, %r10
	jbe	LBB0_25
## %bb.26:
	movq	8(%r15), %rdx
	leaq	-1(%r10), %r8
	cmpl	$2, %r10d
	jne	LBB0_28
## %bb.27:
	movl	$1, %edi
	movl	$1, %ecx
LBB0_36:
	testb	$1, %r8b
	je	LBB0_40
## %bb.37:
	movq	(%rdx,%rdi,8), %rdx
	cmpq	$0, 24(%rdx)
	je	LBB0_40
## %bb.38:
	movl	(%rdx), %esi
	testl	%esi, %esi
	jle	LBB0_40
## %bb.39:
	movq	%rcx, 8(%rdx)
	addq	%rsi, %rcx
LBB0_40:
	movq	%rcx, 16(%r15)
	movq	8(%r15), %rcx
	movl	$1, %edx
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_41 Depth=1
	incq	%rdx
	cmpq	%rdx, %r10
	je	LBB0_45
LBB0_41:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	cmpq	$0, 24(%rsi)
	je	LBB0_44
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	movslq	(%rsi), %rdi
	testq	%rdi, %rdi
	jns	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	16(%rsi), %rbx
	movslq	(%rbx), %rax
	addq	%rdi, %rax
	addq	8(%rbx), %rax
	movq	%rax, 8(%rsi)
	jmp	LBB0_44
LBB0_25:
	movq	$1, 16(%r15)
LBB0_45:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	%r8, %r9
	andq	$-2, %r9
	negq	%r9
	movl	$1, %edi
	movl	$1, %ecx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_29 Depth=1
	leaq	(%r9,%rdi), %rsi
	addq	$2, %rsi
	addq	$2, %rdi
	cmpq	$1, %rsi
	je	LBB0_36
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rbx
	cmpq	$0, 24(%rbx)
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rcx, 8(%rbx)
	addq	%rsi, %rcx
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%rdx,%rdi,8), %rbx
	cmpq	$0, 24(%rbx)
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%rcx, 8(%rbx)
	addq	%rsi, %rcx
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.comm	_strrevcmp,4,2                  ## @strrevcmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_strtab_finalize       ; -- Begin function _bfd_elf_strtab_finalize
	.p2align	2
__bfd_elf_strtab_finalize:              ; @_bfd_elf_strtab_finalize
	.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
	mov	x19, x0
	ldrsw	x8, [x0]
	lsl	x0, x8, #3
	bl	_bfd_malloc
	cbz	x0, LBB0_13
; %bb.1:
	mov	x20, x0
	ldrsw	x8, [x19]
	cmp	w8, #2
	b.lo	LBB0_12
; %bb.2:
	mov	w9, #1
	mov	x22, x20
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [x10]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #8]
	ldr	x10, [x10, x9, lsl #3]
	ldr	x11, [x10, #24]
	cbz	x11, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x10, [x22], #8
	ldr	w11, [x10]
	sub	w11, w11, #1
	str	w11, [x10]
	b	LBB0_4
LBB0_7:
	subs	x8, x22, x20
	b.eq	LBB0_12
; %bb.8:
	asr	x1, x8, #3
Lloh0:
	adrp	x8, _strrevcmp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _strrevcmp@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x20
	mov	w2, #8
	bl	_qsort
	ldur	x21, [x22, #-8]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	sub	x23, x22, #16
	cmp	x23, x20
	b.hs	LBB0_10
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x21, x22
	sub	x23, x23, #8
	cmp	x23, x20
	b.lo	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x23]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	mov	x0, x21
	mov	x1, x22
	bl	_is_suffix
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	str	x21, [x22, #16]
	ldr	w8, [x22]
	neg	w8, w8
	str	w8, [x22]
	sub	x23, x23, #8
	cmp	x23, x20
	b.hs	LBB0_10
LBB0_12:
	mov	x0, x20
	bl	_free
LBB0_13:
	ldrsw	x8, [x19]
	cmp	w8, #1
	b.ls	LBB0_19
; %bb.14:
	ldr	x9, [x19, #8]
	sub	x8, x8, #1
	add	x10, x9, #8
	mov	w9, #1
	mov	x11, x8
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x10, x10, #8
	subs	x11, x11, #1
	b.eq	LBB0_21
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	ldr	x13, [x12, #24]
	cbz	x13, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w13, [x12]
	cmp	w13, #1
	b.lt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	str	x9, [x12, #8]
	add	x9, x9, x13
	b	LBB0_15
LBB0_19:
	mov	w8, #1
	str	x8, [x19, #16]
LBB0_20:
	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
LBB0_21:
	str	x9, [x19, #16]
	ldr	x9, [x19, #8]
	add	x9, x9, #8
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_20
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	x11, [x10, #24]
	cbz	x11, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldrsw	x11, [x10]
	tbz	w11, #31, LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	x12, [x10, #16]
	ldr	x13, [x12, #8]
	ldrsw	x12, [x12]
	add	x11, x12, x11
	add	x11, x13, x11
	str	x11, [x10, #8]
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_strrevcmp,4,2                  ; @strrevcmp
.subsections_via_symbols
