	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PutPlusOne
_PutPlusOne:                            ## @PutPlusOne
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	cmpl	$2, %esi
	jl	LBB0_4
## %bb.1:
	movl	%r14d, %r15d
	movq	_CursorH@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	addq	%r15, %rax
	movq	_TermH@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jle	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$32, %edi
	movl	$1, %esi
	callq	_PutPlusOne
	movq	(%r12), %rax
	addq	%r15, %rax
	cmpq	(%r13), %rax
	jg	LBB0_2
LBB0_4:
	movq	_LITERAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_8
## %bb.5:
	movq	_litptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	notl	%ecx
	movl	%ebx, %r12d
	andl	%ebx, %ecx
	movq	_LIT_FACTOR@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movslq	%ecx, %rcx
	imulq	%rdx, %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.6:
	leaq	(%rax,%rcx,4), %rbx
	addq	$4, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	callq	_putwraw
	movl	(%rbx), %edi
	addq	$4, %rbx
	testl	%edi, %edi
	jne	LBB0_7
	jmp	LBB0_9
LBB0_8:
	movl	%ebx, %r12d
	movl	%ebx, %edi
	callq	_putwraw
LBB0_9:
	movq	_CursorH@GOTPCREL(%rip), %r11
	movq	(%r11), %rax
	leaq	1(%rax), %rsi
	movq	_Display@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_CursorV@GOTPCREL(%rip), %r8
	movq	(%r8), %r15
	movq	(%rcx,%r15,8), %rdi
	movq	%rsi, (%r11)
	movl	%r12d, (%rdi,%rax,4)
	cmpl	$2, %r14d
	jl	LBB0_24
## %bb.10:
	xorl	%edx, %edx
	movl	%r14d, %r12d
	subl	$2, %r12d
	cmovbl	%edx, %r12d
	cmpl	$7, %r12d
	jb	LBB0_21
## %bb.11:
	movl	%r14d, %ecx
	subl	$2, %ecx
	cmovbl	%edx, %ecx
	leaq	(%rdi,%rsi,4), %rdx
	movq	_CHAR_DBWIDTH@GOTPCREL(%rip), %r9
	leaq	4(%r9), %rbx
	cmpq	%rbx, %rdx
	jae	LBB0_13
## %bb.12:
	addq	%rax, %rcx
	leaq	(%rdi,%rcx,4), %rcx
	addq	$8, %rcx
	cmpq	_CHAR_DBWIDTH@GOTPCREL(%rip), %rcx
	ja	LBB0_21
LBB0_13:
	incl	%r12d
	movl	%r12d, %r10d
	andl	$-8, %r10d
	leaq	-8(%r10), %rcx
	movq	%rcx, %rbx
	shrq	$3, %rbx
	incq	%rbx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.15:
	movq	%rbx, %rdx
	andq	$-2, %rdx
	movd	(%r9), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	(%rdi,%rax,4), %rcx
	addq	$52, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -48(%rcx,%rax,4)
	movdqu	%xmm0, -32(%rcx,%rax,4)
	movdqu	%xmm0, -16(%rcx,%rax,4)
	movdqu	%xmm0, (%rcx,%rax,4)
	addq	$16, %rax
	addq	$-2, %rdx
	jne	LBB0_16
## %bb.17:
	testb	$1, %bl
	je	LBB0_19
LBB0_18:
	addq	%rsi, %rax
	movd	(%r9), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movdqu	%xmm0, (%rdi,%rax,4)
	movdqu	%xmm0, 16(%rdi,%rax,4)
LBB0_19:
	addq	%r10, %rsi
	cmpq	%r12, %r10
	je	LBB0_23
## %bb.20:
	subl	%r10d, %r14d
LBB0_21:
	incl	%r14d
	movq	_CHAR_DBWIDTH@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %ecx
	movl	%ecx, (%rdi,%rsi,4)
	incq	%rsi
	decl	%r14d
	cmpl	$2, %r14d
	ja	LBB0_22
LBB0_23:
	movq	%rsi, (%r11)
LBB0_24:
	movq	_TermH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jge	LBB0_25
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	$0, (%r11)
	incq	%r15
	movq	%r15, (%r8)
	movq	_OldvcV@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_T_Margin@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MARGIN_AUTO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.27:
	movq	_MARGIN_MAGIC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.28:
	movb	$8, %bl
	movb	$32, %al
	jmp	LBB0_29
LBB0_26:
	movb	$10, %bl
	movb	$13, %al
LBB0_29:
	movzbl	%al, %edi
	callq	_putraw
	movzbl	%bl, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_putraw                         ## TAILCALL
LBB0_14:
	xorl	%eax, %eax
	testb	$1, %bl
	jne	LBB0_18
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_CursorH,8,3                    ## @CursorH
	.comm	_TermH,8,3                      ## @TermH
	.comm	_LITERAL,4,2                    ## @LITERAL
	.comm	_litptr,8,3                     ## @litptr
	.comm	_LIT_FACTOR,4,2                 ## @LIT_FACTOR
	.comm	_Display,8,3                    ## @Display
	.comm	_CursorV,8,3                    ## @CursorV
	.comm	_CHAR_DBWIDTH,4,2               ## @CHAR_DBWIDTH
	.comm	_OldvcV,4,2                     ## @OldvcV
	.comm	_T_Margin,4,2                   ## @T_Margin
	.comm	_MARGIN_AUTO,4,2                ## @MARGIN_AUTO
	.comm	_MARGIN_MAGIC,4,2               ## @MARGIN_MAGIC
	.no_dead_strip	_PutPlusOne
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PutPlusOne
_PutPlusOne:                            ; @PutPlusOne
	.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
