	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xen_set_iopl_mask
_xen_set_iopl_mask:                     ## @xen_set_iopl_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, %eax
	shrl	$12, %eax
	andl	$3, %eax
	testl	%edi, %edi
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, -8(%rbp)
	movq	_PHYSDEVOP_set_iopl@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rsi
	callq	_HYPERVISOR_physdev_op
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYSDEVOP_set_iopl,4,2         ## @PHYSDEVOP_set_iopl
	.no_dead_strip	_xen_set_iopl_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xen_set_iopl_mask
_xen_set_iopl_mask:                     ; @xen_set_iopl_mask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ubfx	w8, w0, #12, #2
	cmp	w0, #0
	csinc	w8, w8, wzr, ne
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _PHYSDEVOP_set_iopl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHYSDEVOP_set_iopl@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_HYPERVISOR_physdev_op
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYSDEVOP_set_iopl,4,2         ; @PHYSDEVOP_set_iopl
	.no_dead_strip	_xen_set_iopl_mask
.subsections_via_symbols
