	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ci_mc_load_microcode           ## -- Begin function ci_mc_load_microcode
	.p2align	4, 0x90
_ci_mc_load_microcode:                  ## @ci_mc_load_microcode
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r13
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.3:
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_radeon_ucode_print_mc_hdr
	movl	12(%rbx), %edi
	callq	_le32_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	24(%r13), %rax
	movq	8(%rax), %r14
	movl	8(%rbx), %edi
	callq	_le32_to_cpu
	movslq	%eax, %r15
	addq	%r14, %r15
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	24(%r13), %rax
	movq	8(%rax), %r14
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	cltq
	addq	%r14, %rax
	movq	%r12, %r14
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_4:
	movl	(%rax), %r14d
	movl	(%r13), %ecx
	cmpl	$129, %ecx
	je	LBB0_5
## %bb.6:
	cmpl	$128, %ecx
	jne	LBB0_1
## %bb.7:
	movq	_HAWAII_IO_MC_REGS_SIZE@GOTPCREL(%rip), %rcx
	movq	_hawaii_io_mc_regs@GOTPCREL(%rip), %rdx
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	subl	(%rax), %edx
	jmp	LBB0_35
LBB0_5:
	movq	_BONAIRE_IO_MC_REGS_SIZE@GOTPCREL(%rip), %rcx
	movq	_bonaire_io_mc_regs@GOTPCREL(%rip), %rdx
LBB0_8:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	8(%rax), %r12
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
LBB0_9:
	leal	3(%r14), %ebx
	testl	%r14d, %r14d
	cmovnsl	%r14d, %ebx
	movq	_MC_SEQ_SUP_CNTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_RUN_MASK@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%eax, (%rcx)
	jne	LBB0_35
## %bb.10:
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	_MC_SEQ_SUP_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$8, %esi
	callq	_WREG32
	movl	(%rbx), %edi
	movl	$16, %esi
	callq	_WREG32
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_16
## %bb.11:
	movl	%eax, %eax
	addq	%rax, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rax
	sarq	$30, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12,%rax), %esi
	movl	%ebx, %edi
	callq	_WREG32
	movq	_MC_SEQ_IO_DEBUG_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	1(%r13), %eax
	cltq
	movl	(%r12,%rax,4), %esi
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	callq	_WREG32
	addq	$2, %r13
	movabsq	$8589934592, %rax               ## imm = 0x200000000
	addq	%rax, %r14
	cmpq	%r13, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	movq	_MC_SEQ_IO_DEBUG_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leal	4(%r15), %r12d
	movl	%r15d, %edi
	callq	_le32_to_cpup
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_WREG32
	movq	_MC_SEQ_IO_DEBUG_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addq	$8, %r15
	movl	%r12d, %edi
	callq	_le32_to_cpup
	movl	%ebx, %edi
	movl	%eax, %esi
	jmp	LBB0_15
LBB0_16:
	movq	_MC_SEQ_MISC0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	16(%r13), %rcx
	cmpl	$26185, (%rcx)                  ## imm = 0x6649
	jne	LBB0_19
## %bb.17:
	andl	$65280, %eax                    ## imm = 0xFF00
	cmpl	$22016, %eax                    ## imm = 0x5600
	jne	LBB0_19
## %bb.18:
	movq	_MC_SEQ_IO_DEBUG_INDEX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$5, %esi
	callq	_WREG32
	movq	_MC_SEQ_IO_DEBUG_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$35, %esi
	callq	_WREG32
	movl	(%r14), %edi
	movl	$9, %esi
	callq	_WREG32
	movl	(%rbx), %edi
	movl	$496, %esi                      ## imm = 0x1F0
	callq	_WREG32
LBB0_19:
	cmpl	$4, -96(%rbp)                   ## 4-byte Folded Reload
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	jl	LBB0_25
## %bb.20:
	sarl	$2, %r15d
	movq	_MC_SEQ_SUP_PGM@GOTPCREL(%rip), %r14
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	4(%rdi), %rbx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_le32_to_cpup
	movl	%eax, %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	%r12d, %edi
	callq	_WREG32
	decl	%r15d
	je	LBB0_25
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 8(%r13)
	movl	(%r14), %r12d
	jne	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	4(%rdi), %rbx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_be32_to_cpup
	movl	%eax, %esi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_24
