	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_to_ar_sym_table
_add_to_ar_sym_table:                   ## @add_to_ar_sym_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)
	je	LBB0_1
## %bb.4:
	cmpq	$0, 16(%rbx)
	jne	LBB0_8
	jmp	LBB0_5
LBB0_1:
	movq	__INIT_SYMOFF_CAP@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	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:
	movl	(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	$0, 12(%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_8
LBB0_5:
	movq	__INIT_SYMNAME_CAP@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_malloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	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_7:
	movl	(%r15), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 32(%rbx)
LBB0_8:
	movslq	12(%rbx), %rax
	shlq	$3, %rax
	movslq	8(%rbx), %rsi
	cmpq	%rsi, %rax
	jb	LBB0_11
## %bb.9:
	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_11
## %bb.10:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	callq	_bsdar_errc
LBB0_11:
	movb	40(%rbx), %al
	movq	(%rbx), %rcx
	movslq	12(%rbx), %rdx
	movb	%al, (%rcx,%rdx)
	movsbq	40(%rbx), %rax
	cmpq	%rax, 48(%rbx)
	jge	LBB0_13
## %bb.12:
	movq	%rax, 48(%rbx)
LBB0_13:
	incl	12(%rbx)
	movq	32(%rbx), %r15
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%r15, %rax
	addq	$2, %rax
	movslq	24(%rbx), %rsi
	cmpq	%rsi, %rax
	jbe	LBB0_18
## %bb.14:
	movq	_errno@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	32(%rbx), %r12
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%r12, %rax
	addq	$2, %rax
	movslq	24(%rbx), %rsi
	cmpq	%rsi, %rax
	jbe	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	addl	%esi, %esi
	movl	%esi, 24(%rbx)
	movq	16(%rbx), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 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_17
LBB0_18:
	movq	16(%rbx), %r15
	addq	32(%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	16(%rbx), %rcx
	movq	32(%rbx), %rdx
	leaq	(%rdx,%rax), %rsi
	addq	%rdx, %rax
	incq	%rax
	movq	%rax, 32(%rbx)
	movb	$0, (%rcx,%rsi)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__INIT_SYMOFF_CAP,8,3           ## @_INIT_SYMOFF_CAP
	.comm	_EX_SOFTWARE,4,2                ## @EX_SOFTWARE
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failed"

	.comm	__INIT_SYMNAME_CAP,8,3          ## @_INIT_SYMNAME_CAP
L_.str.1:                               ## @.str.1
	.asciz	"realloc failed"

	.no_dead_strip	_add_to_ar_sym_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_sym_table
_add_to_ar_sym_table:                   ; @add_to_ar_sym_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]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_8
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x21, __INIT_SYMOFF_CAP@GOTPAGE
Lloh1:
	ldr	x21, [x21, __INIT_SYMOFF_CAP@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_malloc
	str	x0, [x19]
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _errno@GOTPAGE
Lloh6:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_bsdar_errc
LBB0_4:
	ldr	x8, [x21]
	stp	w8, wzr, [x19, #8]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_8
LBB0_5:
Lloh10:
	adrp	x21, __INIT_SYMNAME_CAP@GOTPAGE
Lloh11:
	ldr	x21, [x21, __INIT_SYMNAME_CAP@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_malloc
	str	x0, [x19, #16]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_bsdar_errc
LBB0_7:
	ldr	x8, [x21]
	str	w8, [x19, #24]
	str	xzr, [x19, #32]
LBB0_8:
	ldpsw	x8, x9, [x19, #8]
	cmp	x8, x9, lsl #3
	b.hi	LBB0_11
; %bb.9:
	lsl	w1, w8, #1
	str	w1, [x19, #8]
	ldr	x0, [x19]
	bl	_realloc
	str	x0, [x19]
	cbnz	x0, LBB0_11
; %bb.10:
Lloh20:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x8, _errno@GOTPAGE
Lloh24:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x3, l_.str.1@PAGE
Lloh27:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_bsdar_errc
LBB0_11:
	ldrb	w8, [x19, #40]
	ldr	x9, [x19]
	ldrsw	x10, [x19, #12]
	strb	w8, [x9, x10]
	ldrsb	x8, [x19, #40]
	ldr	x9, [x19, #48]
	cmp	x9, x8
	b.ge	LBB0_13
; %bb.12:
	str	x8, [x19, #48]
LBB0_13:
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldr	x21, [x19, #32]
	mov	x0, x20
	bl	_strlen
	add	x8, x21, w0, sxtw
	add	x9, x8, #2
	ldrsw	x8, [x19, #24]
	cmp	x9, x8
	b.ls	LBB0_18
; %bb.14:
Lloh28:
	adrp	x22, _EX_SOFTWARE@GOTPAGE
Lloh29:
	ldr	x22, [x22, _EX_SOFTWARE@GOTPAGEOFF]
Lloh30:
	adrp	x23, _errno@GOTPAGE
Lloh31:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
Lloh32:
	adrp	x21, l_.str.1@PAGE
Lloh33:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x24, [x19, #32]
	mov	x0, x20
	bl	_strlen
	add	x8, x24, w0, sxtw
	add	x9, x8, #2
	ldrsw	x8, [x19, #24]
	cmp	x9, x8
	b.ls	LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	lsl	w1, w8, #1
	str	w1, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_realloc
	str	x0, [x19, #16]
	cbnz	x0, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w1, [x22]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x3, x21
	bl	_bsdar_errc
	b	LBB0_15
LBB0_18:
	ldr	x8, [x19, #16]
	ldr	x9, [x19, #32]
	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, #32]
	add	x8, x8, w0, sxtw
	ldr	x9, [x19, #16]
	add	x10, x8, #1
	str	x10, [x19, #32]
	strb	wzr, [x9, x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	__INIT_SYMOFF_CAP,8,3           ; @_INIT_SYMOFF_CAP
	.comm	_EX_SOFTWARE,4,2                ; @EX_SOFTWARE
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failed"

	.comm	__INIT_SYMNAME_CAP,8,3          ; @_INIT_SYMNAME_CAP
l_.str.1:                               ; @.str.1
	.asciz	"realloc failed"

	.no_dead_strip	_add_to_ar_sym_table
.subsections_via_symbols
