	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function circular_memcpy
_circular_memcpy:                       ## @circular_memcpy
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%ecx, %eax
	andl	%edx, %eax
	movl	%r8d, %ebx
	andl	%edx, %ebx
	cmpl	%ebx, %eax
	jle	LBB0_2
## %bb.1:
	subl	%eax, %edx
	incl	%edx
	cltq
	leaq	(%r14,%rax,4), %rsi
	movslq	%edx, %r15
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_memcpy
	leaq	(%r12,%r15,4), %rdi
	movslq	%ebx, %rdx
	movq	%r14, %rsi
	jmp	LBB0_3
LBB0_2:
	cltq
	leaq	(%r14,%rax,4), %rsi
	subl	%ecx, %r8d
	movslq	%r8d, %rdx
	movq	%r12, %rdi
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_circular_memcpy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function circular_memcpy
_circular_memcpy:                       ; @circular_memcpy
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	and	w8, w3, w2
	and	w21, w4, w2
	cmp	w8, w21
	b.le	LBB0_2
; %bb.1:
	sub	w9, w2, w8
	add	w22, w9, #1
	add	x1, x19, w8, sxtw #2
	sxtw	x2, w22
	mov	x0, x20
	bl	_memcpy
	add	x0, x20, w22, sxtw #2
	sxtw	x2, w21
	mov	x1, x19
	b	LBB0_3
LBB0_2:
	add	x1, x19, w8, sxtw #2
	sub	w8, w4, w3
	sxtw	x2, w8
	mov	x0, x20
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memcpy
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_circular_memcpy
.subsections_via_symbols
