	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_maskedcopy                  ## -- Begin function rt_maskedcopy
	.p2align	4, 0x90
_rt_maskedcopy:                         ## @rt_maskedcopy
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %r12
	movslq	(%rdx), %rcx
	leaq	(%rsi,%rcx,4), %r8
	movslq	(%rdi), %rdi
	leaq	(%rsi,%rdi,4), %rsi
	movl	%edi, (%rax)
	movl	4(%r12), %ebx
	movl	%ebx, 4(%rax)
	cmpl	%edi, %ecx
	cmovgq	%rsi, %r8
	leaq	8(%rax), %rdi
	cmpq	%r8, %rdi
	jae	LBB0_15
## %bb.1:
	leaq	4(%r12), %r9
	leaq	12(%rax), %r11
	cmpq	%r11, %r8
	cmovaq	%r8, %r11
	leaq	8(%rdx), %r10
	subq	%rax, %r11
	addq	$-9, %r11
	cmpq	$28, %r11
	jae	LBB0_2
LBB0_12:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10,%rax), %ecx
	andl	4(%r9,%rax), %ecx
	movl	%ecx, (%rdi,%rax)
	leaq	(%rdi,%rax), %rcx
	addq	$4, %rcx
	addq	$4, %rax
	cmpq	%r8, %rcx
	jb	LBB0_13
## %bb.14:
	addq	%rax, %rdi
LBB0_15:
	cmpq	%rsi, %rdi
	jae	LBB0_16
## %bb.17:
	subq	%rdi, %rsi
	shrq	$2, %rsi
                                        ## kill: def $edi killed $edi killed $rdi
                                        ## kill: def $esi killed $esi killed $rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bzero                          ## TAILCALL
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	8(%rax), %rcx
	movq	%rcx, %rbx
	subq	%r12, %rbx
	addq	$-8, %rbx
	cmpq	$32, %rbx
	jb	LBB0_12
## %bb.3:
	subq	%rdx, %rcx
	addq	$-8, %rcx
	cmpq	$32, %rcx
	jb	LBB0_12
## %bb.4:
	shrq	$2, %r11
	incq	%r11
	movq	%r11, %r14
	andq	$-8, %r14
	leaq	-8(%r14), %rcx
	movq	%rcx, %r15
	shrq	$3, %r15
	incq	%r15
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movq	%r15, %rcx
	andq	$-2, %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movups	8(%r12,%rbx,4), %xmm0
	movups	24(%r12,%rbx,4), %xmm1
	movups	8(%rdx,%rbx,4), %xmm2
	andps	%xmm0, %xmm2
	movups	24(%rdx,%rbx,4), %xmm0
	andps	%xmm1, %xmm0
	movups	%xmm2, 8(%rax,%rbx,4)
	movups	%xmm0, 24(%rax,%rbx,4)
	movups	40(%r12,%rbx,4), %xmm0
	movups	56(%r12,%rbx,4), %xmm1
	movups	40(%rdx,%rbx,4), %xmm2
	andps	%xmm0, %xmm2
	movups	56(%rdx,%rbx,4), %xmm0
	andps	%xmm1, %xmm0
	movups	%xmm2, 40(%rax,%rbx,4)
	movups	%xmm0, 56(%rax,%rbx,4)
	addq	$16, %rbx
	addq	$-2, %rcx
	jne	LBB0_7
## %bb.8:
	testb	$1, %r15b
	je	LBB0_10
LBB0_9:
	movups	4(%r9,%rbx,4), %xmm0
	movups	20(%r9,%rbx,4), %xmm1
	movups	(%r10,%rbx,4), %xmm2
	andps	%xmm0, %xmm2
	movups	16(%r10,%rbx,4), %xmm0
	andps	%xmm1, %xmm0
	movups	%xmm2, (%rdi,%rbx,4)
	movups	%xmm0, 16(%rdi,%rbx,4)
LBB0_10:
	leaq	(%rdi,%r14,4), %rdi
	cmpq	%r14, %r11
	je	LBB0_15
## %bb.11:
	leaq	(%r9,%r14,4), %r9
	leaq	(%r10,%r14,4), %r10
	jmp	LBB0_12
LBB0_5:
	xorl	%ebx, %ebx
	testb	$1, %r15b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt_maskedcopy                  ; -- Begin function rt_maskedcopy
	.p2align	2
_rt_maskedcopy:                         ; @rt_maskedcopy
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldrsw	x10, [x2]
	add	x11, x1, x10, lsl #2
	ldrsw	x13, [x0]
	str	w13, [x1]
	mov	x12, x0
	ldr	w14, [x12, #4]!
	add	x9, x1, x13, lsl #2
	str	w14, [x1, #4]
	cmp	w10, w13
	csel	x10, x9, x11, gt
	add	x0, x1, #8
	cmp	x0, x10
	b.hs	LBB0_9
; %bb.1:
	add	x11, x2, #8
	add	x13, x1, #12
	cmp	x10, x13
	csel	x13, x10, x13, hi
	sub	x13, x13, x1
	sub	x13, x13, #9
	cmp	x13, #60
	b.lo	LBB0_7
; %bb.2:
	add	x14, x1, #8
	sub	x15, x14, x8
	sub	x15, x15, #8
	cmp	x15, #64
	b.lo	LBB0_7
; %bb.3:
	sub	x14, x14, x2
	sub	x14, x14, #8
	cmp	x14, #64
	b.lo	LBB0_7
; %bb.4:
	lsr	x13, x13, #2
	add	x13, x13, #1
	and	x14, x13, #0x7ffffffffffffff0
	lsl	x15, x14, #2
	add	x0, x0, x15
	add	x12, x12, x15
	add	x11, x11, x15
	add	x15, x1, #40
	add	x8, x8, #40
	add	x16, x2, #40
	mov	x17, x14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x8, #-32]
	ldp	q2, q3, [x8], #64
	ldp	q4, q5, [x16, #-32]
	ldp	q6, q7, [x16], #64
	and.16b	v0, v4, v0
	and.16b	v1, v5, v1
	and.16b	v2, v6, v2
	and.16b	v3, v7, v3
	stp	q0, q1, [x15, #-32]
	stp	q2, q3, [x15], #64
	subs	x17, x17, #16
	b.ne	LBB0_5
; %bb.6:
	cmp	x13, x14
	b.eq	LBB0_9
LBB0_7:
	add	x8, x12, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8], #4
	ldr	w13, [x11], #4
	and	w12, w13, w12
	str	w12, [x0], #4
	cmp	x0, x10
	b.lo	LBB0_8
LBB0_9:
	cmp	x0, x9
	b.hs	LBB0_11
; %bb.10:
	sub	x8, x9, x0
	lsr	x1, x8, #2
                                        ; kill: def $w0 killed $w0 killed $x0
                                        ; kill: def $w1 killed $w1 killed $x1
	b	_bzero
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
