	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92ee_fill_h2c_command
__rtl92ee_fill_h2c_command:             ## @_rtl92ee_fill_h2c_command
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_rtl_priv
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %rbx
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	(%rax), %rcx
	movq	_EACTIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	8(%rax), %rax
	movq	_ERFOFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.3:
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_4:
	movl	%r13d, -100(%rbp)               ## 4-byte Spill
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	movq	_COMP_CMD@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %r14
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.5:
	movq	%r15, %rax
	xorl	%r15d, %r15d
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rcx
	movl	-100(%rbp), %r8d                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpl	$0, (%rbx)
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$1001, %r15d                    ## imm = 0x3E9
	movl	$1000, %r12d                    ## imm = 0x3E8
	cmovgel	%r15d, %r12d
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r15d, %r13d
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	leal	1(%r13), %r15d
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rcx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$100, %edi
	callq	_udelay
	cmpl	%r13d, %r12d
	je	LBB0_38
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	jne	LBB0_9
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-96(%rbp), %r14                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	jne	LBB0_6
LBB0_12:
	movl	$1, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	4(%rbx), %r15d
	cmpq	$3, %r15
	ja	LBB0_19
## %bb.13:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r15,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_14:
	movq	_REG_HMEBOX_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_REG_HMEBOX_EXT_0@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_19:
	movq	_COMP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	leaq	L_.str.4(%rip), %rcx
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	xorl	%r12d, %r12d
	jmp	LBB0_20
LBB0_16:
	movq	_REG_HMEBOX_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_REG_HMEBOX_EXT_1@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_17:
	movq	_REG_HMEBOX_2@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_REG_HMEBOX_EXT_2@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_18:
	movq	_REG_HMEBOX_3@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_REG_HMEBOX_EXT_3@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_20:
	movq	_REG_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtl_read_byte
	cmpl	$234, %eax
	jne	LBB0_24
## %bb.21:
	movq	_REG_TXDMA_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtl_read_byte
	cmpl	$234, %eax
	je	LBB0_23
## %bb.22:
	movq	_REG_TXPKT_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rtl_read_byte
	cmpl	$234, %eax
	jne	LBB0_28
LBB0_23:
	movq	_REG_SYS_CFG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$3, %esi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_rtl_write_byte
	jmp	LBB0_28
LBB0_24:
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movl	%r15d, %esi
	callq	__rtl92ee_check_fw_read_last_h2c
	testl	%eax, %eax
	jne	LBB0_30
## %bb.25:
	movl	$-100, %r15d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	je	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	__rtl92ee_check_fw_read_last_h2c
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	$304, %esi                      ## imm = 0x130
	callq	_rtl_read_byte
	movq	_COMP_CMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r12, %rdi
	leaq	L_.str.6(%rip), %rcx
	movl	%r13d, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_RT_TRACE
	testl	%r14d, %r14d
	je	LBB0_26
