	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipher_hw_tdes_cfb1
_cipher_hw_tdes_cfb1:                   ## @cipher_hw_tdes_cfb1
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_EVP_CIPH_FLAG_LENGTH_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%eax, (%rdi)
	leaq	(,%rcx,8), %rdi
	cmovneq	%rcx, %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	$4, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r12
	shrq	$3, %r12
	movzbl	(%rdx,%r12), %eax
	movl	%r13d, %r14d
	andb	$7, %r14b
	movl	%r14d, %ecx
	xorb	$7, %cl
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	setb	%al
	shlb	$7, %al
	movb	%al, -42(%rbp)
	movl	4(%rbx), %eax
	subq	$8, %rsp
	leaq	-42(%rbp), %rdi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	pushq	%rax
	pushq	8(%rbx)
	pushq	%rbx
	callq	_DES_ede3_cfb_encrypt
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addq	$32, %rsp
	movl	$-129, %eax
	movl	%r14d, %ecx
	sarl	%cl, %eax
	movzbl	(%r15,%r12), %ecx
	andl	%ecx, %eax
	movzbl	-41(%rbp), %edx
	andl	$-128, %edx
	movl	%r14d, %ecx
	shrl	%cl, %edx
	orl	%eax, %edx
	movb	%dl, (%r15,%r12)
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	incq	%r13
	cmpq	%r13, %rdi
	jne	LBB0_2
LBB0_3:
	movl	$1, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CIPH_FLAG_LENGTH_BITS,4,2  ## @EVP_CIPH_FLAG_LENGTH_BITS
	.no_dead_strip	_cipher_hw_tdes_cfb1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipher_hw_tdes_cfb1
_cipher_hw_tdes_cfb1:                   ; @cipher_hw_tdes_cfb1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _EVP_CIPH_FLAG_LENGTH_BITS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVP_CIPH_FLAG_LENGTH_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	x10, x3, #3
	tst	w9, w8
	csel	x24, x10, x3, eq
	cbz	x24, LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x25, #0
	add	x22, x0, #8
	add	x23, x0, #4
	mov	w26, #-129
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x27, x25, #3
	ldrb	w8, [x19, x27]
	and	w28, w25, #0x7
	eor	w9, w28, #0x7
	lsr	w8, w8, w9
	lsl	w8, w8, #7
	strb	w8, [sp, #15]
	ldr	x7, [x21, #8]
	ldr	w8, [x21, #4]
	str	w8, [sp]
	add	x0, sp, #15
	add	x1, sp, #14
	mov	w2, #1
	mov	w3, #1
	mov	x4, x22
	mov	x5, x23
	mov	x6, x21
	bl	_DES_ede3_cfb_encrypt
	ldrb	w8, [x20, x27]
	asr	w9, w26, w28
	and	w8, w9, w8
	ldrb	w9, [sp, #14]
	and	w9, w9, #0x80
	lsr	w9, w9, w28
	orr	w8, w9, w8
	strb	w8, [x20, x27]
	add	x25, x25, #1
	cmp	x24, x25
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CIPH_FLAG_LENGTH_BITS,4,2  ; @EVP_CIPH_FLAG_LENGTH_BITS
	.no_dead_strip	_cipher_hw_tdes_cfb1
.subsections_via_symbols
