	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function des_cfb1_cipher
_des_cfb1_cipher:                       ## @des_cfb1_cipher
	.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
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movq	_EVP_MAXCHUNK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	7(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$3, %ebx
	movslq	%ebx, %rax
	cmpq	%rcx, %rax
	cmovaeq	%rcx, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, %rcx
	addq	%rax, %rdx
	addq	%rax, %rsi
	cmpq	%rax, %rcx
	cmovbq	%rcx, %rax
	testq	%rcx, %rcx
	je	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %r15
	shrq	$3, %r15
	movzbl	(%rdx,%r15), %eax
	movl	%r12d, %r13d
	andb	$7, %r13b
	movl	%r13d, %ecx
	xorb	$7, %cl
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	setb	%al
	shlb	$7, %al
	movb	%al, -42(%rbp)
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_get_cipher_data
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_iv_noconst
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_encrypting
	movl	%eax, (%rsp)
	leaq	-42(%rbp), %rdi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	%rbx, %r9
	callq	_DES_cfb_encrypt
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	$-129, %eax
	movl	%r13d, %ecx
	sarl	%cl, %eax
	movzbl	(%rsi,%r15), %ecx
	andl	%ecx, %eax
	movzbl	-41(%rbp), %ebx
	andl	$-128, %ebx
	movl	%r13d, %ecx
	shrl	%cl, %ebx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, %ebx
	movb	%bl, (%rsi,%r15)
	incq	%r12
	cmpq	%r12, %rcx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	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_MAXCHUNK,4,2               ## @EVP_MAXCHUNK
	.no_dead_strip	_des_cfb1_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function des_cfb1_cipher
_des_cfb1_cipher:                       ; @des_cfb1_cipher
	.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
	cbz	x3, LBB0_6
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _EVP_MAXCHUNK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_MAXCHUNK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	sbfx	x8, x8, #3, #29
	cmp	x8, x3
	csel	x25, x8, x3, lo
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, x25
	add	x21, x21, x25
	ldr	x3, [sp]                        ; 8-byte Folded Reload
	sub	x3, x3, x25
	cmp	x3, x25
	csel	x25, x3, x25, lo
	cbz	x3, LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	str	x3, [sp]                        ; 8-byte Folded Spill
	lsl	x27, x25, #3
	cbz	x27, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsr	x19, x28, #3
	ldrb	w8, [x20, x19]
	and	w26, w28, #0x7
	eor	w9, w26, #0x7
	lsr	w8, w8, w9
	lsl	w8, w8, #7
	strb	w8, [sp, #15]
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_get_cipher_data
	mov	x23, x0
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_iv_noconst
	mov	x24, x0
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_encrypting
	mov	x6, x0
	add	x0, sp, #15
	add	x1, sp, #14
	mov	w2, #1
	mov	w3, #1
	mov	x4, x23
	mov	x5, x24
	bl	_DES_cfb_encrypt
	mov	w9, #-129
	ldrb	w8, [x21, x19]
	asr	w9, w9, w26
	and	w8, w9, w8
	ldrb	w9, [sp, #14]
	and	w9, w9, #0x80
	lsr	w9, w9, w26
	orr	w8, w9, w8
	strb	w8, [x21, x19]
	add	x28, x28, #1
	cmp	x27, x28
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	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_MAXCHUNK,4,2               ; @EVP_MAXCHUNK
	.no_dead_strip	_des_cfb1_cipher
.subsections_via_symbols
