	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_read_eeprom                ## -- Begin function iwl_read_eeprom
	.p2align	4, 0x90
_iwl_read_eeprom:                       ## @iwl_read_eeprom
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	_CSR_EEPROM_GP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iwl_read32
	movl	$0, -48(%rbp)
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.3:
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_iwl_nvm_is_otp
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_31
## %bb.4:
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %ebx
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_EEPROM
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_kmalloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_iwl_eeprom_verify_signature
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	callq	_iwl_eeprom_acquire_semaphore
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.13:
	movq	%r15, %rdi
	callq	_iwl_init_otp_access
	testl	%eax, %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_17
## %bb.14:
	movl	%eax, %r14d
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	jmp	LBB0_15
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_31
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movl	%r12d, %r14d
	jmp	LBB0_31
LBB0_7:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_IWL_ERR
	movl	%r12d, %r14d
	jmp	LBB0_16
LBB0_9:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	movl	%r12d, %r14d
	jmp	LBB0_16
LBB0_11:
	leaq	L_.str.7(%rip), %rdx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_12
## %bb.25:
	xorl	%ebx, %ebx
	movq	_CSR_EEPROM_REG@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	_CSR_EEPROM_REG_MSK_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movq	%r15, %rdi
	callq	_iwl_write32
	movl	(%r12), %esi
	movq	_CSR_EEPROM_REG_READ_VALID_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IWL_EEPROM_ACCESS_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_iwl_poll_bit
	testl	%eax, %eax
	js	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_iwl_read32
	sarl	$16, %eax
	movl	%eax, %edi
	callq	_cpu_to_le16
	movl	%r13d, %ecx
	shrl	$31, %ecx
	addl	%r13d, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	addl	$4, %r13d
	addl	$8, %ebx
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	jl	LBB0_26
## %bb.29:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_30
LBB0_17:
	movq	_CSR_EEPROM_GP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_iwl_read32
	movq	_CSR_EEPROM_GP_IF_OWNER_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_iwl_write32
	movq	_CSR_OTP_GP_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK@GOTPCREL(%rip), %rax
	movq	_CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_iwl_set_bit
	movq	8(%r15), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_18
LBB0_19:
	leaq	L_.str.6(%rip), %rdx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_30
## %bb.20:
	xorl	%ebx, %ebx
	movl	-48(%rbp), %r12d
	leaq	-72(%rbp), %r13
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%rbx), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_iwl_read_otp_word
	testl	%eax, %eax
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	-72(%rbp), %eax
	movl	%ebx, %ecx
	shrl	$31, %ecx
	addl	%ebx, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	movl	-48(%rbp), %eax
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	leal	(%r12,%rbx), %ecx
	addl	$4, %ecx
	movl	%ebx, %edx
	addl	$4, %edx
	movl	%edx, %ebx
	cmpl	%eax, %ecx
	jl	LBB0_21
## %bb.24:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_30
LBB0_12:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_30:
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	movl	(%r15), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_IWL_DEBUG_EEPROM
	movq	%r15, %rdi
	callq	_iwl_eeprom_release_semaphore
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	jmp	LBB0_31
LBB0_27:
	movl	%eax, %r14d
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_IWL_ERR
	jmp	LBB0_15
LBB0_18:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_iwl_find_otp_image
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_19
LBB0_22:
	movl	%eax, %r14d
LBB0_15:
	movq	%r15, %rdi
	callq	_iwl_eeprom_release_semaphore
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
LBB0_31:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR_EEPROM_GP,4,2              ## @CSR_EEPROM_GP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NVM size = %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"EEPROM not found, EEPROM_GP=0x%08x\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to acquire EEPROM semaphore.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to initialize OTP access.\n"

	.comm	_CSR_EEPROM_GP_IF_OWNER_MSK,4,2 ## @CSR_EEPROM_GP_IF_OWNER_MSK
	.comm	_CSR_OTP_GP_REG,4,2             ## @CSR_OTP_GP_REG
	.comm	_CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK,4,2 ## @CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK
	.comm	_CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK,4,2 ## @CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK
	.comm	_CSR_EEPROM_REG,4,2             ## @CSR_EEPROM_REG
	.comm	_CSR_EEPROM_REG_MSK_ADDR,4,2    ## @CSR_EEPROM_REG_MSK_ADDR
	.comm	_CSR_EEPROM_REG_READ_VALID_MSK,4,2 ## @CSR_EEPROM_REG_READ_VALID_MSK
	.comm	_IWL_EEPROM_ACCESS_TIMEOUT,4,2  ## @IWL_EEPROM_ACCESS_TIMEOUT
