	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DES_string_to_2keys            ## -- Begin function DES_string_to_2keys
	.p2align	4, 0x90
_DES_string_to_2keys:                   ## @DES_string_to_2keys
	.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
	pushq	%rax
	.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	%rdi, %r12
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_10
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	(%r14), %rdx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorb	%cl, (%rdx)
	incq	%rax
	cmpq	%rax, %rbx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r12,%rax), %ecx
	testb	$16, %al
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addb	%cl, %cl
	movl	%eax, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	rolb	$4, %cl
	movl	%ecx, %edx
	andb	$51, %dl
	shlb	$2, %dl
	shrb	$2, %cl
	andb	$51, %cl
	orb	%dl, %cl
	movl	%ecx, %edx
	andb	$85, %dl
	addb	%dl, %dl
	shrb	%cl
	andb	$85, %cl
	orb	%dl, %cl
	movl	%eax, %edx
	notl	%edx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	andl	$7, %edx
	testb	$8, %al
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	(%r15), %rdx
	jmp	LBB0_8
LBB0_9:
	cmpl	$8, %ebx
	jg	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
LBB0_11:
	movq	%r15, %rdi
	callq	_DES_set_odd_parity
	movq	%r14, %rdi
	callq	_DES_set_odd_parity
	leaq	-44(%rbp), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_DES_set_key_unchecked
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	%r13, %rcx
	movq	%r15, %r8
	callq	_DES_cbc_cksum
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_DES_set_key_unchecked
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_DES_cbc_cksum
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_OPENSSL_cleanse
	movq	%r15, %rdi
	callq	_DES_set_odd_parity
	movq	%r14, %rdi
	callq	_DES_set_odd_parity
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DES_string_to_2keys            ; -- Begin function DES_string_to_2keys
	.p2align	2
_DES_string_to_2keys:                   ; @DES_string_to_2keys
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x21
	bl	_strlen
	mov	w22, w0
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x8, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mvn	w11, w8
	and	x11, x11, #0x7
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, x11
	ldrb	w11, [x10]
	eor	w9, w11, w9
	strb	w9, [x10]
	add	x8, x8, #1
	cmp	x22, x8
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21, x8]
	tbnz	w8, #4, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	w9, w9, #1
	tbnz	w8, #3, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x20]
	and	x11, x8, #0x7
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	rbit	w9, w9
	lsr	w9, w9, #24
	tbnz	w8, #3, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x20]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19]
	and	x11, x8, #0x7
	b	LBB0_4
LBB0_11:
	cmp	w22, #8
	b.gt	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #8
	bl	_memcpy
LBB0_13:
	mov	x0, x20
	bl	_DES_set_odd_parity
	mov	x0, x19
	bl	_DES_set_odd_parity
	add	x1, sp, #12
	mov	x0, x20
	bl	_DES_set_key_unchecked
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x4, x20
	bl	_DES_cbc_cksum
	add	x1, sp, #12
	mov	x0, x19
	bl	_DES_set_key_unchecked
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	mov	x4, x19
	bl	_DES_cbc_cksum
	add	x0, sp, #12
	mov	w1, #4
	bl	_OPENSSL_cleanse
	mov	x0, x20
	bl	_DES_set_odd_parity
	mov	x0, x19
	bl	_DES_set_odd_parity
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
