	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function parse_slice
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_parse_slice:                           ## @parse_slice
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %r13d
	movl	%esi, %edi
	callq	_jv_copy
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_jv_string
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_jv_object_get
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	_jv_string
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_jv_object_get
	movl	%eax, %r12d
	movl	%r14d, %edi
	callq	_jv_get_kind
	movq	_JV_KIND_NULL@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	callq	_jv_free
	xorl	%edi, %edi
	callq	_jv_number
	movl	%eax, %r14d
LBB0_2:
	movl	%r13d, %edi
	callq	_jv_get_kind
	movq	_JV_KIND_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movl	%r13d, %edi
	callq	_jv_array_length
	jmp	LBB0_6
LBB0_4:
	movl	%r13d, %edi
	callq	_jv_get_kind
	movq	_JV_KIND_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.5:
	movl	%r13d, %edi
	callq	_jv_string_length_codepoints
LBB0_6:
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_jv_get_kind
	cmpq	(%rbx), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r12d, %edi
	callq	_jv_free
	movl	%r13d, %edi
	callq	_jv_number
	movl	%eax, %r12d
LBB0_8:
	movl	%r14d, %edi
	callq	_jv_get_kind
	movq	_JV_KIND_NUMBER@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r12d, %edi
	callq	_jv_get_kind
	cmpq	(%rbx), %rax
	jne	LBB0_10
## %bb.13:
	movl	%r14d, %edi
	callq	_jv_number_value
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movl	%r12d, %edi
	callq	_jv_number_value
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	%r14d, %edi
	callq	_jv_free
	movl	%r12d, %edi
	callq	_jv_free
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r13d, %xmm0
	xorpd	%xmm1, %xmm1
	movsd	-48(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	movapd	%xmm5, %xmm2
	cmpltsd	%xmm1, %xmm2
	movapd	%xmm2, %xmm3
	andpd	%xmm0, %xmm3
	movsd	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero
	andnpd	%xmm4, %xmm2
	orpd	%xmm3, %xmm2
	addsd	%xmm5, %xmm2
	movsd	-56(%rbp), %xmm6                ## 8-byte Reload
                                        ## xmm6 = mem[0],zero
	movapd	%xmm6, %xmm3
	cmpltsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm5
	andpd	%xmm0, %xmm5
	andnpd	%xmm4, %xmm3
	orpd	%xmm5, %xmm3
	addsd	%xmm6, %xmm3
	maxsd	%xmm2, %xmm1
	ucomisd	%xmm0, %xmm3
	cvttsd2si	%xmm3, %eax
	minsd	%xmm1, %xmm0
	cmoval	%r13d, %eax
	cvttsd2si	%xmm0, %r14d
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	xorl	%ebx, %ebx
	ucomisd	%xmm0, %xmm3
	seta	%bl
	addl	%eax, %ebx
	cmpl	%r13d, %ebx
	cmovgel	%r13d, %ebx
	cmpl	%r14d, %ebx
	cmovlel	%r14d, %ebx
	testl	%r14d, %r14d
	setns	%al
	cmpl	%r13d, %ebx
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movl	%r14d, (%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	movl	$1, %eax
	jmp	LBB0_14
LBB0_10:
	movl	%r14d, %edi
	callq	_jv_free
	movl	%r12d, %edi
	jmp	LBB0_12
LBB0_11:
	movl	%r13d, %edi
LBB0_12:
	callq	_jv_free
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start"

L_.str.1:                               ## @.str.1
	.asciz	"end"

	.comm	_JV_KIND_NULL,8,3               ## @JV_KIND_NULL
	.comm	_JV_KIND_ARRAY,8,3              ## @JV_KIND_ARRAY
	.comm	_JV_KIND_STRING,8,3             ## @JV_KIND_STRING
	.comm	_JV_KIND_NUMBER,8,3             ## @JV_KIND_NUMBER
	.no_dead_strip	_parse_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_slice
_parse_slice:                           ; @parse_slice
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_jv_copy
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_jv_string
	mov	x1, x0
	mov	x0, x21
	bl	_jv_object_get
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_jv_string
	mov	x1, x0
	mov	x0, x22
	bl	_jv_object_get
	mov	x22, x0
	mov	x0, x21
	bl	_jv_get_kind
Lloh4:
	adrp	x24, _JV_KIND_NULL@GOTPAGE
Lloh5:
	ldr	x24, [x24, _JV_KIND_NULL@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_jv_free
	mov	w0, #0
	bl	_jv_number
	mov	x21, x0
LBB0_2:
	mov	x0, x23
	bl	_jv_get_kind
Lloh6:
	adrp	x8, _JV_KIND_ARRAY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JV_KIND_ARRAY@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x23
	bl	_jv_array_length
	b	LBB0_6
LBB0_4:
	mov	x0, x23
	bl	_jv_get_kind
Lloh9:
	adrp	x8, _JV_KIND_STRING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JV_KIND_STRING@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.5:
	mov	x0, x23
	bl	_jv_string_length_codepoints
LBB0_6:
	mov	x23, x0
	mov	x0, x22
	bl	_jv_get_kind
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_jv_free
	mov	x0, x23
	bl	_jv_number
	mov	x22, x0
LBB0_8:
	mov	x0, x21
	bl	_jv_get_kind
Lloh12:
	adrp	x24, _JV_KIND_NUMBER@GOTPAGE
Lloh13:
	ldr	x24, [x24, _JV_KIND_NUMBER@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x22
	bl	_jv_get_kind
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_jv_number_value
	fmov	d8, d0
	mov	x0, x22
	bl	_jv_number_value
	fmov	d9, d0
	mov	x0, x21
	bl	_jv_free
	mov	x0, x22
	bl	_jv_free
	scvtf	d0, w23
	fcmp	d8, #0.0
	mov	x8, #-9223372036854775808
	fmov	d1, x8
	fcsel	d2, d0, d1, mi
	fadd	d2, d8, d2
	fcmp	d9, #0.0
	fcsel	d1, d0, d1, mi
	fadd	d1, d9, d1
	movi	d3, #0000000000000000
	fmax	d2, d2, d3
	fcmp	d2, d0
	fcsel	d2, d0, d2, gt
	fcvtzs	w21, d2
	fcvtzs	w8, d1
	fcmp	d1, d0
	csel	w8, w23, w8, gt
	scvtf	d0, w8
	fcmp	d1, d0
	cinc	w8, w8, gt
	cmp	w8, w23
	csel	w8, w8, w23, lt
	cmp	w8, w21
	csel	w22, w8, w21, gt
	cmp	w21, #0
	ccmp	w22, w23, #0, ge
	cset	w0, le
	bl	_assert
	str	w21, [x20]
	str	w22, [x19]
	mov	w0, #1
	b	LBB0_14
LBB0_11:
	mov	x0, x21
	bl	_jv_free
	mov	x0, x22
	b	LBB0_13
LBB0_12:
	mov	x0, x23
LBB0_13:
	bl	_jv_free
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start"

l_.str.1:                               ; @.str.1
	.asciz	"end"

	.comm	_JV_KIND_NULL,8,3               ; @JV_KIND_NULL
	.comm	_JV_KIND_ARRAY,8,3              ; @JV_KIND_ARRAY
	.comm	_JV_KIND_STRING,8,3             ; @JV_KIND_STRING
	.comm	_JV_KIND_NUMBER,8,3             ; @JV_KIND_NUMBER
	.no_dead_strip	_parse_slice
.subsections_via_symbols
