	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netxen_check_options
_netxen_check_options:                  ## @netxen_check_options
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NETXEN_MAX_SHORT_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	96(%r13), %r14
	movl	$0, (%r13)
	movq	_NX_FW_SERIAL_NUM_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -80(%rbp)
	leal	8(%rbx), %esi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -76(%rbp)
	leal	16(%rbx), %esi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.4:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -72(%rbp)
	leal	24(%rbx), %esi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.5:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -68(%rbp)
	leal	32(%rbx), %esi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.6:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -64(%rbp)
	leal	40(%rbx), %esi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.7:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -60(%rbp)
	leal	48(%rbx), %esi
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	jne	LBB0_1
## %bb.8:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -56(%rbp)
	addl	$56, %ebx
	leaq	-84(%rbp), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_netxen_rom_fast_read
	testl	%eax, %eax
	je	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movl	$1, (%r13)
LBB0_37:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_39
## %bb.38:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-84(%rbp), %edi
	callq	_cpu_to_le32
	movl	%eax, -52(%rbp)
	movq	_NETXEN_FW_VERSION_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_NXRD32
	movq	%rax, %r12
	movq	_NETXEN_FW_VERSION_MINOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_NXRD32
	movq	%rax, %rbx
	movq	_NETXEN_FW_VERSION_SUB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_NXRD32
	movq	8(%r13), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movl	%r12d, %edi
	movq	%rbx, %r12
	movl	%r12d, %esi
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	%eax, %edx
	callq	_NETXEN_VERSION_CODE
	movq	%rax, 8(%r13)
	movl	64(%r13), %edi
	callq	_NX_IS_REVISION_P3
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	104(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, 8(%r13)
	jle	LBB0_14
LBB0_12:
	callq	_kfree
	movq	$0, 104(%r13)
	movq	%r13, %rdi
	callq	_netxen_setup_minidump
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	96(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_14:
	cmpq	$0, 16(%r13)
	jne	LBB0_18
## %bb.15:
	movl	48(%r13), %edi
	movq	%r15, %rsi
	callq	_netxen_nic_get_brd_name_by_type
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.2(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strcpy
LBB0_17:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_module_name
	movl	64(%r13), %r8d
	leaq	L_.str.3(%rip), %rdi
	leaq	-80(%rbp), %rcx
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_pr_info
LBB0_18:
	movq	8(%r13), %rbx
	movl	$3, %edi
	movl	$4, %esi
	movl	$216, %edx
	callq	_NETXEN_VERSION_CODE
	cmpq	%rax, %rbx
	jge	LBB0_20
## %bb.19:
	movl	$1, (%r13)
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%r12, %rcx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	callq	_dev_warn
	jmp	LBB0_37
LBB0_20:
	movl	64(%r13), %edi
	callq	_NX_IS_REVISION_P3
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movq	_NETXEN_SRE_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_NXRD32
	shrl	$15, %eax
	andl	$1, %eax
	movl	%eax, 52(%r13)
	jmp	LBB0_23
LBB0_21:
	movl	52(%r13), %eax
LBB0_23:
	movq	_NETXEN_NIC_LINUX_VERSIONID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%eax, %eax
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rbx
	cmoveq	%rax, %rbx
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%r12, %r8
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	pushq	%rbx
	callq	_dev_info
	addq	$16, %rsp
	movq	8(%r13), %rbx
	movl	$4, %edi
	xorl	%esi, %esi
	movl	$222, %edx
	callq	_NETXEN_VERSION_CODE
	cmpq	%rax, %rbx
	jl	LBB0_25
## %bb.24:
	movq	_CRB_FW_CAPABILITIES_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_NXRD32
	movq	%rax, 88(%r13)
LBB0_25:
	movq	56(%r13), %rax
	movq	_NETXEN_NIC_XGBE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.26:
	movq	_MAX_JUMBO_RCV_DESCRIPTORS_10G@GOTPCREL(%rip), %rax
	movq	_DEFAULT_RCV_DESCRIPTORS_10G@GOTPCREL(%rip), %rcx
	jmp	LBB0_29
LBB0_27:
	movq	_NETXEN_NIC_GBE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.28:
	movq	_MAX_JUMBO_RCV_DESCRIPTORS_1G@GOTPCREL(%rip), %rax
	movq	_DEFAULT_RCV_DESCRIPTORS_1G@GOTPCREL(%rip), %rcx
LBB0_29:
	movl	(%rcx), %ecx
	movl	%ecx, 80(%r13)
	movl	(%rax), %eax
	movl	%eax, 76(%r13)
LBB0_30:
	movl	$0, 24(%r13)
	movl	64(%r13), %edi
	callq	_NX_IS_REVISION_P3
	testq	%rax, %rax
	je	LBB0_31
LBB0_33:
	movq	_use_msi_x@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	setne	%cl
	movl	%ecx, 24(%r13)
	movl	%ecx, 28(%r13)
	jmp	LBB0_34
LBB0_31:
	movq	$0, -96(%rbp)
	movq	_NX_FW_VERSION_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rdx
	movq	%r13, %rdi
	callq	_netxen_rom_fast_read
	movq	-96(%rbp), %rdi
	callq	_NETXEN_DECODE_VERSION
	movq	%rax, %rbx
	movq	%rax, -96(%rbp)
	movl	$3, %edi
	movl	$4, %esi
	movl	$336, %edx                      ## imm = 0x150
	callq	_NETXEN_VERSION_CODE
	cmpq	%rax, %rbx
	jl	LBB0_34
## %bb.32:
	movl	48(%r13), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	je	LBB0_33
LBB0_34:
	movq	_MAX_CMD_DESCRIPTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r13)
	movl	64(%r13), %edi
	callq	_NX_IS_REVISION_P2
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	_MAX_LRO_RCV_DESCRIPTORS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r13)
	movl	$3, 32(%r13)
	jmp	LBB0_37
LBB0_36:
	movq	$0, 40(%r13)
	movl	$2, 32(%r13)
	jmp	LBB0_37
LBB0_39:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NETXEN_MAX_SHORT_NAME,4,2      ## @NETXEN_MAX_SHORT_NAME
	.comm	_NX_FW_SERIAL_NUM_OFFSET,4,2    ## @NX_FW_SERIAL_NUM_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error reading board info\n"

	.comm	_NETXEN_FW_VERSION_MAJOR,4,2    ## @NETXEN_FW_VERSION_MAJOR
	.comm	_NETXEN_FW_VERSION_MINOR,4,2    ## @NETXEN_FW_VERSION_MINOR
	.comm	_NETXEN_FW_VERSION_SUB,4,2      ## @NETXEN_FW_VERSION_SUB
L_.str.1:                               ## @.str.1
	.asciz	"Failed to setup minidump rcode = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Unknown"

L_.str.3:                               ## @.str.3
	.asciz	"%s: %s Board S/N %s  Chip rev 0x%x\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
L_.str.4:                               ## @.str.4
	.asciz	"firmware version %d.%d.%d unsupported\n"

	.comm	_NETXEN_SRE_MISC,4,2            ## @NETXEN_SRE_MISC
L_.str.5:                               ## @.str.5
	.asciz	"Driver v%s, firmware v%d.%d.%d [%s]\n"

	.comm	_NETXEN_NIC_LINUX_VERSIONID,4,2 ## @NETXEN_NIC_LINUX_VERSIONID
L_.str.6:                               ## @.str.6
	.asciz	"cut-through"

L_.str.7:                               ## @.str.7
	.asciz	"legacy"

	.comm	_CRB_FW_CAPABILITIES_1,4,2      ## @CRB_FW_CAPABILITIES_1
	.comm	_NETXEN_NIC_XGBE,8,3            ## @NETXEN_NIC_XGBE
	.comm	_DEFAULT_RCV_DESCRIPTORS_10G,4,2 ## @DEFAULT_RCV_DESCRIPTORS_10G
	.comm	_MAX_JUMBO_RCV_DESCRIPTORS_10G,4,2 ## @MAX_JUMBO_RCV_DESCRIPTORS_10G
	.comm	_NETXEN_NIC_GBE,8,3             ## @NETXEN_NIC_GBE
	.comm	_DEFAULT_RCV_DESCRIPTORS_1G,4,2 ## @DEFAULT_RCV_DESCRIPTORS_1G
	.comm	_MAX_JUMBO_RCV_DESCRIPTORS_1G,4,2 ## @MAX_JUMBO_RCV_DESCRIPTORS_1G
	.comm	_use_msi_x,4,2                  ## @use_msi_x
	.comm	_NX_FW_VERSION_OFFSET,4,2       ## @NX_FW_VERSION_OFFSET
	.comm	_MAX_CMD_DESCRIPTORS,4,2        ## @MAX_CMD_DESCRIPTORS
	.comm	_MAX_LRO_RCV_DESCRIPTORS,8,3    ## @MAX_LRO_RCV_DESCRIPTORS
	.no_dead_strip	_netxen_check_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netxen_check_options
_netxen_check_options:                  ; @netxen_check_options
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #64
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _NETXEN_MAX_SHORT_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETXEN_MAX_SHORT_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x20, [x0, #96]
	str	wzr, [x0]
Lloh8:
	adrp	x8, _NX_FW_SERIAL_NUM_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NX_FW_SERIAL_NUM_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	sub	x2, x29, #108
	mov	x1, x22
	bl	_netxen_rom_fast_read
	cbnz	w0, LBB0_8
; %bb.1:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-104]
	add	w1, w22, #8
	sub	x2, x29, #108
	mov	x0, x19
	bl	_netxen_rom_fast_read
	cbnz	w0, LBB0_8
; %bb.2:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-100]
	add	w1, w22, #16
	sub	x2, x29, #108
	mov	x0, x19
	bl	_netxen_rom_fast_read
	cbnz	w0, LBB0_8
