	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_d
_add_d:                                 ## @add_d
	.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	(%rdi), %r9
	xorl	%ecx, %ecx
	cmpq	8(%rdi), %r9
	sete	%cl
	leaq	(%rcx,%rcx,2), %rax
	leaq	(%r9,%rax), %r12
	decq	%r12
	movq	%r12, (%rdi)
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.1:
	movq	16(%rdi), %r8
	cmpq	$8, %rsi
	jb	LBB0_2
## %bb.3:
	leaq	(%r8,%r12,4), %rbx
	subq	%rdx, %rbx
	cmpq	$32, %rbx
	jae	LBB0_5
LBB0_2:
	xorl	%ecx, %ecx
LBB0_13:
	movq	%rcx, %r9
	notq	%r9
	addq	%rsi, %r9
	movq	%rsi, %rbx
	andq	$3, %rbx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rcx,4), %eax
	movl	%eax, (%r8,%r12,4)
	incq	%r12
	incq	%rcx
	decq	%rbx
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r9
	jb	LBB0_19
## %bb.16:
	leaq	(%r8,%r12,4), %rbx
	addq	$12, %rbx
	subq	%rcx, %rsi
	leaq	(%rdx,%rcx,4), %rdx
	addq	$12, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	-12(%rdx,%rcx,4), %eax
	movl	%eax, -12(%rbx,%rcx,4)
	movl	-8(%rdx,%rcx,4), %eax
	movl	%eax, -8(%rbx,%rcx,4)
	movl	-4(%rdx,%rcx,4), %eax
	movl	%eax, -4(%rbx,%rcx,4)
	movl	(%rdx,%rcx,4), %eax
	movl	%eax, (%rbx,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_17
## %bb.18:
	addq	%rcx, %r12
	jmp	LBB0_19
LBB0_5:
	leaq	(%rcx,%rcx,2), %r11
	decq	%r11
	movq	%rsi, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rbx
	movq	%rbx, %r14
	shrq	$3, %r14
	incq	%r14
	movl	%r14d, %r10d
	andl	$3, %r10d
	cmpq	$24, %rbx
	jae	LBB0_7
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %r14
	leaq	(%r11,%r9), %rbx
	leaq	(%r8,%rbx,4), %r15
	addq	$112, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rdx,%rbx,4), %xmm0
	movups	16(%rdx,%rbx,4), %xmm1
	movups	%xmm0, -112(%r15,%rbx,4)
	movups	%xmm1, -96(%r15,%rbx,4)
	movups	32(%rdx,%rbx,4), %xmm0
	movups	48(%rdx,%rbx,4), %xmm1
	movups	%xmm0, -80(%r15,%rbx,4)
	movups	%xmm1, -64(%r15,%rbx,4)
	movups	64(%rdx,%rbx,4), %xmm0
	movups	80(%rdx,%rbx,4), %xmm1
	movups	%xmm0, -48(%r15,%rbx,4)
	movups	%xmm1, -32(%r15,%rbx,4)
	movups	96(%rdx,%rbx,4), %xmm0
	movups	112(%rdx,%rbx,4), %xmm1
	movups	%xmm0, -16(%r15,%rbx,4)
	movups	%xmm1, (%r15,%rbx,4)
	addq	$32, %rbx
	addq	$-4, %r14
	jne	LBB0_8
LBB0_9:
	testq	%r10, %r10
	je	LBB0_12
## %bb.10:
	leaq	(%rdx,%rbx,4), %r14
	addq	$16, %r14
	addq	%rbx, %r11
	addq	%r9, %r11
	leaq	(%r8,%r11,4), %r9
	addq	$16, %r9
	shlq	$5, %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%r14,%rbx), %xmm0
	movups	(%r14,%rbx), %xmm1
	movups	%xmm0, -16(%r9,%rbx)
	movups	%xmm1, (%r9,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_11
LBB0_12:
	addq	%rcx, %r12
	cmpq	%rsi, %rcx
	jne	LBB0_13
LBB0_19:
	movq	%r12, (%rdi)
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_d
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_d
_add_d:                                 ; @add_d
	.cfi_startproc
; %bb.0:
	ldp	x11, x8, [x0]
	cmp	x11, x8
	mov	w8, #2
	csinv	x12, x8, xzr, eq
	add	x8, x12, x11
	str	x8, [x0]
	cbz	x1, LBB0_7
; %bb.1:
	ldr	x9, [x0, #16]
	cmp	x1, #16
	b.lo	LBB0_3
; %bb.2:
	add	x10, x9, x8, lsl #2
	sub	x10, x10, x2
	cmp	x10, #64
	b.hs	LBB0_8
LBB0_3:
	mov	x10, #0
LBB0_4:
	sub	x11, x1, x10
	add	x10, x2, x10, lsl #2
	mov	x12, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x10], #4
	add	x8, x12, #1
	str	w13, [x9, x12, lsl #2]
	mov	x12, x8
	subs	x11, x11, #1
	b.ne	LBB0_5
LBB0_6:
	str	x8, [x0]
LBB0_7:
	ret
LBB0_8:
	and	x10, x1, #0xfffffffffffffff0
	add	x8, x8, x10
	add	x11, x12, x11
	add	x11, x9, x11, lsl #2
	add	x11, x11, #32
	add	x12, x2, #32
	mov	x13, x10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_9
; %bb.10:
	cmp	x10, x1
	b.eq	LBB0_6
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_d
.subsections_via_symbols
