	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_get_5752_nvram_info
_tg3_get_5752_nvram_info:               ## @tg3_get_5752_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_NVRAM_CFG1@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_tr32
	movl	%eax, %r14d
	testl	$134217728, %eax                ## imm = 0x8000000
	je	LBB0_2
## %bb.1:
	movq	_PROTECTED_NVRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag_set
LBB0_2:
	movq	_NVRAM_CFG1_5752VENDOR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r14d, %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jb	LBB0_6
## %bb.3:
	leal	-132(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_4
## %bb.11:
	movq	_JEDEC_ATMEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_JEDEC_ST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpl	$131, %eax
	jne	LBB0_9
## %bb.5:
	movq	_JEDEC_ATMEL@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag_set
	movq	_FLASH@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag_set
LBB0_9:
	movq	_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tg3_nvram_get_pagesize         ## TAILCALL
LBB0_10:
	movq	_ATMEL_AT24C512_CHIP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_NVRAM_CFG1_COMPAT_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	movl	(%r15), %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tw32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NVRAM_CFG1,4,2                 ## @NVRAM_CFG1
	.comm	_PROTECTED_NVRAM,4,2            ## @PROTECTED_NVRAM
	.comm	_NVRAM_CFG1_5752VENDOR_MASK,4,2 ## @NVRAM_CFG1_5752VENDOR_MASK
	.comm	_JEDEC_ATMEL,8,3                ## @JEDEC_ATMEL
	.comm	_NVRAM_BUFFERED,4,2             ## @NVRAM_BUFFERED
	.comm	_FLASH,4,2                      ## @FLASH
	.comm	_JEDEC_ST,8,3                   ## @JEDEC_ST
	.comm	_ATMEL_AT24C512_CHIP_SIZE,4,2   ## @ATMEL_AT24C512_CHIP_SIZE
	.comm	_NVRAM_CFG1_COMPAT_BYPASS,4,2   ## @NVRAM_CFG1_COMPAT_BYPASS
	.no_dead_strip	_tg3_get_5752_nvram_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_get_5752_nvram_info
_tg3_get_5752_nvram_info:               ; @tg3_get_5752_nvram_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _NVRAM_CFG1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NVRAM_CFG1@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_tr32
	mov	x20, x0
	tbz	w0, #27, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _PROTECTED_NVRAM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PROTECTED_NVRAM@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
LBB0_2:
Lloh5:
	adrp	x8, _NVRAM_CFG1_5752VENDOR_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NVRAM_CFG1_5752VENDOR_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w20
	sub	w9, w8, #128
Lloh8:
	adrp	x22, _FLASH@GOTPAGE
Lloh9:
	ldr	x22, [x22, _FLASH@GOTPAGEOFF]
	cmp	w9, #3
	b.lo	LBB0_5
; %bb.3:
	sub	w9, w8, #132
	cmp	w9, #2
	b.hs	LBB0_6
; %bb.4:
Lloh10:
	adrp	x8, _JEDEC_ATMEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _JEDEC_ATMEL@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh13:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh15:
	adrp	x8, _JEDEC_ST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _JEDEC_ST@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	cmp	w8, #131
	b.ne	LBB0_10
; %bb.7:
Lloh17:
	adrp	x8, _JEDEC_ATMEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _JEDEC_ATMEL@GOTPAGEOFF]
LBB0_8:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh19:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
Lloh22:
	adrp	x8, _FLASH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FLASH@GOTPAGEOFF]
LBB0_9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag_set
LBB0_10:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_tg3_flag
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tg3_nvram_get_pagesize
LBB0_12:
Lloh24:
	adrp	x8, _ATMEL_AT24C512_CHIP_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ATMEL_AT24C512_CHIP_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _NVRAM_CFG1_COMPAT_BYPASS@GOTPAGEOFF]
	str	w8, [x19]
Lloh29:
	ldr	w8, [x9]
	bic	w1, w20, w8
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_tw32
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NVRAM_CFG1,4,2                 ; @NVRAM_CFG1
	.comm	_PROTECTED_NVRAM,4,2            ; @PROTECTED_NVRAM
	.comm	_NVRAM_CFG1_5752VENDOR_MASK,4,2 ; @NVRAM_CFG1_5752VENDOR_MASK
	.comm	_JEDEC_ATMEL,8,3                ; @JEDEC_ATMEL
	.comm	_NVRAM_BUFFERED,4,2             ; @NVRAM_BUFFERED
	.comm	_FLASH,4,2                      ; @FLASH
	.comm	_JEDEC_ST,8,3                   ; @JEDEC_ST
	.comm	_ATMEL_AT24C512_CHIP_SIZE,4,2   ; @ATMEL_AT24C512_CHIP_SIZE
	.comm	_NVRAM_CFG1_COMPAT_BYPASS,4,2   ; @NVRAM_CFG1_COMPAT_BYPASS
	.no_dead_strip	_tg3_get_5752_nvram_info
.subsections_via_symbols
