	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flash_update
_flash_update:                          ## @flash_update
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edi
	jg	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	8(%rsi), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	8(%r15), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	8(%r15), %rsi
	leaq	L_.str.3(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_warnx
	cmpl	$5, %ebx
	jae	LBB0_10
	jmp	LBB0_11
LBB0_5:
	movl	$1, %r12d
	cmpl	$5, %ebx
	jb	LBB0_11
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_2
LBB0_7:
	xorl	%r12d, %r12d
	cmpl	$5, %ebx
	jae	LBB0_10
LBB0_11:
	cmpl	$3, %ebx
	jne	LBB0_12
## %bb.13:
	movq	16(%r15), %rdi
	leaq	-56(%rbp), %rsi
	callq	_stat
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.15:
	movq	16(%r15), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movl	%eax, %r13d
	movl	-56(%rbp), %ebx
	movq	_PROT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MAP_PRIVATE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	callq	_mmap
	movq	_MAP_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.19:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edi
	callq	_close
	movq	_mps_unit@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mps_open
	testl	%eax, %eax
	js	LBB0_20
## %bb.21:
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_mps_get_iocfacts
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	testq	%r14, %r14
	je	LBB0_24
## %bb.31:
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	_MPI2_MFGPAGE_VENDORID_LSI@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rcx
	je	LBB0_33
## %bb.32:
	movq	%rax, %r15
	movq	%rdx, %rbx
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	(%r14), %rsi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	(%rbx), %rsi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_munmap
	movl	%r13d, %edi
	callq	_close
	movq	%r15, %rdi
	jmp	LBB0_28
LBB0_12:
	leaq	L_.str.5(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_warnx
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_38:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_warn
	jmp	LBB0_38
LBB0_16:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rdi
	callq	_warn
	jmp	LBB0_38
LBB0_18:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.8(%rip), %rdi
	callq	_warn
	movl	%r13d, %edi
	callq	_close
	jmp	LBB0_38
LBB0_20:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%ebx, %r14d
	movl	(%rax), %ebx
	leaq	L_.str.9(%rip), %rdi
	callq	_warn
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_munmap
	jmp	LBB0_38
LBB0_22:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_munmap
	movl	%r13d, %edi
	callq	_close
	jmp	LBB0_3
LBB0_24:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movzwl	(%rdx), %ecx
	cmpl	$43605, %ecx                    ## imm = 0xAA55
	jne	LBB0_25
## %bb.29:
	testl	$511, %ebx                      ## imm = 0x1FF
	je	LBB0_35
## %bb.30:
	movq	%rax, %r14
	movq	%rdx, %r15
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_26
LBB0_33:
	movq	8(%rdx), %rcx
	cmpq	(%rax), %rcx
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_35
## %bb.34:
	movq	%rax, %r14
	movq	%rdx, %r15
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	(%r14), %rsi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	8(%r15), %rsi
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_27
LBB0_25:
	movq	%rax, %r14
	movq	%rdx, %r15
	leaq	L_.str.11(%rip), %rdi
LBB0_26:
	xorl	%eax, %eax
	callq	_warnx
LBB0_27:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_munmap
	movl	%r13d, %edi
	callq	_close
	movq	%r14, %rdi
LBB0_28:
	callq	_free
	movl	$1, %ebx
	jmp	LBB0_38
LBB0_35:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rsi
	movq	%rdx, %r14
	leaq	L_.str.19(%rip), %rdi
	callq	_printf
	movl	%r13d, %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	callq	_mps_firmware_send
	testq	%rax, %rax
	js	LBB0_36
## %bb.37:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_munmap
	movl	%r13d, %edi
	callq	_close
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	8(%r15), %rsi
	leaq	L_.str.21(%rip), %rdi
	callq	_printf
	xorl	%ebx, %ebx
	jmp	LBB0_38
LBB0_36:
	movq	8(%r15), %rsi
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_munmap
	movl	%r13d, %edi
	callq	_close
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing argument: expecting 'firmware' or bios'"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"bios"

L_.str.2:                               ## @.str.2
	.asciz	"firmware"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid argument '%s', expecting 'firmware' or 'bios'"

L_.str.4:                               ## @.str.4
	.asciz	"update firmware: extra arguments"

L_.str.5:                               ## @.str.5
	.asciz	"no firmware specified"

	.comm	_errno,4,2                      ## @errno
L_.str.6:                               ## @.str.6
	.asciz	"stat"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.7:                               ## @.str.7
	.asciz	"open"

	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ## @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
L_.str.8:                               ## @.str.8
	.asciz	"mmap"

	.comm	_mps_unit,4,2                   ## @mps_unit
L_.str.9:                               ## @.str.9
	.asciz	"mps_open"

L_.str.10:                              ## @.str.10
	.asciz	"could not get controller IOCFacts\n"

L_.str.11:                              ## @.str.11
	.asciz	"Invalid bios: no boot record magic number"

L_.str.12:                              ## @.str.12
	.asciz	"Invalid bios: size not a multiple of 512"

	.comm	_MPI2_MFGPAGE_VENDORID_LSI,8,3  ## @MPI2_MFGPAGE_VENDORID_LSI
L_.str.13:                              ## @.str.13
	.asciz	"Invalid firmware:"

L_.str.14:                              ## @.str.14
	.asciz	"  Expected Vendor ID: %04x"

L_.str.15:                              ## @.str.15
	.asciz	"  Image Vendor ID: %04x"

L_.str.16:                              ## @.str.16
	.asciz	"Invalid image:"

L_.str.17:                              ## @.str.17
	.asciz	"  Expected Product ID: %04x"

L_.str.18:                              ## @.str.18
	.asciz	"  Image Product ID: %04x"

L_.str.19:                              ## @.str.19
	.asciz	"Updating %s...\n"

L_.str.20:                              ## @.str.20
	.asciz	"Fail to update %s"

L_.str.21:                              ## @.str.21
	.asciz	"%s successfully updated\n"

	.no_dead_strip	_flash_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flash_update
_flash_update:                          ; @flash_update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_18
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x1, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	mov	x25, x0
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x0, [x20, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
LBB0_5:
	mov	w24, #0
	cmp	w19, #5
	b.lo	LBB0_8
LBB0_6:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_7:
	mov	w24, #1
	cmp	w19, #5
	b.hs	LBB0_6
LBB0_8:
	cmp	w19, #3
	b.ne	LBB0_17
; %bb.9:
	ldr	x0, [x20, #16]
	add	x1, sp, #8
	bl	_stat
	cmn	w0, #1
	b.eq	LBB0_21
; %bb.10:
	ldr	x0, [x20, #16]
Lloh10:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_open
	tbnz	w0, #31, LBB0_22
; %bb.11:
	mov	x21, x0
	ldr	w19, [sp, #8]
Lloh13:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _MAP_PRIVATE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MAP_PRIVATE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x1, x19
	mov	x4, x21
	mov	w5, #0
	bl	_mmap
Lloh19:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_23
; %bb.12:
	mov	x23, x0
	mov	x0, x21
	bl	_close
Lloh22:
	adrp	x8, _mps_unit@GOTPAGE
Lloh23:
	ldr	x8, [x8, _mps_unit@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_mps_open
	tbnz	w0, #31, LBB0_24
; %bb.13:
	mov	x22, x0
	bl	_mps_get_iocfacts
	cbz	x0, LBB0_25
; %bb.14:
	mov	x21, x0
	cbz	x25, LBB0_26
; %bb.15:
	ldr	x8, [x23]
Lloh25:
	adrp	x25, _MPI2_MFGPAGE_VENDORID_LSI@GOTPAGE
Lloh26:
	ldr	x25, [x25, _MPI2_MFGPAGE_VENDORID_LSI@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_29
; %bb.16:
Lloh27:
	adrp	x0, l_.str.13@PAGE
Lloh28:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_warnx
	ldr	x8, [x25]
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.14@PAGE
Lloh30:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_warnx
	ldr	x8, [x23]
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.15@PAGE
Lloh32:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_35
LBB0_17:
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_18:
	bl	_warnx
LBB0_19:
Lloh35:
	adrp	x8, _EINVAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh37:
	ldr	w20, [x8]
LBB0_20:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_21:
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	w20, [x8]
Lloh41:
	adrp	x0, l_.str.6@PAGE
Lloh42:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warn
	b	LBB0_20
LBB0_22:
Lloh43:
	adrp	x8, _errno@GOTPAGE
Lloh44:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh45:
	ldr	w20, [x8]
Lloh46:
	adrp	x0, l_.str.7@PAGE
Lloh47:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warn
	b	LBB0_20
LBB0_23:
Lloh48:
	adrp	x8, _errno@GOTPAGE
Lloh49:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh50:
	ldr	w20, [x8]
Lloh51:
	adrp	x0, l_.str.8@PAGE
Lloh52:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_warn
	mov	x0, x21
	bl	_close
	b	LBB0_20
LBB0_24:
Lloh53:
	adrp	x8, _errno@GOTPAGE
Lloh54:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh55:
	ldr	w20, [x8]
Lloh56:
	adrp	x0, l_.str.9@PAGE
Lloh57:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_warn
	mov	x0, x23
	mov	x1, x19
	bl	_munmap
	b	LBB0_20
LBB0_25:
Lloh58:
	adrp	x0, l_.str.10@PAGE
Lloh59:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_warnx
	mov	x0, x23
	mov	x1, x19
	bl	_munmap
	mov	x0, x22
	bl	_close
	b	LBB0_19
LBB0_26:
	ldrh	w8, [x23]
	mov	w9, #43605
	cmp	w8, w9
	b.ne	LBB0_31
; %bb.27:
	tst	w19, #0x1ff
	b.eq	LBB0_32
; %bb.28:
Lloh60:
	adrp	x0, l_.str.12@PAGE
Lloh61:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_35
LBB0_29:
	ldr	x8, [x23, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_32
; %bb.30:
Lloh62:
	adrp	x0, l_.str.16@PAGE
Lloh63:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_warnx
	ldr	x8, [x21]
	str	x8, [sp]
Lloh64:
	adrp	x0, l_.str.17@PAGE
Lloh65:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_warnx
	ldr	x8, [x23, #8]
	str	x8, [sp]
Lloh66:
	adrp	x0, l_.str.18@PAGE
Lloh67:
	add	x0, x0, l_.str.18@PAGEOFF
	b	LBB0_35
LBB0_31:
Lloh68:
	adrp	x0, l_.str.11@PAGE
Lloh69:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_35
LBB0_32:
	ldr	x1, [x20, #8]
Lloh70:
	adrp	x0, l_.str.19@PAGE
Lloh71:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_printf
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	mov	x3, x24
	bl	_mps_firmware_send
	tbnz	x0, #63, LBB0_34
; %bb.33:
	mov	x0, x23
	mov	x1, x19
	bl	_munmap
	mov	x0, x22
	bl	_close
	mov	x0, x21
	bl	_free
	ldr	x1, [x20, #8]
Lloh72:
	adrp	x0, l_.str.21@PAGE
Lloh73:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_printf
	mov	w20, #0
	b	LBB0_20
LBB0_34:
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh74:
	adrp	x0, l_.str.20@PAGE
Lloh75:
	add	x0, x0, l_.str.20@PAGEOFF
LBB0_35:
	bl	_warnx
	mov	x0, x23
	mov	x1, x19
	bl	_munmap
	mov	x0, x22
	bl	_close
	mov	x0, x21
	bl	_free
	mov	w20, #1
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing argument: expecting 'firmware' or bios'"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"bios"

l_.str.2:                               ; @.str.2
	.asciz	"firmware"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid argument '%s', expecting 'firmware' or 'bios'"

l_.str.4:                               ; @.str.4
	.asciz	"update firmware: extra arguments"

l_.str.5:                               ; @.str.5
	.asciz	"no firmware specified"

	.comm	_errno,4,2                      ; @errno
l_.str.6:                               ; @.str.6
	.asciz	"stat"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.7:                               ; @.str.7
	.asciz	"open"

	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_MAP_PRIVATE,4,2                ; @MAP_PRIVATE
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
l_.str.8:                               ; @.str.8
	.asciz	"mmap"

	.comm	_mps_unit,4,2                   ; @mps_unit
l_.str.9:                               ; @.str.9
	.asciz	"mps_open"

l_.str.10:                              ; @.str.10
	.asciz	"could not get controller IOCFacts\n"

l_.str.11:                              ; @.str.11
	.asciz	"Invalid bios: no boot record magic number"

l_.str.12:                              ; @.str.12
	.asciz	"Invalid bios: size not a multiple of 512"

	.comm	_MPI2_MFGPAGE_VENDORID_LSI,8,3  ; @MPI2_MFGPAGE_VENDORID_LSI
l_.str.13:                              ; @.str.13
	.asciz	"Invalid firmware:"

l_.str.14:                              ; @.str.14
	.asciz	"  Expected Vendor ID: %04x"

l_.str.15:                              ; @.str.15
	.asciz	"  Image Vendor ID: %04x"

l_.str.16:                              ; @.str.16
	.asciz	"Invalid image:"

l_.str.17:                              ; @.str.17
	.asciz	"  Expected Product ID: %04x"

l_.str.18:                              ; @.str.18
	.asciz	"  Image Product ID: %04x"

l_.str.19:                              ; @.str.19
	.asciz	"Updating %s...\n"

l_.str.20:                              ; @.str.20
	.asciz	"Fail to update %s"

l_.str.21:                              ; @.str.21
	.asciz	"%s successfully updated\n"

	.no_dead_strip	_flash_update
.subsections_via_symbols
