	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Insert_write                   ## -- Begin function Insert_write
	.p2align	4, 0x90
_Insert_write:                          ## @Insert_write
	.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
	testl	%esi, %esi
	jle	LBB0_16
## %bb.1:
	movq	_T_CanIns@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_17
## %bb.2:
	movl	%esi, %r14d
	movq	_TermH@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jge	LBB0_3
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flush                          ## TAILCALL
LBB0_3:
	movq	%rdi, %rbx
	movq	_T_IC@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_GoodStr
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpl	$1, %r14d
	ja	LBB0_18
## %bb.5:
	movq	_T_ic@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GoodStr
	testq	%rax, %rax
	je	LBB0_18
LBB0_6:
	movq	_T_im@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_GoodStr
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	_T_ei@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_GoodStr
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movl	(%r12), %edi
	callq	_Str
	movq	_PUTPURE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_tputs
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_so_write
	movq	_T_ip@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GoodStr
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%rbx), %edi
	callq	_Str
	movl	(%r12), %edx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_tputs
LBB0_10:
	movl	(%r15), %edi
	callq	_Str
	movl	(%r12), %edx
	movl	%eax, %edi
	movl	$1, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tputs                          ## TAILCALL
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	$4, %rbx
	decl	%r14d
	je	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	_T_ic@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_GoodStr
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r15), %edi
	callq	_Str
	movq	_PUTPURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_tputs
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_so_write
	movq	_T_ip@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_GoodStr
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r15), %edi
	callq	_Str
	movq	_PUTPURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	$1, %esi
	callq	_tputs
	jmp	LBB0_15
LBB0_18:
	movl	(%r15), %edi
	callq	_Str
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_tgoto
	movq	_PUTPURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_tputs
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_so_write                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_T_CanIns,4,2                   ## @T_CanIns
	.comm	_TermH,4,2                      ## @TermH
	.comm	_T_IC,4,2                       ## @T_IC
	.comm	_T_ic,4,2                       ## @T_ic
	.comm	_PUTPURE,4,2                    ## @PUTPURE
	.comm	_T_im,4,2                       ## @T_im
	.comm	_T_ei,4,2                       ## @T_ei
	.comm	_T_ip,4,2                       ## @T_ip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Insert_write                   ; -- Begin function Insert_write
	.p2align	2
_Insert_write:                          ; @Insert_write
	.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
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _T_CanIns@GOTPAGE
Lloh1:
	ldr	x8, [x8, _T_CanIns@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x19, x1
Lloh3:
	adrp	x8, _TermH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TermH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ge	LBB0_5
LBB0_3:
	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_4:
	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	_flush
LBB0_5:
	mov	x20, x0
Lloh6:
	adrp	x22, _T_IC@GOTPAGE
Lloh7:
	ldr	x22, [x22, _T_IC@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_GoodStr
Lloh8:
	adrp	x21, _T_ic@GOTPAGE
Lloh9:
	ldr	x21, [x21, _T_ic@GOTPAGEOFF]
	cbz	x0, LBB0_8
; %bb.6:
	cmp	w19, #1
	b.hi	LBB0_18
; %bb.7:
	ldr	w0, [x21]
	bl	_GoodStr
	cbz	x0, LBB0_18
LBB0_8:
Lloh10:
	adrp	x23, _T_im@GOTPAGE
Lloh11:
	ldr	x23, [x23, _T_im@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_GoodStr
	cbz	x0, LBB0_14
; %bb.9:
Lloh12:
	adrp	x22, _T_ei@GOTPAGE
Lloh13:
	ldr	x22, [x22, _T_ei@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_GoodStr
	cbz	x0, LBB0_14
; %bb.10:
	ldr	w0, [x23]
	bl	_Str
Lloh14:
	adrp	x21, _PUTPURE@GOTPAGE
Lloh15:
	ldr	x21, [x21, _PUTPURE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w1, #1
	bl	_tputs
	mov	x0, x20
	mov	x1, x19
	bl	_so_write
Lloh16:
	adrp	x19, _T_ip@GOTPAGE
Lloh17:
	ldr	x19, [x19, _T_ip@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_GoodStr
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w0, [x19]
	bl	_Str
	ldr	w2, [x21]
	mov	w1, #1
	bl	_tputs
LBB0_12:
	ldr	w0, [x22]
	bl	_Str
	ldr	w2, [x21]
	mov	w1, #1
	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	_tputs
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x20, x20, #4
	subs	w19, w19, #1
	b.eq	LBB0_3
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_GoodStr
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x21]
	bl	_Str
Lloh18:
	adrp	x8, _PUTPURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PUTPURE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_tputs
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	mov	w1, #1
	bl	_so_write
Lloh21:
	adrp	x22, _T_ip@GOTPAGE
Lloh22:
	ldr	x22, [x22, _T_ip@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_GoodStr
	cbz	x0, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x22]
	bl	_Str
Lloh23:
	adrp	x8, _PUTPURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PUTPURE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_tputs
	b	LBB0_13
LBB0_18:
	ldr	w0, [x22]
	bl	_Str
	mov	x1, x19
	mov	x2, x19
	bl	_tgoto
Lloh26:
	adrp	x8, _PUTPURE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PUTPURE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_tputs
	mov	x0, x20
	mov	x1, 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	_so_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_T_CanIns,4,2                   ; @T_CanIns
	.comm	_TermH,4,2                      ; @TermH
	.comm	_T_IC,4,2                       ; @T_IC
	.comm	_T_ic,4,2                       ; @T_ic
	.comm	_PUTPURE,4,2                    ; @PUTPURE
	.comm	_T_im,4,2                       ; @T_im
	.comm	_T_ei,4,2                       ; @T_ei
	.comm	_T_ip,4,2                       ; @T_ip
.subsections_via_symbols
