	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tlb0_get_tlbconf
_tlb0_get_tlbconf:                      ## @tlb0_get_tlbconf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SPR_TLB0CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mfspr
	movl	%eax, %esi
	movq	_TLBCFG_NENTRY_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movq	_TLBCFG_ASSOC_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %esi
	movq	_TLBCFG_ASSOC_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movq	_tlb0_entries@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_tlb0_ways@GOTPCREL(%rip), %rcx
	movl	%esi, (%rcx)
	cltd
	idivl	%esi
	movq	_tlb0_entries_per_way@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPR_TLB0CFG,4,2                ## @SPR_TLB0CFG
	.comm	_TLBCFG_NENTRY_MASK,4,2         ## @TLBCFG_NENTRY_MASK
	.comm	_tlb0_entries,4,2               ## @tlb0_entries
	.comm	_TLBCFG_ASSOC_MASK,4,2          ## @TLBCFG_ASSOC_MASK
	.comm	_TLBCFG_ASSOC_SHIFT,4,2         ## @TLBCFG_ASSOC_SHIFT
	.comm	_tlb0_ways,4,2                  ## @tlb0_ways
	.comm	_tlb0_entries_per_way,4,2       ## @tlb0_entries_per_way
	.no_dead_strip	_tlb0_get_tlbconf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tlb0_get_tlbconf
_tlb0_get_tlbconf:                      ; @tlb0_get_tlbconf
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SPR_TLB0CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPR_TLB0CFG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_mfspr
Lloh3:
	adrp	x8, _TLBCFG_NENTRY_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLBCFG_NENTRY_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh6:
	adrp	x9, _tlb0_entries@GOTPAGE
Lloh7:
	ldr	x9, [x9, _tlb0_entries@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
Lloh9:
	adrp	x9, _TLBCFG_ASSOC_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TLBCFG_ASSOC_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh12:
	adrp	x10, _TLBCFG_ASSOC_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _TLBCFG_ASSOC_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _tlb0_ways@GOTPAGE
Lloh16:
	ldr	x11, [x11, _tlb0_ways@GOTPAGEOFF]
	asr	w9, w9, w10
Lloh17:
	str	w9, [x11]
	sdiv	w8, w8, w9
Lloh18:
	adrp	x9, _tlb0_entries_per_way@GOTPAGE
Lloh19:
	ldr	x9, [x9, _tlb0_entries_per_way@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPR_TLB0CFG,4,2                ; @SPR_TLB0CFG
	.comm	_TLBCFG_NENTRY_MASK,4,2         ; @TLBCFG_NENTRY_MASK
	.comm	_tlb0_entries,4,2               ; @tlb0_entries
	.comm	_TLBCFG_ASSOC_MASK,4,2          ; @TLBCFG_ASSOC_MASK
	.comm	_TLBCFG_ASSOC_SHIFT,4,2         ; @TLBCFG_ASSOC_SHIFT
	.comm	_tlb0_ways,4,2                  ; @tlb0_ways
	.comm	_tlb0_entries_per_way,4,2       ; @tlb0_entries_per_way
	.no_dead_strip	_tlb0_get_tlbconf
.subsections_via_symbols
