	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addsym
_addsym:                                ## @addsym
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	%rdx, %rdi
	callq	_findsym
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jns	LBB0_4
## %bb.1:
	movq	_nsyms@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_MAXSYMS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	callq	_errx
	movq	(%r12), %rax
LBB0_3:
	leaq	1(%rax), %rcx
	movq	%rcx, (%r12)
LBB0_4:
	movq	_symname@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%eax, %r12
	movq	%rbx, (%rcx,%r12,8)
	movq	_ignore@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, (%rax,%r12,4)
	movq	%rbx, %rdi
	callq	_skipsym
	movb	(%rax), %cl
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.5:
	testb	%cl, %cl
	je	LBB0_8
## %bb.6:
	cmpb	$61, %cl
	jne	LBB0_9
## %bb.7:
	movq	%rax, %rcx
	incq	%rcx
	movq	_value@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdx,%r12,8)
	movb	$0, (%rax)
	jmp	LBB0_13
LBB0_10:
	testb	%cl, %cl
	je	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	callq	_usage
LBB0_12:
	movq	_value@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, (%rax,%r12,8)
	jmp	LBB0_13
LBB0_8:
	movq	_value@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	L_.str.1(%rip), %rcx
	movq	%rcx, (%rax,%r12,8)
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usage                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nsyms,8,3                      ## @nsyms
	.comm	_MAXSYMS,8,3                    ## @MAXSYMS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many symbols"

	.comm	_symname,8,3                    ## @symname
	.comm	_ignore,8,3                     ## @ignore
	.comm	_value,8,3                      ## @value
L_.str.1:                               ## @.str.1
	.space	1

	.no_dead_strip	_addsym
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addsym
_addsym:                                ; @addsym
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x2
	bl	_findsym
                                        ; kill: def $w0 killed $w0 def $x0
	tbz	w0, #31, LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, _nsyms@GOTPAGE
Lloh1:
	ldr	x22, [x22, _nsyms@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh2:
	adrp	x8, _MAXSYMS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAXSYMS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_3
; %bb.2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_errx
	ldr	x0, [x22]
LBB0_3:
	add	x8, x0, #1
	str	x8, [x22]
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
LBB0_4:
Lloh7:
	adrp	x8, _symname@GOTPAGE
Lloh8:
	ldr	x8, [x8, _symname@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x20, [x8, w0, sxtw #3]
	sxtw	x22, w0
Lloh10:
	adrp	x8, _ignore@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ignore@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	w21, [x8, w0, sxtw #2]
	mov	x0, x20
	bl	_skipsym
	ldrb	w8, [x0]
	cbz	w19, LBB0_8
; %bb.5:
	cbz	w8, LBB0_11
; %bb.6:
	cmp	w8, #61
	b.ne	LBB0_13
; %bb.7:
	add	x8, x0, #1
Lloh13:
	adrp	x9, _value@GOTPAGE
Lloh14:
	ldr	x9, [x9, _value@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	str	x8, [x9, x22, lsl #3]
	strb	wzr, [x0]
	b	LBB0_12
LBB0_8:
	cbz	w8, LBB0_10
; %bb.9:
	bl	_usage
LBB0_10:
Lloh16:
	adrp	x8, _value@GOTPAGE
Lloh17:
	ldr	x8, [x8, _value@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	xzr, [x8, x22, lsl #3]
	b	LBB0_12
LBB0_11:
Lloh19:
	adrp	x8, _value@GOTPAGE
Lloh20:
	ldr	x8, [x8, _value@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
Lloh22:
	adrp	x9, l_.str.1@PAGE
Lloh23:
	add	x9, x9, l_.str.1@PAGEOFF
	str	x9, [x8, x22, lsl #3]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_usage
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_nsyms,8,3                      ; @nsyms
	.comm	_MAXSYMS,8,3                    ; @MAXSYMS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many symbols"

	.comm	_symname,8,3                    ; @symname
	.comm	_ignore,8,3                     ; @ignore
	.comm	_value,8,3                      ; @value
l_.str.1:                               ; @.str.1
	.space	1

	.no_dead_strip	_addsym
.subsections_via_symbols
