	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_text_to_macro
_add_text_to_macro:                     ## @add_text_to_macro
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_top_macro
	movq	%rax, %r12
	movq	16(%rax), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	movl	(%r12), %eax
	movl	4(%r12), %ecx
	movl	%eax, %edx
	subl	%ecx, %edx
	leal	1(%r14), %ebx
	cmpl	%ebx, %edx
	jle	LBB0_2
## %bb.1:
	movq	8(%r12), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_ALLOCBLOCKSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ebx, %ecx
	cmovgl	%ecx, %ebx
	addl	%eax, %ebx
	movq	8(%r12), %rdi
	movl	%ebx, %esi
	callq	_pp_xrealloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, 8(%r12)
	movl	%ebx, (%r12)
	movl	4(%r12), %ecx
LBB0_4:
	movslq	%ecx, %rdi
	addq	%rax, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movslq	4(%r12), %rax
	movslq	%r14d, %rcx
	addq	%rax, %rcx
	movl	%ecx, 4(%r12)
	movq	8(%r12), %rax
	movb	$0, (%rax,%rcx)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALLOCBLOCKSIZE,4,2             ## @ALLOCBLOCKSIZE
	.no_dead_strip	_add_text_to_macro
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_text_to_macro
_add_text_to_macro:                     ; @add_text_to_macro
	.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, x1
	mov	x21, x0
	bl	_top_macro
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldp	w9, w8, [x20]
	add	w10, w19, #1
	sub	w11, w9, w8
	cmp	w11, w10
	b.le	LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	b	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _ALLOCBLOCKSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALLOCBLOCKSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w10
	csel	w8, w8, w10, gt
	add	w22, w8, w9
	ldr	x0, [x20, #8]
	mov	x1, x22
	bl	_pp_xrealloc
	cbz	x0, LBB0_5
; %bb.3:
	str	x0, [x20, #8]
	str	w22, [x20]
	ldr	w8, [x20, #4]
LBB0_4:
	add	x0, x0, w8, sxtw
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	ldrsw	x8, [x20, #4]
	add	x8, x8, w19, sxtw
	str	w8, [x20, #4]
	ldr	x9, [x20, #8]
	strb	wzr, [x9, x8]
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALLOCBLOCKSIZE,4,2             ; @ALLOCBLOCKSIZE
	.no_dead_strip	_add_text_to_macro
.subsections_via_symbols
