	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_reload_iqk_setting  ## -- Begin function rtl92d_phy_reload_iqk_setting
	.p2align	4, 0x90
_rtl92d_phy_reload_iqk_setting:         ## @rtl92d_phy_reload_iqk_setting
	.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
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_rtl_priv
	movq	%rax, %r12
	movq	_COMP_CMD@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%r15, %rdi
	callq	_rtl92d_get_rightchnlplace_for_iqk
	movq	%rax, %rbx
	movl	(%r13), %esi
	movl	(%r14), %edx
	movq	16(%r12), %rax
	movq	%rbx, %r13
	shlq	$4, %r13
	movl	8(%rax,%r13), %r9d
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	cmpl	$0, 4(%r12)
	jne	LBB0_7
LBB0_2:
	movq	_COMP_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rdi
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	16(%r12), %rax
	movq	(%rax,%r13), %rdx
	movq	(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%r8d, %r8d
	cmpq	$0, 16(%rax)
	sete	%r8b
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	__rtl92d_phy_patha_fill_iqk_matrix
LBB0_4:
	movl	(%r12), %edi
	callq	_IS_92D_SINGLEPHY
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	16(%r12), %rax
	movq	(%rax,%r13), %rdx
	movq	(%rdx), %rax
	cmpq	$0, 32(%rax)
	je	LBB0_7
## %bb.6:
	xorl	%r8d, %r8d
	cmpq	$0, 48(%rax)
	sete	%r8b
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	__rtl92d_phy_pathb_fill_iqk_matrix
LBB0_7:
	movl	$0, 8(%r12)
	movq	_COMP_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r12, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- 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	"channel %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"indexforchannel %d done %d\n"

	.comm	_COMP_SCAN,4,2                  ## @COMP_SCAN
L_.str.2:                               ## @.str.2
	.asciz	"Just Read IQK Matrix reg for channel:%d....\n"

L_.str.3:                               ## @.str.3
	.asciz	"<====\n"

	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_reload_iqk_setting  ; -- Begin function rtl92d_phy_reload_iqk_setting
	.p2align	2
_rtl92d_phy_reload_iqk_setting:         ; @rtl92d_phy_reload_iqk_setting
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x23, _COMP_CMD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _COMP_CMD@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x24, _DBG_LOUD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x24]
	str	x21, [sp]
Lloh4:
	adrp	x3, l_.str@PAGE
Lloh5:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
	mov	x0, x21
	bl	_rtl92d_get_rightchnlplace_for_iqk
	mov	x22, x0
	ldr	w1, [x23]
	ldr	w2, [x24]
	ldr	x8, [x19, #16]
	add	x8, x8, x0, lsl #4
	ldr	w8, [x8, #8]
	stp	x0, x8, [sp]
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	cbnz	x22, LBB0_2
; %bb.1:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_7
LBB0_2:
Lloh8:
	adrp	x8, _COMP_SCAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _COMP_SCAN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x24]
	str	x21, [sp]
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	x8, [x19, #16]
	lsl	x21, x22, #4
	ldr	x2, [x8, x21]
	ldr	x8, [x2]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x8, #16]
	cmp	x8, #0
	cset	w4, eq
	mov	x0, x20
	mov	w1, #1
	mov	w3, #0
	bl	__rtl92d_phy_patha_fill_iqk_matrix
LBB0_4:
	ldr	w0, [x19]
	bl	_IS_92D_SINGLEPHY
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #16]
	ldr	x2, [x8, x21]
	ldr	x8, [x2]
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x8, [x8, #48]
	cmp	x8, #0
	cset	w4, eq
	mov	x0, x20
	mov	w1, #1
	mov	w3, #0
	bl	__rtl92d_phy_pathb_fill_iqk_matrix
LBB0_7:
	str	wzr, [x19, #8]
	ldr	w1, [x23]
	ldr	w2, [x24]
Lloh13:
	adrp	x3, l_.str.3@PAGE
Lloh14:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_RT_TRACE
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- 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	"channel %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"indexforchannel %d done %d\n"

	.comm	_COMP_SCAN,4,2                  ; @COMP_SCAN
l_.str.2:                               ; @.str.2
	.asciz	"Just Read IQK Matrix reg for channel:%d....\n"

l_.str.3:                               ; @.str.3
	.asciz	"<====\n"

	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
.subsections_via_symbols
