	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_to_ar_str_table
_add_to_ar_str_table:                   ## @add_to_ar_str_table
	.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	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	__INIT_AS_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 8(%rbx)
	movq	$0, 16(%rbx)
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_bsdar_errc
LBB0_3:
	movq	16(%rbx), %r15
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%r15, %rax
	addq	$3, %rax
	movslq	8(%rbx), %rsi
	cmpq	%rsi, %rax
	jbe	LBB0_8
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %r12
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%r12, %rax
	addq	$3, %rax
	movslq	8(%rbx), %rsi
	cmpq	%rsi, %rax
	jbe	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	%esi, %esi
	movl	%esi, 8(%rbx)
	movq	(%rbx), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movq	%r15, %rcx
	callq	_bsdar_errc
	jmp	LBB0_7
LBB0_8:
	movq	(%rbx), %r15
	addq	16(%rbx), %r15
	movq	%r14, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncpy
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	leaq	(%rdx,%rax), %rsi
	leaq	1(%rdx,%rax), %rax
	movq	%rax, 16(%rbx)
	movb	$47, (%rcx,%rsi)
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, 16(%rbx)
	movb	$10, (%rax,%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__INIT_AS_CAP,4,2               ## @_INIT_AS_CAP
	.comm	_EX_SOFTWARE,4,2                ## @EX_SOFTWARE
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed"

L_.str.1:                               ## @.str.1
	.asciz	"realloc failed"

	.no_dead_strip	_add_to_ar_str_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_to_ar_str_table
_add_to_ar_str_table:                   ; @add_to_ar_str_table
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, __INIT_AS_CAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, __INIT_AS_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [x19, #8]
	str	xzr, [x19, #16]
	bl	_malloc
	str	x0, [x19]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _errno@GOTPAGE
Lloh7:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_bsdar_errc
LBB0_3:
	ldr	x21, [x19, #16]
	mov	x0, x20
	bl	_strlen
	add	x8, x21, w0, sxtw
	add	x9, x8, #3
	ldrsw	x8, [x19, #8]
	cmp	x9, x8
	b.ls	LBB0_8
; %bb.4:
Lloh11:
	adrp	x22, _EX_SOFTWARE@GOTPAGE
Lloh12:
	ldr	x22, [x22, _EX_SOFTWARE@GOTPAGEOFF]
Lloh13:
	adrp	x23, _errno@GOTPAGE
Lloh14:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
Lloh15:
	adrp	x21, l_.str.1@PAGE
Lloh16:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x24, [x19, #16]
	mov	x0, x20
	bl	_strlen
	add	x8, x24, w0, sxtw
	add	x9, x8, #3
	ldrsw	x8, [x19, #8]
	cmp	x9, x8
	b.ls	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w1, w8, #1
	str	w1, [x19, #8]
	ldr	x0, [x19]
	bl	_realloc
	str	x0, [x19]
	cbnz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x3, x21
	bl	_bsdar_errc
	b	LBB0_5
LBB0_8:
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	add	x21, x8, x9
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_strncpy
	mov	x0, x20
	bl	_strlen
	ldr	x8, [x19, #16]
	add	x8, x8, w0, sxtw
	ldr	x9, [x19]
	add	x10, x8, #1
	str	x10, [x19, #16]
	mov	w10, #47
	strb	w10, [x9, x8]
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	add	x10, x9, #1
	str	x10, [x19, #16]
	mov	w10, #10
	strb	w10, [x8, x9]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	__INIT_AS_CAP,4,2               ; @_INIT_AS_CAP
	.comm	_EX_SOFTWARE,4,2                ; @EX_SOFTWARE
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed"

l_.str.1:                               ; @.str.1
	.asciz	"realloc failed"

	.no_dead_strip	_add_to_ar_str_table
.subsections_via_symbols
