	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_oem_prod_version     ## -- Begin function ixgbe_get_oem_prod_version
	.p2align	4, 0x90
_ixgbe_get_oem_prod_version:            ## @ixgbe_get_oem_prod_version
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, (%rsi)
	movq	_NVM_OEM_PROD_VER_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	*(%rdi)
	movl	-20(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_8
## %bb.1:
	movq	_NVM_INVALID_PTR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_8
## %bb.2:
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_NVM_OEM_PROD_VER_CAP_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	-20(%rbp), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	-28(%rbp), %eax
	movq	_NVM_OEM_PROD_VER_MOD_LEN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.3:
	movq	_NVM_OEM_PROD_VER_CAP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -24(%rbp)
	je	LBB0_4
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_NVM_OEM_PROD_VER_OFF_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	-20(%rbp), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movq	_NVM_OEM_PROD_VER_OFF_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	-20(%rbp), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	-36(%rbp), %eax
	movl	-32(%rbp), %edx
	movl	%edx, %ecx
	orl	%eax, %ecx
	je	LBB0_8
## %bb.5:
	movq	_NVM_VER_INVALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	je	LBB0_8
## %bb.6:
	cmpl	%ecx, %edx
	je	LBB0_8
## %bb.7:
	movq	_NVM_VER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	sarl	%cl, %esi
	movl	%esi, 4(%r14)
	movq	_NVM_VER_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	%edx, 8(%r14)
	movl	%eax, 12(%r14)
	movl	$1, (%r14)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_NVM_OEM_PROD_VER_PTR,4,2       ## @NVM_OEM_PROD_VER_PTR
	.comm	_NVM_INVALID_PTR,4,2            ## @NVM_INVALID_PTR
	.comm	_NVM_OEM_PROD_VER_CAP_OFF,4,2   ## @NVM_OEM_PROD_VER_CAP_OFF
	.comm	_NVM_OEM_PROD_VER_MOD_LEN,4,2   ## @NVM_OEM_PROD_VER_MOD_LEN
	.comm	_NVM_OEM_PROD_VER_CAP_MASK,4,2  ## @NVM_OEM_PROD_VER_CAP_MASK
	.comm	_NVM_OEM_PROD_VER_OFF_L,4,2     ## @NVM_OEM_PROD_VER_OFF_L
	.comm	_NVM_OEM_PROD_VER_OFF_H,4,2     ## @NVM_OEM_PROD_VER_OFF_H
	.comm	_NVM_VER_INVALID,4,2            ## @NVM_VER_INVALID
	.comm	_NVM_VER_SHIFT,4,2              ## @NVM_VER_SHIFT
	.comm	_NVM_VER_MASK,4,2               ## @NVM_VER_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_oem_prod_version     ; -- Begin function ixgbe_get_oem_prod_version
	.p2align	2
_ixgbe_get_oem_prod_version:            ; @ixgbe_get_oem_prod_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	str	wzr, [x1]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVM_OEM_PROD_VER_PTR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVM_OEM_PROD_VER_PTR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	add	x2, sp, #12
	blr	x8
	ldr	w1, [sp, #12]
Lloh3:
	adrp	x8, _NVM_INVALID_PTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NVM_INVALID_PTR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, #0
	ccmp	w1, w8, #4, ne
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x20]
	add	x2, sp, #20
	mov	x0, x20
	blr	x8
	ldr	x8, [x20]
	ldr	w9, [sp, #12]
Lloh6:
	adrp	x10, _NVM_OEM_PROD_VER_CAP_OFF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NVM_OEM_PROD_VER_CAP_OFF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	add	w1, w10, w9
	add	x2, sp, #16
	mov	x0, x20
	blr	x8
	ldr	w8, [sp, #20]
Lloh9:
	adrp	x9, _NVM_OEM_PROD_VER_MOD_LEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NVM_OEM_PROD_VER_MOD_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [sp, #16]
Lloh12:
	adrp	x9, _NVM_OEM_PROD_VER_CAP_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NVM_OEM_PROD_VER_CAP_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	ldr	x8, [x20]
	ldr	w9, [sp, #12]
Lloh15:
	adrp	x10, _NVM_OEM_PROD_VER_OFF_L@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NVM_OEM_PROD_VER_OFF_L@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	add	w1, w10, w9
	add	x2, sp, #24
	mov	x0, x20
	blr	x8
	ldr	x8, [x20]
	ldr	w9, [sp, #12]
Lloh18:
	adrp	x10, _NVM_OEM_PROD_VER_OFF_H@GOTPAGE
Lloh19:
	ldr	x10, [x10, _NVM_OEM_PROD_VER_OFF_H@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	add	w1, w10, w9
	sub	x2, x29, #20
	mov	x0, x20
	blr	x8
	ldur	w8, [x29, #-20]
	ldr	w9, [sp, #24]
	orr	w10, w9, w8
	cbz	w10, LBB0_3
; %bb.5:
Lloh21:
	adrp	x10, _NVM_VER_INVALID@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NVM_VER_INVALID@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	cmp	w8, w10
	b.eq	LBB0_3
; %bb.6:
	cmp	w9, w10
	b.eq	LBB0_3
; %bb.7:
Lloh24:
	adrp	x10, _NVM_VER_SHIFT@GOTPAGE
Lloh25:
	ldr	x10, [x10, _NVM_VER_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	asr	w10, w9, w10
Lloh27:
	adrp	x11, _NVM_VER_MASK@GOTPAGE
Lloh28:
	ldr	x11, [x11, _NVM_VER_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	and	w9, w11, w9
	stp	w9, w8, [x19, #8]
	mov	w8, #1
	stp	w8, w10, [x19]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_NVM_OEM_PROD_VER_PTR,4,2       ; @NVM_OEM_PROD_VER_PTR
	.comm	_NVM_INVALID_PTR,4,2            ; @NVM_INVALID_PTR
	.comm	_NVM_OEM_PROD_VER_CAP_OFF,4,2   ; @NVM_OEM_PROD_VER_CAP_OFF
	.comm	_NVM_OEM_PROD_VER_MOD_LEN,4,2   ; @NVM_OEM_PROD_VER_MOD_LEN
	.comm	_NVM_OEM_PROD_VER_CAP_MASK,4,2  ; @NVM_OEM_PROD_VER_CAP_MASK
	.comm	_NVM_OEM_PROD_VER_OFF_L,4,2     ; @NVM_OEM_PROD_VER_OFF_L
	.comm	_NVM_OEM_PROD_VER_OFF_H,4,2     ; @NVM_OEM_PROD_VER_OFF_H
	.comm	_NVM_VER_INVALID,4,2            ; @NVM_VER_INVALID
	.comm	_NVM_VER_SHIFT,4,2              ; @NVM_VER_SHIFT
	.comm	_NVM_VER_MASK,4,2               ; @NVM_VER_MASK
.subsections_via_symbols
