	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function decode_slice
LCPI0_0:
	.long	15                              ## 0xf
	.long	15                              ## 0xf
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decode_slice:                          ## @decode_slice
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movq	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	paddd	LCPI0_0(%rip), %xmm0
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	psrad	$4, %xmm0
	movd	%xmm0, %ecx
	leal	4(%rcx), %eax
	cltq
	imulq	$1717986919, %rax, %r12         ## imm = 0x66666667
	movq	%r12, %rax
	shrq	$63, %rax
	shrq	$32, %r12
	sarl	%r12d
	addl	%eax, %r12d
	movl	%ecx, %eax
	cltd
	idivl	%r12d
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -108(%rbp)                ## 4-byte Spill
	pextrd	$1, %xmm0, %esi
	leal	4(%rsi), %eax
	cltq
	imulq	$1717986919, %rax, %rdi         ## imm = 0x66666667
	movq	%rdi, %rax
	shrq	$63, %rax
	shrq	$32, %rdi
	sarl	%edi
	addl	%eax, %edi
	movl	%esi, %eax
	cltd
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	idivl	%edi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -104(%rbp)                ## 4-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	imull	%ecx, %esi
	leal	479(%rsi), %eax
	cltq
	imulq	$-2004318071, %rax, %rax        ## imm = 0x88888889
	shrq	$32, %rax
	leal	(%rax,%rsi), %ecx
	addl	$479, %ecx                      ## imm = 0x1DF
	movl	%ecx, %eax
	shrl	$31, %eax
	sarl	$8, %ecx
	addl	%eax, %ecx
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	shll	$4, %ecx
	movl	%esi, %eax
	cltd
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	idivl	%ecx
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	imull	%r12d, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	imull	%edx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %edi
	imull	-96(%rbp), %edi                 ## 4-byte Folded Reload
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	imull	%esi, %eax
	shll	$4, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	subl	%eax, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	imull	%edx, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	$2, %esi
	movl	$1, %eax
	cmovgel	%esi, %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	incl	%edi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	-100(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_8
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	xorl	%r15d, %r15d
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	cmpl	-80(%rbp), %edi                 ## 4-byte Folded Reload
	setl	%r15b
	movl	$-1, %ecx
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	cmovll	%eax, %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	addl	%eax, %r15d
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-72(%rbp), %r14d                ## 4-byte Reload
	imull	-68(%rbp), %r14d                ## 4-byte Folded Reload
	addl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	xorl	%ebx, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	cltd
	idivl	-88(%rbp)                       ## 4-byte Folded Reload
	movl	%eax, %ecx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	imull	%eax, %ecx
	cmpl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	-104(%rbp), %esi                ## 4-byte Reload
	cmovll	%eax, %esi
	imull	%r12d, %esi
	movl	%edx, %eax
	cltd
	idivl	%esi
	movl	%eax, %esi
	imull	%r12d, %esi
	cmpl	-52(%rbp), %esi                 ## 4-byte Folded Reload
	movl	-108(%rbp), %edi                ## 4-byte Reload
	cmovll	%r12d, %edi
	movl	%edx, %eax
	cltd
	idivl	%edi
	addl	%eax, %ecx
	addl	%esi, %edx
	shll	$4, %edx
	shll	$4, %ecx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	*8(%rdi)
	incl	%ebx
	addl	-68(%rbp), %r13d                ## 4-byte Folded Reload
	cmpl	%ebx, %r15d
	je	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %eax
	cmpl	%ebx, -72(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_shuffle_16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	andl	$15, %ecx
	movl	(%rax,%rcx,4), %eax
	imull	-64(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%r13d, %eax
	jmp	LBB0_6
LBB0_8:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shuffle_16,8,3                 ## @shuffle_16
	.no_dead_strip	_decode_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_slice
_decode_slice:                          ; @decode_slice
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldp	w8, w9, [x0]
	add	w8, w8, #15
	asr	w8, w8, #4
	add	w9, w9, #15
	asr	w10, w9, #4
	mul	w9, w10, w8
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
	add	w11, w8, #4
	mov	w12, #26215
	movk	w12, #26214, lsl #16
	smull	x11, w11, w12
	lsr	x13, x11, #32
	lsr	x11, x11, #63
	add	w22, w11, w13, asr #1
	add	w11, w10, #4
	smull	x11, w11, w12
	lsr	x12, x11, #32
	lsr	x11, x11, #63
	add	w23, w11, w12, asr #1
	sdiv	w11, w8, w22
	mul	w12, w22, w11
	sdiv	w11, w10, w23
	mul	w11, w23, w11
	stp	w11, w12, [sp, #36]             ; 8-byte Folded Spill
	sub	w12, w8, w12
	sub	w10, w10, w11
	stp	w10, w12, [sp, #28]             ; 8-byte Folded Spill
	add	w10, w9, #479
	mov	w11, #34953
	movk	w11, #34952, lsl #16
	smull	x11, w10, w11
	lsr	x11, x11, #32
	add	w10, w11, w10
	asr	w11, w10, #8
	add	w11, w11, w10, lsr #31
	lsl	w10, w11, #4
	mul	w12, w11, w1
	str	w10, [sp, #44]                  ; 4-byte Folded Spill
	sdiv	w10, w9, w10
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	mul	w10, w10, w11
	sub	w9, w9, w10, lsl #4
	mul	w28, w23, w8
	cmp	w11, #1
	str	w11, [sp, #24]                  ; 4-byte Folded Spill
	csinc	w8, w11, wzr, gt
	stp	w8, w9, [sp, #4]                ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	w12, w8, [sp, #16]              ; 8-byte Folded Reload
	add	w8, w8, #1
	add	w12, w12, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w8, w9
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	str	w12, [sp, #16]                  ; 4-byte Folded Spill
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w12, w8
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cinc	w24, w8, lt
	csinv	w25, w8, wzr, lt
	cmp	w24, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #0
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	ldp	w9, w21, [sp, #16]              ; 8-byte Folded Reload
	madd	w27, w25, w8, w9
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	sdiv	w9, w8, w28
	mul	w10, w9, w23
	msub	w8, w9, w28, w8
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w10, w9
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	csel	w9, w23, w9, lt
	mul	w9, w9, w22
	sdiv	w11, w8, w9
	msub	w8, w11, w9, w8
	mul	w9, w11, w22
	ldr	w11, [sp, #40]                  ; 4-byte Folded Reload
	cmp	w9, w11
	ldr	w11, [sp, #32]                  ; 4-byte Folded Reload
	csel	w11, w22, w11, lt
	sdiv	w12, w8, w11
	add	w10, w12, w10
	msub	w8, w12, w11, w8
	add	w8, w8, w9
	ldr	x9, [x20, #8]
	lsl	w2, w8, #4
	lsl	w3, w10, #4
	mov	x0, x20
	mov	x1, x19
	blr	x9
	add	w26, w26, #1
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w21, w21, w8
	cmp	w24, w26
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x27
	cmp	w25, w26
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
Lloh0:
	adrp	x8, _shuffle_16@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shuffle_16@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	w9, w19, w26
	and	w9, w9, #0xf
	ldr	w8, [x8, w9, uxtw #2]
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	madd	w8, w8, w9, w21
	b	LBB0_5
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_shuffle_16,8,3                 ; @shuffle_16
	.no_dead_strip	_decode_slice
.subsections_via_symbols
