	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_fw_get_config_flags
_rs_fw_get_config_flags:                ## @rs_fw_get_config_flags
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	16(%rsi), %r13d
	movq	(%rdi), %rax
	movq	(%rax), %rax
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rax)
	je	LBB0_11
## %bb.1:
	movq	%rbx, %rdi
	callq	_iwl_mvm_get_valid_tx_ant
	movl	%eax, %edi
	callq	_num_of_ant
	cmpl	$2, %eax
	jl	LBB0_11
## %bb.2:
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.3:
	movq	(%r12), %rax
	movq	_IEEE80211_HE_PHY_CAP2_STBC_RX_UNDER_80MHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	andl	8(%rax), %r14d
	je	LBB0_5
## %bb.4:
	movq	_IWL_TLC_MNG_CFG_FLAGS_STBC_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_5:
	movq	_IEEE80211_HE_PHY_CAP7_STBC_RX_ABOVE_80MHZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 28(%rax)
	je	LBB0_11
## %bb.6:
	movq	_IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_11
LBB0_7:
	movq	_IEEE80211_HT_CAP_RX_STBC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%r12)
	je	LBB0_8
LBB0_10:
	movq	_IWL_TLC_MNG_CFG_FLAGS_STBC_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_11:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.12:
	movq	_IEEE80211_HT_CAP_LDPC_CODING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%r12)
	je	LBB0_13
LBB0_15:
	movq	_IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_16:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	cmpq	$0, 8(%rax)
	je	LBB0_20
## %bb.18:
	movq	(%rax), %rax
	movq	_IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	jne	LBB0_20
## %bb.19:
	movq	_IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
LBB0_20:
	cmpq	$0, 8(%r12)
	je	LBB0_23
## %bb.21:
	movq	(%r12), %rax
	movq	_IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%rax)
	je	LBB0_23
## %bb.22:
	movq	_IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_23:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	testl	%r13d, %r13d
	je	LBB0_16
## %bb.14:
	movq	_IEEE80211_VHT_CAP_RXLDPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r12)
	jne	LBB0_15
	jmp	LBB0_16
LBB0_8:
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.9:
	movq	_IEEE80211_VHT_CAP_RXSTBC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 20(%r12)
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HE_PHY_CAP2_STBC_RX_UNDER_80MHZ,4,2 ## @IEEE80211_HE_PHY_CAP2_STBC_RX_UNDER_80MHZ
	.comm	_IWL_TLC_MNG_CFG_FLAGS_STBC_MSK,4,2 ## @IWL_TLC_MNG_CFG_FLAGS_STBC_MSK
	.comm	_IEEE80211_HE_PHY_CAP7_STBC_RX_ABOVE_80MHZ,4,2 ## @IEEE80211_HE_PHY_CAP7_STBC_RX_ABOVE_80MHZ
	.comm	_IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK,4,2 ## @IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK
	.comm	_IEEE80211_HT_CAP_RX_STBC,4,2   ## @IEEE80211_HT_CAP_RX_STBC
	.comm	_IEEE80211_VHT_CAP_RXSTBC_MASK,4,2 ## @IEEE80211_VHT_CAP_RXSTBC_MASK
	.comm	_IEEE80211_HT_CAP_LDPC_CODING,4,2 ## @IEEE80211_HT_CAP_LDPC_CODING
	.comm	_IEEE80211_VHT_CAP_RXLDPC,4,2   ## @IEEE80211_VHT_CAP_RXLDPC
	.comm	_IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK,4,2 ## @IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK
	.comm	_IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD,4,2 ## @IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD
	.comm	_IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK,4,2 ## @IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK
	.comm	_IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK,4,2 ## @IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK
	.no_dead_strip	_rs_fw_get_config_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_fw_get_config_flags
