	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_3gp_udta_tag
_mov_write_3gp_udta_tag:                ## @mov_write_3gp_udta_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_avio_tell
	movl	%eax, %r14d
	movl	(%r15), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_utf8len
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_ffio_wfourcc
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_language_code
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_avio_wb16
	movl	(%rbx), %ebx
	movl	%ebx, %edi
	callq	_strlen
	leaq	1(%rax), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_avio_write
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%rax), %edi
	callq	_atoi
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_avio_w8
	jmp	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%rbx), %edi
	callq	_atoi
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_avio_wb16
LBB0_7:
	movq	%r13, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_size                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"yrrc"

L_.str.1:                               ## @.str.1
	.asciz	"eng"

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

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

	.no_dead_strip	_mov_write_3gp_udta_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_write_3gp_udta_tag
_mov_write_3gp_udta_tag:                ; @mov_write_3gp_udta_tag
	.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	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	bl	_avio_tell
	mov	x20, x0
	ldr	w0, [x21]
	mov	x1, x23
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_6
; %bb.1:
	mov	x23, x0
	ldr	w0, [x0]
	bl	_utf8len
	cbz	w0, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x19
	mov	x1, x22
	bl	_ffio_wfourcc
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_language_code
	mov	x1, x0
	mov	x0, x19
	bl	_avio_wb16
	ldr	w23, [x23]
	mov	x0, x23
	bl	_strlen
	add	x2, x0, #1
	mov	x0, x19
	mov	x1, x23
	bl	_avio_write
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_8
; %bb.4:
	ldr	w0, [x21]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [x0]
	bl	_atoi
	mov	x1, x0
	mov	x0, x19
	bl	_avio_w8
	b	LBB0_8
LBB0_6:
	mov	w0, #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
	ret
LBB0_7:
	ldr	w0, [x23]
	bl	_atoi
	mov	x1, x0
	mov	x0, x19
	bl	_avio_wb16
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	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	_update_size
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"yrrc"

l_.str.1:                               ; @.str.1
	.asciz	"eng"

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

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

	.no_dead_strip	_mov_write_3gp_udta_tag
.subsections_via_symbols
