	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function licence_process_new_license
_licence_process_new_license:           ## @licence_process_new_license
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$2, %esi
	callq	_in_uint8s
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint16_le
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_s_check_rem
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	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	(%r14), %rdx
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	xorl	%ecx, %ecx
	callq	_rdssl_rc4_crypt
	movq	%rbx, %rdi
	callq	_rdssl_rc4_info_delete
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_in_uint8s
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint8s
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint32_le
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_s_check_rem
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint8s
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint32_le
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_s_check_rem
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint8s
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint32_le
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_s_check_rem
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint8s
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_in_uint32_le
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_s_check_rem
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_g_licence_issued@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r14), %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_save_licence                   ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_licence_key,8,3              ## @g_licence_key
	.comm	_True,4,2                       ## @True
	.comm	_g_licence_issued,4,2           ## @g_licence_issued
	.no_dead_strip	_licence_process_new_license
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function licence_process_new_license
_licence_process_new_license:           ; @licence_process_new_license
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #2
	bl	_in_uint8s
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint16_le
	mov	x0, x19
	mov	w1, #0
	bl	_s_check_rem
	cbz	w0, LBB0_6
; %bb.1:
	bl	_rdssl_rc4_info_create
	mov	x20, x0
Lloh0:
	adrp	x8, _g_licence_key@GOTPAGE
Lloh1:
	ldr	x8, [x8, _g_licence_key@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	w2, #16
	bl	_rdssl_rc4_set_key
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x1
	mov	w3, #0
	bl	_rdssl_rc4_crypt
	mov	x0, x20
	bl	_rdssl_rc4_info_delete
	mov	x0, x19
	mov	w1, #4
	bl	_in_uint8s
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint8s
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint32_le
	mov	x0, x19
	mov	w1, #0
	bl	_s_check_rem
	cbz	w0, LBB0_6
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint8s
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint32_le
	mov	x0, x19
	mov	w1, #0
	bl	_s_check_rem
	cbz	w0, LBB0_6
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint8s
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint32_le
	mov	x0, x19
	mov	w1, #0
	bl	_s_check_rem
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint8s
	mov	x0, x19
	mov	w1, #0
	bl	_in_uint32_le
	mov	x0, x19
	mov	w1, #0
	bl	_s_check_rem
	cbz	w0, LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _True@GOTPAGE
Lloh4:
	ldr	x8, [x8, _True@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _g_licence_issued@GOTPAGE
Lloh7:
	ldr	x9, [x9, _g_licence_issued@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ldr	x0, [x19]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_save_licence
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_g_licence_key,8,3              ; @g_licence_key
	.comm	_True,4,2                       ; @True
	.comm	_g_licence_issued,4,2           ; @g_licence_issued
	.no_dead_strip	_licence_process_new_license
.subsections_via_symbols
