	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vct_add_lim                    ## -- Begin function vct_add_lim
	.p2align	4, 0x90
_vct_add_lim:                           ## @vct_add_lim
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %edx
	cmpl	%r15d, %eax
	je	LBB0_3
## %bb.1:
	cmpl	%edx, %eax
	jne	LBB0_3
## %bb.2:
	leal	(%rax,%rax), %r12d
	cmpl	%r15d, %r12d
	cmovgel	%r15d, %r12d
	movq	8(%rbx), %rdi
	leal	(,%r12,4), %esi
	shll	$2, %eax
	movl	%eax, %edx
	callq	_qrealloc
	movq	%rax, 8(%rbx)
	movl	%r12d, (%rbx)
	movl	4(%rbx), %edx
LBB0_3:
	incl	16(%rbx)
	cmpl	%r15d, %edx
	jge	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	leal	1(%rdx), %ecx
	movl	%ecx, 4(%rbx)
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	16(%rbx)
                                        ## kill: def $edx killed $edx def $rdx
	cmpl	4(%rbx), %edx
	jge	LBB0_8
## %bb.6:
	movq	8(%rbx), %rax
LBB0_7:
	movslq	%edx, %rcx
	movl	%r14d, (%rax,%rcx,4)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vct_add_lim                    ; -- Begin function vct_add_lim
	.p2align	2
_vct_add_lim:                           ; @vct_add_lim
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldp	w9, w8, [x0]
	cmp	w9, w2
	ccmp	w9, w8, #0, ne
	b.ne	LBB0_2
; %bb.1:
	lsl	w8, w9, #1
	cmp	w8, w21
	csel	w22, w8, w21, lt
	ldr	x0, [x20, #8]
	lsl	w1, w22, #2
	lsl	w2, w9, #2
	bl	_qrealloc
	str	x0, [x20, #8]
	str	w22, [x20]
	ldr	w8, [x20, #4]
LBB0_2:
	ldr	w9, [x20, #16]
	add	w9, w9, #1
	str	w9, [x20, #16]
	cmp	w8, w21
	b.ge	LBB0_4
; %bb.3:
	ldr	x9, [x20, #8]
	add	w10, w8, #1
	str	w10, [x20, #4]
	b	LBB0_6
LBB0_4:
	bl	_rand
	ldr	w8, [x20, #16]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.5:
	ldr	x9, [x20, #8]
LBB0_6:
	str	w19, [x9, w8, sxtw #2]
LBB0_7:
	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
.subsections_via_symbols
