	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getstring
_getstring:                             ## @getstring
	.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	$136, %rsp
	.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_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	testb	$1, %bl
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	xorl	%ebx, %ebx
	cmpl	$92, %eax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$34, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$10, %eax
	je	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	%al, -160(%rbp,%r14)
	incq	%r14
	cmpq	$127, %r14
	jne	LBB0_1
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	__lex_error_message
	movq	_lineno@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_9:
	movl	%r14d, %eax
	movb	$0, -160(%rbp,%rax)
	leaq	-160(%rbp), %rdi
	callq	_strdup
	movq	_yylval@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_11:
	movq	_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$136, %rsp
	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
	.comm	_yylval,8,3                     ## @yylval
L_.str.1:                               ## @.str.1
	.asciz	"malloc"

	.comm	_STRING,4,2                     ## @STRING
	.no_dead_strip	_getstring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getstring
_getstring:                             ; @getstring
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x20, _EOF@GOTPAGE
Lloh4:
	ldr	x20, [x20, _EOF@GOTPAGEOFF]
	add	x21, sp, #8
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	w22, #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_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	tbz	w22, #0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=2
	mov	w22, #0
	cmp	w0, #92
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #34
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #10
	b.eq	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	strb	w0, [x21, x19]
	add	x19, x19, #1
	cmp	x19, #127
	b.ne	LBB0_1
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__lex_error_message
Lloh7:
	adrp	x8, _lineno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lineno@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_9:
	add	x8, sp, #8
	strb	wzr, [x8, w19, uxtw]
	add	x0, sp, #8
	bl	_strdup
Lloh9:
	adrp	x8, _yylval@GOTPAGE
Lloh10:
	ldr	x8, [x8, _yylval@GOTPAGEOFF]
Lloh11:
	str	x0, [x8]
	cbnz	x0, LBB0_11
; %bb.10:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_11:
Lloh14:
	adrp	x8, _STRING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STRING@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	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 AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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
	.comm	_yylval,8,3                     ; @yylval
l_.str.1:                               ; @.str.1
	.asciz	"malloc"

	.comm	_STRING,4,2                     ; @STRING
	.no_dead_strip	_getstring
.subsections_via_symbols
