	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_default_gdt_entries      ## -- Begin function setup_default_gdt_entries
	.p2align	4, 0x90
_setup_default_gdt_entries:             ## @setup_default_gdt_entries
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	_GDT_ENTRY_LGUEST_CS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_FULL_EXEC_SEGMENT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	_GDT_ENTRY_LGUEST_DS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_FULL_SEGMENT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movl	%edi, %ecx
	shll	$16, %ecx
	orl	$103, %ecx
	movq	_GDT_ENTRY_TSS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,8)
	movl	%edi, %ecx
	andl	$-16777216, %ecx                ## imm = 0xFF000000
	shrl	$16, %edi
	movzbl	%dil, %esi
	addl	%esi, %ecx
	addl	$35072, %ecx                    ## imm = 0x8900
	movl	%ecx, 4(%rax,%rdx,8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDT_ENTRY_LGUEST_CS,8,3        ## @GDT_ENTRY_LGUEST_CS
	.comm	_FULL_EXEC_SEGMENT,8,2          ## @FULL_EXEC_SEGMENT
	.comm	_GDT_ENTRY_LGUEST_DS,8,3        ## @GDT_ENTRY_LGUEST_DS
	.comm	_FULL_SEGMENT,8,2               ## @FULL_SEGMENT
	.comm	_GDT_ENTRY_TSS,8,3              ## @GDT_ENTRY_TSS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_default_gdt_entries      ; -- Begin function setup_default_gdt_entries
	.p2align	2
_setup_default_gdt_entries:             ; @setup_default_gdt_entries
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _GDT_ENTRY_LGUEST_CS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GDT_ENTRY_LGUEST_CS@GOTPAGEOFF]
Lloh2:
	adrp	x10, _FULL_EXEC_SEGMENT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FULL_EXEC_SEGMENT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	str	x10, [x8, x9, lsl #3]
Lloh6:
	adrp	x9, _GDT_ENTRY_LGUEST_DS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GDT_ENTRY_LGUEST_DS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _FULL_SEGMENT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FULL_SEGMENT@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	str	x10, [x8, x9, lsl #3]
	mov	w9, #103
	bfi	w9, w0, #16, #16
Lloh12:
	adrp	x10, _GDT_ENTRY_TSS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _GDT_ENTRY_TSS@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	add	x8, x8, x10, lsl #3
	and	w10, w0, #0xff000000
	bfxil	w10, w0, #16, #8
	mov	w11, #35072
	orr	w10, w10, w11
	stp	w9, w10, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GDT_ENTRY_LGUEST_CS,8,3        ; @GDT_ENTRY_LGUEST_CS
	.comm	_FULL_EXEC_SEGMENT,8,2          ; @FULL_EXEC_SEGMENT
	.comm	_GDT_ENTRY_LGUEST_DS,8,3        ; @GDT_ENTRY_LGUEST_DS
	.comm	_FULL_SEGMENT,8,2               ; @FULL_SEGMENT
	.comm	_GDT_ENTRY_TSS,8,3              ; @GDT_ENTRY_TSS
.subsections_via_symbols
