	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function licence_process_platform_challenge
_licence_process_platform_challenge:    ## @licence_process_platform_challenge
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_LICENCE_TOKEN_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%rcx, %rbx
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r14d
	movq	%r14, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_LICENCE_HWID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rbx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	addl	%r15d, %r14d
	leaq	(,%r14,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_LICENCE_SIGNATURE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movl	%r13d, %edi
	callq	_licence_parse_platform_challenge
	movq	-56(%rbp), %rsi
	movq	_LICENCE_TOKEN_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	callq	_memcpy
	xorl	%eax, %eax
	callq	_rdssl_rc4_info_create
	movq	%rax, %rbx
	movq	_g_licence_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_rdssl_rc4_set_key
	movq	-56(%rbp), %rsi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_rdssl_rc4_crypt
	movq	%rbx, %rdi
	callq	_rdssl_rc4_info_delete
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_licence_generate_hwid
	movq	_LICENCE_TOKEN_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_memcpy
	movslq	(%rbx), %rax
	leaq	(%r15,%rax,4), %rdi
	movq	_LICENCE_HWID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_memcpy
	movq	_g_licence_sign_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %r14d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	$16, %esi
	movl	$16, %ecx
	movq	%r15, %r8
	movl	%r14d, %r9d
	callq	_sec_sign
	xorl	%eax, %eax
	callq	_rdssl_rc4_info_create
	movq	%rax, %rbx
	movq	_g_licence_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_rdssl_rc4_set_key
	movq	_LICENCE_HWID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_rdssl_rc4_crypt
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_licence_send_platform_challenge_response
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LICENCE_TOKEN_SIZE,4,2         ## @LICENCE_TOKEN_SIZE
	.comm	_LICENCE_HWID_SIZE,4,2          ## @LICENCE_HWID_SIZE
	.comm	_LICENCE_SIGNATURE_SIZE,4,2     ## @LICENCE_SIGNATURE_SIZE
	.comm	_g_licence_key,8,3              ## @g_licence_key
	.comm	_g_licence_sign_key,4,2         ## @g_licence_sign_key
	.no_dead_strip	_licence_process_platform_challenge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function licence_process_platform_challenge
_licence_process_platform_challenge:    ; @licence_process_platform_challenge
	.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
	sub	sp, sp, #32
	mov	x8, sp
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	stur	xzr, [x29, #-96]
Lloh3:
	adrp	x28, _LICENCE_TOKEN_SIZE@GOTPAGE
Lloh4:
	ldr	x28, [x28, _LICENCE_TOKEN_SIZE@GOTPAGEOFF]
	ldr	w8, [x28]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	w12, [x28]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
Lloh9:
	adrp	x8, _LICENCE_HWID_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LICENCE_HWID_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x8]
	lsl	x8, x13, #2
	mov	x9, x8
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x14, x10, #0x7fffffff0
	sub	x20, x9, x14
	mov	sp, x20
	mov	x9, x8
Lloh14:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh15:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x14
	mov	sp, x21
	add	w26, w13, w12
	lsl	x9, x26, #2
	add	x8, x9, #15
	and	x8, x8, #0x7fffffff0
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x24, x9, x8
	mov	sp, x24
Lloh18:
	adrp	x8, _LICENCE_SIGNATURE_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LICENCE_SIGNATURE_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	sub	x1, x29, #96
	sub	x2, x29, #104
	bl	_licence_parse_platform_challenge
	ldur	x1, [x29, #-96]
	ldr	w2, [x28]
	mov	x0, x19
	bl	_memcpy
	bl	_rdssl_rc4_info_create
	mov	x25, x0
Lloh23:
	adrp	x27, _g_licence_key@GOTPAGE
Lloh24:
	ldr	x27, [x27, _g_licence_key@GOTPAGEOFF]
	ldr	x1, [x27]
	mov	w2, #16
	bl	_rdssl_rc4_set_key
	ldur	x1, [x29, #-96]
	ldr	w3, [x28]
	mov	x0, x25
	mov	x2, x23
	bl	_rdssl_rc4_crypt
	mov	x0, x25
	bl	_rdssl_rc4_info_delete
	mov	x0, x20
	bl	_licence_generate_hwid
	ldr	w2, [x28]
	mov	x0, x24
	mov	x1, x23
	bl	_memcpy
	ldrsw	x8, [x28]
	add	x0, x24, x8, lsl #2
Lloh25:
	adrp	x25, _LICENCE_HWID_SIZE@GOTPAGE
Lloh26:
	ldr	x25, [x25, _LICENCE_HWID_SIZE@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x1, x20
	bl	_memcpy
Lloh27:
	adrp	x8, _g_licence_sign_key@GOTPAGE
Lloh28:
	ldr	x8, [x8, _g_licence_sign_key@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	lsl	w5, w26, #2
	mov	x0, x22
	mov	w1, #16
	mov	w3, #16
	mov	x4, x24
	bl	_sec_sign
	bl	_rdssl_rc4_info_create
	mov	x23, x0
	ldr	x1, [x27]
	mov	w2, #16
	bl	_rdssl_rc4_set_key
	ldr	w3, [x25]
	mov	x0, x23
	mov	x1, x20
	mov	x2, x21
	bl	_rdssl_rc4_crypt
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_licence_send_platform_challenge_response
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	sub	sp, x29, #80
	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_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LICENCE_TOKEN_SIZE,4,2         ; @LICENCE_TOKEN_SIZE
	.comm	_LICENCE_HWID_SIZE,4,2          ; @LICENCE_HWID_SIZE
	.comm	_LICENCE_SIGNATURE_SIZE,4,2     ; @LICENCE_SIGNATURE_SIZE
	.comm	_g_licence_key,8,3              ; @g_licence_key
	.comm	_g_licence_sign_key,4,2         ; @g_licence_sign_key
	.no_dead_strip	_licence_process_platform_challenge
.subsections_via_symbols
