	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emulate_ret_far
_emulate_ret_far:                       ## @emulate_ret_far
	.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	%rsi, %r14
	movq	%rdi, %rbx
	leaq	8(%rdi), %rdx
	movl	16(%rdi), %ecx
	callq	_emulate_pop
	movq	_X86EMUL_CONTINUE@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jne	LBB0_3
## %bb.1:
	movl	16(%rbx), %ecx
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_emulate_pop
	cmpl	(%r15), %eax
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	movl	-32(%rbp), %esi
	movq	_VCPU_SREG_CS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_kvm_load_segment_descriptor
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X86EMUL_CONTINUE,4,2           ## @X86EMUL_CONTINUE
	.comm	_VCPU_SREG_CS,4,2               ## @VCPU_SREG_CS
	.no_dead_strip	_emulate_ret_far
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emulate_ret_far
_emulate_ret_far:                       ; @emulate_ret_far
	.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, x1
	mov	x19, x0
	add	x2, x0, #8
	ldr	w3, [x0, #16]
	bl	_emulate_pop
Lloh0:
	adrp	x21, _X86EMUL_CONTINUE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _X86EMUL_CONTINUE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	w3, [x19, #16]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_emulate_pop
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x19]
	ldr	w1, [sp, #8]
Lloh2:
	adrp	x8, _VCPU_SREG_CS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VCPU_SREG_CS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_kvm_load_segment_descriptor
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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_X86EMUL_CONTINUE,4,2           ; @X86EMUL_CONTINUE
	.comm	_VCPU_SREG_CS,4,2               ; @VCPU_SREG_CS
	.no_dead_strip	_emulate_ret_far
.subsections_via_symbols
