	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compile_text
_compile_text:                          ## @compile_text
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__POSIX2_LINE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leal	(%rbx,%rbx), %edi
	incl	%edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_cu_fgets
	testq	%rax, %rax
	je	LBB0_19
## %bb.3:
	movq	%r12, %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movl	$1, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rbx
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%edx, %edx
	callq	_cu_fgets
	testq	%rax, %rax
	je	LBB0_19
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movslq	%r13d, %rax
	addq	%r15, %rax
	movq	%rbx, %r12
	movq	%rbx, %rcx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	testb	%bl, %bl
	je	LBB0_7
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movb	%bl, (%rax)
	incq	%rax
	incq	%rcx
	incl	%r13d
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rcx), %ebx
	cmpb	$92, %bl
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	movzbl	1(%rcx), %ebx
	testb	%bl, %bl
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=2
	incq	%rcx
	cmpb	$10, %bl
	cmovel	%r14d, %edx
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movb	$92, %bl
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%edx, %edx
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %eax
	subl	%r13d, %eax
	movq	__POSIX2_LINE_MAX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	%esi, %esi
	movq	%r15, %rdi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	callq	_realloc
	testq	%rax, %rax
	movq	%r12, %rbx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r15
	jmp	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_err
	xorl	%r15d, %r15d
	jmp	LBB0_18
LBB0_8:
	movb	$0, (%rax)
LBB0_19:
	movslq	%r13d, %rsi
	movb	$0, (%r15,%rsi)
	incl	%esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_21
## %bb.20:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__POSIX2_LINE_MAX,4,2           ## @_POSIX2_LINE_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc"

L_.str.1:                               ## @.str.1
	.asciz	"realloc"

	.no_dead_strip	_compile_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compile_text
_compile_text:                          ; @compile_text
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, __POSIX2_LINE_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, __POSIX2_LINE_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w19, w8, #1
	mov	x9, x19
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x19, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
	mov	w21, #1
	bfi	w21, w8, #1, #31
	mov	x0, x21
	bl	_malloc
	mov	x22, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	bl	_cu_fgets
	mov	w25, #0
	cbz	x0, LBB0_15
; %bb.3:
	mov	w26, #92
Lloh9:
	adrp	x23, l_.str.1@PAGE
Lloh10:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	bl	_cu_fgets
	cbz	x0, LBB0_15
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	w8, #0
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	sxtw	x25, w25
	mov	x9, x20
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x11, x9
	ldrb	w10, [x11, #1]!
	cmp	w10, #10
	csinc	w12, w8, wzr, ne
	cmp	w10, #0
	csel	w10, w26, w10, eq
	csel	x9, x9, x11, eq
	csel	w8, w8, w12, eq
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	strb	w10, [x22, x25]
	add	x9, x9, #1
	add	x25, x25, #1
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x9]
	cmp	w10, #92
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cbnz	w10, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	w8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	sub	w9, w21, w25
	cmp	w9, w8
	b.gt	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	lsl	w21, w21, #1
	mov	x0, x22
	mov	x1, x21
	bl	_realloc
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	x1, x23
	bl	_err
	b	LBB0_4
LBB0_14:
	strb	wzr, [x22, x25]
LBB0_15:
	strb	wzr, [x22, w25, sxtw]
	add	w1, w25, #1
	mov	x0, x22
	bl	_realloc
	mov	x19, x0
	cbnz	x0, LBB0_17
; %bb.16:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_17:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x19
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	__POSIX2_LINE_MAX,4,2           ; @_POSIX2_LINE_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc"

l_.str.1:                               ; @.str.1
	.asciz	"realloc"

	.no_dead_strip	_compile_text
.subsections_via_symbols
