	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_add
_list_add:                              ## @list_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.2:
	testl	%edx, %edx
	jle	LBB0_18
## %bb.3:
	movl	%edx, %r9d
	cmpl	$8, %edx
	jb	LBB0_4
## %bb.5:
	leaq	(%rsi,%r9,4), %rax
	cmpq	%rdi, %rax
	jbe	LBB0_8
## %bb.6:
	leaq	(%rdi,%r9,4), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_8
LBB0_4:
	xorl	%ecx, %ecx
LBB0_14:
	movq	%rcx, %r8
	notq	%r8
	addq	%r9, %r8
	movq	%r9, %rdx
	andq	$3, %rdx
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %eax
	addl	%eax, (%rdi,%rcx,4)
	incq	%rcx
	decq	%rdx
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %r8
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rcx,4), %eax
	addl	%eax, (%rdi,%rcx,4)
	movl	4(%rsi,%rcx,4), %eax
	addl	%eax, 4(%rdi,%rcx,4)
	movl	8(%rsi,%rcx,4), %eax
	addl	%eax, 8(%rdi,%rcx,4)
	movl	12(%rsi,%rcx,4), %eax
	addl	%eax, 12(%rdi,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_17
	jmp	LBB0_18
LBB0_8:
	movl	%r9d, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rax
	movq	%rax, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	movq	%r8, %rax
	andq	$-2, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rdx,4), %xmm0
	movdqu	16(%rsi,%rdx,4), %xmm1
	movdqu	(%rdi,%rdx,4), %xmm2
	paddd	%xmm0, %xmm2
	movdqu	16(%rdi,%rdx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqu	32(%rdi,%rdx,4), %xmm1
	movdqu	48(%rdi,%rdx,4), %xmm3
	movdqu	%xmm2, (%rdi,%rdx,4)
	movdqu	%xmm0, 16(%rdi,%rdx,4)
	movdqu	32(%rsi,%rdx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqu	48(%rsi,%rdx,4), %xmm1
	paddd	%xmm3, %xmm1
	movdqu	%xmm0, 32(%rdi,%rdx,4)
	movdqu	%xmm1, 48(%rdi,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rax
	jne	LBB0_10
## %bb.11:
	testb	$1, %r8b
	je	LBB0_13
LBB0_12:
	movdqu	(%rsi,%rdx,4), %xmm0
	movdqu	16(%rsi,%rdx,4), %xmm1
	movdqu	(%rdi,%rdx,4), %xmm2
	paddd	%xmm0, %xmm2
	movdqu	16(%rdi,%rdx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqu	%xmm2, (%rdi,%rdx,4)
	movdqu	%xmm0, 16(%rdi,%rdx,4)
LBB0_13:
	cmpq	%r9, %rcx
	jne	LBB0_14
LBB0_18:
	popq	%rbp
	retq
LBB0_19:
	xorl	%edx, %edx
	testb	$1, %r8b
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_list_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_add
_list_add:                              ; @list_add
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	cbz	x1, LBB0_9
; %bb.2:
	cmp	w2, #1
	b.lt	LBB0_9
; %bb.3:
	mov	w8, w2
	cmp	w2, #16
	b.lo	LBB0_6
; %bb.4:
	lsl	x9, x8, #2
	add	x10, x1, x9
	cmp	x10, x0
	b.ls	LBB0_10
; %bb.5:
	add	x9, x0, x9
	cmp	x9, x1
	b.ls	LBB0_10
LBB0_6:
	mov	x9, #0
LBB0_7:
	lsl	x11, x9, #2
	add	x10, x0, x11
	add	x11, x1, x11
	sub	x8, x8, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	ldr	w12, [x10]
	add	w9, w12, w9
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
LBB0_10:
	and	x9, x8, #0xfffffff0
	add	x10, x0, #32
	add	x11, x1, #32
	mov	x12, x9
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	ldp	q4, q5, [x10, #-32]
	ldp	q6, q7, [x10]
	add.4s	v0, v4, v0
	add.4s	v1, v5, v1
	add.4s	v2, v6, v2
	add.4s	v3, v7, v3
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_11
; %bb.12:
	cmp	x9, x8
	b.eq	LBB0_9
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_list_add
.subsections_via_symbols
