	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_fw_version
_dump_fw_version:                       ## @dump_fw_version
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NUM_PCIE_SERDES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_NUM_FABRIC_SERDES@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_CR_SBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SBUS_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_acquire_chip_resource
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dd_dev_err                     ## TAILCALL
LBB0_3:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_set_sbus_fast_mode
	movq	_SBUS_MASTER_BROADCAST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_WRITE_SBUS_RECEIVER@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movl	$2, %edx
	xorl	%r8d, %r8d
	callq	_sbus_request
	movl	(%rbx), %esi
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	$7, %edx
	movl	$1, %r8d
	callq	_sbus_request
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$8, %edx
	movl	$1, %ecx
	callq	_sbus_read
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dd_dev_info
	movq	_NUM_PCIE_SERDES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.4:
	movq	_pcie_serdes_addrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %ebx
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$3, %edx
	xorl	%r8d, %r8d
	callq	_sbus_request
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_sbus_read
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, (%r14)
	movq	_NUM_PCIE_SERDES@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_9
## %bb.5:
	movl	$1, %r13d
	movl	$1, %r12d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_pcie_serdes_addrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax,%r12,4), %ebx
	movq	_WRITE_SBUS_RECEIVER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$3, %edx
	xorl	%r8d, %r8d
	callq	_sbus_request
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_sbus_read
	cmpq	%rax, %r14
	movl	$0, %ecx
	cmovnel	%ecx, %r13d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12,8)
	incq	%r12
	movq	_NUM_PCIE_SERDES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r12
	jl	LBB0_6
## %bb.7:
	movq	_NUM_PCIE_SERDES@GOTPCREL(%rip), %rbx
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.8:
	movq	_NUM_FABRIC_SERDES@GOTPCREL(%rip), %r13
LBB0_9:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dd_dev_info
LBB0_15:
	cmpl	$0, (%r13)
	jle	LBB0_16
## %bb.17:
	movq	_fabric_serdes_addrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %ebx
	movq	_WRITE_SBUS_RECEIVER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$3, %edx
	xorl	%r8d, %r8d
	callq	_sbus_request
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_sbus_read
	movq	%rax, %rdx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, (%rax)
	cmpl	$2, (%r13)
	movq	_CR_SBUS@GOTPCREL(%rip), %r12
	jl	LBB0_22
## %bb.18:
	movl	$1, %r12d
	movl	$1, %r13d
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	_fabric_serdes_addrs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax,%r13,4), %ebx
	movq	_WRITE_SBUS_RECEIVER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rdx, %r15
	movl	$3, %edx
	xorl	%r8d, %r8d
	callq	_sbus_request
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_sbus_read
	movq	%r15, %rdx
	cmpq	%rax, %r15
	movl	$0, %ecx
	cmovnel	%ecx, %r12d
	movq	%rax, (%rbx,%r13,8)
	incq	%r13
	movq	_NUM_FABRIC_SERDES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jl	LBB0_19
## %bb.20:
	movq	%r14, %r13
	movq	_NUM_FABRIC_SERDES@GOTPCREL(%rip), %r14
	testl	%r12d, %r12d
	je	LBB0_23
## %bb.21:
	movq	_CR_SBUS@GOTPCREL(%rip), %r12
	movq	%r13, %r15
	jmp	LBB0_22
LBB0_16:
	xorl	%edx, %edx
	movq	_CR_SBUS@GOTPCREL(%rip), %r12
LBB0_22:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dd_dev_info
	movq	%r15, %r13
LBB0_27:
	movq	%r13, %rdi
	callq	_clear_sbus_fast_mode
	movl	(%r12), %esi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.28:
	movq	%r13, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_release_chip_resource          ## TAILCALL
LBB0_11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dd_dev_warn
	cmpl	$0, (%rbx)
	movq	_NUM_FABRIC_SERDES@GOTPCREL(%rip), %r13
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jle	LBB0_15
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_dd_dev_info
	movq	_NUM_PCIE_SERDES@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_15
## %bb.13:
	movl	$1, %ebx
	leaq	L_.str.4(%rip), %r14
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dd_dev_info
	incq	%rbx
	movq	_NUM_PCIE_SERDES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
	jmp	LBB0_15
LBB0_23:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_dd_dev_warn
	cmpl	$0, (%r14)
	movq	_CR_SBUS@GOTPCREL(%rip), %r12
	jle	LBB0_27
## %bb.24:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_dd_dev_info
	cmpl	$2, (%r14)
	jl	LBB0_27
## %bb.25:
	movl	$1, %ebx
	leaq	L_.str.7(%rip), %r15
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dd_dev_info
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_26
	jmp	LBB0_27
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_PCIE_SERDES,4,2            ## @NUM_PCIE_SERDES
	.comm	_NUM_FABRIC_SERDES,4,2          ## @NUM_FABRIC_SERDES
	.comm	_CR_SBUS,4,2                    ## @CR_SBUS
	.comm	_SBUS_TIMEOUT,4,2               ## @SBUS_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to acquire SBus to read firmware versions\n"

	.comm	_SBUS_MASTER_BROADCAST,4,2      ## @SBUS_MASTER_BROADCAST
	.comm	_WRITE_SBUS_RECEIVER,4,2        ## @WRITE_SBUS_RECEIVER
