	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v2_sign_message
_v2_sign_message:                       ## @v2_sign_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, %r13d
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_HMAC_CTX_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_EVP_md5
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	movl	%eax, %ecx
	xorl	%r8d, %r8d
	callq	_HMAC_Init_ex
	leaq	-64(%rbp), %r14
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_encode_le_uint32
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_HMAC_Update
	movq	(%r12), %rsi
	movl	8(%r12), %edx
	movq	%rbx, %rdi
	callq	_HMAC_Update
	leaq	-76(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_HMAC_Final
	movq	%rbx, %rdi
	callq	_HMAC_CTX_free
	movl	$1, %edi
	movq	%r15, %rsi
	callq	_encode_le_uint32
	leaq	4(%r15), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	leaq	-64(%rbp), %rdx
	movl	$8, %esi
	callq	_RC4
	jmp	LBB0_5
LBB0_1:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	leaq	-64(%rbp), %rsi
	movq	%rcx, %rdi
	movl	$8, %edx
	callq	_memcpy
LBB0_5:
	addq	$12, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
	.no_dead_strip	_v2_sign_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v2_sign_message
_v2_sign_message:                       ; @v2_sign_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x4
	mov	x23, x3
	mov	x20, x2
	mov	x24, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_HMAC_CTX_new
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	bl	_EVP_md5
	mov	x3, x0
	mov	x0, x21
	mov	x1, x24
	mov	w2, #16
	mov	x4, #0
	bl	_HMAC_Init_ex
	add	x1, sp, #8
	mov	x0, x23
	bl	_encode_le_uint32
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #4
	bl	_HMAC_Update
	ldr	x1, [x22]
	ldr	w2, [x22, #8]
	mov	x0, x21
	bl	_HMAC_Update
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x21
	bl	_HMAC_Final
	mov	x0, x21
	bl	_HMAC_CTX_free
	mov	w0, #1
	mov	x1, x19
	bl	_encode_le_uint32
	add	x3, x19, #4
	cbz	x20, LBB0_4
; %bb.2:
	add	x2, sp, #8
	mov	x0, x20
	mov	w1, #8
	bl	_RC4
	b	LBB0_5
LBB0_3:
Lloh3:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	add	x1, sp, #8
	mov	x0, x3
	mov	w2, #8
	bl	_memcpy
LBB0_5:
	add	x0, x19, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh5:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
	.no_dead_strip	_v2_sign_message
.subsections_via_symbols
