	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function matroska_convert_tag
_matroska_convert_tag:                  ## @matroska_convert_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -1088(%rbp)               ## 8-byte Spill
	movq	%rdx, %rbx
	movq	%rdi, -1080(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, -1096(%rbp)               ## 8-byte Spill
	cmpl	$0, (%rsi)
	jle	LBB0_19
## %bb.1:
	movq	-1096(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax), %r14
	xorl	%r15d, %r15d
	leaq	-1072(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-1080(%rbp), %rdi               ## 8-byte Reload
	leaq	L_.str.1(%rip), %rdx
	callq	_av_log
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movq	-1096(%rbp), %rax               ## 8-byte Reload
	movslq	(%rax), %rax
	addq	$48, %r14
	cmpq	%rax, %r15
	jge	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	movq	8(%r14), %r8
	testq	%r8, %r8
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1024, %esi                     ## imm = 0x400
	leaq	L_.str.2(%rip), %rdx
	callq	_snprintf
	cmpq	$0, 40(%r14)
	je	LBB0_12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r8, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strlcpy
	cmpq	$0, 40(%r14)
	jne	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	jne	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r14), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	cmpl	$0, 16(%r14)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	16(%r14), %rsi
	movq	-1080(%rbp), %rdi               ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_matroska_convert_tag
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r12, %r12
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strlcat
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_strlcat
	movl	32(%r14), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	cmpl	$0, 16(%r14)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	16(%r14), %rsi
	movq	-1080(%rbp), %rdi               ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_matroska_convert_tag
	jmp	LBB0_18
LBB0_19:
	movq	_ff_mkv_metadata_conv@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ff_metadata_conv
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"und"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Skipping invalid tag with no TagName.\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s/%s"

L_.str.3:                               ## @.str.3
	.asciz	"-"

	.comm	_ff_mkv_metadata_conv,4,2       ## @ff_mkv_metadata_conv
	.no_dead_strip	_matroska_convert_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matroska_convert_tag
_matroska_convert_tag:                  ; @matroska_convert_tag
	.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
	sub	sp, sp, #1040
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.1:
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	mov	x28, #0
	ldr	x8, [x1, #8]
	add	x23, x8, #32
Lloh3:
	adrp	x24, l_.str.3@PAGE
Lloh4:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh5:
	adrp	x25, l_.str.2@PAGE
Lloh6:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh7:
	adrp	x26, l_.str@PAGE
Lloh8:
	add	x26, x26, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x21]
	add	x23, x23, #48
	cmp	x28, x8
	b.ge	LBB0_17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x0, [x23, #-32]
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x26
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x27, [x23, #-32]
	ldur	x4, [x23, #-24]
	cbnz	x4, LBB0_8
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, #0
	ldur	x4, [x23, #-24]
	cbz	x4, LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	cbz	x20, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w1, #1024
	mov	x2, x25
	mov	x3, x20
	bl	_snprintf
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_11
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x4
	mov	w2, #1024
	bl	_av_strlcpy
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x27, LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x23]
	mov	x1, sp
	mov	x0, x19
	mov	w3, #0
	bl	_av_dict_set
	mov	x1, x23
	ldr	w8, [x1, #-16]!
	cbz	w8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, sp
	mov	x0, x22
	mov	x2, x19
	bl	_matroska_convert_tag
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	x27, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, sp
	mov	x1, x24
	mov	w2, #1024
	bl	_av_strlcat
	mov	x0, sp
	mov	x1, x27
	mov	w2, #1024
	bl	_av_strlcat
	ldr	w2, [x23]
	mov	x1, sp
	mov	x0, x19
	mov	w3, #0
	bl	_av_dict_set
	mov	x1, x23
	ldr	w8, [x1, #-16]!
	cbz	w8, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x3, sp
	mov	x0, x22
	mov	x2, x19
	bl	_matroska_convert_tag
	b	LBB0_3
LBB0_17:
Lloh14:
	adrp	x8, _ff_mkv_metadata_conv@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ff_mkv_metadata_conv@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	bl	_ff_metadata_conv
	ldur	x8, [x29, #-96]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	add	sp, sp, #1040
	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_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"und"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Skipping invalid tag with no TagName.\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s/%s"

l_.str.3:                               ; @.str.3
	.asciz	"-"

	.comm	_ff_mkv_metadata_conv,4,2       ; @ff_mkv_metadata_conv
	.no_dead_strip	_matroska_convert_tag
.subsections_via_symbols
