	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_get_5720_nvram_info
_tg3_get_5720_nvram_info:               ## @tg3_get_5720_nvram_info
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_NVRAM_CFG1@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_tr32
	movl	%eax, %r14d
	movq	_NVRAM_CFG1_5752VENDOR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%r14d, %ebx
	movq	%r12, %rdi
	callq	_tg3_asic_rev
	movq	_ASIC_REV_5762@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.1:
	movq	_NVRAM_CFG1_5762VENDOR_MASK@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_15
## %bb.2:
	leal	-128(%rbx), %eax
	cmpl	$38, %eax
	ja	LBB0_15
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	$4096, (%r12)                   ## imm = 0x1000
	movq	_JEDEC_MACRONIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_NO_NVRAM_ADDR_TRANS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_NVRAM_AUTOSENSE_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tr32
	movq	_AUTOSENSE_DEVID@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_AUTOSENSE_DEVID_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movq	_AUTOSENSE_SIZE_IN_MB@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movl	%edx, 4(%r12)
	jmp	LBB0_34
LBB0_5:
	leal	-135(%rbx), %eax
	cmpl	$31, %eax
	ja	LBB0_15
## %bb.6:
	movl	$16715772, %ecx                 ## imm = 0xFF0FFC
	btl	%eax, %ecx
	jae	LBB0_10
LBB0_7:
	movq	_JEDEC_ST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	addl	$-139, %ebx
	cmpl	$19, %ebx
	jae	LBB0_13
## %bb.8:
	movl	$487543, %eax                   ## imm = 0x77077
	btl	%ebx, %eax
	jae	LBB0_13
## %bb.16:
	movslq	%ebx, %rax
	leaq	l_switch.table.tg3_get_5720_nvram_info.1(%rip), %rcx
	jmp	LBB0_18
LBB0_10:
	movl	$-16715776, %ecx                ## imm = 0xFF00F000
	btl	%eax, %ecx
	jae	LBB0_28
LBB0_11:
	movq	_JEDEC_ATMEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	addl	$-147, %ebx
	cmpl	$17, %ebx
	jae	LBB0_13
## %bb.12:
	movl	$126983, %eax                   ## imm = 0x1F007
	btl	%ebx, %eax
	jb	LBB0_17
LBB0_13:
	movq	%r12, %rdi
	callq	_tg3_asic_rev
	cmpq	(%r15), %rax
	je	LBB0_20
## %bb.14:
	movq	_TG3_NVRAM_SIZE_128KB@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_15:
	movq	_NO_NVRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tg3_flag_set                   ## TAILCALL
LBB0_17:
	movslq	%ebx, %rax
	leaq	l_switch.table.tg3_get_5720_nvram_info(%rip), %rcx
LBB0_18:
	leaq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
LBB0_19:
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
LBB0_20:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_tg3_nvram_get_pagesize
	movl	(%r12), %eax
	cmpl	$264, %eax                      ## imm = 0x108
	je	LBB0_23
## %bb.21:
	cmpl	$528, %eax                      ## imm = 0x210
	je	LBB0_23
## %bb.22:
	movq	_NO_NVRAM_ADDR_TRANS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
LBB0_23:
	movq	%r12, %rdi
	callq	_tg3_asic_rev
	cmpq	(%r15), %rax
	jne	LBB0_34
## %bb.24:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_tg3_nvram_read
	testq	%rax, %rax
	jne	LBB0_34
## %bb.25:
	movl	-44(%rbp), %eax
	movq	_TG3_EEPROM_MAGIC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_34
## %bb.26:
	movq	_TG3_EEPROM_MAGIC_FW_MSK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_TG3_EEPROM_MAGIC_FW@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_34
## %bb.27:
	movq	_NO_NVRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	jmp	LBB0_34
LBB0_28:
	movq	_JEDEC_ATMEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_NVRAM_CFG1_COMPAT_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	(%r13), %edi
	movl	%r14d, %esi
	callq	_tw32
	cmpl	$136, %ebx
	jne	LBB0_30
	jmp	LBB0_32
