	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_riff_write_info             ## -- Begin function ff_riff_write_info
	.p2align	4, 0x90
_ff_riff_write_info:                    ## @ff_riff_write_info
	.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, %r15
	movq	(%rdi), %r14
	leaq	8(%rdi), %rbx
	movq	_ff_riff_info_conv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ff_metadata_conv
	movq	%r15, %rdi
	callq	_riff_has_valid_tags
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_ff_start_tag
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_ffio_wfourcc
	movq	_riff_tags@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax), %rsi
	cmpq	$0, (%rsi)
	je	LBB0_6
## %bb.2:
	movl	$8, %r12d
	movq	_AV_DICT_MATCH_CASE@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movq	(%rax,%r12), %rsi
	addq	$8, %r12
	cmpq	$0, (%rsi)
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	(%r14), %ecx
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rdi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	callq	_ff_riff_write_info_tag
	jmp	LBB0_5
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_end_tag                     ## 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_riff_info_conv,4,2          ## @ff_riff_info_conv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LIST"

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

	.comm	_riff_tags,8,3                  ## @riff_tags
	.comm	_AV_DICT_MATCH_CASE,4,2         ## @AV_DICT_MATCH_CASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_riff_write_info             ; -- Begin function ff_riff_write_info
	.p2align	2
_ff_riff_write_info:                    ; @ff_riff_write_info
	.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	x19, x0
	mov	x21, x0
	ldr	x20, [x21], #8
Lloh0:
	adrp	x8, _ff_riff_info_conv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_riff_info_conv@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_ff_metadata_conv
	mov	x0, x19
	bl	_riff_has_valid_tags
	cbz	w0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ff_start_tag
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_ffio_wfourcc
Lloh7:
	adrp	x23, _riff_tags@GOTPAGE
Lloh8:
	ldr	x23, [x23, _riff_tags@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x1, [x8]
	ldr	x8, [x1]
	cbz	x8, LBB0_6
; %bb.2:
	mov	w24, #8
Lloh9:
	adrp	x25, _AV_DICT_MATCH_CASE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _AV_DICT_MATCH_CASE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x1, [x8, x24]
	ldr	x8, [x1]
	add	x24, x24, #8
	cbz	x8, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	w3, [x25]
	mov	x2, #0
	bl	_av_dict_get
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldp	w2, w1, [x0]
	mov	x0, x8
	bl	_ff_riff_write_info_tag
	b	LBB0_3
LBB0_6:
	mov	x0, x20
	mov	x1, x22
	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	_ff_end_tag
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_riff_info_conv,4,2          ; @ff_riff_info_conv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LIST"

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

	.comm	_riff_tags,8,3                  ; @riff_tags
	.comm	_AV_DICT_MATCH_CASE,4,2         ; @AV_DICT_MATCH_CASE
.subsections_via_symbols
