	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_create_symbuf
_elf_create_symbuf:                     ## @elf_create_symbuf
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$8, %esi
	callq	_bfd_malloc2
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_12
## %bb.2:
	movq	_SHN_UNDEF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$1, %r12
	jne	LBB0_13
## %bb.3:
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
LBB0_4:
	testb	$1, %r12b
	je	LBB0_7
## %bb.5:
	leaq	(%rcx,%rcx,2), %rcx
	cmpq	%rax, (%r15,%rcx,8)
	je	LBB0_7
## %bb.6:
	leaq	(%r15,%rcx,8), %rax
	movq	%rax, (%r14,%r13,8)
	incq	%r13
LBB0_7:
	leaq	(%r14,%r13,8), %rbx
	movq	_elf_sort_elf_symbol@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	$8, %edx
	callq	_qsort
	testq	%r13, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_19
## %bb.8:
	leaq	-8(%rbx), %rax
	movl	$1, %r12d
	movb	$1, %cl
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r14
	jae	LBB0_21
## %bb.9:
	movq	(%r14), %rcx
	movq	(%rcx), %rdx
	movl	$1, %r12d
	movq	%r14, %rcx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rsi
	addq	$8, %rcx
	movq	(%rsi), %rsi
	xorl	%edi, %edi
	cmpq	%rsi, %rdx
	setne	%dil
	addq	%rdi, %r12
	movq	%rsi, %rdx
	cmpq	%rax, %rcx
	jb	LBB0_10
	jmp	LBB0_21
LBB0_11:
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_12:
	movq	_elf_sort_elf_symbol@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_qsort
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_20
LBB0_13:
	movq	%r12, %rdx
	andq	$-2, %rdx
	xorl	%ecx, %ecx
	movq	%r15, %rsi
	xorl	%r13d, %r13d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	addq	$2, %rcx
	addq	$48, %rsi
	cmpq	%rcx, %rdx
	je	LBB0_4
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rsi)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rsi, (%r14,%r13,8)
	incq	%r13
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%rax, 24(%rsi)
	je	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	24(%rsi), %rdi
	movq	%rdi, (%r14,%r13,8)
	incq	%r13
	jmp	LBB0_14
LBB0_19:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_20:
	xorl	%r12d, %r12d
LBB0_21:
	leaq	(%r12,%r12,2), %rbx
	leaq	(,%rbx,8), %rax
	leaq	(,%r13,2), %rcx
	addq	%r13, %rcx
	leaq	(%rax,%rcx,4), %rdi
	addq	$24, %rdi
	callq	_bfd_malloc
	testq	%rax, %rax
	je	LBB0_30
## %bb.22:
	movq	%rax, %r15
	movq	%r12, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	cmpb	$0, -48(%rbp)                   ## 1-byte Folded Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	je	LBB0_29
## %bb.23:
	leaq	(%r15,%rbx,8), %rcx
	addq	$24, %rcx
	leaq	24(%r15), %rax
	movq	%rcx, 40(%r15)
	movq	(%r14), %rdx
	movq	(%rdx), %rsi
	movq	%rsi, 32(%r15)
	movl	16(%rdx), %esi
	movl	%esi, 8(%rcx)
	movl	12(%rdx), %esi
	movl	%esi, 4(%rcx)
	movl	8(%rdx), %edx
	movl	%edx, (%rcx)
	movq	$1, 24(%r15)
	cmpq	$2, %r13
	jl	LBB0_29
## %bb.24:
	leaq	(%r15,%rbx,8), %rcx
	addq	$36, %rcx
	movl	$1, %esi
	movl	$8, %edx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	%rcx, 40(%rax)
	movq	$0, 24(%rax)
	movq	(%r14,%rdx), %rdi
	movq	(%rdi), %rsi
	movq	%rsi, 32(%rax)
	addq	$24, %rax
	xorl	%esi, %esi
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	movl	16(%rdi), %ebx
	movl	%ebx, 8(%rcx)
	movl	12(%rdi), %ebx
	movl	%ebx, 4(%rcx)
	movl	8(%rdi), %edi
	movl	%edi, (%rcx)
	incq	%rsi
	movq	%rsi, (%rax)
	addq	$12, %rcx
	leaq	(%r14,%rdx), %rdi
	addq	$8, %rdi
	addq	$8, %rdx
	cmpq	%r8, %rdi
	jae	LBB0_29
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	testq	%rdx, %rdx
	je	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	8(%rax), %rbx
	movq	(%r14,%rdx), %rdi
	cmpq	(%rdi), %rbx
	jne	LBB0_25
	jmp	LBB0_26
LBB0_29:
	subq	%r15, %rax
	sarq	$3, %rax
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rax, %rcx
	xorl	%edi, %edi
	cmpq	%r12, %rcx
	sete	%dil
	callq	_BFD_ASSERT
	jmp	LBB0_31
LBB0_30:
	xorl	%r15d, %r15d
LBB0_31:
	movq	%r14, %rdi
	callq	_free
LBB0_32:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHN_UNDEF,8,3                  ## @SHN_UNDEF
	.comm	_elf_sort_elf_symbol,4,2        ## @elf_sort_elf_symbol
	.no_dead_strip	_elf_create_symbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_create_symbuf
_elf_create_symbuf:                     ; @elf_create_symbuf
	.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	x21, x1
	mov	x22, x0
	mov	w1, #8
	bl	_bfd_malloc2
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	cbz	x22, LBB0_11
; %bb.2:
	mov	x20, #0
