	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_forward                        ## -- Begin function forward
	.p2align	4, 0x90
_forward:                               ## @forward
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r14
	movq	%rdi, %r15
	addl	$-128, %edx
	cmpl	$3, %edx
	ja	LBB0_34
## %bb.1:
	movq	%r8, %r12
	movl	%ecx, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_25:
	movl	(%r12), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_29
## %bb.26:
	testl	%ebx, %ebx
	je	LBB0_27
## %bb.28:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movq	%r12, %rcx
	callq	_rlines
	jmp	LBB0_34
LBB0_18:
	movl	(%r12), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	cmpl	%ebx, 4(%r12)
	jl	LBB0_34
## %bb.20:
	negl	%ebx
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_12:
	testl	%ebx, %ebx
	je	LBB0_34
## %bb.13:
	movq	%r15, %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %r12
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	callq	_getc
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%r12), %eax
	je	LBB0_7
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$10, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	decl	%ebx
	jne	LBB0_17
	jmp	LBB0_34
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_34
## %bb.3:
	movl	(%r12), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_4
## %bb.8:
	movl	4(%r12), %eax
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	jmp	LBB0_10
LBB0_29:
	testl	%ebx, %ebx
	je	LBB0_30
## %bb.32:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_lines
	testl	%eax, %eax
	jne	LBB0_41
	jmp	LBB0_34
LBB0_21:
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.24:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_bytes
	testl	%eax, %eax
	je	LBB0_34
LBB0_41:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
LBB0_10:
	callq	_fseeko
	cmpl	$-1, %eax
	jne	LBB0_34
	jmp	LBB0_11
LBB0_4:
	incl	%ebx
	movq	_EOF@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	je	LBB0_34
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %rdi
	callq	_getc
	cmpl	(%r12), %eax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_30:
	movq	_EOF@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_getc
	cmpl	(%rbx), %eax
	jne	LBB0_31
	jmp	LBB0_7
LBB0_22:
	movq	_EOF@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_getc
	cmpl	(%rbx), %eax
	jne	LBB0_23
LBB0_7:
	movq	%r15, %rdi
	callq	_ferror
	testq	%rax, %rax
	jne	LBB0_11
LBB0_34:
	movq	%r15, %rdi
	callq	_getc
	movq	_EOF@GOTPCREL(%rip), %rbx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_35 Depth=1
	movq	%r15, %rdi
	callq	_getc
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rbx), %eax
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=1
	movl	%eax, %edi
	callq	_putchar
	cmpl	(%rbx), %eax
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=1
	xorl	%eax, %eax
	callq	_oerr
	jmp	LBB0_38
LBB0_39:
	movq	%r15, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_40
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ierr                           ## TAILCALL
LBB0_40:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_25
	.long	L0_0_set_18
	.long	L0_0_set_12
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_EOF,4,2                        ## @EOF
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_stdout,4,2                     ## @stdout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_forward                        ; -- Begin function forward
	.p2align	2
_forward:                               ; @forward
	.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, x1
	mov	x20, x0
	sub	w8, w2, #128
	cmp	w8, #3
	b.hi	LBB0_33
; %bb.1:
	mov	x22, x4
	mov	x21, x3
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x22]
	bl	_S_ISREG
	cbz	w0, LBB0_18
; %bb.3:
	cbz	w21, LBB0_23
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	bl	_rlines
	b	LBB0_33
LBB0_5:
	ldr	w0, [x22]
	bl	_S_ISREG
	cbz	w0, LBB0_20
; %bb.6:
	ldr	w8, [x22, #4]
	cmp	w8, w21
	b.lt	LBB0_33
; %bb.7:
	neg	w1, w21
Lloh2:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
	b	LBB0_17
LBB0_8:
	cbz	w21, LBB0_33
; %bb.9:
	mov	x0, x20
	bl	_getc
Lloh4:
	adrp	x22, _EOF@GOTPAGE
Lloh5:
	ldr	x22, [x22, _EOF@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	bl	_getc
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_32
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w0, #10
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	subs	w21, w21, #1
	b.ne	LBB0_10
	b	LBB0_33
LBB0_14:
	cbz	w21, LBB0_33
; %bb.15:
	ldr	w0, [x22]
	bl	_S_ISREG
	cbz	w0, LBB0_25
; %bb.16:
	ldr	w8, [x22, #4]
	cmp	w8, w21
	csel	w1, w8, w21, lt
Lloh6:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
LBB0_17:
	ldr	w2, [x8]
	mov	x0, x20
	b	LBB0_24
LBB0_18:
	cbz	w21, LBB0_28
; %bb.19:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_lines
	cbnz	w0, LBB0_22
	b	LBB0_33
LBB0_20:
	cbz	w21, LBB0_30
; %bb.21:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_bytes
	cbz	w0, LBB0_33
LBB0_22:
	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_23:
Lloh8:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
LBB0_24:
	bl	_fseeko
	cmn	w0, #1
	b.ne	LBB0_33
	b	LBB0_39
LBB0_25:
	add	w21, w21, #1
Lloh11:
	adrp	x22, _EOF@GOTPAGE
Lloh12:
	ldr	x22, [x22, _EOF@GOTPAGEOFF]
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_33
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x0, x20
	bl	_getc
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_26
	b	LBB0_32
LBB0_28:
Lloh13:
	adrp	x21, _EOF@GOTPAGE
Lloh14:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_getc
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_29
	b	LBB0_32
LBB0_30:
Lloh15:
	adrp	x21, _EOF@GOTPAGE
Lloh16:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_getc
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_31
LBB0_32:
	mov	x0, x20
	bl	_ferror
	cbnz	x0, LBB0_39
LBB0_33:
	mov	x0, x20
	bl	_getc
Lloh17:
	adrp	x21, _EOF@GOTPAGE
Lloh18:
	ldr	x21, [x21, _EOF@GOTPAGEOFF]
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_35 Depth=1
	mov	x0, x20
	bl	_getc
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_35 Depth=1
	bl	_putchar
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_35 Depth=1
	bl	_oerr
	b	LBB0_34
LBB0_38:
	mov	x0, x20
	bl	_ferror
	cbz	x0, LBB0_40
LBB0_39:
	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	_ierr
LBB0_40:
Lloh19:
	adrp	x8, _stdout@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	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	_fflush
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_EOF,4,2                        ; @EOF
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_stdout,4,2                     ; @stdout
.subsections_via_symbols
