	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_collect_hash_codes
_elf_collect_hash_codes:                ## @elf_collect_hash_codes
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	16(%rdi), %rax
	movq	_bfd_link_hash_warning@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	32(%r13), %r13
LBB0_2:
	cmpl	$-1, (%r13)
	je	LBB0_8
## %bb.3:
	movq	24(%r13), %r15
	movq	_ELF_VER_CHR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	subq	%r15, %rbx
	leal	1(%rbx), %edi
	callq	_bfd_malloc
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movb	$0, (%r12,%rbx)
	movq	%r12, %r15
	jmp	LBB0_6
LBB0_4:
	xorl	%r12d, %r12d
LBB0_6:
	movq	%r15, %rdi
	callq	_bfd_elf_hash
	movq	(%r14), %rcx
	leaq	8(%rcx), %rdx
	movq	%rdx, (%r14)
	movq	%rax, (%rcx)
	movq	%rax, 8(%r13)
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:
	movq	%r12, %rdi
	callq	_free
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_link_hash_warning,8,3      ## @bfd_link_hash_warning
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_ELF_VER_CHR,4,2                ## @ELF_VER_CHR
	.no_dead_strip	_elf_collect_hash_codes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_collect_hash_codes
_elf_collect_hash_codes:                ; @elf_collect_hash_codes
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _bfd_link_hash_warning@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_link_hash_warning@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x20, [x20, #32]
LBB0_2:
	ldr	w8, [x20]
	cmn	w8, #1
	b.eq	LBB0_8
; %bb.3:
	ldr	x21, [x20, #24]
Lloh3:
	adrp	x8, _ELF_VER_CHR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ELF_VER_CHR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:
	sub	x23, x0, x21
	add	w0, w23, #1
	bl	_bfd_malloc
	mov	x22, x0
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	strb	wzr, [x22, x23]
	mov	x21, x22
	b	LBB0_6
LBB0_5:
	mov	x22, #0
LBB0_6:
	mov	x0, x21
	bl	_bfd_elf_hash
	ldr	x8, [x19]
	str	x0, [x8], #8
	str	x8, [x19]
	str	x0, [x20, #8]
	cbz	x22, LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_free
LBB0_8:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	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	_bfd_link_hash_warning,8,3      ; @bfd_link_hash_warning
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_ELF_VER_CHR,4,2                ; @ELF_VER_CHR
	.no_dead_strip	_elf_collect_hash_codes
.subsections_via_symbols
