	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_decrypt                    ## -- Begin function sec_decrypt
	.p2align	4, 0x90
_sec_decrypt:                           ## @sec_decrypt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_g_sec_decrypt_use_count@GOTPCREL(%rip), %r15
	cmpl	$4096, (%r15)                   ## imm = 0x1000
	jne	LBB0_2
## %bb.1:
	movq	_g_sec_decrypt_key@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_g_sec_decrypt_update_key@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sec_update
	movq	_g_rc4_decrypt_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rsi
	movq	_g_rc4_key_len@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_rdssl_rc4_set_key
	movl	$0, (%r15)
LBB0_2:
	movq	_g_rc4_decrypt_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_rdssl_rc4_crypt
	incl	(%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_sec_decrypt_use_count,4,2    ## @g_sec_decrypt_use_count
	.comm	_g_sec_decrypt_key,8,3          ## @g_sec_decrypt_key
	.comm	_g_sec_decrypt_update_key,4,2   ## @g_sec_decrypt_update_key
	.comm	_g_rc4_decrypt_key,4,2          ## @g_rc4_decrypt_key
	.comm	_g_rc4_key_len,4,2              ## @g_rc4_key_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_decrypt                    ; -- Begin function sec_decrypt
	.p2align	2
_sec_decrypt:                           ; @sec_decrypt
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _g_sec_decrypt_use_count@GOTPAGE
Lloh1:
	ldr	x21, [x21, _g_sec_decrypt_use_count@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _g_rc4_decrypt_key@GOTPAGE
Lloh3:
	ldr	x22, [x22, _g_rc4_decrypt_key@GOTPAGEOFF]
	cmp	w8, #1, lsl #12                 ; =4096
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x23, _g_sec_decrypt_key@GOTPAGE
Lloh5:
	ldr	x23, [x23, _g_sec_decrypt_key@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh6:
	adrp	x8, _g_sec_decrypt_update_key@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_sec_decrypt_update_key@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_sec_update
	ldr	w0, [x22]
	ldr	x1, [x23]
Lloh9:
	adrp	x8, _g_rc4_key_len@GOTPAGE
Lloh10:
	ldr	x8, [x8, _g_rc4_key_len@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_rdssl_rc4_set_key
	str	wzr, [x21]
LBB0_2:
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_rdssl_rc4_crypt
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_g_sec_decrypt_use_count,4,2    ; @g_sec_decrypt_use_count
	.comm	_g_sec_decrypt_key,8,3          ; @g_sec_decrypt_key
	.comm	_g_sec_decrypt_update_key,4,2   ; @g_sec_decrypt_update_key
	.comm	_g_rc4_decrypt_key,4,2          ; @g_rc4_decrypt_key
	.comm	_g_rc4_key_len,4,2              ; @g_rc4_key_len
.subsections_via_symbols
