	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_nvm_check_version
_iwl_nvm_check_version:                 ## @iwl_nvm_check_version
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	(%rdi), %rdx
	movq	8(%rdi), %r8
	movq	(%rsi), %rsi
	movq	(%rsi), %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_2
## %bb.1:
	movq	8(%rsi), %r9
	cmpq	%r9, %r8
	jge	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_IWL_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movq	%r8, %rcx
	callq	_IWL_DEBUG_INFO
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device EEPROM VER=0x%x, CALIB=0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unsupported (too old) EEPROM VER=0x%x < 0x%x CALIB=0x%x < 0x%x\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_iwl_nvm_check_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_nvm_check_version
_iwl_nvm_check_version:                 ; @iwl_nvm_check_version
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldr	x9, [x1]
	ldr	x3, [x9]
	ldp	x2, x4, [x0]
	cmp	x2, x3
	b.ge	LBB0_3
; %bb.1:
	ldr	x5, [x9, #8]
	cmp	x4, x5
	b.ge	LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_IWL_ERR
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	x3, x4
	bl	_IWL_DEBUG_INFO
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device EEPROM VER=0x%x, CALIB=0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unsupported (too old) EEPROM VER=0x%x < 0x%x CALIB=0x%x < 0x%x\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_iwl_nvm_check_version
.subsections_via_symbols
