	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_put_tty_line                   ## -- Begin function put_tty_line
	.p2align	4, 0x90
_put_tty_line:                          ## @put_tty_line
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_GNP@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movq	%rdx, %rsi
	callq	_printf
	movl	$8, %r13d
	testl	%r15d, %r15d
	jne	LBB0_4
	jmp	LBB0_24
LBB0_1:
	xorl	%r13d, %r13d
	testl	%r15d, %r15d
	je	LBB0_24
LBB0_4:
	movl	%r15d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	_GLS@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%al, %edi
	callq	_putchar
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incq	%r15
	cmpl	%r15d, -72(%rbp)                ## 4-byte Folded Reload
	je	LBB0_24
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r12d, (%rbx)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_cols@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jge	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_fputs
	movq	_scripted@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r13d
	movq	_isglobal@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jne	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_rows@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jge	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %eax
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_8
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_fputs
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_get_tty_line
	testq	%rax, %rax
	js	LBB0_20
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%r14,%r15), %eax
	testl	%r12d, (%rbx)
	je	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$32, %al
	jl	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$92, %al
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$127, %al
	jne	LBB0_22
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	$92, %edi
	callq	_putchar
	movzbl	(%r14,%r15), %r14d
	testb	%r14b, %r14b
	je	LBB0_21
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_ESCAPES@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movsbl	%r14b, %esi
	movq	%rbx, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	incl	%r13d
	movq	_ESCCHARS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subq	%rbx, %rax
	movsbl	(%rcx,%rax), %edi
	callq	_putchar
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	_GLS@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	shrb	$6, %r14b
	orb	$48, %r14b
	movzbl	%r14b, %edi
	callq	_putchar
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movzbl	(%r14,%r15), %eax
	shrb	$3, %al
	andb	$7, %al
	orb	$48, %al
	movzbl	%al, %edi
	callq	_putchar
	movzbl	(%r14,%r15), %eax
	andb	$7, %al
	orb	$48, %al
	movzbl	%al, %edi
	callq	_putchar
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	addl	$3, %r13d
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	movq	_GLS@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
LBB0_24:
	movq	_GLS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_26
## %bb.25:
	movl	$36, %edi
	callq	_putchar
LBB0_26:
	movl	$10, %edi
	callq	_putchar
	xorl	%eax, %eax
LBB0_27:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_GNP,4,2                        ## @GNP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%ld\t"

	.comm	_GLS,4,2                        ## @GLS
	.comm	_cols,4,2                       ## @cols
L_.str.1:                               ## @.str.1
	.asciz	"\\\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_scripted,4,2                   ## @scripted
	.comm	_isglobal,4,2                   ## @isglobal
	.comm	_rows,4,2                       ## @rows
L_.str.2:                               ## @.str.2
	.asciz	"Press <RETURN> to continue... "

	.comm	_ERR,4,2                        ## @ERR
	.comm	_ESCAPES,8,3                    ## @ESCAPES
	.comm	_ESCCHARS,8,3                   ## @ESCCHARS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_put_tty_line                   ; -- Begin function put_tty_line
	.p2align	2
_put_tty_line:                          ; @put_tty_line
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _GNP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GNP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	bl	_printf
	mov	w22, #8
	b	LBB0_3
LBB0_2:
	mov	w22, #0
LBB0_3:
Lloh5:
	adrp	x25, _GLS@GOTPAGE
Lloh6:
	ldr	x25, [x25, _GLS@GOTPAGEOFF]
	cbz	w20, LBB0_23
; %bb.4:
	mov	w27, #0
Lloh7:
	adrp	x28, _cols@GOTPAGE
Lloh8:
	ldr	x28, [x28, _cols@GOTPAGEOFF]
Lloh9:
	adrp	x23, _stdout@GOTPAGE
Lloh10:
	ldr	x23, [x23, _stdout@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w22, w22, #1
Lloh11:
	adrp	x8, _ESCCHARS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ESCCHARS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	sub	x9, x0, x24
	ldrsb	w0, [x8, x9]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_putchar
	add	x21, x21, #1
	cbz	w20, LBB0_23
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	tst	w8, w19
	b.eq	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	cmp	w22, w8
	b.ge	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w22, w22, #1
	b	LBB0_16
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x23]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fputs
Lloh16:
	adrp	x8, _scripted@GOTPAGE
Lloh17:
	ldr	x8, [x8, _scripted@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _isglobal@GOTPAGE
Lloh20:
	ldr	x9, [x9, _isglobal@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
	cbnz	w8, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh22:
	adrp	x8, _rows@GOTPAGE
Lloh23:
	ldr	x8, [x8, _rows@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w27, w8
	b.ge	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w27, #1
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x23]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_fputs
	ldr	w0, [x23]
	bl	_fflush
	bl	_get_tty_line
	tbnz	x0, #63, LBB0_27
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w27, #0
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w22, #1
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w20, w20, #1
	ldr	w9, [x25]
	ldrb	w8, [x21]
	sxtb	w0, w8
	tst	w9, w19
	b.eq	LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #32
	b.lt	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #92
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	and	w8, w0, #0xff
	cmp	w8, #127
	b.ne	LBB0_6
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #92
	bl	_putchar
	ldrb	w26, [x21]
	cbz	w26, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh27:
	adrp	x8, _ESCAPES@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ESCAPES@GOTPAGEOFF]
Lloh29:
	ldr	x24, [x8]
	sxtb	w1, w26
	mov	x0, x24
	bl	_strchr
	cbnz	x0, LBB0_5
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	lsr	w8, w26, #6
	orr	w0, w8, #0x30
	bl	_putchar
	ldrb	w8, [x21]
	mov	w0, #48
	bfxil	w0, w8, #3, #3
	bl	_putchar
	ldrb	w8, [x21]
	mov	w0, #48
	bfxil	w0, w8, #0, #3
	bl	_putchar
	add	w22, w22, #3
	add	x21, x21, #1
	cbnz	w20, LBB0_7
LBB0_23:
	ldr	w8, [x25]
	tst	w8, w19
	b.eq	LBB0_25
; %bb.24:
	mov	w0, #36
	bl	_putchar
LBB0_25:
	mov	w0, #10
	bl	_putchar
	mov	w0, #0
LBB0_26:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_27:
Lloh30:
	adrp	x8, _ERR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_GNP,4,2                        ; @GNP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%ld\t"

	.comm	_GLS,4,2                        ; @GLS
	.comm	_cols,4,2                       ; @cols
l_.str.1:                               ; @.str.1
	.asciz	"\\\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_scripted,4,2                   ; @scripted
	.comm	_isglobal,4,2                   ; @isglobal
	.comm	_rows,4,2                       ; @rows
l_.str.2:                               ; @.str.2
	.asciz	"Press <RETURN> to continue... "

	.comm	_ERR,4,2                        ; @ERR
	.comm	_ESCAPES,8,3                    ; @ESCAPES
	.comm	_ESCCHARS,8,3                   ; @ESCCHARS
.subsections_via_symbols
