	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8812ae_phy_set_rfe_reg_24g
__rtl8812ae_phy_set_rfe_reg_24g:        ## @_rtl8812ae_phy_set_rfe_reg_24g
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movl	(%rax), %eax
	decl	%eax
	cmpl	$4, %eax
	ja	LBB0_11
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	cmpl	$0, (%r14)
	je	LBB0_11
## %bb.8:
	movq	_RA_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	movl	$7829367, %ecx                  ## imm = 0x777777
	callq	_rtl_set_bbreg
	movq	_RB_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2004318071, %ecx               ## imm = 0x77777777
	callq	_rtl_set_bbreg
	movq	_RA_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$871366656, %edx                ## imm = 0x33F00000
	xorl	%ecx, %ecx
	callq	_rtl_set_bbreg
	jmp	LBB0_9
LBB0_11:
	movq	_RA_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKDWORD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2004318071, %ecx               ## imm = 0x77777777
	callq	_rtl_set_bbreg
	movq	_RB_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2004318071, %ecx               ## imm = 0x77777777
	callq	_rtl_set_bbreg
	movq	_RA_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKRFEINV@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_rtl_set_bbreg
	movq	_RB_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	jmp	LBB0_10
LBB0_2:
	movq	_RA_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKDWORD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1412659056, %ecx               ## imm = 0x54337770
	callq	_rtl_set_bbreg
	movq	_RB_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1412659056, %ecx               ## imm = 0x54337770
	callq	_rtl_set_bbreg
	movq	_RA_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKRFEINV@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$16, %ecx
	callq	_rtl_set_bbreg
	movq	_RB_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$16, %ecx
	callq	_rtl_set_bbreg
	movq	%rbx, %rdi
	movl	$2304, %esi                     ## imm = 0x900
	movl	$771, %edx                      ## imm = 0x303
	jmp	LBB0_4
LBB0_3:
	movq	_RA_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKDWORD@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2004318071, %ecx               ## imm = 0x77777777
	callq	_rtl_set_bbreg
	movq	_RB_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$2004318071, %ecx               ## imm = 0x77777777
	callq	_rtl_set_bbreg
	movq	_RA_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKRFEINV@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_rtl_set_bbreg
	movq	_RB_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
LBB0_4:
	movl	$1, %ecx
	jmp	LBB0_5
LBB0_6:
	movq	_RA_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$2, %esi
	movq	%r14, %rdi
	movl	$119, %edx
	callq	_rtl_write_byte
	movq	_RB_RFE_PINMUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$2004318071, %ecx               ## imm = 0x77777777
	callq	_rtl_set_bbreg
	movq	_RA_RFE_INV@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	addl	$3, %esi
	movq	%r14, %rdi
	callq	_rtl_read_byte
	movl	(%r15), %esi
	addl	$3, %esi
	andl	$-2, %eax
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_rtl_write_byte
LBB0_9:
	movq	_RB_RFE_INV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BMASKRFEINV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_10:
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_set_bbreg                  ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_RA_RFE_PINMUX,4,2              ## @RA_RFE_PINMUX
	.comm	_BMASKDWORD,4,2                 ## @BMASKDWORD
	.comm	_RB_RFE_PINMUX,4,2              ## @RB_RFE_PINMUX
	.comm	_RA_RFE_INV,4,2                 ## @RA_RFE_INV
	.comm	_BMASKRFEINV,4,2                ## @BMASKRFEINV
	.comm	_RB_RFE_INV,4,2                 ## @RB_RFE_INV
	.no_dead_strip	__rtl8812ae_phy_set_rfe_reg_24g
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8812ae_phy_set_rfe_reg_24g
__rtl8812ae_phy_set_rfe_reg_24g:        ; @_rtl8812ae_phy_set_rfe_reg_24g
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	ldr	w8, [x0]
	sub	w8, w8, #1
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _RA_RFE_PINMUX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RA_RFE_PINMUX@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16777215
	mov	w3, #30583
	movk	w3, #119, lsl #16
	bl	_rtl_set_bbreg
Lloh5:
	adrp	x8, _RB_RFE_PINMUX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RB_RFE_PINMUX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _BMASKDWORD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BMASKDWORD@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #2004318071
	bl	_rtl_set_bbreg
Lloh11:
	adrp	x8, _RA_RFE_INV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RA_RFE_INV@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #871366656
	mov	w3, #0
	bl	_rtl_set_bbreg
	b	LBB0_9
LBB0_4:
Lloh14:
	adrp	x8, _RA_RFE_PINMUX@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RA_RFE_PINMUX@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x20, _BMASKDWORD@GOTPAGE
