	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92d_fill_h2c_command
__rtl92d_fill_h2c_command:              ## @_rtl92d_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %rbx
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	_ERFOFF@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, (%rax)
	je	LBB0_2
## %bb.1:
	cmpq	%rcx, 8(%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	%r15, %rdi
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_4:
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	_COMP_CMD@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	je	LBB0_12
## %bb.5:
	xorl	%r13d, %r13d
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	(%r12), %esi
	movl	(%r14), %edx
	movq	%r15, %r12
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rcx
	movq	-136(%rbp), %r8                 ## 8-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, %r13d                    ## imm = 0x3E9
	movl	$1000, %r14d                    ## imm = 0x3E8
	cmovgel	%r13d, %r14d
	movq	%r12, %r15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %r12d
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	leal	1(%r12), %r13d
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rcx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$100, %edi
	callq	_udelay
	cmpl	%r12d, %r14d
	je	LBB0_37
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	jne	LBB0_9
	jmp	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r15
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	movq	_COMP_CMD@GOTPCREL(%rip), %r12
	movq	_DBG_LOUD@GOTPCREL(%rip), %r14
	jne	LBB0_6
LBB0_12:
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movl	$1, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	8(%rbx), %r12
	cmpq	$3, %r12
	ja	LBB0_19
## %bb.13:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r12,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_14:
	movq	_REG_HMEBOX_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_REG_HMEBOX_EXT_0@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_19:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_20
LBB0_16:
	movq	_REG_HMEBOX_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_REG_HMEBOX_EXT_1@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_17:
	movq	_REG_HMEBOX_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_REG_HMEBOX_EXT_2@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_18:
	movq	_REG_HMEBOX_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_REG_HMEBOX_EXT_3@GOTPCREL(%rip), %rax
LBB0_15:
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
LBB0_20:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	__rtl92d_check_fw_read_last_h2c
	testl	%eax, %eax
	jne	LBB0_24
## %bb.21:
	movq	$-100, %r13
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	incq	%r13
	je	LBB0_39
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	callq	__rtl92d_check_fw_read_last_h2c
	movl	%eax, %r15d
	movq	%r12, %r14
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	$447, %esi                      ## imm = 0x1BF
	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
	movq	%r14, %r12
	leaq	L_.str.7(%rip), %rcx
	movq	%r14, %r8
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	testl	%r15d, %r15d
	je	LBB0_22
LBB0_24:
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	-136(%rbp), %r9                 ## 8-byte Reload
	movq	%r9, -80(%rbp)
	movq	_COMP_CMD@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.9(%rip), %rcx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	leal	-1(%rsi), %eax
	cmpl	$4, %eax
	ja	LBB0_34
## %bb.25:
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	leaq	-72(%rbp), %r12
	movq	-152(%rbp), %r15                ## 8-byte Reload
	leaq	16(%r15), %r13
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:
	movl	$7, %edi
	callq	_BIT
	notq	%rax
	andq	%rax, -80(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	jmp	LBB0_27
LBB0_39:
	movq	_COMP_CMD@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	leaq	L_.str.6(%rip), %rcx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	L_.str.8(%rip), %rcx
	movq	%r13, %rdi
	movq	%r12, %r8
	jmp	LBB0_36
LBB0_34:
	leaq	L_.str.5(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_35
LBB0_29:
	movl	$7, %edi
	callq	_BIT
	notq	%rax
	andq	%rax, -80(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	jmp	LBB0_27
LBB0_30:
	movl	$7, %edi
	callq	_BIT
	notq	%rax
	andq	%rax, -80(%rbp)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$3, %edx
LBB0_27:
	callq	_memcpy
	movq	-80(%rbp), %rdx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_28
LBB0_31:
	movl	$7, %edi
	callq	_BIT
	orq	%rax, -80(%rbp)
	leaq	-96(%rbp), %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$2, %edx
	jmp	LBB0_32
LBB0_33:
	movl	$7, %edi
	callq	_BIT
	orq	%rax, -80(%rbp)
	leaq	-96(%rbp), %rdi
	movq	%r15, %rsi
	movl	$2, %edx
	callq	_memcpy
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	$3, %edx
LBB0_32:
	callq	_memcpy
	movq	-96(%rbp), %rdx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_rtl_write_byte
	incq	%r15
	movq	-88(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_rtl_write_byte
	movq	-80(%rbp), %rdx
LBB0_28:
	movq	%r13, %rdi
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_rtl_write_byte
	leaq	1(%r15), %rsi
	movq	-72(%rbp), %rdx
	movq	%r13, %rdi
	callq	_rtl_write_byte
	leaq	2(%r15), %rsi
	movq	-64(%rbp), %rdx
	movq	%r13, %rdi
	callq	_rtl_write_byte
	addq	$3, %r15
	movq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_rtl_write_byte
	movq	_DBG_LOUD@GOTPCREL(%rip), %r15
	movq	-120(%rbp), %r12                ## 8-byte Reload
LBB0_35:
	incq	%r12
	cmpq	$4, %r12
	movl	$0, %r8d
	cmovneq	%r12, %r8
	movq	%r8, 8(%rbx)
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	L_.str.10(%rip), %rcx
	movq	%r13, %rdi
LBB0_36:
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movl	$0, (%rbx)
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movl	(%r14), %esi
	movl	(%r15), %edx
	leaq	L_.str.11(%rip), %rcx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_37:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.38:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
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
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
.set L0_1_set_31, LBB0_31-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
LJTI0_1:
	.long	L0_1_set_26
	.long	L0_1_set_29
	.long	L0_1_set_30
	.long	L0_1_set_31
	.long	L0_1_set_33
	.end_data_region
                                        ## -- End function
	.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	"Return as 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,8,3               ## @REG_HMEBOX_0
	.comm	_REG_HMEBOX_EXT_0,8,3           ## @REG_HMEBOX_EXT_0
	.comm	_REG_HMEBOX_1,8,3               ## @REG_HMEBOX_1
	.comm	_REG_HMEBOX_EXT_1,8,3           ## @REG_HMEBOX_EXT_1
	.comm	_REG_HMEBOX_2,8,3               ## @REG_HMEBOX_2
	.comm	_REG_HMEBOX_EXT_2,8,3           ## @REG_HMEBOX_EXT_2
	.comm	_REG_HMEBOX_3,8,3               ## @REG_HMEBOX_3
	.comm	_REG_HMEBOX_EXT_3,8,3           ## @REG_HMEBOX_EXT_3
L_.str.5:                               ## @.str.5
	.asciz	"switch case %#x not processed\n"

L_.str.6:                               ## @.str.6
	.asciz	"Waiting too long for FW read clear HMEBox(%d)!\n"

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

L_.str.8:                               ## @.str.8
	.asciz	"Write H2C register BOX[%d] fail!!!!! Fw do not read.\n"

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

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

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

	.no_dead_strip	__rtl92d_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 _rtl92d_fill_h2c_command
__rtl92d_fill_h2c_command:              ; @_rtl92d_fill_h2c_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x25, x1
	mov	x26, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x26
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x20, x0
	mov	x0, x26
	bl	_rtl_priv
	bl	_rtl_psc
	ldr	x9, [x0]
Lloh3:
	adrp	x8, _ERFOFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERFOFF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.ne	LBB0_4
LBB0_2:
Lloh6:
	adrp	x8, _COMP_CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMP_CMD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.3:
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_RT_TRACE
LBB0_4:
	stp	x21, x22, [sp, #40]             ; 16-byte Folded Spill
Lloh17:
	adrp	x22, _COMP_CMD@GOTPAGE
Lloh18:
	ldr	x22, [x22, _COMP_CMD@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh19:
	adrp	x24, _DBG_LOUD@GOTPAGE
Lloh20:
	ldr	x24, [x24, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh21:
	adrp	x3, l_.str.1@PAGE
Lloh22:
	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	w28, #0
Lloh23:
	adrp	x23, l_.str.3@PAGE
Lloh24:
	add	x23, x23, l_.str.3@PAGEOFF
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w1, [x22]
	ldr	w2, [x24]
	str	x25, [sp]
	mov	x0, x19
Lloh25:
	adrp	x3, l_.str.2@PAGE
Lloh26:
	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	w28, #1000
	mov	w8, #1000
	csel	w21, w28, w8, gt
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	add	w27, w28, #1
	ldr	w1, [x22]
	ldr	w2, [x24]
	str	x27, [sp]
	mov	x0, x19
	mov	x3, x23
	bl	_RT_TRACE
	mov	w0, #100
	bl	_udelay
	cmp	w21, w28
	b.eq	LBB0_38
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	mov	x28, x27
	cbnz	w8, LBB0_8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x28
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	x28, x27
	cbnz	w8, LBB0_6
LBB0_12:
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	ldr	x21, [x20, #8]
	cmp	x21, #3
	b.hi	LBB0_15
; %bb.13:
Lloh27:
	adrp	x8, lJTI0_0@PAGE
Lloh28:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_14
	ldrb	w10, [x8, x21]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_14:
Lloh29:
	adrp	x8, _REG_HMEBOX_0@GOTPAGE
Lloh30:
	ldr	x8, [x8, _REG_HMEBOX_0@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh32:
	adrp	x8, _REG_HMEBOX_EXT_0@GOTPAGE
Lloh33:
	ldr	x8, [x8, _REG_HMEBOX_EXT_0@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
	str	x21, [sp]
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	stp	xzr, xzr, [sp, #24]             ; 16-byte Folded Spill
	b	LBB0_20
LBB0_16:
Lloh36:
	adrp	x8, _REG_HMEBOX_1@GOTPAGE
Lloh37:
	ldr	x8, [x8, _REG_HMEBOX_1@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh39:
	adrp	x8, _REG_HMEBOX_EXT_1@GOTPAGE
Lloh40:
	ldr	x8, [x8, _REG_HMEBOX_EXT_1@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
Lloh41:
	adrp	x8, _REG_HMEBOX_2@GOTPAGE
Lloh42:
	ldr	x8, [x8, _REG_HMEBOX_2@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh44:
	adrp	x8, _REG_HMEBOX_EXT_2@GOTPAGE
Lloh45:
	ldr	x8, [x8, _REG_HMEBOX_EXT_2@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh46:
	adrp	x8, _REG_HMEBOX_3@GOTPAGE
Lloh47:
	ldr	x8, [x8, _REG_HMEBOX_3@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
Lloh49:
	adrp	x8, _REG_HMEBOX_EXT_3@GOTPAGE
Lloh50:
	ldr	x8, [x8, _REG_HMEBOX_EXT_3@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
LBB0_20:
	mov	x0, x26
	mov	x1, x21
	bl	__rtl92d_check_fw_read_last_h2c
	cbnz	w0, LBB0_24
; %bb.21:
	mov	x23, #-100
Lloh51:
	adrp	x28, l_.str.7@PAGE
Lloh52:
	add	x28, x28, l_.str.7@PAGEOFF
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	adds	x23, x23, #1
	b.hs	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	w0, #10
	bl	_udelay
	mov	x0, x26
	mov	x1, x21
	bl	__rtl92d_check_fw_read_last_h2c
	mov	x27, x0
	mov	x0, x19
	mov	w1, #447
	bl	_rtl_read_byte
	ldr	w1, [x22]
	ldr	w2, [x24]
	stp	x21, x0, [sp]
	mov	x0, x19
	mov	x3, x28
	bl	_RT_TRACE
	cbz	w27, LBB0_22
LBB0_24:
	add	x0, sp, #72
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	add	x0, sp, #56
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	x25, [sp, #72]
	ldr	w1, [x22]
	ldr	w2, [x24]
	ldr	x27, [sp, #32]                  ; 8-byte Folded Reload
	stp	x27, x25, [sp]
Lloh53:
	adrp	x3, l_.str.9@PAGE
Lloh54:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	sub	w8, w9, #1
	cmp	w8, #4
	b.hi	LBB0_28
; %bb.25:
	add	x9, sp, #72
	add	x26, x9, #8
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	add	x25, x23, #16
Lloh55:
	adrp	x9, lJTI0_1@PAGE
Lloh56:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_26
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_26:
	mov	w0, #7
	bl	_BIT
	ldr	x8, [sp, #72]
	bic	x8, x8, x0
	str	x8, [sp, #72]
	mov	x0, x26
	mov	x1, x23
	mov	w2, #1
	b	LBB0_31
LBB0_27:
	ldr	w1, [x22]
	ldr	w2, [x24]
	str	x21, [sp]
Lloh57:
	adrp	x3, l_.str.6@PAGE
Lloh58:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	w1, [x22]
	ldr	w2, [x24]
	str	x21, [sp]
Lloh59:
	adrp	x3, l_.str.8@PAGE
Lloh60:
	add	x3, x3, l_.str.8@PAGEOFF
	b	LBB0_37
LBB0_28:
	str	x9, [sp]
Lloh61:
	adrp	x0, l_.str.5@PAGE
Lloh62:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_err
	b	LBB0_36
LBB0_29:
	mov	w0, #7
	bl	_BIT
	ldr	x8, [sp, #72]
	bic	x8, x8, x0
	str	x8, [sp, #72]
	mov	x0, x26
	mov	x1, x23
	mov	w2, #2
	b	LBB0_31
LBB0_30:
	mov	w0, #7
	bl	_BIT
	ldr	x8, [sp, #72]
	bic	x8, x8, x0
	str	x8, [sp, #72]
	mov	x0, x26
	mov	x1, x23
	mov	w2, #3
LBB0_31:
	bl	_memcpy
	b	LBB0_35
LBB0_32:
	mov	w0, #7
	bl	_BIT
	ldr	x8, [sp, #72]
	orr	x8, x8, x0
	str	x8, [sp, #72]
	add	x0, sp, #56
	mov	x1, x23
	mov	w2, #2
	bl	_memcpy
	mov	x0, x26
	mov	x1, x25
	mov	w2, #2
	b	LBB0_34
LBB0_33:
	mov	w0, #7
	bl	_BIT
	ldr	x8, [sp, #72]
	orr	x8, x8, x0
	str	x8, [sp, #72]
	add	x0, sp, #56
	mov	x1, x23
	mov	w2, #2
	bl	_memcpy
	mov	x0, x26
	mov	x1, x25
	mov	w2, #3
LBB0_34:
	bl	_memcpy
	ldr	x2, [sp, #56]
	mov	x0, x19
	ldr	x23, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x23
	bl	_rtl_write_byte
	add	x1, x23, #1
	ldr	x2, [sp, #64]
	mov	x0, x19
	bl	_rtl_write_byte
LBB0_35:
	ldr	x2, [sp, #72]
	mov	x0, x19
	mov	x1, x27
	bl	_rtl_write_byte
	add	x1, x27, #1
	ldr	x2, [sp, #80]
	mov	x0, x19
	bl	_rtl_write_byte
	add	x1, x27, #2
	ldr	x2, [sp, #88]
	mov	x0, x19
	bl	_rtl_write_byte
	add	x1, x27, #3
	ldr	x2, [sp, #96]
	mov	x0, x19
	bl	_rtl_write_byte
LBB0_36:
	add	x8, x21, #1
	cmp	x8, #4
	csinc	x8, xzr, x21, eq
	str	x8, [x20, #8]
	ldr	w1, [x22]
	ldr	w2, [x24]
	str	x8, [sp]
Lloh63:
	adrp	x3, l_.str.10@PAGE
Lloh64:
	add	x3, x3, l_.str.10@PAGEOFF
LBB0_37:
	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, [x22]
	ldr	w2, [x24]
Lloh65:
	adrp	x3, l_.str.11@PAGE
Lloh66:
	add	x3, x3, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
LBB0_38:
	ldur	x8, [x29, #-88]
Lloh67:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh68:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh69:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.39:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.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
lJTI0_1:
	.byte	(LBB0_26-LBB0_26)>>2
	.byte	(LBB0_29-LBB0_26)>>2
	.byte	(LBB0_30-LBB0_26)>>2
	.byte	(LBB0_32-LBB0_26)>>2
	.byte	(LBB0_33-LBB0_26)>>2
                                        ; -- End function
	.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	"Return as 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,8,3               ; @REG_HMEBOX_0
	.comm	_REG_HMEBOX_EXT_0,8,3           ; @REG_HMEBOX_EXT_0
	.comm	_REG_HMEBOX_1,8,3               ; @REG_HMEBOX_1
	.comm	_REG_HMEBOX_EXT_1,8,3           ; @REG_HMEBOX_EXT_1
	.comm	_REG_HMEBOX_2,8,3               ; @REG_HMEBOX_2
	.comm	_REG_HMEBOX_EXT_2,8,3           ; @REG_HMEBOX_EXT_2
	.comm	_REG_HMEBOX_3,8,3               ; @REG_HMEBOX_3
	.comm	_REG_HMEBOX_EXT_3,8,3           ; @REG_HMEBOX_EXT_3
l_.str.5:                               ; @.str.5
	.asciz	"switch case %#x not processed\n"

l_.str.6:                               ; @.str.6
	.asciz	"Waiting too long for FW read clear HMEBox(%d)!\n"

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

l_.str.8:                               ; @.str.8
	.asciz	"Write H2C register BOX[%d] fail!!!!! Fw do not read.\n"

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

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

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

	.no_dead_strip	__rtl92d_fill_h2c_command
.subsections_via_symbols
