	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amd64_conf_fast_syscall        ## -- Begin function amd64_conf_fast_syscall
	.p2align	4, 0x90
_amd64_conf_fast_syscall:               ## @amd64_conf_fast_syscall
	.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	_MSR_EFER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rdmsr
	movq	_EFER_SCE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_wrmsr
	movq	_MSR_LSTAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_pti@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_fast_syscall@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_fast_syscall_pti@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_IDTVEC
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_wrmsr
	movq	_MSR_CSTAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_fast_syscall32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IDTVEC
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_wrmsr
	movq	_GCODE_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SEL_KPL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GSEL
	movq	_GUCODE32_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SEL_UPL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GSEL
	movq	_MSR_STAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wrmsr
	movq	_PSL_NT@GOTPCREL(%rip), %rax
	movq	_PSL_T@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_PSL_I@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_PSL_C@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_MSR_SF_MASK@GOTPCREL(%rip), %rax
	movq	_PSL_D@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	(%rax), %edi
	movq	_PSL_AC@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wrmsr                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_EFER,4,2                   ## @MSR_EFER
	.comm	_EFER_SCE,4,2                   ## @EFER_SCE
	.comm	_MSR_LSTAR,4,2                  ## @MSR_LSTAR
	.comm	_pti,8,3                        ## @pti
	.comm	_fast_syscall_pti,4,2           ## @fast_syscall_pti
	.comm	_fast_syscall,4,2               ## @fast_syscall
	.comm	_MSR_CSTAR,4,2                  ## @MSR_CSTAR
	.comm	_fast_syscall32,4,2             ## @fast_syscall32
	.comm	_GCODE_SEL,4,2                  ## @GCODE_SEL
	.comm	_SEL_KPL,4,2                    ## @SEL_KPL
	.comm	_GUCODE32_SEL,4,2               ## @GUCODE32_SEL
	.comm	_SEL_UPL,4,2                    ## @SEL_UPL
	.comm	_MSR_STAR,4,2                   ## @MSR_STAR
	.comm	_MSR_SF_MASK,4,2                ## @MSR_SF_MASK
	.comm	_PSL_NT,4,2                     ## @PSL_NT
	.comm	_PSL_T,4,2                      ## @PSL_T
	.comm	_PSL_I,4,2                      ## @PSL_I
	.comm	_PSL_C,4,2                      ## @PSL_C
	.comm	_PSL_D,4,2                      ## @PSL_D
	.comm	_PSL_AC,4,2                     ## @PSL_AC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amd64_conf_fast_syscall        ; -- Begin function amd64_conf_fast_syscall
	.p2align	2
_amd64_conf_fast_syscall:               ; @amd64_conf_fast_syscall
	.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	x19, _MSR_EFER@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MSR_EFER@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_rdmsr
Lloh2:
	adrp	x8, _EFER_SCE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EFER_SCE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w1, w8, w0
	ldr	w0, [x19]
	bl	_wrmsr
Lloh5:
	adrp	x8, _MSR_LSTAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSR_LSTAR@GOTPAGEOFF]
Lloh7:
	ldr	w19, [x8]
Lloh8:
	adrp	x8, _pti@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pti@GOTPAGEOFF]
Lloh10:
	adrp	x9, _fast_syscall@GOTPAGE
Lloh11:
	ldr	x9, [x9, _fast_syscall@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x10, _fast_syscall_pti@GOTPAGE
Lloh14:
	ldr	x10, [x10, _fast_syscall_pti@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	bl	_IDTVEC
	mov	x1, x0
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_wrmsr
Lloh15:
	adrp	x8, _MSR_CSTAR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSR_CSTAR@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
Lloh18:
	adrp	x8, _fast_syscall32@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fast_syscall32@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_IDTVEC
	mov	x1, x0
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_wrmsr
Lloh21:
	adrp	x8, _GCODE_SEL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GCODE_SEL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _SEL_KPL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SEL_KPL@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_GSEL
Lloh27:
	adrp	x8, _GUCODE32_SEL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _GUCODE32_SEL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _SEL_UPL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SEL_UPL@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_GSEL
Lloh33:
	adrp	x8, _MSR_STAR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MSR_STAR@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_wrmsr
Lloh36:
	adrp	x8, _MSR_SF_MASK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MSR_SF_MASK@GOTPAGEOFF]
Lloh38:
	adrp	x9, _PSL_NT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _PSL_NT@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	ldr	w8, [x9]
Lloh42:
	adrp	x9, _PSL_T@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PSL_T@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh45:
	adrp	x9, _PSL_I@GOTPAGE
Lloh46:
	ldr	x9, [x9, _PSL_I@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh48:
	adrp	x9, _PSL_C@GOTPAGE
Lloh49:
	ldr	x9, [x9, _PSL_C@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh51:
	adrp	x9, _PSL_D@GOTPAGE
Lloh52:
	ldr	x9, [x9, _PSL_D@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh54:
	adrp	x9, _PSL_AC@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PSL_AC@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wrmsr
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_EFER,4,2                   ; @MSR_EFER
	.comm	_EFER_SCE,4,2                   ; @EFER_SCE
	.comm	_MSR_LSTAR,4,2                  ; @MSR_LSTAR
	.comm	_pti,8,3                        ; @pti
	.comm	_fast_syscall_pti,4,2           ; @fast_syscall_pti
	.comm	_fast_syscall,4,2               ; @fast_syscall
	.comm	_MSR_CSTAR,4,2                  ; @MSR_CSTAR
	.comm	_fast_syscall32,4,2             ; @fast_syscall32
	.comm	_GCODE_SEL,4,2                  ; @GCODE_SEL
	.comm	_SEL_KPL,4,2                    ; @SEL_KPL
	.comm	_GUCODE32_SEL,4,2               ; @GUCODE32_SEL
	.comm	_SEL_UPL,4,2                    ; @SEL_UPL
	.comm	_MSR_STAR,4,2                   ; @MSR_STAR
	.comm	_MSR_SF_MASK,4,2                ; @MSR_SF_MASK
	.comm	_PSL_NT,4,2                     ; @PSL_NT
	.comm	_PSL_T,4,2                      ; @PSL_T
	.comm	_PSL_I,4,2                      ; @PSL_I
	.comm	_PSL_C,4,2                      ; @PSL_C
	.comm	_PSL_D,4,2                      ; @PSL_D
	.comm	_PSL_AC,4,2                     ; @PSL_AC
.subsections_via_symbols
