	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_metadata_track_or_disc_number
_mov_metadata_track_or_disc_number:     ## @mov_metadata_track_or_disc_number
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_avio_rb16
	movq	%rbx, %rdi
	callq	_avio_rb16
	movl	%eax, %r12d
	cmpl	$6, %r13d
	jb	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_avio_rb16
	testw	%ax, %ax
	je	LBB0_2
## %bb.3:
	movswl	%ax, %r8d
	movswl	%r12w, %ecx
	leaq	L_.str.1(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$16, %esi
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_4
LBB0_2:
	movswl	%r12w, %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$16, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_4:
	movq	_AVFMT_EVENT_FLAG_METADATA_UPDATED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rdi
	orl	%eax, 4(%rdi)
	leaq	-64(%rbp), %rdx
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

L_.str.1:                               ## @.str.1
	.asciz	"%d/%d"

	.comm	_AVFMT_EVENT_FLAG_METADATA_UPDATED,4,2 ## @AVFMT_EVENT_FLAG_METADATA_UPDATED
	.no_dead_strip	_mov_metadata_track_or_disc_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_metadata_track_or_disc_number
_mov_metadata_track_or_disc_number:     ; @mov_metadata_track_or_disc_number
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x0, x1
	bl	_avio_rb16
	mov	x0, x22
	bl	_avio_rb16
	mov	x21, x0
	cmp	w23, #6
	b.lo	LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_avio_rb16
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_3
; %bb.2:
	sxtw	x8, w0
	str	x8, [sp]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
LBB0_4:
	add	x0, sp, #8
	mov	w1, #16
	mov	x3, x21
	bl	_snprintf
Lloh7:
	adrp	x8, _AVFMT_EVENT_FLAG_METADATA_UPDATED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVFMT_EVENT_FLAG_METADATA_UPDATED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x0, [x20]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8
	str	w8, [x0, #4]
	add	x2, sp, #8
	mov	x1, x19
	mov	w3, #0
	bl	_av_dict_set
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	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
	add	sp, sp, #96
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

l_.str.1:                               ; @.str.1
	.asciz	"%d/%d"

	.comm	_AVFMT_EVENT_FLAG_METADATA_UPDATED,4,2 ; @AVFMT_EVENT_FLAG_METADATA_UPDATED
	.no_dead_strip	_mov_metadata_track_or_disc_number
.subsections_via_symbols
