	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_remove_diag_entries
_netxen_remove_diag_entries:            ## @netxen_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	8(%rdi), %rbx
	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
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movq	_bin_attr_fw_dump@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_bin_file
	movq	_dev_attr_fwdump_size@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_fwdump_level@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_dev_attr_fwdump_state@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_remove_file
	movq	_bin_attr_dimm@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_device_remove_bin_file         ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_bin_attr_fw_dump,4,2           ## @bin_attr_fw_dump
	.comm	_dev_attr_fwdump_size,4,2       ## @dev_attr_fwdump_size
	.comm	_dev_attr_fwdump_level,4,2      ## @dev_attr_fwdump_level
	.comm	_dev_attr_fwdump_state,4,2      ## @dev_attr_fwdump_state
	.comm	_bin_attr_dimm,4,2              ## @bin_attr_dimm
	.no_dead_strip	_netxen_remove_diag_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_remove_diag_entries
_netxen_remove_diag_entries:            ; @netxen_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, #8]
Lloh0:
	adrp	x1, _dev_attr_diag_mode@GOTPAGE
Lloh1:
	ldr	x1, [x1, _dev_attr_diag_mode@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh2:
	adrp	x1, _bin_attr_crb@GOTPAGE
Lloh3:
	ldr	x1, [x1, _bin_attr_crb@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
Lloh4:
	adrp	x1, _bin_attr_mem@GOTPAGE
Lloh5:
	ldr	x1, [x1, _bin_attr_mem@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x1, _bin_attr_fw_dump@GOTPAGE
Lloh7:
	ldr	x1, [x1, _bin_attr_fw_dump@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_bin_file
Lloh8:
	adrp	x1, _dev_attr_fwdump_size@GOTPAGE
Lloh9:
	ldr	x1, [x1, _dev_attr_fwdump_size@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh10:
	adrp	x1, _dev_attr_fwdump_level@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_attr_fwdump_level@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh12:
	adrp	x1, _dev_attr_fwdump_state@GOTPAGE
Lloh13:
	ldr	x1, [x1, _dev_attr_fwdump_state@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
Lloh14:
	adrp	x1, _bin_attr_dimm@GOTPAGE
Lloh15:
	ldr	x1, [x1, _bin_attr_dimm@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_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.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	_bin_attr_fw_dump,4,2           ; @bin_attr_fw_dump
	.comm	_dev_attr_fwdump_size,4,2       ; @dev_attr_fwdump_size
	.comm	_dev_attr_fwdump_level,4,2      ; @dev_attr_fwdump_level
	.comm	_dev_attr_fwdump_state,4,2      ; @dev_attr_fwdump_state
	.comm	_bin_attr_dimm,4,2              ; @bin_attr_dimm
	.no_dead_strip	_netxen_remove_diag_entries
.subsections_via_symbols
