	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_map_tsb                   ## -- Begin function pmap_map_tsb
	.p2align	4, 0x90
_pmap_map_tsb:                          ## @pmap_map_tsb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_tsb_kernel_size@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %r13
	movq	_tsb_kernel@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	addq	%r13, %r14
	movq	_tsb_kernel_phys@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r13, %rdi
	movq	_TD_4M@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TD_V@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	callq	_TD_PA
	orl	%eax, %ebx
	movq	_TD_L@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_TD_CP@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_TD_CV@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_TD_P@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_TD_W@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_AA_DMMU_TAR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ASI_DMMU@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_TLB_TAR_VA
	movl	%eax, %r14d
	movq	_TLB_CTX_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TLB_TAR_CTX
	orl	%eax, %r14d
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%r14d, %edx
	callq	_stxa
	movq	_ASI_DTLB_DATA_IN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	%ebx, %edx
	callq	_stxa_sync
	movq	_tsb_kernel_size@GOTPCREL(%rip), %rax
	movq	_PAGE_SIZE_4M@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r13d
	cmpl	(%rax), %r13d
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tsb_kernel_size,4,2            ## @tsb_kernel_size
	.comm	_tsb_kernel,8,3                 ## @tsb_kernel
	.comm	_tsb_kernel_phys,8,3            ## @tsb_kernel_phys
	.comm	_TD_V,4,2                       ## @TD_V
	.comm	_TD_4M,4,2                      ## @TD_4M
	.comm	_TD_L,4,2                       ## @TD_L
	.comm	_TD_CP,4,2                      ## @TD_CP
	.comm	_TD_CV,4,2                      ## @TD_CV
	.comm	_TD_P,4,2                       ## @TD_P
	.comm	_TD_W,4,2                       ## @TD_W
	.comm	_AA_DMMU_TAR,4,2                ## @AA_DMMU_TAR
	.comm	_ASI_DMMU,4,2                   ## @ASI_DMMU
	.comm	_TLB_CTX_KERNEL,4,2             ## @TLB_CTX_KERNEL
	.comm	_ASI_DTLB_DATA_IN_REG,4,2       ## @ASI_DTLB_DATA_IN_REG
	.comm	_PAGE_SIZE_4M,8,3               ## @PAGE_SIZE_4M
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_map_tsb                   ; -- Begin function pmap_map_tsb
	.p2align	2
_pmap_map_tsb:                          ; @pmap_map_tsb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x23, _tsb_kernel_size@GOTPAGE
Lloh1:
	ldr	x23, [x23, _tsb_kernel_size@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w24, #0
Lloh2:
	adrp	x25, _ASI_DMMU@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ASI_DMMU@GOTPAGEOFF]
Lloh4:
	adrp	x26, _TLB_CTX_KERNEL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _TLB_CTX_KERNEL@GOTPAGEOFF]
Lloh6:
	adrp	x27, _ASI_DTLB_DATA_IN_REG@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ASI_DTLB_DATA_IN_REG@GOTPAGEOFF]
Lloh8:
	adrp	x28, _PAGE_SIZE_4M@GOTPAGE
Lloh9:
	ldr	x28, [x28, _PAGE_SIZE_4M@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
Lloh10:
	adrp	x8, _tsb_kernel@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tsb_kernel@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	sxtw	x9, w24
	add	x19, x8, x9
Lloh13:
	adrp	x8, _tsb_kernel_phys@GOTPAGE
Lloh14:
	ldr	x8, [x8, _tsb_kernel_phys@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	add	x0, x8, x9
Lloh16:
	adrp	x8, _TD_V@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TD_V@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _TD_4M@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TD_4M@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w20, w9, w8
	bl	_TD_PA
	orr	w8, w20, w0
Lloh22:
	adrp	x9, _TD_L@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TD_L@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh25:
	adrp	x9, _TD_CP@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TD_CP@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh28:
	adrp	x9, _TD_CV@GOTPAGE
Lloh29:
	ldr	x9, [x9, _TD_CV@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _TD_P@GOTPAGE
Lloh32:
	ldr	x9, [x9, _TD_P@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh34:
	adrp	x9, _TD_W@GOTPAGE
Lloh35:
	ldr	x9, [x9, _TD_W@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w20, w8, w9
Lloh37:
	adrp	x8, _AA_DMMU_TAR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AA_DMMU_TAR@GOTPAGEOFF]
Lloh39:
	ldr	w21, [x8]
	ldr	w22, [x25]
	mov	x0, x19
	bl	_TLB_TAR_VA
	mov	x19, x0
	ldr	w0, [x26]
	bl	_TLB_TAR_CTX
	orr	w2, w0, w19
	mov	x0, x21
	mov	x1, x22
	bl	_stxa
	ldr	w1, [x27]
	mov	w0, #0
	mov	x2, x20
	bl	_stxa_sync
	ldr	w8, [x28]
	ldr	w9, [x23]
	add	w24, w24, w8
	cmp	w24, w9
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_tsb_kernel_size,4,2            ; @tsb_kernel_size
	.comm	_tsb_kernel,8,3                 ; @tsb_kernel
	.comm	_tsb_kernel_phys,8,3            ; @tsb_kernel_phys
	.comm	_TD_V,4,2                       ; @TD_V
	.comm	_TD_4M,4,2                      ; @TD_4M
	.comm	_TD_L,4,2                       ; @TD_L
	.comm	_TD_CP,4,2                      ; @TD_CP
	.comm	_TD_CV,4,2                      ; @TD_CV
	.comm	_TD_P,4,2                       ; @TD_P
	.comm	_TD_W,4,2                       ; @TD_W
	.comm	_AA_DMMU_TAR,4,2                ; @AA_DMMU_TAR
	.comm	_ASI_DMMU,4,2                   ; @ASI_DMMU
	.comm	_TLB_CTX_KERNEL,4,2             ; @TLB_CTX_KERNEL
	.comm	_ASI_DTLB_DATA_IN_REG,4,2       ; @ASI_DTLB_DATA_IN_REG
	.comm	_PAGE_SIZE_4M,8,3               ; @PAGE_SIZE_4M
.subsections_via_symbols