; %bb.3:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-96]
	add	w1, w22, #24
	sub	x2, x29, #108
	mov	x0, x19
	bl	_netxen_rom_fast_read
	cbnz	w0, LBB0_8
; %bb.4:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-92]
	add	w1, w22, #32
	sub	x2, x29, #108
	mov	x0, x19
	bl	_netxen_rom_fast_read
	cbnz	w0, LBB0_8
; %bb.5:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-88]
	add	w1, w22, #40
	sub	x2, x29, #108
	mov	x0, x19
	bl	_netxen_rom_fast_read
	cbnz	w0, LBB0_8
; %bb.6:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-84]
	add	w1, w22, #48
	sub	x2, x29, #108
	mov	x0, x19
	bl	_netxen_rom_fast_read
	cbnz	w0, LBB0_8
; %bb.7:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-80]
	add	w1, w22, #56
	sub	x2, x29, #108
	mov	x0, x19
	bl	_netxen_rom_fast_read
	cbz	w0, LBB0_11
LBB0_8:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	w8, #1
	str	w8, [x19]
LBB0_9:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.10:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldur	w0, [x29, #-108]
	bl	_cpu_to_le32
	stur	w0, [x29, #-76]
Lloh16:
	adrp	x8, _NETXEN_FW_VERSION_MAJOR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NETXEN_FW_VERSION_MAJOR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
	mov	x22, x0
Lloh19:
	adrp	x8, _NETXEN_FW_VERSION_MINOR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NETXEN_FW_VERSION_MINOR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
	mov	x23, x0
Lloh22:
	adrp	x8, _NETXEN_FW_VERSION_SUB@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NETXEN_FW_VERSION_SUB@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
	mov	x24, x0
	ldr	x25, [x19, #8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_NETXEN_VERSION_CODE
	str	x0, [x19, #8]
	ldr	w0, [x19, #64]
	bl	_NX_IS_REVISION_P3
	cbz	x0, LBB0_16
; %bb.12:
	ldr	x0, [x19, #104]
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x8, [x19, #8]
	cmp	x8, x25
	b.le	LBB0_16
LBB0_14:
	bl	_kfree
	str	xzr, [x19, #104]
	mov	x0, x19
	bl	_netxen_setup_minidump
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_16
; %bb.15:
	ldr	x8, [x19, #96]
	str	x0, [sp, #-16]!
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_dev_err
	add	sp, sp, #16
LBB0_16:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_20
; %bb.17:
	ldr	w0, [x19, #48]
	mov	x1, x21
	bl	_netxen_nic_get_brd_name_by_type
	cbz	x0, LBB0_19
; %bb.18:
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	sub	x0, x29, #104
	bl	_strcpy
LBB0_19:
Lloh29:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_module_name
	mov	x1, x0
	ldr	w4, [x19, #64]
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
	sub	x3, x29, #104
	mov	x2, x21
	bl	_pr_info
LBB0_20:
	ldr	x21, [x19, #8]
	mov	w0, #3
	mov	w1, #4
	mov	w2, #216
	bl	_NETXEN_VERSION_CODE
	cmp	x21, x0
	b.ge	LBB0_22
; %bb.21:
	mov	w8, #1
	str	w8, [x19]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	bl	_dev_warn
	b	LBB0_9
LBB0_22:
	ldr	w0, [x19, #64]
	bl	_NX_IS_REVISION_P3
	cbz	x0, LBB0_24
; %bb.23:
Lloh36:
	adrp	x8, _NETXEN_SRE_MISC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NETXEN_SRE_MISC@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
	ubfx	w8, w0, #15, #1
	str	w8, [x19, #52]
	b	LBB0_25
LBB0_24:
	ldr	w8, [x19, #52]
LBB0_25:
Lloh39:
	adrp	x9, _NETXEN_NIC_LINUX_VERSIONID@GOTPAGE
Lloh40:
	ldr	x9, [x9, _NETXEN_NIC_LINUX_VERSIONID@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x9]
Lloh42:
	adrp	x9, l_.str.6@PAGE
Lloh43:
	add	x9, x9, l_.str.6@PAGEOFF
Lloh44:
	adrp	x10, l_.str.7@PAGE
Lloh45:
	add	x10, x10, l_.str.7@PAGEOFF
	cmp	w8, #0
	csel	x6, x10, x9, eq
Lloh46:
	adrp	x1, l_.str.5@PAGE
Lloh47:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_dev_info
	ldr	x20, [x19, #8]
	mov	w0, #4
	mov	w1, #0
	mov	w2, #222
	bl	_NETXEN_VERSION_CODE
	cmp	x20, x0
	b.lt	LBB0_27
; %bb.26:
Lloh48:
	adrp	x8, _CRB_FW_CAPABILITIES_1@GOTPAGE
Lloh49:
	ldr	x8, [x8, _CRB_FW_CAPABILITIES_1@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_NXRD32
	str	x0, [x19, #88]
LBB0_27:
	ldr	x8, [x19, #56]
Lloh51:
	adrp	x9, _NETXEN_NIC_XGBE@GOTPAGE
Lloh52:
	ldr	x9, [x9, _NETXEN_NIC_XGBE@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.28:
Lloh54:
	adrp	x8, _MAX_JUMBO_RCV_DESCRIPTORS_10G@GOTPAGE
Lloh55:
	ldr	x8, [x8, _MAX_JUMBO_RCV_DESCRIPTORS_10G@GOTPAGEOFF]
Lloh56:
	adrp	x9, _DEFAULT_RCV_DESCRIPTORS_10G@GOTPAGE
Lloh57:
	ldr	x9, [x9, _DEFAULT_RCV_DESCRIPTORS_10G@GOTPAGEOFF]
	b	LBB0_31
LBB0_29:
Lloh58:
	adrp	x9, _NETXEN_NIC_GBE@GOTPAGE
Lloh59:
	ldr	x9, [x9, _NETXEN_NIC_GBE@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.30:
Lloh61:
	adrp	x8, _MAX_JUMBO_RCV_DESCRIPTORS_1G@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MAX_JUMBO_RCV_DESCRIPTORS_1G@GOTPAGEOFF]
Lloh63:
	adrp	x9, _DEFAULT_RCV_DESCRIPTORS_1G@GOTPAGE
Lloh64:
	ldr	x9, [x9, _DEFAULT_RCV_DESCRIPTORS_1G@GOTPAGEOFF]
LBB0_31:
	ldr	w9, [x9]
	ldr	w8, [x8]
	stp	w8, w9, [x19, #76]
LBB0_32:
	str	wzr, [x19, #24]
	ldr	w0, [x19, #64]
	bl	_NX_IS_REVISION_P3
	cbz	x0, LBB0_34
LBB0_33:
Lloh65:
	adrp	x8, _use_msi_x@GOTPAGE
Lloh66:
	ldr	x8, [x8, _use_msi_x@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w8, ne
	stp	w8, w8, [x19, #24]
	b	LBB0_36
LBB0_34:
	stur	xzr, [x29, #-120]
Lloh68:
	adrp	x8, _NX_FW_VERSION_OFFSET@GOTPAGE
Lloh69:
	ldr	x8, [x8, _NX_FW_VERSION_OFFSET@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	sub	x2, x29, #120
	mov	x0, x19
	bl	_netxen_rom_fast_read
	ldur	x0, [x29, #-120]
	bl	_NETXEN_DECODE_VERSION
	mov	x20, x0
	stur	x0, [x29, #-120]
	mov	w0, #3
	mov	w1, #4
	mov	w2, #336
	bl	_NETXEN_VERSION_CODE
	cmp	x20, x0
	b.lt	LBB0_36
; %bb.35:
	ldr	w8, [x19, #48]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.eq	LBB0_33
LBB0_36:
Lloh71:
	adrp	x8, _MAX_CMD_DESCRIPTORS@GOTPAGE
Lloh72:
	ldr	x8, [x8, _MAX_CMD_DESCRIPTORS@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	ldr	w0, [x19, #64]
	bl	_NX_IS_REVISION_P2
	cbz	x0, LBB0_38
; %bb.37:
Lloh74:
	adrp	x8, _MAX_LRO_RCV_DESCRIPTORS@GOTPAGE
Lloh75:
	ldr	x8, [x8, _MAX_LRO_RCV_DESCRIPTORS@GOTPAGEOFF]
Lloh76:
	ldr	x8, [x8]
	str	x8, [x19, #40]
	mov	w8, #3
	b	LBB0_39
LBB0_38:
	str	xzr, [x19, #40]
	mov	w8, #2
LBB0_39:
	str	w8, [x19, #32]
	b	LBB0_9
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.cfi_endproc
                                        ; -- End function
	.comm	_NETXEN_MAX_SHORT_NAME,4,2      ; @NETXEN_MAX_SHORT_NAME
	.comm	_NX_FW_SERIAL_NUM_OFFSET,4,2    ; @NX_FW_SERIAL_NUM_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error reading board info\n"

	.comm	_NETXEN_FW_VERSION_MAJOR,4,2    ; @NETXEN_FW_VERSION_MAJOR
	.comm	_NETXEN_FW_VERSION_MINOR,4,2    ; @NETXEN_FW_VERSION_MINOR
	.comm	_NETXEN_FW_VERSION_SUB,4,2      ; @NETXEN_FW_VERSION_SUB
l_.str.1:                               ; @.str.1
	.asciz	"Failed to setup minidump rcode = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Unknown"

l_.str.3:                               ; @.str.3
	.asciz	"%s: %s Board S/N %s  Chip rev 0x%x\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
l_.str.4:                               ; @.str.4
	.asciz	"firmware version %d.%d.%d unsupported\n"

	.comm	_NETXEN_SRE_MISC,4,2            ; @NETXEN_SRE_MISC
l_.str.5:                               ; @.str.5
	.asciz	"Driver v%s, firmware v%d.%d.%d [%s]\n"

	.comm	_NETXEN_NIC_LINUX_VERSIONID,4,2 ; @NETXEN_NIC_LINUX_VERSIONID
l_.str.6:                               ; @.str.6
	.asciz	"cut-through"

l_.str.7:                               ; @.str.7
	.asciz	"legacy"

	.comm	_CRB_FW_CAPABILITIES_1,4,2      ; @CRB_FW_CAPABILITIES_1
	.comm	_NETXEN_NIC_XGBE,8,3            ; @NETXEN_NIC_XGBE
	.comm	_DEFAULT_RCV_DESCRIPTORS_10G,4,2 ; @DEFAULT_RCV_DESCRIPTORS_10G
	.comm	_MAX_JUMBO_RCV_DESCRIPTORS_10G,4,2 ; @MAX_JUMBO_RCV_DESCRIPTORS_10G
	.comm	_NETXEN_NIC_GBE,8,3             ; @NETXEN_NIC_GBE
	.comm	_DEFAULT_RCV_DESCRIPTORS_1G,4,2 ; @DEFAULT_RCV_DESCRIPTORS_1G
	.comm	_MAX_JUMBO_RCV_DESCRIPTORS_1G,4,2 ; @MAX_JUMBO_RCV_DESCRIPTORS_1G
	.comm	_use_msi_x,4,2                  ; @use_msi_x
	.comm	_NX_FW_VERSION_OFFSET,4,2       ; @NX_FW_VERSION_OFFSET
	.comm	_MAX_CMD_DESCRIPTORS,4,2        ; @MAX_CMD_DESCRIPTORS
	.comm	_MAX_LRO_RCV_DESCRIPTORS,8,3    ; @MAX_LRO_RCV_DESCRIPTORS
	.no_dead_strip	_netxen_check_options
.subsections_via_symbols
