	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svq1_write_header
_svq1_write_header:                     ## @svq1_write_header
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	8(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$22, %esi
	movl	$32, %edx
	callq	_put_bits
	movq	%rbx, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	callq	_put_bits
	leal	-1(%r15), %edx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_put_bits
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	$2, %edx
	callq	_put_bits
	movq	_ff_svq1_frame_size_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_FF_ARRAY_ELEMS
	movl	(%r14), %edx
	movl	4(%r14), %ecx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ff_match_2uint16
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	%eax, %edx
	callq	_put_bits
	cmpl	$7, %r15d
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_put_bits
	movl	4(%r14), %edx
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_put_bits
LBB0_3:
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_put_bits                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.comm	_ff_svq1_frame_size_table,8,3   ## @ff_svq1_frame_size_table
	.no_dead_strip	_svq1_write_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svq1_write_header
_svq1_write_header:                     ; @svq1_write_header
	.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
	mov	x21, x1
	mov	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	mov	w1, #22
	mov	w2, #32
	bl	_put_bits
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	bl	_put_bits
	sub	w2, w21, #1
	mov	x0, x19
	mov	w1, #2
	bl	_put_bits
Lloh0:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #5
	mov	w2, #2
	bl	_put_bits
Lloh3:
	adrp	x8, _ff_svq1_frame_size_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ff_svq1_frame_size_table@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_FF_ARRAY_ELEMS
	mov	x1, x0
	ldp	w2, w3, [x20]
	mov	x0, x21
	bl	_ff_match_2uint16
	mov	x21, x0
	mov	x0, x19
	mov	w1, #3
	mov	x2, x21
	bl	_put_bits
	cmp	w21, #7
	b.ne	LBB0_3
; %bb.2:
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #12
	bl	_put_bits
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #12
	bl	_put_bits
LBB0_3:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	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
	b	_put_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.comm	_ff_svq1_frame_size_table,8,3   ; @ff_svq1_frame_size_table
	.no_dead_strip	_svq1_write_header
.subsections_via_symbols