Lloh0:
	adrp	x8, _SHN_UNDEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHN_UNDEF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #24
	subs	x22, x22, #1
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	cmp	x9, x8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x21, [x19, x20, lsl #3]
	add	x20, x20, #1
	b	LBB0_3
LBB0_6:
	add	x22, x19, x20, lsl #3
Lloh3:
	adrp	x8, _elf_sort_elf_symbol@GOTPAGE
Lloh4:
	ldr	x8, [x8, _elf_sort_elf_symbol@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #8
	bl	_qsort
	cmp	x20, #1
	b.lt	LBB0_12
; %bb.7:
	sub	x8, x22, #8
	cmp	x19, x8
	b.hs	LBB0_13
; %bb.8:
	mov	x10, x19
	ldr	x9, [x10], #8
	ldr	x9, [x9]
	add	x11, x19, x20, lsl #3
	sub	x11, x11, #8
	cmp	x11, x10
	csel	x10, x11, x10, hi
	mvn	x11, x19
	add	x10, x10, x11
	cmp	x10, #24
	b.hs	LBB0_14
; %bb.9:
	mov	w23, #1
	mov	x10, x19
	b	LBB0_17
LBB0_10:
	mov	x21, #0
	b	LBB0_29
LBB0_11:
Lloh6:
	adrp	x8, _elf_sort_elf_symbol@GOTPAGE
Lloh7:
	ldr	x8, [x8, _elf_sort_elf_symbol@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_qsort
	mov	w24, #0
	mov	x20, #0
	mov	x23, #0
	mov	x22, x19
	b	LBB0_19
LBB0_12:
	mov	w24, #0
	mov	x23, #0
	b	LBB0_19
LBB0_13:
	mov	w24, #1
	mov	w23, #1
	b	LBB0_19
LBB0_14:
	mov	x15, #0
	mov	x14, #0
	mov	x13, #0
	lsr	x10, x10, #3
	add	x11, x10, #1
	and	x12, x11, #0x3ffffffffffffffc
	add	x10, x19, x12, lsl #3
	add	x16, x19, #16
	mov	w17, #1
	mov	x0, x12
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	x1, x2, [x16, #-8]
	ldp	x3, x4, [x16, #8]
	ldr	x1, [x1]
	ldr	x2, [x2]
	ldr	x3, [x3]
	cmp	x9, x1
	ldr	x9, [x4]
	cinc	x17, x17, ne
	cmp	x1, x2
	cinc	x15, x15, ne
	cmp	x2, x3
	cinc	x14, x14, ne
	cmp	x3, x9
	cinc	x13, x13, ne
	add	x16, x16, #32
	subs	x0, x0, #4
	b.ne	LBB0_15
; %bb.16:
	add	x15, x15, x17
	add	x14, x14, x15
	add	x23, x13, x14
	cmp	x11, x12
	b.eq	LBB0_18
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, #8]!
	ldr	x11, [x11]
	cmp	x9, x11
	cinc	x23, x23, ne
	mov	x9, x11
	cmp	x10, x8
	b.lo	LBB0_17
LBB0_18:
	mov	w24, #1
LBB0_19:
	mov	w8, #24
	mul	x8, x23, x8
	mov	w9, #12
	madd	x8, x20, x9, x8
	add	x0, x8, #24
	bl	_bfd_malloc
	mov	x21, x0
	cbz	x0, LBB0_28
; %bb.20:
	stp	xzr, xzr, [x21, #8]
	mov	x8, x21
	str	x23, [x21]
	cbz	w24, LBB0_27
; %bb.21:
	mov	w8, #24
	madd	x8, x23, x8, x21
	add	x9, x8, #24
	mov	w10, #1
	mov	x8, x21
	str	x10, [x8, #24]!
	str	x9, [x8, #16]
	ldr	x10, [x19]
	ldr	x11, [x10]
	str	x11, [x8, #8]
	ldr	w11, [x10, #16]
	str	w11, [x9, #8]
	ldr	d0, [x10, #8]
	str	d0, [x9]
	cmp	x20, #2
	b.lt	LBB0_27
; %bb.22:
	mov	w9, #24
	madd	x9, x23, x9, x21
	add	x9, x9, #36
	mov	w10, #1
	mov	w11, #8
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x10, #0
	str	xzr, [x8, #24]!
	str	x9, [x8, #16]
	ldr	x12, [x19, x11]
	ldr	x13, [x12]
	str	x13, [x8, #8]
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	w13, [x12, #16]
	str	w13, [x9, #8]
	ldr	d0, [x12, #8]
	str	d0, [x9], #12
	add	x10, x10, #1
	str	x10, [x8]
	add	x11, x11, #8
	add	x12, x19, x11
	cmp	x12, x22
	b.hs	LBB0_27
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	cbz	x11, LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x13, [x8, #8]
	ldr	x12, [x19, x11]
	ldr	x14, [x12]
	cmp	x13, x14
	b.ne	LBB0_23
	b	LBB0_24
LBB0_27:
	sub	x8, x8, x21
	asr	x8, x8, #3
	mov	x9, #-6148914691236517206
	movk	x9, #43691
	mul	x8, x8, x9
	cmp	x8, x23
	cset	w0, eq
	bl	_BFD_ASSERT
LBB0_28:
	mov	x0, x19
	bl	_free
LBB0_29:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SHN_UNDEF,8,3                  ; @SHN_UNDEF
	.comm	_elf_sort_elf_symbol,4,2        ; @elf_sort_elf_symbol
	.no_dead_strip	_elf_create_symbuf
.subsections_via_symbols
