	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_file
_test_file:                             ## @test_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rdi
	callq	_make_file_string
	movl	%eax, %edi
	callq	_stream_push
	xorl	%eax, %eax
	callq	_readc
	movl	$97, %edi
	movq	%rax, %rsi
	callq	_assert_int
	xorl	%eax, %eax
	callq	_readc
	movl	$98, %edi
	movq	%rax, %rsi
	callq	_assert_int
	movl	$98, %edi
	callq	_unreadc
	movl	$97, %edi
	callq	_unreadc
	xorl	%eax, %eax
	callq	_readc
	movl	$97, %edi
	movq	%rax, %rsi
	callq	_assert_int
	xorl	%eax, %eax
	callq	_readc
	movl	$98, %edi
	movq	%rax, %rsi
	callq	_assert_int
	xorl	%eax, %eax
	callq	_readc
	movl	$99, %edi
	movq	%rax, %rsi
	callq	_assert_int
	xorl	%eax, %eax
	callq	_readc
	movl	$10, %edi
	movq	%rax, %rsi
	callq	_assert_int
	movl	$10, %edi
	callq	_unreadc
	xorl	%eax, %eax
	callq	_readc
	movl	$10, %edi
	movq	%rax, %rsi
	callq	_assert_int
	xorl	%eax, %eax
	callq	_readc
	shrq	$63, %rax
	movl	%eax, %edi
	popq	%rbp
	jmp	_assert_true                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"abc"

	.no_dead_strip	_test_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_file
_test_file:                             ; @test_file
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_make_file_string
	bl	_stream_push
	bl	_readc
	mov	x1, x0
	mov	w0, #97
	bl	_assert_int
	bl	_readc
	mov	x1, x0
	mov	w0, #98
	bl	_assert_int
	mov	w0, #98
	bl	_unreadc
	mov	w0, #97
	bl	_unreadc
	bl	_readc
	mov	x1, x0
	mov	w0, #97
	bl	_assert_int
	bl	_readc
	mov	x1, x0
	mov	w0, #98
	bl	_assert_int
	bl	_readc
	mov	x1, x0
	mov	w0, #99
	bl	_assert_int
	bl	_readc
	mov	x1, x0
	mov	w0, #10
	bl	_assert_int
	mov	w0, #10
	bl	_unreadc
	bl	_readc
	mov	x1, x0
	mov	w0, #10
	bl	_assert_int
	bl	_readc
	lsr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_assert_true
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"abc"

	.no_dead_strip	_test_file
.subsections_via_symbols
