	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcsidx_to_tgtpwridx
_mcsidx_to_tgtpwridx:                   ## @mcsidx_to_tgtpwridx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
                                        ## kill: def $edi killed $edi def $rdi
	movl	%edi, %ecx
	andl	$7, %ecx
	cmpl	$3, %ecx
	ja	LBB0_2
## %bb.1:
	cmpl	$1, %ecx
	sbbl	$-1, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_2:
	shrl	$3, %edi
	addl	%ecx, %eax
	leal	(%rax,%rdi,4), %eax
	addl	$-2, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mcsidx_to_tgtpwridx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcsidx_to_tgtpwridx
_mcsidx_to_tgtpwridx:                   ; @mcsidx_to_tgtpwridx
	.cfi_startproc
; %bb.0:
	ands	w8, w0, #0x7
	lsr	w9, w0, #1
	and	w9, w9, #0x7ffffffc
	add	w10, w1, w8
	add	w9, w10, w9
	sub	w9, w9, #2
	cinc	w10, w1, ne
	cmp	w8, #3
	csel	w0, w9, w10, hi
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mcsidx_to_tgtpwridx
.subsections_via_symbols
