	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_create_diag_entries
_netxen_create_diag_entries:            ## @netxen_create_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	16(%rdi), %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_9
## %bb.1:
	movq	(%rdi), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_dev_attr_fwdump_state@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_3:
	movq	_bin_attr_fw_dump@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_bin_file
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_5:
	movq	_dev_attr_fwdump_size@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_7:
	movq	_dev_attr_fwdump_level@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_9:
	movq	_dev_attr_diag_mode@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_file
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_11:
	movq	_bin_attr_crb@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_bin_file
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_13:
	movq	_bin_attr_mem@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_bin_file
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
LBB0_15:
	movq	_bin_attr_dimm@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_device_create_bin_file
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Supports Fw Dump Capability\n"

	.comm	_dev_attr_fwdump_state,4,2      ## @dev_attr_fwdump_state
L_.str.1:                               ## @.str.1
	.asciz	"failed to create fwdump_state sysfs entry\n"

	.comm	_bin_attr_fw_dump,4,2           ## @bin_attr_fw_dump
L_.str.2:                               ## @.str.2
	.asciz	"failed to create fw_dump sysfs entry\n"

	.comm	_dev_attr_fwdump_size,4,2       ## @dev_attr_fwdump_size
L_.str.3:                               ## @.str.3
	.asciz	"failed to create fwdump_size sysfs entry\n"

	.comm	_dev_attr_fwdump_level,4,2      ## @dev_attr_fwdump_level
L_.str.4:                               ## @.str.4
	.asciz	"failed to create fwdump_level sysfs entry\n"

	.comm	_dev_attr_diag_mode,4,2         ## @dev_attr_diag_mode
L_.str.5:                               ## @.str.5
	.asciz	"failed to create diag_mode sysfs entry\n"

	.comm	_bin_attr_crb,4,2               ## @bin_attr_crb
L_.str.6:                               ## @.str.6
	.asciz	"failed to create crb sysfs entry\n"

	.comm	_bin_attr_mem,4,2               ## @bin_attr_mem
L_.str.7:                               ## @.str.7
	.asciz	"failed to create mem sysfs entry\n"

	.comm	_bin_attr_dimm,4,2              ## @bin_attr_dimm
L_.str.8:                               ## @.str.8
	.asciz	"failed to create dimm sysfs entry\n"

	.no_dead_strip	_netxen_create_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_create_diag_entries
_netxen_create_diag_entries:            ; @netxen_create_diag_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	x8, x19, [x0, #8]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x8, [x0]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
Lloh2:
	adrp	x1, _dev_attr_fwdump_state@GOTPAGE
Lloh3:
	ldr	x1, [x1, _dev_attr_fwdump_state@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbz	x0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_3:
Lloh6:
	adrp	x1, _bin_attr_fw_dump@GOTPAGE
Lloh7:
	ldr	x1, [x1, _bin_attr_fw_dump@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_bin_file
	cbz	x0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_5:
Lloh10:
	adrp	x1, _dev_attr_fwdump_size@GOTPAGE
Lloh11:
	ldr	x1, [x1, _dev_attr_fwdump_size@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_7:
Lloh14:
	adrp	x1, _dev_attr_fwdump_level@GOTPAGE
Lloh15:
	ldr	x1, [x1, _dev_attr_fwdump_level@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbz	x0, LBB0_9
; %bb.8:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_9:
Lloh18:
	adrp	x1, _dev_attr_diag_mode@GOTPAGE
Lloh19:
	ldr	x1, [x1, _dev_attr_diag_mode@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	cbz	x0, LBB0_11
; %bb.10:
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_11:
Lloh22:
	adrp	x1, _bin_attr_crb@GOTPAGE
Lloh23:
	ldr	x1, [x1, _bin_attr_crb@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_bin_file
	cbz	x0, LBB0_13
; %bb.12:
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_13:
Lloh26:
	adrp	x1, _bin_attr_mem@GOTPAGE
Lloh27:
	ldr	x1, [x1, _bin_attr_mem@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_bin_file
	cbz	x0, LBB0_15
; %bb.14:
Lloh28:
	adrp	x1, l_.str.7@PAGE
Lloh29:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_15:
Lloh30:
	adrp	x1, _bin_attr_dimm@GOTPAGE
Lloh31:
	ldr	x1, [x1, _bin_attr_dimm@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_bin_file
	cbz	x0, LBB0_17
; %bb.16:
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dev_info
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Supports Fw Dump Capability\n"

	.comm	_dev_attr_fwdump_state,4,2      ; @dev_attr_fwdump_state
l_.str.1:                               ; @.str.1
	.asciz	"failed to create fwdump_state sysfs entry\n"

	.comm	_bin_attr_fw_dump,4,2           ; @bin_attr_fw_dump
l_.str.2:                               ; @.str.2
	.asciz	"failed to create fw_dump sysfs entry\n"

	.comm	_dev_attr_fwdump_size,4,2       ; @dev_attr_fwdump_size
l_.str.3:                               ; @.str.3
	.asciz	"failed to create fwdump_size sysfs entry\n"

	.comm	_dev_attr_fwdump_level,4,2      ; @dev_attr_fwdump_level
l_.str.4:                               ; @.str.4
	.asciz	"failed to create fwdump_level sysfs entry\n"

	.comm	_dev_attr_diag_mode,4,2         ; @dev_attr_diag_mode
l_.str.5:                               ; @.str.5
	.asciz	"failed to create diag_mode sysfs entry\n"

	.comm	_bin_attr_crb,4,2               ; @bin_attr_crb
l_.str.6:                               ; @.str.6
	.asciz	"failed to create crb sysfs entry\n"

	.comm	_bin_attr_mem,4,2               ; @bin_attr_mem
l_.str.7:                               ; @.str.7
	.asciz	"failed to create mem sysfs entry\n"

	.comm	_bin_attr_dimm,4,2              ; @bin_attr_dimm
l_.str.8:                               ; @.str.8
	.asciz	"failed to create dimm sysfs entry\n"

	.no_dead_strip	_netxen_create_diag_entries
.subsections_via_symbols
