	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_adapter
_show_adapter:                          ## @show_adapter
	.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
	cmpl	$1, %edi
	jne	LBB0_1
## %bb.3:
	movq	_mpt_unit@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_mpt_open
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movl	%eax, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mpt_read_man_page
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	cmpl	$17, 68(%rax)
	ja	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	%rbx, %rdi
	callq	_free
	movl	%r15d, %edi
	callq	_close
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_40
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	jmp	LBB0_40
LBB0_6:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_warn
	movl	%r15d, %edi
	callq	_close
	jmp	LBB0_40
LBB0_9:
	movl	(%r14), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_printf
	movq	(%rbx), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	8(%rbx), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	16(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	24(%rbx), %rsi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_free
	leaq	-44(%rbp), %rdx
	movl	%r15d, %edi
	movl	$2, %esi
	callq	_mpt_read_ioc_page
	testq	%rax, %rax
	je	LBB0_27
## %bb.10:
	movq	%rax, %r14
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	32(%r14), %ebx
	movq	_MPI_IOCPAGE2_CAP_FLAGS_IS_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, %eax
	testl	%ebx, %r13d
	je	LBB0_12
## %bb.11:
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	32(%r14), %eax
	movl	$1, %r12d
LBB0_12:
	movq	_MPI_IOCPAGE2_CAP_FLAGS_IM_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	testl	%ebx, %r13d
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	32(%r14), %eax
	movl	$1, %r12d
LBB0_14:
	movq	_MPI_IOCPAGE2_CAP_FLAGS_IME_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	testl	%r12d, %r12d
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	32(%r14), %eax
	movl	$1, %r12d
LBB0_16:
	movq	_MPI_IOCPAGE2_CAP_FLAGS_RAID_5_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	testl	%r12d, %r12d
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	32(%r14), %eax
	movl	$1, %r12d
LBB0_18:
	movq	_MPI_IOCPAGE2_CAP_FLAGS_RAID_6_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	testl	%r12d, %r12d
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	32(%r14), %eax
	movl	$1, %r12d
LBB0_20:
	movq	_MPI_IOCPAGE2_CAP_FLAGS_RAID_10_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.41:
	testl	%r12d, %r12d
	leaq	L_.str.13(%rip), %rsi
	leaq	L_.str.12(%rip), %rbx
	cmovneq	%rbx, %rsi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%r14)
	jne	LBB0_23
	jmp	LBB0_26
LBB0_27:
	movl	-44(%rbp), %edi
	movq	_MPI_IOCSTATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	movq	_MPI_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_29
