	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compare_decoding_params
_compare_decoding_params:               ## @compare_decoding_params
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %r12
	movq	(%r14), %rdx
	movq	8(%r14), %rcx
	xorl	%ebx, %ebx
	movl	$0, %eax
	cmpq	(%r12), %rdx
	je	LBB0_2
## %bb.1:
	movq	_PARAM_PRESENCE_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	leaq	24(%r14), %rsi
	leaq	24(%r12), %rdx
	movl	$0, %r15d
	cmpq	8(%r12), %rcx
	je	LBB0_4
## %bb.3:
	movq	_PARAM_BLOCKSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_4:
	orl	%eax, %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_compare_matrix_params
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_PARAM_MATRIX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_6:
	orl	%ecx, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	24(%r14), %rcx
	movq	24(%r12), %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %esi
	movq	(%rcx,%rsi,8), %rdi
	cmpq	(%rdx,%rsi,8), %rdi
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	cmpl	%eax, %ebx
	jbe	LBB0_8
	jmp	LBB0_10
LBB0_9:
	movq	_PARAM_OUTSHIFT@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	movq	16(%r14), %rcx
	movq	16(%r12), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%esi, %edi
	movq	(%rcx,%rdi,8), %rbx
	cmpq	(%rdx,%rdi,8), %rbx
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%esi
	cmpl	%eax, %esi
	jbe	LBB0_12
	jmp	LBB0_14
LBB0_13:
	movq	_PARAM_QUANTSTEP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r15d
LBB0_14:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %r12d
	cmpl	%eax, %r12d
	jbe	LBB0_16
## %bb.15:
	movl	%r15d, %eax
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_16 Depth=1
	orl	$1, %eax
LBB0_29:                                ##   in Loop: Header=BB0_16 Depth=1
	incl	%r12d
	movl	%eax, %r15d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpl	4(%rcx), %r12d
	ja	LBB0_30
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	movl	%r12d, %r12d
	leaq	(,%r12,8), %rax
	leaq	(%rax,%rax,2), %r14
	leaq	(%rsi,%r14), %r13
	leaq	(%rdx,%r14), %rbx
	movq	_PARAM_FIR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	_FIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_compare_filter_params
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_PARAM_FIR@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_PARAM_IIR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	_IIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_compare_filter_params
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_PARAM_IIR@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r13), %rcx
	xorl	%eax, %eax
	cmpq	(%rbx), %rcx
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_PARAM_HUFFOFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_26:                                ##   in Loop: Header=BB0_16 Depth=1
	orl	%r15d, %eax
	movq	8(%rsi,%r14), %rcx
	cmpq	8(%rdx,%r14), %rcx
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	16(%rsi,%r14), %rcx
	cmpq	16(%rdx,%r14), %rcx
	jne	LBB0_28
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_PARAM_PRESENCE_FLAGS,4,2       ## @PARAM_PRESENCE_FLAGS
	.comm	_PARAM_BLOCKSIZE,4,2            ## @PARAM_BLOCKSIZE
	.comm	_PARAM_MATRIX,4,2               ## @PARAM_MATRIX
	.comm	_PARAM_OUTSHIFT,4,2             ## @PARAM_OUTSHIFT
	.comm	_PARAM_QUANTSTEP,4,2            ## @PARAM_QUANTSTEP
	.comm	_PARAM_FIR,4,2                  ## @PARAM_FIR
	.comm	_FIR,4,2                        ## @FIR
	.comm	_PARAM_IIR,4,2                  ## @PARAM_IIR
	.comm	_IIR,4,2                        ## @IIR
	.comm	_PARAM_HUFFOFFSET,4,2           ## @PARAM_HUFFOFFSET
	.no_dead_strip	_compare_decoding_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compare_decoding_params