LBB0_25:
	movq	_MC_SEQ_SUP_CNTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$8, %esi
	callq	_WREG32
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_WREG32
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_WREG32
	cmpl	$0, 4(%r13)
	movl	$0, %edx
	jle	LBB0_35
## %bb.26:
	xorl	%ebx, %ebx
	movq	_MC_SEQ_TRAIN_WAKEUP_CNTL@GOTPCREL(%rip), %r14
	movq	_TRAIN_DONE_D0@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_RREG32
	testl	%eax, (%r15)
	jne	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	$1, %edi
	callq	_udelay
	incl	%ebx
	movl	4(%r13), %eax
	cmpl	%eax, %ebx
	jl	LBB0_27
	jmp	LBB0_30
LBB0_28:
	movl	4(%r13), %eax
LBB0_30:
	testl	%eax, %eax
	jle	LBB0_34
## %bb.31:
	movq	_TRAIN_DONE_D1@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_RREG32
	testl	%eax, (%r15)
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movl	$1, %edi
	callq	_udelay
	incl	%ebx
	cmpl	4(%r13), %ebx
	jl	LBB0_32
LBB0_34:
	xorl	%edx, %edx
LBB0_35:
	movl	%edx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_bonaire_io_mc_regs,4,2         ## @bonaire_io_mc_regs
	.comm	_BONAIRE_IO_MC_REGS_SIZE,4,2    ## @BONAIRE_IO_MC_REGS_SIZE
	.comm	_hawaii_io_mc_regs,4,2          ## @hawaii_io_mc_regs
	.comm	_HAWAII_IO_MC_REGS_SIZE,4,2     ## @HAWAII_IO_MC_REGS_SIZE
	.comm	_MC_SEQ_SUP_CNTL,4,2            ## @MC_SEQ_SUP_CNTL
	.comm	_RUN_MASK,4,2                   ## @RUN_MASK
	.comm	_MC_SEQ_IO_DEBUG_INDEX,4,2      ## @MC_SEQ_IO_DEBUG_INDEX
	.comm	_MC_SEQ_IO_DEBUG_DATA,4,2       ## @MC_SEQ_IO_DEBUG_DATA
	.comm	_MC_SEQ_MISC0,4,2               ## @MC_SEQ_MISC0
	.comm	_MC_SEQ_SUP_PGM,4,2             ## @MC_SEQ_SUP_PGM
	.comm	_MC_SEQ_TRAIN_WAKEUP_CNTL,4,2   ## @MC_SEQ_TRAIN_WAKEUP_CNTL
	.comm	_TRAIN_DONE_D0,4,2              ## @TRAIN_DONE_D0
	.comm	_TRAIN_DONE_D1,4,2              ## @TRAIN_DONE_D1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ci_mc_load_microcode           ; -- Begin function ci_mc_load_microcode
	.p2align	2
