	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encrypt_decrypt
_encrypt_decrypt:                       ## @encrypt_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-64(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_EVP_CipherInit_ex
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	leaq	-128(%rbp), %rsi
	leaq	-200(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rcx
	movl	%r15d, %r8d
	callq	_EVP_CipherUpdate
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	leaq	-128(%rbp), %rsi
	leaq	-200(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_EVP_CipherFinal_ex
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	xorl	%r14d, %r14d
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_EVP_CipherInit_ex
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movl	-200(%rbp), %r8d
	leaq	-192(%rbp), %rsi
	leaq	-196(%rbp), %rdx
	leaq	-128(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_EVP_CipherUpdate
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	leaq	-192(%rbp), %rsi
	leaq	-196(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_EVP_CipherFinal_ex
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	-196(%rbp), %esi
	leaq	-192(%rbp), %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_TEST_mem_eq
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_8:
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r14d, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_encrypt_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encrypt_decrypt
_encrypt_decrypt:                       ; @encrypt_decrypt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	sub	x0, x29, #56
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	bl	_EVP_CIPHER_CTX_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_8
; %bb.1:
	sub	x3, x29, #56
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	mov	x4, #0
	mov	w5, #1
	bl	_EVP_CipherInit_ex
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.2:
	add	x1, sp, #72
	add	x2, sp, #4
	mov	x0, x19
	mov	x3, x21
	mov	x4, x20
	bl	_EVP_CipherUpdate
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.3:
	add	x1, sp, #72
	add	x2, sp, #4
	mov	x0, x19
	bl	_EVP_CipherFinal_ex
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.4:
	sub	x3, x29, #56
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_EVP_CipherInit_ex
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w4, [sp, #4]
	add	x1, sp, #8
	mov	x2, sp
	add	x3, sp, #72
	mov	x0, x19
	bl	_EVP_CipherUpdate
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.6:
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x19
	bl	_EVP_CipherFinal_ex
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.7:
	ldr	w1, [sp]
	add	x0, sp, #8
	mov	x2, x21
	mov	x3, x20
	bl	_TEST_mem_eq
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_9
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x19
	bl	_EVP_CIPHER_CTX_free
	ldur	x8, [x29, #-40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x20
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_encrypt_decrypt
.subsections_via_symbols
