	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8821ae_sc_mapping
_rtl8821ae_sc_mapping:                  ## @rtl8821ae_sc_mapping
	.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
	movq	%rsi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	(%r14), %rcx
	movq	_HT_CHANNEL_WIDTH_80@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_20
## %bb.1:
	movq	(%rbx), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_25
## %bb.2:
	movq	_HT_CHANNEL_WIDTH_20_40@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_7
## %bb.3:
	movq	(%rax), %rax
	movq	_HAL_PRIME_CHNL_OFFSET_LOWER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_VHT_DATA_SC_40_LOWER_OF_80MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_20:
	movq	_HT_CHANNEL_WIDTH_20_40@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_25
## %bb.21:
	movq	(%rbx), %rdx
	cmpq	%rcx, %rdx
	jne	LBB0_22
LBB0_25:
	movq	_VHT_DATA_SC_DONOT_CARE@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %ecx
LBB0_27:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rax), %rcx
	movq	_HAL_PRIME_CHNL_OFFSET_LOWER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_10
## %bb.8:
	cmpq	%rcx, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	_VHT_DATA_SC_20_LOWEST_OF_80MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_22:
	movq	_HT_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_27
## %bb.23:
	movq	8(%rax), %rax
	movq	_HAL_PRIME_CHNL_OFFSET_UPPER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.24:
	movq	_HAL_PRIME_CHNL_OFFSET_LOWER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
	jmp	LBB0_12
LBB0_10:
	movq	_HAL_PRIME_CHNL_OFFSET_UPPER@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_13
## %bb.11:
	cmpq	%rdx, (%rax)
	jne	LBB0_13
LBB0_12:
	movq	_VHT_DATA_SC_20_LOWER_OF_80MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_13:
	cmpq	%rdx, %rcx
	jne	LBB0_16
## %bb.14:
	cmpq	%rsi, (%rax)
	jne	LBB0_16
LBB0_15:
	movq	_VHT_DATA_SC_20_UPPER_OF_80MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_5:
	movq	_HAL_PRIME_CHNL_OFFSET_UPPER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.6:
	movq	_VHT_DATA_SC_40_UPPER_OF_80MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_16:
	cmpq	%rsi, %rcx
	jne	LBB0_19
## %bb.17:
	cmpq	%rcx, (%rax)
	jne	LBB0_19
## %bb.18:
	movq	_VHT_DATA_SC_20_UPPERST_OF_80MHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_19:
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_RT_TRACE
	xorl	%ecx, %ecx
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_HT_CHANNEL_WIDTH_80,8,3        ## @HT_CHANNEL_WIDTH_80
	.comm	_VHT_DATA_SC_DONOT_CARE,4,2     ## @VHT_DATA_SC_DONOT_CARE
	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ## @HT_CHANNEL_WIDTH_20_40
	.comm	_HAL_PRIME_CHNL_OFFSET_LOWER,8,3 ## @HAL_PRIME_CHNL_OFFSET_LOWER
	.comm	_VHT_DATA_SC_40_LOWER_OF_80MHZ,4,2 ## @VHT_DATA_SC_40_LOWER_OF_80MHZ
	.comm	_HAL_PRIME_CHNL_OFFSET_UPPER,8,3 ## @HAL_PRIME_CHNL_OFFSET_UPPER
	.comm	_VHT_DATA_SC_40_UPPER_OF_80MHZ,4,2 ## @VHT_DATA_SC_40_UPPER_OF_80MHZ
	.comm	_COMP_SEND,4,2                  ## @COMP_SEND
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtl8821ae_sc_mapping: Not Correct Primary40MHz Setting\n"

	.comm	_VHT_DATA_SC_20_LOWEST_OF_80MHZ,4,2 ## @VHT_DATA_SC_20_LOWEST_OF_80MHZ
	.comm	_VHT_DATA_SC_20_LOWER_OF_80MHZ,4,2 ## @VHT_DATA_SC_20_LOWER_OF_80MHZ
	.comm	_VHT_DATA_SC_20_UPPER_OF_80MHZ,4,2 ## @VHT_DATA_SC_20_UPPER_OF_80MHZ
	.comm	_VHT_DATA_SC_20_UPPERST_OF_80MHZ,4,2 ## @VHT_DATA_SC_20_UPPERST_OF_80MHZ
	.comm	_HT_CHANNEL_WIDTH_20,8,3        ## @HT_CHANNEL_WIDTH_20
	.no_dead_strip	_rtl8821ae_sc_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8821ae_sc_mapping
_rtl8821ae_sc_mapping:                  ; @rtl8821ae_sc_mapping
	.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	x20, x1
	bl	_rtl_priv
	mov	x19, x0
	bl	_rtl_mac
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _HT_CHANNEL_WIDTH_80@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HT_CHANNEL_WIDTH_80@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x9, [x20]
	cmp	x9, x8
	b.eq	LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _HT_CHANNEL_WIDTH_20_40@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HT_CHANNEL_WIDTH_20_40@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.3:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _HAL_PRIME_CHNL_OFFSET_LOWER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HAL_PRIME_CHNL_OFFSET_LOWER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.4:
Lloh9:
	adrp	x8, _VHT_DATA_SC_40_LOWER_OF_80MHZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VHT_DATA_SC_40_LOWER_OF_80MHZ@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh11:
	adrp	x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGE
