	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8723be_phy_path_a_iqk
__rtl8723be_phy_path_a_iqk:             ## @_rtl8723be_phy_path_a_iqk
	.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	%rdi, %rbx
	movq	_RFPGA0_IQK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKDWORD@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	callq	_rtl_set_bbreg
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$2376, %esi                     ## imm = 0x948
	xorl	%ecx, %ecx
	callq	_rtl_set_bbreg
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_RF_WE_LUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$524448, %r8d                   ## imm = 0x800A0
	callq	_rtl_set_rfreg
	movl	(%r12), %esi
	movq	_RF_RCK_OS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$131072, %r8d                   ## imm = 0x20000
	callq	_rtl_set_rfreg
	movl	(%r12), %esi
	movq	_RF_TXPA_G1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$63, %r8d
	callq	_rtl_set_rfreg
	movl	(%r12), %esi
	movq	_RF_TXPA_G2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$819079, %r8d                   ## imm = 0xC7F87
	callq	_rtl_set_rfreg
	movq	_RTX_IQK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$16808960, %ecx                 ## imm = 0x1007C00
	callq	_rtl_set_bbreg
	movq	_RRX_IQK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$16795648, %ecx                 ## imm = 0x1004800
	callq	_rtl_set_bbreg
	movq	_RTX_IQK_TONE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$402689052, %ecx                ## imm = 0x18008C1C
	callq	_rtl_set_bbreg
	movq	_RRX_IQK_TONE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$939559964, %ecx                ## imm = 0x38008C1C
	callq	_rtl_set_bbreg
	movq	_RTX_IQK_TONE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$939559964, %ecx                ## imm = 0x38008C1C
	callq	_rtl_set_bbreg
	movq	_RRX_IQK_TONE_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$939559964, %ecx                ## imm = 0x38008C1C
	callq	_rtl_set_bbreg
	movq	_RTX_IQK_PI_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$-2112617494, %ecx              ## imm = 0x821403EA
	callq	_rtl_set_bbreg
	movq	_RRX_IQK_PI_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$672530432, %ecx                ## imm = 0x28160000
	callq	_rtl_set_bbreg
	movq	_RTX_IQK_PI_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$-2112815104, %ecx              ## imm = 0x82110000
	callq	_rtl_set_bbreg
	movq	_RRX_IQK_PI_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$672202752, %ecx                ## imm = 0x28110000
	callq	_rtl_set_bbreg
	movq	_RIQK_AGC_RSP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$4598033, %ecx                  ## imm = 0x462911
	callq	_rtl_set_bbreg
	movq	_RFPGA0_IQK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$-2139095040, %ecx              ## imm = 0x80800000
	callq	_rtl_set_bbreg
	movq	_RIQK_AGC_PTS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$-117440512, %ecx               ## imm = 0xF9000000
	callq	_rtl_set_bbreg
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$-134217728, %ecx               ## imm = 0xF8000000
	callq	_rtl_set_bbreg
	movq	_IQK_DELAY_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mdelay
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_rtl_set_bbreg
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$3756, %esi                     ## imm = 0xEAC
	callq	_rtl_get_bbreg
	movl	%eax, %r12d
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$3732, %esi                     ## imm = 0xE94
	callq	_rtl_get_bbreg
	movl	%eax, %r15d
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	$3740, %esi                     ## imm = 0xE9C
	callq	_rtl_get_bbreg
	movl	%eax, %ebx
	movl	$28, %edi
	callq	_BIT
	testl	%r12d, %eax
	jne	LBB0_4
## %bb.1:
	andl	$67043328, %r15d                ## imm = 0x3FF0000
	cmpl	$21102592, %r15d                ## imm = 0x1420000
	je	LBB0_4
## %bb.2:
	andl	$67043328, %ebx                 ## imm = 0x3FF0000
	cmpl	$4325376, %ebx                  ## imm = 0x420000
	je	LBB0_4
