	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getstr_str
_getstr_str:                            ## @getstr_str
	.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
	movq	%rdi, %r15
	movq	(%rdx), %rdi
	xorl	%r14d, %r14d
	movq	%r15, %r13
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmpq	%rcx, %rdi
	ja	LBB0_27
## %bb.1:
	movq	%rdx, %r12
	movslq	%esi, %rax
	addq	%r15, %rax
	decq	%rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_4 Depth 3
	xorl	%ecx, %ecx
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_4 Depth 3
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%rdi), %rbx
	testl	%ebx, %ebx
	je	LBB0_27
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=3
	cmpq	%r15, %r13
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=3
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=3
	movl	%ebx, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=3
	movq	(%r12), %rdi
	addq	$8, %rdi
	movq	%rdi, (%r12)
	xorl	%r14d, %r14d
	cmpq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	jbe	LBB0_4
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	xorl	%r14d, %r14d
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$34, %ebx
	jne	LBB0_10
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=2
	xorl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	(%r12), %rdi
	addq	$8, %rdi
	movq	%rdi, (%r12)
	xorl	%ecx, %ecx
	movl	$1, %r14d
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=2
	cmpq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	jbe	LBB0_3
	jmp	LBB0_27
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$92, %ebx
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	movl	$0, %edx
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
	jmp	LBB0_25
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=2
	leal	-48(%rbx), %eax
	cmpl	$9, %eax
	ja	LBB0_25
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_digits@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%ebx, %esi
	callq	_strchr
	movq	_digits@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	%ecx, %edx
	cmpl	$3, %ecx
	je	LBB0_21
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	(%r12), %rdi
	addq	$8, %rdi
	movq	%rdi, (%r12)
	movl	$1, %ecx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %ebx
	movl	$3, -44(%rbp)                   ## 4-byte Folded Spill
                                        ## kill: def $eax killed $eax killed $rax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	%bl, (%r13)
	incq	%r13
	movq	(%r12), %rdi
	addq	$8, %rdi
	movq	%rdi, (%r12)
	cmpq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	jbe	LBB0_2
	jmp	LBB0_27
LBB0_14:
	movq	%r15, %r13
LBB0_27:
	movb	$0, (%r13)
	decl	%r14d
	movl	%r13d, %eax
	subl	%r15d, %eax
	cmpq	%r15, %r13
	cmovel	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_digits,8,3                     ## @digits
	.no_dead_strip	_getstr_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getstr_str
_getstr_str:                            ; @getstr_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x0
	ldr	x8, [x2]
	cmp	x8, x3
	b.ls	LBB0_4
; %bb.1:
	mov	w24, #0
LBB0_2:
	mov	x23, x19
LBB0_3:
	strb	wzr, [x23]
	sub	w8, w24, #1
	sub	w9, w23, w19
	cmp	x23, x19
	csel	w0, w8, w9, eq
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_4:
	mov	x20, x3
	mov	x21, x2
	mov	w27, #0
	mov	w24, #0
	mov	w28, #0
	mov	w26, #0
	add	x9, x19, w1, sxtw
	sub	x9, x9, #1
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	mov	x23, x19
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	w25, #0
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x22, [x8]
	cbz	w22, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	x23, x19
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w24, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x22
	bl	_isspace
	mov	w24, #0
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x21]
	add	x8, x8, #8
	str	x8, [x21]
	cmp	x8, x20
	b.ls	LBB0_6
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w22, #34
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w25, LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=2
	eor	w28, w28, #0x1
	ldr	x8, [x21]
	add	x8, x8, #8
	str	x8, [x21]
	mov	w24, #1
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	x8, x20
	b.ls	LBB0_6
	b	LBB0_3
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w22, #92
	b.ne	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w25, LBB0_26
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	w26, #0
	mov	w27, #0
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=2
	cbz	w25, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=2
	sub	w8, w22, #48
	cmp	w8, #9
	b.hi	LBB0_26
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=2
	add	w8, w26, w26, lsl #2
	lsl	w25, w8, #1
Lloh0:
	adrp	x26, _digits@GOTPAGE
Lloh1:
	ldr	x26, [x26, _digits@GOTPAGEOFF]
	ldr	x0, [x26]
	mov	x1, x22
	bl	_strchr
	ldr	x8, [x26]
	sub	x8, x0, x8
	add	x26, x8, x25
	add	w27, w27, #1
	cmp	w27, #3
	b.eq	LBB0_25
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x21]
	add	x8, x8, #8
	str	x8, [x21]
	mov	w25, #1
	b	LBB0_14
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w28, LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_isspace
	cbnz	x0, LBB0_3
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	and	x22, x26, #0xff
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x23, x8
	b.hs	LBB0_3
; %bb.27:                               ;   in Loop: Header=BB0_5 Depth=1
	strb	w22, [x23], #1
	ldr	x8, [x21]
	add	x8, x8, #8
	str	x8, [x21]
	cmp	x8, x20
	b.ls	LBB0_5
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_digits,8,3                     ; @digits
	.no_dead_strip	_getstr_str
.subsections_via_symbols
