	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_filter_params
_write_filter_params:                   ## @write_filter_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movl	%edx, %r14d
	shlq	$4, %r14
	movq	8(%rax,%r14), %rbx
	movl	%ecx, %r13d
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	shlq	$4, %r13
	movl	(%rbx,%r13), %edx
	movq	%rsi, %rdi
	movl	$4, %esi
	callq	_put_bits
	cmpl	$0, (%rbx,%r13)
	jle	LBB0_5
## %bb.1:
	movq	%r12, %rax
	leaq	(%rbx,%r13), %r12
	movq	(%rax), %rax
	movq	(%rax,%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %r14
	movl	4(%rbx,%r13), %edx
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_put_bits
	movl	8(%rbx,%r13), %edx
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_put_bits
	movl	12(%rbx,%r13), %edx
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_put_bits
	cmpl	$0, (%r12)
	jle	LBB0_4
## %bb.2:
	addq	%rbx, %r13
	addq	$8, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movl	(%r14,%rbx,4), %edx
	movzbl	4(%r13), %ecx
	sarl	%cl, %edx
	movq	%r15, %rdi
	callq	_put_sbits
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_bits                       ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_write_filter_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_filter_params
_write_filter_params:                   ; @write_filter_params
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	add	x8, x8, w2, uxtw #4
	ldr	x24, [x8, #8]
	add	x23, x24, w3, uxtw #4
	ldr	w2, [x23]
	mov	x0, x1
	mov	w1, #4
	bl	_put_bits
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w8, w22
	mov	w9, w21
	ldr	x10, [x20]
	lsl	x8, x8, #4
	ldr	x8, [x10, x8]
	ldr	x20, [x8, x9, lsl #3]
	add	x21, x24, x9, lsl #4
	ldr	w2, [x21, #4]
	mov	x0, x19
	mov	w1, #4
	bl	_put_bits
	mov	x22, x21
	ldr	w2, [x22, #8]!
	mov	x0, x19
	mov	w1, #5
	bl	_put_bits
	ldr	w2, [x21, #12]!
	mov	x0, x19
	mov	w1, #3
	bl	_put_bits
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	ldr	w8, [x20, x24, lsl #2]
	ldr	w9, [x21]
	asr	w2, w8, w9
	mov	x0, x19
	bl	_put_sbits
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	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
	b	_put_bits
LBB0_5:
	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	_write_filter_params
.subsections_via_symbols
