	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_table_entries_attrib
_write_table_entries_attrib:            ## @write_table_entries_attrib
	.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	%rdi, %r14
	movq	16(%rdi), %r13
	movq	24(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_ff_standardize_creation_time
	leaq	8(%r14), %rbx
	movq	_ff_asf_metadata_conv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ff_metadata_conv
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edi
	movq	_AV_DICT_IGNORE_SUFFIX@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r15
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %esi
	movq	(%r15), %rdx
	movq	%r13, %rdi
	callq	_write_tag
	movl	(%rbx), %edi
	movl	(%r12), %ecx
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_av_dict_get
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_attachment_value_size
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movl	$2, %esi
	movl	%eax, %ecx
	callq	_write_metadata_header
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_avio_put_str16le
	movq	%r13, %rdi
	movl	$16, %esi
	callq	_avio_w8
	testq	%r14, %r14
	leaq	L_.str(%rip), %rsi
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rsi
LBB0_6:
	movq	%r13, %rdi
	callq	_avio_put_str16le
	movq	8(%rbx), %rsi
	movq	%r13, %rdi
	callq	_avio_wl32
	movl	16(%rbx), %esi
	movq	8(%rbx), %rdx
	movq	%r13, %rdi
	callq	_avio_write
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	$2, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_tag_int32                ## TAILCALL
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_asf_metadata_conv,4,2       ## @ff_asf_metadata_conv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ## @AV_DICT_IGNORE_SUFFIX
L_.str.1:                               ## @.str.1
	.asciz	"title"

L_.str.2:                               ## @.str.2
	.asciz	"WM/Picture"

L_.str.3:                               ## @.str.3
	.asciz	"image/jpeg"

L_.str.4:                               ## @.str.4
	.asciz	"WM/MediaThumbType"

	.no_dead_strip	_write_table_entries_attrib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_table_entries_attrib
_write_table_entries_attrib:            ; @write_table_entries_attrib
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	ldp	x19, x20, [x0, #16]
	bl	_ff_standardize_creation_time
	add	x22, x21, #8
Lloh0:
	adrp	x8, _ff_asf_metadata_conv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_asf_metadata_conv@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, #0
	bl	_ff_metadata_conv
	ldr	w0, [x21, #8]
Lloh3:
	adrp	x25, _AV_DICT_IGNORE_SUFFIX@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AV_DICT_IGNORE_SUFFIX@GOTPAGEOFF]
	ldr	w3, [x25]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
Lloh7:
	adrp	x24, l_.str@PAGE
Lloh8:
	add	x24, x24, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, #8]
	ldr	x2, [x23]
	mov	x0, x19
	bl	_write_tag
	ldr	w0, [x22]
	ldr	w3, [x25]
	mov	x1, x24
	mov	x2, x23
	bl	_av_dict_get
	mov	x23, x0
	cbnz	x0, LBB0_2
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x21]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_attachment_value_size
	mov	x3, x0
Lloh11:
	adrp	x2, l_.str.2@PAGE
Lloh12:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #2
	bl	_write_metadata_header
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_avio_put_str16le
	mov	x0, x19
	mov	w1, #16
	bl	_avio_w8
	cbz	x21, LBB0_7
; %bb.5:
	ldr	x1, [x21]
	b	LBB0_8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_avio_put_str16le
	ldr	x1, [x20, #8]
	mov	x0, x19
	bl	_avio_wl32
	ldr	w1, [x20, #16]
	ldr	x2, [x20, #8]
	mov	x0, x19
	bl	_avio_write
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_write_tag_int32
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_asf_metadata_conv,4,2       ; @ff_asf_metadata_conv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_AV_DICT_IGNORE_SUFFIX,4,2      ; @AV_DICT_IGNORE_SUFFIX
l_.str.1:                               ; @.str.1
	.asciz	"title"

l_.str.2:                               ; @.str.2
	.asciz	"WM/Picture"

l_.str.3:                               ; @.str.3
	.asciz	"image/jpeg"

l_.str.4:                               ; @.str.4
	.asciz	"WM/MediaThumbType"

	.no_dead_strip	_write_table_entries_attrib
.subsections_via_symbols
