	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_cache_msi_info
_qib_cache_msi_info:                    ## @qib_cache_msi_info
	.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, %r14
	movq	16(%rdi), %r15
	movslq	%esi, %rbx
	movq	_PCI_MSI_ADDRESS_LO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	leaq	8(%rdi), %rdx
	movq	%r15, %rdi
	callq	_pci_read_config_dword
	movq	_PCI_MSI_ADDRESS_HI@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	leaq	4(%r14), %rdx
	movq	%r15, %rdi
	callq	_pci_read_config_dword
	movq	_PCI_MSI_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%ebx, %esi
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	callq	_pci_read_config_word
	movq	_PCI_MSI_FLAGS_64BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	-28(%rbp), %eax
	setne	%cl
	leal	(%rbx,%rcx,4), %esi
	addl	$8, %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_pci_read_config_word
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_MSI_ADDRESS_LO,8,3         ## @PCI_MSI_ADDRESS_LO
	.comm	_PCI_MSI_ADDRESS_HI,8,3         ## @PCI_MSI_ADDRESS_HI
	.comm	_PCI_MSI_FLAGS,4,2              ## @PCI_MSI_FLAGS
	.comm	_PCI_MSI_FLAGS_64BIT,4,2        ## @PCI_MSI_FLAGS_64BIT
	.no_dead_strip	_qib_cache_msi_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_cache_msi_info
_qib_cache_msi_info:                    ; @qib_cache_msi_info
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #16]
	sxtw	x22, w19
Lloh0:
	adrp	x8, _PCI_MSI_ADDRESS_LO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_MSI_ADDRESS_LO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x1, x8, x22
	add	x2, x0, #8
	mov	x0, x21
	bl	_pci_read_config_dword
Lloh3:
	adrp	x8, _PCI_MSI_ADDRESS_HI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCI_MSI_ADDRESS_HI@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, x22
	add	x2, x20, #4
	mov	x0, x21
	bl	_pci_read_config_dword
Lloh6:
	adrp	x8, _PCI_MSI_FLAGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_MSI_FLAGS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w1, w8, w19
	add	x2, sp, #12
	mov	x0, x21
	bl	_pci_read_config_word
	ldr	w8, [sp, #12]
Lloh9:
	adrp	x9, _PCI_MSI_FLAGS_64BIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PCI_MSI_FLAGS_64BIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #12
	mov	w9, #8
	csel	w8, w9, w8, eq
	add	w1, w8, w19
	mov	x0, x21
	mov	x2, x20
	bl	_pci_read_config_word
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_MSI_ADDRESS_LO,8,3         ; @PCI_MSI_ADDRESS_LO
	.comm	_PCI_MSI_ADDRESS_HI,8,3         ; @PCI_MSI_ADDRESS_HI
	.comm	_PCI_MSI_FLAGS,4,2              ; @PCI_MSI_FLAGS
	.comm	_PCI_MSI_FLAGS_64BIT,4,2        ; @PCI_MSI_FLAGS_64BIT
	.no_dead_strip	_qib_cache_msi_info
.subsections_via_symbols
