	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __print_prompt
___print_prompt:                        ## @__print_prompt
	.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
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_r_cons_singleton
	movq	%rax, %r12
	xorl	%edi, %edi
	callq	_r_cons_get_size
	movl	%eax, %ebx
	movq	_I@GOTPCREL(%rip), %r13
	movq	16(%r13), %rdi
	callq	_strlen
	movl	$1, %edi
	movl	%eax, %esi
	callq	_R_MAX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r13), %rdi
	callq	_r_str_ansi_len
	subl	%eax, %ebx
	addl	$-4, %ebx
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_R_MAX
	movl	%eax, %r15d
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	_R_LINE_PROMPT_OFFSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	xorl	%edi, %edi
	callq	_r_cons_gotoxy
	xorl	%eax, %eax
	callq	_r_cons_flush
LBB0_2:
	xorl	%edi, %edi
	callq	_r_cons_clear_line
	movq	_Color_RESET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r13), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	16(%r13), %rbx
	movl	%r15d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_R_MIN
	movq	_stdout@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_fwrite
	movq	(%r13), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	8(%r13), %eax
	cmpl	%r15d, %eax
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	8(%r13), %eax
	movl	%eax, %ecx
	subl	%r15d, %ecx
	cmpl	$9, %ecx
	movl	$7, %r14d
	cmovbl	%ecx, %r14d
LBB0_4:
	movl	%eax, %edx
	subl	%r14d, %edx
	jle	LBB0_7
## %bb.5:
	cmpl	12(%r13), %eax
	jg	LBB0_7
## %bb.6:
	movl	%r14d, %edi
	addq	16(%r13), %rdi
	movl	(%r12), %ecx
	movl	$1, %esi
	callq	_fwrite
LBB0_7:
	movl	(%r12), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I,24,3                         ## @I
	.comm	_R_LINE_PROMPT_OFFSET,8,3       ## @R_LINE_PROMPT_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r%s%s"

	.comm	_Color_RESET,8,3                ## @Color_RESET
	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"\r%s"

L_.str.2:                               ## @.str.2
	.asciz	"< "

	.no_dead_strip	___print_prompt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __print_prompt
___print_prompt:                        ; @__print_prompt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	bl	_r_cons_singleton
	mov	x21, x0
	mov	x0, #0
	bl	_r_cons_get_size
	mov	x19, x0
Lloh0:
	adrp	x22, _I@GOTPAGE
Lloh1:
	ldr	x22, [x22, _I@GOTPAGEOFF]
	ldr	x0, [x22, #16]
	bl	_strlen
	mov	x1, x0
	mov	w0, #1
	bl	_R_MAX
	mov	x20, x0
	ldr	x0, [x22]
	bl	_r_str_ansi_len
	sub	w8, w19, w0
	sub	w1, w8, #4
	mov	w0, #1
	bl	_R_MAX
	mov	x19, x0
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _R_LINE_PROMPT_OFFSET@GOTPAGE
Lloh3:
	ldr	x9, [x9, _R_LINE_PROMPT_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x21]
	mov	w0, #0
	bl	_r_cons_gotoxy
	bl	_r_cons_flush
LBB0_2:
	mov	w0, #0
	bl	_r_cons_clear_line
Lloh5:
	adrp	x8, _Color_RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Color_RESET@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x22]
	stp	x8, x9, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	x21, [x22, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_R_MIN
	mov	x2, x0
Lloh10:
	adrp	x20, _stdout@GOTPAGE
Lloh11:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	x0, x21
	mov	w1, #1
	bl	_fwrite
	ldr	x8, [x22]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	w8, [x22, #8]
	cmp	w8, w19
	b.le	LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	ldr	w8, [x22, #8]
	sub	w9, w8, w19
	mov	w10, #7
	cmp	w9, #8
	csel	w9, w10, w9, hi
	b	LBB0_5
LBB0_4:
	mov	w9, #0
LBB0_5:
	sub	w2, w8, w9
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.6:
	ldr	w10, [x22, #12]
	cmp	w8, w10
	b.gt	LBB0_8
; %bb.7:
	ldr	x8, [x22, #16]
	add	x0, x8, w9, uxtw
	ldr	w3, [x20]
	mov	w1, #1
	bl	_fwrite
LBB0_8:
	ldr	w0, [x20]
	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
	add	sp, sp, #64
	b	_fflush
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_I,24,3                         ; @I
	.comm	_R_LINE_PROMPT_OFFSET,8,3       ; @R_LINE_PROMPT_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r%s%s"

	.comm	_Color_RESET,8,3                ; @Color_RESET
	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"\r%s"

l_.str.2:                               ; @.str.2
	.asciz	"< "

	.no_dead_strip	___print_prompt
.subsections_via_symbols
