	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_hw_generic_cfb1         ## -- Begin function cipher_hw_generic_cfb1
	.p2align	4, 0x90
_cipher_hw_generic_cfb1:                ## @cipher_hw_generic_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)
	movq	_EVP_CIPH_FLAG_LENGTH_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	jne	LBB0_5
## %bb.1:
	movq	_MAXBITCHUNK@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	cmpq	%r15, %rdx
	ja	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$3, %rdx
	movl	20(%r14), %ecx
	movl	16(%r14), %r8d
	movl	8(%r14), %eax
	movl	12(%r14), %r10d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	leaq	-44(%rbp), %r9
	pushq	%rax
	pushq	%r10
	callq	_CRYPTO_cfb128_1_encrypt
	addq	$16, %rsp
	movq	(%r13), %rdx
	subq	%rdx, %r15
	addq	%rdx, %r12
	addq	%rdx, %rbx
	cmpq	%rdx, %r15
	jae	LBB0_2
LBB0_3:
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	shlq	$3, %r15
LBB0_5:
	movl	20(%r14), %ecx
	movl	16(%r14), %r8d
	movl	8(%r14), %eax
	movl	12(%r14), %r10d
	leaq	-44(%rbp), %r9
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	pushq	%rax
	pushq	%r10
	callq	_CRYPTO_cfb128_1_encrypt
	addq	$16, %rsp
LBB0_6:
	movl	-44(%rbp), %eax
	movl	%eax, (%r14)
	movl	$1, %eax
	addq	$8, %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
	.comm	_MAXBITCHUNK,8,3                ## @MAXBITCHUNK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cipher_hw_generic_cfb1         ; -- Begin function cipher_hw_generic_cfb1
	.p2align	2
_cipher_hw_generic_cfb1:                ; @cipher_hw_generic_cfb1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w9, [x0]
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _EVP_CIPH_FLAG_LENGTH_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_CIPH_FLAG_LENGTH_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
	ldp	w4, w3, [x19, #16]
	ldp	w7, w6, [x19, #8]
	add	x5, sp, #12
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x23, _MAXBITCHUNK@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAXBITCHUNK@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x22
	b.hi	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x2, x8, #3
	ldp	w4, w3, [x19, #16]
	ldp	w7, w6, [x19, #8]
	add	x5, sp, #12
	mov	x0, x21
	mov	x1, x20
	bl	_CRYPTO_cfb128_1_encrypt
	ldr	x8, [x23]
	add	x20, x20, x8
	add	x21, x21, x8
	sub	x22, x22, x8
	cmp	x22, x8
	b.hs	LBB0_3
LBB0_4:
	cbz	x22, LBB0_7
; %bb.5:
	lsl	x2, x22, #3
	ldp	w4, w3, [x19, #16]
	ldp	w7, w6, [x19, #8]
	add	x5, sp, #12
	mov	x0, x21
	mov	x1, x20
LBB0_6:
	bl	_CRYPTO_cfb128_1_encrypt
LBB0_7:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CIPH_FLAG_LENGTH_BITS,4,2  ; @EVP_CIPH_FLAG_LENGTH_BITS
	.comm	_MAXBITCHUNK,8,3                ; @MAXBITCHUNK
.subsections_via_symbols
