	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ta_add_numarray
_ta_add_numarray:                       ## @ta_add_numarray
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rdx), %eax
	movl	%eax, (%rcx)
	leaq	4(%rcx), %r14
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_numarray_find
	movl	4(%rbx), %ecx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_TEI_FLAGS_UPDATE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.3:
	movl	(%rax), %edx
	movl	(%rbx), %esi
	movl	%esi, (%rax)
	movl	%edx, (%rbx)
	movq	_TEI_FLAGS_UPDATED@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	jmp	LBB0_7
LBB0_4:
	movq	_TEI_FLAGS_DONTADD@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_EFBIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_2:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_8
LBB0_6:
	movl	8(%r15), %edx
	movq	(%r15), %rcx
	movq	_compare_numarray@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$4, %r8d
	callq	_badd
	xorl	%edi, %edi
	cmpl	$1, %eax
	sete	%dil
	movslq	4(%r13), %rsi
	callq	_KASSERT
	movq	(%r15), %rax
	incq	%rax
	movq	%rax, (%r15)
	movq	%rax, (%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEI_FLAGS_UPDATE,4,2           ## @TEI_FLAGS_UPDATE
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_TEI_FLAGS_UPDATED,4,2          ## @TEI_FLAGS_UPDATED
	.comm	_TEI_FLAGS_DONTADD,4,2          ## @TEI_FLAGS_DONTADD
	.comm	_EFBIG,4,2                      ## @EFBIG
	.comm	_compare_numarray,4,2           ## @compare_numarray
	.no_dead_strip	_ta_add_numarray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ta_add_numarray
_ta_add_numarray:                       ; @ta_add_numarray
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x2]
	mov	x24, x3
	str	w8, [x24], #4
	mov	x0, x1
	mov	x1, x24
	bl	_numarray_find
	ldr	w9, [x23, #4]
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, _TEI_FLAGS_UPDATE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TEI_FLAGS_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.2:
	mov	x8, x0
	mov	w0, #0
	ldr	w10, [x8]
	ldr	w11, [x23]
	str	w11, [x8]
	str	w10, [x23]
Lloh3:
	adrp	x8, _TEI_FLAGS_UPDATED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TEI_FLAGS_UPDATED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w9
	str	w8, [x23, #4]
	str	wzr, [x19]
	b	LBB0_7
LBB0_3:
Lloh6:
	adrp	x8, _TEI_FLAGS_DONTADD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TEI_FLAGS_DONTADD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_6
; %bb.4:
Lloh9:
	adrp	x8, _EFBIG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x8, _EEXIST@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	ldr	w2, [x21, #8]
	ldr	x3, [x21]
Lloh15:
	adrp	x8, _compare_numarray@GOTPAGE
Lloh16:
	ldr	x8, [x8, _compare_numarray@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
	mov	x0, x24
	mov	x1, x22
	mov	w4, #4
	bl	_badd
	cmp	w0, #1
	cset	w0, eq
	ldrsw	x1, [x22, #4]
	bl	_KASSERT
	mov	w0, #0
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	str	x8, [x20]
	mov	w8, #1
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TEI_FLAGS_UPDATE,4,2           ; @TEI_FLAGS_UPDATE
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_TEI_FLAGS_UPDATED,4,2          ; @TEI_FLAGS_UPDATED
	.comm	_TEI_FLAGS_DONTADD,4,2          ; @TEI_FLAGS_DONTADD
	.comm	_EFBIG,4,2                      ; @EFBIG
	.comm	_compare_numarray,4,2           ; @compare_numarray
	.no_dead_strip	_ta_add_numarray
.subsections_via_symbols
