	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_to_sublevel
_add_to_sublevel:                       ## @add_to_sublevel
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	24(%rdi), %rax
	movq	(%rax,%rdx,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %r12
	movl	$40, %edi
	callq	_sort_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	32(%r12), %rax
	incq	%rax
	movq	%rax, 32(%rbx)
	movq	24(%r12), %rax
	movq	%rbx, (%rax,%r15,8)
	incl	16(%r12)
LBB0_2:
	movl	(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%rbx)
	cmpl	4(%rbx), %eax
	jge	LBB0_4
## %bb.3:
	movq	8(%rbx), %rax
	jmp	LBB0_5
LBB0_4:
	leal	129(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	8(%rbx), %rdi
	leal	1032(,%rax,8), %esi
	callq	_sort_realloc
	movq	%rax, 8(%rbx)
	movl	(%rbx), %ecx
LBB0_5:
	movslq	%ecx, %rcx
	movq	%r14, -8(%rax,%rcx,8)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_to_sublevel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_to_sublevel
_add_to_sublevel:                       ; @add_to_sublevel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x0, #24]
	ldr	x20, [x8, x2, lsl #3]
	cbnz	x20, LBB0_2
; %bb.1:
	mov	x22, x2
	mov	x21, x0
	mov	w0, #40
	bl	_sort_malloc
	mov	x20, x0
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldp	x9, x8, [x21, #24]
	add	x8, x8, #1
	str	x8, [x20, #32]
	str	x20, [x9, x22, lsl #3]
	ldr	w8, [x21, #16]
	add	w8, w8, #1
	str	w8, [x21, #16]
LBB0_2:
	ldp	w9, w10, [x20]
	add	w8, w9, #1
	str	w8, [x20]
	cmp	w9, w10
	b.ge	LBB0_4
; %bb.3:
	ldr	x0, [x20, #8]
	b	LBB0_5
LBB0_4:
	add	w8, w9, #129
	str	w8, [x20, #4]
	ldr	x0, [x20, #8]
	lsl	w1, w8, #3
	bl	_sort_realloc
	str	x0, [x20, #8]
	ldr	w8, [x20]
LBB0_5:
	sub	w8, w8, #1
	str	x19, [x0, w8, sxtw #3]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_to_sublevel
.subsections_via_symbols
