	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_file_name
_add_file_name:                         ## @add_file_name
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	%eax, 4(%rbx)
	jge	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	jmp	LBB0_6
LBB0_1:
	movl	$1, (%rbx)
	movl	$24, %edi
	callq	_xmalloc
	jmp	LBB0_5
LBB0_4:
	leal	(%rax,%rax), %ecx
	movl	%ecx, (%rbx)
	movq	8(%rbx), %rdi
	shll	$4, %eax
	leal	(%rax,%rax,2), %esi
	callq	_xrealloc
LBB0_5:
	movq	%rax, 8(%rbx)
LBB0_6:
	movslq	4(%rbx), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 4(%rbx)
	leaq	(%rcx,%rcx,2), %rcx
	movq	%r13, (%rax,%rcx,8)
	movl	%r12d, 8(%rax,%rcx,8)
	movl	%r15d, 12(%rax,%rcx,8)
	movl	%r14d, 16(%rax,%rcx,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_file_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_file_name
_add_file_name:                         ; @add_file_name
	.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	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w9, [x23, #4]
	cmp	w9, w8
	b.ge	LBB0_4
; %bb.2:
	ldr	x0, [x23, #8]
	b	LBB0_6
LBB0_3:
	mov	w8, #1
	str	w8, [x23]
	mov	w0, #24
	bl	_xmalloc
	b	LBB0_5
LBB0_4:
	lsl	w9, w8, #1
	str	w9, [x23]
	ldr	x0, [x23, #8]
	add	w8, w9, w8
	lsl	w1, w8, #4
	bl	_xrealloc
LBB0_5:
	str	x0, [x23, #8]
LBB0_6:
	ldrsw	x8, [x23, #4]
	add	w9, w8, #1
	str	w9, [x23, #4]
	mov	w9, #24
	madd	x8, x8, x9, x0
	str	x22, [x8]
	stp	w21, w20, [x8, #8]
	str	w19, [x8, #16]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_file_name
.subsections_via_symbols
