	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_set_ra_vht_ratr_bitmap
__rtl8821ae_set_ra_vht_ratr_bitmap:     ## @_rtl8821ae_set_ra_vht_ratr_bitmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	callq	_rtl_priv
	movq	(%rax), %rcx
	movq	_HT_CHANNEL_WIDTH_20_40@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.1:
	movq	_HT_CHANNEL_WIDTH_80@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_7
## %bb.2:
	movq	_WIRELESS_MODE_AC_5G@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	je	LBB0_4
## %bb.3:
	movq	_WIRELESS_MODE_AC_24G@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_7
LBB0_4:
	movq	8(%rax), %rax
	movq	_RF_1T1R@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_BIT21@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	jmp	LBB0_7
LBB0_6:
	movq	_BIT31@GOTPCREL(%rip), %rax
	movq	_BIT21@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ## @HT_CHANNEL_WIDTH_20_40
	.comm	_HT_CHANNEL_WIDTH_80,8,3        ## @HT_CHANNEL_WIDTH_80
	.comm	_WIRELESS_MODE_AC_5G,4,2        ## @WIRELESS_MODE_AC_5G
	.comm	_WIRELESS_MODE_AC_24G,4,2       ## @WIRELESS_MODE_AC_24G
	.comm	_RF_1T1R,8,3                    ## @RF_1T1R
	.comm	_BIT21,4,2                      ## @BIT21
	.comm	_BIT31,4,2                      ## @BIT31
	.no_dead_strip	__rtl8821ae_set_ra_vht_ratr_bitmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_set_ra_vht_ratr_bitmap
__rtl8821ae_set_ra_vht_ratr_bitmap:     ; @_rtl8821ae_set_ra_vht_ratr_bitmap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_rtl_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _HT_CHANNEL_WIDTH_80@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HT_CHANNEL_WIDTH_80@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_6
; %bb.1:
Lloh6:
	adrp	x8, _WIRELESS_MODE_AC_5G@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WIRELESS_MODE_AC_5G@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _WIRELESS_MODE_AC_24G@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WIRELESS_MODE_AC_24G@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #4, ne
	b.ne	LBB0_6
; %bb.2:
	ldr	x8, [x0, #8]
Lloh12:
	adrp	x9, _RF_1T1R@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RF_1T1R@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _BIT21@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BIT21@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	b	LBB0_5
LBB0_4:
Lloh18:
	adrp	x8, _BIT31@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BIT31@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _BIT21@GOTPAGE
Lloh22:
	ldr	x9, [x9, _BIT21@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_5:
	bic	w19, w19, w8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ; @HT_CHANNEL_WIDTH_20_40
	.comm	_HT_CHANNEL_WIDTH_80,8,3        ; @HT_CHANNEL_WIDTH_80
	.comm	_WIRELESS_MODE_AC_5G,4,2        ; @WIRELESS_MODE_AC_5G
	.comm	_WIRELESS_MODE_AC_24G,4,2       ; @WIRELESS_MODE_AC_24G
	.comm	_RF_1T1R,8,3                    ; @RF_1T1R
	.comm	_BIT21,4,2                      ; @BIT21
	.comm	_BIT31,4,2                      ; @BIT31
	.no_dead_strip	__rtl8821ae_set_ra_vht_ratr_bitmap
.subsections_via_symbols
