	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function splitandenc
_splitandenc:                           ## @splitandenc
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	(%rdi), %al
	movb	%al, -56(%rbp)
	movb	1(%rdi), %cl
	shlb	$7, %al
	movl	%ecx, %edx
	shrb	%dl
	orb	%al, %dl
	movb	%dl, -55(%rbp)
	movb	2(%rdi), %al
	shlb	$6, %cl
	movl	%eax, %edx
	shrb	$2, %dl
	orb	%cl, %dl
	movb	%dl, -54(%rbp)
	movb	3(%rdi), %cl
	shlb	$5, %al
	movl	%ecx, %edx
	shrb	$3, %dl
	orb	%al, %dl
	movb	%dl, -53(%rbp)
	movb	4(%rdi), %al
	shlb	$4, %cl
	movl	%eax, %edx
	shrb	$4, %dl
	orb	%cl, %dl
	movb	%dl, -52(%rbp)
	movb	5(%rdi), %cl
	shlb	$3, %al
	movl	%ecx, %edx
	shrb	$5, %dl
	orb	%al, %dl
	movb	%dl, -51(%rbp)
	movb	6(%rdi), %al
	shlb	$2, %cl
	movl	%eax, %edx
	shrb	$6, %dl
	orb	%cl, %dl
	movb	%dl, -50(%rbp)
	addb	%al, %al
	movb	%al, -49(%rbp)
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_EVP_des_cbc
	leaq	-56(%rbp), %r13
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_EVP_CipherInit_ex
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_EVP_Cipher
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_CTX_free
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r12d, %eax
	addq	$24, %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	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_splitandenc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function splitandenc
_splitandenc:                           ; @splitandenc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	ldrb	w8, [x0, #1]
	lsl	w9, w8, #24
	ldrb	w10, [x0]
	extr	w9, w10, w9, #25
	strb	w10, [sp]
	ldrb	w10, [x0, #2]
	lsl	w11, w10, #24
	extr	w8, w8, w11, #26
	strb	w9, [sp, #1]
	strb	w8, [sp, #2]
	ldrb	w8, [x0, #3]
	lsl	w9, w8, #24
	extr	w9, w10, w9, #27
	strb	w9, [sp, #3]
	ldrb	w9, [x0, #4]
	lsl	w10, w9, #24
	extr	w8, w8, w10, #28
	strb	w8, [sp, #4]
	ldrb	w8, [x0, #5]
	lsl	w10, w8, #24
	extr	w9, w9, w10, #29
	strb	w9, [sp, #5]
	ldrb	w9, [x0, #6]
	lsl	w10, w9, #24
	extr	w8, w8, w10, #30
	strb	w8, [sp, #6]
	lsl	w8, w9, #1
	strb	w8, [sp, #7]
	bl	_EVP_CIPHER_CTX_new
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	bl	_EVP_des_cbc
	mov	x1, x0
	mov	x3, sp
	mov	x0, x21
	mov	x2, #0
	mov	x4, #0
	mov	w5, #1
	bl	_EVP_CipherInit_ex
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w3, #8
	bl	_EVP_Cipher
	mov	x0, x21
	bl	_EVP_CIPHER_CTX_free
	mov	x0, sp
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_3:
	ldr	x8, [sp, #8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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
	add	sp, sp, #64
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_splitandenc
.subsections_via_symbols
