	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function save_guest_segment_descriptor
_save_guest_segment_descriptor:         ## @save_guest_segment_descriptor
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	leaq	-40(%rbp), %rdx
	callq	_get_segment_descriptor_dtable
	movl	%ebx, %ecx
	orl	$7, %ecx
	movl	$1, %eax
	cmpl	%ecx, -40(%rbp)
	jl	LBB0_2
## %bb.1:
	andl	$-8, %ebx
	movslq	%ebx, %rdi
	addq	-32(%rbp), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_kvm_write_guest_virt
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_save_guest_segment_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function save_guest_segment_descriptor
_save_guest_segment_descriptor:         ; @save_guest_segment_descriptor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x2, sp
	bl	_get_segment_descriptor_dtable
	ldr	w8, [sp]
	orr	w9, w21, #0x7
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	and	w8, w21, #0xfffffff8
	ldr	x9, [sp, #8]
	add	x0, x9, w8, sxtw
	mov	x1, x20
	mov	w2, #4
	mov	x3, x19
	mov	x4, #0
	bl	_kvm_write_guest_virt
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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_save_guest_segment_descriptor
.subsections_via_symbols
