	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aes_xts_reinit
_aes_xts_reinit:                        ## @aes_xts_reinit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_AES_XTS_IVSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	-28(%rbp), %rdi
	movq	%r15, %rdx
	callq	_memcpy
	movq	(%r14), %rax
	testq	%r15, %r15
	je	LBB0_8
## %bb.1:
	movl	-28(%rbp), %edx
	leaq	-1(%r15), %rsi
	movl	%r15d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	andq	$-4, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %ebx
	movl	%ebx, (%rax,%rsi,4)
	movzbl	%dh, %ebx
	movl	%ebx, 4(%rax,%rsi,4)
	movl	%edx, %ecx
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, 8(%rax,%rsi,4)
	movl	%edx, %ecx
	shrl	$24, %ecx
	movl	%ecx, 12(%rax,%rsi,4)
	sarl	$31, %edx
	addq	$4, %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rax,%rsi,4), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %ecx
	movl	%ecx, (%rsi,%rdi,4)
	sarl	$8, %edx
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_7
LBB0_8:
	leaq	(%rax,%r15,4), %rdi
	movq	%r15, %rsi
	callq	_bzero
	movq	(%r14), %rdx
	addq	$8, %r14
	movq	%r14, %rdi
	movq	%rdx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rijndael_encrypt               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_XTS_IVSIZE,8,3             ## @AES_XTS_IVSIZE
	.no_dead_strip	_aes_xts_reinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aes_xts_reinit
_aes_xts_reinit:                        ; @aes_xts_reinit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AES_XTS_IVSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AES_XTS_IVSIZE@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	add	x0, sp, #12
	mov	x2, x20
	bl	_memcpy
	ldr	x8, [x19]
	cbz	x20, LBB0_3
; %bb.1:
	ldr	w9, [sp, #12]
	mov	x10, x8
	mov	x11, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	and	w12, w9, #0xff
	str	w12, [x10], #4
	asr	w9, w9, #8
	subs	x11, x11, #1
	b.ne	LBB0_2
LBB0_3:
	add	x0, x8, x20, lsl #2
	mov	x1, x20
	bl	_bzero
	ldr	x1, [x19], #8
	mov	x0, x19
	mov	x2, x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_rijndael_encrypt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_XTS_IVSIZE,8,3             ; @AES_XTS_IVSIZE
	.no_dead_strip	_aes_xts_reinit
.subsections_via_symbols
