	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_set
_prepare_set:                           ## @prepare_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_cpu_has_pge@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_read_cr4
	movq	_cr4@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_X86_CR4_PGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	callq	_write_cr4
LBB0_2:
	xorl	%eax, %eax
	callq	_read_cr0
	movl	%eax, %ebx
	movq	_X86_CR0_CD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_wbinvd
	movl	%ebx, %edi
	callq	_write_cr0
	xorl	%eax, %eax
	callq	_wbinvd
	movq	_CX86_CCR3@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_getCx86
                                        ## kill: def $eax killed $eax def $rax
	movq	_ccr3@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	(%rbx), %edi
	andl	$15, %eax
	leal	16(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_setCx86                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_has_pge,8,3                ## @cpu_has_pge
	.comm	_cr4,4,2                        ## @cr4
	.comm	_X86_CR4_PGE,4,2                ## @X86_CR4_PGE
	.comm	_X86_CR0_CD,4,2                 ## @X86_CR0_CD
	.comm	_CX86_CCR3,4,2                  ## @CX86_CCR3
	.comm	_ccr3,4,2                       ## @ccr3
	.no_dead_strip	_prepare_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_set
_prepare_set:                           ; @prepare_set
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _cpu_has_pge@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_has_pge@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_read_cr4
Lloh3:
	adrp	x8, _cr4@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cr4@GOTPAGEOFF]
Lloh5:
	str	w0, [x8]
Lloh6:
	adrp	x8, _X86_CR4_PGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X86_CR4_PGE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w0, w0, w8
	bl	_write_cr4
LBB0_2:
	bl	_read_cr0
Lloh9:
	adrp	x8, _X86_CR0_CD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X86_CR0_CD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w19, w8, w0
	bl	_wbinvd
	mov	x0, x19
	bl	_write_cr0
	bl	_wbinvd
Lloh12:
	adrp	x19, _CX86_CCR3@GOTPAGE
Lloh13:
	ldr	x19, [x19, _CX86_CCR3@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_getCx86
Lloh14:
	adrp	x8, _ccr3@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ccr3@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
	ldr	w8, [x19]
	mov	w1, #16
	bfxil	w1, w0, #0, #4
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_setCx86
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_has_pge,8,3                ; @cpu_has_pge
	.comm	_cr4,4,2                        ; @cr4
	.comm	_X86_CR4_PGE,4,2                ; @X86_CR4_PGE
	.comm	_X86_CR0_CD,4,2                 ; @X86_CR0_CD
	.comm	_CX86_CCR3,4,2                  ; @CX86_CCR3
	.comm	_ccr3,4,2                       ; @ccr3
	.no_dead_strip	_prepare_set
.subsections_via_symbols
