	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_u_process                      ## -- Begin function u_process
	.p2align	4, 0x90
_u_process:                             ## @u_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, %r14
	movl	%edi, %ebx
	movq	_Header_lines@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addl	%edi, %r12d
	movq	_screenbuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	callq	_lineindex
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_strlen
	movq	_screen_width@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rcx
	cmpl	%eax, %ecx
	jge	LBB0_2
## %bb.1:
	movb	$0, (%r14,%rcx)
LBB0_2:
	addq	%r13, %r15
	movq	_last_hi@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_3
## %bb.8:
	movq	_Header_lines@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_line_update                    ## TAILCALL
LBB0_3:
	movq	%rdx, %r13
	movq	_lastline@GOTPCREL(%rip), %rbx
	movl	%r12d, %eax
	subl	(%rbx), %eax
	cmpl	$1, %eax
	jne	LBB0_5
## %bb.4:
	movl	$10, %edi
	callq	_putchar
	movl	(%rbx), %r12d
	incl	%r12d
	jmp	LBB0_6
LBB0_5:
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_Move_to
LBB0_6:
	movl	%r12d, (%rbx)
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_fputs
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_stpcpy
	movq	%rax, %rcx
	subq	%r15, %rcx
	movslq	(%r13), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_9
## %bb.7:
	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_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Header_lines,4,2               ## @Header_lines
	.comm	_screenbuf,8,3                  ## @screenbuf
	.comm	_screen_width,4,2               ## @screen_width
	.comm	_last_hi,4,2                    ## @last_hi
	.comm	_lastline,4,2                   ## @lastline
	.comm	_stdout,4,2                     ## @stdout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_u_process                      ; -- Begin function u_process
	.p2align	2
_u_process:                             ; @u_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	x21, x0
Lloh0:
	adrp	x24, _Header_lines@GOTPAGE
Lloh1:
	ldr	x24, [x24, _Header_lines@GOTPAGEOFF]
	ldr	w23, [x24]
Lloh2:
	adrp	x8, _screenbuf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _screenbuf@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
	bl	_lineindex
	add	x20, x20, x0
	mov	x0, x19
	bl	_strlen
Lloh5:
	adrp	x22, _screen_width@GOTPAGE
Lloh6:
	ldr	x22, [x22, _screen_width@GOTPAGEOFF]
	ldrsw	x8, [x22]
	cmp	w8, w0
	b.ge	LBB0_2
; %bb.1:
	strb	wzr, [x19, x8]
LBB0_2:
Lloh7:
	adrp	x8, _last_hi@GOTPAGE
Lloh8:
	ldr	x8, [x8, _last_hi@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w21
	b.le	LBB0_4
; %bb.3:
	ldr	w8, [x24]
	add	w3, w8, w21
	mov	x0, x20
	mov	x1, x19
	mov	w2, #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	_line_update
LBB0_4:
Lloh10:
	adrp	x24, _lastline@GOTPAGE
Lloh11:
	ldr	x24, [x24, _lastline@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w21, w23, w21
	sub	w8, w21, w8
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #10
	bl	_putchar
	ldr	w8, [x24]
	add	w21, w8, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	mov	x1, x21
	bl	_Move_to
LBB0_7:
	str	w21, [x24]
Lloh12:
	adrp	x8, _stdout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_fputs
	mov	x0, x20
	mov	x1, x19
	bl	_stpcpy
	ldrsw	x8, [x22]
	sub	x9, x0, x20
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_Header_lines,4,2               ; @Header_lines
	.comm	_screenbuf,8,3                  ; @screenbuf
	.comm	_screen_width,4,2               ; @screen_width
	.comm	_last_hi,4,2                    ; @last_hi
	.comm	_lastline,4,2                   ; @lastline
	.comm	_stdout,4,2                     ; @stdout
.subsections_via_symbols
