	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_mclms
_decode_mclms:                          ## @decode_mclms
	.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	%rdi, %r12
	leaq	32(%rdi), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	addl	$2, %eax
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_get_bits
	movl	%eax, 4(%r12)
	movq	%r14, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	4(%r12), %edi
	incl	%edi
	callq	_av_log2
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	xorl	%esi, %esi
	cmpl	4(%r12), %edx
	setle	%sil
	addl	%eax, %esi
	movq	%r14, %rdi
	callq	_get_bitsz
	movl	%eax, %r15d
	addl	$2, %r15d
	movl	8(%r12), %eax
	movl	(%r12), %ecx
	imull	%eax, %ecx
	imull	%eax, %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_get_bits
	movq	16(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movl	8(%r12), %eax
	movl	(%r12), %ecx
	imull	%eax, %ecx
	imull	%eax, %ecx
	movslq	%ecx, %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_3
LBB0_4:
	testl	%eax, %eax
	jle	LBB0_11
## %bb.5:
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r13
	cmpl	%eax, %r13d
	jge	LBB0_11
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_get_bits
	movq	24(%r12), %rcx
	movslq	8(%r12), %rdx
	movslq	%r13d, %rsi
	imulq	%rdx, %rsi
	addq	%rbx, %rsi
	movl	%eax, (%rcx,%rsi,4)
	incq	%rbx
	cmpl	%ebx, %r13d
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%r12), %eax
	jmp	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_mclms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_mclms
_decode_mclms:                          ; @decode_mclms
	.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	x19, x0
	add	x20, x0, #32
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	lsl	w8, w0, #1
	add	w8, w8, #2
	str	w8, [x19]
	mov	x0, x20
	mov	w1, #4
	bl	_get_bits
	str	w0, [x19, #4]
	mov	x0, x20
	bl	_get_bits1
	cbz	x0, LBB0_11
; %bb.1:
	ldr	w8, [x19, #4]
	add	w0, w8, #1
	bl	_av_log2
	mov	w8, #1
	lsl	w8, w8, w0
	ldr	w9, [x19, #4]
	cmp	w8, w9
	cinc	w1, w0, le
	mov	x0, x20
	bl	_get_bitsz
	add	w21, w0, #2
	ldr	w9, [x19]
	ldr	w8, [x19, #8]
	mul	w9, w8, w9
	mul	w9, w9, w8
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x22, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_get_bits
	ldr	x8, [x19, #16]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	ldr	w9, [x19]
	ldr	w8, [x19, #8]
	mul	w9, w8, w9
	mul	w9, w9, w8
	cmp	x22, w9, sxtw
	b.lt	LBB0_3
LBB0_4:
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x22, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	cmp	w22, w8
	b.ge	LBB0_11
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	cbz	w22, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x23, x22
	mov	x24, #0
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_get_bits
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #8]
	sxtw	x10, w23
	madd	x9, x10, x9, x24
	str	w0, [x8, x9, lsl #2]
	add	x24, x24, #1
	cmp	w22, w24
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #8]
	b	LBB0_6
LBB0_11:
	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_mclms
.subsections_via_symbols
