	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_orom_version         ## -- Begin function ixgbe_get_orom_version
	.p2align	4, 0x90
_ixgbe_get_orom_version:                ## @ixgbe_get_orom_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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, (%rsi)
	movq	_NVM_OROM_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-20(%rbp), %rdx
	callq	*(%rdi)
	movslq	-20(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	_NVM_INVALID_PTR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_6
## %bb.2:
	movq	_NVM_OROM_BLK_HI@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movslq	-20(%rbp), %rsi
	movq	_NVM_OROM_BLK_LOW@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rbx)
	movl	-24(%rbp), %edx
	movl	-28(%rbp), %eax
	movl	%eax, %ecx
	orl	%edx, %ecx
	je	LBB0_6
## %bb.3:
	movq	_NVM_VER_INVALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %edx
	je	LBB0_6
## %bb.4:
	cmpl	%ecx, %eax
	je	LBB0_6
## %bb.5:
	movl	$1, (%r14)
	movq	_NVM_OROM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%edx, %esi
	sarl	%cl, %esi
	shll	%cl, %edx
	movl	%eax, %edi
	sarl	%cl, %edi
	movl	%esi, 4(%r14)
	orl	%edx, %edi
	movl	%edi, 8(%r14)
	movq	_NVM_OROM_PATCH_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 12(%r14)
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVM_OROM_OFFSET,8,3            ## @NVM_OROM_OFFSET
	.comm	_NVM_INVALID_PTR,4,2            ## @NVM_INVALID_PTR
	.comm	_NVM_OROM_BLK_HI,8,3            ## @NVM_OROM_BLK_HI
	.comm	_NVM_OROM_BLK_LOW,8,3           ## @NVM_OROM_BLK_LOW
	.comm	_NVM_VER_INVALID,4,2            ## @NVM_VER_INVALID
	.comm	_NVM_OROM_SHIFT,4,2             ## @NVM_OROM_SHIFT
	.comm	_NVM_OROM_PATCH_MASK,4,2        ## @NVM_OROM_PATCH_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_get_orom_version         ; -- Begin function ixgbe_get_orom_version
	.p2align	2
_ixgbe_get_orom_version:                ; @ixgbe_get_orom_version
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [x1]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVM_OROM_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVM_OROM_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x9]
	add	x2, sp, #12
	blr	x8
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _NVM_INVALID_PTR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVM_INVALID_PTR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w8, w9, #4, ne
	b.eq	LBB0_4
; %bb.1:
	sxtw	x8, w8
	ldr	x9, [x20]
Lloh6:
	adrp	x10, _NVM_OROM_BLK_HI@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NVM_OROM_BLK_HI@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x1, x10, x8
	add	x2, sp, #8
	mov	x0, x20
	blr	x9
	ldr	x8, [x20]
	ldrsw	x9, [sp, #12]
Lloh9:
	adrp	x10, _NVM_OROM_BLK_LOW@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NVM_OROM_BLK_LOW@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x1, x10, x9
	add	x2, sp, #4
	mov	x0, x20
	blr	x8
	ldp	w9, w8, [sp, #4]
	orr	w10, w8, w9
	cbz	w10, LBB0_4
; %bb.2:
Lloh12:
	adrp	x10, _NVM_VER_INVALID@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NVM_VER_INVALID@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w9, w10
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_4
; %bb.3:
	mov	w10, #1
	str	w10, [x19]
Lloh15:
	adrp	x10, _NVM_OROM_SHIFT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NVM_OROM_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	asr	w11, w9, w10
	lsl	w9, w9, w10
	asr	w10, w8, w10
	orr	w9, w9, w10
	stp	w11, w9, [x19, #4]
Lloh18:
	adrp	x9, _NVM_OROM_PATCH_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NVM_OROM_PATCH_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x19, #12]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_NVM_OROM_OFFSET,8,3            ; @NVM_OROM_OFFSET
	.comm	_NVM_INVALID_PTR,4,2            ; @NVM_INVALID_PTR
	.comm	_NVM_OROM_BLK_HI,8,3            ; @NVM_OROM_BLK_HI
	.comm	_NVM_OROM_BLK_LOW,8,3           ; @NVM_OROM_BLK_LOW
	.comm	_NVM_VER_INVALID,4,2            ; @NVM_VER_INVALID
	.comm	_NVM_OROM_SHIFT,4,2             ; @NVM_OROM_SHIFT
	.comm	_NVM_OROM_PATCH_MASK,4,2        ; @NVM_OROM_PATCH_MASK
.subsections_via_symbols
