	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_eba_copy_table             ## -- Begin function ubi_eba_copy_table
	.p2align	4, 0x90
_ubi_eba_copy_table:                    ## @ubi_eba_copy_table
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
LBB0_3:
	callq	_ubi_assert
	testl	%r15d, %r15d
	jle	LBB0_18
## %bb.4:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	%r15d, %r8d
	xorl	%esi, %esi
	cmpl	$8, %r15d
	jb	LBB0_14
## %bb.5:
	movq	%rcx, %rdx
	subq	%rax, %rdx
	cmpq	$32, %rdx
	jb	LBB0_14
## %bb.6:
	movl	%r8d, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rdx
	movq	%rdx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$24, %rdx
	jae	LBB0_8
## %bb.7:
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_8:
	andq	$-4, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rdx,4), %xmm0
	movups	16(%rax,%rdx,4), %xmm1
	movups	%xmm0, (%rcx,%rdx,4)
	movups	%xmm1, 16(%rcx,%rdx,4)
	movups	32(%rax,%rdx,4), %xmm0
	movups	48(%rax,%rdx,4), %xmm1
	movups	%xmm0, 32(%rcx,%rdx,4)
	movups	%xmm1, 48(%rcx,%rdx,4)
	movups	64(%rax,%rdx,4), %xmm0
	movups	80(%rax,%rdx,4), %xmm1
	movups	%xmm0, 64(%rcx,%rdx,4)
	movups	%xmm1, 80(%rcx,%rdx,4)
	movups	96(%rax,%rdx,4), %xmm0
	movups	112(%rax,%rdx,4), %xmm1
	movups	%xmm0, 96(%rcx,%rdx,4)
	movups	%xmm1, 112(%rcx,%rdx,4)
	addq	$32, %rdx
	addq	$-4, %rdi
	jne	LBB0_9
LBB0_10:
	testq	%r9, %r9
	je	LBB0_13
## %bb.11:
	leaq	(%rcx,%rdx,4), %rdi
	addq	$16, %rdi
	leaq	(%rax,%rdx,4), %rdx
	addq	$16, %rdx
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rbx), %xmm0
	movups	(%rdx,%rbx), %xmm1
	movups	%xmm0, -16(%rdi,%rbx)
	movups	%xmm1, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_12
LBB0_13:
	cmpq	%r8, %rsi
	je	LBB0_18
LBB0_14:
	movq	%rsi, %rdx
	notq	%rdx
	addq	%r8, %rdx
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rsi,4), %ebx
	movl	%ebx, (%rcx,%rsi,4)
	incq	%rsi
	decq	%rdi
	jne	LBB0_15
LBB0_16:
	cmpq	$3, %rdx
	jb	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rsi,4), %edx
	movl	%edx, (%rcx,%rsi,4)
	movl	4(%rax,%rsi,4), %edx
	movl	%edx, 4(%rcx,%rsi,4)
	movl	8(%rax,%rsi,4), %edx
	movl	%edx, 8(%rcx,%rsi,4)
	movl	12(%rax,%rsi,4), %edx
	movl	%edx, 12(%rcx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_17
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_ubi_eba_copy_table             ; -- Begin function ubi_eba_copy_table
	.p2align	2
_ubi_eba_copy_table:                    ; @ubi_eba_copy_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x21, x0
	mov	w0, #0
	cbz	x21, LBB0_3
; %bb.1:
	cbz	x20, LBB0_3
; %bb.2:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
LBB0_3:
	bl	_ubi_assert
	cmp	w19, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x8, #0
	ldr	x9, [x21]
	ldr	x11, [x9]
	ldr	x10, [x20]
	mov	w9, w19
	cmp	w19, #16
	b.lo	LBB0_9
; %bb.5:
	sub	x12, x10, x11
	cmp	x12, #64
	b.lo	LBB0_9
; %bb.6:
	and	x8, x9, #0xfffffff0
	add	x12, x10, #32
	add	x13, x11, #32
	mov	x14, x8
LBB0_7:                                 ; =>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_7
; %bb.8:
	cmp	x8, x9
	b.eq	LBB0_11
LBB0_9:
	lsl	x12, x8, #2
	add	x11, x11, x12
	add	x10, x10, x12
	sub	x8, x9, x8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