LBB0_29:
	movq	_JEDEC_ATMEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_NVRAM_CFG1_COMPAT_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	(%r13), %edi
	movl	%r14d, %esi
	callq	_tw32
LBB0_30:
	movq	_ATMEL_AT24C02_CHIP_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_31:
	movq	_JEDEC_ATMEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_NVRAM_CFG1_COMPAT_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	(%r13), %edi
	movl	%r14d, %esi
	callq	_tw32
LBB0_32:
	movq	_ATMEL_AT24C512_CHIP_SIZE@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_34:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_JEDEC_ST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	movq	_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tg3_flag_set
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_29
	.long	L0_0_set_31
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_35
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_NVRAM_CFG1,4,2                 ## @NVRAM_CFG1
	.comm	_NVRAM_CFG1_5752VENDOR_MASK,4,2 ## @NVRAM_CFG1_5752VENDOR_MASK
	.comm	_ASIC_REV_5762,8,3              ## @ASIC_REV_5762
	.comm	_NVRAM_CFG1_5762VENDOR_MASK,4,2 ## @NVRAM_CFG1_5762VENDOR_MASK
	.comm	_NO_NVRAM,4,2                   ## @NO_NVRAM
	.comm	_JEDEC_MACRONIX,8,3             ## @JEDEC_MACRONIX
	.comm	_NVRAM_BUFFERED,4,2             ## @NVRAM_BUFFERED
	.comm	_NO_NVRAM_ADDR_TRANS,4,2        ## @NO_NVRAM_ADDR_TRANS
	.comm	_FLASH,4,2                      ## @FLASH
	.comm	_NVRAM_AUTOSENSE_STATUS,4,2     ## @NVRAM_AUTOSENSE_STATUS
	.comm	_AUTOSENSE_DEVID,4,2            ## @AUTOSENSE_DEVID
	.comm	_AUTOSENSE_DEVID_MASK,4,2       ## @AUTOSENSE_DEVID_MASK
	.comm	_AUTOSENSE_SIZE_IN_MB,4,2       ## @AUTOSENSE_SIZE_IN_MB
	.comm	_JEDEC_ATMEL,8,3                ## @JEDEC_ATMEL
	.comm	_NVRAM_CFG1_COMPAT_BYPASS,4,2   ## @NVRAM_CFG1_COMPAT_BYPASS
	.comm	_ATMEL_AT24C512_CHIP_SIZE,4,2   ## @ATMEL_AT24C512_CHIP_SIZE
	.comm	_ATMEL_AT24C02_CHIP_SIZE,4,2    ## @ATMEL_AT24C02_CHIP_SIZE
	.comm	_TG3_NVRAM_SIZE_256KB,8,3       ## @TG3_NVRAM_SIZE_256KB
	.comm	_TG3_NVRAM_SIZE_512KB,8,3       ## @TG3_NVRAM_SIZE_512KB
	.comm	_TG3_NVRAM_SIZE_1MB,8,3         ## @TG3_NVRAM_SIZE_1MB
	.comm	_TG3_NVRAM_SIZE_128KB,8,3       ## @TG3_NVRAM_SIZE_128KB
	.comm	_JEDEC_ST,8,3                   ## @JEDEC_ST
	.comm	_TG3_EEPROM_MAGIC,4,2           ## @TG3_EEPROM_MAGIC
	.comm	_TG3_EEPROM_MAGIC_FW_MSK,4,2    ## @TG3_EEPROM_MAGIC_FW_MSK
	.comm	_TG3_EEPROM_MAGIC_FW,4,2        ## @TG3_EEPROM_MAGIC_FW
	.no_dead_strip	_tg3_get_5720_nvram_info
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.tg3_get_5720_nvram_info
l_switch.table.tg3_get_5720_nvram_info:
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB

	.p2align	3                               ## @switch.table.tg3_get_5720_nvram_info.1
l_switch.table.tg3_get_5720_nvram_info.1:
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_get_5720_nvram_info
_tg3_get_5720_nvram_info:               ; @tg3_get_5720_nvram_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _NVRAM_CFG1@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NVRAM_CFG1@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_tr32
	mov	x20, x0
