	.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
	movl	(%rdi), %ecx
	movl	4(%rdi), %edx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	jle	LBB0_4
## %bb.1:
	leal	-1(%rcx), %esi
	movl	%esi, (%rdi)
	movl	%esi, 8(%rdi)
	addl	$-2, %ecx
	cmpl	%ecx, %edx
	jg	LBB0_4
## %bb.2:
	cmpl	12(%rdi), %ecx
	jg	LBB0_4
## %bb.3:
	movl	%ecx, (%rdi)
	movl	%ecx, 16(%rdi)
	callq	_slice_del
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovsl	%eax, %ecx
	movl	$1, %eax
	cmovsl	%ecx, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.le	LBB0_3
; %bb.1:
	sub	w10, w8, #1
	str	w10, [x0]
	str	w10, [x0, #8]
	sub	w8, w8, #2
	cmp	w9, w8
	b.gt	LBB0_3
; %bb.2:
	ldr	w9, [x0, #12]
	cmp	w8, w9
	b.le	LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	str	w8, [x0]
	str	w8, [x0, #16]
	bl	_slice_del
	cmp	w0, #0
	csel	w8, w0, wzr, lt
	csinc	w0, w8, wzr, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r_undouble
.subsections_via_symbols
