	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_current_encryption_info
_get_current_encryption_info:           ## @get_current_encryption_info
	.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	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_get_current_frag_stream_info
	movq	(%rbx), %rdx
	movl	(%rdx), %ecx
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %r12
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.8:
	movq	8(%rdx), %rsi
	movq	(%r12), %rbx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdx,8), %rdi
	cmpq	%rbx, (%rdi)
	je	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_9
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_12:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jle	LBB0_17
## %bb.13:
	movq	8(%rdx), %rdx
	decl	%ecx
	movq	(%rdx,%rcx,8), %rcx
	movq	8(%rcx), %rdx
	movq	%rdx, (%r15)
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_16
## %bb.14:
	cmpl	$0, 8(%rdx)
	je	LBB0_17
## %bb.15:
	movl	$4, %edi
	callq	_av_mallocz
	movq	(%r15), %rcx
	movq	%rax, (%rcx)
	movq	(%r15), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_16
	jmp	LBB0_7
LBB0_2:
	xorl	%edx, %edx
                                        ## implicit-def: $rdi
LBB0_3:
	cmpl	%ecx, %edx
	je	LBB0_17
## %bb.4:
	movq	8(%rdi), %rdx
	movq	%rdx, (%r15)
	movq	8(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_16:
	movq	%rcx, (%r14)
	movl	$1, %eax
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, 8(%rdx)
	je	LBB0_17
## %bb.6:
	movl	$4, %edi
	callq	_av_mallocz
	movq	%rax, %rcx
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	jne	LBB0_16
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_get_current_encryption_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_current_encryption_info
_get_current_encryption_info:           ; @get_current_encryption_info
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	add	x0, x0, #8
	bl	_get_current_frag_stream_info
	ldr	x10, [x22]
	ldr	w8, [x10]
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x9, #0
	ldr	x10, [x10, #8]
	ldr	x12, [x21]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x9, lsl #3]
	ldr	x13, [x11]
	cmp	x13, x12
	b.eq	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_3
	b	LBB0_10
LBB0_5:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	ldr	x9, [x10, #8]
	sub	w8, w8, #1
	ldr	x8, [x9, w8, uxtw #3]
	ldr	x9, [x8, #8]
	str	x9, [x20]
	ldr	x8, [x9]
	cbz	x8, LBB0_15
LBB0_7:
	str	x8, [x19]
	b	LBB0_13
LBB0_8:
	mov	w9, #0
                                        ; implicit-def: $x11
LBB0_9:
	cmp	w9, w8
	b.ne	LBB0_11
LBB0_10:
	mov	w0, #0
	b	LBB0_14
LBB0_11:
	ldr	x8, [x11, #8]
	str	x8, [x20]
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_17
LBB0_12:
	str	x0, [x19]
LBB0_13:
	mov	w0, #1
LBB0_14:
	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
LBB0_15:
	ldr	w8, [x9, #8]
	cbz	w8, LBB0_10
; %bb.16:
	mov	w0, #4
	bl	_av_mallocz
	ldr	x8, [x20]
	str	x0, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	cbnz	x8, LBB0_7
	b	LBB0_19
LBB0_17:
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_10
; %bb.18:
	mov	w0, #4
	bl	_av_mallocz
	str	x0, [x21, #8]
	cbnz	x0, LBB0_12
LBB0_19:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_get_current_encryption_info
.subsections_via_symbols
