	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_config_rf_with_headerfile ## -- Begin function rtl92d_phy_config_rf_with_headerfile
	.p2align	4, 0x90
_rtl92d_phy_config_rf_with_headerfile:  ## @rtl92d_phy_config_rf_with_headerfile
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	callq	_rtl_priv
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	_RADIOA_2T_ARRAYLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	_RADIOA_2T_INT_PA_ARRAYLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_rtl8192de_radioa_2tarray@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	_rtl8192de_radioa_2t_int_paarray@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	cmpq	$0, 8(%rax)
	movq	_RADIOB_2T_INT_PA_ARRAYLENGTH@GOTPCREL(%rip), %rax
	movq	_rtl8192de_radiob_2t_int_paarray@GOTPCREL(%rip), %rcx
	cmoveq	_rtl8192de_radiob_2tarray@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	cmoveq	_RADIOB_2T_ARRAYLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	cmpl	$131, %ebx
	jne	LBB0_6
## %bb.1:
	movq	_radiob_txt@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	jne	LBB0_6
## %bb.2:
	movq	_COMP_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_3:
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.4:
	xorl	%ebx, %ebx
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	movl	(%r13,%rbx,4), %edx
	movl	4(%r13,%rbx,4), %r8d
	movq	%r14, %rdi
	movl	$131, %esi
	callq	_rtl_rfreg_delay
	addq	$2, %rbx
	cmpl	%ebx, %r12d
	jg	LBB0_5
	jmp	LBB0_13
LBB0_6:
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	cmoveq	-72(%rbp), %r13                 ## 8-byte Folded Reload
	cmovel	-48(%rbp), %r12d                ## 4-byte Folded Reload
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_12
## %bb.7:
	cmpl	$131, %ebx
	je	LBB0_3
## %bb.8:
	cmpl	$130, %ebx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_13
## %bb.9:
	testl	%r13d, %r13d
	jle	LBB0_13
## %bb.10:
	xorl	%ebx, %ebx
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	movl	(%r12,%rbx,4), %edx
	movl	4(%r12,%rbx,4), %r8d
	movq	%r14, %rdi
	movl	$130, %esi
	callq	_rtl_rfreg_delay
	addq	$2, %rbx
	cmpl	%ebx, %r13d
	jg	LBB0_11
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.4(%rip), %rdi
	movl	%ebx, %esi
	callq	_pr_err
LBB0_13:
	movl	$1, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIOA_2T_ARRAYLENGTH,4,2      ## @RADIOA_2T_ARRAYLENGTH
	.comm	_rtl8192de_radioa_2tarray,8,3   ## @rtl8192de_radioa_2tarray
	.comm	_RADIOB_2T_ARRAYLENGTH,4,2      ## @RADIOB_2T_ARRAYLENGTH
	.comm	_rtl8192de_radiob_2tarray,8,3   ## @rtl8192de_radiob_2tarray
	.comm	_RADIOA_2T_INT_PA_ARRAYLENGTH,4,2 ## @RADIOA_2T_INT_PA_ARRAYLENGTH
	.comm	_rtl8192de_radioa_2t_int_paarray,8,3 ## @rtl8192de_radioa_2t_int_paarray
	.comm	_RADIOB_2T_INT_PA_ARRAYLENGTH,4,2 ## @RADIOB_2T_INT_PA_ARRAYLENGTH
	.comm	_rtl8192de_radiob_2t_int_paarray,8,3 ## @rtl8192de_radiob_2t_int_paarray
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PHY_ConfigRFWithHeaderFile() Radio_A:Rtl819XRadioA_1TArray\n"

L_.str.1:                               ## @.str.1
	.asciz	"PHY_ConfigRFWithHeaderFile() Radio_B:Rtl819XRadioB_1TArray\n"

	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
L_.str.2:                               ## @.str.2
	.asciz	"Radio No %x\n"

	.comm	_radiob_txt,4,2                 ## @radiob_txt
