	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_teardown_intr           ## -- Begin function qlcnic_teardown_intr
	.p2align	4, 0x90
_qlcnic_teardown_intr:                  ## @qlcnic_teardown_intr
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_QLCNIC_MSIX_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	24(%rbx), %edi
	callq	_pci_disable_msix
	movl	(%rbx), %eax
LBB0_2:
	movq	_QLCNIC_MSI_ENABLED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	24(%rbx), %edi
	callq	_pci_disable_msi
LBB0_4:
	movq	16(%rbx), %rdi
	callq	_kfree
	movq	$0, 16(%rbx)
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_vfree
	movq	8(%rbx), %rax
	movq	$0, (%rax)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_MSIX_ENABLED,4,2        ## @QLCNIC_MSIX_ENABLED
	.comm	_QLCNIC_MSI_ENABLED,4,2         ## @QLCNIC_MSI_ENABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_teardown_intr           ; -- Begin function qlcnic_teardown_intr
	.p2align	2
_qlcnic_teardown_intr:                  ; @qlcnic_teardown_intr
	.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, _QLCNIC_MSIX_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_MSIX_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_pci_disable_msix
	ldr	w8, [x19]
LBB0_2:
Lloh3:
	adrp	x9, _QLCNIC_MSI_ENABLED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QLCNIC_MSI_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x19, #24]
	bl	_pci_disable_msi
LBB0_4:
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_vfree
	ldr	x8, [x19, #8]
	str	xzr, [x8]
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_MSIX_ENABLED,4,2        ; @QLCNIC_MSIX_ENABLED
	.comm	_QLCNIC_MSI_ENABLED,4,2         ; @QLCNIC_MSI_ENABLED
.subsections_via_symbols