L_.str.4:                               ## @.str.4
	.asciz	"Time out reading EEPROM[%d]\n"

L_.str.5:                               ## @.str.5
	.asciz	"NVM Type: %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"OTP"

L_.str.7:                               ## @.str.7
	.asciz	"EEPROM"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_read_eeprom                ; -- Begin function iwl_read_eeprom
	.p2align	2
_iwl_read_eeprom:                       ; @iwl_read_eeprom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x27, _CSR_EEPROM_GP@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CSR_EEPROM_GP@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_iwl_read32
	str	wzr, [sp, #12]
	cbz	x21, LBB0_9
; %bb.1:
	cbz	x22, LBB0_9
; %bb.2:
	mov	x25, x0
	mov	x0, x19
	bl	_iwl_nvm_is_otp
	mov	x24, x0
	tbnz	w0, #31, LBB0_28
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldrsw	x23, [x8]
	ldr	w0, [x19]
	str	x23, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_IWL_DEBUG_EEPROM
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_kmalloc
	cbz	x0, LBB0_11
; %bb.4:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x24
	bl	_iwl_eeprom_verify_signature
	tbnz	w0, #31, LBB0_12
; %bb.5:
	mov	x0, x19
	bl	_iwl_eeprom_acquire_semaphore
	tbnz	w0, #31, LBB0_13
; %bb.6:
	cbz	w24, LBB0_14
; %bb.7:
	mov	x0, x19
	bl	_iwl_init_otp_access
	cbz	w0, LBB0_19
; %bb.8:
	mov	x24, x0
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_9:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_28
LBB0_11:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_10
LBB0_12:
	mov	x26, x0
	str	x25, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
	mov	x24, x26
	b	LBB0_27
LBB0_13:
	mov	x25, x0
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
	mov	x24, x25
	b	LBB0_27
LBB0_14:
	cmp	w23, #1
	b.lt	LBB0_18
; %bb.15:
	mov	w27, #0
	mov	w26, #0
Lloh17:
	adrp	x28, _CSR_EEPROM_REG@GOTPAGE
Lloh18:
	ldr	x28, [x28, _CSR_EEPROM_REG@GOTPAGEOFF]
Lloh19:
	adrp	x25, _IWL_EEPROM_ACCESS_TIMEOUT@GOTPAGE
Lloh20:
	ldr	x25, [x25, _IWL_EEPROM_ACCESS_TIMEOUT@GOTPAGEOFF]
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x28]
Lloh21:
	adrp	x8, _CSR_EEPROM_REG_MSK_ADDR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CSR_EEPROM_REG_MSK_ADDR@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	and	w2, w8, w27
	mov	x0, x19
	bl	_iwl_write32
	ldr	w1, [x28]
Lloh24:
	adrp	x8, _CSR_EEPROM_REG_READ_VALID_MSK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CSR_EEPROM_REG_READ_VALID_MSK@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	ldr	w4, [x25]
	mov	x0, x19
	mov	x3, x2
	bl	_iwl_poll_bit
	tbnz	w0, #31, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w1, [x28]
	mov	x0, x19
	bl	_iwl_read32
	asr	w0, w0, #16
	bl	_cpu_to_le16
	cmp	w26, #0
	cinc	w8, w26, lt
	asr	w8, w8, #1
	str	w0, [x20, w8, sxtw #2]
	add	w26, w26, #4
	add	w27, w27, #8
	cmp	w26, w23
	b.lt	LBB0_16
LBB0_18:
Lloh27:
	adrp	x27, l_.str.7@PAGE
Lloh28:
	add	x27, x27, l_.str.7@PAGEOFF
	b	LBB0_31
LBB0_19:
	ldr	w24, [x27]
	mov	x0, x19
	mov	x1, x24
	bl	_iwl_read32
Lloh29:
	adrp	x8, _CSR_EEPROM_GP_IF_OWNER_MSK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _CSR_EEPROM_GP_IF_OWNER_MSK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x24
	bl	_iwl_write32
Lloh32:
	adrp	x8, _CSR_OTP_GP_REG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CSR_OTP_GP_REG@GOTPAGEOFF]
