	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lossless_matrix_coeffs
_lossless_matrix_coeffs:                ## @lossless_matrix_coeffs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	cmpl	$4, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	callq	_estimate_stereo_mode
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	$0, (%r15)
LBB0_8:
	cmpl	$0, (%r15)
	jg	LBB0_9
	jmp	LBB0_11
LBB0_1:
	movl	$0, (%r15)
	jmp	LBB0_14
LBB0_6:
	movl	$1, (%r15)
	movq	8(%r15), %rax
	movl	$0, (%rax)
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movabsq	$70368744194048, %rcx           ## imm = 0x400000004000
	movq	%rcx, (%rax)
	movl	$0, 8(%rax)
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movabsq	$-70368744161280, %rcx          ## imm = 0xFFFFC00000004000
	jmp	LBB0_7
LBB0_5:
	movl	$1, (%r15)
	movq	8(%r15), %rax
	movl	$1, (%rax)
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movabsq	$-70368744161280, %rcx          ## imm = 0xFFFFC00000004000
	movq	%rcx, (%rax)
	movl	$0, 8(%rax)
	movq	24(%r15), %rax
	movq	(%rax), %rax
LBB0_7:
	movq	%rcx, (%rax)
	movl	$0, 8(%rax)
	cmpl	$0, (%r15)
	jle	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_code_matrix_coeffs
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_10
LBB0_11:
	cmpl	$0, (%r14)
	je	LBB0_14
## %bb.12:
	movq	32(%r15), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rcx,4)
	incq	%rcx
	movl	(%r14), %edx
	cmpq	%rdx, %rcx
	jb	LBB0_13
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_lossless_matrix_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function lossless_matrix_coeffs
lCPI0_0:
	.long	16384                           ; 0x4000
	.long	4294950912                      ; 0xffffc000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lossless_matrix_coeffs:                ; @lossless_matrix_coeffs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x0, #8]
	ldr	w8, [x0]
	cmp	w8, #4
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_estimate_stereo_mode
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	str	wzr, [x21]
	b	LBB0_8
LBB0_4:
	str	wzr, [x21]
	b	LBB0_14
LBB0_5:
	mov	w8, #1
	str	w8, [x21]
	ldp	x8, x9, [x21, #8]
	str	wzr, [x8]
	ldr	x8, [x9]
	movi.2s	v0, #64, lsl #8
	str	d0, [x8]
	str	wzr, [x8, #8]
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	b	LBB0_7
LBB0_6:
	mov	w8, #1
	str	w8, [x21]
	ldp	x9, x10, [x21, #8]
	str	w8, [x9]
	ldr	x8, [x10]
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
	str	wzr, [x8, #8]
	ldr	x8, [x21, #24]
	ldr	x8, [x8]
LBB0_7:
	str	d0, [x8]
	str	wzr, [x8, #8]
LBB0_8:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w20, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_code_matrix_coeffs
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_10
LBB0_11:
	ldr	w8, [x19]
	cbz	w8, LBB0_14
; %bb.12:
	mov	x8, #0
	ldr	x9, [x21, #32]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9, x8, lsl #2]
	add	x8, x8, #1
	ldr	w10, [x19]
	cmp	x8, x10
	b.lo	LBB0_13
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.no_dead_strip	_lossless_matrix_coeffs
.subsections_via_symbols
