	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_ttb_flags
_encode_ttb_flags:                      ## @encode_ttb_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tex_class@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_TEXDEF_INNER_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edx, %eax
	sarl	%cl, %eax
	movq	_TEXDEF_INNER_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_TEXDEF_OUTER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	sarl	%cl, %esi
	movq	_TEXDEF_OUTER_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movq	_TEXDEF_NOS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movq	_TEXDEF_NOS_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	shll	$5, %edx
	movq	_cpuinfo@GOTPCREL(%rip), %r8
	movl	%eax, %edi
	shll	$6, %edi
	andl	$64, %edi
	xorl	%ecx, %ecx
	cmpq	$0, (%r8)
	cmovnel	%edi, %ecx
	shrl	%eax
	andl	$1, %eax
	leal	(%rax,%rsi,8), %eax
	orl	%edx, %eax
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tex_class,8,3                  ## @tex_class
	.comm	_TEXDEF_INNER_SHIFT,4,2         ## @TEXDEF_INNER_SHIFT
	.comm	_TEXDEF_INNER_MASK,4,2          ## @TEXDEF_INNER_MASK
	.comm	_TEXDEF_OUTER_SHIFT,4,2         ## @TEXDEF_OUTER_SHIFT
	.comm	_TEXDEF_OUTER_MASK,4,2          ## @TEXDEF_OUTER_MASK
	.comm	_TEXDEF_NOS_SHIFT,4,2           ## @TEXDEF_NOS_SHIFT
	.comm	_TEXDEF_NOS_MASK,4,2            ## @TEXDEF_NOS_MASK
	.comm	_cpuinfo,8,3                    ## @cpuinfo
	.no_dead_strip	_encode_ttb_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_ttb_flags
_encode_ttb_flags:                      ; @encode_ttb_flags
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _tex_class@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tex_class@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
Lloh3:
	adrp	x9, _TEXDEF_INNER_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TEXDEF_INNER_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _TEXDEF_INNER_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TEXDEF_INNER_MASK@GOTPAGEOFF]
	asr	w9, w8, w9
Lloh8:
	ldr	w10, [x10]
	and	w9, w9, w10
Lloh9:
	adrp	x10, _TEXDEF_OUTER_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TEXDEF_OUTER_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	asr	w10, w8, w10
Lloh12:
	adrp	x11, _TEXDEF_OUTER_MASK@GOTPAGE
Lloh13:
	ldr	x11, [x11, _TEXDEF_OUTER_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
Lloh15:
	adrp	x12, _TEXDEF_NOS_SHIFT@GOTPAGE
Lloh16:
	ldr	x12, [x12, _TEXDEF_NOS_SHIFT@GOTPAGEOFF]
	and	w10, w10, w11
Lloh17:
	ldr	w11, [x12]
	asr	w8, w8, w11
Lloh18:
	adrp	x11, _TEXDEF_NOS_MASK@GOTPAGE
Lloh19:
	ldr	x11, [x11, _TEXDEF_NOS_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	and	w8, w8, w11
Lloh21:
	adrp	x11, _cpuinfo@GOTPAGE
Lloh22:
	ldr	x11, [x11, _cpuinfo@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
	ubfiz	w12, w9, #6, #1
	cmp	x11, #0
	csel	w11, wzr, w12, eq
	ubfx	w9, w9, #1, #1
	bfi	w9, w10, #3, #29
	orr	w8, w9, w8, lsl #5
	orr	w0, w8, w11
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tex_class,8,3                  ; @tex_class
	.comm	_TEXDEF_INNER_SHIFT,4,2         ; @TEXDEF_INNER_SHIFT
	.comm	_TEXDEF_INNER_MASK,4,2          ; @TEXDEF_INNER_MASK
	.comm	_TEXDEF_OUTER_SHIFT,4,2         ; @TEXDEF_OUTER_SHIFT
	.comm	_TEXDEF_OUTER_MASK,4,2          ; @TEXDEF_OUTER_MASK
	.comm	_TEXDEF_NOS_SHIFT,4,2           ; @TEXDEF_NOS_SHIFT
	.comm	_TEXDEF_NOS_MASK,4,2            ; @TEXDEF_NOS_MASK
	.comm	_cpuinfo,8,3                    ; @cpuinfo
	.no_dead_strip	_encode_ttb_flags
.subsections_via_symbols