Lloh18:
	ldr	x20, [x20, _BMASKDWORD@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #2004318071
	bl	_rtl_set_bbreg
Lloh19:
	adrp	x8, _RB_RFE_PINMUX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RB_RFE_PINMUX@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #2004318071
	bl	_rtl_set_bbreg
Lloh22:
	adrp	x8, _RA_RFE_INV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RA_RFE_INV@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x20, _BMASKRFEINV@GOTPAGE
Lloh26:
	ldr	x20, [x20, _BMASKRFEINV@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_rtl_set_bbreg
Lloh27:
	adrp	x8, _RB_RFE_INV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RB_RFE_INV@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x20]
	b	LBB0_10
LBB0_5:
Lloh30:
	adrp	x8, _RA_RFE_PINMUX@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RA_RFE_PINMUX@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x20, _BMASKDWORD@GOTPAGE
Lloh34:
	ldr	x20, [x20, _BMASKDWORD@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #30576
	movk	w3, #21555, lsl #16
	bl	_rtl_set_bbreg
Lloh35:
	adrp	x8, _RB_RFE_PINMUX@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RB_RFE_PINMUX@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #30576
	movk	w3, #21555, lsl #16
	bl	_rtl_set_bbreg
Lloh38:
	adrp	x8, _RA_RFE_INV@GOTPAGE
Lloh39:
	ldr	x8, [x8, _RA_RFE_INV@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x20, _BMASKRFEINV@GOTPAGE
Lloh42:
	ldr	x20, [x20, _BMASKRFEINV@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #16
	bl	_rtl_set_bbreg
Lloh43:
	adrp	x8, _RB_RFE_INV@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RB_RFE_INV@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #16
	bl	_rtl_set_bbreg
	mov	x0, x19
	mov	w1, #2304
	mov	w2, #771
	b	LBB0_7
LBB0_6:
Lloh46:
	adrp	x8, _RA_RFE_PINMUX@GOTPAGE
Lloh47:
	ldr	x8, [x8, _RA_RFE_PINMUX@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x20, _BMASKDWORD@GOTPAGE
Lloh50:
	ldr	x20, [x20, _BMASKDWORD@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #2004318071
	bl	_rtl_set_bbreg
Lloh51:
	adrp	x8, _RB_RFE_PINMUX@GOTPAGE
Lloh52:
	ldr	x8, [x8, _RB_RFE_PINMUX@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #2004318071
	bl	_rtl_set_bbreg
Lloh54:
	adrp	x8, _RA_RFE_INV@GOTPAGE
Lloh55:
	ldr	x8, [x8, _RA_RFE_INV@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x20, _BMASKRFEINV@GOTPAGE
Lloh58:
	ldr	x20, [x20, _BMASKRFEINV@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_rtl_set_bbreg
Lloh59:
	adrp	x8, _RB_RFE_INV@GOTPAGE
Lloh60:
	ldr	x8, [x8, _RB_RFE_INV@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
LBB0_7:
	mov	w3, #1
	b	LBB0_11
LBB0_8:
Lloh62:
	adrp	x8, _RA_RFE_PINMUX@GOTPAGE
Lloh63:
	ldr	x8, [x8, _RA_RFE_PINMUX@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	add	w1, w8, #2
	mov	x0, x20
	mov	w2, #119
	bl	_rtl_write_byte
Lloh65:
	adrp	x8, _RB_RFE_PINMUX@GOTPAGE
Lloh66:
	ldr	x8, [x8, _RB_RFE_PINMUX@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
Lloh68:
	adrp	x8, _BMASKDWORD@GOTPAGE
Lloh69:
	ldr	x8, [x8, _BMASKDWORD@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #2004318071
	bl	_rtl_set_bbreg
Lloh71:
	adrp	x21, _RA_RFE_INV@GOTPAGE
Lloh72:
	ldr	x21, [x21, _RA_RFE_INV@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w1, w8, #3
	mov	x0, x20
	bl	_rtl_read_byte
	ldr	w8, [x21]
	add	w1, w8, #3
	and	w2, w0, #0xfffffffe
	mov	x0, x20
	bl	_rtl_write_byte
LBB0_9:
Lloh73:
	adrp	x8, _RB_RFE_INV@GOTPAGE
Lloh74:
	ldr	x8, [x8, _RB_RFE_INV@GOTPAGEOFF]
Lloh75:
	adrp	x9, _BMASKRFEINV@GOTPAGE
Lloh76:
	ldr	x9, [x9, _BMASKRFEINV@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
Lloh78:
	ldr	w2, [x9]
LBB0_10:
	mov	x0, x19
	mov	w3, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl_set_bbreg
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh77
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_RA_RFE_PINMUX,4,2              ; @RA_RFE_PINMUX
	.comm	_BMASKDWORD,4,2                 ; @BMASKDWORD
	.comm	_RB_RFE_PINMUX,4,2              ; @RB_RFE_PINMUX
	.comm	_RA_RFE_INV,4,2                 ; @RA_RFE_INV
	.comm	_BMASKRFEINV,4,2                ; @BMASKRFEINV
	.comm	_RB_RFE_INV,4,2                 ; @RB_RFE_INV
	.no_dead_strip	__rtl8812ae_phy_set_rfe_reg_24g
.subsections_via_symbols
