	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mkv_stereo3d_conv           ## -- Begin function ff_mkv_stereo3d_conv
	.p2align	4, 0x90
_ff_mkv_stereo3d_conv:                  ## @ff_mkv_stereo3d_conv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_av_stereo3d_alloc
	movq	%rax, -24(%rbp)
	testq	%rax, %rax
	je	LBB0_19
## %bb.1:
	addl	$-128, %ebx
	cmpl	$12, %ebx
	ja	LBB0_16
## %bb.2:
	movq	_AV_STEREO3D_2D@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rbx,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_9:
	movq	_AV_STEREO3D_FLAG_INVERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
LBB0_10:
	movq	_AV_STEREO3D_LINES@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_19:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_3:
	movq	_AV_STEREO3D_FLAG_INVERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
LBB0_4:
	movq	_AV_STEREO3D_SIDEBYSIDE@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_11:
	movq	_AV_STEREO3D_FLAG_INVERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
LBB0_12:
	movq	_AV_STEREO3D_COLUMNS@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_7:
	movq	_AV_STEREO3D_FLAG_INVERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
LBB0_8:
	movq	_AV_STEREO3D_CHECKERBOARD@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_5:
	movq	_AV_STEREO3D_FLAG_INVERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
LBB0_6:
	movq	_AV_STEREO3D_TOPBOTTOM@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_13:
	movq	_AV_STEREO3D_FLAG_INVERT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rax)
LBB0_14:
	movq	_AV_STEREO3D_FRAMESEQUENCE@GOTPCREL(%rip), %rcx
LBB0_15:
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_16:
	movq	_AV_PKT_DATA_STEREO3D@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movq	%rax, %rdx
	movl	$8, %ecx
	callq	_av_stream_add_side_data
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jns	LBB0_18
## %bb.17:
	leaq	-24(%rbp), %rdi
	callq	_av_freep
	movl	%ebx, %eax
LBB0_18:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_15
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_STEREO3D_2D,4,2             ## @AV_STEREO3D_2D
	.comm	_AV_STEREO3D_FLAG_INVERT,4,2    ## @AV_STEREO3D_FLAG_INVERT
	.comm	_AV_STEREO3D_SIDEBYSIDE,4,2     ## @AV_STEREO3D_SIDEBYSIDE
	.comm	_AV_STEREO3D_TOPBOTTOM,4,2      ## @AV_STEREO3D_TOPBOTTOM
	.comm	_AV_STEREO3D_CHECKERBOARD,4,2   ## @AV_STEREO3D_CHECKERBOARD
	.comm	_AV_STEREO3D_LINES,4,2          ## @AV_STEREO3D_LINES
	.comm	_AV_STEREO3D_COLUMNS,4,2        ## @AV_STEREO3D_COLUMNS
	.comm	_AV_STEREO3D_FRAMESEQUENCE,4,2  ## @AV_STEREO3D_FRAMESEQUENCE
	.comm	_AV_PKT_DATA_STEREO3D,4,2       ## @AV_PKT_DATA_STEREO3D
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mkv_stereo3d_conv           ; -- Begin function ff_mkv_stereo3d_conv
	.p2align	2
_ff_mkv_stereo3d_conv:                  ; @ff_mkv_stereo3d_conv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_av_stereo3d_alloc
	str	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x2, x0
	sub	w9, w20, #128
	cmp	w9, #12
	b.hi	LBB0_17
; %bb.2:
Lloh0:
	adrp	x8, _AV_STEREO3D_2D@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_STEREO3D_2D@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh4:
	adrp	x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x2, #4]
	orr	w8, w9, w8
	str	w8, [x2, #4]
LBB0_4:
Lloh7:
	adrp	x8, _AV_STEREO3D_LINES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_STEREO3D_LINES@GOTPAGEOFF]
	b	LBB0_16
LBB0_5:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_AVERROR
LBB0_6:
Lloh12:
	adrp	x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x2, #4]
	orr	w8, w9, w8
	str	w8, [x2, #4]
LBB0_7:
Lloh15:
	adrp	x8, _AV_STEREO3D_SIDEBYSIDE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_STEREO3D_SIDEBYSIDE@GOTPAGEOFF]
	b	LBB0_16
LBB0_8:
Lloh17:
	adrp	x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x2, #4]
	orr	w8, w9, w8
	str	w8, [x2, #4]
LBB0_9:
Lloh20:
	adrp	x8, _AV_STEREO3D_COLUMNS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_STEREO3D_COLUMNS@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh22:
	adrp	x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x2, #4]
	orr	w8, w9, w8
	str	w8, [x2, #4]
LBB0_11:
Lloh25:
	adrp	x8, _AV_STEREO3D_CHECKERBOARD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_STEREO3D_CHECKERBOARD@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh27:
	adrp	x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x2, #4]
	orr	w8, w9, w8
	str	w8, [x2, #4]
LBB0_13:
Lloh30:
	adrp	x8, _AV_STEREO3D_TOPBOTTOM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_STEREO3D_TOPBOTTOM@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh32:
	adrp	x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AV_STEREO3D_FLAG_INVERT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x2, #4]
	orr	w8, w9, w8
	str	w8, [x2, #4]
LBB0_15:
Lloh35:
	adrp	x8, _AV_STEREO3D_FRAMESEQUENCE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_STEREO3D_FRAMESEQUENCE@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	str	w8, [x2]
LBB0_17:
Lloh37:
	adrp	x8, _AV_PKT_DATA_STEREO3D@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AV_PKT_DATA_STEREO3D@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w3, #8
	bl	_av_stream_add_side_data
	tbnz	w0, #31, LBB0_19
; %bb.18:
	mov	w19, #0
	b	LBB0_20
LBB0_19:
	mov	x19, x0
	add	x0, sp, #8
	bl	_av_freep
LBB0_20:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_STEREO3D_2D,4,2             ; @AV_STEREO3D_2D
	.comm	_AV_STEREO3D_FLAG_INVERT,4,2    ; @AV_STEREO3D_FLAG_INVERT
	.comm	_AV_STEREO3D_SIDEBYSIDE,4,2     ; @AV_STEREO3D_SIDEBYSIDE
	.comm	_AV_STEREO3D_TOPBOTTOM,4,2      ; @AV_STEREO3D_TOPBOTTOM
	.comm	_AV_STEREO3D_CHECKERBOARD,4,2   ; @AV_STEREO3D_CHECKERBOARD
	.comm	_AV_STEREO3D_LINES,4,2          ; @AV_STEREO3D_LINES
	.comm	_AV_STEREO3D_COLUMNS,4,2        ; @AV_STEREO3D_COLUMNS
	.comm	_AV_STEREO3D_FRAMESEQUENCE,4,2  ; @AV_STEREO3D_FRAMESEQUENCE
	.comm	_AV_PKT_DATA_STEREO3D,4,2       ; @AV_PKT_DATA_STEREO3D
.subsections_via_symbols
