	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scanc
_scanc:                                 ## @scanc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_is_stdin@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_input@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_stdin@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_getc
	movq	_nextline@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_lineno@GOTPCREL(%rip), %rsi
	movl	%edx, (%rsi)
	cmpl	$10, %eax
	jne	LBB0_5
## %bb.4:
	incl	%edx
	movl	%edx, (%rcx)
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_is_stdin,8,3                   ## @is_stdin
	.comm	_stdin,4,2                      ## @stdin
	.comm	_input,4,2                      ## @input
	.comm	_nextline,4,2                   ## @nextline
	.comm	_lineno,4,2                     ## @lineno
	.no_dead_strip	_scanc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scanc
_scanc:                                 ; @scanc
	.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	x8, _is_stdin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _is_stdin@GOTPAGEOFF]
Lloh2:
	adrp	x9, _input@GOTPAGE
Lloh3:
	ldr	x9, [x9, _input@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x10, _stdin@GOTPAGE
Lloh6:
	ldr	x10, [x10, _stdin@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	bl	_getc
Lloh7:
	adrp	x8, _nextline@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nextline@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh9:
	adrp	x10, _lineno@GOTPAGE
Lloh10:
	ldr	x10, [x10, _lineno@GOTPAGEOFF]
Lloh11:
	str	w9, [x10]
	cmp	w0, #10
	b.ne	LBB0_2
; %bb.1:
	add	w9, w9, #1
	str	w9, [x8]
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_is_stdin,8,3                   ; @is_stdin
	.comm	_stdin,4,2                      ; @stdin
	.comm	_input,4,2                      ; @input
	.comm	_nextline,4,2                   ; @nextline
	.comm	_lineno,4,2                     ; @lineno
	.no_dead_strip	_scanc
.subsections_via_symbols
