	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_encryption_init_info_add_side_data ## -- Begin function av_encryption_init_info_add_side_data
	.p2align	4, 0x90
_av_encryption_init_info_add_side_data: ## @av_encryption_init_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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$4, %edi
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r15, %rdx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	56(%rdx), %rdx
	incq	%rbx
	testq	%rdx, %rdx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %rcx
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r8, %rdi
	addq	(%rdx), %rdi
	addq	8(%rdx), %rdi
	cmpq	%rcx, %rdi
	ja	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	imulq	24(%rdx), %rax
	addq	%rax, %rdi
	cmpq	%rcx, %rdi
	jbe	LBB0_7
	jmp	LBB0_18
LBB0_1:
	movl	$4, %edi
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rdi, (%rsi)
	callq	_av_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_AV_WB32
	testq	%r15, %r15
	je	LBB0_18
## %bb.11:
	movq	%r14, %r12
	addq	$16, %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	56(%r15), %r15
	testq	%r15, %r15
	je	LBB0_18
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_AV_WB32
	leaq	16(%r12), %rdi
	movq	16(%r15), %rsi
	callq	_AV_WB32
	leaq	32(%r12), %rdi
	movq	24(%r15), %rsi
	callq	_AV_WB32
	leaq	48(%r12), %rdi
	movq	8(%r15), %rsi
	callq	_AV_WB32
	leaq	64(%r12), %rdi
	movl	48(%r15), %esi
	movq	(%r15), %rdx
	callq	_memcpy
	movq	(%r15), %rax
	leaq	(%r12,%rax,4), %r12
	addq	$64, %r12
	cmpq	$0, 16(%r15)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	24(%r15), %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	40(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_memcpy
	movq	24(%r15), %rdx
	leaq	(%r12,%rdx,4), %r12
	incq	%rbx
	cmpq	16(%r15), %rbx
	jb	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	32(%r15), %esi
	movq	%r12, %rdi
	callq	_memcpy
	movq	8(%r15), %rax
	leaq	(%r12,%rax,4), %r12
	jmp	LBB0_17
LBB0_9:
	xorl	%r14d, %r14d
LBB0_18:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_ENCRYPTION_INIT_INFO_EXTRA,8,3 ## @FF_ENCRYPTION_INIT_INFO_EXTRA
	.comm	_UINT32_MAX,8,3                 ## @UINT32_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_encryption_init_info_add_side_data ; -- Begin function av_encryption_init_info_add_side_data
	.p2align	2
_av_encryption_init_info_add_side_data: ; @av_encryption_init_info_add_side_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	x21, #0
	cbz	x0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FF_ENCRYPTION_INIT_INFO_EXTRA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _UINT32_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UINT32_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	w0, #4
	mov	x10, x19
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x10, #56]
	add	x21, x21, #1
	cbz	x10, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, #0
	cmp	x9, x21
	b.eq	LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x11, x12, [x10]
	add	x13, x8, x0
	add	x11, x13, x11
	add	x0, x11, x12
	cmp	x0, x9
	b.hi	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x10, #16]
	cbz	x11, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x10, #24]
	madd	x0, x12, x11, x0
	cmp	x0, x9
	b.ls	LBB0_2
; %bb.7:
	mov	x20, #0
	b	LBB0_18
LBB0_8:
	mov	w0, #4
LBB0_9:
	str	x0, [x1]
	bl	_av_malloc
	mov	x20, x0
	cbz	x0, LBB0_18
; %bb.10:
	mov	x0, x20
	mov	x1, x21
	bl	_AV_WB32
	cbz	x19, LBB0_18
; %bb.11:
	add	x21, x20, #16
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x19, [x19, #56]
	cbz	x19, LBB0_18
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x1, [x19]
	mov	x0, x21
	bl	_AV_WB32
	add	x0, x21, #16
	ldr	x1, [x19, #16]
	bl	_AV_WB32
	add	x0, x21, #32
	ldr	x1, [x19, #24]
	bl	_AV_WB32
	add	x0, x21, #48
	ldr	x1, [x19, #8]
	bl	_AV_WB32
	add	x21, x21, #64
	ldr	w1, [x19, #48]
	ldr	x2, [x19]
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x19]
	add	x21, x21, x8, lsl #2
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x22, #0
	ldr	x2, [x19, #24]
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #40]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x21
	bl	_memcpy
	ldp	x8, x2, [x19, #16]
	add	x21, x21, x2, lsl #2
	add	x22, x22, #1
	cmp	x22, x8
	b.lo	LBB0_15
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x2, [x19, #8]
	cbz	x2, LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [x19, #32]
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x19, #8]
	add	x21, x21, x8, lsl #2
	b	LBB0_12
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_ENCRYPTION_INIT_INFO_EXTRA,8,3 ; @FF_ENCRYPTION_INIT_INFO_EXTRA
	.comm	_UINT32_MAX,8,3                 ; @UINT32_MAX
.subsections_via_symbols
