	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tadd_shorts_metadata        ## -- Begin function ff_tadd_shorts_metadata
	.p2align	4, 0x90
_ff_tadd_shorts_metadata:               ## @ff_tadd_shorts_metadata
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edi, %edi
	jle	LBB0_2
## %bb.1:
	movl	%edi, %ebx
	movslq	%edi, %r14
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shrq	$2, %rax
	cmpq	%r14, %rax
	jbe	LBB0_2
## %bb.3:
	movq	%rsi, %r15
	movq	%rdx, %r13
	movl	%r8d, %r12d
	movq	%rcx, %rdi
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	callq	_bytestream2_get_bytes_left
	cltq
	shlq	$2, %r14
	cmpq	%rax, %r14
	jbe	LBB0_4
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%rbx), %eax
	leal	(%rax,%rax,4), %esi
	movq	_AV_BPRINT_SIZE_UNLIMITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	callq	_av_bprint_init
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_ff_tget_short
	movl	%eax, %r15d
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movl	$8, %ecx
	callq	_auto_sep
	leaq	-44(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	callq	_av_bprintf
	incl	%r14d
	cmpl	%r14d, %ebx
	jne	LBB0_5
## %bb.6:
	leaq	-44(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	_av_bprint_finalize
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movq	-72(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.9:
	movq	_AV_DICT_DONT_STRDUP_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	16(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_av_dict_set
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ## @AV_BPRINT_SIZE_UNLIMITED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%5i"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ## @AV_DICT_DONT_STRDUP_VAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_tadd_shorts_metadata        ; -- Begin function ff_tadd_shorts_metadata
	.p2align	2
_ff_tadd_shorts_metadata:               ; @ff_tadd_shorts_metadata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, x0
	sxtw	x25, w24
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	lsr	x8, x8, #2
	cmp	x8, x25
	b.ls	LBB0_3
; %bb.2:
	mov	x19, x6
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x0, x3
	bl	_bytestream2_get_bytes_left
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x25, lsl #2
	b.hs	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	add	w8, w24, w24, lsl #2
	lsl	w1, w8, #1
Lloh6:
	adrp	x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_av_bprint_init
	mov	w25, #0
Lloh9:
	adrp	x26, l_.str@PAGE
Lloh10:
	add	x26, x26, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_ff_tget_short
	mov	x27, x0
	mov	x0, x24
	mov	x1, x23
	mov	x2, x25
	mov	w3, #8
	bl	_auto_sep
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x26
	mov	x3, x27
	bl	_av_bprintf
	add	w25, w25, #1
	cmp	w24, w25
	b.ne	LBB0_6
; %bb.7:
	add	x0, sp, #12
	mov	x1, sp
	bl	_av_bprint_finalize
	cbnz	w0, LBB0_4
; %bb.8:
	ldr	x2, [sp]
	cbz	x2, LBB0_10
; %bb.9:
Lloh11:
	adrp	x8, _AV_DICT_DONT_STRDUP_VAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_DICT_DONT_STRDUP_VAL@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_av_dict_set
	mov	w0, #0
	b	LBB0_4
LBB0_10:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ; @AV_BPRINT_SIZE_UNLIMITED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%5i"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ; @AV_DICT_DONT_STRDUP_VAL
.subsections_via_symbols