Lloh12:
	ldr	x9, [x9, _HT_CHANNEL_WIDTH_20_40@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldr	x9, [x20]
	cmp	x9, x8
	b.ne	LBB0_13
LBB0_7:
Lloh14:
	adrp	x8, _VHT_DATA_SC_DONOT_CARE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VHT_DATA_SC_DONOT_CARE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x8, [x0, #8]
Lloh16:
	adrp	x9, _HAL_PRIME_CHNL_OFFSET_LOWER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HAL_PRIME_CHNL_OFFSET_LOWER@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.11:
	ldr	x10, [x0]
	cmp	x10, x8
	b.ne	LBB0_16
; %bb.12:
Lloh19:
	adrp	x8, _VHT_DATA_SC_20_LOWEST_OF_80MHZ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VHT_DATA_SC_20_LOWEST_OF_80MHZ@GOTPAGEOFF]
	b	LBB0_8
LBB0_13:
Lloh21:
	adrp	x8, _HT_CHANNEL_WIDTH_20@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HT_CHANNEL_WIDTH_20@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.14:
	ldr	x8, [x0, #8]
Lloh24:
	adrp	x9, _HAL_PRIME_CHNL_OFFSET_UPPER@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HAL_PRIME_CHNL_OFFSET_UPPER@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.15:
Lloh27:
	adrp	x9, _HAL_PRIME_CHNL_OFFSET_LOWER@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HAL_PRIME_CHNL_OFFSET_LOWER@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
	b	LBB0_18
LBB0_16:
Lloh30:
	adrp	x10, _HAL_PRIME_CHNL_OFFSET_UPPER@GOTPAGE
Lloh31:
	ldr	x10, [x10, _HAL_PRIME_CHNL_OFFSET_UPPER@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_19
; %bb.17:
	ldr	x11, [x0]
	cmp	x11, x9
	b.ne	LBB0_19
LBB0_18:
Lloh33:
	adrp	x8, _VHT_DATA_SC_20_LOWER_OF_80MHZ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VHT_DATA_SC_20_LOWER_OF_80MHZ@GOTPAGEOFF]
	b	LBB0_8
LBB0_19:
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.20:
	ldr	x9, [x0]
	cmp	x9, x10
	b.ne	LBB0_25
LBB0_21:
Lloh35:
	adrp	x8, _VHT_DATA_SC_20_UPPER_OF_80MHZ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VHT_DATA_SC_20_UPPER_OF_80MHZ@GOTPAGEOFF]
	b	LBB0_8
LBB0_22:
Lloh37:
	adrp	x9, _HAL_PRIME_CHNL_OFFSET_UPPER@GOTPAGE
Lloh38:
	ldr	x9, [x9, _HAL_PRIME_CHNL_OFFSET_UPPER@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.23:
Lloh40:
	adrp	x8, _VHT_DATA_SC_40_UPPER_OF_80MHZ@GOTPAGE
Lloh41:
	ldr	x8, [x8, _VHT_DATA_SC_40_UPPER_OF_80MHZ@GOTPAGEOFF]
	b	LBB0_8
LBB0_24:
	mov	w0, #0
	b	LBB0_9
LBB0_25:
	cmp	x8, x10
	b.ne	LBB0_28
; %bb.26:
	ldr	x9, [x0]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
Lloh42:
	adrp	x8, _VHT_DATA_SC_20_UPPERST_OF_80MHZ@GOTPAGE
Lloh43:
	ldr	x8, [x8, _VHT_DATA_SC_20_UPPERST_OF_80MHZ@GOTPAGEOFF]
	b	LBB0_8
LBB0_28:
Lloh44:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh45:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
Lloh50:
	adrp	x3, l_.str@PAGE
Lloh51:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_HT_CHANNEL_WIDTH_80,8,3        ; @HT_CHANNEL_WIDTH_80
	.comm	_VHT_DATA_SC_DONOT_CARE,4,2     ; @VHT_DATA_SC_DONOT_CARE
	.comm	_HT_CHANNEL_WIDTH_20_40,8,3     ; @HT_CHANNEL_WIDTH_20_40
	.comm	_HAL_PRIME_CHNL_OFFSET_LOWER,8,3 ; @HAL_PRIME_CHNL_OFFSET_LOWER
	.comm	_VHT_DATA_SC_40_LOWER_OF_80MHZ,4,2 ; @VHT_DATA_SC_40_LOWER_OF_80MHZ
	.comm	_HAL_PRIME_CHNL_OFFSET_UPPER,8,3 ; @HAL_PRIME_CHNL_OFFSET_UPPER
	.comm	_VHT_DATA_SC_40_UPPER_OF_80MHZ,4,2 ; @VHT_DATA_SC_40_UPPER_OF_80MHZ
	.comm	_COMP_SEND,4,2                  ; @COMP_SEND
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl8821ae_sc_mapping: Not Correct Primary40MHz Setting\n"

	.comm	_VHT_DATA_SC_20_LOWEST_OF_80MHZ,4,2 ; @VHT_DATA_SC_20_LOWEST_OF_80MHZ
	.comm	_VHT_DATA_SC_20_LOWER_OF_80MHZ,4,2 ; @VHT_DATA_SC_20_LOWER_OF_80MHZ
	.comm	_VHT_DATA_SC_20_UPPER_OF_80MHZ,4,2 ; @VHT_DATA_SC_20_UPPER_OF_80MHZ
	.comm	_VHT_DATA_SC_20_UPPERST_OF_80MHZ,4,2 ; @VHT_DATA_SC_20_UPPERST_OF_80MHZ
	.comm	_HT_CHANNEL_WIDTH_20,8,3        ; @HT_CHANNEL_WIDTH_20
	.no_dead_strip	_rtl8821ae_sc_mapping
.subsections_via_symbols
