	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	movl	%eax, (%rdi)
	movq	_a_9@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_find_among_b
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %ecx
	movl	%ecx, 8(%rbx)
	cmpl	$2, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$1, %eax
	jne	LBB0_16
## %bb.4:
	movq	%rbx, %rdi
	callq	_r_RV
	testl	%eax, %eax
	jle	LBB0_17
LBB0_5:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	jns	LBB0_16
	jmp	LBB0_17
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_6:
	movq	%rbx, %rdi
	callq	_r_RV
	testl	%eax, %eax
	jle	LBB0_17
## %bb.7:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	js	LBB0_17
## %bb.8:
	movl	4(%rbx), %eax
	movl	16(%rbx), %ecx
	movl	%eax, %r14d
	subl	12(%rbx), %r14d
	movl	%eax, (%rbx)
	cmpl	%ecx, %eax
	jle	LBB0_16
## %bb.9:
	movslq	%eax, %rdx
	movq	24(%rbx), %rsi
	cmpb	$117, -1(%rsi,%rdx)
	jne	LBB0_16
## %bb.10:
	leaq	-1(%rdx), %rdi
	movl	%edi, 4(%rbx)
	movl	%edi, 8(%rbx)
	cmpl	%ecx, %edi
	jle	LBB0_15
## %bb.11:
	cmpb	$103, -2(%rdx,%rsi)
	jne	LBB0_15
## %bb.12:
	movq	%rbx, %rdi
	callq	_r_RV
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	jns	LBB0_5
	jmp	LBB0_17
LBB0_14:
	addl	12(%rbx), %r14d
	movl	%r14d, %eax
LBB0_15:
	movl	%eax, 4(%rbx)
LBB0_16:
	movl	$1, %eax
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_a_9,4,2                        ## @a_9
	.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
	ldr	w8, [x0, #4]
	str	w8, [x0]
Lloh0:
	adrp	x8, _a_9@GOTPAGE
Lloh1:
	ldr	x8, [x8, _a_9@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_find_among_b
	cbz	w0, LBB0_16
; %bb.1:
	ldr	w8, [x19, #4]
	str	w8, [x19, #8]
	cmp	w0, #2
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #1
	b.ne	LBB0_15
; %bb.3:
	mov	x0, x19
	bl	_r_RV
	cmp	w0, #1
	b.lt	LBB0_16
LBB0_4:
	mov	x0, x19
	bl	_slice_del
	tbz	w0, #31, LBB0_15
	b	LBB0_16
LBB0_5:
	mov	x0, x19
	bl	_r_RV
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.6:
	mov	x0, x19
	bl	_slice_del
	tbnz	w0, #31, LBB0_16
; %bb.7:
	ldr	w20, [x19, #4]
	str	w20, [x19]
	ldp	w21, w8, [x19, #12]
	cmp	w20, w8
	b.le	LBB0_15
; %bb.8:
	sxtw	x9, w20
	ldr	x10, [x19, #24]
	sub	x11, x9, #1
	ldrb	w12, [x10, x11]
	cmp	w12, #117
	b.ne	LBB0_15
; %bb.9:
	stp	w11, w11, [x19, #4]
	cmp	w11, w8
	b.le	LBB0_14
; %bb.10:
	add	x8, x9, x10
	ldurb	w8, [x8, #-2]
	cmp	w8, #103
	b.ne	LBB0_14
; %bb.11:
	mov	x0, x19
	bl	_r_RV
	cbz	w0, LBB0_13
; %bb.12:
	tbz	w0, #31, LBB0_4
	b	LBB0_16
LBB0_13:
	ldr	w8, [x19, #12]
	sub	w9, w20, w21
	add	w20, w9, w8
LBB0_14:
	str	w20, [x19, #4]
LBB0_15:
	mov	w0, #1
LBB0_16:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_a_9,4,2                        ; @a_9
	.no_dead_strip	_r_residual_suffix
.subsections_via_symbols
