	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_string
_handle_string:                         ## @handle_string
	.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	%rbx
	subq	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_EOF@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movb	$1, %bl
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_input
	cmpl	(%r15), %eax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	testb	$1, %bl
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	xorl	%ebx, %ebx
	cmpl	$92, %eax
	je	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$34, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$10, %eax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edx
	movl	%r14d, %ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%r14), %ecx
	movl	%r14d, %edx
	movb	$92, -1056(%rbp,%rdx)
	movl	$2, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	%edx, %r14d
	movslq	%ecx, %rcx
	movb	%al, -1056(%rbp,%rcx)
	jmp	LBB0_1
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	_error_message
	movq	_lineno@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_11:
	movl	%r14d, %eax
	movb	$0, -1056(%rbp,%rax)
	leaq	-1056(%rbp), %rdi
	callq	_strdup
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unterminated string"

	.comm	_lineno,4,2                     ## @lineno
	.no_dead_strip	_handle_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_string
_handle_string:                         ; @handle_string
	.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
	sub	sp, sp, #1040
	mov	w19, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x20, _EOF@GOTPAGE
Lloh4:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
	add	x21, sp, #8
	mov	w22, #92
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	w23, #1
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	bl	_input
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	tbz	w23, #0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	w23, #0
	cmp	w0, #92
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #34
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #10
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w9, #1
	mov	x8, x19
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w19, #1
	strb	w22, [x21, w19, uxtw]
	mov	w9, #2
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	w19, w19, w9
	strb	w0, [x21, w8, sxtw]
	b	LBB0_1
LBB0_10:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error_message
Lloh7:
	adrp	x8, _lineno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lineno@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_11:
	add	x8, sp, #8
	strb	wzr, [x8, w19, uxtw]
	add	x0, sp, #8
	bl	_strdup
	ldur	x8, [x29, #-56]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	add	sp, sp, #1040
	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
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unterminated string"

	.comm	_lineno,4,2                     ; @lineno
	.no_dead_strip	_handle_string
.subsections_via_symbols
