	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_read_properties
_asf_read_properties:                   ## @asf_read_properties
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	8(%rdi), %rbx
	movq	16(%rdi), %r15
	movq	%rbx, %rdi
	callq	_avio_rl64
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_avio_skip
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_avio_skip
	movq	%rbx, %rdi
	callq	_avio_rl64
	movl	%eax, -100(%rbp)
	movq	_ASF_FLAG_BROADCAST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	je	LBB0_1
LBB0_6:
	movq	%rbx, %rdi
	callq	_avio_rl64
	movl	%eax, 4(%r15)
	movq	%rbx, %rdi
	callq	_avio_rl64
	cltq
	imulq	$1759218605, %rax, %rax         ## imm = 0x68DB8BAD
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$44, %rax
	addl	%ecx, %eax
	movl	%eax, 8(%r15)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_avio_skip
	movq	%rbx, %rdi
	callq	_avio_rl64
	movl	%eax, 12(%r15)
	subl	%eax, 8(%r15)
	movq	%rbx, %rdi
	callq	_avio_rl32
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_avio_skip
	movq	%rbx, %rdi
	callq	_avio_rl32
	movq	%rax, 16(%r15)
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_avio_skip
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cltq
	imulq	$1801439851, %rax, %rax         ## imm = 0x6B5FCA6B
	movq	%rax, %rcx
	sarq	$54, %rcx
	shrq	$63, %rax
	addl	%ecx, %eax
	addl	$1240428288, %eax               ## imm = 0x49EF6F00
	movl	%eax, -100(%rbp)
	leaq	-100(%rbp), %rdi
	leaq	-104(%rbp), %rsi
	callq	_gmtime_r
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rdx
	leaq	-96(%rbp), %rdi
	movl	$64, %esi
	movq	%rax, %rcx
	callq	_strftime
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	cmpb	$0, -96(%rbp)
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	leaq	-96(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_av_dict_set
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ASF_FLAG_BROADCAST,4,2         ## @ASF_FLAG_BROADCAST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%Y-%m-%d %H:%M:%S"

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

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"av_dict_set failed.\n"

	.no_dead_strip	_asf_read_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_read_properties
_asf_read_properties:                   ; @asf_read_properties
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldp	x19, x21, [x0, #8]
	mov	x0, x19
	bl	_avio_rl64
	mov	x0, x19
	mov	w1, #16
	bl	_avio_skip
	mov	x0, x19
	mov	w1, #8
	bl	_avio_skip
	mov	x0, x19
	bl	_avio_rl64
	str	w0, [sp, #4]
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _ASF_FLAG_BROADCAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ASF_FLAG_BROADCAST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_avio_rl64
	str	w0, [x21, #4]
	mov	x0, x19
	bl	_avio_rl64
	mov	w8, #35757
	movk	w8, #26843, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #44
	add	w8, w8, w9
	str	w8, [x21, #8]
	mov	x0, x19
	mov	w1, #8
	bl	_avio_skip
	mov	x0, x19
	bl	_avio_rl64
	ldr	w8, [x21, #8]
	sub	w8, w8, w0
	stp	w8, w0, [x21, #8]
	mov	x0, x19
	bl	_avio_rl32
	str	w0, [x21]
	mov	x0, x19
	mov	w1, #4
	bl	_avio_skip
	mov	x0, x19
	bl	_avio_rl32
	str	x0, [x21, #16]
	mov	x0, x19
	mov	w1, #4
	bl	_avio_skip
	ldur	x8, [x29, #-40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.2:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_3:
	mov	w8, #51819
	movk	w8, #27487, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #54
	mov	w10, #28416
	movk	w10, #18927, lsl #16
	add	w8, w8, w9
	add	w8, w8, w10
	str	w8, [sp, #4]
	add	x0, sp, #4
	mov	x1, sp
	bl	_gmtime_r
	cbz	x0, LBB0_1
; %bb.4:
	mov	x3, x0
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	bl	_strftime
	cbz	w0, LBB0_1
; %bb.5:
	ldrb	w8, [sp, #8]
	cbz	w8, LBB0_1
; %bb.6:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #0
	bl	_av_dict_set
	tbz	x0, #63, LBB0_1
; %bb.7:
Lloh13:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_av_log
	b	LBB0_1
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ASF_FLAG_BROADCAST,4,2         ; @ASF_FLAG_BROADCAST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%Y-%m-%d %H:%M:%S"

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

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"av_dict_set failed.\n"

	.no_dead_strip	_asf_read_properties
.subsections_via_symbols
