	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_flash_BEx
_be_flash_BEx:                          ## @be_flash_BEx
	.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	$936, %rsp                      ## imm = 0x3A8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -944(%rbp)                ## 8-byte Spill
	movq	%rdx, -968(%rbp)                ## 8-byte Spill
	movq	%rsi, -936(%rbp)                ## 8-byte Spill
	movq	%rdi, -960(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FLASH_iSCSI_PRIMARY_IMAGE_START_g3@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -528(%rbp)
	movq	_OPTYPE_ISCSI_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	%r11, -520(%rbp)
	movq	_FLASH_IMAGE_MAX_SIZE_g3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -512(%rbp)
	movq	_IMAGE_FIRMWARE_iSCSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%ebx, -508(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -504(%rbp)
	movl	$0, -488(%rbp)
	movq	_FLASH_REDBOOT_START_g3@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, -480(%rbp)
	movq	_OPTYPE_REDBOOT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -928(%rbp)                ## 8-byte Spill
	movq	%rcx, -472(%rbp)
	movq	_FLASH_REDBOOT_IMAGE_MAX_SIZE_g3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -464(%rbp)
	movq	_IMAGE_BOOT_CODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -916(%rbp)                ## 4-byte Spill
	movl	%ecx, -460(%rbp)
	movups	%xmm0, -456(%rbp)
	movl	$0, -440(%rbp)
	movq	_FLASH_iSCSI_BIOS_START_g3@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, -432(%rbp)
	movq	_OPTYPE_BIOS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -952(%rbp)                ## 8-byte Spill
	movq	%rcx, -424(%rbp)
	movq	_FLASH_BIOS_IMAGE_MAX_SIZE_g3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -416(%rbp)
	movq	_IMAGE_OPTION_ROM_ISCSI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	%edi, -412(%rbp)
	movups	%xmm0, -408(%rbp)
	movl	$0, -392(%rbp)
	movq	_FLASH_PXE_BIOS_START_g3@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movq	%rdx, -384(%rbp)
	movq	_OPTYPE_PXE_BIOS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r12
	movq	%r12, -376(%rbp)
	movl	%ecx, -368(%rbp)
	movq	_IMAGE_OPTION_ROM_PXE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r13d
	movl	%r13d, -364(%rbp)
	movups	%xmm0, -360(%rbp)
	movl	$0, -344(%rbp)
	movq	_FLASH_FCoE_BIOS_START_g3@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	movq	%rdx, -336(%rbp)
	movq	_OPTYPE_FCOE_BIOS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r14
	movq	%r14, -328(%rbp)
	movl	%ecx, -320(%rbp)
	movq	_IMAGE_OPTION_ROM_FCoE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movl	%r10d, -316(%rbp)
	movups	%xmm0, -312(%rbp)
	movl	$0, -296(%rbp)
	movq	_FLASH_iSCSI_BACKUP_IMAGE_START_g3@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, -288(%rbp)
	movq	_OPTYPE_ISCSI_BACKUP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	%r9, -280(%rbp)
	movl	%eax, -272(%rbp)
	movq	_IMAGE_FIRMWARE_BACKUP_iSCSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%r8d, -268(%rbp)
	movups	%xmm0, -264(%rbp)
	movl	$0, -248(%rbp)
	movq	_FLASH_FCoE_PRIMARY_IMAGE_START_g3@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, -240(%rbp)
	movq	_OPTYPE_FCOE_FW_ACTIVE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	movq	%r15, -232(%rbp)
	movl	%eax, -224(%rbp)
	movq	_IMAGE_FIRMWARE_FCoE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, -220(%rbp)
	movups	%xmm0, -216(%rbp)
	movl	$0, -200(%rbp)
	movq	_FLASH_FCoE_BACKUP_IMAGE_START_g3@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, -192(%rbp)
	movq	_OPTYPE_FCOE_FW_BACKUP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, -184(%rbp)
	movl	%eax, -176(%rbp)
	movq	_IMAGE_FIRMWARE_BACKUP_FCoE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -172(%rbp)
	movups	%xmm0, -168(%rbp)
	movl	$0, -152(%rbp)
	movq	_FLASH_NCSI_START_g3@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -144(%rbp)
	movq	_OPTYPE_NCSI_FW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -136(%rbp)
	movq	_FLASH_NCSI_IMAGE_MAX_SIZE_g3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movq	_IMAGE_NCSI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	movups	%xmm0, -120(%rbp)
	movl	$0, -104(%rbp)
	movq	_FLASH_PHY_FW_START_g3@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	_OPTYPE_PHY_FW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	_FLASH_PHY_FW_IMAGE_MAX_SIZE_g3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_IMAGE_FIRMWARE_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_FLASH_iSCSI_PRIMARY_IMAGE_START_g2@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -912(%rbp)
	movq	%r11, -904(%rbp)
	movq	_FLASH_IMAGE_MAX_SIZE_g2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -896(%rbp)
	movl	%ebx, -892(%rbp)
	movups	%xmm0, -888(%rbp)
	movl	$0, -872(%rbp)
	movq	_FLASH_REDBOOT_START_g2@GOTPCREL(%rip), %r11
	movslq	(%r11), %rbx
	movq	%rbx, -864(%rbp)
	movq	-928(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, -856(%rbp)
	movq	_FLASH_REDBOOT_IMAGE_MAX_SIZE_g2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%ebx, -848(%rbp)
	movl	-916(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, -844(%rbp)
	movups	%xmm0, -840(%rbp)
	movl	$0, -824(%rbp)
	movq	_FLASH_iSCSI_BIOS_START_g2@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rbx
	movq	%rbx, -816(%rbp)
	movq	-952(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, -808(%rbp)
	movq	_FLASH_BIOS_IMAGE_MAX_SIZE_g2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	movl	%ebx, -800(%rbp)
	movl	%edi, -796(%rbp)
	movups	%xmm0, -792(%rbp)
	movl	$0, -776(%rbp)
	movq	_FLASH_PXE_BIOS_START_g2@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	movq	%rdi, -768(%rbp)
	movq	%r12, -760(%rbp)
	movl	%ebx, -752(%rbp)
	movl	%r13d, -748(%rbp)
	movups	%xmm0, -744(%rbp)
	movl	$0, -728(%rbp)
	movq	_FLASH_FCoE_BIOS_START_g2@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	movq	%rdi, -720(%rbp)
	movq	%r14, -712(%rbp)
	movl	%ebx, -704(%rbp)
	movl	%r10d, -700(%rbp)
	movups	%xmm0, -696(%rbp)
	movl	$0, -680(%rbp)
	movq	_FLASH_iSCSI_BACKUP_IMAGE_START_g2@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	movq	%rdi, -672(%rbp)
	movq	%r9, -664(%rbp)
	movl	%eax, -656(%rbp)
	movl	%r8d, -652(%rbp)
	movups	%xmm0, -648(%rbp)
	movl	$0, -632(%rbp)
	movq	_FLASH_FCoE_PRIMARY_IMAGE_START_g2@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	movq	%rdi, -624(%rbp)
	movq	%r15, -616(%rbp)
	movq	-944(%rbp), %r15                ## 8-byte Reload
	movq	-960(%rbp), %r13                ## 8-byte Reload
	movl	%eax, -608(%rbp)
	movl	%esi, -604(%rbp)
	movups	%xmm0, -600(%rbp)
	movl	$0, -584(%rbp)
	movq	_FLASH_FCoE_BACKUP_IMAGE_START_g2@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	movq	%rsi, -576(%rbp)
	movq	%rdx, -568(%rbp)
	movl	%eax, -560(%rbp)
	movl	%ecx, -556(%rbp)
	movups	%xmm0, -72(%rbp)
	movl	$0, -56(%rbp)
	movups	%xmm0, -552(%rbp)
	movl	$0, -536(%rbp)
	movq	%r13, %rdi
	callq	_BE3_chip
	testq	%rax, %rax
	leaq	-912(%rbp), %rax
	leaq	-528(%rbp), %rbx
	cmoveq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %r14d
	leal	4(,%r15,4), %esi
	movq	%r13, %rdi
	movl	%esi, -916(%rbp)                ## 4-byte Spill
	movq	-936(%rbp), %rdx                ## 8-byte Reload
	callq	_get_fsec_info
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_16
## %bb.2:
	movq	%rax, %r12
	shll	$2, %r15d
	movslq	%r15d, %rax
	addq	$4, %rax
	movq	%rax, -928(%rbp)                ## 8-byte Spill
	movl	%r14d, %eax
	shlq	$4, %rax
	leaq	(%rax,%rax,2), %rax
	movq	%rax, -944(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$48, %r15
	cmpq	%r15, -944(%rbp)                ## 8-byte Folded Reload
	je	LBB0_16
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	20(%rbx,%r15), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_is_comp_in_ufi
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx,%r15), %rax
	movq	_OPTYPE_NCSI_FW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$11, %edx
	callq	_memcmp
	testq	%rax, %rax
	js	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx,%r15), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_OPTYPE_PHY_FW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_phy_flashing_required
	testl	%eax, %eax
	je	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx,%r15), %rax
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_OPTYPE_REDBOOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-936(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	24(%rbx,%r15), %rdx
	movl	16(%rbx,%r15), %ecx
	movq	%r13, %rdi
	movl	-916(%rbp), %r8d                ## 4-byte Reload
	callq	_be_flash_redboot
	testl	%eax, %eax
	je	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-936(%rbp), %rdx                ## 8-byte Reload
	movq	8(%rdx), %rax
	movq	24(%rbx,%r15), %rcx
	addq	-928(%rbp), %rcx                ## 8-byte Folded Reload
	leaq	(%rax,%rcx,4), %rsi
	movslq	16(%rbx,%r15), %r8
	leaq	(%rsi,%r8,4), %rcx
	movslq	(%rdx), %rdx
	leaq	(%rax,%rdx,4), %rax
	cmpq	%rax, %rcx
	ja	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx,%r15), %rcx
	movq	%r13, %rdi
	movq	-968(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_be_flash
	testl	%eax, %eax
	je	LBB0_3
## %bb.15:
	movl	%eax, %r14d
	movq	(%r13), %rdi
	movl	20(%rbx,%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_19
LBB0_16:
	xorl	%r14d, %r14d
	jmp	LBB0_19
LBB0_17:
	movq	(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_18:
	movl	$-1, %r14d
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.20:
	movl	%r14d, %eax
	addq	$936, %rsp                      ## imm = 0x3A8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FLASH_iSCSI_PRIMARY_IMAGE_START_g3,4,2 ## @FLASH_iSCSI_PRIMARY_IMAGE_START_g3
	.comm	_OPTYPE_ISCSI_ACTIVE,8,3        ## @OPTYPE_ISCSI_ACTIVE
	.comm	_FLASH_IMAGE_MAX_SIZE_g3,4,2    ## @FLASH_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_FIRMWARE_iSCSI,4,2       ## @IMAGE_FIRMWARE_iSCSI
	.comm	_FLASH_REDBOOT_START_g3,4,2     ## @FLASH_REDBOOT_START_g3
	.comm	_OPTYPE_REDBOOT,8,3             ## @OPTYPE_REDBOOT
	.comm	_FLASH_REDBOOT_IMAGE_MAX_SIZE_g3,4,2 ## @FLASH_REDBOOT_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_BOOT_CODE,4,2            ## @IMAGE_BOOT_CODE
	.comm	_FLASH_iSCSI_BIOS_START_g3,4,2  ## @FLASH_iSCSI_BIOS_START_g3
	.comm	_OPTYPE_BIOS,8,3                ## @OPTYPE_BIOS
	.comm	_FLASH_BIOS_IMAGE_MAX_SIZE_g3,4,2 ## @FLASH_BIOS_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_OPTION_ROM_ISCSI,4,2     ## @IMAGE_OPTION_ROM_ISCSI
	.comm	_FLASH_PXE_BIOS_START_g3,4,2    ## @FLASH_PXE_BIOS_START_g3
	.comm	_OPTYPE_PXE_BIOS,8,3            ## @OPTYPE_PXE_BIOS
	.comm	_IMAGE_OPTION_ROM_PXE,4,2       ## @IMAGE_OPTION_ROM_PXE
	.comm	_FLASH_FCoE_BIOS_START_g3,4,2   ## @FLASH_FCoE_BIOS_START_g3
	.comm	_OPTYPE_FCOE_BIOS,8,3           ## @OPTYPE_FCOE_BIOS
	.comm	_IMAGE_OPTION_ROM_FCoE,4,2      ## @IMAGE_OPTION_ROM_FCoE
	.comm	_FLASH_iSCSI_BACKUP_IMAGE_START_g3,4,2 ## @FLASH_iSCSI_BACKUP_IMAGE_START_g3
	.comm	_OPTYPE_ISCSI_BACKUP,8,3        ## @OPTYPE_ISCSI_BACKUP
	.comm	_IMAGE_FIRMWARE_BACKUP_iSCSI,4,2 ## @IMAGE_FIRMWARE_BACKUP_iSCSI
	.comm	_FLASH_FCoE_PRIMARY_IMAGE_START_g3,4,2 ## @FLASH_FCoE_PRIMARY_IMAGE_START_g3
	.comm	_OPTYPE_FCOE_FW_ACTIVE,8,3      ## @OPTYPE_FCOE_FW_ACTIVE
	.comm	_IMAGE_FIRMWARE_FCoE,4,2        ## @IMAGE_FIRMWARE_FCoE
	.comm	_FLASH_FCoE_BACKUP_IMAGE_START_g3,4,2 ## @FLASH_FCoE_BACKUP_IMAGE_START_g3
	.comm	_OPTYPE_FCOE_FW_BACKUP,8,3      ## @OPTYPE_FCOE_FW_BACKUP
	.comm	_IMAGE_FIRMWARE_BACKUP_FCoE,4,2 ## @IMAGE_FIRMWARE_BACKUP_FCoE
	.comm	_FLASH_NCSI_START_g3,4,2        ## @FLASH_NCSI_START_g3
	.comm	_OPTYPE_NCSI_FW,8,3             ## @OPTYPE_NCSI_FW
	.comm	_FLASH_NCSI_IMAGE_MAX_SIZE_g3,4,2 ## @FLASH_NCSI_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_NCSI,4,2                 ## @IMAGE_NCSI
	.comm	_FLASH_PHY_FW_START_g3,4,2      ## @FLASH_PHY_FW_START_g3
	.comm	_OPTYPE_PHY_FW,8,3              ## @OPTYPE_PHY_FW
	.comm	_FLASH_PHY_FW_IMAGE_MAX_SIZE_g3,4,2 ## @FLASH_PHY_FW_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_FIRMWARE_PHY,4,2         ## @IMAGE_FIRMWARE_PHY
	.comm	_FLASH_iSCSI_PRIMARY_IMAGE_START_g2,4,2 ## @FLASH_iSCSI_PRIMARY_IMAGE_START_g2
	.comm	_FLASH_IMAGE_MAX_SIZE_g2,4,2    ## @FLASH_IMAGE_MAX_SIZE_g2
	.comm	_FLASH_REDBOOT_START_g2,4,2     ## @FLASH_REDBOOT_START_g2
	.comm	_FLASH_REDBOOT_IMAGE_MAX_SIZE_g2,4,2 ## @FLASH_REDBOOT_IMAGE_MAX_SIZE_g2
	.comm	_FLASH_iSCSI_BIOS_START_g2,4,2  ## @FLASH_iSCSI_BIOS_START_g2
	.comm	_FLASH_BIOS_IMAGE_MAX_SIZE_g2,4,2 ## @FLASH_BIOS_IMAGE_MAX_SIZE_g2
	.comm	_FLASH_PXE_BIOS_START_g2,4,2    ## @FLASH_PXE_BIOS_START_g2
	.comm	_FLASH_FCoE_BIOS_START_g2,4,2   ## @FLASH_FCoE_BIOS_START_g2
	.comm	_FLASH_iSCSI_BACKUP_IMAGE_START_g2,4,2 ## @FLASH_iSCSI_BACKUP_IMAGE_START_g2
	.comm	_FLASH_FCoE_PRIMARY_IMAGE_START_g2,4,2 ## @FLASH_FCoE_PRIMARY_IMAGE_START_g2
	.comm	_FLASH_FCoE_BACKUP_IMAGE_START_g2,4,2 ## @FLASH_FCoE_BACKUP_IMAGE_START_g2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Cookie. UFI corrupted ?\n"

L_.str.1:                               ## @.str.1
	.asciz	"3.102.148.0"

L_.str.2:                               ## @.str.2
	.asciz	"Flashing section type %d failed.\n"

	.no_dead_strip	_be_flash_BEx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_flash_BEx
_be_flash_BEx:                          ; @be_flash_BEx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #896
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _FLASH_iSCSI_PRIMARY_IMAGE_START_g3@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLASH_iSCSI_PRIMARY_IMAGE_START_g3@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x8]
Lloh6:
	adrp	x8, _OPTYPE_ISCSI_ACTIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OPTYPE_ISCSI_ACTIVE@GOTPAGEOFF]
	lsl	w28, w3, #2
Lloh8:
	ldr	x8, [x8]
	stp	x9, x8, [sp, #400]
Lloh9:
	adrp	x9, _FLASH_IMAGE_MAX_SIZE_g3@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLASH_IMAGE_MAX_SIZE_g3@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x9]
Lloh12:
	adrp	x9, _IMAGE_FIRMWARE_iSCSI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IMAGE_FIRMWARE_iSCSI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w5, [sp, #416]
	str	w9, [sp, #420]
	stp	xzr, xzr, [sp, #424]
	str	wzr, [sp, #440]
Lloh15:
	adrp	x10, _FLASH_REDBOOT_START_g3@GOTPAGE
Lloh16:
	ldr	x10, [x10, _FLASH_REDBOOT_START_g3@GOTPAGEOFF]
Lloh17:
	ldrsw	x11, [x10]
Lloh18:
	adrp	x10, _OPTYPE_REDBOOT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _OPTYPE_REDBOOT@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x12, _FLASH_REDBOOT_IMAGE_MAX_SIZE_g3@GOTPAGE
Lloh22:
	ldr	x12, [x12, _FLASH_REDBOOT_IMAGE_MAX_SIZE_g3@GOTPAGEOFF]
	stp	x11, x10, [sp, #448]
Lloh23:
	ldr	w12, [x12]
Lloh24:
	adrp	x11, _IMAGE_BOOT_CODE@GOTPAGE
Lloh25:
	ldr	x11, [x11, _IMAGE_BOOT_CODE@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	str	w12, [sp, #464]
	str	w11, [sp, #468]
	str	wzr, [sp, #488]
	stp	xzr, xzr, [sp, #472]
Lloh27:
	adrp	x12, _FLASH_iSCSI_BIOS_START_g3@GOTPAGE
Lloh28:
	ldr	x12, [x12, _FLASH_iSCSI_BIOS_START_g3@GOTPAGEOFF]
Lloh29:
	ldrsw	x13, [x12]
Lloh30:
	adrp	x12, _OPTYPE_BIOS@GOTPAGE
Lloh31:
	ldr	x12, [x12, _OPTYPE_BIOS@GOTPAGEOFF]
Lloh32:
	ldr	x12, [x12]
	stp	x13, x12, [sp, #496]
Lloh33:
	adrp	x13, _FLASH_BIOS_IMAGE_MAX_SIZE_g3@GOTPAGE
Lloh34:
	ldr	x13, [x13, _FLASH_BIOS_IMAGE_MAX_SIZE_g3@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x13]
Lloh36:
	adrp	x13, _IMAGE_OPTION_ROM_ISCSI@GOTPAGE
Lloh37:
	ldr	x13, [x13, _IMAGE_OPTION_ROM_ISCSI@GOTPAGEOFF]
Lloh38:
	ldr	w13, [x13]
	str	w0, [sp, #512]
	str	w13, [sp, #516]
	str	xzr, [sp, #528]
	str	xzr, [sp, #520]
Lloh39:
	adrp	x14, _FLASH_PXE_BIOS_START_g3@GOTPAGE
Lloh40:
	ldr	x14, [x14, _FLASH_PXE_BIOS_START_g3@GOTPAGEOFF]
	str	wzr, [sp, #536]
Lloh41:
	ldrsw	x15, [x14]
Lloh42:
	adrp	x14, _OPTYPE_PXE_BIOS@GOTPAGE
Lloh43:
	ldr	x14, [x14, _OPTYPE_PXE_BIOS@GOTPAGEOFF]
Lloh44:
	ldr	x14, [x14]
	str	x15, [sp, #544]
	str	x14, [sp, #552]
Lloh45:
	adrp	x15, _IMAGE_OPTION_ROM_PXE@GOTPAGE
Lloh46:
	ldr	x15, [x15, _IMAGE_OPTION_ROM_PXE@GOTPAGEOFF]
Lloh47:
	ldr	w15, [x15]
	str	w0, [sp, #560]
	str	w15, [sp, #564]
	str	xzr, [sp, #576]
	str	xzr, [sp, #568]
	str	wzr, [sp, #584]
Lloh48:
	adrp	x16, _FLASH_FCoE_BIOS_START_g3@GOTPAGE
Lloh49:
	ldr	x16, [x16, _FLASH_FCoE_BIOS_START_g3@GOTPAGEOFF]
Lloh50:
	ldrsw	x17, [x16]
Lloh51:
	adrp	x16, _OPTYPE_FCOE_BIOS@GOTPAGE
Lloh52:
	ldr	x16, [x16, _OPTYPE_FCOE_BIOS@GOTPAGEOFF]
Lloh53:
	ldr	x16, [x16]
Lloh54:
	adrp	x1, _IMAGE_OPTION_ROM_FCoE@GOTPAGE
Lloh55:
	ldr	x1, [x1, _IMAGE_OPTION_ROM_FCoE@GOTPAGEOFF]
	str	x17, [sp, #592]
	str	x16, [sp, #600]
Lloh56:
	ldr	w17, [x1]
	str	w0, [sp, #608]
	str	w17, [sp, #612]
	add	x22, sp, #400
	add	x2, x22, #240
	str	xzr, [sp, #624]
	str	xzr, [sp, #616]
	str	wzr, [sp, #632]
Lloh57:
	adrp	x0, _FLASH_iSCSI_BACKUP_IMAGE_START_g3@GOTPAGE
Lloh58:
	ldr	x0, [x0, _FLASH_iSCSI_BACKUP_IMAGE_START_g3@GOTPAGEOFF]
Lloh59:
	ldrsw	x1, [x0]
Lloh60:
	adrp	x0, _OPTYPE_ISCSI_BACKUP@GOTPAGE
Lloh61:
	ldr	x0, [x0, _OPTYPE_ISCSI_BACKUP@GOTPAGEOFF]
Lloh62:
	ldr	x0, [x0]
	str	x1, [sp, #640]
	str	x0, [sp, #648]
	str	w5, [sp, #656]
Lloh63:
	adrp	x1, _IMAGE_FIRMWARE_BACKUP_iSCSI@GOTPAGE
Lloh64:
	ldr	x1, [x1, _IMAGE_FIRMWARE_BACKUP_iSCSI@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x1]
	str	w1, [x2, #20]
	add	x4, x22, #288
	str	xzr, [sp, #672]
	str	xzr, [sp, #664]
	str	wzr, [sp, #680]
Lloh66:
	adrp	x2, _FLASH_FCoE_PRIMARY_IMAGE_START_g3@GOTPAGE
Lloh67:
	ldr	x2, [x2, _FLASH_FCoE_PRIMARY_IMAGE_START_g3@GOTPAGEOFF]
Lloh68:
	adrp	x3, _OPTYPE_FCOE_FW_ACTIVE@GOTPAGE
Lloh69:
	ldr	x3, [x3, _OPTYPE_FCOE_FW_ACTIVE@GOTPAGEOFF]
Lloh70:
	ldrsw	x6, [x2]
Lloh71:
	ldr	x2, [x3]
	str	x6, [sp, #688]
	str	x2, [sp, #696]
Lloh72:
	adrp	x3, _IMAGE_FIRMWARE_FCoE@GOTPAGE
Lloh73:
	ldr	x3, [x3, _IMAGE_FIRMWARE_FCoE@GOTPAGEOFF]
	str	w5, [sp, #704]
Lloh74:
	ldr	w3, [x3]
	str	w3, [x4, #20]
	add	x6, x22, #336
	str	xzr, [sp, #720]
	str	xzr, [sp, #712]
	str	wzr, [sp, #728]
Lloh75:
	adrp	x4, _FLASH_FCoE_BACKUP_IMAGE_START_g3@GOTPAGE
Lloh76:
	ldr	x4, [x4, _FLASH_FCoE_BACKUP_IMAGE_START_g3@GOTPAGEOFF]
Lloh77:
	ldrsw	x7, [x4]
Lloh78:
	adrp	x4, _OPTYPE_FCOE_FW_BACKUP@GOTPAGE
Lloh79:
	ldr	x4, [x4, _OPTYPE_FCOE_FW_BACKUP@GOTPAGEOFF]
Lloh80:
	ldr	x4, [x4]
	str	x7, [sp, #736]
	str	x4, [sp, #744]
	str	w5, [sp, #752]
Lloh81:
	adrp	x5, _IMAGE_FIRMWARE_BACKUP_FCoE@GOTPAGE
Lloh82:
	ldr	x5, [x5, _IMAGE_FIRMWARE_BACKUP_FCoE@GOTPAGEOFF]
Lloh83:
	ldr	w5, [x5]
	str	w5, [x6, #20]
	add	x6, x22, #384
	str	xzr, [sp, #768]
	str	xzr, [sp, #760]
	str	wzr, [sp, #776]
Lloh84:
	adrp	x7, _FLASH_NCSI_START_g3@GOTPAGE
Lloh85:
	ldr	x7, [x7, _FLASH_NCSI_START_g3@GOTPAGEOFF]
Lloh86:
	ldrsw	x7, [x7]
Lloh87:
	adrp	x27, _OPTYPE_NCSI_FW@GOTPAGE
Lloh88:
	ldr	x27, [x27, _OPTYPE_NCSI_FW@GOTPAGEOFF]
	ldr	x20, [x27]
	str	x7, [sp, #784]
	str	x20, [sp, #792]
Lloh89:
	adrp	x7, _FLASH_NCSI_IMAGE_MAX_SIZE_g3@GOTPAGE
Lloh90:
	ldr	x7, [x7, _FLASH_NCSI_IMAGE_MAX_SIZE_g3@GOTPAGEOFF]
Lloh91:
	ldr	w7, [x7]
	str	w7, [sp, #800]
Lloh92:
	adrp	x7, _IMAGE_NCSI@GOTPAGE
Lloh93:
	ldr	x7, [x7, _IMAGE_NCSI@GOTPAGEOFF]
Lloh94:
	ldr	w7, [x7]
	str	w7, [x6, #20]
	add	x6, x22, #432
	str	xzr, [sp, #816]
	str	xzr, [sp, #808]
	str	wzr, [sp, #824]
Lloh95:
	adrp	x7, _FLASH_PHY_FW_START_g3@GOTPAGE
Lloh96:
	ldr	x7, [x7, _FLASH_PHY_FW_START_g3@GOTPAGEOFF]
Lloh97:
	adrp	x20, _OPTYPE_PHY_FW@GOTPAGE
Lloh98:
	ldr	x20, [x20, _OPTYPE_PHY_FW@GOTPAGEOFF]
Lloh99:
	ldrsw	x7, [x7]
Lloh100:
	ldr	x20, [x20]
	str	x7, [sp, #832]
	str	x20, [sp, #840]
Lloh101:
	adrp	x7, _FLASH_PHY_FW_IMAGE_MAX_SIZE_g3@GOTPAGE
Lloh102:
	ldr	x7, [x7, _FLASH_PHY_FW_IMAGE_MAX_SIZE_g3@GOTPAGEOFF]
Lloh103:
	ldr	w7, [x7]
	str	w7, [sp, #848]
Lloh104:
	adrp	x7, _IMAGE_FIRMWARE_PHY@GOTPAGE
Lloh105:
	ldr	x7, [x7, _IMAGE_FIRMWARE_PHY@GOTPAGEOFF]
Lloh106:
	ldr	w7, [x7]
	str	w7, [x6, #20]
	str	xzr, [sp, #864]
	str	xzr, [sp, #856]
	str	wzr, [sp, #872]
Lloh107:
	adrp	x6, _FLASH_iSCSI_PRIMARY_IMAGE_START_g2@GOTPAGE
Lloh108:
	ldr	x6, [x6, _FLASH_iSCSI_PRIMARY_IMAGE_START_g2@GOTPAGEOFF]
Lloh109:
	ldrsw	x6, [x6]
	stp	x6, x8, [sp, #16]
Lloh110:
	adrp	x8, _FLASH_IMAGE_MAX_SIZE_g2@GOTPAGE
Lloh111:
	ldr	x8, [x8, _FLASH_IMAGE_MAX_SIZE_g2@GOTPAGEOFF]
Lloh112:
	ldr	w8, [x8]
	stp	w8, w9, [sp, #32]
	stp	xzr, xzr, [sp, #40]
	str	wzr, [sp, #56]
Lloh113:
	adrp	x9, _FLASH_REDBOOT_START_g2@GOTPAGE
Lloh114:
	ldr	x9, [x9, _FLASH_REDBOOT_START_g2@GOTPAGEOFF]
Lloh115:
	ldrsw	x9, [x9]
	stp	x9, x10, [sp, #64]
Lloh116:
	adrp	x9, _FLASH_REDBOOT_IMAGE_MAX_SIZE_g2@GOTPAGE
Lloh117:
	ldr	x9, [x9, _FLASH_REDBOOT_IMAGE_MAX_SIZE_g2@GOTPAGEOFF]
Lloh118:
	ldr	w9, [x9]
	stp	w9, w11, [sp, #80]
	stp	xzr, xzr, [sp, #88]
Lloh119:
	adrp	x9, _FLASH_iSCSI_BIOS_START_g2@GOTPAGE
Lloh120:
	ldr	x9, [x9, _FLASH_iSCSI_BIOS_START_g2@GOTPAGEOFF]
	str	wzr, [sp, #104]
Lloh121:
	ldrsw	x9, [x9]
	stp	x9, x12, [sp, #112]
Lloh122:
	adrp	x9, _FLASH_BIOS_IMAGE_MAX_SIZE_g2@GOTPAGE
Lloh123:
	ldr	x9, [x9, _FLASH_BIOS_IMAGE_MAX_SIZE_g2@GOTPAGEOFF]
Lloh124:
	ldr	w9, [x9]
	stp	w9, w13, [sp, #128]
	stp	xzr, xzr, [sp, #136]
	str	wzr, [sp, #152]
Lloh125:
	adrp	x10, _FLASH_PXE_BIOS_START_g2@GOTPAGE
Lloh126:
	ldr	x10, [x10, _FLASH_PXE_BIOS_START_g2@GOTPAGEOFF]
Lloh127:
	ldrsw	x10, [x10]
	stp	x10, x14, [sp, #160]
	stp	w9, w15, [sp, #176]
	stp	xzr, xzr, [sp, #184]
	str	wzr, [sp, #200]
Lloh128:
	adrp	x10, _FLASH_FCoE_BIOS_START_g2@GOTPAGE
Lloh129:
	ldr	x10, [x10, _FLASH_FCoE_BIOS_START_g2@GOTPAGEOFF]
Lloh130:
	ldrsw	x10, [x10]
	stp	x10, x16, [sp, #208]
	stp	w9, w17, [sp, #224]
	add	x20, sp, #16
	add	x9, x20, #240
	stp	xzr, xzr, [sp, #232]
	str	wzr, [sp, #248]
Lloh131:
	adrp	x10, _FLASH_iSCSI_BACKUP_IMAGE_START_g2@GOTPAGE
Lloh132:
	ldr	x10, [x10, _FLASH_iSCSI_BACKUP_IMAGE_START_g2@GOTPAGEOFF]
Lloh133:
	ldrsw	x10, [x10]
	stp	x10, x0, [sp, #256]
	str	w8, [sp, #272]
	str	w1, [x9, #20]
	add	x9, x20, #288
	stp	xzr, xzr, [sp, #280]
	str	wzr, [sp, #296]
Lloh134:
	adrp	x10, _FLASH_FCoE_PRIMARY_IMAGE_START_g2@GOTPAGE
Lloh135:
	ldr	x10, [x10, _FLASH_FCoE_PRIMARY_IMAGE_START_g2@GOTPAGEOFF]
Lloh136:
	ldrsw	x10, [x10]
	stp	x10, x2, [sp, #304]
	str	w8, [sp, #320]
	str	w3, [x9, #20]
	add	x9, x20, #336
	stp	xzr, xzr, [sp, #328]
	str	wzr, [sp, #344]
Lloh137:
	adrp	x10, _FLASH_FCoE_BACKUP_IMAGE_START_g2@GOTPAGE
Lloh138:
	ldr	x10, [x10, _FLASH_FCoE_BACKUP_IMAGE_START_g2@GOTPAGEOFF]
Lloh139:
	ldrsw	x10, [x10]
	stp	x10, x4, [sp, #352]
	str	w8, [sp, #368]
	str	w5, [x9, #20]
	stp	xzr, xzr, [sp, #376]
	str	wzr, [sp, #392]
	mov	x0, x19
	bl	_BE3_chip
	cmp	x0, #0
	csel	x24, x20, x22, eq
	mov	x0, x24
	bl	_ARRAY_SIZE
	mov	x25, x0
	add	w22, w28, #4
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_get_fsec_info
	cbz	x0, LBB0_17
; %bb.1:
	cmp	w25, #1
	b.lt	LBB0_16
; %bb.2:
	mov	x23, x0
	sxtw	x8, w28
	add	x20, x8, #4
	mov	w26, w25
	add	x28, x24, #24
Lloh140:
	adrp	x24, l_.str.1@PAGE
Lloh141:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x28, x28, #48
	subs	x26, x26, #1
	b.eq	LBB0_16
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w2, [x28, #-4]
	mov	x0, x19
	mov	x1, x23
	bl	_is_comp_in_ufi
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x28, #-16]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x24
	mov	w2, #11
	bl	_memcmp
	tbnz	x0, #63, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x28, #-16]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh142:
	adrp	x9, _OPTYPE_PHY_FW@GOTPAGE
Lloh143:
	ldr	x9, [x9, _OPTYPE_PHY_FW@GOTPAGEOFF]
Lloh144:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_phy_flashing_required
	cbz	w0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x8, [x28, #-16]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh145:
	adrp	x9, _OPTYPE_REDBOOT@GOTPAGE
Lloh146:
	ldr	x9, [x9, _OPTYPE_REDBOOT@GOTPAGEOFF]
Lloh147:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x21, #8]
	ldr	x2, [x28]
	ldur	w3, [x28, #-8]
	mov	x0, x19
	mov	x4, x22
	bl	_be_flash_redboot
	cbz	w0, LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x28]
	add	x9, x20, x9
	add	x1, x8, x9, lsl #2
	ldursw	x4, [x28, #-8]
	add	x9, x1, x4, lsl #2
	ldrsw	x10, [x21]
	add	x8, x8, x10, lsl #2
	cmp	x9, x8
	b.hi	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldur	x3, [x28, #-16]
	mov	x0, x19
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_be_flash
	cbz	w0, LBB0_3
; %bb.15:
	mov	x25, x0
	ldr	x0, [x19]
	ldur	w8, [x28, #-4]
	str	x8, [sp]
Lloh148:
	adrp	x1, l_.str.2@PAGE
Lloh149:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	b	LBB0_19
LBB0_16:
	mov	w25, #0
	b	LBB0_19
LBB0_17:
	ldr	x0, [x19]
Lloh150:
	adrp	x1, l_.str@PAGE
Lloh151:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_18:
	mov	w25, #-1
LBB0_19:
	ldur	x8, [x29, #-96]
Lloh152:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh153:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh154:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x25
	add	sp, sp, #896
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGotLdr	Lloh134, Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh131, Lloh132, Lloh133
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh99
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh70
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh140, Lloh141
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpAdd	Lloh148, Lloh149
	.loh AdrpAdd	Lloh150, Lloh151
	.loh AdrpLdrGotLdr	Lloh152, Lloh153, Lloh154
	.cfi_endproc
                                        ; -- End function
	.comm	_FLASH_iSCSI_PRIMARY_IMAGE_START_g3,4,2 ; @FLASH_iSCSI_PRIMARY_IMAGE_START_g3
	.comm	_OPTYPE_ISCSI_ACTIVE,8,3        ; @OPTYPE_ISCSI_ACTIVE
	.comm	_FLASH_IMAGE_MAX_SIZE_g3,4,2    ; @FLASH_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_FIRMWARE_iSCSI,4,2       ; @IMAGE_FIRMWARE_iSCSI
	.comm	_FLASH_REDBOOT_START_g3,4,2     ; @FLASH_REDBOOT_START_g3
	.comm	_OPTYPE_REDBOOT,8,3             ; @OPTYPE_REDBOOT
	.comm	_FLASH_REDBOOT_IMAGE_MAX_SIZE_g3,4,2 ; @FLASH_REDBOOT_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_BOOT_CODE,4,2            ; @IMAGE_BOOT_CODE
	.comm	_FLASH_iSCSI_BIOS_START_g3,4,2  ; @FLASH_iSCSI_BIOS_START_g3
	.comm	_OPTYPE_BIOS,8,3                ; @OPTYPE_BIOS
	.comm	_FLASH_BIOS_IMAGE_MAX_SIZE_g3,4,2 ; @FLASH_BIOS_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_OPTION_ROM_ISCSI,4,2     ; @IMAGE_OPTION_ROM_ISCSI
	.comm	_FLASH_PXE_BIOS_START_g3,4,2    ; @FLASH_PXE_BIOS_START_g3
	.comm	_OPTYPE_PXE_BIOS,8,3            ; @OPTYPE_PXE_BIOS
	.comm	_IMAGE_OPTION_ROM_PXE,4,2       ; @IMAGE_OPTION_ROM_PXE
	.comm	_FLASH_FCoE_BIOS_START_g3,4,2   ; @FLASH_FCoE_BIOS_START_g3
	.comm	_OPTYPE_FCOE_BIOS,8,3           ; @OPTYPE_FCOE_BIOS
	.comm	_IMAGE_OPTION_ROM_FCoE,4,2      ; @IMAGE_OPTION_ROM_FCoE
	.comm	_FLASH_iSCSI_BACKUP_IMAGE_START_g3,4,2 ; @FLASH_iSCSI_BACKUP_IMAGE_START_g3
	.comm	_OPTYPE_ISCSI_BACKUP,8,3        ; @OPTYPE_ISCSI_BACKUP
	.comm	_IMAGE_FIRMWARE_BACKUP_iSCSI,4,2 ; @IMAGE_FIRMWARE_BACKUP_iSCSI
	.comm	_FLASH_FCoE_PRIMARY_IMAGE_START_g3,4,2 ; @FLASH_FCoE_PRIMARY_IMAGE_START_g3
	.comm	_OPTYPE_FCOE_FW_ACTIVE,8,3      ; @OPTYPE_FCOE_FW_ACTIVE
	.comm	_IMAGE_FIRMWARE_FCoE,4,2        ; @IMAGE_FIRMWARE_FCoE
	.comm	_FLASH_FCoE_BACKUP_IMAGE_START_g3,4,2 ; @FLASH_FCoE_BACKUP_IMAGE_START_g3
	.comm	_OPTYPE_FCOE_FW_BACKUP,8,3      ; @OPTYPE_FCOE_FW_BACKUP
	.comm	_IMAGE_FIRMWARE_BACKUP_FCoE,4,2 ; @IMAGE_FIRMWARE_BACKUP_FCoE
	.comm	_FLASH_NCSI_START_g3,4,2        ; @FLASH_NCSI_START_g3
	.comm	_OPTYPE_NCSI_FW,8,3             ; @OPTYPE_NCSI_FW
	.comm	_FLASH_NCSI_IMAGE_MAX_SIZE_g3,4,2 ; @FLASH_NCSI_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_NCSI,4,2                 ; @IMAGE_NCSI
	.comm	_FLASH_PHY_FW_START_g3,4,2      ; @FLASH_PHY_FW_START_g3
	.comm	_OPTYPE_PHY_FW,8,3              ; @OPTYPE_PHY_FW
	.comm	_FLASH_PHY_FW_IMAGE_MAX_SIZE_g3,4,2 ; @FLASH_PHY_FW_IMAGE_MAX_SIZE_g3
	.comm	_IMAGE_FIRMWARE_PHY,4,2         ; @IMAGE_FIRMWARE_PHY
	.comm	_FLASH_iSCSI_PRIMARY_IMAGE_START_g2,4,2 ; @FLASH_iSCSI_PRIMARY_IMAGE_START_g2
	.comm	_FLASH_IMAGE_MAX_SIZE_g2,4,2    ; @FLASH_IMAGE_MAX_SIZE_g2
	.comm	_FLASH_REDBOOT_START_g2,4,2     ; @FLASH_REDBOOT_START_g2
	.comm	_FLASH_REDBOOT_IMAGE_MAX_SIZE_g2,4,2 ; @FLASH_REDBOOT_IMAGE_MAX_SIZE_g2
	.comm	_FLASH_iSCSI_BIOS_START_g2,4,2  ; @FLASH_iSCSI_BIOS_START_g2
	.comm	_FLASH_BIOS_IMAGE_MAX_SIZE_g2,4,2 ; @FLASH_BIOS_IMAGE_MAX_SIZE_g2
	.comm	_FLASH_PXE_BIOS_START_g2,4,2    ; @FLASH_PXE_BIOS_START_g2
	.comm	_FLASH_FCoE_BIOS_START_g2,4,2   ; @FLASH_FCoE_BIOS_START_g2
	.comm	_FLASH_iSCSI_BACKUP_IMAGE_START_g2,4,2 ; @FLASH_iSCSI_BACKUP_IMAGE_START_g2
	.comm	_FLASH_FCoE_PRIMARY_IMAGE_START_g2,4,2 ; @FLASH_FCoE_PRIMARY_IMAGE_START_g2
	.comm	_FLASH_FCoE_BACKUP_IMAGE_START_g2,4,2 ; @FLASH_FCoE_BACKUP_IMAGE_START_g2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Cookie. UFI corrupted ?\n"

l_.str.1:                               ; @.str.1
	.asciz	"3.102.148.0"

l_.str.2:                               ; @.str.2
	.asciz	"Flashing section type %d failed.\n"

	.no_dead_strip	_be_flash_BEx
.subsections_via_symbols
