	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function des_set_key
_des_set_key:                           ## @des_set_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	_DES_KEY_SIZE@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	cmpl	%edx, (%r13)
	jne	LBB0_2
## %bb.1:
	movl	%r8d, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_be32
	movl	%eax, -48(%rbp)
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_be32
	movl	%eax, -44(%rbp)
	movl	(%r13), %eax
	movq	_st@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movl	$16, 4(%rbx)
	movl	%r14d, (%r12)
	leaq	-48(%rbp), %r12
	leaq	-44(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_r_des_permute_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	xorl	%edi, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$4, %rsi
	addq	$4, %rdx
	movl	$1, %r15d
	movl	$1, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$8, %rsi
	addq	$8, %rdx
	movl	$2, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$12, %rsi
	addq	$12, %rdx
	movl	$3, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$16, %rsi
	addq	$16, %rdx
	movl	$4, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$20, %rsi
	addq	$20, %rdx
	movl	$5, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$24, %rsi
	addq	$24, %rdx
	movl	$6, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$28, %rsi
	addq	$28, %rdx
	movl	$7, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$32, %rsi
	addq	$32, %rdx
	movl	$8, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$36, %rsi
	addq	$36, %rdx
	movl	$9, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$40, %rsi
	addq	$40, %rdx
	movl	$10, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$44, %rsi
	addq	$44, %rdx
	movl	$11, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$48, %rsi
	addq	$48, %rdx
	movl	$12, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$52, %rsi
	addq	$52, %rdx
	movl	$13, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$56, %rsi
	addq	$56, %rdx
	movl	$14, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rsi
	addq	$60, %rsi
	addq	$60, %rdx
	movl	$15, %edi
	movq	%r12, %rcx
	movq	%r14, %r8
	callq	_r_des_round_key
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DES_KEY_SIZE,4,2               ## @DES_KEY_SIZE
	.comm	_st,24,3                        ## @st
	.no_dead_strip	_des_set_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function des_set_key
_des_set_key:                           ; @des_set_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
Lloh0:
	adrp	x22, _DES_KEY_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DES_KEY_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x4
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_be32
	str	w0, [sp, #12]
	add	x0, x21, #16
	bl	_be32
	str	w0, [sp, #8]
	ldr	w8, [x22]
Lloh2:
	adrp	x21, _st@GOTPAGE
Lloh3:
	ldr	x21, [x21, _st@GOTPAGEOFF]
	mov	w9, #16
	stp	w8, w9, [x21]
	str	w19, [x20]
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_r_des_permute_key
	ldp	x2, x1, [x21, #8]
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #0
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #4
	add	x2, x9, #4
	mov	w19, #1
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #1
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #8
	add	x2, x9, #8
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #2
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #12
	add	x2, x9, #12
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #3
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #16
	add	x2, x9, #16
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #4
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #20
	add	x2, x9, #20
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #5
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #24
	add	x2, x9, #24
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #6
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #28
	add	x2, x9, #28
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #7
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #32
	add	x2, x9, #32
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #8
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #36
	add	x2, x9, #36
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #9
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #40
	add	x2, x9, #40
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #10
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #44
	add	x2, x9, #44
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #11
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #48
	add	x2, x9, #48
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #12
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #52
	add	x2, x9, #52
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #13
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #56
	add	x2, x9, #56
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #14
	bl	_r_des_round_key
	ldp	x9, x8, [x21, #8]
	add	x1, x8, #60
	add	x2, x9, #60
	add	x3, sp, #12
	add	x4, sp, #8
	mov	w0, #15
	bl	_r_des_round_key
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DES_KEY_SIZE,4,2               ; @DES_KEY_SIZE
	.comm	_st,24,3                        ; @st
	.no_dead_strip	_des_set_key
.subsections_via_symbols
