	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_bt_coex_is_mimo_allowed ## -- Begin function iwl_mvm_bt_coex_is_mimo_allowed
	.p2align	4, 0x90
_iwl_mvm_bt_coex_is_mimo_allowed:       ## @iwl_mvm_bt_coex_is_mimo_allowed
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	%rax, %r14
	movl	(%rax), %edi
	callq	_iwl_mvm_vif_from_mac80211
	movq	(%rax), %rax
	movl	(%r15), %ebx
	movl	(%rax), %edi
	callq	_BIT
	movl	$1, %r12d
	testl	%ebx, %eax
	jne	LBB0_3
## %bb.1:
	movl	4(%r15), %edi
	callq	_le32_to_cpu
	movq	_BT_HIGH_TRAFFIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.2:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_iwl_get_coex_type
	movq	_BT_COEX_LOOSE_LUT@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpl	(%rcx), %eax
	setne	%r12b
LBB0_3:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_HIGH_TRAFFIC,8,3            ## @BT_HIGH_TRAFFIC
	.comm	_BT_COEX_LOOSE_LUT,4,2          ## @BT_COEX_LOOSE_LUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_bt_coex_is_mimo_allowed ; -- Begin function iwl_mvm_bt_coex_is_mimo_allowed
	.p2align	2
_iwl_mvm_bt_coex_is_mimo_allowed:       ; @iwl_mvm_bt_coex_is_mimo_allowed
	.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
	mov	x0, x1
	bl	_iwl_mvm_sta_from_mac80211
	mov	x20, x0
	ldr	w0, [x0]
	bl	_iwl_mvm_vif_from_mac80211
	ldr	x8, [x0]
	ldr	w21, [x19]
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w21
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_le32_to_cpu
Lloh0:
	adrp	x8, _BT_HIGH_TRAFFIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_HIGH_TRAFFIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_iwl_get_coex_type
Lloh3:
	adrp	x8, _BT_COEX_LOOSE_LUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BT_COEX_LOOSE_LUT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, ne
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_HIGH_TRAFFIC,8,3            ; @BT_HIGH_TRAFFIC
	.comm	_BT_COEX_LOOSE_LUT,4,2          ; @BT_COEX_LOOSE_LUT
.subsections_via_symbols
