	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unscanc
_unscanc:                               ## @unscanc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$10, %edi
	jne	LBB0_2
## %bb.1:
	movq	_nextline@GOTPCREL(%rip), %rax
	decl	(%rax)
LBB0_2:
	movq	_is_stdin@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_input@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_stdin@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	callq	_ungetc
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_yyerror                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nextline,4,2                   ## @nextline
	.comm	_is_stdin,8,3                   ## @is_stdin
	.comm	_stdin,4,2                      ## @stdin
	.comm	_input,4,2                      ## @input
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ungetc failed"

	.no_dead_strip	_unscanc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unscanc
_unscanc:                               ; @unscanc
	.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
	cmp	w0, #10
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _nextline@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nextline@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_2:
Lloh2:
	adrp	x8, _is_stdin@GOTPAGE
Lloh3:
	ldr	x8, [x8, _is_stdin@GOTPAGEOFF]
Lloh4:
	adrp	x9, _stdin@GOTPAGE
Lloh5:
	ldr	x9, [x9, _stdin@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x10, _input@GOTPAGE
Lloh8:
	ldr	x10, [x10, _input@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	bl	_ungetc
	tbnz	x0, #63, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_yyerror
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_nextline,4,2                   ; @nextline
	.comm	_is_stdin,8,3                   ; @is_stdin
	.comm	_stdin,4,2                      ; @stdin
	.comm	_input,4,2                      ; @input
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ungetc failed"

	.no_dead_strip	_unscanc
.subsections_via_symbols