_ci_mc_load_microcode:                  ; @ci_mc_load_microcode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x20, [x8, #8]
	mov	x0, x20
	bl	_radeon_ucode_print_mc_hdr
	ldr	w0, [x20, #12]
	bl	_le32_to_cpu
	add	w8, w0, #7
	cmp	w0, #0
	csel	w8, w8, w0, lt
	asr	w24, w8, #3
	ldr	x8, [x19, #24]
	ldr	x21, [x8, #8]
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	add	x23, x21, w0, sxtw
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	mov	x25, x0
	ldr	x8, [x19, #24]
	ldr	x21, [x8, #8]
	ldr	w0, [x20]
	bl	_le32_to_cpu
	mov	x22, #0
	mov	x28, #0
	add	x20, x21, w0, sxtw
	b	LBB0_9
LBB0_3:
	ldr	w25, [x8]
	ldr	w9, [x19]
	cmp	w9, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w9, #128
	b.ne	LBB0_6
; %bb.5:
Lloh0:
	adrp	x9, _HAWAII_IO_MC_REGS_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HAWAII_IO_MC_REGS_SIZE@GOTPAGEOFF]
Lloh2:
	adrp	x28, _hawaii_io_mc_regs@GOTPAGE
Lloh3:
	ldr	x28, [x28, _hawaii_io_mc_regs@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_7:
Lloh7:
	adrp	x9, _BONAIRE_IO_MC_REGS_SIZE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BONAIRE_IO_MC_REGS_SIZE@GOTPAGEOFF]
Lloh9:
	adrp	x28, _bonaire_io_mc_regs@GOTPAGE
Lloh10:
	ldr	x28, [x28, _bonaire_io_mc_regs@GOTPAGEOFF]
LBB0_8:
	mov	x20, #0
	mov	x23, #0
	ldr	w24, [x9]
	ldr	x22, [x8, #8]
LBB0_9:
	add	w8, w25, #3
	cmp	w25, #0
	csel	w26, w8, w25, lt
Lloh11:
	adrp	x21, _MC_SEQ_SUP_CNTL@GOTPAGE
Lloh12:
	ldr	x21, [x21, _MC_SEQ_SUP_CNTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_RREG32
Lloh13:
	adrp	x8, _RUN_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RUN_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	stp	w26, w25, [sp]                  ; 8-byte Folded Spill
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w0, [x21]
	mov	w1, #8
	bl	_WREG32
	ldr	w0, [x21]
	mov	w1, #16
	bl	_WREG32
	cmp	w24, #1
	b.lt	LBB0_18
; %bb.13:
	mov	x22, #0
	mov	x27, #0
	mov	w8, w24
	lsl	x21, x8, #1
	mov	x26, #8589934592
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	asr	x8, x22, #30
	ldr	w1, [x28, x8]
	mov	x0, x24
	bl	_WREG32
Lloh16:
	adrp	x8, _MC_SEQ_IO_DEBUG_DATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MC_SEQ_IO_DEBUG_DATA@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	add	w8, w27, #1
	ldr	w1, [x28, w8, sxtw #2]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_WREG32
	add	x27, x27, #2
	add	x22, x22, x26
	cmp	x21, x27
	b.eq	LBB0_18
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
Lloh19:
	adrp	x9, _MC_SEQ_IO_DEBUG_INDEX@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MC_SEQ_IO_DEBUG_INDEX@GOTPAGEOFF]
Lloh21:
	ldr	w24, [x9]
	cbz	x8, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w25, w23, #4
	mov	x0, x23
	bl	_le32_to_cpup
	mov	x1, x0
	mov	x0, x24
	bl	_WREG32
Lloh22:
	adrp	x8, _MC_SEQ_IO_DEBUG_DATA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MC_SEQ_IO_DEBUG_DATA@GOTPAGEOFF]
Lloh24:
	ldr	w24, [x8]
	add	x23, x23, #8
	mov	x0, x25
	bl	_le32_to_cpup
	mov	x1, x0
	mov	x0, x24
	b	LBB0_15
LBB0_18:
Lloh25:
	adrp	x8, _MC_SEQ_MISC0@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MC_SEQ_MISC0@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_RREG32
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	and	w9, w0, #0xff00
	mov	w10, #26185
	cmp	w8, w10
	mov	w8, #22016
	ccmp	w9, w8, #0, eq
	b.ne	LBB0_20
; %bb.19:
Lloh28:
	adrp	x22, _MC_SEQ_IO_DEBUG_INDEX@GOTPAGE
Lloh29:
	ldr	x22, [x22, _MC_SEQ_IO_DEBUG_INDEX@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	w1, #5
	bl	_WREG32
Lloh30:
	adrp	x21, _MC_SEQ_IO_DEBUG_DATA@GOTPAGE
Lloh31:
	ldr	x21, [x21, _MC_SEQ_IO_DEBUG_DATA@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #35
	bl	_WREG32
	ldr	w0, [x22]
	mov	w1, #9
	bl	_WREG32
	ldr	w0, [x21]
	mov	w1, #496
	bl	_WREG32
LBB0_20:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w8, #4
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	b.lt	LBB0_26
; %bb.21:
	asr	w21, w8, #2
Lloh32:
	adrp	x23, _MC_SEQ_SUP_PGM@GOTPAGE
Lloh33:
	ldr	x23, [x23, _MC_SEQ_SUP_PGM@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x24, x20, #4
	mov	x0, x20
	bl	_le32_to_cpup
	mov	x1, x0
	mov	x20, x24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x22
	bl	_WREG32
	subs	w21, w21, #1
	b.eq	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w22, [x23]
	cbnz	x8, LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x24, x25, #4
	mov	x0, x25
	bl	_be32_to_cpup
	mov	x1, x0
	mov	x25, x24
	b	LBB0_23
LBB0_26:
Lloh34:
	adrp	x20, _MC_SEQ_SUP_CNTL@GOTPAGE
Lloh35:
	ldr	x20, [x20, _MC_SEQ_SUP_CNTL@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	w1, #8
	bl	_WREG32
	ldr	w0, [x20]
	mov	w1, #4
	bl	_WREG32
	ldr	w0, [x20]
	mov	w1, #1
	bl	_WREG32
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.27:
	mov	w21, #0
Lloh36:
	adrp	x20, _MC_SEQ_TRAIN_WAKEUP_CNTL@GOTPAGE
Lloh37:
	ldr	x20, [x20, _MC_SEQ_TRAIN_WAKEUP_CNTL@GOTPAGEOFF]
Lloh38:
	adrp	x22, _TRAIN_DONE_D0@GOTPAGE
Lloh39:
	ldr	x22, [x22, _TRAIN_DONE_D0@GOTPAGEOFF]
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w0, #1
	bl	_udelay
	add	w21, w21, #1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.lt	LBB0_28
; %bb.30:
	cmp	w8, #1
	b.ge	LBB0_32
	b	LBB0_10
LBB0_31:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_10
LBB0_32:
	mov	w21, #0
Lloh40:
	adrp	x22, _TRAIN_DONE_D1@GOTPAGE
Lloh41:
	ldr	x22, [x22, _TRAIN_DONE_D1@GOTPAGEOFF]
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_RREG32
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_10
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	w0, #1
	bl	_udelay
	add	w21, w21, #1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.lt	LBB0_33
	b	LBB0_10
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_bonaire_io_mc_regs,4,2         ; @bonaire_io_mc_regs
	.comm	_BONAIRE_IO_MC_REGS_SIZE,4,2    ; @BONAIRE_IO_MC_REGS_SIZE
	.comm	_hawaii_io_mc_regs,4,2          ; @hawaii_io_mc_regs
	.comm	_HAWAII_IO_MC_REGS_SIZE,4,2     ; @HAWAII_IO_MC_REGS_SIZE
	.comm	_MC_SEQ_SUP_CNTL,4,2            ; @MC_SEQ_SUP_CNTL
	.comm	_RUN_MASK,4,2                   ; @RUN_MASK
	.comm	_MC_SEQ_IO_DEBUG_INDEX,4,2      ; @MC_SEQ_IO_DEBUG_INDEX
	.comm	_MC_SEQ_IO_DEBUG_DATA,4,2       ; @MC_SEQ_IO_DEBUG_DATA
	.comm	_MC_SEQ_MISC0,4,2               ; @MC_SEQ_MISC0
	.comm	_MC_SEQ_SUP_PGM,4,2             ; @MC_SEQ_SUP_PGM
	.comm	_MC_SEQ_TRAIN_WAKEUP_CNTL,4,2   ; @MC_SEQ_TRAIN_WAKEUP_CNTL
	.comm	_TRAIN_DONE_D0,4,2              ; @TRAIN_DONE_D0
	.comm	_TRAIN_DONE_D1,4,2              ; @TRAIN_DONE_D1
.subsections_via_symbols
