	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output_stored_text
_output_stored_text:                    ## @output_stored_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_text_file@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_rewind
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_open_error
	movq	(%r15), %rbx
LBB0_2:
	movq	%rbx, %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_3
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_putc_code
	movq	%rbx, %rdi
	callq	_getc
	cmpl	(%r15), %eax
	jne	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_code_lineno              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_text_file,8,3                  ## @text_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"text_file"

	.comm	_EOF,4,2                        ## @EOF
	.no_dead_strip	_output_stored_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_stored_text
_output_stored_text:                    ; @output_stored_text
	.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
Lloh0:
	adrp	x21, _text_file@GOTPAGE
Lloh1:
	ldr	x21, [x21, _text_file@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_rewind
	ldr	x20, [x21]
	cbnz	x20, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open_error
	ldr	x20, [x21]
LBB0_2:
	mov	x0, x20
	bl	_getc
Lloh4:
	adrp	x21, _EOF@GOTPAGE
Lloh5:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	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
LBB0_4:
	mov	x1, x0
	mov	x0, x19
	bl	_putc_code
	mov	x0, x20
	bl	_getc
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.5:
	mov	x1, x0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_putc_code
	mov	x0, x20
	bl	_getc
	mov	x1, x0
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_6
LBB0_7:
	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
	b	_write_code_lineno
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_text_file,8,3                  ; @text_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"text_file"

	.comm	_EOF,4,2                        ; @EOF
	.no_dead_strip	_output_stored_text
.subsections_via_symbols