_rs_fw_get_config_flags:                ; @rs_fw_get_config_flags
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w22, [x1, #16]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x0, x21
	bl	_iwl_mvm_get_valid_tx_ant
	bl	_num_of_ant
	cmp	w0, #2
	b.lt	LBB0_9
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IEEE80211_HE_PHY_CAP2_STBC_RX_UNDER_80MHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_HE_PHY_CAP2_STBC_RX_UNDER_80MHZ@GOTPAGEOFF]
	ldr	w10, [x8, #8]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x11, _IWL_TLC_MNG_CFG_FLAGS_STBC_MSK@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IWL_TLC_MNG_CFG_FLAGS_STBC_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	tst	w9, w10
	csel	w0, wzr, w11, eq
	ldr	w8, [x8, #28]
Lloh6:
	adrp	x9, _IEEE80211_HE_PHY_CAP7_STBC_RX_ABOVE_80MHZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_HE_PHY_CAP7_STBC_RX_ABOVE_80MHZ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.4:
Lloh9:
	adrp	x8, _IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w0, w8, w0
	b	LBB0_10
LBB0_5:
	ldr	w8, [x19, #24]
Lloh12:
	adrp	x9, _IEEE80211_HT_CAP_RX_STBC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_HT_CAP_RX_STBC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
LBB0_6:
Lloh15:
	adrp	x8, _IWL_TLC_MNG_CFG_FLAGS_STBC_MSK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IWL_TLC_MNG_CFG_FLAGS_STBC_MSK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_7:
	cbz	w22, LBB0_9
; %bb.8:
	ldr	w8, [x19, #20]
Lloh18:
	adrp	x9, _IEEE80211_VHT_CAP_RXSTBC_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_RXSTBC_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	w8, [x19, #24]
Lloh21:
	adrp	x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IEEE80211_HT_CAP_LDPC_CODING@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
LBB0_12:
Lloh24:
	adrp	x8, _IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_13:
	ldr	x8, [x20]
	cbz	x8, LBB0_17
; %bb.14:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_17
; %bb.15:
	ldr	x8, [x8]
	ldr	w8, [x8, #4]
Lloh27:
	adrp	x9, _IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.16:
Lloh30:
	adrp	x8, _IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	bic	w0, w0, w8
LBB0_17:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_20
; %bb.18:
	ldr	x8, [x19]
	ldr	w8, [x8, #12]
Lloh33:
	adrp	x9, _IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
Lloh36:
	adrp	x8, _IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_20:
	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
	ret
LBB0_21:
	cbz	w22, LBB0_13
; %bb.22:
	ldr	w8, [x19, #20]
Lloh39:
	adrp	x9, _IEEE80211_VHT_CAP_RXLDPC@GOTPAGE
Lloh40:
	ldr	x9, [x9, _IEEE80211_VHT_CAP_RXLDPC@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HE_PHY_CAP2_STBC_RX_UNDER_80MHZ,4,2 ; @IEEE80211_HE_PHY_CAP2_STBC_RX_UNDER_80MHZ
	.comm	_IWL_TLC_MNG_CFG_FLAGS_STBC_MSK,4,2 ; @IWL_TLC_MNG_CFG_FLAGS_STBC_MSK
	.comm	_IEEE80211_HE_PHY_CAP7_STBC_RX_ABOVE_80MHZ,4,2 ; @IEEE80211_HE_PHY_CAP7_STBC_RX_ABOVE_80MHZ
	.comm	_IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK,4,2 ; @IWL_TLC_MNG_CFG_FLAGS_HE_STBC_160MHZ_MSK
	.comm	_IEEE80211_HT_CAP_RX_STBC,4,2   ; @IEEE80211_HT_CAP_RX_STBC
	.comm	_IEEE80211_VHT_CAP_RXSTBC_MASK,4,2 ; @IEEE80211_VHT_CAP_RXSTBC_MASK
	.comm	_IEEE80211_HT_CAP_LDPC_CODING,4,2 ; @IEEE80211_HT_CAP_LDPC_CODING
	.comm	_IEEE80211_VHT_CAP_RXLDPC,4,2   ; @IEEE80211_VHT_CAP_RXLDPC
	.comm	_IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK,4,2 ; @IWL_TLC_MNG_CFG_FLAGS_LDPC_MSK
	.comm	_IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD,4,2 ; @IEEE80211_HE_PHY_CAP1_LDPC_CODING_IN_PAYLOAD
	.comm	_IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK,4,2 ; @IEEE80211_HE_PHY_CAP3_DCM_MAX_CONST_RX_MASK
	.comm	_IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK,4,2 ; @IWL_TLC_MNG_CFG_FLAGS_HE_DCM_NSS_1_MSK
	.no_dead_strip	_rs_fw_get_config_flags
.subsections_via_symbols