L_.str.1:                               ## @.str.1
	.asciz	"SBus Master firmware version 0x%08x\n"

	.comm	_pcie_serdes_addrs,8,3          ## @pcie_serdes_addrs
L_.str.2:                               ## @.str.2
	.asciz	"PCIe SerDes firmware version 0x%x\n"

L_.str.3:                               ## @.str.3
	.asciz	"PCIe SerDes do not have the same firmware version\n"

L_.str.4:                               ## @.str.4
	.asciz	"PCIe SerDes lane %d firmware version 0x%x\n"

	.comm	_fabric_serdes_addrs,8,3        ## @fabric_serdes_addrs
L_.str.5:                               ## @.str.5
	.asciz	"Fabric SerDes firmware version 0x%x\n"

L_.str.6:                               ## @.str.6
	.asciz	"Fabric SerDes do not have the same firmware version\n"

L_.str.7:                               ## @.str.7
	.asciz	"Fabric SerDes lane %d firmware version 0x%x\n"

	.no_dead_strip	_dump_fw_version
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_fw_version
_dump_fw_version:                       ; @dump_fw_version
	.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, #16
	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, #-88]
Lloh3:
	adrp	x26, _NUM_PCIE_SERDES@GOTPAGE
Lloh4:
	ldr	x26, [x26, _NUM_PCIE_SERDES@GOTPAGEOFF]
	ldr	w8, [x26]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x27, x9, x8
	mov	sp, x27
Lloh7:
	adrp	x28, _NUM_FABRIC_SERDES@GOTPAGE
Lloh8:
	ldr	x28, [x28, _NUM_FABRIC_SERDES@GOTPAGEOFF]
	ldr	w8, [x28]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x24, x9, x8
	mov	sp, x24
Lloh11:
	adrp	x22, _CR_SBUS@GOTPAGE
