	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seg_desct_to_kvm_desct
_seg_desct_to_kvm_desct:                ## @seg_desct_to_kvm_desct
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_get_desc_base
	movl	%eax, 60(%rbx)
	movq	%r15, %rdi
	callq	_get_desc_limit
	movl	%eax, (%rbx)
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	shll	$12, %eax
	orl	$4095, %eax                     ## imm = 0xFFF
	movl	%eax, (%rbx)
LBB0_2:
	movl	%r14d, 56(%rbx)
	movl	36(%r15), %eax
	movl	%eax, 52(%rbx)
	movl	32(%r15), %eax
	movl	%eax, 48(%rbx)
	movups	16(%r15), %xmm0
	movups	%xmm0, 32(%rbx)
	movq	%rcx, 24(%rbx)
	movl	(%r15), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	testl	%r14d, %r14d
	sete	%al
	movl	%eax, 4(%rbx)
	movq	$0, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_seg_desct_to_kvm_desct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seg_desct_to_kvm_desct
_seg_desct_to_kvm_desct:                ; @seg_desct_to_kvm_desct
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_get_desc_base
	str	w0, [x19, #60]
	mov	x0, x21
	bl	_get_desc_limit
	str	w0, [x19]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w9, #4095
	bfi	w9, w0, #12, #20
	str	w9, [x19]
LBB0_2:
	str	w20, [x19, #56]
	ldr	d0, [x21, #32]
	str	d0, [x19, #48]
	ldr	q0, [x21, #16]
	str	q0, [x19, #32]
	str	x8, [x19, #24]
	ldr	w8, [x21]
	str	w8, [x19, #16]
	cmp	w20, #0
	cset	w8, eq
	str	w8, [x19, #4]
	str	xzr, [x19, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_seg_desct_to_kvm_desct
.subsections_via_symbols
