	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_set_pcb_pagedir           ## -- Begin function pmap_set_pcb_pagedir
	.p2align	4, 0x90
_pmap_set_pcb_pagedir:                  ## @pmap_set_pcb_pagedir
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	8(%rax), %ecx
	movl	%ecx, 16(%rsi)
	movq	_DOMAIN_CLIENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_PMAP_DOMAIN_KERNEL@GOTPCREL(%rip), %r15
	movb	(%r15), %cl
	addb	%cl, %cl
	movl	%edx, %esi
	shll	%cl, %esi
	movb	(%rdi), %cl
	addb	%cl, %cl
	shll	%cl, %edx
	orl	%esi, %edx
	movl	%edx, (%r14)
	movq	_vector_page@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_KERNBASE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jge	LBB0_2
## %bb.1:
	movq	(%rax), %r13
	callq	_L1_IDX
	leaq	(,%rax,4), %rax
	addq	%r13, %rax
	movq	%rax, 8(%r14)
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_pmap_get_l2_bucket
	movq	_L1_C_PROTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	movl	(%rbx), %edi
	callq	_L1_C_DOM
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_L1_C_DOM
	orl	%ebx, %eax
	orl	%r12d, %eax
	movl	%eax, 4(%r14)
	jmp	LBB0_3
LBB0_2:
	movq	$0, 8(%r14)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DOMAIN_CLIENT,4,2              ## @DOMAIN_CLIENT
	.comm	_PMAP_DOMAIN_KERNEL,4,2         ## @PMAP_DOMAIN_KERNEL
	.comm	_vector_page,8,3                ## @vector_page
	.comm	_KERNBASE,8,3                   ## @KERNBASE
	.comm	_L1_C_PROTO,4,2                 ## @L1_C_PROTO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pmap_set_pcb_pagedir           ; -- Begin function pmap_set_pcb_pagedir
	.p2align	2
_pmap_set_pcb_pagedir:                  ; @pmap_set_pcb_pagedir
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	w9, [x8, #8]
	str	w9, [x1, #16]
Lloh0:
	adrp	x9, _DOMAIN_CLIENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DOMAIN_CLIENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x21, _PMAP_DOMAIN_KERNEL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PMAP_DOMAIN_KERNEL@GOTPAGEOFF]
	ldr	w10, [x21]
	lsl	w10, w10, #1
	lsl	w10, w9, w10
	ldr	w11, [x0]
	lsl	w11, w11, #1
	lsl	w9, w9, w11
	orr	w9, w9, w10
Lloh5:
	adrp	x22, _vector_page@GOTPAGE
Lloh6:
	ldr	x22, [x22, _vector_page@GOTPAGEOFF]
	str	w9, [x1]
	ldr	x0, [x22]
Lloh7:
	adrp	x9, _KERNBASE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _KERNBASE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ge	LBB0_2
; %bb.1:
	ldr	x23, [x8]
	bl	_L1_IDX
	add	x8, x23, x0, lsl #2
	str	x8, [x19, #8]
	ldr	x1, [x22]
	mov	x0, x20
	bl	_pmap_get_l2_bucket
	ldr	w8, [x0]
Lloh10:
	adrp	x9, _L1_C_PROTO@GOTPAGE
Lloh11:
	ldr	x9, [x9, _L1_C_PROTO@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w22, w9, w8
	ldr	w0, [x20]
	bl	_L1_C_DOM
	orr	w20, w22, w0
	ldr	w0, [x21]
	bl	_L1_C_DOM
	orr	w8, w20, w0
	str	w8, [x19, #4]
	b	LBB0_3
LBB0_2:
	str	xzr, [x19, #8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DOMAIN_CLIENT,4,2              ; @DOMAIN_CLIENT
	.comm	_PMAP_DOMAIN_KERNEL,4,2         ; @PMAP_DOMAIN_KERNEL
	.comm	_vector_page,8,3                ; @vector_page
	.comm	_KERNBASE,8,3                   ; @KERNBASE
	.comm	_L1_C_PROTO,4,2                 ; @L1_C_PROTO
.subsections_via_symbols
