	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_residual_suffix
_r_residual_suffix:                     ## @r_residual_suffix
	.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
	movq	%rdi, %r12
	movl	(%rdi), %r14d
	movl	4(%rdi), %ebx
	movl	%ebx, 8(%rdi)
	cmpl	12(%rdi), %ebx
	jle	LBB0_7
## %bb.1:
	movslq	%ebx, %rax
	movq	16(%r12), %rcx
	cmpb	$115, -1(%rcx,%rax)
	jne	LBB0_7
## %bb.2:
	decq	%rax
	movl	%eax, 4(%r12)
	movl	%eax, 24(%r12)
	movl	%r14d, %r15d
	subl	%eax, %r15d
	movq	_s_30@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_eq_s_b
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movl	(%r12), %eax
	subl	%r15d, %eax
	movl	%eax, 4(%r12)
	movq	%r12, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_24
## %bb.6:
	movl	4(%r12), %ebx
	jmp	LBB0_7
LBB0_3:
	movl	(%r12), %eax
	subl	%r15d, %eax
	movl	%eax, 4(%r12)
	movq	_g_keep_with_s@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$97, %edx
	movl	$232, %ecx
	xorl	%r8d, %r8d
	callq	_out_grouping_b
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	subl	%r14d, %ebx
	addl	(%r12), %ebx
	movl	%ebx, 4(%r12)
LBB0_7:
	movq	32(%r12), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	cmpl	%eax, %ebx
	jl	LBB0_25
## %bb.8:
	movl	12(%r12), %r15d
	movl	%eax, 12(%r12)
	movl	%ebx, 8(%r12)
	xorl	%r14d, %r14d
	cmpl	%eax, %ebx
	jle	LBB0_16
## %bb.9:
	movq	16(%r12), %rax
	movslq	%ebx, %rcx
	movsbl	-1(%rcx,%rax), %eax
	movl	%eax, %ecx
	andl	$-32, %ecx
	cmpl	$96, %ecx
	jne	LBB0_16
## %bb.10:
	movl	$278560, %ecx                   ## imm = 0x44020
	btl	%eax, %ecx
	jae	LBB0_16
## %bb.11:
	movq	_a_7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$6, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:
	movl	4(%r12), %ecx
	movl	%ecx, 24(%r12)
	cmpl	$3, %eax
	je	LBB0_22
## %bb.13:
	cmpl	$2, %eax
	je	LBB0_26
## %bb.14:
	cmpl	$1, %eax
	jne	LBB0_15
## %bb.17:
	movq	%r12, %rdi
	callq	_r_R2
	testl	%eax, %eax
	je	LBB0_16
## %bb.18:
	js	LBB0_24
## %bb.19:
	movslq	4(%r12), %rax
	cmpl	12(%r12), %eax
	jle	LBB0_16
## %bb.20:
	movq	16(%r12), %rcx
	movb	-1(%rcx,%rax), %cl
	addb	$-115, %cl
	cmpb	$1, %cl
	ja	LBB0_16
## %bb.21:
	decq	%rax
	movl	%eax, 4(%r12)
LBB0_22:
	movq	%r12, %rdi
	callq	_slice_del
	movl	$1, %r14d
	jmp	LBB0_23
LBB0_26:
	movq	_s_31@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %r14d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_slice_from_s
LBB0_23:
	testl	%eax, %eax
	jns	LBB0_16
LBB0_24:
	movl	%eax, %r14d
	jmp	LBB0_25
LBB0_15:
	movl	$1, %r14d
LBB0_16:
	movl	%r15d, 12(%r12)
LBB0_25:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_30,4,2                       ## @s_30
	.comm	_g_keep_with_s,4,2              ## @g_keep_with_s
	.comm	_a_7,4,2                        ## @a_7
	.comm	_s_31,4,2                       ## @s_31
	.no_dead_strip	_r_residual_suffix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_residual_suffix
