	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_pci_enable_msi_method      ## -- Begin function xen_pci_enable_msi_method
	.p2align	4, 0x90
_xen_pci_enable_msi_method:             ## @xen_pci_enable_msi_method
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movl	%esi, %edi
	callq	_device_get_ivars
	movq	_PCIM_MSICTRL_MSI_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rax), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	movq	_PCIR_MSI_CTRL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	8(%rax), %rsi
	movl	%ebx, %edi
	movl	$2, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pci_write_config               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIM_MSICTRL_MSI_ENABLE,4,2    ## @PCIM_MSICTRL_MSI_ENABLE
	.comm	_PCIR_MSI_CTRL,8,3              ## @PCIR_MSI_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xen_pci_enable_msi_method      ; -- Begin function xen_pci_enable_msi_method
	.p2align	2
_xen_pci_enable_msi_method:             ; @xen_pci_enable_msi_method
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x0, x1
	bl	_device_get_ivars
Lloh0:
	adrp	x8, _PCIM_MSICTRL_MSI_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIM_MSICTRL_MSI_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w2, w9, w8
	str	w2, [x0]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _PCIR_MSI_CTRL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCIR_MSI_CTRL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	w3, #2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_write_config
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIM_MSICTRL_MSI_ENABLE,4,2    ; @PCIM_MSICTRL_MSI_ENABLE
	.comm	_PCIR_MSI_CTRL,8,3              ; @PCIR_MSI_CTRL
.subsections_via_symbols
