	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tkey_extract_bits
_tkey_extract_bits:                     ## @tkey_extract_bits
	.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, %r8d
	movq	_KEYLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r8d, %ecx
	shll	%cl, %edi
	movl	%esi, %ecx
	subl	%edx, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edi
	xorl	%eax, %eax
	cmpl	%r8d, %esi
	cmovgl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYLENGTH,4,2                  ## @KEYLENGTH
	.no_dead_strip	_tkey_extract_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tkey_extract_bits
_tkey_extract_bits:                     ; @tkey_extract_bits
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _KEYLENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEYLENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w9, w0, w1
	sub	w10, w8, w2
	asr	w9, w9, w10
	cmp	w8, w1
	csel	w0, w9, wzr, gt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYLENGTH,4,2                  ; @KEYLENGTH
	.no_dead_strip	_tkey_extract_bits
.subsections_via_symbols
