	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_msi
_disable_msi:                           ## @disable_msi
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movq	_CXGB4_USING_MSIX@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	4(%r14), %edi
	callq	_pci_disable_msix
	jmp	LBB0_4
LBB0_2:
	movq	_CXGB4_USING_MSI@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.3:
	movl	4(%r14), %edi
	callq	_pci_disable_msi
LBB0_4:
	movl	(%rbx), %eax
	notl	%eax
	andl	%eax, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CXGB4_USING_MSIX,4,2           ## @CXGB4_USING_MSIX
	.comm	_CXGB4_USING_MSI,4,2            ## @CXGB4_USING_MSI
	.no_dead_strip	_disable_msi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_msi
_disable_msi:                           ; @disable_msi
	.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, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CXGB4_USING_MSIX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CXGB4_USING_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_pci_disable_msix
Lloh3:
	adrp	x8, _CXGB4_USING_MSIX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CXGB4_USING_MSIX@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x9, _CXGB4_USING_MSI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CXGB4_USING_MSI@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	w0, [x19, #4]
	bl	_pci_disable_msi
Lloh8:
	adrp	x8, _CXGB4_USING_MSI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CXGB4_USING_MSI@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CXGB4_USING_MSIX,4,2           ; @CXGB4_USING_MSIX
	.comm	_CXGB4_USING_MSI,4,2            ; @CXGB4_USING_MSI
	.no_dead_strip	_disable_msi
.subsections_via_symbols
