	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.1:
	movl	$96, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_net@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fatal
LBB0_3:
	movq	%r15, %rbx
	addq	$8, %rbx
	movq	$10, (%r15)
	movq	$0, 8(%r15)
LBB0_4:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx,%rax)
	leaq	8(%rax), %rax
	jne	LBB0_5
## %bb.6:
	movq	-8(%rbx), %rcx
	leaq	8(,%rcx,8), %rdx
	cmpq	%rax, %rdx
	je	LBB0_8
## %bb.7:
	leaq	(%rbx,%rax), %r15
	addq	$-8, %r15
	jmp	LBB0_11
LBB0_8:
	addq	$-8, %rbx
	leaq	10(%rcx), %rax
	movq	%rax, (%rbx)
	leal	96(,%rcx,8), %esi
	movq	%rbx, %rdi
	callq	_realloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_net@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fatal
LBB0_10:
	movq	(%rbx), %rax
	leaq	(%rbx,%rax,8), %r15
	addq	$-72, %r15
	addq	$8, %rbx
LBB0_11:
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	_net@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fatal
LBB0_13:
	movq	$0, 8(%r15)
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_net,4,2                        ## @net
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failure allocating argument space"

	.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	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	x19, x1
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.1:
	mov	w0, #96
	bl	_malloc
	mov	x21, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _net@GOTPAGE
Lloh1:
	ldr	x8, [x8, _net@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fatal
LBB0_3:
	mov	x20, x21
	str	xzr, [x20, #8]!
	mov	w8, #10
	str	x8, [x21]
LBB0_4:
	mov	x8, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, x8]
	add	x8, x8, #8
	cbnz	x9, LBB0_5
; %bb.6:
	mov	x0, x20
	ldr	x9, [x0, #-8]!
	lsl	x10, x9, #3
	add	x10, x10, #8
	cmp	x10, x8
	b.eq	LBB0_8
; %bb.7:
	add	x8, x20, x8
	sub	x21, x8, #8
	b	LBB0_11
LBB0_8:
	add	x8, x9, #10
	str	x8, [x0]
	lsl	w8, w9, #3
	add	w1, w8, #96
	bl	_realloc
	mov	x20, x0
	cbnz	x0, LBB0_10
; %bb.9:
Lloh5:
	adrp	x8, _net@GOTPAGE
Lloh6:
	ldr	x8, [x8, _net@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fatal
LBB0_10:
	ldr	x8, [x20], #8
	add	x8, x20, x8, lsl #3
	sub	x21, x8, #80
LBB0_11:
	mov	x0, x19
	bl	_strdup
	str	x0, [x21]
	cbnz	x0, LBB0_13
; %bb.12:
Lloh10:
	adrp	x8, _net@GOTPAGE
Lloh11:
	ldr	x8, [x8, _net@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fatal
LBB0_13:
	str	xzr, [x21, #8]
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_net,4,2                        ; @net
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failure allocating argument space"

	.no_dead_strip	_addarg
.subsections_via_symbols