LBB0_30:
	leaq	-60(%rbp), %r15
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	-100(%rbp), %r9d                ## 4-byte Reload
	movl	%r9d, -64(%rbp)
	movq	_COMP_CMD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.8(%rip), %rcx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-136(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	-144(%rbp), %r8                 ## 8-byte Reload
	leal	-4(%r8), %eax
	cmpl	$4, %eax
	jae	LBB0_31
## %bb.34:
	movq	-120(%rbp), %r15                ## 8-byte Reload
	leaq	12(%r15), %rsi
	addl	$-3, %r8d
	leaq	-80(%rbp), %rdi
	movl	%r8d, %edx
	callq	_memcpy
	leaq	-60(%rbp), %rdi
	movq	%r15, %rsi
	movl	$3, %edx
	callq	_memcpy
	movl	-80(%rbp), %edx
	movq	%r14, %rdi
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_rtl_write_byte
	leal	1(%r15), %esi
	movl	-76(%rbp), %edx
	movq	%r14, %rdi
	callq	_rtl_write_byte
	leal	2(%r15), %esi
	movl	-72(%rbp), %edx
	movq	%r14, %rdi
	callq	_rtl_write_byte
	addl	$3, %r15d
	movl	-68(%rbp), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rtl_write_byte
	jmp	LBB0_33
LBB0_31:
	leal	-1(%r8), %eax
	cmpl	$2, %eax
	ja	LBB0_35
## %bb.32:
	movq	%r15, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%r8d, %edx
	callq	_memcpy
LBB0_33:
	movl	-64(%rbp), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_rtl_write_byte
	leal	1(%r12), %esi
	movl	-60(%rbp), %edx
	movq	%r14, %rdi
	callq	_rtl_write_byte
	leal	2(%r12), %esi
	movl	-56(%rbp), %edx
	movq	%r14, %rdi
	callq	_rtl_write_byte
	addl	$3, %r12d
	movl	-52(%rbp), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_rtl_write_byte
LBB0_36:
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	1(%rax), %r8d
	xorl	%eax, %eax
	cmpl	$4, %r8d
	cmovel	%eax, %r8d
	movl	%r8d, 4(%rbx)
	movq	_COMP_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.9(%rip), %rcx
	movq	%r14, %rdi
	jmp	LBB0_37
LBB0_27:
	movq	_COMP_CMD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.5(%rip), %rcx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_28:
	movq	_COMP_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.7(%rip), %rcx
	movq	%r14, %rdi
	movl	%r15d, %r8d
LBB0_37:
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	$0, (%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r12), %esi
	movl	(%r13), %edx
	leaq	L_.str.10(%rip), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_38:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.39:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_COMP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rdi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_36
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_EACTIVE,8,3                    ## @EACTIVE
	.comm	_ERFOFF,8,3                     ## @ERFOFF
	.comm	_COMP_CMD,4,2                   ## @COMP_CMD
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FillH2CCommand8192E(): Return because RF is off!!!\n"

L_.str.1:                               ## @.str.1
	.asciz	"come in\n"

L_.str.2:                               ## @.str.2
	.asciz	"H2C set in progress! Wait to set..element_id(%d).\n"

L_.str.3:                               ## @.str.3
	.asciz	"Wait 100 us (%d times)...\n"

	.comm	_REG_HMEBOX_0,4,2               ## @REG_HMEBOX_0
	.comm	_REG_HMEBOX_EXT_0,4,2           ## @REG_HMEBOX_EXT_0
	.comm	_REG_HMEBOX_1,4,2               ## @REG_HMEBOX_1
	.comm	_REG_HMEBOX_EXT_1,4,2           ## @REG_HMEBOX_EXT_1
	.comm	_REG_HMEBOX_2,4,2               ## @REG_HMEBOX_2
	.comm	_REG_HMEBOX_EXT_2,4,2           ## @REG_HMEBOX_EXT_2
	.comm	_REG_HMEBOX_3,4,2               ## @REG_HMEBOX_3
	.comm	_REG_HMEBOX_EXT_3,4,2           ## @REG_HMEBOX_EXT_3
	.comm	_COMP_ERR,4,2                   ## @COMP_ERR
L_.str.4:                               ## @.str.4
	.asciz	"switch case %#x not processed\n"

	.comm	_REG_CR,4,2                     ## @REG_CR
	.comm	_REG_TXDMA_STATUS,4,2           ## @REG_TXDMA_STATUS
	.comm	_REG_TXPKT_EMPTY,4,2            ## @REG_TXPKT_EMPTY
	.comm	_REG_SYS_CFG1,4,2               ## @REG_SYS_CFG1
L_.str.5:                               ## @.str.5
	.asciz	"Waiting too long for FW read clear HMEBox(%d)!!!\n"

L_.str.6:                               ## @.str.6
	.asciz	"Waiting for FW read clear HMEBox(%d)!!! 0x130 = %2x\n"

L_.str.7:                               ## @.str.7
	.asciz	"Write H2C reg BOX[%d] fail,Fw don't read.\n"

L_.str.8:                               ## @.str.8
	.asciz	"Write element_id box_reg(%4x) = %2x\n"

L_.str.9:                               ## @.str.9
	.asciz	"pHalData->last_hmeboxnum  = %d\n"

L_.str.10:                              ## @.str.10
	.asciz	"go out\n"

	.no_dead_strip	__rtl92ee_fill_h2c_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92ee_fill_h2c_command
__rtl92ee_fill_h2c_command:             ; @_rtl92ee_fill_h2c_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x25
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x20, x0
	mov	x0, x25
	bl	_rtl_priv
	bl	_rtl_psc
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _EACTIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh6:
	adrp	x9, _ERFOFF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ERFOFF@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_2:
Lloh9:
	adrp	x8, _COMP_CMD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _COMP_CMD@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	ldr	x8, [sp, #88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.3:
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_RT_TRACE
LBB0_4:
	stp	x21, x22, [sp, #32]             ; 16-byte Folded Spill
Lloh20:
	adrp	x28, _COMP_CMD@GOTPAGE
Lloh21:
	ldr	x28, [x28, _COMP_CMD@GOTPAGEOFF]
	ldr	w1, [x28]
Lloh22:
	adrp	x22, _DBG_LOUD@GOTPAGE
Lloh23:
	ldr	x22, [x22, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh24:
	adrp	x3, l_.str.1@PAGE
Lloh25:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cbz	w8, LBB0_12
; %bb.5:
	mov	w27, #0
Lloh26:
	adrp	x26, l_.str.3@PAGE
Lloh27:
	add	x26, x26, l_.str.3@PAGEOFF
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w1, [x28]
	ldr	w2, [x22]
	str	x24, [sp]
	mov	x0, x19
Lloh28:
	adrp	x3, l_.str.2@PAGE
Lloh29:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_RT_TRACE
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w27, #1000
	mov	w8, #1000
	csel	w21, w27, w8, gt
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	add	w23, w27, #1
	ldr	w1, [x28]
	ldr	w2, [x22]
	str	x23, [sp]
	mov	x0, x19
	mov	x3, x26
	bl	_RT_TRACE
	mov	w0, #100
	bl	_udelay
	cmp	w21, w27
	b.eq	LBB0_37
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	mov	x27, x23
	cbnz	w8, LBB0_8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x27
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	mov	x27, x23
	cbnz	w8, LBB0_6
LBB0_12:
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	w21, [x20, #4]
	cmp	w21, #3
	b.hi	LBB0_15
; %bb.13:
Lloh30:
	adrp	x8, lJTI0_0@PAGE
Lloh31:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_14
	ldrb	w10, [x8, x21]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_14:
Lloh32:
	adrp	x8, _REG_HMEBOX_0@GOTPAGE
Lloh33:
	ldr	x8, [x8, _REG_HMEBOX_0@GOTPAGEOFF]
Lloh34:
	ldr	w23, [x8]
Lloh35:
	adrp	x8, _REG_HMEBOX_EXT_0@GOTPAGE
Lloh36:
	ldr	x8, [x8, _REG_HMEBOX_EXT_0@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
Lloh37:
	adrp	x8, _COMP_ERR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x8, x21
	str	x8, [sp]
Lloh40:
	adrp	x3, l_.str.4@PAGE
Lloh41:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	w26, #0
	mov	w23, #0
	b	LBB0_20
LBB0_16:
Lloh42:
	adrp	x8, _REG_HMEBOX_1@GOTPAGE
Lloh43:
	ldr	x8, [x8, _REG_HMEBOX_1@GOTPAGEOFF]
Lloh44:
	ldr	w23, [x8]
Lloh45:
	adrp	x8, _REG_HMEBOX_EXT_1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _REG_HMEBOX_EXT_1@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
Lloh47:
	adrp	x8, _REG_HMEBOX_2@GOTPAGE
Lloh48:
	ldr	x8, [x8, _REG_HMEBOX_2@GOTPAGEOFF]
Lloh49:
	ldr	w23, [x8]
Lloh50:
	adrp	x8, _REG_HMEBOX_EXT_2@GOTPAGE
Lloh51:
	ldr	x8, [x8, _REG_HMEBOX_EXT_2@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh52:
	adrp	x8, _REG_HMEBOX_3@GOTPAGE
Lloh53:
	ldr	x8, [x8, _REG_HMEBOX_3@GOTPAGEOFF]
Lloh54:
	ldr	w23, [x8]
Lloh55:
	adrp	x8, _REG_HMEBOX_EXT_3@GOTPAGE
Lloh56:
	ldr	x8, [x8, _REG_HMEBOX_EXT_3@GOTPAGEOFF]
LBB0_19:
	ldr	w26, [x8]
LBB0_20:
Lloh57:
	adrp	x8, _REG_CR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _REG_CR@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_read_byte
	cmp	w0, #234
	b.ne	LBB0_24
; %bb.21:
Lloh60:
	adrp	x8, _REG_TXDMA_STATUS@GOTPAGE
Lloh61:
	ldr	x8, [x8, _REG_TXDMA_STATUS@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_read_byte
	cmp	w0, #234
	b.eq	LBB0_23
; %bb.22:
Lloh63:
	adrp	x8, _REG_TXPKT_EMPTY@GOTPAGE
Lloh64:
	ldr	x8, [x8, _REG_TXPKT_EMPTY@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtl_read_byte
	cmp	w0, #234
	b.ne	LBB0_33
LBB0_23:
Lloh66:
	adrp	x8, _REG_SYS_CFG1@GOTPAGE
Lloh67:
	ldr	x8, [x8, _REG_SYS_CFG1@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	add	w1, w8, #3
	mov	x0, x19
	mov	w2, #255
	bl	_rtl_write_byte
	b	LBB0_33
LBB0_24:
	str	w26, [sp, #20]                  ; 4-byte Folded Spill
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	mov	x0, x25
	str	x21, [sp, #48]                  ; 8-byte Folded Spill
	mov	x1, x21
	bl	__rtl92ee_check_fw_read_last_h2c
	cbnz	w0, LBB0_28
; %bb.25:
	mov	w21, #-100
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
Lloh69:
	adrp	x26, l_.str.6@PAGE
Lloh70:
	add	x26, x26, l_.str.6@PAGEOFF
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	adds	w21, w21, #1
	b.hs	LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w0, #10
	bl	_udelay
	mov	x0, x25
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	__rtl92ee_check_fw_read_last_h2c
	mov	x27, x0
	mov	x0, x19
	mov	w1, #304
	bl	_rtl_read_byte
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w1, [x28]
	ldr	w2, [x22]
	stp	x23, x0, [sp]
	mov	x0, x19
	mov	x3, x26
	bl	_RT_TRACE
	cbz	w27, LBB0_26
LBB0_28:
	add	x8, sp, #72
	add	x25, x8, #4
	add	x0, sp, #72
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	w24, [sp, #72]
	ldr	w1, [x28]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	ldr	w2, [x22]
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	stp	x23, x24, [sp]
Lloh71:
	adrp	x3, l_.str.8@PAGE
Lloh72:
	add	x3, x3, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	sub	w8, w9, #4
	cmp	w8, #4
	b.hs	LBB0_30
; %bb.29:
	ldr	x21, [sp, #32]                  ; 8-byte Folded Reload
	add	x1, x21, #12
	sub	w2, w9, #3
	add	x0, sp, #56
	bl	_memcpy
	mov	x0, x25
	mov	x1, x21
	mov	w2, #3
	bl	_memcpy
	ldr	w2, [sp, #56]
	mov	x0, x19
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	mov	x1, x21
	bl	_rtl_write_byte
	add	w1, w21, #1
	ldr	w2, [sp, #60]
	mov	x0, x19
	bl	_rtl_write_byte
	add	w1, w21, #2
	ldr	w2, [sp, #64]
	mov	x0, x19
	bl	_rtl_write_byte
	add	w1, w21, #3
	ldr	w2, [sp, #68]
	mov	x0, x19
	bl	_rtl_write_byte
	ldr	w2, [sp, #72]
	mov	x0, x19
	mov	x1, x23
	bl	_rtl_write_byte
	add	w1, w23, #1
	ldr	w2, [sp, #76]
	mov	x0, x19
	bl	_rtl_write_byte
	add	w1, w23, #2
	ldr	w2, [sp, #80]
	mov	x0, x19
	bl	_rtl_write_byte
	add	w1, w23, #3
	ldr	w2, [sp, #84]
	mov	x0, x19
	bl	_rtl_write_byte
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_35
LBB0_30:
	sub	w8, w9, #1
	cmp	w8, #2
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b.hi	LBB0_34
; %bb.31:
	mov	x0, x25
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	mov	x2, x9
	bl	_memcpy
	ldr	w2, [sp, #72]
	mov	x0, x19
	mov	x1, x23
	bl	_rtl_write_byte
	add	w1, w23, #1
	ldr	w2, [sp, #76]
	mov	x0, x19
	bl	_rtl_write_byte
	add	w1, w23, #2
	ldr	w2, [sp, #80]
	mov	x0, x19
	bl	_rtl_write_byte
	add	w1, w23, #3
	ldr	w2, [sp, #84]
	mov	x0, x19
	bl	_rtl_write_byte
	b	LBB0_35
LBB0_32:
	ldr	w1, [x28]
	ldr	w2, [x22]
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	mov	x8, x21
	str	x8, [sp]
Lloh73:
	adrp	x3, l_.str.5@PAGE
Lloh74:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
LBB0_33:
	ldr	w1, [x28]
	ldr	w2, [x22]
	mov	x8, x21
	str	x8, [sp]
Lloh75:
	adrp	x3, l_.str.7@PAGE
Lloh76:
	add	x3, x3, l_.str.7@PAGEOFF
	b	LBB0_36
LBB0_34:
Lloh77:
	adrp	x8, _COMP_ERR@GOTPAGE
Lloh78:
	ldr	x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
	ldr	w2, [x22]
	str	x9, [sp]
Lloh80:
	adrp	x3, l_.str.4@PAGE
Lloh81:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
LBB0_35:
	add	w8, w21, #1
	cmp	w8, #4
	csinc	w8, wzr, w21, eq
	str	w8, [x20, #4]
	ldr	w1, [x28]
	ldr	w2, [x22]
	str	x8, [sp]
Lloh82:
	adrp	x3, l_.str.9@PAGE
Lloh83:
	add	x3, x3, l_.str.9@PAGEOFF
LBB0_36:
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	bl	_spin_lock_irqsave
	str	wzr, [x20]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	w1, [x28]
	ldr	w2, [x22]
Lloh84:
	adrp	x3, l_.str.10@PAGE
Lloh85:
	add	x3, x3, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
LBB0_37:
	ldr	x8, [sp, #88]
Lloh86:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh87:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_39
; %bb.38:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_39:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_16-LBB0_14)>>2
	.byte	(LBB0_17-LBB0_14)>>2
	.byte	(LBB0_18-LBB0_14)>>2
                                        ; -- End function
	.comm	_EACTIVE,8,3                    ; @EACTIVE
	.comm	_ERFOFF,8,3                     ; @ERFOFF
	.comm	_COMP_CMD,4,2                   ; @COMP_CMD
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FillH2CCommand8192E(): Return because RF is off!!!\n"

l_.str.1:                               ; @.str.1
	.asciz	"come in\n"

l_.str.2:                               ; @.str.2
	.asciz	"H2C set in progress! Wait to set..element_id(%d).\n"

l_.str.3:                               ; @.str.3
	.asciz	"Wait 100 us (%d times)...\n"

	.comm	_REG_HMEBOX_0,4,2               ; @REG_HMEBOX_0
	.comm	_REG_HMEBOX_EXT_0,4,2           ; @REG_HMEBOX_EXT_0
	.comm	_REG_HMEBOX_1,4,2               ; @REG_HMEBOX_1
	.comm	_REG_HMEBOX_EXT_1,4,2           ; @REG_HMEBOX_EXT_1
	.comm	_REG_HMEBOX_2,4,2               ; @REG_HMEBOX_2
	.comm	_REG_HMEBOX_EXT_2,4,2           ; @REG_HMEBOX_EXT_2
	.comm	_REG_HMEBOX_3,4,2               ; @REG_HMEBOX_3
	.comm	_REG_HMEBOX_EXT_3,4,2           ; @REG_HMEBOX_EXT_3
	.comm	_COMP_ERR,4,2                   ; @COMP_ERR
l_.str.4:                               ; @.str.4
	.asciz	"switch case %#x not processed\n"

	.comm	_REG_CR,4,2                     ; @REG_CR
	.comm	_REG_TXDMA_STATUS,4,2           ; @REG_TXDMA_STATUS
	.comm	_REG_TXPKT_EMPTY,4,2            ; @REG_TXPKT_EMPTY
	.comm	_REG_SYS_CFG1,4,2               ; @REG_SYS_CFG1
l_.str.5:                               ; @.str.5
	.asciz	"Waiting too long for FW read clear HMEBox(%d)!!!\n"

l_.str.6:                               ; @.str.6
	.asciz	"Waiting for FW read clear HMEBox(%d)!!! 0x130 = %2x\n"

l_.str.7:                               ; @.str.7
	.asciz	"Write H2C reg BOX[%d] fail,Fw don't read.\n"

l_.str.8:                               ; @.str.8
	.asciz	"Write element_id box_reg(%4x) = %2x\n"

l_.str.9:                               ; @.str.9
	.asciz	"pHalData->last_hmeboxnum  = %d\n"

l_.str.10:                              ; @.str.10
	.asciz	"go out\n"

	.no_dead_strip	__rtl92ee_fill_h2c_command
.subsections_via_symbols
