	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function avi_metadata_creation_time
_avi_metadata_creation_time:            ## @avi_metadata_creation_time
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-140(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	leaq	-57(%rbp), %r8
	leaq	-132(%rbp), %r9
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$4, %eax
	jne	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	movq	_months@GOTPCREL(%rip), %r13
	leaq	-140(%rbp), %r12
	leaq	-128(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-132(%rbp), %ecx
	incq	%rbx
	movl	-136(%rbp), %r9d
	leaq	-57(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movl	$64, %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %r8d
	callq	_snprintf
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$12, %rbx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_av_strcasecmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	jmp	LBB0_5
LBB0_6:
	cmpb	$47, 4(%rbx)
	jne	LBB0_9
## %bb.7:
	cmpb	$47, 7(%rbx)
	jne	LBB0_9
## %bb.8:
	movb	$45, 7(%rbx)
	movb	$45, 4(%rbx)
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%*3s%*[ ]%3s%*[ ]%2d%*[ ]%8s%*[ ]%4d"

	.comm	_months,8,3                     ## @months
L_.str.1:                               ## @.str.1
	.asciz	"%.4d-%.2d-%.2d %s"

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

	.no_dead_strip	_avi_metadata_creation_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function avi_metadata_creation_time
_avi_metadata_creation_time:            ; @avi_metadata_creation_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #11
	add	x3, sp, #4
	sub	x4, x29, #65
	mov	x5, sp
	mov	x0, x20
	bl	_sscanf
	cmp	w0, #4
	b.ne	LBB0_6
; %bb.1:
	mov	x20, #0
Lloh5:
	adrp	x23, _months@GOTPAGE
Lloh6:
	ldr	x23, [x23, _months@GOTPAGEOFF]
Lloh7:
	adrp	x21, l_.str.1@PAGE
Lloh8:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh9:
	adrp	x22, l_.str.2@PAGE
Lloh10:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w3, w5, [sp]
	add	x20, x20, #1
	add	x0, sp, #15
	sub	x6, x29, #65
	mov	w1, #64
	mov	x2, x21
	mov	x4, x20
	bl	_snprintf
	add	x2, sp, #15
	mov	x0, x19
	mov	x1, x22
	mov	w3, #0
	bl	_av_dict_set
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #12
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x20, lsl #2]
	add	x0, sp, #11
	bl	_av_strcasecmp
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	b	LBB0_3
LBB0_6:
	ldrb	w8, [x20, #4]
	cmp	w8, #47
	b.ne	LBB0_9
; %bb.7:
	ldrb	w8, [x20, #7]
	cmp	w8, #47
	b.ne	LBB0_9
; %bb.8:
	mov	w8, #45
	strb	w8, [x20, #7]
	strb	w8, [x20, #4]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_av_dict_set
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%*3s%*[ ]%3s%*[ ]%2d%*[ ]%8s%*[ ]%4d"

	.comm	_months,8,3                     ; @months
l_.str.1:                               ; @.str.1
	.asciz	"%.4d-%.2d-%.2d %s"

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

	.no_dead_strip	_avi_metadata_creation_time
.subsections_via_symbols
