	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_symtab
_set_symtab:                            ## @set_symtab
	.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	_symbol_rootP@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_symbol_next
	incq	%r15
	addl	$8, %ebx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_stdoutput@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_bfd_alloc
	movq	%rax, %r14
	movq	(%r12), %r13
	movq	%r15, %r12
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_symbol_get_bfdsym
	movq	%rax, (%rbx)
	movq	%r13, %rdi
	callq	_symbol_mark_written
	movq	%r13, %rdi
	callq	_symbol_next
	movq	%rax, %r13
	addq	$8, %rbx
	decq	%r12
	jne	LBB0_5
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_6:
	movq	_stdoutput@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_bfd_set_symtab
	movl	%eax, %edi
	callq	_assert
	movq	_symbol_table_frozen@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_symbol_rootP,8,3               ## @symbol_rootP
	.comm	_stdoutput,4,2                  ## @stdoutput
	.comm	_symbol_table_frozen,4,2        ## @symbol_table_frozen
	.no_dead_strip	_set_symtab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_symtab
_set_symtab:                            ; @set_symtab
	.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
Lloh0:
	adrp	x21, _symbol_rootP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _symbol_rootP@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh2:
	adrp	x22, _stdoutput@GOTPAGE
Lloh3:
	ldr	x22, [x22, _stdoutput@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.1:
	mov	w20, #0
	mov	x19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_symbol_next
	add	x19, x19, #1
	add	w20, w20, #8
	cbnz	x0, LBB0_2
; %bb.3:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_bfd_alloc
	mov	x20, x0
	ldr	x21, [x21]
	mov	x23, x19
	mov	x24, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_symbol_get_bfdsym
	str	x0, [x24], #8
	mov	x0, x21
	bl	_symbol_mark_written
	mov	x0, x21
	bl	_symbol_next
	mov	x21, x0
	subs	x23, x23, #1
	b.ne	LBB0_4
	b	LBB0_6
LBB0_5:
	mov	w19, #0
	mov	x20, #0
LBB0_6:
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x19
	bl	_bfd_set_symtab
	bl	_assert
Lloh4:
	adrp	x8, _symbol_table_frozen@GOTPAGE
Lloh5:
	ldr	x8, [x8, _symbol_table_frozen@GOTPAGEOFF]
	mov	w9, #1
Lloh6:
	str	w9, [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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_symbol_rootP,8,3               ; @symbol_rootP
	.comm	_stdoutput,4,2                  ; @stdoutput
	.comm	_symbol_table_frozen,4,2        ; @symbol_table_frozen
	.no_dead_strip	_set_symtab
.subsections_via_symbols
