	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_undouble
_r_undouble:                            ## @r_undouble
	.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
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	xorl	%r14d, %r14d
	cmpq	%rcx, %rax
	jl	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movl	16(%rdi), %r15d
	movl	%ecx, 16(%rdi)
	movq	%rax, 24(%rdi)
	movq	_g_c@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movl	$98, %edx
	movl	$122, %ecx
	xorl	%r8d, %r8d
	callq	_in_grouping_b_U
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r15d, 16(%rbx)
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rax
	movq	40(%rbx), %rcx
	movq	%rax, 32(%rbx)
	movq	(%rcx), %rsi
	movq	%rbx, %rdi
	callq	_slice_to
	movq	40(%rbx), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	%r15d, 16(%rbx)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_eq_v_b
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_slice_del
	testl	%eax, %eax
	movl	$1, %r14d
	cmovsl	%eax, %r14d
	jmp	LBB0_7
LBB0_4:
	movl	$-1, %r14d
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_g_c,4,2                        ## @g_c
	.no_dead_strip	_r_undouble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_undouble
_r_undouble:                            ; @r_undouble
	.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
	ldp	x8, x9, [x0]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	mov	x19, x0
	ldr	w20, [x0, #16]
	str	w9, [x0, #16]
	str	x8, [x0, #24]
Lloh0:
	adrp	x8, _g_c@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_c@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #98
	mov	w3, #122
	mov	w4, #0
	bl	_in_grouping_b_U
	cbz	x0, LBB0_5
; %bb.3:
	mov	w0, #0
	str	w20, [x19, #16]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19]
	str	x8, [x19, #32]
	ldr	x8, [x19, #40]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_slice_to
	ldr	x8, [x19, #40]
	str	x0, [x8]
	cbz	x0, LBB0_8
; %bb.6:
	mov	x1, x0
	str	w20, [x19, #16]
	mov	x0, x19
	bl	_eq_v_b
	cbz	w0, LBB0_4
; %bb.7:
	mov	x0, x19
	bl	_slice_del
	cmp	w0, #0
	csinc	w0, w0, wzr, lt
	b	LBB0_4
LBB0_8:
	mov	w0, #-1
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_g_c,4,2                        ; @g_c
	.no_dead_strip	_r_undouble
.subsections_via_symbols
