	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_nvram_phys_addr
_tg3_nvram_phys_addr:                   ## @tg3_nvram_phys_addr
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_NVRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_NVRAM_BUFFERED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	_FLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	_NO_NVRAM_ADDR_TRANS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	(%rbx), %rax
	movq	_JEDEC_ATMEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_ATMEL_AT45DB0X1B_PAGE_POS@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r14d, %eax
	cltd
	idivl	8(%rbx)
	movl	%eax, %r14d
	shll	%cl, %r14d
	addl	%edx, %r14d
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVRAM,4,2                      ## @NVRAM
	.comm	_NVRAM_BUFFERED,4,2             ## @NVRAM_BUFFERED
	.comm	_FLASH,4,2                      ## @FLASH
	.comm	_NO_NVRAM_ADDR_TRANS,4,2        ## @NO_NVRAM_ADDR_TRANS
	.comm	_JEDEC_ATMEL,8,3                ## @JEDEC_ATMEL
	.comm	_ATMEL_AT45DB0X1B_PAGE_POS,4,2  ## @ATMEL_AT45DB0X1B_PAGE_POS
	.no_dead_strip	_tg3_nvram_phys_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_nvram_phys_addr
_tg3_nvram_phys_addr:                   ; @tg3_nvram_phys_addr
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _NVRAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVRAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_tg3_flag
	cbz	x0, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _NVRAM_BUFFERED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVRAM_BUFFERED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_tg3_flag
	cbz	x0, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _FLASH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLASH@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_tg3_flag
	cbz	x0, LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _NO_NVRAM_ADDR_TRANS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NO_NVRAM_ADDR_TRANS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_tg3_flag
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _JEDEC_ATMEL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _JEDEC_ATMEL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w8, [x20, #8]
	sdiv	w9, w19, w8
Lloh15:
	adrp	x10, _ATMEL_AT45DB0X1B_PAGE_POS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ATMEL_AT45DB0X1B_PAGE_POS@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	msub	w8, w9, w8, w19
	add	w19, w10, w8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NVRAM,4,2                      ; @NVRAM
	.comm	_NVRAM_BUFFERED,4,2             ; @NVRAM_BUFFERED
	.comm	_FLASH,4,2                      ; @FLASH
	.comm	_NO_NVRAM_ADDR_TRANS,4,2        ; @NO_NVRAM_ADDR_TRANS
	.comm	_JEDEC_ATMEL,8,3                ; @JEDEC_ATMEL
	.comm	_ATMEL_AT45DB0X1B_PAGE_POS,4,2  ; @ATMEL_AT45DB0X1B_PAGE_POS
	.no_dead_strip	_tg3_nvram_phys_addr
.subsections_via_symbols
