	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_encryption_info_add_side_data ## -- Begin function av_encryption_info_add_side_data
	.p2align	4, 0x90
_av_encryption_info_add_side_data:      ## @av_encryption_info_add_side_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_FF_ENCRYPTION_INFO_EXTRA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subl	%ecx, %edi
	movl	(%r15), %eax
	subl	%eax, %edi
	jl	LBB0_10
## %bb.2:
	movl	4(%r15), %edx
	subl	%edx, %edi
	jl	LBB0_10
## %bb.4:
	leal	7(%rdi), %ebx
	testl	%edi, %edi
	cmovnsl	%edi, %ebx
	sarl	$3, %ebx
	movl	8(%r15), %edi
	cmpl	%edi, %ebx
	jl	LBB0_10
## %bb.6:
	addl	%ecx, %eax
	addl	%edx, %eax
	leal	(%rax,%rdi,8), %eax
	movslq	%eax, %rdi
	movq	%rdi, (%rsi)
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, %r14
	movl	12(%r15), %esi
	movq	%rax, %rdi
	callq	_AV_WB32
	leaq	16(%r14), %rdi
	movl	16(%r15), %esi
	callq	_AV_WB32
	leaq	32(%r14), %rdi
	movl	20(%r15), %esi
	callq	_AV_WB32
	leaq	48(%r14), %rdi
	movl	(%r15), %esi
	callq	_AV_WB32
	leaq	64(%r14), %rdi
	movl	4(%r15), %esi
	callq	_AV_WB32
	leaq	80(%r14), %rdi
	movl	8(%r15), %esi
	callq	_AV_WB32
	leaq	96(%r14), %rdi
	movl	(%r15), %edx
	movl	36(%r15), %esi
	callq	_memcpy
	movslq	(%r15), %rax
	leaq	(%r14,%rax,4), %rbx
	addq	$96, %rbx
	movl	4(%r15), %edx
	movl	32(%r15), %esi
	movq	%rbx, %rdi
	callq	_memcpy
	cmpl	$0, 8(%r15)
	je	LBB0_11
## %bb.8:
	movslq	4(%r15), %rax
	leaq	(%rbx,%rax,4), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,8), %esi
	movq	%r12, %rdi
	callq	_AV_WB32
	movq	24(%r15), %rax
	movl	4(%rax,%rbx,8), %esi
	leaq	16(%r12), %rdi
	callq	_AV_WB32
	incq	%rbx
	movslq	8(%r15), %rax
	addq	$32, %r12
	cmpq	%rax, %rbx
	jb	LBB0_9
	jmp	LBB0_11
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
	.comm	_FF_ENCRYPTION_INFO_EXTRA,4,2   ## @FF_ENCRYPTION_INFO_EXTRA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_encryption_info_add_side_data ; -- Begin function av_encryption_info_add_side_data
	.p2align	2
_av_encryption_info_add_side_data:      ; @av_encryption_info_add_side_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _UINT32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _FF_ENCRYPTION_INFO_EXTRA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FF_ENCRYPTION_INFO_EXTRA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	sub	w10, w10, w8
	subs	w11, w10, w9
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w10, [x0, #4]
	subs	w11, w11, w10
	b.lt	LBB0_3
; %bb.2:
	add	w12, w11, #7
	cmp	w11, #0
	csel	w12, w12, w11, lt
	ldr	w11, [x19, #8]
	cmp	w11, w12, asr #3
	b.le	LBB0_5
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	add	w8, w9, w8
	add	w8, w8, w10
	add	w8, w8, w11, lsl #3
	sxtw	x0, w8
	str	x0, [x1]
	bl	_av_malloc
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.6:
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_AV_WB32
	add	x0, x20, #16
	ldr	w1, [x19, #16]
	bl	_AV_WB32
	add	x0, x20, #32
	ldr	w1, [x19, #20]
	bl	_AV_WB32
	add	x0, x20, #48
	ldr	w1, [x19]
	bl	_AV_WB32
	add	x0, x20, #64
	ldr	w1, [x19, #4]
	bl	_AV_WB32
	add	x0, x20, #80
	ldr	w1, [x19, #8]
	bl	_AV_WB32
	add	x21, x20, #96
	ldr	w1, [x19, #36]
	ldr	w2, [x19]
	mov	x0, x21
	bl	_memcpy
	ldp	w8, w2, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x21, x21, x8, lsl #2
	ldr	w1, [x19, #32]
	mov	x0, x21
	bl	_memcpy
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_4
; %bb.7:
	mov	x22, #0
	mov	x23, #0
	ldrsw	x8, [x19, #4]
	add	x21, x21, x8, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	w1, [x8, x22]
	mov	x0, x21
	bl	_AV_WB32
	ldr	x8, [x19, #24]
	add	x8, x8, x22
	ldr	w1, [x8, #4]
	add	x0, x21, #16
	bl	_AV_WB32
	add	x23, x23, #1
	ldrsw	x8, [x19, #8]
	add	x22, x22, #8
	add	x21, x21, #32
	cmp	x23, x8
	b.lo	LBB0_8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.comm	_FF_ENCRYPTION_INFO_EXTRA,4,2   ; @FF_ENCRYPTION_INFO_EXTRA
.subsections_via_symbols
