	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_symbol
_add_symbol:                            ## @add_symbol
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_nsyms@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_maxsyms@GOTPCREL(%rip), %rdx
	movl	(%rdx), %eax
	cmpl	%eax, %ecx
	jge	LBB0_2
## %bb.1:
	movq	_symbol_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
LBB0_2:
	leal	10000(%rax), %ecx
	movl	%ecx, (%rdx)
	movq	_symbol_table@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	leal	80000(,%rax,8), %eax
	leal	(%rax,%rax,2), %esi
	callq	_realloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r12), %ecx
LBB0_4:
	leal	1(%rcx), %edx
	movl	%edx, (%r12)
	movslq	%ecx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	%rbx, (%rax,%rcx,8)
	movq	%r15, 8(%rax,%rcx,8)
	movq	%r14, 16(%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$3, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_nsyms,4,2                      ## @nsyms
	.comm	_maxsyms,4,2                    ## @maxsyms
	.comm	_symbol_table,8,3               ## @symbol_table
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"can't allocate symbol table\n"

	.no_dead_strip	_add_symbol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_symbol
_add_symbol:                            ; @add_symbol
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _nsyms@GOTPAGE
Lloh1:
	ldr	x22, [x22, _nsyms@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _maxsyms@GOTPAGE
Lloh3:
	ldr	x9, [x9, _maxsyms@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w8, w10
	b.ge	LBB0_2
; %bb.1:
Lloh4:
	adrp	x9, _symbol_table@GOTPAGE
Lloh5:
	ldr	x9, [x9, _symbol_table@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x9]
	b	LBB0_4
LBB0_2:
	mov	w8, #10000
	add	w8, w10, w8
	str	w8, [x9]
Lloh7:
	adrp	x23, _symbol_table@GOTPAGE
Lloh8:
	ldr	x23, [x23, _symbol_table@GOTPAGEOFF]
	ldr	x0, [x23]
	add	w8, w8, w8, lsl #1
	lsl	w1, w8, #3
	bl	_realloc
	str	x0, [x23]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w8, [x22]
LBB0_4:
	add	w9, w8, #1
	str	w9, [x22]
	mov	w9, #24
	smaddl	x8, w8, w9, x0
	stp	x21, x20, [x8]
	str	x19, [x8, #16]
	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_5:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #3
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_nsyms,4,2                      ; @nsyms
	.comm	_maxsyms,4,2                    ; @maxsyms
	.comm	_symbol_table,8,3               ; @symbol_table
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"can't allocate symbol table\n"

	.no_dead_strip	_add_symbol
.subsections_via_symbols
