	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_nvmupd_state_reading
_i40e_nvmupd_state_reading:             ## @i40e_nvmupd_state_reading
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rcx, %rdx
	callq	_i40e_nvmupd_validate_command
	cmpl	$130, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_6
LBB0_3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_nvmupd_nvm_read           ## TAILCALL
LBB0_4:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_i40e_nvmupd_nvm_read
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_i40e_release_nvm
	movq	_I40E_NVMUPD_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movl	%ebx, %eax
	jmp	LBB0_5
LBB0_6:
	movq	_I40E_DEBUG_NVM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_i40e_nvm_update_state_str@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %eax
	movl	(%rcx,%rax,4), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_i40e_debug
	movq	_I40E_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%r14)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_NVMUPD_STATE_INIT,4,2     ## @I40E_NVMUPD_STATE_INIT
	.comm	_I40E_DEBUG_NVM,4,2             ## @I40E_DEBUG_NVM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVMUPD: bad cmd %s in reading state.\n"

	.comm	_i40e_nvm_update_state_str,8,3  ## @i40e_nvm_update_state_str
	.comm	_I40E_NOT_SUPPORTED,4,2         ## @I40E_NOT_SUPPORTED
	.comm	_ESRCH,4,2                      ## @ESRCH
	.no_dead_strip	_i40e_nvmupd_state_reading
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_nvmupd_state_reading
_i40e_nvmupd_state_reading:             ; @i40e_nvmupd_state_reading
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x2, x3
	bl	_i40e_nvmupd_validate_command
	cmp	w0, #130
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	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	_i40e_nvmupd_nvm_read
LBB0_4:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_i40e_nvmupd_nvm_read
	mov	x19, x0
	mov	x0, x20
	bl	_i40e_release_nvm
Lloh0:
	adrp	x8, _I40E_NVMUPD_STATE_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_NVMUPD_STATE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _I40E_DEBUG_NVM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_DEBUG_NVM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _i40e_nvm_update_state_str@GOTPAGE
Lloh7:
	ldr	x8, [x8, _i40e_nvm_update_state_str@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w3, [x8, w0, uxtw #2]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_i40e_debug
Lloh11:
	adrp	x8, _I40E_NOT_SUPPORTED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I40E_NOT_SUPPORTED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _ESRCH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19]
LBB0_6:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_NVMUPD_STATE_INIT,4,2     ; @I40E_NVMUPD_STATE_INIT
	.comm	_I40E_DEBUG_NVM,4,2             ; @I40E_DEBUG_NVM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVMUPD: bad cmd %s in reading state.\n"

	.comm	_i40e_nvm_update_state_str,8,3  ; @i40e_nvm_update_state_str
	.comm	_I40E_NOT_SUPPORTED,4,2         ; @I40E_NOT_SUPPORTED
	.comm	_ESRCH,4,2                      ; @ESRCH
	.no_dead_strip	_i40e_nvmupd_state_reading
.subsections_via_symbols
