	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_encryption_info_get_side_data ## -- Begin function av_encryption_info_get_side_data
	.p2align	4, 0x90
_av_encryption_info_get_side_data:      ## @av_encryption_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r13d, %r13d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	_FF_ENCRYPTION_INFO_EXTRA@GOTPCREL(%rip), %r12
	cmpq	%rsi, (%r12)
	ja	LBB0_9
## %bb.2:
	movq	%rdi, %r14
	addq	$48, %rdi
	callq	_AV_RB32
	movq	%rax, %r13
	leaq	64(%r14), %rdi
	callq	_AV_RB32
	movq	%rax, %r15
	leaq	80(%r14), %rdi
	callq	_AV_RB32
	leaq	(%r15,%r13), %rsi
	movq	(%r12), %rdx
	addq	%rsi, %rdx
	leaq	(%rdx,%rax,8), %rdx
	cmpq	%rbx, %rdx
	ja	LBB0_8
## %bb.4:
	movq	%r15, %rcx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r13, %rbx
	movq	%r13, %rsi
	movq	%rcx, %r12
	movq	%rcx, %rdx
	callq	_av_encryption_info_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_AV_RB32
	movq	%rax, 32(%r13)
	leaq	16(%r14), %rdi
	callq	_AV_RB32
	movq	%rax, 24(%r13)
	leaq	32(%r14), %rdi
	callq	_AV_RB32
	movq	%rax, 16(%r13)
	movl	12(%r13), %edi
	leaq	96(%r14), %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movl	8(%r13), %edi
	leaq	(%r14,%rbx,4), %rsi
	addq	$96, %rsi
	movq	%r12, %rdx
	callq	_memcpy
	testq	%r15, %r15
	je	LBB0_9
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax,4), %r12
	addq	$96, %r12
	cmpq	$2, %r15
	movl	$1, %r14d
	cmovaeq	%r15, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_AV_RB32
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx,%rbx)
	leaq	16(%r12), %rdi
	callq	_AV_RB32
	movq	(%r13), %rcx
	movq	%rax, (%rcx,%rbx)
	addq	$16, %rbx
	addq	$32, %r12
	decq	%r14
	jne	LBB0_7
	jmp	LBB0_9
LBB0_8:
	xorl	%r13d, %r13d
LBB0_9:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_ENCRYPTION_INFO_EXTRA,8,3   ## @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_get_side_data ; -- Begin function av_encryption_info_get_side_data
	.p2align	2
_av_encryption_info_get_side_data:      ; @av_encryption_info_get_side_data
	.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, #0
	cbz	x0, LBB0_8
; %bb.1:
	mov	x24, x1
Lloh0:
	adrp	x25, _FF_ENCRYPTION_INFO_EXTRA@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FF_ENCRYPTION_INFO_EXTRA@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x8, x1
	b.hi	LBB0_8
; %bb.2:
	mov	x20, x0
	add	x0, x0, #48
	bl	_AV_RB32
	mov	x22, x0
	add	x0, x20, #64
	bl	_AV_RB32
	mov	x23, x0
	add	x0, x20, #80
	bl	_AV_RB32
	ldr	x8, [x25]
	add	x25, x23, x22
	add	x8, x25, x8
	add	x8, x8, x0, lsl #3
	cmp	x8, x24
	b.ls	LBB0_4
; %bb.3:
	mov	x19, #0
	b	LBB0_8
LBB0_4:
	mov	x21, x0
	mov	x1, x22
	mov	x2, x23
	bl	_av_encryption_info_alloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_AV_RB32
	str	x0, [x19, #32]
	add	x0, x20, #16
	bl	_AV_RB32
	str	x0, [x19, #24]
	add	x0, x20, #32
	bl	_AV_RB32
	str	x0, [x19, #16]
	ldr	w0, [x19, #12]
	add	x1, x20, #96
	mov	x2, x22
	bl	_memcpy
	ldr	w0, [x19, #8]
	add	x8, x20, x22, lsl #2
	add	x1, x8, #96
	mov	x2, x23
	bl	_memcpy
	cbz	x21, LBB0_8
; %bb.6:
	mov	x22, #0
	add	x8, x20, x25, lsl #2
	add	x20, x8, #96
	cmp	x21, #1
	csinc	x21, x21, xzr, hi
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_AV_RB32
	ldr	x8, [x19]
	add	x8, x8, x22
	str	x0, [x8, #8]
	add	x0, x20, #16
	bl	_AV_RB32
	ldr	x8, [x19]
	str	x0, [x8, x22]
	add	x22, x22, #16
	add	x20, x20, #32
	subs	x21, x21, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_ENCRYPTION_INFO_EXTRA,8,3   ; @FF_ENCRYPTION_INFO_EXTRA
.subsections_via_symbols
