	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copyins
_copyins:                               ## @copyins
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	%rdx, %rsi
	setne	%dil
	callq	_assert
	movl	8(%r15), %edi
	movl	8(%r13), %esi
	callq	_BULK_ARC_OP_USE_SORT
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_CANCEL_REQUESTED
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_REG_CANCEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_NERR
	jmp	LBB0_4
LBB0_1:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rcx
	callq	_cparc
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_4
LBB0_7:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sortins
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_sortins
	xorl	%eax, %eax
	callq	_NISERR
	testq	%rax, %rax
	jne	LBB0_4
## %bb.8:
	movq	(%r15), %rbx
	movq	%rbx, -48(%rbp)
	movq	(%r13), %rax
	movq	%rax, -56(%rbp)
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.9:
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	leaq	-48(%rbp), %r15
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_sortins_cmp
	cmpl	$1, %eax
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movq	%r13, %r8
	callq	_createarc
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-56(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -56(%rbp)
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_NOTREACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_assert
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, -56(%rbp)
	jne	LBB0_11
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	16(%rbx), %rax
	movq	%rax, -48(%rbp)
	movl	8(%rbx), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movq	%r13, %r8
	callq	_createarc
	movq	-48(%rbp), %rbx
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	jne	LBB0_16
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_CANCEL,4,2                 ## @REG_CANCEL
	.comm	_NOTREACHED,4,2                 ## @NOTREACHED
	.no_dead_strip	_copyins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copyins
_copyins:                               ; @copyins
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x1, x2
	cset	w0, ne
	bl	_assert
	ldr	w0, [x21, #8]
	ldr	w1, [x19, #8]
	bl	_BULK_ARC_OP_USE_SORT
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_CANCEL_REQUESTED
	cbz	x0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _REG_CANCEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_CANCEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_NERR
	b	LBB0_19
LBB0_3:
	ldr	x21, [x21]
	cbz	x21, LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_cparc
	ldr	x21, [x21, #16]
	cbnz	x21, LBB0_4
	b	LBB0_19
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	bl	_sortins
	mov	x0, x20
	mov	x1, x19
	bl	_sortins
	bl	_NISERR
	cbnz	x0, LBB0_19
; %bb.6:
	ldr	x21, [x21]
	ldr	x8, [x19]
	stp	x8, x21, [sp]
	cbz	x21, LBB0_17
; %bb.7:
	cbz	x8, LBB0_17
; %bb.8:
Lloh3:
	adrp	x22, _NOTREACHED@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NOTREACHED@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #16]
	str	x8, [sp, #8]
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldp	x8, x21, [sp]
	cmp	x21, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_17
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_sortins_cmp
	cmp	w0, #1
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cbz	w0, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	cmn	w0, #1
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #16]
	str	x8, [sp, #8]
	ldp	w2, w1, [x21, #4]
	ldr	w3, [x21]
	mov	x0, x20
	mov	x4, x19
	bl	_createarc
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x22]
	bl	_assert
	b	LBB0_11
LBB0_17:
	cbz	x21, LBB0_19
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	str	x8, [sp, #8]
	ldp	w2, w1, [x21, #4]
	ldr	w3, [x21]
	mov	x0, x20
	mov	x4, x19
	bl	_createarc
	ldr	x21, [sp, #8]
	cbnz	x21, LBB0_18
LBB0_19:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_CANCEL,4,2                 ; @REG_CANCEL
	.comm	_NOTREACHED,4,2                 ; @NOTREACHED
	.no_dead_strip	_copyins
.subsections_via_symbols