L_.str.3:                               ## @.str.3
	.asciz	" ===> althougth Path A, we load radiob.txt\n"

	.comm	_RFREG_OFFSET_MASK,4,2          ## @RFREG_OFFSET_MASK
L_.str.4:                               ## @.str.4
	.asciz	"switch case %#x not processed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92d_phy_config_rf_with_headerfile ; -- Begin function rtl92d_phy_config_rf_with_headerfile
	.p2align	2
_rtl92d_phy_config_rf_with_headerfile:  ; @rtl92d_phy_config_rf_with_headerfile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x21, x0
Lloh0:
	adrp	x8, _RADIOB_2T_ARRAYLENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIOB_2T_ARRAYLENGTH@GOTPAGEOFF]
Lloh2:
	adrp	x9, _rtl8192de_radiob_2tarray@GOTPAGE
Lloh3:
	ldr	x9, [x9, _rtl8192de_radiob_2tarray@GOTPAGEOFF]
	ldr	x10, [x0]
Lloh4:
	adrp	x11, _RADIOA_2T_ARRAYLENGTH@GOTPAGE
Lloh5:
	ldr	x11, [x11, _RADIOA_2T_ARRAYLENGTH@GOTPAGEOFF]
Lloh6:
	ldr	w11, [x11]
	str	w11, [sp, #28]                  ; 4-byte Folded Spill
Lloh7:
	adrp	x11, _RADIOA_2T_INT_PA_ARRAYLENGTH@GOTPAGE
Lloh8:
	ldr	x11, [x11, _RADIOA_2T_INT_PA_ARRAYLENGTH@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	str	w11, [sp, #24]                  ; 4-byte Folded Spill
Lloh10:
	adrp	x11, _rtl8192de_radioa_2tarray@GOTPAGE
Lloh11:
	ldr	x11, [x11, _rtl8192de_radioa_2tarray@GOTPAGEOFF]
Lloh12:
	ldr	x11, [x11]
	str	x11, [sp, #16]                  ; 8-byte Folded Spill
Lloh13:
	adrp	x11, _rtl8192de_radioa_2t_int_paarray@GOTPAGE
Lloh14:
	ldr	x11, [x11, _rtl8192de_radioa_2t_int_paarray@GOTPAGEOFF]
Lloh15:
	ldr	x28, [x11]
Lloh16:
	adrp	x11, _RADIOB_2T_INT_PA_ARRAYLENGTH@GOTPAGE
Lloh17:
	ldr	x11, [x11, _RADIOB_2T_INT_PA_ARRAYLENGTH@GOTPAGEOFF]
Lloh18:
	adrp	x12, _rtl8192de_radiob_2t_int_paarray@GOTPAGE
Lloh19:
	ldr	x12, [x12, _rtl8192de_radiob_2t_int_paarray@GOTPAGEOFF]
	ldp	x25, x10, [x10]
	cmp	x10, #0
	csel	x9, x9, x12, eq
	ldr	x23, [x9]
	csel	x8, x8, x11, eq
	ldr	w24, [x8]
Lloh20:
	adrp	x26, _COMP_INIT@GOTPAGE
Lloh21:
	ldr	x26, [x26, _COMP_INIT@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh22:
	adrp	x27, _DBG_LOUD@GOTPAGE
Lloh23:
	ldr	x27, [x27, _DBG_LOUD@GOTPAGEOFF]
	ldr	w2, [x27]
Lloh24:
	adrp	x3, l_.str@PAGE
Lloh25:
	add	x3, x3, l_.str@PAGEOFF
	bl	_RT_TRACE
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh26:
	adrp	x3, l_.str.1@PAGE
Lloh27:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_RT_TRACE
	ldr	w1, [x26]
Lloh28:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	str	x20, [sp]
Lloh31:
	adrp	x3, l_.str.2@PAGE
Lloh32:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_RT_TRACE
	cmp	w20, #131
	b.ne	LBB0_5
; %bb.1:
Lloh33:
	adrp	x8, _radiob_txt@GOTPAGE
Lloh34:
	ldr	x8, [x8, _radiob_txt@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_5
; %bb.2:
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh36:
	adrp	x3, l_.str.3@PAGE
Lloh37:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_RT_TRACE
	cmp	w24, #1
	b.lt	LBB0_12
LBB0_3:
	mov	x20, #0
Lloh38:
	adrp	x21, _RFREG_OFFSET_MASK@GOTPAGE
Lloh39:
	ldr	x21, [x21, _RFREG_OFFSET_MASK@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x23, x20, lsl #2
	ldr	w3, [x21]
	ldp	w2, w4, [x8]
	mov	x0, x19
	mov	w1, #131
	bl	_rtl_rfreg_delay
	add	x20, x20, #2
	cmp	w24, w20
	b.gt	LBB0_4
	b	LBB0_12
LBB0_5:
	cmp	x25, #0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	csel	x8, x8, x28, eq
	ldp	w10, w9, [sp, #24]              ; 8-byte Folded Reload
	csel	w9, w9, w10, eq
	sub	w10, w20, #128
	cmp	w10, #2
	b.lo	LBB0_11
; %bb.6:
	cmp	w20, #131
	b.eq	LBB0_13
; %bb.7:
	cmp	w20, #130
	b.ne	LBB0_12
; %bb.8:
	cmp	w24, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x20, #0
Lloh40:
	adrp	x21, _RFREG_OFFSET_MASK@GOTPAGE
Lloh41:
	ldr	x21, [x21, _RFREG_OFFSET_MASK@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x23, x20, lsl #2
	ldr	w3, [x21]
	ldp	w2, w4, [x8]
	mov	x0, x19
	mov	w1, #130
	bl	_rtl_rfreg_delay
	add	x20, x20, #2
	cmp	w24, w20
	b.gt	LBB0_10
	b	LBB0_12
LBB0_11:
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_pr_err
LBB0_12:
	mov	w0, #1
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	mov	x24, x9
	mov	x23, x8
	cmp	w24, #1
	b.ge	LBB0_3
	b	LBB0_12
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIOA_2T_ARRAYLENGTH,4,2      ; @RADIOA_2T_ARRAYLENGTH
	.comm	_rtl8192de_radioa_2tarray,8,3   ; @rtl8192de_radioa_2tarray
	.comm	_RADIOB_2T_ARRAYLENGTH,4,2      ; @RADIOB_2T_ARRAYLENGTH
	.comm	_rtl8192de_radiob_2tarray,8,3   ; @rtl8192de_radiob_2tarray
	.comm	_RADIOA_2T_INT_PA_ARRAYLENGTH,4,2 ; @RADIOA_2T_INT_PA_ARRAYLENGTH
	.comm	_rtl8192de_radioa_2t_int_paarray,8,3 ; @rtl8192de_radioa_2t_int_paarray
	.comm	_RADIOB_2T_INT_PA_ARRAYLENGTH,4,2 ; @RADIOB_2T_INT_PA_ARRAYLENGTH
	.comm	_rtl8192de_radiob_2t_int_paarray,8,3 ; @rtl8192de_radiob_2t_int_paarray
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PHY_ConfigRFWithHeaderFile() Radio_A:Rtl819XRadioA_1TArray\n"

l_.str.1:                               ; @.str.1
	.asciz	"PHY_ConfigRFWithHeaderFile() Radio_B:Rtl819XRadioB_1TArray\n"

	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
l_.str.2:                               ; @.str.2
	.asciz	"Radio No %x\n"

	.comm	_radiob_txt,4,2                 ; @radiob_txt
l_.str.3:                               ; @.str.3
	.asciz	" ===> althougth Path A, we load radiob.txt\n"

	.comm	_RFREG_OFFSET_MASK,4,2          ; @RFREG_OFFSET_MASK
l_.str.4:                               ; @.str.4
	.asciz	"switch case %#x not processed\n"

.subsections_via_symbols
