	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_set_fw_cmd          ## -- Begin function rtl92s_phy_set_fw_cmd
	.p2align	4, 0x90
_rtl92s_phy_set_fw_cmd:                 ## @rtl92s_phy_set_fw_cmd
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_FW_CMD_IO_PARA_QUERY
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_FW_CMD_IO_QUERY
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %r9d
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r15, %rdi
	callq	_hal_get_firmwareversion
	cmpl	$53, %eax
	jl	LBB0_4
## %bb.1:
	cmpl	$133, %r14d
	je	LBB0_8
## %bb.2:
	cmpl	$131, %r14d
	jne	LBB0_9
## %bb.3:
	movl	$130, %r14d
	jmp	LBB0_9
LBB0_4:
	leal	-131(%r14), %eax
	cmpl	$6, %eax
	ja	LBB0_9
## %bb.5:
	movl	$69, %ecx
	btl	%eax, %ecx
	jae	LBB0_9
LBB0_6:
	xorl	%r13d, %r13d
	cmpl	$0, (%r12)
	jne	LBB0_38
## %bb.7:
	movl	$1, (%r12)
	movl	%r14d, 4(%r12)
	movq	%rbx, %rdi
	callq	__rtl92s_phy_set_fwcmd_io
	movl	$1, %r13d
	jmp	LBB0_38
LBB0_8:
	movl	$132, %r14d
LBB0_9:
	movq	%r15, %rdi
	callq	_hal_get_firmwareversion
	movq	_FW_CMD_CTRL_DM_BY_DRIVER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r14d
	movl	$146, %ecx
	cmovnel	%r14d, %ecx
	cmpl	$62, %eax
	cmovll	%r14d, %ecx
	addl	$-128, %ecx
	cmpl	$18, %ecx
	ja	LBB0_6
## %bb.10:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_HAL_DM_DIG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r13d, %r13d
	testl	%eax, (%r15)
	jne	LBB0_38
## %bb.12:
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_FW_DIG_ENABLE_CTL@GOTPCREL(%rip), %rax
	movq	_FW_SS_CTL@GOTPCREL(%rip), %rcx
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	orl	(%rcx), %esi
	jmp	LBB0_33
LBB0_13:
	movq	_FW_PWR_TRK_CTL@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	orl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movq	_FW_PWR_TRK_PARAM_CLR@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	andl	(%rax), %ecx
	movl	4(%r15), %eax
	shll	$24, %eax
	orl	%ecx, %eax
	movq	(%r13), %rcx
	movl	(%rcx), %ebx
	shll	$16, %ebx
	orl	%eax, %ebx
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	movl	%r14d, %r8d
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_FW_CMD_PARA_SET
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_FW_CMD_IO_SET
	movl	(%r12), %esi
	jmp	LBB0_19
LBB0_14:
	movq	_FW_DIG_ENABLE_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FW_HIGH_PWR_ENABLE_CTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FW_SS_CTL@GOTPCREL(%rip), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	orl	%eax, %edi
	orl	%ecx, %edi
	orl	(%rdx), %edi
	movl	(%r15), %edx
	movq	_HAL_DM_DIG_DISABLE@GOTPCREL(%rip), %rsi
	notl	%eax
	testl	%edx, (%rsi)
	je	LBB0_39
LBB0_15:
	andl	%eax, %edi
	jmp	LBB0_40
LBB0_16:
	movq	_FW_RA_N_CTL@GOTPCREL(%rip), %r14
	movq	_FW_RA_BG_CTL@GOTPCREL(%rip), %rax
	movq	_FW_RA_INIT_CTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movl	(%r14), %eax
	orl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	notl	%ebx
	andl	%eax, %ebx
	movq	_FW_RA_PARAM_CLR@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %r12d                ## 4-byte Reload
	andl	(%rax), %r12d
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	movl	%ebx, %r8d
	movl	%r12d, %r9d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_FW_CMD_PARA_SET
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_FW_CMD_IO_SET
	movl	(%r14), %esi
	jmp	LBB0_19