Lloh0:
	adrp	x21, _CursorH@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CursorH@GOTPAGEOFF]
Lloh2:
	adrp	x22, _TermH@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TermH@GOTPAGEOFF]
	cmp	w1, #2
	b.lt	LBB0_4
; %bb.1:
	mov	w23, w19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	add	x8, x8, x23
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #32
	mov	w1, #1
	bl	_PutPlusOne
	b	LBB0_2
LBB0_4:
Lloh4:
	adrp	x8, _LITERAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LITERAL@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
	tst	w9, w20
	b.eq	LBB0_8
; %bb.5:
Lloh7:
	adrp	x8, _litptr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _litptr@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x10, _LIT_FACTOR@GOTPAGE
Lloh11:
	ldr	x10, [x10, _LIT_FACTOR@GOTPAGEOFF]
	bic	w9, w20, w9
Lloh12:
	ldrsw	x10, [x10]
	sxtw	x9, w9
	mul	x9, x10, x9
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_9
; %bb.6:
	add	x8, x8, x9, lsl #2
	add	x23, x8, #4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	bl	_putwraw
	ldr	w0, [x23], #4
	cbnz	w0, LBB0_7
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_putwraw
LBB0_9:
Lloh13:
	adrp	x8, _Display@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Display@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x8]
Lloh16:
	adrp	x8, _CursorV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CursorV@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x11, [x10, x9, lsl #3]
	ldr	x13, [x21]
	add	x10, x13, #1
	str	x10, [x21]
	str	w20, [x11, x13, lsl #2]
	subs	w12, w19, #2
	b.lt	LBB0_18
; %bb.10:
	csel	w14, wzr, w12, lo
Lloh18:
	adrp	x12, _CHAR_DBWIDTH@GOTPAGE
Lloh19:
	ldr	x12, [x12, _CHAR_DBWIDTH@GOTPAGEOFF]
	cmp	w14, #15
	b.lo	LBB0_15
; %bb.11:
	add	x15, x11, x10, lsl #2
	subs	w16, w19, #2
	csel	w16, wzr, w16, lo
	add	x16, x13, x16
	add	x16, x11, x16, lsl #2
	add	x16, x16, #8
	add	x17, x12, #4
	cmp	x15, x17
	ccmp	x16, x12, #0, lo
	b.hi	LBB0_15
; %bb.12:
	add	w14, w14, #1
	and	x15, x14, #0xfffffff0
	sub	w19, w19, w15
	add	x10, x10, x15
	ld1r.4s	{ v0 }, [x12]
	add	x13, x11, x13, lsl #2
	add	x13, x13, #36
	mov	x16, x15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x13, #-32]
	stp	q0, q0, [x13], #64
	subs	x16, x16, #16
	b.ne	LBB0_13
; %bb.14:
	cmp	x15, x14
	b.eq	LBB0_17
LBB0_15:
	add	w13, w19, #1
	mov	x14, x10
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x12]
	add	x10, x14, #1
	str	w15, [x11, x14, lsl #2]
	sub	w13, w13, #1
	mov	x14, x10
	cmp	w13, #2
	b.hi	LBB0_16
LBB0_17:
	str	x10, [x21]
LBB0_18:
	ldr	x11, [x22]
	cmp	x10, x11
	b.ge	LBB0_20
LBB0_19:
	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
LBB0_20:
	str	xzr, [x21]
	add	x9, x9, #1
	str	x9, [x8]
Lloh20:
	adrp	x8, _OldvcV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OldvcV@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
Lloh22:
	adrp	x10, _T_Margin@GOTPAGE
Lloh23:
	ldr	x10, [x10, _T_Margin@GOTPAGEOFF]
	str	w9, [x8]
Lloh24:
	ldr	w8, [x10]
Lloh25:
	adrp	x9, _MARGIN_AUTO@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MARGIN_AUTO@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.21:
Lloh28:
	adrp	x9, _MARGIN_MAGIC@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MARGIN_MAGIC@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.22:
	mov	w19, #8
	mov	w0, #32
	b	LBB0_24
LBB0_23:
	mov	w19, #10
	mov	w0, #13
LBB0_24:
	bl	_putraw
	mov	x0, x19
	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	_putraw
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_CursorH,8,3                    ; @CursorH
	.comm	_TermH,8,3                      ; @TermH
	.comm	_LITERAL,4,2                    ; @LITERAL
	.comm	_litptr,8,3                     ; @litptr
	.comm	_LIT_FACTOR,4,2                 ; @LIT_FACTOR
	.comm	_Display,8,3                    ; @Display
	.comm	_CursorV,8,3                    ; @CursorV
	.comm	_CHAR_DBWIDTH,4,2               ; @CHAR_DBWIDTH
	.comm	_OldvcV,4,2                     ; @OldvcV
	.comm	_T_Margin,4,2                   ; @T_Margin
	.comm	_MARGIN_AUTO,4,2                ; @MARGIN_AUTO
	.comm	_MARGIN_MAGIC,4,2               ; @MARGIN_MAGIC
	.no_dead_strip	_PutPlusOne
.subsections_via_symbols
