	.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, %r13
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	__INIT_AS_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 8(%r13)
	movq	$0, 16(%r13)
	callq	_malloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_bsdar_errc
LBB0_3:
	movq	16(%r13), %r15
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%r15, %rax
	addq	$3, %rax
	movslq	8(%r13), %rsi
	cmpq	%rsi, %rax
	jbe	LBB0_8
## %bb.4:
	movq	_errno@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %rbx
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%rbx, %rax
	addq	$3, %rax
	movslq	8(%r13), %rsi
	cmpq	%rsi, %rax
	jbe	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addl	%esi, %esi
	movl	%esi, 8(%r13)
	movq	(%r13), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_bsdar_errc
	jmp	LBB0_7
LBB0_8:
	movq	(%r13), %r15
	addq	16(%r13), %r15
	movq	%r14, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_strncpy
	movq	%r14, %rdi
	callq	_strlen
	cltq
	movq	(%r13), %rcx
	movq	16(%r13), %rdx
	leaq	(%rdx,%rax), %rsi
	leaq	1(%rdx,%rax), %rax
	movq	%rax, 16(%r13)
	movb	$47, (%rcx,%rsi)
	movq	(%r13), %rax
	movq	16(%r13), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, 16(%r13)
	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	_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, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, 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:
Lloh8:
	adrp	x22, _errno@GOTPAGE
Lloh9:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh10:
	adrp	x21, l_.str.1@PAGE
Lloh11:
	add	x21, x21, l_.str.1@PAGEOFF
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x19, #16]
	mov	x0, x20
	bl	_strlen
	add	x8, x23, 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]
	mov	x0, x19
	mov	x2, 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	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	__INIT_AS_CAP,4,2               ; @_INIT_AS_CAP
	.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
