	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_st3d_tag
_mov_write_st3d_tag:                    ## @mov_write_st3d_tag
	.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	%rdi, %rbx
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	jmp	LBB0_2
LBB0_3:
	movl	8(%rdx), %edi
	leal	-128(%rdi), %eax
	cmpl	$3, %eax
	jae	LBB0_4
## %bb.5:
	movq	%rsi, %r14
	cltq
	leaq	l_switch.table.mov_write_st3d_tag(%rip), %rcx
	movl	(%rcx,%rax,4), %r15d
	movl	$13, %ebx
	movq	%rsi, %rdi
	movl	$13, %esi
	callq	_avio_wb32
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_ffio_wfourcc
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_avio_w8
	jmp	LBB0_6
LBB0_4:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_stereo3d_type_name
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%rax, %rcx
LBB0_2:
	callq	_av_log
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported stereo_3d flags %x. st3d not written.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unsupported stereo_3d type %s. st3d not written.\n"

L_.str.2:                               ## @.str.2
	.asciz	"st3d"

	.no_dead_strip	_mov_write_st3d_tag
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.mov_write_st3d_tag
l_switch.table.mov_write_st3d_tag:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_write_st3d_tag
_mov_write_st3d_tag:                    ; @mov_write_st3d_tag
	.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	x20, x0
	ldr	x3, [x2]
	cbz	x3, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	b	LBB0_5
LBB0_2:
	ldr	w0, [x2, #8]
	sub	w8, w0, #128
	cmp	w8, #3
	b.hs	LBB0_4
; %bb.3:
	mov	x19, x1
Lloh5:
	adrp	x9, l_switch.table.mov_write_st3d_tag@PAGE
Lloh6:
	add	x9, x9, l_switch.table.mov_write_st3d_tag@PAGEOFF
	ldr	w21, [x9, w8, sxtw #2]
	mov	w20, #13
	mov	x0, x1
	mov	w1, #13
	bl	_avio_wb32
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x19
	mov	x1, x21
	bl	_avio_w8
	b	LBB0_6
LBB0_4:
Lloh9:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	bl	_av_stereo3d_type_name
	mov	x3, x0
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
LBB0_5:
	bl	_av_log
	mov	w20, #0
LBB0_6:
	mov	x0, x20
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported stereo_3d flags %x. st3d not written.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unsupported stereo_3d type %s. st3d not written.\n"

l_.str.2:                               ; @.str.2
	.asciz	"st3d"

	.no_dead_strip	_mov_write_st3d_tag
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.mov_write_st3d_tag
l_switch.table.mov_write_st3d_tag:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	0                               ; 0x0

.subsections_via_symbols
