	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_mimo_allow
_rs_mimo_allow:                         ## @rs_mimo_allow
	.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
	xorl	%r15d, %r15d
	cmpl	$0, 8(%rsi)
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_IEEE80211_SMPS_STATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.2:
	movq	%rdi, %r14
	callq	_iwl_mvm_get_valid_tx_ant
	movl	%eax, %edi
	callq	_num_of_ant
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_iwl_mvm_bt_coex_is_mimo_allowed
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	xorl	%r15d, %r15d
	cmpq	$0, (%rax)
	sete	%r15b
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_SMPS_STATIC,8,3      ## @IEEE80211_SMPS_STATIC
	.no_dead_strip	_rs_mimo_allow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_mimo_allow
_rs_mimo_allow:                         ; @rs_mimo_allow
	.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
	ldr	w8, [x1, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _IEEE80211_SMPS_STATIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_SMPS_STATIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	mov	x19, x0
	bl	_iwl_mvm_get_valid_tx_ant
	bl	_num_of_ant
	cmp	w0, #2
	b.ge	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_bt_coex_is_mimo_allowed
	cbz	w0, LBB0_4
; %bb.6:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_SMPS_STATIC,8,3      ; @IEEE80211_SMPS_STATIC
	.no_dead_strip	_rs_mimo_allow
.subsections_via_symbols
