	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_bits
_change_bits:                           ## @change_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%r11d, %r11d
	testl	%r9d, %r9d
	sete	%r11b
	movq	(%rdi), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %r14
	movslq	%r8d, %rax
	leaq	(%rax,%rax,4), %rdi
	xorl	(%r14,%rdi,4), %r11d
	movl	$100, %eax
	subl	%r9d, %eax
	cmpl	$1, 4(%r14,%rdi,4)
	cmovnel	%r9d, %eax
	movl	16(%r14,%rdi,4), %ecx
	shll	%cl, %r11d
	movl	$1, %ebx
	shll	%cl, %ebx
	movb	8(%r14,%rdi,4), %r10b
	movb	12(%r14,%rdi,4), %r8b
	xorl	%r9d, %r9d
	cmpl	$8, %ecx
	notb	%bl
	cmovnel	%r11d, %r9d
	movzbl	%bl, %ecx
	movl	$255, %r11d
	cmovnel	%ecx, %r11d
	movl	$-1, %edi
	movl	%r10d, %ecx
	shll	%cl, %edi
	notl	%edi
	movzbl	%dil, %edi
	imull	%edi, %eax
	addl	$50, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$37, %rax
	addl	%ecx, %eax
	andl	%edi, %eax
	movl	%r8d, %ecx
	shll	%cl, %edi
	notb	%dil
	shll	%cl, %eax
	andb	(%rsi), %dil
	orb	%dil, %al
	movb	%al, (%rsi)
	andb	(%rdx), %r11b
	orb	%r9b, %r11b
	movb	%r11b, (%rdx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_change_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_bits
_change_bits:                           ; @change_bits
	.cfi_startproc
; %bb.0:
	cmp	w5, #0
	cset	w8, eq
	ldr	x9, [x0]
	ldr	x9, [x9, w3, sxtw #3]
	mov	w10, #20
	smaddl	x9, w4, w10, x9
	ldp	w10, w11, [x9]
	eor	w8, w10, w8
	mov	w10, #100
	sub	w10, w10, w5
	cmp	w11, #1
	csel	w10, w10, w5, eq
	ldp	w11, w12, [x9, #8]
	ldr	w9, [x9, #16]
	lsl	w8, w8, w9
	mov	w13, #1
	lsl	w13, w13, w9
	cmp	x9, #8
	csel	w8, wzr, w8, eq
	mov	w9, #-1
	csinv	w13, w9, w13, eq
	lsl	w9, w9, w11
	mvn	w9, w9
	and	w9, w9, #0xff
	mul	w10, w9, w10
	add	w10, w10, #50
	mov	w11, #34079
	movk	w11, #20971, lsl #16
	smull	x10, w10, w11
	lsl	w11, w9, w12
	ldrb	w14, [x1]
	bic	w11, w14, w11
	lsr	x14, x10, #63
	lsr	x10, x10, #37
	add	w10, w10, w14
	and	w9, w10, w9
	lsl	w9, w9, w12
	orr	w9, w11, w9
	strb	w9, [x1]
	ldrb	w9, [x2]
	and	w9, w13, w9
	orr	w8, w9, w8
	strb	w8, [x2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_change_bits
.subsections_via_symbols
