	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function licence_process_request
_licence_process_request:               ## @licence_process_request
	.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	$24, %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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SEC_MODULUS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	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, -56(%rbp)                 ## 8-byte Spill
	movq	_LICENCE_HWID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	(,%r12,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_SEC_RANDOM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	callq	_in_uint8p
	leal	(,%r14,4), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_licence_generate_keys
	leaq	-64(%rbp), %rdi
	callq	_load_licence
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_licence_generate_hwid
	movq	_g_licence_sign_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$16, %esi
	movl	$16, %ecx
	movq	%r15, %r8
	movl	%r12d, %r9d
	callq	_sec_sign
	xorl	%eax, %eax
	callq	_rdssl_rc4_info_create
	movq	%rax, %r14
	movq	_g_licence_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_rdssl_rc4_set_key
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_rdssl_rc4_crypt
	movq	%r14, %rdi
	callq	_rdssl_rc4_info_delete
	movq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %ecx
	movq	%r15, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_licence_info
	movq	-64(%rbp), %rdi
	callq	_xfree
	jmp	LBB0_3
LBB0_2:
	movq	_g_username@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_hostname@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_licence_send_new_licence_request
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_MODULUS_SIZE,4,2           ## @SEC_MODULUS_SIZE
	.comm	_LICENCE_SIGNATURE_SIZE,4,2     ## @LICENCE_SIGNATURE_SIZE
	.comm	_LICENCE_HWID_SIZE,4,2          ## @LICENCE_HWID_SIZE
	.comm	_SEC_RANDOM_SIZE,4,2            ## @SEC_RANDOM_SIZE
	.comm	_g_licence_sign_key,4,2         ## @g_licence_sign_key
	.comm	_g_licence_key,8,3              ## @g_licence_key
	.comm	_g_username,4,2                 ## @g_username
	.comm	_g_hostname,4,2                 ## @g_hostname
	.comm	_LICENCE_TAG_LICENCE_INFO,4,2   ## @LICENCE_TAG_LICENCE_INFO
	.comm	_LICENCE_TAG_NEW_LICENCE_REQUEST,4,2 ## @LICENCE_TAG_NEW_LICENCE_REQUEST
	.no_dead_strip	_licence_process_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function licence_process_request
_licence_process_request:               ; @licence_process_request
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _SEC_MODULUS_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEC_MODULUS_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	lsl	x8, x22, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	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
Lloh8:
	adrp	x8, _LICENCE_SIGNATURE_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LICENCE_SIGNATURE_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh13:
	adrp	x8, _LICENCE_HWID_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LICENCE_HWID_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
	lsl	x8, x23, #2
	mov	x9, x8
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh18:
	adrp	x8, _SEC_RANDOM_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SEC_RANDOM_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	bl	_in_uint8p
	lsl	w2, w22, #2
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	mov	x0, x19
	mov	x2, x19
	bl	_licence_generate_keys
	sub	x0, x29, #64
	bl	_load_licence
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x22, x0
	mov	x0, x21
	bl	_licence_generate_hwid
Lloh21:
	adrp	x8, _g_licence_sign_key@GOTPAGE
Lloh22:
	ldr	x8, [x8, _g_licence_sign_key@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	lsl	w23, w23, #2
	mov	x0, x20
	mov	w1, #16
	mov	w3, #16
	mov	x4, x21
	mov	x5, x23
	bl	_sec_sign
	bl	_rdssl_rc4_info_create
	mov	x24, x0
Lloh24:
	adrp	x8, _g_licence_key@GOTPAGE
Lloh25:
	ldr	x8, [x8, _g_licence_key@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	mov	w2, #16
	bl	_rdssl_rc4_set_key
	mov	x0, x24
	mov	x1, x21
	mov	x2, x21
	mov	x3, x23
	bl	_rdssl_rc4_crypt
	mov	x0, x24
	bl	_rdssl_rc4_info_delete
	ldur	x2, [x29, #-64]
	mov	x0, x19
	mov	x1, x19
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	bl	_licence_info
	ldur	x0, [x29, #-64]
	bl	_xfree
	b	LBB0_3
LBB0_2:
Lloh27:
	adrp	x8, _g_username@GOTPAGE
Lloh28:
	ldr	x8, [x8, _g_username@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
Lloh30:
	adrp	x8, _g_hostname@GOTPAGE
Lloh31:
	ldr	x8, [x8, _g_hostname@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x19
	bl	_licence_send_new_licence_request
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_MODULUS_SIZE,4,2           ; @SEC_MODULUS_SIZE
	.comm	_LICENCE_SIGNATURE_SIZE,4,2     ; @LICENCE_SIGNATURE_SIZE
	.comm	_LICENCE_HWID_SIZE,4,2          ; @LICENCE_HWID_SIZE
	.comm	_SEC_RANDOM_SIZE,4,2            ; @SEC_RANDOM_SIZE
	.comm	_g_licence_sign_key,4,2         ; @g_licence_sign_key
	.comm	_g_licence_key,8,3              ; @g_licence_key
	.comm	_g_username,4,2                 ; @g_username
	.comm	_g_hostname,4,2                 ; @g_hostname
	.comm	_LICENCE_TAG_LICENCE_INFO,4,2   ; @LICENCE_TAG_LICENCE_INFO
	.comm	_LICENCE_TAG_NEW_LICENCE_REQUEST,4,2 ; @LICENCE_TAG_NEW_LICENCE_REQUEST
	.no_dead_strip	_licence_process_request
.subsections_via_symbols
