	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mode
_mode:                                  ## @mode
	.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	%r9d, %r13d
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %r10d
	movl	4(%rdi), %eax
	leal	1(%r10), %r9d
	cmpl	%eax, %r9d
	jge	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	leal	(%rax,%rax), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rdi
	shll	$3, %eax
	leal	(%rax,%rax,4), %esi
	callq	_realloc
	movq	%rax, 8(%rbx)
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, 4(%rbx)
	movl	(%rbx), %r10d
	leal	1(%r10), %r9d
LBB0_3:
	movslq	%r13d, %rsi
	imulq	$274877907, %rsi, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rdi
	shrq	$63, %rdi
	sarq	$38, %rsi
	addl	%edi, %esi
	movl	%r9d, (%rbx)
	movslq	%r10d, %rdi
	leaq	(%rdi,%rdi,4), %rdi
	movl	%r14d, (%rax,%rdi,4)
	movl	%r12d, 4(%rax,%rdi,4)
	movl	%r15d, 8(%rax,%rdi,4)
	movl	%esi, 12(%rax,%rdi,4)
	movl	$0, 16(%rax,%rdi,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mode
_mode:                                  ; @mode
	.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	x23, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
	ldp	w8, w10, [x0]
	add	w9, w8, #1
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [x22, #8]
	b	LBB0_3
LBB0_2:
	lsl	w24, w10, #1
	ldr	x0, [x22, #8]
	add	w8, w10, w10, lsl #2
	lsl	w1, w8, #3
	bl	_realloc
	str	x0, [x22, #8]
	str	w24, [x22, #4]
	ldr	w8, [x22]
	add	w9, w8, #1
LBB0_3:
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x10, w23, w10
	lsr	x11, x10, #63
	asr	x10, x10, #38
	str	w9, [x22]
	mov	w9, #20
	smaddl	x8, w8, w9, x0
	stp	w21, w20, [x8]
	add	w9, w10, w11
	stp	w19, w9, [x8, #8]
	str	wzr, [x8, #16]
	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	_mode
.subsections_via_symbols
