	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_quant_wordlen
_decode_quant_wordlen:                  ## @decode_quant_wordlen
	.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
	movq	%rsi, %r13
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_4
## %bb.1:
	movq	%rcx, %r15
	movq	%rdi, %r12
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_decode_channel_wordlen
	testl	%eax, %eax
	js	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
LBB0_4:
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.5:
	movq	8(%r13), %r8
	movq	(%r8), %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rsi), %rdi
	movq	%rsi, %rax
	cmpq	$1, %rdi
	jbe	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rsi
	movl	%esi, %edi
	cmpq	$0, (%rdx,%rdi,8)
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$2, %ecx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r8), %rbx
	cmpq	$0, (%rbx,%rdi,8)
	je	LBB0_9
	jmp	LBB0_11
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	movl	%eax, 4(%r13)
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_quant_wordlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_quant_wordlen
_decode_quant_wordlen:                  ; @decode_quant_wordlen
	.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	x20, x2
	mov	x19, x1
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x22, x0
	mov	x23, #0
	mov	w24, w20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x23, lsl #3]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	bl	_decode_channel_wordlen
	tbnz	w0, #31, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	cmp	x24, x23
	b.ne	LBB0_2
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.5:
	ldr	x9, [x19, #8]
	ldr	x10, [x9]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x12, x11, #1
	mov	x8, x11
	cmp	x12, #1
	b.ls	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	x11, x8, #1
	ldr	x12, [x10, w11, uxtw #3]
	cbnz	x12, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w20, #2
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	and	x12, x11, #0xffffffff
	ldr	x13, [x9, #8]
	ldr	x12, [x13, x12, lsl #3]
	cbz	x12, LBB0_6
	b	LBB0_11
LBB0_10:
	mov	w8, #0
LBB0_11:
	mov	w0, #0
	str	w8, [x19, #4]
LBB0_12:
	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	_decode_quant_wordlen
.subsections_via_symbols
