	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_line_count
_file_line_count:                       ## @file_line_count
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_fgetc
	movq	_EOF@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	cmpl	(%r15), %eax
	je	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%ecx, %ecx
	cmpl	$10, %eax
	sete	%cl
	addl	%ecx, %ebx
	movq	%r14, %rdi
	callq	_fgetc
	cmpl	(%r15), %eax
	jne	LBB0_3
LBB0_4:
	movq	%r14, %rdi
	callq	_fclose
	jmp	LBB0_5
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %r15
	movq	_progname@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_fprintf
	movl	$-1, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s: could not open file \"%s\" for reading: %s\n"

	.comm	_progname,8,3                   ## @progname
	.comm	_errno,4,2                      ## @errno
	.comm	_EOF,4,2                        ## @EOF
	.no_dead_strip	_file_line_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_line_count
_file_line_count:                       ; @file_line_count
	.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	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_fgetc
Lloh2:
	adrp	x21, _EOF@GOTPAGE
Lloh3:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	mov	w20, #0
	b	LBB0_6
LBB0_3:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x21, x0
Lloh9:
	adrp	x8, _progname@GOTPAGE
Lloh10:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh11:
	ldr	x22, [x8]
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_strerror
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x20
	bl	_fprintf
	mov	w20, #-1
	b	LBB0_7
LBB0_4:
	mov	w20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w0, #10
	cinc	w20, w20, eq
	mov	x0, x19
	bl	_fgetc
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_fclose
LBB0_7:
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s: could not open file \"%s\" for reading: %s\n"

	.comm	_progname,8,3                   ; @progname
	.comm	_errno,4,2                      ; @errno
	.comm	_EOF,4,2                        ; @EOF
	.no_dead_strip	_file_line_count
.subsections_via_symbols
