	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc_ast_add_tag                ## -- Begin function mpc_ast_add_tag
	.p2align	4, 0x90
_mpc_ast_add_tag:                       ## @mpc_ast_add_tag
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	(%rbx), %r15
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	(%rbx), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %esi
	addl	$2, %esi
	movq	%r15, %rdi
	callq	_realloc
	movq	%rax, %r15
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_strlen
	cltq
	addq	%rax, %r15
	incq	%r15
	movq	(%rbx), %r12
	movq	%r12, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_memmove
	movq	(%rbx), %r15
	movq	%r14, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_memmove
	movq	(%rbx), %r15
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rdi
	addq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$1, %edx
	callq	_memmove
LBB0_2:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"|"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc_ast_add_tag                ; -- Begin function mpc_ast_add_tag
	.p2align	2
_mpc_ast_add_tag:                       ; @mpc_ast_add_tag
	.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, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x1
	ldr	x21, [x19]
	mov	x0, x1
	bl	_strlen
	mov	x22, x0
	ldr	x0, [x19]
	bl	_strlen
	add	w8, w22, w0
	add	w1, w8, #2
	mov	x0, x21
	bl	_realloc
	mov	x21, x0
	str	x0, [x19]
	mov	x0, x20
	bl	_strlen
	add	x8, x21, w0, sxtw
	add	x21, x8, #1
	ldr	x22, [x19]
	mov	x0, x22
	bl	_strlen
	add	w2, w0, #1
	mov	x0, x21
	mov	x1, x22
	bl	_memmove
	ldr	x21, [x19]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_memmove
	ldr	x21, [x19]
	mov	x0, x20
	bl	_strlen
	add	x0, x21, w0, sxtw
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #1
	bl	_memmove
LBB0_2:
	mov	x0, x19
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"|"

.subsections_via_symbols