Lloh12:
	ldr	x22, [x22, _CR_SBUS@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh13:
	adrp	x8, _SBUS_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SBUS_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	bl	_acquire_chip_resource
	cbz	w0, LBB0_3
; %bb.1:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.2:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	sub	sp, x29, #80
	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
	b	_dd_dev_err
LBB0_3:
	mov	x0, x19
	bl	_set_sbus_fast_mode
Lloh21:
	adrp	x20, _SBUS_MASTER_BROADCAST@GOTPAGE
Lloh22:
	ldr	x20, [x20, _SBUS_MASTER_BROADCAST@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh23:
	adrp	x25, _WRITE_SBUS_RECEIVER@GOTPAGE
Lloh24:
	ldr	x25, [x25, _WRITE_SBUS_RECEIVER@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #2
	mov	w4, #0
	bl	_sbus_request
	ldr	w1, [x20]
	ldr	w3, [x25]
	mov	x0, x19
	mov	w2, #7
	mov	w4, #1
	bl	_sbus_request
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #8
	mov	w3, #1
	bl	_sbus_read
	mov	x2, x0
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dd_dev_info
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
Lloh27:
	adrp	x28, _pcie_serdes_addrs@GOTPAGE
Lloh28:
	ldr	x28, [x28, _pcie_serdes_addrs@GOTPAGEOFF]
	ldr	x8, [x28]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w20, [x8]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #3
	mov	w4, #0
	bl	_sbus_request
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	mov	w3, #0
	bl	_sbus_read
	mov	x20, x0
	str	x0, [x27]
	ldr	w8, [x26]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.5:
	mov	w22, #1
	mov	w23, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w21, [x8, x22, lsl #2]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #3
	mov	w4, #0
	bl	_sbus_request
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	mov	x0, x19
	mov	x1, x21
	mov	w2, #4
	mov	w3, #0
	bl	_sbus_read
	str	x0, [x27, x22, lsl #3]
	cmp	x20, x0
	csel	w23, w23, wzr, eq
	add	x22, x22, #1
	ldrsw	x8, [x26]
	cmp	x22, x8
	b.lt	LBB0_6
; %bb.7:
	cbz	w23, LBB0_22
; %bb.8:
Lloh29:
	adrp	x22, _CR_SBUS@GOTPAGE
Lloh30:
	ldr	x22, [x22, _CR_SBUS@GOTPAGEOFF]
LBB0_9:
Lloh31:
	adrp	x28, _NUM_FABRIC_SERDES@GOTPAGE
Lloh32:
	ldr	x28, [x28, _NUM_FABRIC_SERDES@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
	mov	x20, #0
LBB0_11:
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dd_dev_info
LBB0_12:
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.13:
Lloh35:
	adrp	x26, _fabric_serdes_addrs@GOTPAGE
Lloh36:
	ldr	x26, [x26, _fabric_serdes_addrs@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w20, [x8]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #3
	mov	w4, #0
	bl	_sbus_request
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	mov	w3, #0
	bl	_sbus_read
	mov	x20, x0
	str	x0, [x24]
	ldr	w8, [x28]
	cmp	w8, #2
	b.lt	LBB0_19
; %bb.14:
	mov	x27, x22
	mov	w22, #1
	mov	w23, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w21, [x8, x22, lsl #2]
	ldr	w3, [x25]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #3
	mov	w4, #0
	bl	_sbus_request
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	mov	x0, x19
	mov	x1, x21
	mov	w2, #4
	mov	w3, #0
	bl	_sbus_read
	str	x0, [x24, x22, lsl #3]
	cmp	x20, x0
	csel	w23, w23, wzr, eq
	add	x22, x22, #1
	ldrsw	x8, [x28]
	cmp	x22, x8
	b.lt	LBB0_15
; %bb.16:
	cbz	w23, LBB0_26
; %bb.17:
	mov	x22, x27
	b	LBB0_19
LBB0_18:
	mov	x20, #0
LBB0_19:
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dd_dev_info
LBB0_20:
	mov	x0, x19
	bl	_clear_sbus_fast_mode
	ldr	w1, [x22]
	ldur	x8, [x29, #-88]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.21:
	mov	x0, x19
	sub	sp, x29, #80
	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
	b	_release_chip_resource
LBB0_22:
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dd_dev_warn
	ldr	w8, [x26]
	cmp	w8, #1
Lloh44:
	adrp	x22, _CR_SBUS@GOTPAGE
Lloh45:
	ldr	x22, [x22, _CR_SBUS@GOTPAGEOFF]
Lloh46:
	adrp	x28, _NUM_FABRIC_SERDES@GOTPAGE
Lloh47:
	ldr	x28, [x28, _NUM_FABRIC_SERDES@GOTPAGEOFF]
	b.lt	LBB0_12
; %bb.23:
	str	x20, [sp, #-16]!
Lloh48:
	adrp	x1, l_.str.4@PAGE
Lloh49:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_dd_dev_info
	add	sp, sp, #16
	ldr	w8, [x26]
	cmp	w8, #1
	b.le	LBB0_12
; %bb.24:
	mov	w20, #1
Lloh50:
	adrp	x21, l_.str.4@PAGE
Lloh51:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27, x20, lsl #3]
	str	x8, [sp, #-16]!
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_dd_dev_info
	add	sp, sp, #16
	add	x20, x20, #1
	ldrsw	x8, [x26]
	cmp	x20, x8
	b.lt	LBB0_25
	b	LBB0_12
LBB0_26:
Lloh52:
	adrp	x1, l_.str.6@PAGE
Lloh53:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_dd_dev_warn
	ldr	w8, [x28]
	cmp	w8, #1
	mov	x22, x27
	b.lt	LBB0_20
; %bb.27:
	str	x20, [sp, #-16]!
Lloh54:
	adrp	x1, l_.str.7@PAGE
Lloh55:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_dd_dev_info
	add	sp, sp, #16
	ldr	w8, [x28]
	cmp	w8, #2
	b.lt	LBB0_20
; %bb.28:
	mov	w20, #1
Lloh56:
	adrp	x21, l_.str.7@PAGE
Lloh57:
	add	x21, x21, l_.str.7@PAGEOFF
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, x20, lsl #3]
	str	x8, [sp, #-16]!
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_dd_dev_info
	add	sp, sp, #16
	add	x20, x20, #1
	ldrsw	x8, [x28]
	cmp	x20, x8
	b.lt	LBB0_29
	b	LBB0_20
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_PCIE_SERDES,4,2            ; @NUM_PCIE_SERDES
	.comm	_NUM_FABRIC_SERDES,4,2          ; @NUM_FABRIC_SERDES
	.comm	_CR_SBUS,4,2                    ; @CR_SBUS
	.comm	_SBUS_TIMEOUT,4,2               ; @SBUS_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to acquire SBus to read firmware versions\n"

	.comm	_SBUS_MASTER_BROADCAST,4,2      ; @SBUS_MASTER_BROADCAST
	.comm	_WRITE_SBUS_RECEIVER,4,2        ; @WRITE_SBUS_RECEIVER
l_.str.1:                               ; @.str.1
	.asciz	"SBus Master firmware version 0x%08x\n"

	.comm	_pcie_serdes_addrs,8,3          ; @pcie_serdes_addrs
l_.str.2:                               ; @.str.2
	.asciz	"PCIe SerDes firmware version 0x%x\n"

l_.str.3:                               ; @.str.3
	.asciz	"PCIe SerDes do not have the same firmware version\n"

l_.str.4:                               ; @.str.4
	.asciz	"PCIe SerDes lane %d firmware version 0x%x\n"

	.comm	_fabric_serdes_addrs,8,3        ; @fabric_serdes_addrs
l_.str.5:                               ; @.str.5
	.asciz	"Fabric SerDes firmware version 0x%x\n"

l_.str.6:                               ; @.str.6
	.asciz	"Fabric SerDes do not have the same firmware version\n"

l_.str.7:                               ; @.str.7
	.asciz	"Fabric SerDes lane %d firmware version 0x%x\n"

	.no_dead_strip	_dump_fw_version
.subsections_via_symbols
