	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_group                       ## -- Begin function jv_group
	.p2align	4, 0x90
_jv_group:                              ## @jv_group
	.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
	movl	%esi, %r12d
	movl	%edi, %r15d
	callq	_jv_get_kind
	movq	_JV_KIND_ARRAY@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	movl	%r12d, %edi
	callq	_jv_get_kind
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	movl	%r15d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_array_length
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_array_length
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_assert
	movl	%r15d, %edi
	callq	_jv_copy
	movl	%eax, %edi
	callq	_jv_array_length
	movl	%eax, %r14d
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_sort_items
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_jv_array
	movl	%eax, %ebx
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %ebx
	xorl	%eax, %eax
	callq	_jv_array
	movl	(%r15), %esi
	movl	%eax, %edi
	callq	_jv_array_append
	movl	%eax, %r13d
	cmpl	$1, %r14d
	jne	LBB0_2
LBB0_7:
	movl	%ebx, %edi
	callq	_jv_free
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	callq	_jv_array_append
	movl	%eax, %ebx
LBB0_8:
	movq	%r15, %rdi
	callq	_jv_mem_free
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r14d, %eax
	decq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_jv_free
	movl	12(%r15,%r12,4), %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	callq	_jv_array_append
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_jv_array
	movl	%eax, %r13d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r15,%r14,8), %esi
	movl	%r13d, %edi
	callq	_jv_array_append
	movl	%eax, %r13d
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_jv_copy
	movl	%eax, %ebx
	leaq	(%r14,%r14), %r12
	movl	12(%r15,%r14,8), %edi
	callq	_jv_copy
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_jv_equal
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%r15,%r12,4), %edi
	callq	_jv_free
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_ARRAY,8,3              ## @JV_KIND_ARRAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jv_group                       ; -- Begin function jv_group
	.p2align	2
_jv_group:                              ; @jv_group
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	bl	_jv_get_kind
Lloh0:
	adrp	x21, _JV_KIND_ARRAY@GOTPAGE
Lloh1:
	ldr	x21, [x21, _JV_KIND_ARRAY@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_jv_get_kind
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_jv_copy
	bl	_jv_array_length
	mov	x21, x0
	mov	x0, x19
	bl	_jv_copy
	bl	_jv_array_length
	cmp	w21, w0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_jv_copy
	bl	_jv_array_length
	mov	x23, x0
	mov	x0, x20
	mov	x1, x19
	bl	_sort_items
	mov	x19, x0
	bl	_jv_array
	mov	x20, x0
	cmp	w23, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w21, [x19, #4]
	bl	_jv_array
	ldr	w1, [x19]
	bl	_jv_array_append
	mov	x22, x0
	cmp	w23, #1
	b.ne	LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_jv_free
	mov	x0, x20
	mov	x1, x22
	bl	_jv_array_append
	mov	x20, x0
LBB0_3:
	mov	x0, x19
	bl	_jv_mem_free
	mov	x0, x20
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w8, w23
	add	x24, x19, #12
	sub	x25, x8, #1
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_jv_free
	ldr	w21, [x24]
	mov	x0, x20
	mov	x1, x22
	bl	_jv_array_append
	mov	x20, x0
	bl	_jv_array
	mov	x22, x0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldur	w1, [x24, #-4]
	mov	x0, x22
	bl	_jv_array_append
	mov	x22, x0
	add	x24, x24, #8
	subs	x25, x25, #1
	b.eq	LBB0_2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_jv_copy
	mov	x23, x0
	ldr	w0, [x24]
	bl	_jv_copy
	mov	x1, x0
	mov	x0, x23
	bl	_jv_equal
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x24]
	bl	_jv_free
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_ARRAY,8,3              ; @JV_KIND_ARRAY
.subsections_via_symbols