Lloh34:
	adrp	x9, _CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK@GOTPAGE
Lloh35:
	ldr	x9, [x9, _CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	ldr	w8, [x9]
Lloh38:
	adrp	x9, _CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK@GOTPAGE
Lloh39:
	ldr	x9, [x9, _CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_iwl_set_bit
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_29
LBB0_20:
	cmp	w23, #1
	b.lt	LBB0_30
; %bb.21:
	mov	w25, #0
	ldr	w26, [sp, #12]
Lloh41:
	adrp	x27, l_.str.6@PAGE
Lloh42:
	add	x27, x27, l_.str.6@PAGEOFF
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w26, w25
	add	x2, sp, #8
	mov	x0, x19
	bl	_iwl_read_otp_word
	cbnz	w0, LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [sp, #8]
	cmp	w25, #0
	cinc	w9, w25, lt
	asr	w9, w9, #1
	str	w8, [x20, w9, sxtw #2]
	add	w25, w25, #4
	ldr	w8, [sp, #12]
	add	w8, w8, w23
	add	w9, w26, w25
	cmp	w9, w8
	b.lt	LBB0_22
	b	LBB0_31
LBB0_24:
	mov	x24, x0
	str	x26, [sp]
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_25:
	mov	x0, x19
	bl	_IWL_ERR
LBB0_26:
	mov	x0, x19
	bl	_iwl_eeprom_release_semaphore
LBB0_27:
	mov	x0, x20
	bl	_kfree
LBB0_28:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_29:
	add	x1, sp, #12
	mov	x0, x19
	bl	_iwl_find_otp_image
	mov	x24, x0
	cbnz	w0, LBB0_26
	b	LBB0_20
LBB0_30:
Lloh45:
	adrp	x27, l_.str.6@PAGE
Lloh46:
	add	x27, x27, l_.str.6@PAGEOFF
LBB0_31:
	ldr	w0, [x19]
	str	x27, [sp]
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_IWL_DEBUG_EEPROM
	mov	x0, x19
	bl	_iwl_eeprom_release_semaphore
	mov	w24, #0
	str	x23, [x22]
	str	x20, [x21]
	b	LBB0_28
LBB0_32:
	mov	x24, x0
	b	LBB0_26
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh36
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR_EEPROM_GP,4,2              ; @CSR_EEPROM_GP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NVM size = %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"EEPROM not found, EEPROM_GP=0x%08x\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to acquire EEPROM semaphore.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to initialize OTP access.\n"

	.comm	_CSR_EEPROM_GP_IF_OWNER_MSK,4,2 ; @CSR_EEPROM_GP_IF_OWNER_MSK
	.comm	_CSR_OTP_GP_REG,4,2             ; @CSR_OTP_GP_REG
	.comm	_CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK,4,2 ; @CSR_OTP_GP_REG_ECC_CORR_STATUS_MSK
	.comm	_CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK,4,2 ; @CSR_OTP_GP_REG_ECC_UNCORR_STATUS_MSK
	.comm	_CSR_EEPROM_REG,4,2             ; @CSR_EEPROM_REG
	.comm	_CSR_EEPROM_REG_MSK_ADDR,4,2    ; @CSR_EEPROM_REG_MSK_ADDR
	.comm	_CSR_EEPROM_REG_READ_VALID_MSK,4,2 ; @CSR_EEPROM_REG_READ_VALID_MSK
	.comm	_IWL_EEPROM_ACCESS_TIMEOUT,4,2  ; @IWL_EEPROM_ACCESS_TIMEOUT
l_.str.4:                               ; @.str.4
	.asciz	"Time out reading EEPROM[%d]\n"

l_.str.5:                               ; @.str.5
	.asciz	"NVM Type: %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"OTP"

l_.str.7:                               ; @.str.7
	.asciz	"EEPROM"

.subsections_via_symbols