## %bb.3:
	movl	$28, %edi
	callq	_BIT
	movl	$1, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFPGA0_IQK,4,2                 ## @RFPGA0_IQK
	.comm	_MASKDWORD,4,2                  ## @MASKDWORD
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_RF_WE_LUT,4,2                  ## @RF_WE_LUT
	.comm	_RFREG_OFFSET_MASK,4,2          ## @RFREG_OFFSET_MASK
	.comm	_RF_RCK_OS,4,2                  ## @RF_RCK_OS
	.comm	_RF_TXPA_G1,4,2                 ## @RF_TXPA_G1
	.comm	_RF_TXPA_G2,4,2                 ## @RF_TXPA_G2
	.comm	_RTX_IQK,4,2                    ## @RTX_IQK
	.comm	_RRX_IQK,4,2                    ## @RRX_IQK
	.comm	_RTX_IQK_TONE_A,4,2             ## @RTX_IQK_TONE_A
	.comm	_RRX_IQK_TONE_A,4,2             ## @RRX_IQK_TONE_A
	.comm	_RTX_IQK_TONE_B,4,2             ## @RTX_IQK_TONE_B
	.comm	_RRX_IQK_TONE_B,4,2             ## @RRX_IQK_TONE_B
	.comm	_RTX_IQK_PI_A,4,2               ## @RTX_IQK_PI_A
	.comm	_RRX_IQK_PI_A,4,2               ## @RRX_IQK_PI_A
	.comm	_RTX_IQK_PI_B,4,2               ## @RTX_IQK_PI_B
	.comm	_RRX_IQK_PI_B,4,2               ## @RRX_IQK_PI_B
	.comm	_RIQK_AGC_RSP,4,2               ## @RIQK_AGC_RSP
	.comm	_RIQK_AGC_PTS,4,2               ## @RIQK_AGC_PTS
	.comm	_IQK_DELAY_TIME,4,2             ## @IQK_DELAY_TIME
	.no_dead_strip	__rtl8723be_phy_path_a_iqk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8723be_phy_path_a_iqk
__rtl8723be_phy_path_a_iqk:             ; @_rtl8723be_phy_path_a_iqk
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x20, _RFPGA0_IQK@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RFPGA0_IQK@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x22, _MASKDWORD@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MASKDWORD@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_rtl_set_bbreg
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #2376
	mov	w3, #0
	bl	_rtl_set_bbreg
Lloh4:
	adrp	x21, _RF90_PATH_A@GOTPAGE
