	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xen_restore_fl
_xen_restore_fl:                        ## @xen_restore_fl
	.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	%rdi, %r15
	movq	_X86_EFLAGS_IF@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	andq	(%rax), %r15
	sete	%bl
	xorl	%eax, %eax
	callq	_preempt_disable
	movq	_xen_vcpu@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_percpu_read
	movq	%rax, %r14
	movq	%rbx, (%rax)
	xorl	%eax, %eax
	callq	_preempt_enable_no_resched
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_preempt_check_resched
	xorl	%eax, %eax
	callq	_barrier
	movl	8(%r14), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xen_force_evtchn_callback      ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X86_EFLAGS_IF,8,3              ## @X86_EFLAGS_IF
	.comm	_xen_vcpu,4,2                   ## @xen_vcpu
	.no_dead_strip	_xen_restore_fl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xen_restore_fl
_xen_restore_fl:                        ; @xen_restore_fl
	.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
Lloh0:
	adrp	x8, _X86_EFLAGS_IF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X86_EFLAGS_IF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ands	x20, x8, x0
	cset	w21, eq
	bl	_preempt_disable
Lloh3:
	adrp	x8, _xen_vcpu@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xen_vcpu@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_percpu_read
	mov	x19, x0
	str	x21, [x0]
	bl	_preempt_enable_no_resched
	cbz	x20, LBB0_3
; %bb.1:
	bl	_preempt_check_resched
	bl	_barrier
	ldr	w0, [x19, #8]
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:
	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
	b	_xen_force_evtchn_callback
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_X86_EFLAGS_IF,8,3              ; @X86_EFLAGS_IF
	.comm	_xen_vcpu,4,2                   ; @xen_vcpu
	.no_dead_strip	_xen_restore_fl
.subsections_via_symbols
