	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_spi_dump_regs
_intel_spi_dump_regs:                   ## @intel_spi_dump_regs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	16(%rdi), %ebx
	movq	_BFPREG@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_HSFSTS_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %ebx
	movl	16(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_HSFSTS_CTL_FLOCKDN@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	16(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_2:
	movl	16(%r12), %ebx
	movq	_FADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r12), %ebx
	movq	_DLOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	leaq	L_.str.5(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r12), %r15d
	movq	32(%r12), %r13
	movl	%ebx, %edi
	callq	_FDATA
	addq	%rax, %r13
	movq	%r13, %rdi
	callq	_readl
	movsbl	%al, %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	incl	%ebx
	cmpl	$16, %ebx
	jne	LBB0_3
## %bb.4:
	movl	16(%r12), %ebx
	movq	_FRACC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.5:
	leaq	L_.str.7(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r12), %r15d
	movq	32(%r12), %r13
	movl	%ebx, %edi
	callq	_FREG
	addq	%rax, %r13
	movq	%r13, %rdi
	callq	_readl
	movsbl	%al, %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_6
LBB0_7:
	cmpl	$0, 4(%r12)
	jle	LBB0_10
## %bb.8:
	leaq	L_.str.8(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r12), %r15d
	movq	40(%r12), %r13
	movl	%ebx, %edi
	callq	_PR
	addq	%rax, %r13
	movq	%r13, %rdi
	callq	_readl
	movsbl	%al, %ecx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	incl	%ebx
	cmpl	4(%r12), %ebx
	jl	LBB0_9
LBB0_10:
	movq	_SSFSTS_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	56(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	movl	16(%r12), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r12), %ebx
	movq	_PREOP_OPTYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	56(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.10(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r12), %ebx
	movq	_OPMENU0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	56(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.11(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r12), %ebx
	movq	_OPMENU1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	56(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.12(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	48(%r12), %rax
	movq	(%rax), %rax
	movq	_INTEL_SPI_BYT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movl	16(%r12), %ebx
	movq	_BYT_BCR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.13(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_12:
	movl	16(%r12), %ebx
	movq	_LVSCC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.14(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r12), %ebx
	movq	_UVSCC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	32(%r12), %rdi
	callq	_readl
	movsbl	%al, %edx
	leaq	L_.str.15(%rip), %rsi
	movl	%ebx, %edi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r12), %edi
	leaq	L_.str.16(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$0, 4(%r12)
	jle	LBB0_17
## %bb.13:
	movq	_PR_RPE@GOTPCREL(%rip), %r14
	movl	$46, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%r15d
	cmpl	4(%r12), %r15d
	jge	LBB0_17
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r12), %rbx
	movl	%r15d, %edi
	callq	_PR
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movsbl	%al, %eax
	movq	_PR_WPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r14), %edx
	movl	%edx, %ecx
	orl	%esi, %ecx
	testl	%eax, %ecx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_PR_LIMIT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%eax, %r8d
	movq	_PR_LIMIT_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %r8d
	movq	_PR_BASE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	16(%r12), %edi
	shll	$12, %ecx
	shll	$12, %r8d
	orl	$4095, %r8d                     ## imm = 0xFFF
	testl	%eax, %esi
	movl	$87, %r9d
	cmovel	%r13d, %r9d
	testl	%eax, %edx
	movl	$82, %eax
	cmovel	%r13d, %eax
	movl	%eax, (%rsp)
	leaq	L_.str.17(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_16
LBB0_17:
	movl	16(%r12), %edi
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	cmpl	$0, (%r12)
	jle	LBB0_25
## %bb.18:
	movq	_FREG_LIMIT_MASK@GOTPCREL(%rip), %r15
	movq	_FREG_LIMIT_SHIFT@GOTPCREL(%rip), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	16(%r12), %edi
	leaq	L_.str.19(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	incl	%r13d
	cmpl	(%r12), %r13d
	jge	LBB0_25
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rbx
	movl	%r13d, %edi
	callq	_FREG
	addq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_readl
	movsbl	%al, %r8d
	movq	_FREG_BASE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r8d, %eax
	andl	(%r15), %r8d
	movzbl	(%r14), %ecx
	sarl	%cl, %r8d
	cmpl	%r8d, %eax
	jge	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	testl	%r13d, %r13d
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	testl	%r8d, %r8d
	je	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movl	16(%r12), %edi
	shll	$12, %eax
	shll	$12, %r8d
	orl	$4095, %r8d                     ## imm = 0xFFF
	leaq	L_.str.20(%rip), %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	jmp	LBB0_24
LBB0_25:
	movl	16(%r12), %edi
	cmpq	$0, 24(%r12)
	movl	$72, %r14d
	movl	$83, %ebx
	movl	$83, %edx
	cmovel	%r14d, %edx
	leaq	L_.str.21(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	16(%r12), %edi
	cmpq	$0, 8(%r12)
	cmovel	%r14d, %ebx
	leaq	L_.str.22(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BFPREG=0x%08x\n"

	.comm	_BFPREG,8,3                     ## @BFPREG
	.comm	_HSFSTS_CTL,8,3                 ## @HSFSTS_CTL
L_.str.1:                               ## @.str.1
	.asciz	"HSFSTS_CTL=0x%08x\n"

	.comm	_HSFSTS_CTL_FLOCKDN,4,2         ## @HSFSTS_CTL_FLOCKDN
L_.str.2:                               ## @.str.2
	.asciz	"-> Locked\n"

L_.str.3:                               ## @.str.3
	.asciz	"FADDR=0x%08x\n"

	.comm	_FADDR,8,3                      ## @FADDR
L_.str.4:                               ## @.str.4
	.asciz	"DLOCK=0x%08x\n"

	.comm	_DLOCK,8,3                      ## @DLOCK
L_.str.5:                               ## @.str.5
	.asciz	"FDATA(%d)=0x%08x\n"

L_.str.6:                               ## @.str.6
	.asciz	"FRACC=0x%08x\n"

	.comm	_FRACC,8,3                      ## @FRACC
L_.str.7:                               ## @.str.7
	.asciz	"FREG(%d)=0x%08x\n"

L_.str.8:                               ## @.str.8
	.asciz	"PR(%d)=0x%08x\n"

	.comm	_SSFSTS_CTL,8,3                 ## @SSFSTS_CTL
L_.str.9:                               ## @.str.9
	.asciz	"SSFSTS_CTL=0x%08x\n"

L_.str.10:                              ## @.str.10
	.asciz	"PREOP_OPTYPE=0x%08x\n"

	.comm	_PREOP_OPTYPE,8,3               ## @PREOP_OPTYPE
L_.str.11:                              ## @.str.11
	.asciz	"OPMENU0=0x%08x\n"

	.comm	_OPMENU0,8,3                    ## @OPMENU0
L_.str.12:                              ## @.str.12
	.asciz	"OPMENU1=0x%08x\n"

	.comm	_OPMENU1,8,3                    ## @OPMENU1
	.comm	_INTEL_SPI_BYT,8,3              ## @INTEL_SPI_BYT
L_.str.13:                              ## @.str.13
	.asciz	"BCR=0x%08x\n"

	.comm	_BYT_BCR,8,3                    ## @BYT_BCR
L_.str.14:                              ## @.str.14
	.asciz	"LVSCC=0x%08x\n"

	.comm	_LVSCC,8,3                      ## @LVSCC
L_.str.15:                              ## @.str.15
	.asciz	"UVSCC=0x%08x\n"

	.comm	_UVSCC,8,3                      ## @UVSCC
L_.str.16:                              ## @.str.16
	.asciz	"Protected regions:\n"

	.comm	_PR_WPE,4,2                     ## @PR_WPE
	.comm	_PR_RPE,4,2                     ## @PR_RPE
	.comm	_PR_LIMIT_MASK,4,2              ## @PR_LIMIT_MASK
	.comm	_PR_LIMIT_SHIFT,4,2             ## @PR_LIMIT_SHIFT
	.comm	_PR_BASE_MASK,4,2               ## @PR_BASE_MASK
L_.str.17:                              ## @.str.17
	.asciz	" %02d base: 0x%08x limit: 0x%08x [%c%c]\n"

L_.str.18:                              ## @.str.18
	.asciz	"Flash regions:\n"

	.comm	_FREG_BASE_MASK,4,2             ## @FREG_BASE_MASK
	.comm	_FREG_LIMIT_MASK,4,2            ## @FREG_LIMIT_MASK
	.comm	_FREG_LIMIT_SHIFT,4,2           ## @FREG_LIMIT_SHIFT
L_.str.19:                              ## @.str.19
	.asciz	" %02d disabled\n"

L_.str.20:                              ## @.str.20
	.asciz	" %02d base: 0x%08x limit: 0x%08x\n"

L_.str.21:                              ## @.str.21
	.asciz	"Using %cW sequencer for register access\n"

L_.str.22:                              ## @.str.22
	.asciz	"Using %cW sequencer for erase operation\n"

	.no_dead_strip	_intel_spi_dump_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_spi_dump_regs
_intel_spi_dump_regs:                   ; @intel_spi_dump_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
	ldr	w20, [x0, #16]
	ldr	x8, [x0, #32]
Lloh0:
	adrp	x9, _BFPREG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BFPREG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	x8, [x19, #32]
Lloh5:
	adrp	x9, _HSFSTS_CTL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HSFSTS_CTL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	ldr	w0, [x19, #16]
	sxtw	x8, w20
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
Lloh10:
	adrp	x8, _HSFSTS_CTL_FLOCKDN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HSFSTS_CTL_FLOCKDN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
LBB0_2:
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #32]
Lloh15:
	adrp	x9, _FADDR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _FADDR@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #32]
Lloh20:
	adrp	x9, _DLOCK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DLOCK@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	mov	w20, #0
Lloh25:
	adrp	x21, l_.str.5@PAGE
Lloh26:
	add	x21, x21, l_.str.5@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x19, #16]
	ldr	x23, [x19, #32]
	mov	x0, x20
	bl	_FDATA
	add	x0, x0, x23
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	stp	x20, x8, [sp]
	mov	x0, x22
	mov	x1, x21
	bl	_dev_dbg
	add	w20, w20, #1
	cmp	w20, #16
	b.ne	LBB0_3
; %bb.4:
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #32]
Lloh27:
	adrp	x9, _FRACC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FRACC@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w20, #0
Lloh32:
	adrp	x21, l_.str.7@PAGE
Lloh33:
	add	x21, x21, l_.str.7@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x19, #16]
	ldr	x23, [x19, #32]
	mov	x0, x20
	bl	_FREG
	add	x0, x0, x23
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	stp	x20, x8, [sp]
	mov	x0, x22
	mov	x1, x21
	bl	_dev_dbg
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lt	LBB0_6
LBB0_7:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w20, #0
Lloh34:
	adrp	x21, l_.str.8@PAGE
Lloh35:
	add	x21, x21, l_.str.8@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x19, #16]
	ldr	x23, [x19, #40]
	mov	x0, x20
	bl	_PR
	add	x0, x0, x23
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	stp	x20, x8, [sp]
	mov	x0, x22
	mov	x1, x21
	bl	_dev_dbg
	add	w20, w20, #1
	ldr	w8, [x19, #4]
	cmp	w20, w8
	b.lt	LBB0_9
LBB0_10:
	ldr	x8, [x19, #56]
Lloh36:
	adrp	x9, _SSFSTS_CTL@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SSFSTS_CTL@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19, #16]
	sxtw	x9, w0
	str	x9, [sp]
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x8
	bl	_dev_dbg
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #56]
Lloh41:
	adrp	x9, _PREOP_OPTYPE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _PREOP_OPTYPE@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh44:
	adrp	x1, l_.str.10@PAGE
Lloh45:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #56]
Lloh46:
	adrp	x9, _OPMENU0@GOTPAGE
Lloh47:
	ldr	x9, [x9, _OPMENU0@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh49:
	adrp	x1, l_.str.11@PAGE
Lloh50:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #56]
Lloh51:
	adrp	x9, _OPMENU1@GOTPAGE
Lloh52:
	ldr	x9, [x9, _OPMENU1@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh54:
	adrp	x1, l_.str.12@PAGE
Lloh55:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	x8, [x19, #48]
	ldr	x8, [x8]
Lloh56:
	adrp	x9, _INTEL_SPI_BYT@GOTPAGE
Lloh57:
	ldr	x9, [x9, _INTEL_SPI_BYT@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #32]
Lloh59:
	adrp	x9, _BYT_BCR@GOTPAGE
Lloh60:
	ldr	x9, [x9, _BYT_BCR@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh62:
	adrp	x1, l_.str.13@PAGE
Lloh63:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_12:
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #32]
Lloh64:
	adrp	x9, _LVSCC@GOTPAGE
Lloh65:
	ldr	x9, [x9, _LVSCC@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh67:
	adrp	x1, l_.str.14@PAGE
Lloh68:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w20, [x19, #16]
	ldr	x8, [x19, #32]
Lloh69:
	adrp	x9, _UVSCC@GOTPAGE
Lloh70:
	ldr	x9, [x9, _UVSCC@GOTPAGEOFF]
Lloh71:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp]
Lloh72:
	adrp	x1, l_.str.15@PAGE
Lloh73:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w0, [x19, #16]
Lloh74:
	adrp	x1, l_.str.16@PAGE
Lloh75:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.13:
	mov	w20, #0
Lloh76:
	adrp	x22, _PR_WPE@GOTPAGE
Lloh77:
	ldr	x22, [x22, _PR_WPE@GOTPAGEOFF]
Lloh78:
	adrp	x23, _PR_RPE@GOTPAGE
Lloh79:
	ldr	x23, [x23, _PR_RPE@GOTPAGEOFF]
Lloh80:
	adrp	x26, _PR_LIMIT_SHIFT@GOTPAGE
Lloh81:
	ldr	x26, [x26, _PR_LIMIT_SHIFT@GOTPAGEOFF]
	mov	w27, #46
	mov	w28, #87
Lloh82:
	adrp	x24, _PR_BASE_MASK@GOTPAGE
Lloh83:
	ldr	x24, [x24, _PR_BASE_MASK@GOTPAGEOFF]
Lloh84:
	adrp	x21, l_.str.17@PAGE
Lloh85:
	add	x21, x21, l_.str.17@PAGEOFF
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w20, w20, #1
	ldr	w8, [x19, #4]
	cmp	w20, w8
	b.ge	LBB0_17
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19, #40]
	mov	x0, x20
	bl	_PR
	add	x0, x0, x25
	bl	_readl
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w8, w10, w9
	tst	w8, w0
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh86:
	adrp	x8, _PR_LIMIT_MASK@GOTPAGE
Lloh87:
	ldr	x8, [x8, _PR_LIMIT_MASK@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	w11, [x26]
	asr	w11, w8, w11
	ldr	w8, [x24]
	and	w12, w8, w0
	ldr	w8, [x19, #16]
	lsl	w12, w12, #12
	mov	w13, #4095
	bfi	w13, w11, #12, #20
	tst	w10, w0
	mov	w10, #82
	csel	x10, x27, x10, eq
	tst	w9, w0
	csel	x9, x27, x28, eq
	stp	x20, x12, [sp]
	stp	x9, x10, [sp, #24]
	str	x13, [sp, #16]
	mov	x0, x8
	mov	x1, x21
	bl	_dev_dbg
	b	LBB0_14
LBB0_17:
	ldr	w0, [x19, #16]
Lloh89:
	adrp	x1, l_.str.18@PAGE
Lloh90:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.18:
	mov	w20, #0
Lloh91:
	adrp	x23, _FREG_BASE_MASK@GOTPAGE
Lloh92:
	ldr	x23, [x23, _FREG_BASE_MASK@GOTPAGEOFF]
Lloh93:
	adrp	x24, _FREG_LIMIT_MASK@GOTPAGE
Lloh94:
	ldr	x24, [x24, _FREG_LIMIT_MASK@GOTPAGEOFF]
Lloh95:
	adrp	x25, _FREG_LIMIT_SHIFT@GOTPAGE
Lloh96:
	ldr	x25, [x25, _FREG_LIMIT_SHIFT@GOTPAGEOFF]
Lloh97:
	adrp	x21, l_.str.20@PAGE
Lloh98:
	add	x21, x21, l_.str.20@PAGEOFF
Lloh99:
	adrp	x22, l_.str.19@PAGE
Lloh100:
	add	x22, x22, l_.str.19@PAGEOFF
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w0, [x19, #16]
	str	x20, [sp]
	mov	x1, x22
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	bl	_dev_dbg
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.ge	LBB0_25
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x19, #32]
	mov	x0, x20
	bl	_FREG
	add	x0, x0, x26
	bl	_readl
	ldr	w8, [x23]
	and	w8, w8, w0
	ldr	w9, [x24]
	and	w9, w9, w0
	ldr	w10, [x25]
	asr	w9, w9, w10
	cmp	w8, w9
	b.ge	LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	cbz	w20, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	cbz	w9, LBB0_19
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w0, [x19, #16]
	lsl	w8, w8, #12
	mov	w10, #4095
	bfi	w10, w9, #12, #20
	stp	x8, x10, [sp, #8]
	mov	x9, x20
	str	x9, [sp]
	mov	x1, x21
	b	LBB0_20
LBB0_25:
	ldr	w0, [x19, #16]
	ldr	x8, [x19, #24]
	mov	w20, #83
	mov	w21, #72
	cmp	x8, #0
	csel	x8, x21, x20, eq
	str	x8, [sp]
Lloh101:
	adrp	x1, l_.str.21@PAGE
Lloh102:
	add	x1, x1, l_.str.21@PAGEOFF
	bl	_dev_dbg
	ldr	w0, [x19, #16]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	csel	x8, x21, x20, eq
	str	x8, [sp]
Lloh103:
	adrp	x1, l_.str.22@PAGE
Lloh104:
	add	x1, x1, l_.str.22@PAGEOFF
	bl	_dev_dbg
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BFPREG=0x%08x\n"

	.comm	_BFPREG,8,3                     ; @BFPREG
	.comm	_HSFSTS_CTL,8,3                 ; @HSFSTS_CTL
l_.str.1:                               ; @.str.1
	.asciz	"HSFSTS_CTL=0x%08x\n"

	.comm	_HSFSTS_CTL_FLOCKDN,4,2         ; @HSFSTS_CTL_FLOCKDN
l_.str.2:                               ; @.str.2
	.asciz	"-> Locked\n"

l_.str.3:                               ; @.str.3
	.asciz	"FADDR=0x%08x\n"

	.comm	_FADDR,8,3                      ; @FADDR
l_.str.4:                               ; @.str.4
	.asciz	"DLOCK=0x%08x\n"

	.comm	_DLOCK,8,3                      ; @DLOCK
l_.str.5:                               ; @.str.5
	.asciz	"FDATA(%d)=0x%08x\n"

l_.str.6:                               ; @.str.6
	.asciz	"FRACC=0x%08x\n"

	.comm	_FRACC,8,3                      ; @FRACC
l_.str.7:                               ; @.str.7
	.asciz	"FREG(%d)=0x%08x\n"

l_.str.8:                               ; @.str.8
	.asciz	"PR(%d)=0x%08x\n"

	.comm	_SSFSTS_CTL,8,3                 ; @SSFSTS_CTL
l_.str.9:                               ; @.str.9
	.asciz	"SSFSTS_CTL=0x%08x\n"

l_.str.10:                              ; @.str.10
	.asciz	"PREOP_OPTYPE=0x%08x\n"

	.comm	_PREOP_OPTYPE,8,3               ; @PREOP_OPTYPE
l_.str.11:                              ; @.str.11
	.asciz	"OPMENU0=0x%08x\n"

	.comm	_OPMENU0,8,3                    ; @OPMENU0
l_.str.12:                              ; @.str.12
	.asciz	"OPMENU1=0x%08x\n"

	.comm	_OPMENU1,8,3                    ; @OPMENU1
	.comm	_INTEL_SPI_BYT,8,3              ; @INTEL_SPI_BYT
l_.str.13:                              ; @.str.13
	.asciz	"BCR=0x%08x\n"

	.comm	_BYT_BCR,8,3                    ; @BYT_BCR
l_.str.14:                              ; @.str.14
	.asciz	"LVSCC=0x%08x\n"

	.comm	_LVSCC,8,3                      ; @LVSCC
l_.str.15:                              ; @.str.15
	.asciz	"UVSCC=0x%08x\n"

	.comm	_UVSCC,8,3                      ; @UVSCC
l_.str.16:                              ; @.str.16
	.asciz	"Protected regions:\n"

	.comm	_PR_WPE,4,2                     ; @PR_WPE
	.comm	_PR_RPE,4,2                     ; @PR_RPE
	.comm	_PR_LIMIT_MASK,4,2              ; @PR_LIMIT_MASK
	.comm	_PR_LIMIT_SHIFT,4,2             ; @PR_LIMIT_SHIFT
	.comm	_PR_BASE_MASK,4,2               ; @PR_BASE_MASK
l_.str.17:                              ; @.str.17
	.asciz	" %02d base: 0x%08x limit: 0x%08x [%c%c]\n"

l_.str.18:                              ; @.str.18
	.asciz	"Flash regions:\n"

	.comm	_FREG_BASE_MASK,4,2             ; @FREG_BASE_MASK
	.comm	_FREG_LIMIT_MASK,4,2            ; @FREG_LIMIT_MASK
	.comm	_FREG_LIMIT_SHIFT,4,2           ; @FREG_LIMIT_SHIFT
l_.str.19:                              ; @.str.19
	.asciz	" %02d disabled\n"

l_.str.20:                              ; @.str.20
	.asciz	" %02d base: 0x%08x limit: 0x%08x\n"

l_.str.21:                              ; @.str.21
	.asciz	"Using %cW sequencer for register access\n"

l_.str.22:                              ; @.str.22
	.asciz	"Using %cW sequencer for erase operation\n"

	.no_dead_strip	_intel_spi_dump_regs
.subsections_via_symbols