Lloh5:
	ldr	x21, [x21, _RF90_PATH_A@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh6:
	adrp	x8, _RF_WE_LUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RF_WE_LUT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x23, _RFREG_OFFSET_MASK@GOTPAGE
Lloh10:
	ldr	x23, [x23, _RFREG_OFFSET_MASK@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w4, #160
	movk	w4, #8, lsl #16
	bl	_rtl_set_rfreg
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _RF_RCK_OS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RF_RCK_OS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w4, #131072
	bl	_rtl_set_rfreg
	ldr	w1, [x21]
Lloh14:
	adrp	x8, _RF_TXPA_G1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RF_TXPA_G1@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w4, #63
	bl	_rtl_set_rfreg
	ldr	w1, [x21]
Lloh17:
	adrp	x8, _RF_TXPA_G2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RF_TXPA_G2@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w4, #32647
	movk	w4, #12, lsl #16
	bl	_rtl_set_rfreg
Lloh20:
	adrp	x8, _RTX_IQK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RTX_IQK@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #31744
	movk	w3, #256, lsl #16
	bl	_rtl_set_bbreg
Lloh23:
	adrp	x8, _RRX_IQK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RRX_IQK@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #18432
	movk	w3, #256, lsl #16
	bl	_rtl_set_bbreg
Lloh26:
	adrp	x8, _RTX_IQK_TONE_A@GOTPAGE
Lloh27:
	ldr	x8, [x8, _RTX_IQK_TONE_A@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #35868
	movk	w3, #6144, lsl #16
	bl	_rtl_set_bbreg
Lloh29:
	adrp	x8, _RRX_IQK_TONE_A@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RRX_IQK_TONE_A@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #35868
	movk	w3, #14336, lsl #16
	bl	_rtl_set_bbreg
Lloh32:
	adrp	x8, _RTX_IQK_TONE_B@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RTX_IQK_TONE_B@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #35868
	movk	w3, #14336, lsl #16
	bl	_rtl_set_bbreg
Lloh35:
	adrp	x8, _RRX_IQK_TONE_B@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RRX_IQK_TONE_B@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #35868
	movk	w3, #14336, lsl #16
	bl	_rtl_set_bbreg
Lloh38:
	adrp	x8, _RTX_IQK_PI_A@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RTX_IQK_PI_A@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #1002
	movk	w3, #33300, lsl #16
	bl	_rtl_set_bbreg
Lloh41:
	adrp	x8, _RRX_IQK_PI_A@GOTPAGE
Lloh42:
	ldr	x8, [x8, _RRX_IQK_PI_A@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #672530432
	bl	_rtl_set_bbreg
Lloh44:
	adrp	x8, _RTX_IQK_PI_B@GOTPAGE
Lloh45:
	ldr	x8, [x8, _RTX_IQK_PI_B@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #-2112815104
	bl	_rtl_set_bbreg
Lloh47:
	adrp	x8, _RRX_IQK_PI_B@GOTPAGE
Lloh48:
	ldr	x8, [x8, _RRX_IQK_PI_B@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #672202752
	bl	_rtl_set_bbreg
Lloh50:
	adrp	x8, _RIQK_AGC_RSP@GOTPAGE
Lloh51:
	ldr	x8, [x8, _RIQK_AGC_RSP@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #10513
	movk	w3, #70, lsl #16
	bl	_rtl_set_bbreg
	ldr	w1, [x20]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #-2139095040
	bl	_rtl_set_bbreg
Lloh53:
	adrp	x21, _RIQK_AGC_PTS@GOTPAGE
Lloh54:
	ldr	x21, [x21, _RIQK_AGC_PTS@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #-117440512
	bl	_rtl_set_bbreg
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #-134217728
	bl	_rtl_set_bbreg
Lloh55:
	adrp	x8, _IQK_DELAY_TIME@GOTPAGE
Lloh56:
	ldr	x8, [x8, _IQK_DELAY_TIME@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	bl	_mdelay
	ldr	w1, [x20]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	bl	_rtl_set_bbreg
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #3756
	bl	_rtl_get_bbreg
	mov	x21, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #3732
	bl	_rtl_get_bbreg
	mov	x20, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #3740
	bl	_rtl_get_bbreg
	mov	x19, x0
	mov	w0, #28
	bl	_BIT
	mov	x8, x0
	mov	w0, #0
	tst	w8, w21
	b.ne	LBB0_4
; %bb.1:
	and	w8, w20, #0x3ff0000
	mov	w9, #21102592
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.2:
	and	w8, w19, #0x3ff0000
	cmp	w8, #1056, lsl #12              ; =4325376
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #28
	bl	_BIT
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RFPGA0_IQK,4,2                 ; @RFPGA0_IQK
	.comm	_MASKDWORD,4,2                  ; @MASKDWORD
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_RF_WE_LUT,4,2                  ; @RF_WE_LUT
	.comm	_RFREG_OFFSET_MASK,4,2          ; @RFREG_OFFSET_MASK
	.comm	_RF_RCK_OS,4,2                  ; @RF_RCK_OS
	.comm	_RF_TXPA_G1,4,2                 ; @RF_TXPA_G1
	.comm	_RF_TXPA_G2,4,2                 ; @RF_TXPA_G2
	.comm	_RTX_IQK,4,2                    ; @RTX_IQK
	.comm	_RRX_IQK,4,2                    ; @RRX_IQK
	.comm	_RTX_IQK_TONE_A,4,2             ; @RTX_IQK_TONE_A
	.comm	_RRX_IQK_TONE_A,4,2             ; @RRX_IQK_TONE_A
	.comm	_RTX_IQK_TONE_B,4,2             ; @RTX_IQK_TONE_B
	.comm	_RRX_IQK_TONE_B,4,2             ; @RRX_IQK_TONE_B
	.comm	_RTX_IQK_PI_A,4,2               ; @RTX_IQK_PI_A
	.comm	_RRX_IQK_PI_A,4,2               ; @RRX_IQK_PI_A
	.comm	_RTX_IQK_PI_B,4,2               ; @RTX_IQK_PI_B
	.comm	_RRX_IQK_PI_B,4,2               ; @RRX_IQK_PI_B
	.comm	_RIQK_AGC_RSP,4,2               ; @RIQK_AGC_RSP
	.comm	_RIQK_AGC_PTS,4,2               ; @RIQK_AGC_PTS
	.comm	_IQK_DELAY_TIME,4,2             ; @IQK_DELAY_TIME
	.no_dead_strip	__rtl8723be_phy_path_a_iqk
.subsections_via_symbols
