	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_cts128_encrypt_block    ## -- Begin function CRYPTO_cts128_encrypt_block
	.p2align	4, 0x90
_CRYPTO_cts128_encrypt_block:           ## @CRYPTO_cts128_encrypt_block
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$17, %rdx
	jae	LBB0_2
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_17
LBB0_2:
	movq	%r8, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	%ebx, %eax
	andl	$15, %eax
	testq	%rax, %rax
	movl	$16, %r12d
	cmovneq	%rax, %r12
	movq	%rdx, %r13
	subq	%r12, %r13
	movq	%r13, %rdx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_CRYPTO_cbc128_encrypt
	movq	%r13, %r11
	leaq	(%rbx,%r13), %rdi
	addq	%r13, %r14
	cmpq	$8, %r12
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jae	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_4:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	leaq	(%rbx,%r13), %rax
	cmpq	%r15, %rax
	jbe	LBB0_7
## %bb.5:
	leaq	(%r15,%r12), %rax
	cmpq	%rax, %rdi
	jae	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_7:
	movl	%r12d, %eax
	andl	$-8, %eax
	movq	(%rdi), %rdx
	xorq	%rdx, (%r15)
	cmpq	$8, %rax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	movq	8(%rdi), %rsi
	xorq	%rsi, 8(%r15)
	cmpl	$16, %eax
	je	LBB0_10
## %bb.9:
	movq	16(%rdi), %rsi
	xorq	%rsi, 16(%r15)
LBB0_10:
	cmpq	%rax, %r12
	je	LBB0_16
LBB0_11:
	movq	%rax, %r9
	notq	%r9
	addq	%r12, %r9
	movq	%r12, %rsi
	andq	$3, %rsi
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rax), %ecx
	xorb	%cl, (%r15,%rax)
	incq	%rax
	decq	%rsi
	jne	LBB0_12
LBB0_13:
	cmpq	$3, %r9
	jb	LBB0_16
## %bb.14:
	leaq	(%r11,%rbx), %rcx
	addq	$3, %rcx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-3(%rcx,%rax), %ebx
	xorb	%bl, (%r15,%rax)
	movzbl	-2(%rcx,%rax), %ebx
	xorb	%bl, 1(%r15,%rax)
	movzbl	-1(%rcx,%rax), %ebx
	xorb	%bl, 2(%r15,%rax)
	movzbl	(%rcx,%rax), %ebx
	xorb	%bl, 3(%r15,%rax)
	addq	$4, %rax
	cmpq	%rax, %r12
	jne	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	*%r8
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-16(%rdi), %r14
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_memcpy
LBB0_17:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_cts128_encrypt_block    ; -- Begin function CRYPTO_cts128_encrypt_block
	.p2align	2
_CRYPTO_cts128_encrypt_block:           ; @CRYPTO_cts128_encrypt_block
	.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
	cmp	x2, #17
	b.hs	LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_9
LBB0_2:
	mov	x21, x5
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x24, x1
	mov	x25, x0
	ands	x8, x2, #0xf
	mov	w9, #16
	csel	x23, x9, x8, eq
	sub	x26, x2, x23
	mov	x2, x26
	bl	_CRYPTO_cbc128_encrypt
	add	x24, x24, x26
	cmp	x23, #8
	b.lo	LBB0_5
; %bb.3:
	add	x9, x25, x26
	add	x8, x25, x19
	cmp	x8, x20
	b.ls	LBB0_10
; %bb.4:
	add	x8, x20, x23
	cmp	x9, x8
	b.hs	LBB0_10
LBB0_5:
	mov	x8, #0
LBB0_6:
	sub	x9, x8, x23
	add	x8, x20, x8
	add	x10, x25, x19
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10, x9]
	ldrb	w12, [x8]
	eor	w11, w12, w11
	strb	w11, [x8], #1
	adds	x9, x9, #1
	b.lo	LBB0_7
LBB0_8:
	mov	x0, x20
	mov	x1, x20
	mov	x2, x22
	blr	x21
	sub	x21, x24, #16
	mov	x0, x24
	mov	x1, x21
	mov	x2, x23
	bl	_memcpy
	mov	x0, x21
	mov	x1, x20
	mov	w2, #16
	bl	_memcpy
LBB0_9:
	mov	x0, 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
LBB0_10:
	and	x8, x23, #0x18
	ldr	d0, [x9]
	ldr	d1, [x20]
	eor.8b	v0, v1, v0
	str	d0, [x20]
	cmp	x8, #8
	b.eq	LBB0_13
; %bb.11:
	ldr	d0, [x9, #8]
	ldr	d1, [x20, #8]
	eor.8b	v0, v1, v0
	str	d0, [x20, #8]
	cmp	x8, #16
	b.eq	LBB0_13
; %bb.12:
	ldr	d0, [x9, #16]
	ldr	d1, [x20, #16]
	eor.8b	v0, v1, v0
	str	d0, [x20, #16]
LBB0_13:
	cmp	x23, x8
	b.eq	LBB0_8
	b	LBB0_6
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
