	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i_process                      ## -- Begin function i_process
	.p2align	4, 0x90
_i_process:                             ## @i_process
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movslq	%edi, %rbx
	movq	_lastline@GOTPCREL(%rip), %r12
	movq	_y_procs@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	addq	%rbx, %rax
	cmpq	%rax, (%r12)
	jge	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_putchar
	movq	(%r12), %rax
	incq	%rax
	movq	%rax, (%r12)
	movq	(%r13), %rcx
	addq	%rbx, %rcx
	cmpq	%rcx, %rax
	jl	LBB0_1
LBB0_2:
	movq	%r15, %rdi
	callq	_strlen
	movq	_screen_width@GOTPCREL(%rip), %r12
	movslq	(%r12), %rcx
	cmpl	%eax, %ecx
	jge	LBB0_4
## %bb.3:
	movb	$0, (%r15,%rcx)
LBB0_4:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_fputs
	movq	_smart_terminal@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_screenbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_lineindex
	cltq
	addq	%rax, %rbx
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_stpcpy
	movq	%rax, %rcx
	subq	%rbx, %rcx
	movslq	(%r12), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_7
## %bb.8:
	subl	%ecx, %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lastline,8,3                   ## @lastline
	.comm	_y_procs,8,3                    ## @y_procs
	.comm	_screen_width,4,2               ## @screen_width
	.comm	_stdout,4,2                     ## @stdout
	.comm	_smart_terminal,8,3             ## @smart_terminal
	.comm	_screenbuf,8,3                  ## @screenbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i_process                      ; -- Begin function i_process
	.p2align	2
_i_process:                             ; @i_process
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	sxtw	x21, w20
Lloh0:
	adrp	x22, _lastline@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lastline@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x23, _y_procs@GOTPAGE
Lloh3:
	ldr	x23, [x23, _y_procs@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	add	x9, x9, x21
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #10
	bl	_putchar
	ldr	x8, [x22]
	add	x8, x8, #1
	str	x8, [x22]
	b	LBB0_1
LBB0_3:
	mov	x0, x19
	bl	_strlen
Lloh4:
	adrp	x22, _screen_width@GOTPAGE
Lloh5:
	ldr	x22, [x22, _screen_width@GOTPAGEOFF]
	ldrsw	x8, [x22]
	cmp	w8, w0
	b.ge	LBB0_5
; %bb.4:
	strb	wzr, [x19, x8]
LBB0_5:
Lloh6:
	adrp	x8, _stdout@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_fputs
Lloh9:
	adrp	x8, _smart_terminal@GOTPAGE
Lloh10:
	ldr	x8, [x8, _smart_terminal@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _screenbuf@GOTPAGE
Lloh13:
	ldr	x9, [x9, _screenbuf@GOTPAGEOFF]
Lloh14:
	ldr	x21, [x9]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_lineindex
	add	x21, x21, w0, sxtw
LBB0_7:
	mov	x0, x21
	mov	x1, x19
	bl	_stpcpy
	ldrsw	x8, [x22]
	sub	x9, x0, x21
	cmp	x9, x8
	b.ge	LBB0_9
; %bb.8:
	sub	w2, w8, w9
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_memset
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_lastline,8,3                   ; @lastline
	.comm	_y_procs,8,3                    ; @y_procs
	.comm	_screen_width,4,2               ; @screen_width
	.comm	_stdout,4,2                     ; @stdout
	.comm	_smart_terminal,8,3             ; @smart_terminal
	.comm	_screenbuf,8,3                  ; @screenbuf
.subsections_via_symbols
