	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __implement
___implement:                           ## @__implement
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	%ecx, %eax
	movl	%esi, %r8d
	shrl	$3, %esi
	andl	$7, %r8d
	movl	$8, %r9d
	subl	%r8d, %r9d
	movl	%edx, %r10d
	subl	%r9d, %r10d
	js	LBB0_7
## %bb.1:
	movl	$255, %r11d
	movl	%r8d, %ecx
	shll	%cl, %r11d
	movl	%esi, %esi
	notl	%r11d
	andl	(%rdi,%rsi,4), %r11d
	movl	%eax, %ebx
	shll	%cl, %ebx
	movl	%r9d, %ecx
	shrl	%cl, %eax
	orl	%r11d, %ebx
	movl	%ebx, (%rdi,%rsi,4)
	incq	%rsi
	cmpl	$8, %r10d
	jb	LBB0_2
## %bb.3:
	addl	%r8d, %edx
	movl	$-256, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%rsi,4), %ebx
	andl	%ecx, %ebx
	orl	%eax, %ebx
	movl	%ebx, (%rdi,%rsi,4)
	shrl	$8, %eax
	incq	%rsi
	addl	$-8, %edx
	cmpl	$15, %edx
	ja	LBB0_4
## %bb.5:
	addl	$-8, %edx
	jmp	LBB0_6
LBB0_2:
	movl	%r10d, %edx
LBB0_6:
	xorl	%r8d, %r8d
LBB0_7:
	testl	%edx, %edx
	je	LBB0_9
## %bb.8:
	movl	$-1, %ebx
	movl	%edx, %ecx
	shll	%cl, %ebx
	notl	%ebx
	movl	%r8d, %ecx
	shll	%cl, %ebx
	notl	%ebx
	movl	%esi, %edx
	movl	%r8d, %ecx
	shll	%cl, %eax
	andl	(%rdi,%rdx,4), %ebx
	orl	%ebx, %eax
	movl	%eax, (%rdi,%rdx,4)
LBB0_9:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	___implement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __implement
___implement:                           ; @__implement
	.cfi_startproc
; %bb.0:
	lsr	w8, w1, #3
	and	w9, w1, #0x7
	mov	w10, #8
	sub	w11, w10, w9
	subs	w10, w2, w11
	b.mi	LBB0_8
; %bb.1:
	mov	w12, #255
	lsl	w12, w12, w9
	lsl	x13, x8, #2
	ldr	w14, [x0, x13]
	bic	w12, w14, w12
	lsl	w14, w3, w9
	orr	w12, w12, w14
	str	w12, [x0, x13]
	lsr	w3, w3, w11
	add	x8, x8, #1
	cmp	w10, #8
	b.lo	LBB0_5
; %bb.2:
	add	w9, w2, w9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x8, #2
	ldr	w11, [x0, x10]
	and	w11, w11, #0xffffff00
	orr	w11, w11, w3
	lsr	w3, w3, #8
	str	w11, [x0, x10]
	add	x8, x8, #1
	sub	w9, w9, #8
	cmp	w9, #15
	b.hi	LBB0_3
; %bb.4:
	sub	w10, w9, #8
LBB0_5:
	mov	w9, #0
	mov	x2, x10
	cbz	w2, LBB0_7
LBB0_6:
	mov	w10, #-1
	lsl	w10, w10, w2
	mvn	w10, w10
	mov	w8, w8
	lsl	x8, x8, #2
	ldr	w11, [x0, x8]
	lsl	w10, w10, w9
	bic	w10, w11, w10
	lsl	w9, w3, w9
	orr	w9, w10, w9
	str	w9, [x0, x8]
LBB0_7:
	ret
LBB0_8:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cbnz	w2, LBB0_6
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	___implement
.subsections_via_symbols
