	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jblocks_add
_jblocks_add:                           ## @jblocks_add
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movq	16(%rdi), %rbx
	movq	%rax, %rcx
	shlq	$4, %rcx
	movq	(%rbx,%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movslq	8(%rbx,%rcx), %rdx
	addq	%rdx, %rsi
	cmpq	%r15, %rsi
	jne	LBB0_4
## %bb.3:
	leaq	(%rbx,%rcx), %rax
	addq	$8, %rax
	addl	%r14d, %edx
	movl	%edx, (%rax)
	jmp	LBB0_7
LBB0_1:
	leaq	(%rbx,%rcx), %rax
	movq	%r15, (%rax)
	movl	%r14d, 8(%rbx,%rcx)
	jmp	LBB0_7
LBB0_4:
	movq	%rdi, %r12
	incq	%rax
	movq	%rax, (%rdi)
	movslq	8(%rdi), %r13
	cmpq	%r13, %rax
	jne	LBB0_6
## %bb.5:
	leal	(%r13,%r13), %eax
	movl	%eax, 8(%r12)
	shll	$5, %r13d
	movl	%r13d, %edi
	callq	_errmalloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	%r13d, %esi
	callq	_bzero
	movq	16(%r12), %rsi
	movl	(%r12), %edx
	shll	$4, %edx
	movq	%rbx, %rdi
	callq	_memmove
	movq	16(%r12), %rdi
	callq	_free
	movq	%rbx, 16(%r12)
	movq	(%r12), %rax
LBB0_6:
	shlq	$4, %rax
	movq	%r15, (%rbx,%rax)
	movl	%r14d, 8(%rbx,%rax)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_jblocks_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jblocks_add
_jblocks_add:                           ; @jblocks_add
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	x21, [x0, #16]
	ldr	x9, [x0]
	add	x8, x21, x9, lsl #4
	ldr	x11, [x8]
	cbz	x11, LBB0_6
; %bb.1:
	ldrsw	x10, [x8, #8]!
	add	x11, x11, x10
	cmp	x11, x20
	b.ne	LBB0_3
; %bb.2:
	add	w9, w10, w19
	str	w9, [x8]
	b	LBB0_7
LBB0_3:
	mov	x22, x0
	add	x8, x9, #1
	str	x8, [x0]
	ldrsw	x9, [x0, #8]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	lsl	w8, w9, #1
	str	w8, [x22, #8]
	lsl	w23, w9, #5
	mov	x0, x23
	bl	_errmalloc
	mov	x21, x0
	mov	x1, x23
	bl	_bzero
	ldr	x1, [x22, #16]
	ldr	w8, [x22]
	lsl	w2, w8, #4
	mov	x0, x21
	bl	_memmove
	ldr	x0, [x22, #16]
	bl	_free
	str	x21, [x22, #16]
	ldr	x8, [x22]
LBB0_5:
	add	x8, x21, x8, lsl #4
LBB0_6:
	str	x20, [x8]
	str	w19, [x8, #8]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_jblocks_add
.subsections_via_symbols
