	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_ofb128_encrypt          ## -- Begin function CRYPTO_ofb128_encrypt
	.p2align	4, 0x90
_CRYPTO_ofb128_encrypt:                 ## @CRYPTO_ofb128_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r8
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%r9), %r14d
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %eax
	movzbl	(%r15,%rax), %eax
	xorb	(%rbx), %al
	incq	%rbx
	movb	%al, (%r12)
	incq	%r12
	leaq	-1(%rdx), %r13
	incl	%r14d
	andl	$15, %r14d
	je	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$1, %rdx
	movq	%r13, %rdx
	jne	LBB0_9
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r13
LBB0_3:
	movq	16(%rbp), %rcx
	cmpq	$16, %r13
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	jb	LBB0_13
## %bb.4:
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %rdx
	callq	*%rcx
	cmpl	$15, %r14d
	ja	LBB0_7
## %bb.5:
	movl	%r14d, %eax
	movq	(%r15,%rax), %rcx
	xorq	(%rbx,%rax), %rcx
	movq	%rcx, (%r12,%rax)
	cmpl	$7, %r14d
	ja	LBB0_7
## %bb.6:
	movq	8(%r15,%rax), %rcx
	xorq	8(%rbx,%rax), %rcx
	movq	%rcx, 8(%r12,%rax)
LBB0_7:
	addq	$-16, %r13
	addq	$16, %r12
	addq	$16, %rbx
	xorl	%r14d, %r14d
	cmpq	$16, %r13
	jb	LBB0_8
## %bb.11:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r8, %rdx
	callq	*16(%rbp)
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	(%r15), %rax
	xorq	(%rbx), %rax
	movq	%rax, (%r12)
	movq	8(%r15), %rax
	xorq	8(%rbx), %rax
	movq	%rax, 8(%r12)
	movq	16(%rbp), %rcx
	addq	$-16, %r13
	addq	$16, %r12
	addq	$16, %rbx
	cmpq	$15, %r13
	ja	LBB0_12
LBB0_13:
	testq	%r13, %r13
	je	LBB0_14
LBB0_15:
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r8, %rdx
	callq	*%rcx
	cmpq	$32, %r13
	jae	LBB0_17
## %bb.16:
	movq	-48(%rbp), %r9                  ## 8-byte Reload
LBB0_29:
	testb	$1, %r13b
	jne	LBB0_31
## %bb.30:
	movq	%r13, %rax
	cmpq	$1, %r13
	jne	LBB0_33
	jmp	LBB0_34
LBB0_17:
	leaq	-1(%r13), %rax
	movl	%r14d, %ecx
	addl	%eax, %ecx
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	jb	LBB0_29
## %bb.18:
	shrq	$32, %rax
	jne	LBB0_29
## %bb.19:
	movl	%r14d, %eax
	leaq	(%r12,%rax), %rcx
	movq	%rcx, %rsi
	subq	%rbx, %rsi
	subq	%rax, %rsi
	cmpq	$32, %rsi
	jb	LBB0_29
## %bb.20:
	addq	%r15, %rax
	subq	%rax, %rcx
	cmpq	$32, %rcx
	jb	LBB0_29
## %bb.21:
	movq	%r13, %r8
	andq	$-32, %r8
	leaq	-32(%r8), %rcx
	movq	%rcx, %rdx
	shrq	$5, %rdx
	incq	%rdx
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.23:
	movq	%rdx, %rsi
	andq	$-2, %rsi
	xorl	%ecx, %ecx
	movl	%r14d, %edi
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	%edi, %eax
	movups	(%rbx,%rax), %xmm0
	movups	16(%rbx,%rax), %xmm1
	movups	(%r15,%rax), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%r15,%rax), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, (%r12,%rax)
	movups	%xmm0, 16(%r12,%rax)
	leal	32(%rdi), %eax
	movups	(%rbx,%rax), %xmm0
	movups	16(%rbx,%rax), %xmm1
	movups	(%r15,%rax), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%r15,%rax), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, (%r12,%rax)
	movups	%xmm0, 16(%r12,%rax)
	addl	$64, %edi
	addl	$64, %ecx
	addq	$-2, %rsi
	jne	LBB0_24
## %bb.25:
	testb	$1, %dl
	je	LBB0_27
LBB0_26:
	addl	%r14d, %ecx
	movups	(%rbx,%rcx), %xmm0
	movups	16(%rbx,%rcx), %xmm1
	movups	(%r15,%rcx), %xmm2
	xorps	%xmm0, %xmm2
	movups	16(%r15,%rcx), %xmm0
	xorps	%xmm1, %xmm0
	movups	%xmm2, (%r12,%rcx)
	movups	%xmm0, 16(%r12,%rcx)
LBB0_27:
	addl	%r8d, %r14d
	cmpq	%r8, %r13
	je	LBB0_34
## %bb.28:
	andl	$31, %r13d
	jmp	LBB0_29
