	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nprobe
_nprobe:                                ## @nprobe
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.1:
	movq	%rcx, %r13
	testq	%rcx, %rcx
	je	LBB0_15
## %bb.2:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	_OMA_ENC_HEADER_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rbx), %ecx
	leal	(%rcx,%rsi), %edi
	addl	$4, %edi
	cmpl	%edx, %edi
	ja	LBB0_15
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	addl	%esi, %ecx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	leaq	(%r14,%rbx,4), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memcmp
	leaq	32(%rbx), %r15
	testl	%eax, %eax
	cmovneq	%rbx, %r15
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	leaq	44(%r15), %rbx
	cmpq	%rax, %rbx
	ja	LBB0_14
## %bb.4:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r15,4), %rdi
	callq	_AV_RB32
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpl	4(%rcx), %eax
	je	LBB0_6
## %bb.5:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	callq	_av_log
LBB0_6:
	leaq	(%r14,%r15,4), %rdi
	addq	$128, %rdi
	callq	_AV_RB32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	(%r14,%r15,4), %rdi
	addq	$144, %rdi
	callq	_AV_RB32
	movl	%eax, %r15d
	sarl	$4, %r15d
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	addq	%rcx, %rbx
	movslq	%r15d, %rcx
	shlq	$4, %rcx
	addq	%rbx, %rcx
	cmpq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	ja	LBB0_14
## %bb.7:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_av_des_alloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	$192, %edx
	movl	$1, %ecx
	callq	_av_des_init
	cmpl	$16, -44(%rbp)                  ## 4-byte Folded Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jl	LBB0_13
## %bb.9:
	incl	%r15d
	leaq	(%r14,%rbx,4), %rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	$2, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_av_des_crypt
	movl	8(%r13), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	movl	$16, %ecx
	callq	_kset
	movl	8(%r13), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_rprobe
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	decl	%r15d
	addq	$64, %rbx
	cmpl	$2, %r15d
	jge	LBB0_11
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_free
LBB0_14:
	movl	$-1, %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_free
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_OMA_ENC_HEADER_SIZE,4,2        ## @OMA_ENC_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EKB "

	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"Mismatching RID\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_nprobe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nprobe
_nprobe:                                ; @nprobe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w0, #-1
	cbz	x1, LBB0_14
; %bb.1:
	mov	x22, x3
	cbz	x3, LBB0_14
; %bb.2:
	mov	x19, x2
Lloh0:
	adrp	x8, _OMA_ENC_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMA_ENC_HEADER_SIZE@GOTPAGEOFF]
	ldr	x26, [x21]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x26]
	add	w23, w9, w8
	add	w8, w23, #4
	cmp	w8, w2
	b.hi	LBB0_13
; %bb.3:
	mov	x20, x1
	add	x0, x1, w23, uxtw #2
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	add	x8, x23, #32
	cmp	w0, #0
	csel	x8, x8, x23, eq
	mov	w27, w19
	add	x28, x8, #44
	cmp	x28, x27
	b.hi	LBB0_13
; %bb.4:
	add	x23, x20, x8, lsl #2
	mov	x0, x23
	bl	_AV_RB32
	ldr	w8, [x26, #4]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_av_log
LBB0_6:
	add	x0, x23, #128
	bl	_AV_RB32
	mov	x25, x0
	add	x0, x23, #144
	bl	_AV_RB32
	asr	w9, w0, #4
	add	x25, x28, w25, sxtw
	add	x8, x25, w9, sxtw #4
	cmp	x8, x27
	b.hi	LBB0_13
; %bb.7:
	mov	x24, x0
	mov	x27, x9
	bl	_av_des_alloc
	cbz	x0, LBB0_15
; %bb.8:
	mov	x23, x0
	mov	x1, x22
	mov	w2, #192
	mov	w3, #1
	bl	_av_des_init
	cmp	w24, #16
	b.lt	LBB0_12
; %bb.9:
	add	w24, w27, #1
	add	x22, x20, x25, lsl #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26, #8]
	mov	x0, x23
	mov	x2, x22
	mov	w3, #2
	mov	x4, #0
	mov	w5, #1
	bl	_av_des_crypt
	ldr	w1, [x26, #8]
	mov	x0, x21
	mov	x2, #0
	mov	w3, #16
	bl	_kset
	ldr	w3, [x26, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_rprobe
	cbz	w0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	w24, w24, #1
	add	x22, x22, #64
	cmp	w24, #2
	b.ge	LBB0_10
LBB0_12:
	mov	x0, x23
	bl	_av_free
LBB0_13:
	mov	w0, #-1
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_16:
	mov	x0, x23
	bl	_av_free
	mov	w0, #0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OMA_ENC_HEADER_SIZE,4,2        ; @OMA_ENC_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EKB "

	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"Mismatching RID\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_nprobe
.subsections_via_symbols
