	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge
_merge:                                 ## @merge
	.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	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rax
	leaq	(%rdx,%rax,4), %r13
	movl	%ecx, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %eax
	addq	$4, %r13
	movl	%eax, (%rbx)
	decl	%r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %eax
	addq	$4, %r14
	movl	%eax, (%rbx)
	decl	%r12d
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$4, %rbx
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_1
LBB0_6:
	testl	%r12d, %r12d
	je	LBB0_25
## %bb.7:
	leal	-1(%r12), %r9d
	cmpl	$7, %r9d
	jb	LBB0_18
## %bb.8:
	movq	%rbx, %rdx
	subq	%r14, %rdx
	cmpq	$32, %rdx
	jb	LBB0_18
## %bb.9:
	incq	%r9
	movq	%r9, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rdi
	movq	%rdi, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %r10d
	andl	$3, %r10d
	cmpq	$24, %rdi
	jae	LBB0_11
## %bb.10:
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_11:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r14,%rdi,4), %xmm0
	movups	16(%r14,%rdi,4), %xmm1
	movups	%xmm0, (%rbx,%rdi,4)
	movups	%xmm1, 16(%rbx,%rdi,4)
	movups	32(%r14,%rdi,4), %xmm0
	movups	48(%r14,%rdi,4), %xmm1
	movups	%xmm0, 32(%rbx,%rdi,4)
	movups	%xmm1, 48(%rbx,%rdi,4)
	movups	64(%r14,%rdi,4), %xmm0
	movups	80(%r14,%rdi,4), %xmm1
	movups	%xmm0, 64(%rbx,%rdi,4)
	movups	%xmm1, 80(%rbx,%rdi,4)
	movups	96(%r14,%rdi,4), %xmm0
	movups	112(%r14,%rdi,4), %xmm1
	movups	%xmm0, 96(%rbx,%rdi,4)
	movups	%xmm1, 112(%rbx,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_12
LBB0_13:
	testq	%r10, %r10
	je	LBB0_16
## %bb.14:
	leaq	(%rbx,%rdi,4), %rsi
	leaq	(%r14,%rdi,4), %rdi
	addq	$16, %rdi
	shlq	$5, %r10
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rdx), %xmm0
	movups	(%rdi,%rdx), %xmm1
	movups	%xmm0, (%rsi,%rdx)
	movups	%xmm1, 16(%rsi,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r10
	jne	LBB0_15
LBB0_16:
	leaq	(%rbx,%r8,4), %rbx
	cmpq	%r8, %r9
	je	LBB0_25
## %bb.17:
	subl	%r8d, %r12d
	leaq	(%r14,%r8,4), %r14
LBB0_18:
	leal	-1(%r12), %r8d
	movl	%r12d, %edi
	andl	$7, %edi
	je	LBB0_22
## %bb.19:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	addq	$4, %r14
	movl	%esi, (%rbx)
	addq	$4, %rbx
	incl	%edx
	cmpl	%edx, %edi
	jne	LBB0_20
## %bb.21:
	subl	%edx, %r12d
LBB0_22:
	cmpl	$7, %r8d
	jb	LBB0_25
## %bb.23:
	movl	%r12d, %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rcx,4), %edx
	movl	%edx, (%rbx)
	movl	4(%r14,%rcx,4), %edx
	movl	%edx, 4(%rbx)
	movl	8(%r14,%rcx,4), %edx
	movl	%edx, 8(%rbx)
	movl	12(%r14,%rcx,4), %edx
	movl	%edx, 12(%rbx)
	movl	16(%r14,%rcx,4), %edx
	movl	%edx, 16(%rbx)
	movl	20(%r14,%rcx,4), %edx
	movl	%edx, 20(%rbx)
	movl	24(%r14,%rcx,4), %edx
	movl	%edx, 24(%rbx)
	movl	28(%r14,%rcx,4), %edx
	movl	%edx, 28(%rbx)
	addq	$32, %rbx
	addq	$8, %rcx
	cmpl	%ecx, %esi
	jne	LBB0_24
LBB0_25:
	testl	%r15d, %r15d
	je	LBB0_44
## %bb.26:
	leal	-1(%r15), %r9d
	cmpl	$7, %r9d
	jb	LBB0_37
## %bb.27:
	movq	%rbx, %rcx
	subq	%r13, %rcx
	cmpq	$32, %rcx
	jb	LBB0_37
## %bb.28:
	incq	%r9
	movq	%r9, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rcx
	movq	%rcx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$3, %edx
	cmpq	$24, %rcx
	jae	LBB0_30
## %bb.29:
	xorl	%edi, %edi
	jmp	LBB0_32