LBB0_17:
	movq	_FW_RA_BG_CTL@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	orl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movq	_FW_RA_N_CTL@GOTPCREL(%rip), %rcx
	movq	_FW_RA_INIT_CTL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_FW_RA_PARAM_CLR@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	andl	(%rax), %esi
	movq	%r15, %rdi
	callq	_FW_CMD_PARA_SET
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_FW_CMD_IO_SET
	movl	(%r14), %esi
	jmp	LBB0_23
LBB0_18:
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_FW_RA_INIT_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
	movl	(%rbx), %esi
LBB0_19:
	movq	%r15, %rdi
	callq	_FW_CMD_IO_CLR
	jmp	LBB0_38
LBB0_20:
	movq	_FW_DIG_ENABLE_CTL@GOTPCREL(%rip), %rax
	movq	_FW_HIGH_PWR_ENABLE_CTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FW_SS_CTL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	notl	%ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	andl	%ecx, %esi
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
	movl	$135, %r14d
	jmp	LBB0_6
LBB0_21:
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_FW_PAPE_CTL_BY_SW_HW@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_22:
	movq	_FW_IQK_CTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
	movl	(%rbx), %esi
LBB0_23:
	movq	%r15, %rdi
	callq	_FW_CMD_IO_CLR
	jmp	LBB0_37
LBB0_24:
	movq	_HAL_DM_HIPWR_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r13d, %r13d
	testl	%eax, (%r15)
	jne	LBB0_38
## %bb.25:
	cmpl	$0, 8(%r15)
	jne	LBB0_38
## %bb.26:
	movq	_FW_HIGH_PWR_ENABLE_CTL@GOTPCREL(%rip), %rax
	movq	_FW_SS_CTL@GOTPCREL(%rip), %rcx
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	orl	(%rcx), %esi
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
	movl	$138, %r14d
	jmp	LBB0_6
LBB0_27:
	movq	_FW_HIGH_PWR_ENABLE_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	andl	%eax, %esi
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
	movl	$139, %r14d
	jmp	LBB0_6
LBB0_28:
	movq	_FW_FA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	andl	%eax, %esi
	jmp	LBB0_36
LBB0_29:
	movq	_FW_FA_CTL@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_30:
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_FW_DIG_ENABLE_CTL@GOTPCREL(%rip), %rax
	movq	_FW_SS_CTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	andl	%ecx, %esi
	jmp	LBB0_33
LBB0_31:
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_FW_DIG_ENABLE_CTL@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
	notl	%eax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	andl	%eax, %esi
LBB0_33:
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
	jmp	LBB0_38
LBB0_34:
	movq	_FW_DRIVER_CTRL_DM_CTL@GOTPCREL(%rip), %rax
LBB0_35:
	movl	(%rax), %esi
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
LBB0_36:
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
LBB0_37:
	xorl	%r13d, %r13d
LBB0_38:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	cmpl	$0, 16(%r15)
	je	LBB0_15
LBB0_40:
	movq	_HAL_DM_HIPWR_DISABLE@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_42
## %bb.41:
	cmpl	$0, 8(%r15)
	je	LBB0_43
LBB0_42:
	notl	%ecx
	andl	%ecx, %edi
