	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpihelp_add_1                  ## -- Begin function mpihelp_add_1
	.p2align	4, 0x90
_mpihelp_add_1:                         ## @mpihelp_add_1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%rsi), %eax
	addl	%ecx, %eax
	addq	$4, %rsi
	movl	%eax, (%rdi)
	addq	$4, %rdi
	testq	%rcx, %rcx
	jns	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$1, %edx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rsi,%rax), %ecx
	leaq	4(%rax), %r8
	decl	%edx
	incl	%ecx
	movl	%ecx, (%rdi,%rax)
	movq	%r8, %rax
	je	LBB0_2
## %bb.5:
	addq	%r8, %rdi
	addq	%r8, %rsi
LBB0_6:
	xorl	%eax, %eax
	movq	%rdi, %r8
	subq	%rsi, %r8
	je	LBB0_23
## %bb.7:
	cmpl	$2, %edx
	jl	LBB0_23
## %bb.8:
	decl	%edx
	xorl	%r11d, %r11d
	cmpl	$8, %edx
	jb	LBB0_19
## %bb.9:
	cmpq	$32, %r8
	jb	LBB0_19
## %bb.10:
	movl	%edx, %r11d
	andl	$-8, %r11d
	leaq	-8(%r11), %rax
	movq	%rax, %r9
	shrq	$3, %r9
	incq	%r9
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$24, %rax
	jae	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_3:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_12:
	andq	$-4, %r9
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rax,4), %xmm0
	movups	16(%rsi,%rax,4), %xmm1
	movups	%xmm0, (%rdi,%rax,4)
	movups	%xmm1, 16(%rdi,%rax,4)
	movups	32(%rsi,%rax,4), %xmm0
	movups	48(%rsi,%rax,4), %xmm1
	movups	%xmm0, 32(%rdi,%rax,4)
	movups	%xmm1, 48(%rdi,%rax,4)
	movups	64(%rsi,%rax,4), %xmm0
	movups	80(%rsi,%rax,4), %xmm1
	movups	%xmm0, 64(%rdi,%rax,4)
	movups	%xmm1, 80(%rdi,%rax,4)
	movups	96(%rsi,%rax,4), %xmm0
	movups	112(%rsi,%rax,4), %xmm1
	movups	%xmm0, 96(%rdi,%rax,4)
	movups	%xmm1, 112(%rdi,%rax,4)
	addq	$32, %rax
	addq	$-4, %r9
	jne	LBB0_13
LBB0_14:
	testq	%r8, %r8
	je	LBB0_17
## %bb.15:
	leaq	(%rdi,%rax,4), %r9
	addq	$16, %r9
	leaq	(%rsi,%rax,4), %r10
	addq	$16, %r10
	shlq	$5, %r8
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%r10,%rax), %xmm0
	movups	(%r10,%rax), %xmm1
	movups	%xmm0, -16(%r9,%rax)
	movups	%xmm1, (%r9,%rax)
	addq	$32, %rax
	cmpq	%rax, %r8
	jne	LBB0_16
LBB0_17:
	cmpq	%rdx, %r11
	jne	LBB0_19
## %bb.18:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_19:
	movq	%r11, %r8
	notq	%r8
	addq	%rdx, %r8
	movq	%rdx, %rax
	andq	$3, %rax
	je	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%r11,4), %ecx
	movl	%ecx, (%rdi,%r11,4)
	incq	%r11
	decq	%rax
	jne	LBB0_20
LBB0_21:
	xorl	%eax, %eax
	cmpq	$3, %r8
	jb	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%r11,4), %ecx
	movl	%ecx, (%rdi,%r11,4)
	movl	4(%rsi,%r11,4), %ecx
	movl	%ecx, 4(%rdi,%r11,4)
	movl	8(%rsi,%r11,4), %ecx
	movl	%ecx, 8(%rdi,%r11,4)
	movl	12(%rsi,%r11,4), %ecx
	movl	%ecx, 12(%rdi,%r11,4)
	addq	$4, %r11
	cmpq	%r11, %rdx
	jne	LBB0_22
LBB0_23:
	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	_mpihelp_add_1                  ; -- Begin function mpihelp_add_1
	.p2align	2
_mpihelp_add_1:                         ; @mpihelp_add_1
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	w9, [x8], #4
	add	w10, w9, w3
	mov	x9, x0
	str	w10, [x9], #4
	tbz	x3, #63, LBB0_5
; %bb.1:
	mov	w10, #4
	mov	w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	subs	w2, w2, #1
	b.eq	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x1, x10]
	adds	w9, w9, #1
	str	w9, [x0, x10]
	add	x10, x10, #4
	b.hs	LBB0_2
; %bb.4:
	add	x9, x0, x10
	add	x8, x1, x10
LBB0_5:
	subs	x12, x9, x8
	ccmp	w2, #2, #8, ne
	b.lt	LBB0_13
; %bb.6:
	mov	x11, #0
	sub	w10, w2, #1
	cmp	w10, #16
	b.lo	LBB0_11
; %bb.7:
	cmp	x12, #64
	b.lo	LBB0_11
; %bb.8:
	and	x11, x10, #0xfffffff0
	add	x12, x9, #32
	add	x13, x8, #32
	mov	x14, x11
LBB0_9:                                 ; =>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_9
; %bb.10:
	cmp	x11, x10
	b.eq	LBB0_13
LBB0_11:
	lsl	x12, x11, #2
	add	x9, x9, x12
	add	x8, x8, x12
	sub	x10, x10, x11
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8], #4
	str	w11, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_12
LBB0_13:
	mov	x8, #0
LBB0_14:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