_r_residual_suffix:                     ; @r_residual_suffix
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w21, w20, [x0]
	str	w20, [x0, #8]
	ldr	w8, [x0, #12]
	cmp	w20, w8
	b.le	LBB0_7
; %bb.1:
	sxtw	x8, w20
	ldr	x9, [x19, #16]
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	cmp	w9, #115
	b.ne	LBB0_7
; %bb.2:
	str	w8, [x19, #4]
	str	w8, [x19, #24]
	sub	w22, w21, w8
Lloh0:
	adrp	x8, _s_30@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_30@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #2
	bl	_eq_s_b
	cbz	w0, LBB0_5
LBB0_3:
	ldr	w8, [x19]
	sub	w8, w8, w22
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_27
; %bb.4:
	ldr	w20, [x19, #4]
	b	LBB0_7
LBB0_5:
	ldr	w8, [x19]
	sub	w8, w8, w22
	str	w8, [x19, #4]
Lloh3:
	adrp	x8, _g_keep_with_s@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_keep_with_s@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #97
	mov	w3, #232
	mov	w4, #0
	bl	_out_grouping_b
	cbz	x0, LBB0_3
; %bb.6:
	ldr	w8, [x19]
	sub	w9, w20, w21
	add	w20, w9, w8
	str	w20, [x19, #4]
LBB0_7:
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cmp	w20, w8
	b.ge	LBB0_9
; %bb.8:
	mov	w20, #0
	b	LBB0_25
LBB0_9:
	ldr	w21, [x19, #12]
	stp	w20, w8, [x19, #8]
	cmp	w20, w8
	b.le	LBB0_23
; %bb.10:
	ldr	x8, [x19, #16]
	add	x8, x8, w20, sxtw
	ldursb	w8, [x8, #-1]
	and	w9, w8, #0xffffffe0
	cmp	w9, #96
	b.ne	LBB0_23
; %bb.11:
	mov	w9, #16416
	movk	w9, #4, lsl #16
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_23
; %bb.12:
Lloh6:
	adrp	x8, _a_7@GOTPAGE
Lloh7:
	ldr	x8, [x8, _a_7@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #6
	bl	_find_among_b
	cbz	w0, LBB0_23
; %bb.13:
	ldr	w8, [x19, #4]
	str	w8, [x19, #24]
	cmp	w0, #3
	b.eq	LBB0_21
; %bb.14:
	cmp	w0, #2
	b.eq	LBB0_26
; %bb.15:
	cmp	w0, #1
	b.ne	LBB0_22
; %bb.16:
	mov	x0, x19
	bl	_r_R2
	mov	x20, x0
	cbz	w0, LBB0_24
; %bb.17:
	tbnz	w20, #31, LBB0_25
; %bb.18:
	ldrsw	x8, [x19, #4]
	ldr	w9, [x19, #12]
	cmp	w8, w9
	b.le	LBB0_23
; %bb.19:
	ldr	x9, [x19, #16]
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	sub	w9, w9, #115
	cmp	w9, #1
	b.hi	LBB0_23
; %bb.20:
	str	w8, [x19, #4]
LBB0_21:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_27
LBB0_22:
	mov	w20, #1
	b	LBB0_24
LBB0_23:
	mov	w20, #0
LBB0_24:
	str	w21, [x19, #12]
LBB0_25:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_26:
Lloh9:
	adrp	x8, _s_31@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_31@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w20, #1
	mov	x0, x19
	mov	w1, #1
	bl	_slice_from_s
	tbz	w0, #31, LBB0_24
LBB0_27:
	mov	x20, x0
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_s_30,4,2                       ; @s_30
	.comm	_g_keep_with_s,4,2              ; @g_keep_with_s
	.comm	_a_7,4,2                        ; @a_7
	.comm	_s_31,4,2                       ; @s_31
	.no_dead_strip	_r_residual_suffix
.subsections_via_symbols
