	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function des_encrypt
_des_encrypt:                           ## @des_encrypt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	%rdx, %r14
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.3:
	movq	%rdi, %rbx
	movq	%r12, %rdi
	callq	_be32
	leaq	8(%rbx), %r15
	movq	%rax, 8(%rbx)
	addq	$16, %r12
	movq	%r12, %rdi
	callq	_be32
	leaq	16(%rbx), %r12
	movq	%rax, 16(%rbx)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_r_des_permute_block0
	movl	$0, (%rbx)
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rcx
	shlq	$2, %rcx
	movq	32(%rbx), %rdx
	addq	%rcx, %rdx
	addq	24(%rbx), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_r_des_round
	movl	(%rbx), %ecx
	leal	1(%rcx), %eax
	movl	%eax, (%rbx)
	cmpl	$15, %ecx
	jl	LBB0_4
## %bb.5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_r_des_permute_block1
	movq	(%r12), %rsi
	movq	%r14, %rdi
	callq	_wbe32
	addq	$16, %r14
	movq	(%r15), %rsi
	movq	%r14, %rdi
	callq	_wbe32
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_des_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function des_encrypt
_des_encrypt:                           ; @des_encrypt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	mov	w0, #0
	cbz	x20, LBB0_6
; %bb.1:
	mov	x22, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x19, x2
	cbz	x2, LBB0_6
; %bb.3:
	mov	x0, x22
	bl	_be32
	mov	x21, x20
	str	x0, [x21, #8]!
	add	x0, x22, #16
	bl	_be32
	mov	x22, x20
	str	x0, [x22, #16]!
	mov	x0, x21
	mov	x1, x22
	bl	_r_des_permute_block0
	mov	w8, #0
	str	wzr, [x20]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sbfiz	x8, x8, #2, #32
	ldp	x10, x9, [x20, #24]
	add	x2, x9, x8
	add	x3, x10, x8
	mov	x0, x21
	mov	x1, x22
	bl	_r_des_round
	ldr	w9, [x20]
	add	w8, w9, #1
	str	w8, [x20]
	cmp	w9, #15
	b.lt	LBB0_4
; %bb.5:
	mov	x0, x22
	mov	x1, x21
	bl	_r_des_permute_block1
	ldr	x1, [x22]
	mov	x0, x19
	bl	_wbe32
	add	x0, x19, #16
	ldr	x1, [x21]
	bl	_wbe32
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_des_encrypt
.subsections_via_symbols
