	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_remove_diag_entries     ## -- Begin function qlcnic_remove_diag_entries
	.p2align	4, 0x90
_qlcnic_remove_diag_entries:            ## @qlcnic_remove_diag_entries
	.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
	movq	16(%rdi), %rbx
	movq	_bin_attr_port_stats@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_QLCNIC_NON_PRIV_FUNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_dev_attr_diag_mode@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_bin_attr_crb@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	_bin_attr_mem@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	_dev_attr_beacon@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_max_rss@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_elb_mode@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_bin_attr_pci_config@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	_QLCNIC_ESWITCH_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_bin_attr_esw_config@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_QLCNIC_MGMT_FUNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_bin_attr_npar_config@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	_bin_attr_pm_config@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	_bin_attr_esw_stats@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_device_remove_bin_file         ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bin_attr_port_stats,4,2        ## @bin_attr_port_stats
	.comm	_QLCNIC_NON_PRIV_FUNC,8,3       ## @QLCNIC_NON_PRIV_FUNC
	.comm	_dev_attr_diag_mode,4,2         ## @dev_attr_diag_mode
	.comm	_bin_attr_crb,4,2               ## @bin_attr_crb
	.comm	_bin_attr_mem,4,2               ## @bin_attr_mem
	.comm	_dev_attr_beacon,4,2            ## @dev_attr_beacon
	.comm	_dev_attr_max_rss,4,2           ## @dev_attr_max_rss
	.comm	_dev_attr_elb_mode,4,2          ## @dev_attr_elb_mode
	.comm	_bin_attr_pci_config,4,2        ## @bin_attr_pci_config
	.comm	_QLCNIC_ESWITCH_ENABLED,4,2     ## @QLCNIC_ESWITCH_ENABLED
	.comm	_bin_attr_esw_config,4,2        ## @bin_attr_esw_config
	.comm	_QLCNIC_MGMT_FUNC,8,3           ## @QLCNIC_MGMT_FUNC
	.comm	_bin_attr_npar_config,4,2       ## @bin_attr_npar_config
	.comm	_bin_attr_pm_config,4,2         ## @bin_attr_pm_config
	.comm	_bin_attr_esw_stats,4,2         ## @bin_attr_esw_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_remove_diag_entries     ; -- Begin function qlcnic_remove_diag_entries
	.p2align	2
_qlcnic_remove_diag_entries:            ; @qlcnic_remove_diag_entries
	.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	x20, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x1, _bin_attr_port_stats@GOTPAGE
Lloh1:
	ldr	x1, [x1, _bin_attr_port_stats@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _QLCNIC_NON_PRIV_FUNC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QLCNIC_NON_PRIV_FUNC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
Lloh5:
	adrp	x1, _dev_attr_diag_mode@GOTPAGE
Lloh6:
	ldr	x1, [x1, _dev_attr_diag_mode@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh7:
	adrp	x1, _bin_attr_crb@GOTPAGE
Lloh8:
	ldr	x1, [x1, _bin_attr_crb@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
Lloh9:
	adrp	x1, _bin_attr_mem@GOTPAGE
Lloh10:
	ldr	x1, [x1, _bin_attr_mem@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
Lloh11:
	adrp	x1, _dev_attr_beacon@GOTPAGE
Lloh12:
	ldr	x1, [x1, _dev_attr_beacon@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh13:
	adrp	x1, _dev_attr_max_rss@GOTPAGE
Lloh14:
	ldr	x1, [x1, _dev_attr_max_rss@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh15:
	adrp	x1, _dev_attr_elb_mode@GOTPAGE
Lloh16:
	ldr	x1, [x1, _dev_attr_elb_mode@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh17:
	adrp	x1, _bin_attr_pci_config@GOTPAGE
Lloh18:
	ldr	x1, [x1, _bin_attr_pci_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
	ldr	w8, [x20]
Lloh19:
	adrp	x9, _QLCNIC_ESWITCH_ENABLED@GOTPAGE
Lloh20:
	ldr	x9, [x9, _QLCNIC_ESWITCH_ENABLED@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh22:
	adrp	x1, _bin_attr_esw_config@GOTPAGE
Lloh23:
	ldr	x1, [x1, _bin_attr_esw_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _QLCNIC_MGMT_FUNC@GOTPAGE
Lloh25:
	ldr	x9, [x9, _QLCNIC_MGMT_FUNC@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh27:
	adrp	x1, _bin_attr_npar_config@GOTPAGE
Lloh28:
	ldr	x1, [x1, _bin_attr_npar_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
Lloh29:
	adrp	x1, _bin_attr_pm_config@GOTPAGE
Lloh30:
	ldr	x1, [x1, _bin_attr_pm_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
Lloh31:
	adrp	x1, _bin_attr_esw_stats@GOTPAGE
Lloh32:
	ldr	x1, [x1, _bin_attr_esw_stats@GOTPAGEOFF]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_device_remove_bin_file
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_bin_attr_port_stats,4,2        ; @bin_attr_port_stats
	.comm	_QLCNIC_NON_PRIV_FUNC,8,3       ; @QLCNIC_NON_PRIV_FUNC
	.comm	_dev_attr_diag_mode,4,2         ; @dev_attr_diag_mode
	.comm	_bin_attr_crb,4,2               ; @bin_attr_crb
	.comm	_bin_attr_mem,4,2               ; @bin_attr_mem
	.comm	_dev_attr_beacon,4,2            ; @dev_attr_beacon
	.comm	_dev_attr_max_rss,4,2           ; @dev_attr_max_rss
	.comm	_dev_attr_elb_mode,4,2          ; @dev_attr_elb_mode
	.comm	_bin_attr_pci_config,4,2        ; @bin_attr_pci_config
	.comm	_QLCNIC_ESWITCH_ENABLED,4,2     ; @QLCNIC_ESWITCH_ENABLED
	.comm	_bin_attr_esw_config,4,2        ; @bin_attr_esw_config
	.comm	_QLCNIC_MGMT_FUNC,8,3           ; @QLCNIC_MGMT_FUNC
	.comm	_bin_attr_npar_config,4,2       ; @bin_attr_npar_config
	.comm	_bin_attr_pm_config,4,2         ; @bin_attr_pm_config
	.comm	_bin_attr_esw_stats,4,2         ; @bin_attr_esw_stats
.subsections_via_symbols