Lloh2:
	adrp	x8, _NVRAM_CFG1_5752VENDOR_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NVRAM_CFG1_5752VENDOR_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w22, w8, w0
	mov	x0, x19
	bl	_tg3_asic_rev
Lloh5:
	adrp	x21, _ASIC_REV_5762@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ASIC_REV_5762@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.1:
Lloh7:
	adrp	x8, _NVRAM_CFG1_5762VENDOR_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NVRAM_CFG1_5762VENDOR_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_15
; %bb.2:
	sub	w8, w22, #128
	cmp	w8, #38
	b.hi	LBB0_15
; %bb.3:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	w8, #4096
Lloh12:
	adrp	x9, _JEDEC_MACRONIX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _JEDEC_MACRONIX@GOTPAGEOFF]
	str	w8, [x19]
Lloh14:
	ldr	x8, [x9]
	str	x8, [x19, #8]
Lloh15:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh18:
	adrp	x8, _NO_NVRAM_ADDR_TRANS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NO_NVRAM_ADDR_TRANS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh21:
	adrp	x8, _FLASH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FLASH@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh24:
	adrp	x8, _NVRAM_AUTOSENSE_STATUS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NVRAM_AUTOSENSE_STATUS@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_tr32
Lloh27:
	adrp	x8, _AUTOSENSE_DEVID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AUTOSENSE_DEVID@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	asr	w8, w0, w8
Lloh30:
	adrp	x9, _AUTOSENSE_DEVID_MASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AUTOSENSE_DEVID_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	and	w8, w8, w9
	mov	w9, #1
	lsl	w8, w9, w8
Lloh33:
	adrp	x9, _AUTOSENSE_SIZE_IN_MB@GOTPAGE
Lloh34:
	ldr	x9, [x9, _AUTOSENSE_SIZE_IN_MB@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	str	w8, [x19, #4]
	b	LBB0_33
LBB0_5:
	sub	w8, w22, #135
	cmp	w8, #31
	b.hi	LBB0_15
; %bb.6:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #4092
	movk	w9, #255, lsl #16
	tst	w8, w9
	b.eq	LBB0_10
LBB0_7:
Lloh36:
	adrp	x8, _JEDEC_ST@GOTPAGE
Lloh37:
	ldr	x8, [x8, _JEDEC_ST@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh39:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh42:
	adrp	x8, _FLASH@GOTPAGE
Lloh43:
	ldr	x8, [x8, _FLASH@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
	sub	w8, w22, #139
	cmp	w8, #19
	b.hs	LBB0_13
; %bb.8:
	mov	w9, #28791
	movk	w9, #7, lsl #16
	lsr	w9, w9, w8
	tbz	w9, #0, LBB0_13
; %bb.9:
Lloh45:
	adrp	x9, l_switch.table.tg3_get_5720_nvram_info.1@PAGE
Lloh46:
	add	x9, x9, l_switch.table.tg3_get_5720_nvram_info.1@PAGEOFF
	b	LBB0_17
LBB0_10:
	mov	w9, #61440
	movk	w9, #65280, lsl #16
	tst	w8, w9
	b.eq	LBB0_27
LBB0_11:
Lloh47:
	adrp	x8, _JEDEC_ATMEL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _JEDEC_ATMEL@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh50:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh51:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh53:
	adrp	x8, _FLASH@GOTPAGE
Lloh54:
	ldr	x8, [x8, _FLASH@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
	sub	w8, w22, #147
	cmp	w8, #17
	b.hs	LBB0_13
; %bb.12:
	mov	w9, #61447
	movk	w9, #1, lsl #16
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_16
LBB0_13:
	mov	x0, x19
	bl	_tg3_asic_rev
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_19
; %bb.14:
Lloh56:
	adrp	x8, _TG3_NVRAM_SIZE_128KB@GOTPAGE
Lloh57:
	ldr	x8, [x8, _TG3_NVRAM_SIZE_128KB@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
Lloh58:
	adrp	x8, _NO_NVRAM@GOTPAGE
Lloh59:
	ldr	x8, [x8, _NO_NVRAM@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_tg3_flag_set
LBB0_16:
Lloh61:
	adrp	x9, l_switch.table.tg3_get_5720_nvram_info@PAGE
Lloh62:
	add	x9, x9, l_switch.table.tg3_get_5720_nvram_info@PAGEOFF
LBB0_17:
	add	x8, x9, w8, sxtw #3
	ldr	x8, [x8]
LBB0_18:
	ldr	x8, [x8]
	str	w8, [x19, #4]
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	bl	_tg3_nvram_get_pagesize
	ldr	w8, [x19]
	cmp	w8, #264
	b.eq	LBB0_22
; %bb.20:
	cmp	w8, #528
	b.eq	LBB0_22
; %bb.21:
Lloh63:
	adrp	x8, _NO_NVRAM_ADDR_TRANS@GOTPAGE
Lloh64:
	ldr	x8, [x8, _NO_NVRAM_ADDR_TRANS@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
LBB0_22:
	mov	x0, x19
	bl	_tg3_asic_rev
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_33
; %bb.23:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #0
	bl	_tg3_nvram_read
	cbnz	x0, LBB0_33
; %bb.24:
	ldr	w8, [sp, #12]
Lloh66:
	adrp	x9, _TG3_EEPROM_MAGIC@GOTPAGE
Lloh67:
	ldr	x9, [x9, _TG3_EEPROM_MAGIC@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_33
; %bb.25:
Lloh69:
	adrp	x9, _TG3_EEPROM_MAGIC_FW_MSK@GOTPAGE
Lloh70:
	ldr	x9, [x9, _TG3_EEPROM_MAGIC_FW_MSK@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh72:
	adrp	x9, _TG3_EEPROM_MAGIC_FW@GOTPAGE
Lloh73:
	ldr	x9, [x9, _TG3_EEPROM_MAGIC_FW@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_33
; %bb.26:
Lloh75:
	adrp	x8, _NO_NVRAM@GOTPAGE
Lloh76:
	ldr	x8, [x8, _NO_NVRAM@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
	b	LBB0_33
LBB0_27:
Lloh78:
	adrp	x8, _JEDEC_ATMEL@GOTPAGE
Lloh79:
	ldr	x8, [x8, _JEDEC_ATMEL@GOTPAGEOFF]
Lloh80:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh81:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh82:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh84:
	adrp	x8, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGE
Lloh85:
	ldr	x8, [x8, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	bic	w1, w20, w8
	ldr	w0, [x23]
	bl	_tw32
	cmp	w22, #136
	b.ne	LBB0_29
	b	LBB0_31
LBB0_28:
Lloh87:
	adrp	x8, _JEDEC_ATMEL@GOTPAGE
Lloh88:
	ldr	x8, [x8, _JEDEC_ATMEL@GOTPAGEOFF]
Lloh89:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh90:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh91:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh92:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh93:
	adrp	x8, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGE
Lloh94:
	ldr	x8, [x8, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	bic	w1, w20, w8
	ldr	w0, [x23]
	bl	_tw32
LBB0_29:
Lloh96:
	adrp	x8, _ATMEL_AT24C02_CHIP_SIZE@GOTPAGE
Lloh97:
	ldr	x8, [x8, _ATMEL_AT24C02_CHIP_SIZE@GOTPAGEOFF]
	b	LBB0_32
LBB0_30:
Lloh98:
	adrp	x8, _JEDEC_ATMEL@GOTPAGE
Lloh99:
	ldr	x8, [x8, _JEDEC_ATMEL@GOTPAGEOFF]
Lloh100:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh101:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh102:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh104:
	adrp	x8, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGE
Lloh105:
	ldr	x8, [x8, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGEOFF]
Lloh106:
	ldr	w8, [x8]
	bic	w1, w20, w8
	ldr	w0, [x23]
	bl	_tw32
LBB0_31:
Lloh107:
	adrp	x8, _ATMEL_AT24C512_CHIP_SIZE@GOTPAGE
Lloh108:
	ldr	x8, [x8, _ATMEL_AT24C512_CHIP_SIZE@GOTPAGEOFF]
LBB0_32:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_33:
	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
	add	sp, sp, #80
	ret
LBB0_34:
Lloh109:
	adrp	x8, _JEDEC_ST@GOTPAGE
Lloh110:
	ldr	x8, [x8, _JEDEC_ST@GOTPAGEOFF]
Lloh111:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh112:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh113:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh114:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh115:
	adrp	x8, _FLASH@GOTPAGE
Lloh116:
	ldr	x8, [x8, _FLASH@GOTPAGEOFF]
Lloh117:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
	b	LBB0_13
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_28-LBB0_4)>>2
	.byte	(LBB0_30-LBB0_4)>>2
	.byte	(LBB0_27-LBB0_4)>>2
	.byte	(LBB0_27-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_34-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_NVRAM_CFG1,4,2                 ; @NVRAM_CFG1
	.comm	_NVRAM_CFG1_5752VENDOR_MASK,4,2 ; @NVRAM_CFG1_5752VENDOR_MASK
	.comm	_ASIC_REV_5762,8,3              ; @ASIC_REV_5762
	.comm	_NVRAM_CFG1_5762VENDOR_MASK,4,2 ; @NVRAM_CFG1_5762VENDOR_MASK
	.comm	_NO_NVRAM,4,2                   ; @NO_NVRAM
	.comm	_JEDEC_MACRONIX,8,3             ; @JEDEC_MACRONIX
	.comm	_NVRAM_BUFFERED,4,2             ; @NVRAM_BUFFERED
	.comm	_NO_NVRAM_ADDR_TRANS,4,2        ; @NO_NVRAM_ADDR_TRANS
	.comm	_FLASH,4,2                      ; @FLASH
	.comm	_NVRAM_AUTOSENSE_STATUS,4,2     ; @NVRAM_AUTOSENSE_STATUS
	.comm	_AUTOSENSE_DEVID,4,2            ; @AUTOSENSE_DEVID
	.comm	_AUTOSENSE_DEVID_MASK,4,2       ; @AUTOSENSE_DEVID_MASK
	.comm	_AUTOSENSE_SIZE_IN_MB,4,2       ; @AUTOSENSE_SIZE_IN_MB
	.comm	_JEDEC_ATMEL,8,3                ; @JEDEC_ATMEL
	.comm	_NVRAM_CFG1_COMPAT_BYPASS,4,2   ; @NVRAM_CFG1_COMPAT_BYPASS
	.comm	_ATMEL_AT24C512_CHIP_SIZE,4,2   ; @ATMEL_AT24C512_CHIP_SIZE
	.comm	_ATMEL_AT24C02_CHIP_SIZE,4,2    ; @ATMEL_AT24C02_CHIP_SIZE
	.comm	_TG3_NVRAM_SIZE_256KB,8,3       ; @TG3_NVRAM_SIZE_256KB
	.comm	_TG3_NVRAM_SIZE_512KB,8,3       ; @TG3_NVRAM_SIZE_512KB
	.comm	_TG3_NVRAM_SIZE_1MB,8,3         ; @TG3_NVRAM_SIZE_1MB
	.comm	_TG3_NVRAM_SIZE_128KB,8,3       ; @TG3_NVRAM_SIZE_128KB
	.comm	_JEDEC_ST,8,3                   ; @JEDEC_ST
	.comm	_TG3_EEPROM_MAGIC,4,2           ; @TG3_EEPROM_MAGIC
	.comm	_TG3_EEPROM_MAGIC_FW_MSK,4,2    ; @TG3_EEPROM_MAGIC_FW_MSK
	.comm	_TG3_EEPROM_MAGIC_FW,4,2        ; @TG3_EEPROM_MAGIC_FW
	.no_dead_strip	_tg3_get_5720_nvram_info
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.tg3_get_5720_nvram_info
l_switch.table.tg3_get_5720_nvram_info:
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB

	.p2align	3                               ; @switch.table.tg3_get_5720_nvram_info.1
l_switch.table.tg3_get_5720_nvram_info.1:
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_256KB
	.quad	_TG3_NVRAM_SIZE_1MB
	.quad	_TG3_NVRAM_SIZE_512KB
	.quad	_TG3_NVRAM_SIZE_256KB

.subsections_via_symbols
