	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_flash_skyhawk
_be_flash_skyhawk:                      ## @be_flash_skyhawk
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdx
	movq	(%rdi), %r15
	leal	4(,%rbx,4), %esi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	callq	_get_fsec_info
	testq	%rax, %rax
	je	LBB0_37
## %bb.1:
	movq	%rax, %r14
	movl	8(%rax), %edi
	callq	_le32_to_cpu
	testl	%eax, %eax
	jle	LBB0_26
## %bb.2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	shll	$2, %ebx
	movslq	%ebx, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_4
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=2
	testl	%r15d, %r15d
	jne	LBB0_28
LBB0_25:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%r12
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r12
	jge	LBB0_26
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r14), %rax
	movl	12(%rax,%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movq	(%r14), %rax
	movl	8(%rax,%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rax
	movl	4(%rax,%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rax
	movq	(%rax,%rbx), %rdi
	movq	8(%rax,%rbx), %rsi
	callq	_be_get_img_optype
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_25
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%eax, %esi
	movl	%eax, %r10d
	testb	$1, -88(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_OPTYPE_OFFSET_SPECIFIED@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r14), %rax
	movl	(%rax,%rbx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rsi
	leaq	-76(%rbp), %rax
	movq	%rax, (%rsp)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	movl	%r15d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movl	%r10d, %r13d
	movl	%r10d, %r9d
	callq	_be_check_flash_crc
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_base_status
	movq	_MCC_STATUS_ILLEGAL_REQUEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	%r15d, %edi
	callq	_base_status
	movq	_MCC_STATUS_ILLEGAL_FIELD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=2
	testl	%r15d, %r15d
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$0, -76(%rbp)
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	movl	%r13d, %r10d
	jne	LBB0_25
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	8(%rdx), %r11
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%r11,%rax,4), %rax
	movslq	%r15d, %rcx
	leaq	(%rax,%rcx,4), %r9
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movslq	%r8d, %rdi
	leaq	(%r9,%rdi,4), %r9
	addq	$16, %r9
	movslq	(%rdx), %rdi
	leaq	(%r11,%rdi,4), %rdx
	cmpq	%rdx, %r9
	ja	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=2
	leaq	(%rax,%rcx,4), %rsi
	addq	$16, %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	%r10d, %ecx
	movl	%r15d, %r9d
	movl	%r10d, %r13d
	callq	_be_flash
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_base_status
	movq	_MCC_STATUS_ILLEGAL_FIELD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	_OPTYPE_OFFSET_SPECIFIED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	je	LBB0_11
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$65535, -68(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0xFFFF
	jne	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	%r15d, %edi
	callq	_base_status
	movq	_MCC_STATUS_ILLEGAL_FIELD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	_OPTYPE_UFI_DIR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_27
## %bb.23:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	%r15d, %edi
	callq	_base_status
	testl	%r15d, %r15d
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	_MCC_STATUS_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
	jmp	LBB0_28
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_OPTYPE_OFFSET_SPECIFIED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	xorl	%ebx, %ebx
	movb	$1, %cl
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jg	LBB0_3
	jmp	LBB0_36
LBB0_26:
	xorl	%ebx, %ebx
	jmp	LBB0_36
LBB0_37:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
LBB0_33:
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_35:
	subl	(%rax), %ebx
LBB0_36:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movl	$-1, %ebx
	jmp	LBB0_36
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_28:
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	-72(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r15d, %edi
	callq	_addl_status
	cmpl	$129, %eax
	je	LBB0_31
## %bb.29:
	cmpl	$128, %eax
	jne	LBB0_34
## %bb.30:
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_32
LBB0_31:
	leaq	L_.str.6(%rip), %rsi
LBB0_32:
	movq	%r14, %rdi
	jmp	LBB0_33
LBB0_34:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_35
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_35
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Cookie. FW image may be corrupted\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OPTYPE_OFFSET_SPECIFIED,4,2    ## @OPTYPE_OFFSET_SPECIFIED
	.comm	_MCC_STATUS_ILLEGAL_REQUEST,8,3 ## @MCC_STATUS_ILLEGAL_REQUEST
	.comm	_MCC_STATUS_ILLEGAL_FIELD,8,3   ## @MCC_STATUS_ILLEGAL_FIELD
L_.str.1:                               ## @.str.1
	.asciz	"Flash incomplete. Reset the server\n"

L_.str.2:                               ## @.str.2
	.asciz	"Download FW image again after reset\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.3:                               ## @.str.3
	.asciz	"Could not get CRC for 0x%x region\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_OPTYPE_UFI_DIR,4,2             ## @OPTYPE_UFI_DIR
	.comm	_MCC_STATUS_FAILED,8,3          ## @MCC_STATUS_FAILED
L_.str.4:                               ## @.str.4
	.asciz	"Flashing section type 0x%x failed\n"

L_.str.5:                               ## @.str.5
	.asciz	"Digital signature missing in FW\n"

L_.str.6:                               ## @.str.6
	.asciz	"Invalid digital signature in FW\n"

	.no_dead_strip	_be_flash_skyhawk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_flash_skyhawk
_be_flash_skyhawk:                      ; @be_flash_skyhawk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	x2, [sp, #48]                   ; 8-byte Folded Spill
	mov	x2, x1
	lsl	w19, w3, #2
	ldr	x20, [x0]
	add	w1, w19, #4
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	str	w1, [sp, #36]                   ; 4-byte Folded Spill
	str	x2, [sp, #40]                   ; 8-byte Folded Spill
	bl	_get_fsec_info
	cbz	x0, LBB0_22
; %bb.1:
	mov	x24, x0
	ldr	w0, [x0, #8]
	bl	_le32_to_cpu
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.2:
	str	wzr, [sp, #60]                  ; 4-byte Folded Spill
	sxtw	x8, w19
	stp	x20, x8, [sp, #16]              ; 16-byte Folded Spill
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x22, #0
	mov	x23, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w27, LBB0_28
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x23, x23, #1
	ldr	w0, [x24, #8]
	bl	_le32_to_cpu
	add	x22, x22, #16
	cmp	x23, w0, sxtw
	b.ge	LBB0_21
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	add	x8, x8, x22
	ldr	w0, [x8, #12]
	bl	_le32_to_cpu
	mov	x27, x0
	ldr	x8, [x24]
	add	x8, x8, x22
	ldr	w0, [x8, #8]
	bl	_le32_to_cpu
	mov	x28, x0
	ldr	x8, [x24]
	add	x8, x8, x22
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	mov	x25, x0
	ldr	x8, [x24]
	add	x8, x8, x22
	ldp	x0, x1, [x8]
	bl	_be_get_img_optype
	mov	w8, #65535
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x26, x0
	ldr	x8, [x24]
	ldr	w21, [x8, x22]
Lloh0:
	adrp	x8, _OPTYPE_OFFSET_SPECIFIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPTYPE_OFFSET_SPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	tst	w9, #0x1
	csel	w19, w0, w8, ne
	mov	w8, #65535
	cmp	w21, w8
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x1, [x20, #8]
	add	x6, sp, #76
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	mov	x2, x27
	mov	x3, x28
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	mov	x5, x19
	bl	_be_check_flash_crc
	mov	x20, x0
	bl	_base_status
Lloh3:
	adrp	x8, _MCC_STATUS_ILLEGAL_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MCC_STATUS_ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x20
	bl	_base_status
Lloh6:
	adrp	x8, _MCC_STATUS_ILLEGAL_FIELD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MCC_STATUS_ILLEGAL_FIELD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	cbnz	w20, LBB0_27
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [sp, #76]
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	cbnz	w8, LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x20, #8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x8, x9, lsl #2
	add	x9, x9, w27, sxtw #2
	add	x1, x9, #16
	add	x9, x1, w28, sxtw #2
	ldrsw	x10, [x20]
	add	x8, x8, x10, lsl #2
	cmp	x9, x8
	b.hi	LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	mov	x3, x19
	mov	x4, x28
	mov	x5, x27
	bl	_be_flash
	mov	x27, x0
	bl	_base_status
Lloh9:
	adrp	x8, _MCC_STATUS_ILLEGAL_FIELD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MCC_STATUS_ILLEGAL_FIELD@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _OPTYPE_OFFSET_SPECIFIED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _OPTYPE_OFFSET_SPECIFIED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	x0, x8
	ccmp	w19, w9, #0, eq
	b.eq	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	w8, #65535
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x27
	bl	_base_status
Lloh15:
	adrp	x8, _MCC_STATUS_ILLEGAL_FIELD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MCC_STATUS_ILLEGAL_FIELD@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=2
Lloh18:
	adrp	x8, _OPTYPE_UFI_DIR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OPTYPE_UFI_DIR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ne	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x27
	bl	_base_status
	cbz	w27, LBB0_5
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=2
Lloh21:
	adrp	x8, _MCC_STATUS_FAILED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MCC_STATUS_FAILED@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
	b	LBB0_28
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh24:
	adrp	x8, _OPTYPE_OFFSET_SPECIFIED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _OPTYPE_OFFSET_SPECIFIED@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w19, w8
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	b.ne	LBB0_34
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x24, #8]
	bl	_le32_to_cpu
	mov	x8, x0
	mov	w0, #0
	mov	w9, #1
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	cmp	w8, #0
	b.gt	LBB0_3
	b	LBB0_25
LBB0_21:
	mov	w0, #0
	b	LBB0_25
LBB0_22:
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
LBB0_23:
	bl	_dev_err
Lloh29:
	adrp	x8, _EINVAL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_25:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_26:
	mov	w0, #-1
	b	LBB0_25
LBB0_27:
	str	x26, [sp]
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_dev_err
	b	LBB0_31
LBB0_28:
	str	x25, [sp]
Lloh33:
	adrp	x1, l_.str.4@PAGE
Lloh34:
	add	x1, x1, l_.str.4@PAGEOFF
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_dev_err
	mov	x0, x27
	bl	_addl_status
	cmp	w0, #129
	b.eq	LBB0_32
; %bb.29:
	cmp	w0, #128
	b.ne	LBB0_31
; %bb.30:
Lloh35:
	adrp	x1, l_.str.5@PAGE
Lloh36:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_33
LBB0_31:
Lloh37:
	adrp	x8, _EFAULT@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_24
LBB0_32:
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_33:
	mov	x0, x19
	b	LBB0_23
LBB0_34:
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_dev_err
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh45:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Cookie. FW image may be corrupted\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OPTYPE_OFFSET_SPECIFIED,4,2    ; @OPTYPE_OFFSET_SPECIFIED
	.comm	_MCC_STATUS_ILLEGAL_REQUEST,8,3 ; @MCC_STATUS_ILLEGAL_REQUEST
	.comm	_MCC_STATUS_ILLEGAL_FIELD,8,3   ; @MCC_STATUS_ILLEGAL_FIELD
l_.str.1:                               ; @.str.1
	.asciz	"Flash incomplete. Reset the server\n"

l_.str.2:                               ; @.str.2
	.asciz	"Download FW image again after reset\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.3:                               ; @.str.3
	.asciz	"Could not get CRC for 0x%x region\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_OPTYPE_UFI_DIR,4,2             ; @OPTYPE_UFI_DIR
	.comm	_MCC_STATUS_FAILED,8,3          ; @MCC_STATUS_FAILED
l_.str.4:                               ; @.str.4
	.asciz	"Flashing section type 0x%x failed\n"

l_.str.5:                               ; @.str.5
	.asciz	"Digital signature missing in FW\n"

l_.str.6:                               ; @.str.6
	.asciz	"Invalid digital signature in FW\n"

	.no_dead_strip	_be_flash_skyhawk
.subsections_via_symbols
