	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DES_string_to_key              ## -- Begin function DES_string_to_key
	.p2align	4, 0x90
_DES_string_to_key:                     ## @DES_string_to_key
	.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	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r15d
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movl	%r15d, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	rolb	$4, %dl
	movl	%edx, %ebx
	andb	$51, %bl
	shlb	$2, %bl
	shrb	$2, %dl
	andb	$51, %dl
	orb	%bl, %dl
	movl	%edx, %ebx
	andb	$85, %bl
	addb	%bl, %bl
	shrb	%dl
	andb	$85, %dl
	orb	%bl, %dl
	movl	%ecx, %esi
	notl	%esi
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	andl	$7, %esi
	addq	(%r13), %rsi
	xorb	%dl, (%rsi)
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14,%rcx), %edx
	testb	$8, %cl
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addb	%dl, %dl
	movl	%ecx, %esi
	jmp	LBB0_5
LBB0_6:
	movq	%r13, %rdi
	callq	_DES_set_odd_parity
	leaq	-44(%rbp), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_DES_set_key_unchecked
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_DES_cbc_cksum
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_OPENSSL_cleanse
	movq	%r13, %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_key              ; -- Begin function DES_string_to_key
	.p2align	2
_DES_string_to_key:                     ; @DES_string_to_key
	.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, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
	mov	w9, w21
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	rbit	w10, w10
	lsr	w10, w10, #24
	ldr	x11, [x19]
	mvn	w12, w8
	and	x12, x12, #0x7
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, x12
	ldrb	w12, [x11]
	eor	w10, w12, w10
	strb	w10, [x11]
	add	x8, x8, #1
	cmp	x9, x8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20, x8]
	tbnz	w8, #3, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w10, w10, #1
	ldr	x11, [x19]
	and	x12, x8, #0x7
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	bl	_DES_set_odd_parity
	add	x1, sp, #12
	mov	x0, x19
	bl	_DES_set_key_unchecked
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x4, x19
	bl	_DES_cbc_cksum
	add	x0, sp, #12
	mov	w1, #4
	bl	_OPENSSL_cleanse
	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
