	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v2_unseal_message
_v2_unseal_message:                     ## @v2_unseal_message
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	cmpl	$15, %edi
	jle	LBB0_1
## %bb.2:
	movq	%r8, %r13
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	%rsi, %r12
	addl	$-16, %edi
	movl	%edi, (%r8)
	callq	_malloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	(%r13), %esi
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	movq	%rax, %rcx
	callq	_RC4
	movslq	(%r13), %r8
	addq	8(%rbx), %r8
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_v2_verify_message
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	callq	_gss_release_buffer
	jmp	LBB0_6
LBB0_1:
	movq	_GSS_S_BAD_MIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_BAD_MIC,8,3              ## @GSS_S_BAD_MIC
	.no_dead_strip	_v2_unseal_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v2_unseal_message
_v2_unseal_message:                     ; @v2_unseal_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	w8, [x0]
	cmp	w8, #15
	b.le	LBB0_4
; %bb.1:
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	sub	w0, w8, #16
	str	w0, [x4]
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x3, x0
	ldr	w1, [x19]
	ldr	x2, [x23, #8]
	mov	x0, x21
	bl	_RC4
	ldr	x8, [x23, #8]
	ldrsw	x9, [x19]
	add	x4, x8, x9
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_v2_verify_message
	mov	x20, x0
	cbz	x0, LBB0_5
; %bb.3:
	add	x0, sp, #8
	mov	x1, x19
	bl	_gss_release_buffer
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _GSS_S_BAD_MIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_BAD_MIC@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
LBB0_5:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_BAD_MIC,8,3              ; @GSS_S_BAD_MIC
	.no_dead_strip	_v2_unseal_message
.subsections_via_symbols
