	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getstr                         ## -- Begin function getstr
	.p2align	4, 0x90
_getstr:                                ## @getstr
	.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
	movq	%rdi, %r13
	decq	%r14
	movl	$127, %r12d
	leaq	L_.str(%rip), %r15
	movq	%rdi, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$127, %dil
	jne	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r13, %rbx
	ja	LBB0_12
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_xgetc
	cmpl	$21248, %eax                    ## imm = 0x5300
	movzbl	%al, %edi
	cmovel	%r12d, %edi
	cmpb	$12, %dil
	jg	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$8, %dil
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$10, %dil
	jne	LBB0_4
	jmp	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$13, %dil
	je	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	-32(%rdi), %eax
	cmpl	$94, %eax
	ja	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rax
	subq	%r13, %rax
	cmpq	%r14, %rax
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	%dil, (%rbx)
	incq	%rbx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_putchar
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	decq	%rbx
	movq	%r15, %rdi
	callq	_printf
	jmp	LBB0_1
LBB0_10:
	movb	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\b \b"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getstr                         ; -- Begin function getstr
	.p2align	2
_getstr:                                ; @getstr
	.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, x0
	sub	x21, x1, #1
	mov	w22, #21248
	mov	w24, #127
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	x23, x0
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #127
	b.ne	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x23, x19
	b.hi	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_xgetc
	and	w8, w0, #0xff
	cmp	w0, w22
	csel	w0, w24, w8, eq
	cmp	w0, #12
	b.gt	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #8
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #10
	b.ne	LBB0_7
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w0, #13
	b.eq	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w0, #32
	cmp	w8, #94
	b.hi	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x23, x19
	cmp	x8, x21
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	strb	w0, [x23], #1
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_putchar
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x23, x23, #1
	mov	x0, x20
	bl	_printf
	b	LBB0_3
LBB0_12:
	strb	wzr, [x23]
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\b \b"

.subsections_via_symbols
