	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_Step_1c
_r_Step_1c:                             ## @r_Step_1c
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	4(%rdi), %rax
	movl	%eax, (%rdi)
	xorl	%r14d, %r14d
	cmpl	12(%rdi), %eax
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movb	-1(%rcx,%rax), %cl
	orb	$32, %cl
	cmpb	$121, %cl
	jne	LBB0_4
## %bb.2:
	decq	%rax
	movl	%eax, 4(%rbx)
	movq	%rax, 24(%rbx)
	movq	_g_v@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %r15d
	movq	%rbx, %rdi
	movl	$97, %edx
	movl	$121, %ecx
	movl	$1, %r8d
	callq	_out_grouping_b_U
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	subl	%eax, 4(%rbx)
	movq	_s_5@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_slice_from_s
	xorl	%r14d, %r14d
	testl	%eax, %eax
	cmovsl	%eax, %r14d
	cmovnsl	%r15d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_v,4,2                        ## @g_v
	.comm	_s_5,4,2                        ## @s_5
	.no_dead_strip	_r_Step_1c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_Step_1c
_r_Step_1c:                             ; @r_Step_1c
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldrsw	x8, [x0, #4]
	str	w8, [x0]
	ldr	w9, [x0, #12]
	cmp	w8, w9
	b.le	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #16]
	sub	x8, x8, #1
	ldrb	w9, [x9, x8]
	orr	w9, w9, #0x20
	cmp	w9, #121
	b.ne	LBB0_4
; %bb.2:
	str	w8, [x19, #4]
	str	x8, [x19, #24]
Lloh0:
	adrp	x8, _g_v@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_v@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #97
	mov	w3, #121
	mov	w4, #1
	bl	_out_grouping_b_U
	tbnz	w0, #31, LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
	sub	w8, w8, w0
	str	w8, [x19, #4]
Lloh3:
	adrp	x8, _s_5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_5@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_slice_from_s
	cmp	w0, #0
	csel	w8, w0, wzr, lt
	csinc	w0, w8, wzr, lt
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_g_v,4,2                        ; @g_v
	.comm	_s_5,4,2                        ; @s_5
	.no_dead_strip	_r_Step_1c
.subsections_via_symbols
