	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_wwn_prefix_generic   ## -- Begin function ixgbe_get_wwn_prefix_generic
	.p2align	4, 0x90
_ixgbe_get_wwn_prefix_generic:          ## @ixgbe_get_wwn_prefix_generic
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	$65535, (%rsi)                  ## imm = 0xFFFF
	movl	$65535, (%rdx)                  ## imm = 0xFFFF
	movq	_IXGBE_ALT_SAN_MAC_ADDR_BLK_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-36(%rbp), %rdx
	movl	%ebx, %esi
	callq	*(%rdi)
	testq	%rax, %rax
	je	LBB0_1
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_hw_err
LBB0_9:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-36(%rbp), %ebx
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.2:
	cmpl	$65535, %ebx                    ## imm = 0xFFFF
	je	LBB0_9
## %bb.3:
	movq	_IXGBE_ALT_SAN_MAC_ADDR_CAPS_OFFSET@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	*(%r12)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	_IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -40(%rbp)
	je	LBB0_9
## %bb.5:
	movq	_IXGBE_ALT_SAN_MAC_ADDR_WWNN_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	-36(%rbp), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	*(%r12)
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_hw_err
LBB0_7:
	movq	_IXGBE_ALT_SAN_MAC_ADDR_WWPN_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	-36(%rbp), %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	*(%r12)
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_BLK_PTR,4,2 ## @IXGBE_ALT_SAN_MAC_ADDR_BLK_PTR
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_CAPS_OFFSET,4,2 ## @IXGBE_ALT_SAN_MAC_ADDR_CAPS_OFFSET
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN,4,2 ## @IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_WWNN_OFFSET,4,2 ## @IXGBE_ALT_SAN_MAC_ADDR_WWNN_OFFSET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"eeprom read at offset %d failed\n"

	.comm	_IXGBE_ALT_SAN_MAC_ADDR_WWPN_OFFSET,4,2 ## @IXGBE_ALT_SAN_MAC_ADDR_WWPN_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_wwn_prefix_generic   ; -- Begin function ixgbe_get_wwn_prefix_generic
	.p2align	2
_ixgbe_get_wwn_prefix_generic:          ; @ixgbe_get_wwn_prefix_generic
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w23, #65535
	str	w23, [x1]
	str	w23, [x2]
Lloh0:
	adrp	x8, _IXGBE_ALT_SAN_MAC_ADDR_BLK_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IXGBE_ALT_SAN_MAC_ADDR_BLK_PTR@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	x8, [x0]
	add	x2, sp, #8
	mov	x1, x22
	blr	x8
	cbz	x0, LBB0_2
LBB0_1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_hw_err
	b	LBB0_3
LBB0_2:
	ldr	w8, [sp, #8]
	cmp	w8, #0
	ccmp	w8, w23, #4, ne
	b.ne	LBB0_4
LBB0_3:
	mov	w0, #0
	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_4:
Lloh5:
	adrp	x9, _IXGBE_ALT_SAN_MAC_ADDR_CAPS_OFFSET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IXGBE_ALT_SAN_MAC_ADDR_CAPS_OFFSET@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	add	w22, w9, w8
	ldr	x8, [x19]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x22
	blr	x8
	cbnz	x0, LBB0_1
; %bb.5:
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.6:
	ldr	w8, [sp, #8]
Lloh11:
	adrp	x9, _IXGBE_ALT_SAN_MAC_ADDR_WWNN_OFFSET@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IXGBE_ALT_SAN_MAC_ADDR_WWNN_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	add	w22, w9, w8
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	blr	x8
	cbz	x0, LBB0_8
; %bb.7:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_hw_err
LBB0_8:
	ldr	w8, [sp, #8]
Lloh16:
	adrp	x9, _IXGBE_ALT_SAN_MAC_ADDR_WWPN_OFFSET@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IXGBE_ALT_SAN_MAC_ADDR_WWPN_OFFSET@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	add	w22, w9, w8
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	blr	x8
	cbnz	x0, LBB0_1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_BLK_PTR,4,2 ; @IXGBE_ALT_SAN_MAC_ADDR_BLK_PTR
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_CAPS_OFFSET,4,2 ; @IXGBE_ALT_SAN_MAC_ADDR_CAPS_OFFSET
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN,4,2 ; @IXGBE_ALT_SAN_MAC_ADDR_CAPS_ALTWWN
	.comm	_IXGBE_ALT_SAN_MAC_ADDR_WWNN_OFFSET,4,2 ; @IXGBE_ALT_SAN_MAC_ADDR_WWNN_OFFSET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"eeprom read at offset %d failed\n"

	.comm	_IXGBE_ALT_SAN_MAC_ADDR_WWPN_OFFSET,4,2 ; @IXGBE_ALT_SAN_MAC_ADDR_WWPN_OFFSET
.subsections_via_symbols