LBB0_30:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r13,%rdi,4), %xmm0
	movups	16(%r13,%rdi,4), %xmm1
	movups	%xmm0, (%rbx,%rdi,4)
	movups	%xmm1, 16(%rbx,%rdi,4)
	movups	32(%r13,%rdi,4), %xmm0
	movups	48(%r13,%rdi,4), %xmm1
	movups	%xmm0, 32(%rbx,%rdi,4)
	movups	%xmm1, 48(%rbx,%rdi,4)
	movups	64(%r13,%rdi,4), %xmm0
	movups	80(%r13,%rdi,4), %xmm1
	movups	%xmm0, 64(%rbx,%rdi,4)
	movups	%xmm1, 80(%rbx,%rdi,4)
	movups	96(%r13,%rdi,4), %xmm0
	movups	112(%r13,%rdi,4), %xmm1
	movups	%xmm0, 96(%rbx,%rdi,4)
	movups	%xmm1, 112(%rbx,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_31
LBB0_32:
	testq	%rdx, %rdx
	je	LBB0_35
## %bb.33:
	leaq	(%rbx,%rdi,4), %rsi
	addq	$16, %rsi
	leaq	16(,%rdi,4), %rdi
	addq	%r13, %rdi
	shlq	$5, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rcx), %xmm0
	movups	(%rdi,%rcx), %xmm1
	movups	%xmm0, -16(%rsi,%rcx)
	movups	%xmm1, (%rsi,%rcx)
	addq	$32, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_34
LBB0_35:
	cmpq	%r8, %r9
	je	LBB0_44
## %bb.36:
	subl	%r8d, %r15d
	leaq	(%r13,%r8,4), %r13
	leaq	(%rbx,%r8,4), %rbx
LBB0_37:
	leal	-1(%r15), %edi
	movl	%r15d, %ecx
	andl	$7, %ecx
	je	LBB0_41
## %bb.38:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	addq	$4, %r13
	movl	%esi, (%rbx)
	addq	$4, %rbx
	incl	%edx
	cmpl	%edx, %ecx
	jne	LBB0_39
## %bb.40:
	subl	%edx, %r15d
LBB0_41:
	cmpl	$7, %edi
	jb	LBB0_44
## %bb.42:
	movl	%r15d, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rcx,4), %edx
	movl	%edx, (%rbx,%rcx,4)
	movl	4(%r13,%rcx,4), %edx
	movl	%edx, 4(%rbx,%rcx,4)
	movl	8(%r13,%rcx,4), %edx
	movl	%edx, 8(%rbx,%rcx,4)
	movl	12(%r13,%rcx,4), %edx
	movl	%edx, 12(%rbx,%rcx,4)
	movl	16(%r13,%rcx,4), %edx
	movl	%edx, 16(%rbx,%rcx,4)
	movl	20(%r13,%rcx,4), %edx
	movl	%edx, 20(%rbx,%rcx,4)
	movl	24(%r13,%rcx,4), %edx
	movl	%edx, 24(%rbx,%rcx,4)
	movl	28(%r13,%rcx,4), %edx
	movl	%edx, 28(%rbx,%rcx,4)
	addq	$8, %rcx
	cmpl	%ecx, %eax
	jne	LBB0_43
LBB0_44:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_merge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge
_merge:                                 ; @merge
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x24, x2, w3, sxtw #2
	mov	x25, x1
	mov	x23, x3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_get_bits1
	cbz	w0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x24], #4
	str	w8, [x25]
	sub	w23, w23, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x20], #4
	str	w8, [x25]
	sub	w19, w19, #1
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x25, x25, #4
	add	x21, x21, #4
	cbz	w19, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w23, LBB0_1
LBB0_6:
	cbz	w19, LBB0_14
; %bb.7:
	sub	w8, w19, #1
	cmp	w8, #15
	b.lo	LBB0_12
; %bb.8:
	sub	x9, x21, x20
	cmp	x9, #64
	b.lo	LBB0_12
; %bb.9:
	mov	x11, #0
	add	x9, x8, #1
	and	x10, x9, #0x1fffffff0
	sub	w19, w19, w10
	add	x8, x20, x10, lsl #2
	lsl	x12, x9, #2
	and	x12, x12, #0x7ffffffc0
	add	x12, x25, x12
	mov	x13, x10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x20, x11
	ldp	q0, q1, [x14]
	ldp	q2, q3, [x14, #32]
	add	x14, x25, x11
	stp	q0, q1, [x14]
	stp	q2, q3, [x14, #32]
	add	x11, x11, #64
	subs	x13, x13, #16
	b.ne	LBB0_10
; %bb.11:
	mov	x25, x12
	cmp	x9, x10
	b.ne	LBB0_13
	b	LBB0_14
LBB0_12:
	mov	x8, x20
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x8], #4
	str	w9, [x25], #4
	subs	w19, w19, #1
	b.ne	LBB0_13
LBB0_14:
	cbz	w23, LBB0_22
; %bb.15:
	sub	w8, w23, #1
	cmp	w8, #15
	b.lo	LBB0_20
; %bb.16:
	sub	x9, x25, x24
	cmp	x9, #64
	b.lo	LBB0_20
; %bb.17:
	add	x10, x8, #1
	and	x11, x10, #0x1fffffff0
	sub	w23, w23, w11
	lsl	x9, x11, #2
	add	x8, x24, x9
	add	x9, x25, x9
	add	x12, x24, #32
	add	x13, x25, #32
	mov	x14, x11
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13], #64
	subs	x14, x14, #16
	b.ne	LBB0_18
; %bb.19:
	cmp	x10, x11
	b.ne	LBB0_21
	b	LBB0_22
LBB0_20:
	mov	x8, x24
	mov	x9, x25
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8], #4
	str	w10, [x9], #4
	subs	w23, w23, #1
	b.ne	LBB0_21
LBB0_22:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_merge
.subsections_via_symbols