## %bb.28:
	callq	_mpt_ioc_status
	leaq	L_.str.21(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_29
LBB0_21:
	movq	_MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.22:
	testl	%r12d, %r12d
	leaq	L_.str.13(%rip), %rax
	leaq	L_.str.12(%rip), %rbx
	cmoveq	%rax, %rbx
LBB0_23:
	leaq	L_.str.18(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_26:
	movl	$10, %edi
	callq	_putchar
	movq	%r14, %rdi
	callq	_free
LBB0_29:
	leaq	-44(%rbp), %rdx
	movl	%r15d, %edi
	movl	$6, %esi
	callq	_mpt_read_ioc_page
	testq	%rax, %rax
	je	LBB0_37
## %bb.30:
	movq	%rax, %rbx
	movl	64(%rax), %esi
	leaq	L_.str.22(%rip), %rdi
	callq	_display_stripe_map
	movl	60(%rbx), %esi
	leaq	L_.str.23(%rip), %rdi
	callq	_display_stripe_map
	movl	36(%rbx), %esi
	leaq	L_.str.24(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	40(%rbx), %esi
	cmpl	%esi, 36(%rbx)
	je	LBB0_32
## %bb.31:
	leaq	L_.str.25(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_32:
	movl	$10, %edi
	callq	_putchar
	movl	44(%rbx), %esi
	leaq	L_.str.26(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	48(%rbx), %esi
	cmpl	%esi, 44(%rbx)
	je	LBB0_34
## %bb.33:
	leaq	L_.str.25(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_34:
	movl	$10, %edi
	callq	_putchar
	movl	52(%rbx), %esi
	leaq	L_.str.27(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	56(%rbx), %esi
	cmpl	%esi, 52(%rbx)
	je	LBB0_36
## %bb.35:
	leaq	L_.str.25(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_36:
	movl	$10, %edi
	callq	_putchar
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_39
LBB0_37:
	movl	-44(%rbp), %edi
	movq	_MPI_IOCSTATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edi, %eax
	movq	_MPI_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_39
## %bb.38:
	callq	_mpt_ioc_status
	leaq	L_.str.28(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
LBB0_39:
	movl	%r15d, %edi
	callq	_close
	xorl	%ebx, %ebx
LBB0_40:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	testl	%r12d, %r12d
	jne	LBB0_26
## %bb.25:
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"show adapter: extra arguments"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_mpt_unit,4,2                   ## @mpt_unit
	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"mpt_open"

L_.str.2:                               ## @.str.2
	.asciz	"Failed to get controller info"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid controller info"

L_.str.4:                               ## @.str.4
	.asciz	"mpt%d Adapter:\n"

L_.str.5:                               ## @.str.5
	.asciz	"       Board Name: %.16s\n"

L_.str.6:                               ## @.str.6
	.asciz	"   Board Assembly: %.16s\n"

L_.str.7:                               ## @.str.7
	.asciz	"        Chip Name: %.16s\n"

L_.str.8:                               ## @.str.8
	.asciz	"    Chip Revision: %.16s\n"

L_.str.9:                               ## @.str.9
	.asciz	"      RAID Levels:"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_IS_SUPPORT,4,2 ## @MPI_IOCPAGE2_CAP_FLAGS_IS_SUPPORT
L_.str.10:                              ## @.str.10
	.asciz	" RAID0"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_IM_SUPPORT,4,2 ## @MPI_IOCPAGE2_CAP_FLAGS_IM_SUPPORT
L_.str.11:                              ## @.str.11
	.asciz	"%s RAID1"

L_.str.12:                              ## @.str.12
	.asciz	","

L_.str.13:                              ## @.str.13
	.space	1

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_IME_SUPPORT,4,2 ## @MPI_IOCPAGE2_CAP_FLAGS_IME_SUPPORT
L_.str.14:                              ## @.str.14
	.asciz	"%s RAID1E"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_5_SUPPORT,4,2 ## @MPI_IOCPAGE2_CAP_FLAGS_RAID_5_SUPPORT
L_.str.15:                              ## @.str.15
	.asciz	"%s RAID5"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_6_SUPPORT,4,2 ## @MPI_IOCPAGE2_CAP_FLAGS_RAID_6_SUPPORT
L_.str.16:                              ## @.str.16
	.asciz	"%s RAID6"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_10_SUPPORT,4,2 ## @MPI_IOCPAGE2_CAP_FLAGS_RAID_10_SUPPORT
L_.str.17:                              ## @.str.17
	.asciz	"%s RAID10"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT,4,2 ## @MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT
L_.str.18:                              ## @.str.18
	.asciz	"%s RAID50"

L_.str.19:                              ## @.str.19
	.asciz	" none"

	.comm	_MPI_IOCSTATUS_MASK,4,2         ## @MPI_IOCSTATUS_MASK
	.comm	_MPI_IOCSTATUS_CONFIG_INVALID_PAGE,4,2 ## @MPI_IOCSTATUS_CONFIG_INVALID_PAGE
L_.str.21:                              ## @.str.21
	.asciz	"mpt_read_ioc_page(2): %s"

L_.str.22:                              ## @.str.22
	.asciz	"    RAID0 Stripes"

L_.str.23:                              ## @.str.23
	.asciz	"   RAID1E Stripes"

L_.str.24:                              ## @.str.24
	.asciz	" RAID0 Drives/Vol: %u"

L_.str.25:                              ## @.str.25
	.asciz	"-%u"

L_.str.26:                              ## @.str.26
	.asciz	" RAID1 Drives/Vol: %u"

L_.str.27:                              ## @.str.27
	.asciz	"RAID1E Drives/Vol: %u"

L_.str.28:                              ## @.str.28
	.asciz	"mpt_read_ioc_page(6): %s"

	.no_dead_strip	_show_adapter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_adapter
_show_adapter:                          ; @show_adapter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.1:
Lloh0:
	adrp	x21, _mpt_unit@GOTPAGE
Lloh1:
	ldr	x21, [x21, _mpt_unit@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_mpt_open
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x19, x0
	mov	w1, #0
	mov	x2, #0
	bl	_mpt_read_man_page
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
	ldr	w8, [x0, #68]
	cmp	w8, #17
	b.hi	LBB0_9
; %bb.4:
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_close
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_41
LBB0_7:
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	b	LBB0_41
LBB0_8:
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
	mov	x0, x19
	bl	_close
	b	LBB0_41
LBB0_9:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	x8, [x20]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	ldr	x8, [x20, #16]
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	ldr	x8, [x20, #24]
	str	x8, [sp]
Lloh27:
	adrp	x0, l_.str.8@PAGE
Lloh28:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	mov	x0, x20
	bl	_free
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #2
	bl	_mpt_read_ioc_page
	cbz	x0, LBB0_12
; %bb.10:
	mov	x20, x0
Lloh29:
	adrp	x0, l_.str.9@PAGE
Lloh30:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	ldr	w8, [x20, #32]
Lloh31:
	adrp	x9, _MPI_IOCPAGE2_CAP_FLAGS_IS_SUPPORT@GOTPAGE
Lloh32:
	ldr	x9, [x9, _MPI_IOCPAGE2_CAP_FLAGS_IS_SUPPORT@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	ands	w23, w9, w8
	b.eq	LBB0_14
; %bb.11:
Lloh34:
	adrp	x0, l_.str.10@PAGE
Lloh35:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	ldr	w8, [x20, #32]
	mov	w9, #1
	b	LBB0_15
LBB0_12:
	ldr	w0, [sp, #12]
Lloh36:
	adrp	x8, _MPI_IOCSTATUS_MASK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MPI_IOCSTATUS_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh39:
	adrp	x9, _MPI_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPAGE
Lloh40:
	ldr	x9, [x9, _MPI_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_30
; %bb.13:
	bl	_mpt_ioc_status
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh42:
	adrp	x0, l_.str.21@PAGE
Lloh43:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_warnx
	b	LBB0_30
LBB0_14:
	mov	w9, #0
LBB0_15:
Lloh44:
	adrp	x10, _MPI_IOCPAGE2_CAP_FLAGS_IM_SUPPORT@GOTPAGE
Lloh45:
	ldr	x10, [x10, _MPI_IOCPAGE2_CAP_FLAGS_IM_SUPPORT@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
Lloh47:
	adrp	x21, l_.str.12@PAGE
Lloh48:
	add	x21, x21, l_.str.12@PAGEOFF
Lloh49:
	adrp	x22, l_.str.13@PAGE
Lloh50:
	add	x22, x22, l_.str.13@PAGEOFF
	tst	w10, w8
	b.eq	LBB0_17
; %bb.16:
	cmp	w23, #0
	csel	x8, x22, x21, eq
	str	x8, [sp]
Lloh51:
	adrp	x0, l_.str.11@PAGE
Lloh52:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printf
	ldr	w8, [x20, #32]
	mov	w9, #1
LBB0_17:
Lloh53:
	adrp	x10, _MPI_IOCPAGE2_CAP_FLAGS_IME_SUPPORT@GOTPAGE
Lloh54:
	ldr	x10, [x10, _MPI_IOCPAGE2_CAP_FLAGS_IME_SUPPORT@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_19
; %bb.18:
	cmp	w9, #0
	csel	x8, x22, x21, eq
	str	x8, [sp]
Lloh56:
	adrp	x0, l_.str.14@PAGE
Lloh57:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_printf
	ldr	w8, [x20, #32]
	mov	w9, #1
LBB0_19:
Lloh58:
	adrp	x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_5_SUPPORT@GOTPAGE
Lloh59:
	ldr	x10, [x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_5_SUPPORT@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_21
; %bb.20:
	cmp	w9, #0
	csel	x8, x22, x21, eq
	str	x8, [sp]
Lloh61:
	adrp	x0, l_.str.15@PAGE
Lloh62:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_printf
	ldr	w8, [x20, #32]
	mov	w9, #1
LBB0_21:
Lloh63:
	adrp	x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_6_SUPPORT@GOTPAGE
Lloh64:
	ldr	x10, [x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_6_SUPPORT@GOTPAGEOFF]
Lloh65:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_23
; %bb.22:
	cmp	w9, #0
	csel	x8, x22, x21, eq
	str	x8, [sp]
Lloh66:
	adrp	x0, l_.str.16@PAGE
Lloh67:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_printf
	ldr	w8, [x20, #32]
	mov	w9, #1
LBB0_23:
Lloh68:
	adrp	x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_10_SUPPORT@GOTPAGE
Lloh69:
	ldr	x10, [x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_10_SUPPORT@GOTPAGEOFF]
Lloh70:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_25
; %bb.24:
	cmp	w9, #0
	csel	x8, x22, x21, eq
	str	x8, [sp]
Lloh71:
	adrp	x0, l_.str.17@PAGE
Lloh72:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_printf
	ldr	w8, [x20, #32]
Lloh73:
	adrp	x9, _MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT@GOTPAGE
Lloh74:
	ldr	x9, [x9, _MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT@GOTPAGEOFF]
Lloh75:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_27
	b	LBB0_29
LBB0_25:
Lloh76:
	adrp	x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT@GOTPAGE
Lloh77:
	ldr	x10, [x10, _MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT@GOTPAGEOFF]
Lloh78:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_42
; %bb.26:
	cmp	w9, #0
	csel	x21, x22, x21, eq
LBB0_27:
	str	x21, [sp]
Lloh79:
	adrp	x0, l_.str.18@PAGE
Lloh80:
	add	x0, x0, l_.str.18@PAGEOFF
LBB0_28:
	bl	_printf
LBB0_29:
	mov	w0, #10
	bl	_putchar
	mov	x0, x20
	bl	_free
LBB0_30:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #6
	bl	_mpt_read_ioc_page
	cbz	x0, LBB0_38
; %bb.31:
	mov	x20, x0
	ldr	w1, [x0, #64]
Lloh81:
	adrp	x0, l_.str.22@PAGE
Lloh82:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_display_stripe_map
	ldr	w1, [x20, #60]
Lloh83:
	adrp	x0, l_.str.23@PAGE
Lloh84:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_display_stripe_map
	ldr	w8, [x20, #36]
	str	x8, [sp]
Lloh85:
	adrp	x0, l_.str.24@PAGE
Lloh86:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_printf
	ldp	w9, w8, [x20, #36]
	cmp	w9, w8
	b.eq	LBB0_33
; %bb.32:
	str	x8, [sp]
Lloh87:
	adrp	x0, l_.str.25@PAGE
Lloh88:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_printf
LBB0_33:
	mov	w0, #10
	bl	_putchar
	ldr	w8, [x20, #44]
	str	x8, [sp]
Lloh89:
	adrp	x0, l_.str.26@PAGE
Lloh90:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	_printf
	ldp	w9, w8, [x20, #44]
	cmp	w9, w8
	b.eq	LBB0_35
; %bb.34:
	str	x8, [sp]
Lloh91:
	adrp	x0, l_.str.25@PAGE
Lloh92:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_printf
LBB0_35:
	mov	w0, #10
	bl	_putchar
	ldr	w8, [x20, #52]
	str	x8, [sp]
Lloh93:
	adrp	x0, l_.str.27@PAGE
Lloh94:
	add	x0, x0, l_.str.27@PAGEOFF
	bl	_printf
	ldp	w9, w8, [x20, #52]
	cmp	w9, w8
	b.eq	LBB0_37
; %bb.36:
	str	x8, [sp]
Lloh95:
	adrp	x0, l_.str.25@PAGE
Lloh96:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_printf
LBB0_37:
	mov	w0, #10
	bl	_putchar
	mov	x0, x20
	bl	_free
	b	LBB0_40
LBB0_38:
	ldr	w0, [sp, #12]
Lloh97:
	adrp	x8, _MPI_IOCSTATUS_MASK@GOTPAGE
Lloh98:
	ldr	x8, [x8, _MPI_IOCSTATUS_MASK@GOTPAGEOFF]
Lloh99:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh100:
	adrp	x9, _MPI_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPAGE
Lloh101:
	ldr	x9, [x9, _MPI_IOCSTATUS_CONFIG_INVALID_PAGE@GOTPAGEOFF]
Lloh102:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_40
; %bb.39:
	bl	_mpt_ioc_status
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh103:
	adrp	x0, l_.str.28@PAGE
Lloh104:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	_warnx
LBB0_40:
	mov	x0, x19
	bl	_close
	mov	w20, #0
LBB0_41:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_42:
	cbnz	w9, LBB0_29
; %bb.43:
Lloh105:
	adrp	x0, l_.str.19@PAGE
Lloh106:
	add	x0, x0, l_.str.19@PAGEOFF
	b	LBB0_28
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"show adapter: extra arguments"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_mpt_unit,4,2                   ; @mpt_unit
	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"mpt_open"

l_.str.2:                               ; @.str.2
	.asciz	"Failed to get controller info"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid controller info"

l_.str.4:                               ; @.str.4
	.asciz	"mpt%d Adapter:\n"

l_.str.5:                               ; @.str.5
	.asciz	"       Board Name: %.16s\n"

l_.str.6:                               ; @.str.6
	.asciz	"   Board Assembly: %.16s\n"

l_.str.7:                               ; @.str.7
	.asciz	"        Chip Name: %.16s\n"

l_.str.8:                               ; @.str.8
	.asciz	"    Chip Revision: %.16s\n"

l_.str.9:                               ; @.str.9
	.asciz	"      RAID Levels:"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_IS_SUPPORT,4,2 ; @MPI_IOCPAGE2_CAP_FLAGS_IS_SUPPORT
l_.str.10:                              ; @.str.10
	.asciz	" RAID0"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_IM_SUPPORT,4,2 ; @MPI_IOCPAGE2_CAP_FLAGS_IM_SUPPORT
l_.str.11:                              ; @.str.11
	.asciz	"%s RAID1"

l_.str.12:                              ; @.str.12
	.asciz	","

l_.str.13:                              ; @.str.13
	.space	1

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_IME_SUPPORT,4,2 ; @MPI_IOCPAGE2_CAP_FLAGS_IME_SUPPORT
l_.str.14:                              ; @.str.14
	.asciz	"%s RAID1E"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_5_SUPPORT,4,2 ; @MPI_IOCPAGE2_CAP_FLAGS_RAID_5_SUPPORT
l_.str.15:                              ; @.str.15
	.asciz	"%s RAID5"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_6_SUPPORT,4,2 ; @MPI_IOCPAGE2_CAP_FLAGS_RAID_6_SUPPORT
l_.str.16:                              ; @.str.16
	.asciz	"%s RAID6"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_10_SUPPORT,4,2 ; @MPI_IOCPAGE2_CAP_FLAGS_RAID_10_SUPPORT
l_.str.17:                              ; @.str.17
	.asciz	"%s RAID10"

	.comm	_MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT,4,2 ; @MPI_IOCPAGE2_CAP_FLAGS_RAID_50_SUPPORT
l_.str.18:                              ; @.str.18
	.asciz	"%s RAID50"

l_.str.19:                              ; @.str.19
	.asciz	" none"

	.comm	_MPI_IOCSTATUS_MASK,4,2         ; @MPI_IOCSTATUS_MASK
	.comm	_MPI_IOCSTATUS_CONFIG_INVALID_PAGE,4,2 ; @MPI_IOCSTATUS_CONFIG_INVALID_PAGE
l_.str.21:                              ; @.str.21
	.asciz	"mpt_read_ioc_page(2): %s"

l_.str.22:                              ; @.str.22
	.asciz	"    RAID0 Stripes"

l_.str.23:                              ; @.str.23
	.asciz	"   RAID1E Stripes"

l_.str.24:                              ; @.str.24
	.asciz	" RAID0 Drives/Vol: %u"

l_.str.25:                              ; @.str.25
	.asciz	"-%u"

l_.str.26:                              ; @.str.26
	.asciz	" RAID1 Drives/Vol: %u"

l_.str.27:                              ; @.str.27
	.asciz	"RAID1E Drives/Vol: %u"

l_.str.28:                              ; @.str.28
	.asciz	"mpt_read_ioc_page(6): %s"

	.no_dead_strip	_show_adapter
.subsections_via_symbols
