	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdssl_rc4_crypt                ## -- Begin function rdssl_rc4_crypt
	.p2align	4, 0x90
_rdssl_rc4_crypt:                       ## @rdssl_rc4_crypt
	.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	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	%ecx, -44(%rbp)
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	testq	%r13, %r13
	je	LBB0_10
## %bb.2:
	testq	%r14, %r14
	je	LBB0_10
## %bb.3:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.4:
	cmpl	$0, (%rbx)
	je	LBB0_10
## %bb.5:
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_g_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	(%rbx), %edi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, (%rsp)
	leaq	-44(%rbp), %r9
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_CryptEncrypt
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_g_free
	jmp	LBB0_9
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	movl	%r12d, %r8d
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_7:
	xorl	%eax, %eax
	callq	_GetLastError
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_g_free
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_error
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rdssl_rc4_crypt %p %p %p %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"rdssl_rc4_set_key no memory\n"

	.comm	_FALSE,4,2                      ## @FALSE
L_.str.2:                               ## @.str.2
	.asciz	"CryptEncrypt failed with %lx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdssl_rc4_crypt                ; -- Begin function rdssl_rc4_crypt
	.p2align	2
_rdssl_rc4_crypt:                       ; @rdssl_rc4_crypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	str	w3, [sp, #44]
	cbz	x0, LBB0_8
; %bb.1:
	cbz	x23, LBB0_8
; %bb.2:
	cbz	x20, LBB0_8
; %bb.3:
	cbz	w19, LBB0_8
; %bb.4:
	ldr	w8, [x22]
	cbz	w8, LBB0_8
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	bl	_g_malloc
	cbz	x0, LBB0_11
; %bb.6:
	mov	x21, x0
	mov	x1, x23
	mov	x2, x19
	bl	_memcpy
	ldr	w0, [x22]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x5, sp, #44
	mov	w1, #0
	mov	w3, #0
	mov	x4, x21
	mov	x6, x19
	bl	_CryptEncrypt
	cbz	w0, LBB0_12
; %bb.7:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	mov	x0, x21
	bl	_g_free
	b	LBB0_10
LBB0_8:
	stp	x20, x19, [sp, #16]
	stp	x22, x23, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
LBB0_9:
	bl	_error
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_error
LBB0_12:
	bl	_GetLastError
	mov	x19, x0
	mov	x0, x21
	bl	_g_free
	str	x19, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rdssl_rc4_crypt %p %p %p %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"rdssl_rc4_set_key no memory\n"

	.comm	_FALSE,4,2                      ; @FALSE
l_.str.2:                               ; @.str.2
	.asciz	"CryptEncrypt failed with %lx\n"

.subsections_via_symbols