LBB0_43:
	movl	12(%r15), %ecx
	movq	_DIG_EXT_PORT_STAGE_0@GOTPCREL(%rip), %rdx
	movq	_DIG_EXT_PORT_STAGE_1@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %ecx
	movl	$-1, %esi
	cmovel	%eax, %esi
	cmpl	(%rdx), %ecx
	cmovel	%eax, %esi
	andl	%edi, %esi
	movq	%r15, %rdi
	callq	_FW_CMD_IO_SET
	movl	$129, %r14d
	jmp	LBB0_6
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_6
	.long	L0_0_set_17
	.long	L0_0_set_6
	.long	L0_0_set_18
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_22
	.long	L0_0_set_24
	.long	L0_0_set_27
	.long	L0_0_set_11
	.long	L0_0_set_28
	.long	L0_0_set_29
	.long	L0_0_set_30
	.long	L0_0_set_11
	.long	L0_0_set_31
	.long	L0_0_set_34
	.end_data_region
                                        ## -- End function
	.comm	_COMP_CMD,4,2                   ## @COMP_CMD
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set FW Cmd(%#x), set_fwcmd_inprogress(%d)\n"

	.comm	_FW_CMD_CTRL_DM_BY_DRIVER,4,2   ## @FW_CMD_CTRL_DM_BY_DRIVER
L_.str.1:                               ## @.str.1
	.asciz	"RA init!!\n"

	.comm	_FW_RA_INIT_CTL,4,2             ## @FW_RA_INIT_CTL
L_.str.2:                               ## @.str.2
	.asciz	"Set DIG disable!!\n"

	.comm	_FW_DIG_ENABLE_CTL,4,2          ## @FW_DIG_ENABLE_CTL
	.comm	_HAL_DM_DIG_DISABLE,4,2         ## @HAL_DM_DIG_DISABLE
L_.str.3:                               ## @.str.3
	.asciz	"Set DIG enable or resume!!\n"

	.comm	_FW_SS_CTL,4,2                  ## @FW_SS_CTL
L_.str.4:                               ## @.str.4
	.asciz	"Set DIG halt!!\n"

	.comm	_FW_PWR_TRK_CTL,4,2             ## @FW_PWR_TRK_CTL
	.comm	_FW_PWR_TRK_PARAM_CLR,4,2       ## @FW_PWR_TRK_PARAM_CLR
L_.str.5:                               ## @.str.5
	.asciz	"Set TxPwr tracking!! FwCmdMap(%#x), FwParam(%#x)\n"

	.comm	_FW_RA_N_CTL,4,2                ## @FW_RA_N_CTL
	.comm	_FW_RA_BG_CTL,4,2               ## @FW_RA_BG_CTL
	.comm	_FW_RA_PARAM_CLR,4,2            ## @FW_RA_PARAM_CLR
L_.str.6:                               ## @.str.6
	.asciz	"[FW CMD] [New Version] Set RA/IOT Comb in n mode!! FwCmdMap(%#x), FwParam(%#x)\n"

	.comm	_FW_IQK_CTL,4,2                 ## @FW_IQK_CTL
	.comm	_FW_DRIVER_CTRL_DM_CTL,4,2      ## @FW_DRIVER_CTRL_DM_CTL
	.comm	_FW_HIGH_PWR_ENABLE_CTL,4,2     ## @FW_HIGH_PWR_ENABLE_CTL
	.comm	_HAL_DM_HIPWR_DISABLE,4,2       ## @HAL_DM_HIPWR_DISABLE
	.comm	_DIG_EXT_PORT_STAGE_0,4,2       ## @DIG_EXT_PORT_STAGE_0
	.comm	_DIG_EXT_PORT_STAGE_1,4,2       ## @DIG_EXT_PORT_STAGE_1
	.comm	_FW_FA_CTL,4,2                  ## @FW_FA_CTL
L_.str.7:                               ## @.str.7
	.asciz	"[FW CMD] Set PAPE Control\n"

	.comm	_FW_PAPE_CTL_BY_SW_HW,4,2       ## @FW_PAPE_CTL_BY_SW_HW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_set_fw_cmd          ; -- Begin function rtl92s_phy_set_fw_cmd
	.p2align	2
_rtl92s_phy_set_fw_cmd:                 ; @rtl92s_phy_set_fw_cmd
	.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
	mov	x23, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x21, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x25, x0
	mov	x0, x19
	bl	_FW_CMD_IO_PARA_QUERY
	mov	x24, x0
	mov	x0, x19
	bl	_FW_CMD_IO_QUERY
	mov	x22, x0
Lloh0:
	adrp	x27, _COMP_CMD@GOTPAGE
Lloh1:
	ldr	x27, [x27, _COMP_CMD@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh2:
	adrp	x26, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x26]
	ldr	w8, [x21]
	stp	x23, x8, [sp]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	bl	_hal_get_firmwareversion
	cmp	w0, #53
	b.lt	LBB0_6
; %bb.1:
	mov	w8, #132
	mov	w9, #130
	cmp	w23, #131
	csel	w9, w23, w9, ne
	cmp	w23, #133
	csel	w23, w8, w9, eq
LBB0_2:
	mov	x0, x19
	bl	_hal_get_firmwareversion
Lloh6:
	adrp	x8, _FW_CMD_CTRL_DM_BY_DRIVER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_CMD_CTRL_DM_BY_DRIVER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w23, w8
	mov	w8, #61
	ccmp	w0, w8, #4, eq
	mov	w8, #146
	csel	w8, w8, w23, gt
	sub	w8, w8, #128
	cmp	w8, #18
	b.hi	LBB0_8
; %bb.3:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _HAL_DM_DIG_DISABLE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HAL_DM_DIG_DISABLE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_35
; %bb.5:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh14:
	adrp	x3, l_.str.3@PAGE
Lloh15:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh16:
	adrp	x8, _FW_DIG_ENABLE_CTL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FW_DIG_ENABLE_CTL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _FW_SS_CTL@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FW_SS_CTL@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w22
	orr	w1, w8, w9
	b	LBB0_34
LBB0_6:
	sub	w8, w23, #131
	cmp	w8, #6
	b.hi	LBB0_2
; %bb.7:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #69
	tst	w8, w9
	b.eq	LBB0_2
LBB0_8:
	ldr	w8, [x21]
	cbnz	w8, LBB0_35
; %bb.9:
	mov	w19, #1
	stp	w19, w23, [x21]
	mov	x0, x20
	bl	__rtl92s_phy_set_fwcmd_io
	b	LBB0_36
LBB0_10:
Lloh22:
	adrp	x23, _FW_PWR_TRK_CTL@GOTPAGE
Lloh23:
	ldr	x23, [x23, _FW_PWR_TRK_CTL@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w20, w8, w22
Lloh24:
	adrp	x8, _FW_PWR_TRK_PARAM_CLR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FW_PWR_TRK_PARAM_CLR@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	and	w8, w8, w24
	ldr	w9, [x19, #4]
	ldr	x10, [x25]
	ldr	w10, [x10]
	orr	w8, w8, w9, lsl #24
	orr	w21, w8, w10, lsl #16
	ldr	w1, [x27]
	ldr	w2, [x26]
	stp	x20, x21, [sp]
Lloh27:
	adrp	x3, l_.str.5@PAGE
Lloh28:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_14
LBB0_11:
Lloh29:
	adrp	x8, _FW_DIG_ENABLE_CTL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FW_DIG_ENABLE_CTL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGEOFF]
Lloh34:
	ldr	w10, [x9]
Lloh35:
	adrp	x9, _FW_SS_CTL@GOTPAGE
Lloh36:
	ldr	x9, [x9, _FW_SS_CTL@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w11, w8, w22
	orr	w11, w11, w10
	orr	w9, w11, w9
	ldr	w11, [x19]
Lloh38:
	adrp	x12, _HAL_DM_DIG_DISABLE@GOTPAGE
Lloh39:
	ldr	x12, [x12, _HAL_DM_DIG_DISABLE@GOTPAGEOFF]
Lloh40:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_37
LBB0_12:
	bic	w9, w9, w8
	b	LBB0_38
LBB0_13:
Lloh41:
	adrp	x23, _FW_RA_N_CTL@GOTPAGE
Lloh42:
	ldr	x23, [x23, _FW_RA_N_CTL@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w8, w8, w22
Lloh43:
	adrp	x9, _FW_RA_BG_CTL@GOTPAGE
Lloh44:
	ldr	x9, [x9, _FW_RA_BG_CTL@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	adrp	x10, _FW_RA_INIT_CTL@GOTPAGE
Lloh47:
	ldr	x10, [x10, _FW_RA_INIT_CTL@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w20, w8, w9
Lloh49:
	adrp	x8, _FW_RA_PARAM_CLR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _FW_RA_PARAM_CLR@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	and	w21, w8, w24
	ldr	w1, [x27]
	ldr	w2, [x26]
	stp	x20, x21, [sp]
Lloh52:
	adrp	x3, l_.str.6@PAGE
Lloh53:
	add	x3, x3, l_.str.6@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_RT_TRACE
	mov	x0, x19
	mov	x1, x21
	bl	_FW_CMD_PARA_SET
	mov	x0, x19
	mov	x1, x20
	bl	_FW_CMD_IO_SET
	ldr	w1, [x23]
	b	LBB0_21
LBB0_15:
Lloh54:
	adrp	x21, _FW_RA_BG_CTL@GOTPAGE
Lloh55:
	ldr	x21, [x21, _FW_RA_BG_CTL@GOTPAGEOFF]
	ldr	w8, [x21]
	orr	w8, w8, w22
Lloh56:
	adrp	x9, _FW_RA_N_CTL@GOTPAGE
Lloh57:
	ldr	x9, [x9, _FW_RA_N_CTL@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
Lloh59:
	adrp	x10, _FW_RA_INIT_CTL@GOTPAGE
Lloh60:
	ldr	x10, [x10, _FW_RA_INIT_CTL@GOTPAGEOFF]
Lloh61:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w20, w8, w9
Lloh62:
	adrp	x8, _FW_RA_PARAM_CLR@GOTPAGE
Lloh63:
	ldr	x8, [x8, _FW_RA_PARAM_CLR@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	and	w1, w8, w24
	mov	x0, x19
	bl	_FW_CMD_PARA_SET
	mov	x0, x19
	mov	x1, x20
	bl	_FW_CMD_IO_SET
	ldr	w1, [x21]
	b	LBB0_21
LBB0_16:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh65:
	adrp	x3, l_.str.1@PAGE
Lloh66:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh67:
	adrp	x20, _FW_RA_INIT_CTL@GOTPAGE
Lloh68:
	ldr	x20, [x20, _FW_RA_INIT_CTL@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
Lloh69:
	adrp	x8, _FW_DIG_ENABLE_CTL@GOTPAGE
Lloh70:
	ldr	x8, [x8, _FW_DIG_ENABLE_CTL@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
Lloh72:
	adrp	x9, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGE
Lloh73:
	ldr	x9, [x9, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh75:
	adrp	x9, _FW_SS_CTL@GOTPAGE
Lloh76:
	ldr	x9, [x9, _FW_SS_CTL@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w1, w22, w8
	mov	x0, x19
	bl	_FW_CMD_IO_SET
	mov	w23, #135
	b	LBB0_8
LBB0_18:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh78:
	adrp	x3, l_.str.7@PAGE
Lloh79:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh80:
	adrp	x8, _FW_PAPE_CTL_BY_SW_HW@GOTPAGE
Lloh81:
	ldr	x8, [x8, _FW_PAPE_CTL_BY_SW_HW@GOTPAGEOFF]
	b	LBB0_30
LBB0_19:
Lloh82:
	adrp	x20, _FW_IQK_CTL@GOTPAGE
Lloh83:
	ldr	x20, [x20, _FW_IQK_CTL@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x20]
	orr	w1, w8, w22
	mov	x0, x19
	bl	_FW_CMD_IO_SET
	ldr	w1, [x20]
LBB0_21:
	mov	x0, x19
	bl	_FW_CMD_IO_CLR
	b	LBB0_35
LBB0_22:
	ldr	w8, [x19]
Lloh84:
	adrp	x9, _HAL_DM_HIPWR_DISABLE@GOTPAGE
Lloh85:
	ldr	x9, [x9, _HAL_DM_HIPWR_DISABLE@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_35
; %bb.23:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_35
; %bb.24:
Lloh87:
	adrp	x8, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGE
Lloh88:
	ldr	x8, [x8, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
Lloh90:
	adrp	x9, _FW_SS_CTL@GOTPAGE
Lloh91:
	ldr	x9, [x9, _FW_SS_CTL@GOTPAGEOFF]
Lloh92:
	ldr	w9, [x9]
	orr	w8, w8, w22
	orr	w1, w8, w9
	mov	x0, x19
	bl	_FW_CMD_IO_SET
	mov	w23, #138
	b	LBB0_8
LBB0_25:
Lloh93:
	adrp	x8, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGE
Lloh94:
	ldr	x8, [x8, _FW_HIGH_PWR_ENABLE_CTL@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	bic	w1, w22, w8
	mov	x0, x19
	bl	_FW_CMD_IO_SET
	mov	w23, #139
	b	LBB0_8
LBB0_26:
Lloh96:
	adrp	x8, _FW_FA_CTL@GOTPAGE
Lloh97:
	ldr	x8, [x8, _FW_FA_CTL@GOTPAGEOFF]
	b	LBB0_30
LBB0_27:
Lloh98:
	adrp	x8, _FW_FA_CTL@GOTPAGE
Lloh99:
	ldr	x8, [x8, _FW_FA_CTL@GOTPAGEOFF]
	b	LBB0_33
LBB0_28:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh100:
	adrp	x3, l_.str.4@PAGE
Lloh101:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh102:
	adrp	x8, _FW_DIG_ENABLE_CTL@GOTPAGE
Lloh103:
	ldr	x8, [x8, _FW_DIG_ENABLE_CTL@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
Lloh105:
	adrp	x9, _FW_SS_CTL@GOTPAGE
Lloh106:
	ldr	x9, [x9, _FW_SS_CTL@GOTPAGEOFF]
Lloh107:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_31
LBB0_29:
	ldr	w1, [x27]
	ldr	w2, [x26]
Lloh108:
	adrp	x3, l_.str.2@PAGE
Lloh109:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
Lloh110:
	adrp	x8, _FW_DIG_ENABLE_CTL@GOTPAGE
Lloh111:
	ldr	x8, [x8, _FW_DIG_ENABLE_CTL@GOTPAGEOFF]
LBB0_30:
	ldr	w8, [x8]
LBB0_31:
	bic	w1, w22, w8
	b	LBB0_34
LBB0_32:
Lloh112:
	adrp	x8, _FW_DRIVER_CTRL_DM_CTL@GOTPAGE
Lloh113:
	ldr	x8, [x8, _FW_DRIVER_CTRL_DM_CTL@GOTPAGEOFF]
LBB0_33:
	ldr	w8, [x8]
	orr	w1, w8, w22
LBB0_34:
	mov	x0, x19
	bl	_FW_CMD_IO_SET
LBB0_35:
	mov	w19, #0
LBB0_36:
	mov	x0, x19
	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_37:
	ldr	w12, [x19, #16]
	cbz	w12, LBB0_12
LBB0_38:
Lloh114:
	adrp	x12, _HAL_DM_HIPWR_DISABLE@GOTPAGE
Lloh115:
	ldr	x12, [x12, _HAL_DM_HIPWR_DISABLE@GOTPAGEOFF]
Lloh116:
	ldr	w12, [x12]
	tst	w12, w11
	b.ne	LBB0_40
; %bb.39:
	ldr	w11, [x19, #8]
	cbz	w11, LBB0_41
LBB0_40:
	bic	w9, w9, w10
LBB0_41:
	ldr	w10, [x19, #12]
Lloh117:
	adrp	x11, _DIG_EXT_PORT_STAGE_0@GOTPAGE
Lloh118:
	ldr	x11, [x11, _DIG_EXT_PORT_STAGE_0@GOTPAGEOFF]
Lloh119:
	ldr	w11, [x11]
Lloh120:
	adrp	x12, _DIG_EXT_PORT_STAGE_1@GOTPAGE
Lloh121:
	ldr	x12, [x12, _DIG_EXT_PORT_STAGE_1@GOTPAGEOFF]
Lloh122:
	ldr	w12, [x12]
	cmp	w10, w12
	ccmp	w10, w11, #4, ne
	mov	w10, #-1
	csinv	w8, w10, w8, ne
	and	w1, w8, w9
	mov	x0, x19
	bl	_FW_CMD_IO_SET
	mov	w23, #129
	b	LBB0_8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_25-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_26-LBB0_4)>>2
	.byte	(LBB0_27-LBB0_4)>>2
	.byte	(LBB0_28-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_29-LBB0_4)>>2
	.byte	(LBB0_32-LBB0_4)>>2
                                        ; -- End function
	.comm	_COMP_CMD,4,2                   ; @COMP_CMD
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set FW Cmd(%#x), set_fwcmd_inprogress(%d)\n"

	.comm	_FW_CMD_CTRL_DM_BY_DRIVER,4,2   ; @FW_CMD_CTRL_DM_BY_DRIVER
l_.str.1:                               ; @.str.1
	.asciz	"RA init!!\n"

	.comm	_FW_RA_INIT_CTL,4,2             ; @FW_RA_INIT_CTL
l_.str.2:                               ; @.str.2
	.asciz	"Set DIG disable!!\n"

	.comm	_FW_DIG_ENABLE_CTL,4,2          ; @FW_DIG_ENABLE_CTL
	.comm	_HAL_DM_DIG_DISABLE,4,2         ; @HAL_DM_DIG_DISABLE
l_.str.3:                               ; @.str.3
	.asciz	"Set DIG enable or resume!!\n"

	.comm	_FW_SS_CTL,4,2                  ; @FW_SS_CTL
l_.str.4:                               ; @.str.4
	.asciz	"Set DIG halt!!\n"

	.comm	_FW_PWR_TRK_CTL,4,2             ; @FW_PWR_TRK_CTL
	.comm	_FW_PWR_TRK_PARAM_CLR,4,2       ; @FW_PWR_TRK_PARAM_CLR
l_.str.5:                               ; @.str.5
	.asciz	"Set TxPwr tracking!! FwCmdMap(%#x), FwParam(%#x)\n"

	.comm	_FW_RA_N_CTL,4,2                ; @FW_RA_N_CTL
	.comm	_FW_RA_BG_CTL,4,2               ; @FW_RA_BG_CTL
	.comm	_FW_RA_PARAM_CLR,4,2            ; @FW_RA_PARAM_CLR
l_.str.6:                               ; @.str.6
	.asciz	"[FW CMD] [New Version] Set RA/IOT Comb in n mode!! FwCmdMap(%#x), FwParam(%#x)\n"

	.comm	_FW_IQK_CTL,4,2                 ; @FW_IQK_CTL
	.comm	_FW_DRIVER_CTRL_DM_CTL,4,2      ; @FW_DRIVER_CTRL_DM_CTL
	.comm	_FW_HIGH_PWR_ENABLE_CTL,4,2     ; @FW_HIGH_PWR_ENABLE_CTL
	.comm	_HAL_DM_HIPWR_DISABLE,4,2       ; @HAL_DM_HIPWR_DISABLE
	.comm	_DIG_EXT_PORT_STAGE_0,4,2       ; @DIG_EXT_PORT_STAGE_0
	.comm	_DIG_EXT_PORT_STAGE_1,4,2       ; @DIG_EXT_PORT_STAGE_1
	.comm	_FW_FA_CTL,4,2                  ; @FW_FA_CTL
l_.str.7:                               ; @.str.7
	.asciz	"[FW CMD] Set PAPE Control\n"

	.comm	_FW_PAPE_CTL_BY_SW_HW,4,2       ; @FW_PAPE_CTL_BY_SW_HW
.subsections_via_symbols
