	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_encryption_init_info_get_side_data ## -- Begin function av_encryption_init_info_get_side_data
	.p2align	4, 0x90
_av_encryption_init_info_get_side_data: ## @av_encryption_init_info_get_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rsi, %rbx
	cmpq	$4, %rsi
	jb	LBB0_16
## %bb.2:
	movq	%rdi, %r14
	callq	_AV_RB32
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_15
## %bb.3:
	addq	$-4, %rbx
	addq	$16, %r14
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	movq	%r14, %rsi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdx
	callq	_memcpy
	leaq	(%r14,%r13,4), %r14
	subq	%r13, %rbx
	incq	%r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rcx
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	cmpq	-88(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_16
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jb	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_AV_RB32
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%r15), %rdi
	callq	_AV_RB32
	movq	%rax, %r14
	leaq	32(%r15), %rdi
	callq	_AV_RB32
	movq	%rax, %r13
	leaq	48(%r15), %rdi
	callq	_AV_RB32
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %r8
	movq	_FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subq	%r15, %rbx
	movq	%r13, %rcx
	imulq	%r14, %rcx
	addq	%r8, %rcx
	addq	%rdi, %rcx
	cmpq	%rcx, %rbx
	jb	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rsi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%r13, %rdx
	movq	%r8, %rcx
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	callq	_av_encryption_init_info_alloc
	movq	%r12, %rdx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rcx
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, 24(%rax)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	16(%rcx), %edi
	movq	%r14, %rsi
	movq	%rdx, %r15
	callq	_memcpy
	leaq	(%r14,%r15,4), %r14
	subq	%r15, %rbx
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jle	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	(,%r13,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax,%r12,4), %edi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	subq	%r13, %rbx
	incq	%r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r14
	cmpq	%r12, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%r15,%r13,4), %r14
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_14:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_encryption_init_info_free
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_ENCRYPTION_INIT_INFO_EXTRA,8,3 ## @FF_ENCRYPTION_INIT_INFO_EXTRA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_encryption_init_info_get_side_data ; -- Begin function av_encryption_init_info_get_side_data
	.p2align	2
_av_encryption_init_info_get_side_data: ; @av_encryption_init_info_get_side_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x0
	mov	x0, #0
	cbz	x21, LBB0_16
; %bb.1:
	subs	x19, x1, #4
	b.lo	LBB0_16
; %bb.2:
	mov	x0, x21
	bl	_AV_RB32
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	cmp	x0, #1
	b.lt	LBB0_15
; %bb.3:
	mov	x28, #0
	mov	x20, #0
	add	x22, x21, #16
                                        ; implicit-def: $x8
                                        ; kill: killed $x8
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	add	x22, x22, x21, lsl #2
	sub	x19, x19, x21
	add	x28, x28, #1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x20, x0
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x28, x8
	b.eq	LBB0_16
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
Lloh0:
	adrp	x8, _FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_AV_RB32
	mov	x27, x0
	add	x0, x22, #16
	bl	_AV_RB32
	mov	x23, x0
	add	x0, x22, #32
	bl	_AV_RB32
	mov	x25, x0
	add	x0, x22, #48
	bl	_AV_RB32
Lloh3:
	adrp	x8, _FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPAGEOFF]
Lloh5:
	ldr	x26, [x8]
	add	x8, x0, x27
	madd	x8, x25, x23, x8
	sub	x19, x19, x26
	cmp	x19, x8
	b.lo	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	mov	x0, x27
	mov	x1, x23
	mov	x2, x25
	mov	x3, x21
	bl	_av_encryption_init_info_alloc
	cbz	x0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x0
	mov	x8, x0
	cbz	x28, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x24, [x8, #24]
	mov	x8, x20
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	x22, x22, x26, lsl #2
	ldr	w0, [x24, #16]
	mov	x1, x22
	mov	x2, x27
	bl	_memcpy
	add	x22, x22, x27, lsl #2
	sub	x19, x19, x27
	cmp	x23, #1
	b.lt	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	lsl	x27, x25, #2
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x26, x22
	ldr	x8, [x24, #8]
	ldr	w0, [x8, x20, lsl #2]
	mov	x1, x22
	mov	x2, x25
	bl	_memcpy
	sub	x19, x19, x25
	add	x20, x20, #1
	add	x22, x22, x27
	cmp	x23, x20
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x26, x25, lsl #2
	b	LBB0_4
LBB0_14:
	mov	x0, x20
	bl	_av_encryption_init_info_free
LBB0_15:
	mov	x0, #0
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_ENCRYPTION_INIT_INFO_EXTRA,8,3 ; @FF_ENCRYPTION_INIT_INFO_EXTRA
.subsections_via_symbols
