	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xemaclite_aligned_write
_xemaclite_aligned_write:               ## @xemaclite_aligned_write
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$4, %edx
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	movl	%eax, -32(%rbp)
	movl	4(%rbx), %eax
	addq	$8, %rbx
	movl	%eax, -28(%rbp)
	xorl	%eax, %eax
	callq	_wmb
	movq	-32(%rbp), %rax
	movq	%rax, (%r14)
	addq	$8, %r14
	addl	$-4, %r15d
	cmpl	$3, %r15d
	ja	LBB0_1
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_22
## %bb.3:
	leaq	-32(%rbp), %rax
	leal	-1(%r15), %ecx
	cmpl	$7, %ecx
	jb	LBB0_14
## %bb.4:
	movq	%rax, %rdx
	subq	%rbx, %rdx
	cmpq	$32, %rdx
	jb	LBB0_14
## %bb.5:
	incq	%rcx
	movq	%rcx, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %eax
	andl	$3, %eax
	cmpq	$24, %rdx
	jae	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdi,4), %xmm0
	movups	16(%rbx,%rdi,4), %xmm1
	movups	%xmm0, -32(%rbp,%rdi,4)
	movups	%xmm1, -16(%rbp,%rdi,4)
	movups	32(%rbx,%rdi,4), %xmm0
	movups	48(%rbx,%rdi,4), %xmm1
	movups	%xmm0, (%rbp,%rdi,4)
	movups	%xmm1, 16(%rbp,%rdi,4)
	movups	64(%rbx,%rdi,4), %xmm0
	movups	80(%rbx,%rdi,4), %xmm1
	movups	%xmm0, 32(%rbp,%rdi,4)
	movups	%xmm1, 48(%rbp,%rdi,4)
	movups	96(%rbx,%rdi,4), %xmm0
	movups	112(%rbx,%rdi,4), %xmm1
	movups	%xmm0, 64(%rbp,%rdi,4)
	movups	%xmm1, 80(%rbp,%rdi,4)
	addq	$32, %rdi
	addq	$-4, %rsi
	jne	LBB0_8
LBB0_9:
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	leaq	(%rbx,%rdi,4), %rsi
	addq	$16, %rsi
	leaq	-16(,%rdi,4), %rdi
	addq	%rbp, %rdi
	shlq	$5, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rdx), %xmm0
	movups	(%rsi,%rdx), %xmm1
	movups	%xmm0, -16(%rdi,%rdx)
	movups	%xmm1, (%rdi,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_11
LBB0_12:
	cmpq	%r8, %rcx
	je	LBB0_21
## %bb.13:
	leaq	-32(,%r8,4), %rax
	addq	%rbp, %rax
	leaq	(%rbx,%r8,4), %rbx
	subl	%r8d, %r15d
LBB0_14:
	leal	-1(%r15), %ecx
	testb	$7, %r15b
	je	LBB0_18
## %bb.15:
	movl	%r15d, %esi
	andl	$7, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	addq	$4, %rbx
	movl	%edi, (%rax)
	addq	$4, %rax
	incq	%rdx
	cmpl	%edx, %esi
	jne	LBB0_16
## %bb.17:
	subl	%edx, %r15d
LBB0_18:
	cmpl	$7, %ecx
	jb	LBB0_21
## %bb.19:
	movl	%r15d, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %esi
	movl	%esi, (%rax,%rdx,4)
	movl	4(%rbx,%rdx,4), %esi
	movl	%esi, 4(%rax,%rdx,4)
	movl	8(%rbx,%rdx,4), %esi
	movl	%esi, 8(%rax,%rdx,4)
	movl	12(%rbx,%rdx,4), %esi
	movl	%esi, 12(%rax,%rdx,4)
	movl	16(%rbx,%rdx,4), %esi
	movl	%esi, 16(%rax,%rdx,4)
	movl	20(%rbx,%rdx,4), %esi
	movl	%esi, 20(%rax,%rdx,4)
	movl	24(%rbx,%rdx,4), %esi
	movl	%esi, 24(%rax,%rdx,4)
	movl	28(%rbx,%rdx,4), %esi
	movl	%esi, 28(%rax,%rdx,4)
	addq	$8, %rdx
	cmpl	%edx, %ecx
	jne	LBB0_20
LBB0_21:
	xorl	%eax, %eax
	callq	_wmb
	movq	$0, (%r14)
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xemaclite_aligned_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xemaclite_aligned_write
_xemaclite_aligned_write:               ; @xemaclite_aligned_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cmp	w2, #4
	b.lo	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d8, [x21], #8
	bl	_wmb
	str	d8, [x19], #8
	sub	w20, w20, #4
	cmp	w20, #3
	b.hi	LBB0_1
; %bb.2:
	str	d8, [sp, #8]
LBB0_3:
	cbz	w20, LBB0_13
; %bb.4:
	add	x8, sp, #8
	sub	w9, w20, #1
	cmp	w9, #15
	b.lo	LBB0_9
; %bb.5:
	sub	x10, x8, x21
	cmp	x10, #64
	b.lo	LBB0_10
; %bb.6:
	add	x10, x9, #1
	and	x11, x10, #0x1fffffff0
	lsl	x9, x11, #2
	add	x12, sp, #8
	add	x8, x12, x9
	add	x9, x21, x9
	sub	w20, w20, w11
	add	x12, x12, #32
	add	x13, x21, #32
	mov	x14, x11
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x13, #-32]
	ldp	q2, q3, [x13], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x14, x14, #16
	b.ne	LBB0_7
; %bb.8:
	cmp	x10, x11
	b.ne	LBB0_11
	b	LBB0_12
LBB0_9:
	mov	x9, x21
	b	LBB0_11
LBB0_10:
	mov	x9, x21
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	str	w10, [x8], #4
	subs	w20, w20, #1
	b.ne	LBB0_11
LBB0_12:
	bl	_wmb
	str	xzr, [x19]
LBB0_13:
	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	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xemaclite_aligned_write
.subsections_via_symbols