_compare_decoding_params:               ; @compare_decoding_params
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldp	x22, x21, [x0, #24]
	add	x1, x21, #24
	ldr	x23, [x0, #16]
	add	x2, x22, #24
	ldp	x8, x9, [x21]
	ldp	x10, x11, [x22]
	cmp	x8, x10
Lloh0:
	adrp	x8, _PARAM_PRESENCE_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PARAM_PRESENCE_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	csel	w8, wzr, w8, eq
Lloh3:
	adrp	x10, _PARAM_BLOCKSIZE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PARAM_BLOCKSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x9, x11
	csel	w9, wzr, w10, eq
	orr	w20, w9, w8
	bl	_compare_matrix_params
	mov	w8, #0
Lloh6:
	adrp	x9, _PARAM_MATRIX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PARAM_MATRIX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x0, #0
	csel	w9, wzr, w9, eq
	orr	w20, w20, w9
	ldr	w9, [x23]
	ldr	x10, [x21, #24]
	ldr	x11, [x22, #24]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	w12, w8
	lsl	x12, x12, #3
	ldr	x13, [x10, x12]
	ldr	x12, [x11, x12]
	cmp	x13, x12
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w8, w8, #1
	cmp	w8, w9
	b.ls	LBB0_1
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x8, _PARAM_OUTSHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PARAM_OUTSHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w20, w8, w20
LBB0_4:
	mov	w9, #0
	ldr	w8, [x23, #4]
	ldr	x10, [x21, #16]
	ldr	x11, [x22, #16]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w12, w9
	lsl	x12, x12, #3
	ldr	x13, [x10, x12]
	ldr	x12, [x11, x12]
	cmp	x13, x12
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w9, w9, #1
	cmp	w9, w8
	b.ls	LBB0_5
	b	LBB0_8
LBB0_7:
Lloh12:
	adrp	x9, _PARAM_QUANTSTEP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PARAM_QUANTSTEP@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w20, w9, w20
LBB0_8:
	ldr	w9, [x23, #8]
	cmp	w9, w8
	b.ls	LBB0_10
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh15:
	adrp	x24, _PARAM_FIR@GOTPAGE
Lloh16:
	ldr	x24, [x24, _PARAM_FIR@GOTPAGEOFF]
Lloh17:
	adrp	x26, _PARAM_IIR@GOTPAGE
Lloh18:
	ldr	x26, [x26, _PARAM_IIR@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	orr	w20, w20, #0x1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w9, w25, #1
	ldr	w8, [x23, #4]
	cmp	w9, w8
	b.hi	LBB0_9
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	w25, w9
	add	x8, x25, w9, uxtw #1
	lsl	x8, x8, #3
	ldp	x28, x27, [x19]
	add	x22, x27, x8
	add	x21, x28, x8
	ldr	w8, [x24]
	tst	w8, w20
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh19:
	adrp	x8, _FIR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FIR@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x21
	bl	_compare_filter_params
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x24]
	orr	w20, w8, w20
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x26]
	tst	w8, w20
	b.ne	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh22:
	adrp	x8, _IIR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IIR@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x21
	bl	_compare_filter_params
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x26]
	orr	w20, w8, w20
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x21]
Lloh25:
	adrp	x10, _PARAM_HUFFOFFSET@GOTPAGE
Lloh26:
	ldr	x10, [x10, _PARAM_HUFFOFFSET@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w8, wzr, w10, eq
	orr	w20, w8, w20
	add	x8, x25, x25, lsl #1
	lsl	x9, x8, #3
	add	x8, x27, x9
	ldr	x10, [x8, #8]
	add	x9, x28, x9
	ldr	x11, [x9, #8]
	cmp	x10, x11
	b.ne	LBB0_11
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x8, #16]
	ldr	x9, [x9, #16]
	cmp	x8, x9
	b.ne	LBB0_11
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_PARAM_PRESENCE_FLAGS,4,2       ; @PARAM_PRESENCE_FLAGS
	.comm	_PARAM_BLOCKSIZE,4,2            ; @PARAM_BLOCKSIZE
	.comm	_PARAM_MATRIX,4,2               ; @PARAM_MATRIX
	.comm	_PARAM_OUTSHIFT,4,2             ; @PARAM_OUTSHIFT
	.comm	_PARAM_QUANTSTEP,4,2            ; @PARAM_QUANTSTEP
	.comm	_PARAM_FIR,4,2                  ; @PARAM_FIR
	.comm	_FIR,4,2                        ; @FIR
	.comm	_PARAM_IIR,4,2                  ; @PARAM_IIR
	.comm	_IIR,4,2                        ; @IIR
	.comm	_PARAM_HUFFOFFSET,4,2           ; @PARAM_HUFFOFFSET
	.no_dead_strip	_compare_decoding_params
.subsections_via_symbols