LBB0_31:
	leaq	-1(%r13), %rax
	movl	%r14d, %ecx
	movb	(%r15,%rcx), %dl
	xorb	(%rbx,%rcx), %dl
	movb	%dl, (%r12,%rcx)
	incl	%r14d
	cmpq	$1, %r13
	je	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %ecx
	movzbl	(%r15,%rcx), %edx
	xorb	(%rbx,%rcx), %dl
	movb	%dl, (%r12,%rcx)
	leal	1(%r14), %ecx
	movzbl	(%r15,%rcx), %edx
	xorb	(%rbx,%rcx), %dl
	addl	$2, %r14d
	movb	%dl, (%r12,%rcx)
	addq	$-2, %rax
	jne	LBB0_33
	jmp	LBB0_34
LBB0_8:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	16(%rbp), %rcx
	testq	%r13, %r13
	jne	LBB0_15
LBB0_14:
	movq	-48(%rbp), %r9                  ## 8-byte Reload
LBB0_34:
	movl	%r14d, (%r9)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	xorl	%ecx, %ecx
	testb	$1, %dl
	jne	LBB0_26
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_ofb128_encrypt          ; -- Begin function CRYPTO_ofb128_encrypt
	.p2align	2
_CRYPTO_ofb128_encrypt:                 ; @CRYPTO_ofb128_encrypt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x6
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x1
	mov	x22, x0
	ldr	w26, [x5]
	cmp	w26, #0
	ccmp	x2, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x8, x2
	b	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22], #1
	ldrb	w9, [x20, w26, uxtw]
	eor	w8, w9, w8
	strb	w8, [x21], #1
	sub	x8, x2, #1
	add	w9, w26, #1
	ands	w26, w9, #0xf
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x2, #1
	mov	x2, x8
	b.ne	LBB0_2
LBB0_4:
	subs	x25, x8, #16
	b.lo	LBB0_21
; %bb.5:
	mov	x0, x20
	mov	x1, x20
	mov	x2, x24
	blr	x23
	cmp	w26, #15
	b.hi	LBB0_8
; %bb.6:
	mov	w8, w26
	ldr	x9, [x22, x8]
	ldr	x10, [x20, x8]
	eor	x9, x10, x9
	str	x9, [x21, x8]
	cmp	w26, #7
	b.hi	LBB0_8
; %bb.7:
	add	x8, x8, #8
	ldr	x9, [x22, x8]
	ldr	x10, [x20, x8]
	eor	x9, x10, x9
	str	x9, [x21, x8]
LBB0_8:
	add	x21, x21, #16
	add	x22, x22, #16
	cmp	x25, #16
	b.lo	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x20
	mov	x2, x24
	blr	x23
	ldr	x8, [x22]
	ldr	x9, [x20]
	eor	x8, x9, x8
	str	x8, [x21]
	ldr	x8, [x22, #8]
	ldr	x9, [x20, #8]
	eor	x8, x9, x8
	str	x8, [x21, #8]
	sub	x25, x25, #16
	add	x21, x21, #16
	add	x22, x22, #16
	cmp	x25, #15
	b.hi	LBB0_9
LBB0_10:
	mov	w26, #0
	cbz	x25, LBB0_22
LBB0_11:
	mov	x0, x20
	mov	x1, x20
	mov	x2, x24
	blr	x23
	cmp	x25, #32
	b.lo	LBB0_19
; %bb.12:
	sub	x8, x25, #1
	cmn	w26, w8
	b.hs	LBB0_19
; %bb.13:
	lsr	x8, x8, #32
	cbnz	x8, LBB0_19
; %bb.14:
	mov	w8, w26
	add	x9, x21, x8
	add	x10, x22, x8
	sub	x10, x9, x10
	cmp	x10, #32
	b.lo	LBB0_19
; %bb.15:
	add	x8, x20, x8
	sub	x8, x9, x8
	cmp	x8, #32
	b.lo	LBB0_19
; %bb.16:
	and	x10, x25, #0xffffffffffffffe0
	add	w8, w26, w10
	and	x9, x25, #0x1f
	mov	x11, x10
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	w12, w26
	add	x13, x22, x12
	ldp	q0, q1, [x13]
	add	x13, x20, x12
	ldp	q2, q3, [x13]
	eor.16b	v0, v2, v0
	eor.16b	v1, v3, v1
	add	x12, x21, x12
	stp	q0, q1, [x12]
	add	w26, w26, #32
	subs	x11, x11, #32
	b.ne	LBB0_17
; %bb.18:
	cmp	x25, x10
	b.ne	LBB0_20
	b	LBB0_23
LBB0_19:
	mov	x8, x26
	mov	x9, x25
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	w10, w8
	ldrb	w11, [x22, x10]
	ldrb	w12, [x20, x10]
	eor	w11, w12, w11
	strb	w11, [x21, x10]
	add	w8, w8, #1
	subs	x9, x9, #1
	b.ne	LBB0_20
	b	LBB0_23
LBB0_21:
	mov	x25, x8
	cbnz	x25, LBB0_11
LBB0_22:
	mov	x8, x26
LBB0_23:
	str	w8, [x19]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
