	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addarg
_addarg:                                ## @addarg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_argcount@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_argmax@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_moreargs
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	_arglist@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r14), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%r14)
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_5
LBB0_4:
	movq	_arglist@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%r14)
	movq	$0, (%rax,%rcx,8)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_argcount,8,3                   ## @argcount
	.comm	_argmax,8,3                     ## @argmax
	.comm	_arglist,8,3                    ## @arglist
	.no_dead_strip	_addarg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addarg
_addarg:                                ; @addarg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _argcount@GOTPAGE
Lloh1:
	ldr	x20, [x20, _argcount@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _argmax@GOTPAGE
Lloh3:
	ldr	x9, [x9, _argmax@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.1:
	bl	_moreargs
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_xstrdup
Lloh5:
	adrp	x8, _arglist@GOTPAGE
Lloh6:
	ldr	x8, [x8, _arglist@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x10, x9, #1
	str	x10, [x20]
	str	x0, [x8, x9, lsl #3]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _arglist@GOTPAGE
Lloh9:
	ldr	x8, [x8, _arglist@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x10, x9, #1
	str	x10, [x20]
	str	xzr, [x8, x9, lsl #3]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_argcount,8,3                   ; @argcount
	.comm	_argmax,8,3                     ; @argmax
	.comm	_arglist,8,3                    ; @arglist
	.no_dead_strip	_addarg
.subsections_via_symbols
