	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_coex_agg_time_limit    ## -- Begin function iwl_mvm_coex_agg_time_limit
	.p2align	4, 0x90
_iwl_mvm_coex_agg_time_limit:           ## @iwl_mvm_coex_agg_time_limit
	.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
	movq	_LINK_QUAL_AGG_TIME_LIMIT_DEF@GOTPCREL(%rip), %r12
	testl	%ebx, %eax
	jne	LBB0_5
## %bb.1:
	movl	4(%r15), %edi
	callq	_le32_to_cpu
	movq	_BT_HIGH_TRAFFIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_5
## %bb.2:
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_iwl_get_coex_type
	movq	_BT_COEX_LOOSE_LUT@GOTPCREL(%rip), %rcx
	movq	_BT_COEX_INVALID_LUT@GOTPCREL(%rip), %rsi
	movq	_LINK_QUAL_AGG_TIME_LIMIT_DEF@GOTPCREL(%rip), %rdx
	movq	%rdx, %r12
	cmpl	(%rsi), %eax
	je	LBB0_4
## %bb.3:
	movq	_LINK_QUAL_AGG_TIME_LIMIT_BT_ACT@GOTPCREL(%rip), %r12
LBB0_4:
	cmpl	(%rcx), %eax
	cmoveq	%rdx, %r12
LBB0_5:
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LINK_QUAL_AGG_TIME_LIMIT_DEF,4,2 ## @LINK_QUAL_AGG_TIME_LIMIT_DEF
	.comm	_BT_HIGH_TRAFFIC,8,3            ## @BT_HIGH_TRAFFIC
	.comm	_BT_COEX_LOOSE_LUT,4,2          ## @BT_COEX_LOOSE_LUT
	.comm	_BT_COEX_INVALID_LUT,4,2        ## @BT_COEX_INVALID_LUT
	.comm	_LINK_QUAL_AGG_TIME_LIMIT_BT_ACT,4,2 ## @LINK_QUAL_AGG_TIME_LIMIT_BT_ACT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_coex_agg_time_limit    ; -- Begin function iwl_mvm_coex_agg_time_limit
	.p2align	2
_iwl_mvm_coex_agg_time_limit:           ; @iwl_mvm_coex_agg_time_limit
	.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.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x21, _LINK_QUAL_AGG_TIME_LIMIT_DEF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LINK_QUAL_AGG_TIME_LIMIT_DEF@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	w0, [x19, #4]
	bl	_le32_to_cpu
Lloh2:
	adrp	x8, _BT_HIGH_TRAFFIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BT_HIGH_TRAFFIC@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x21, _LINK_QUAL_AGG_TIME_LIMIT_DEF@GOTPAGE
Lloh6:
	ldr	x21, [x21, _LINK_QUAL_AGG_TIME_LIMIT_DEF@GOTPAGEOFF]
	cmp	x0, x8
	b.lt	LBB0_4
; %bb.3:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_iwl_get_coex_type
Lloh7:
	adrp	x8, _BT_COEX_LOOSE_LUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BT_COEX_LOOSE_LUT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _BT_COEX_INVALID_LUT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BT_COEX_INVALID_LUT@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w0, w9
	ccmp	w0, w8, #4, ne
Lloh13:
	adrp	x8, _LINK_QUAL_AGG_TIME_LIMIT_BT_ACT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LINK_QUAL_AGG_TIME_LIMIT_BT_ACT@GOTPAGEOFF]
	csel	x21, x21, x8, eq
LBB0_4:
	ldr	w0, [x21]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LINK_QUAL_AGG_TIME_LIMIT_DEF,4,2 ; @LINK_QUAL_AGG_TIME_LIMIT_DEF
	.comm	_BT_HIGH_TRAFFIC,8,3            ; @BT_HIGH_TRAFFIC
	.comm	_BT_COEX_LOOSE_LUT,4,2          ; @BT_COEX_LOOSE_LUT
	.comm	_BT_COEX_INVALID_LUT,4,2        ; @BT_COEX_INVALID_LUT
	.comm	_LINK_QUAL_AGG_TIME_LIMIT_BT_ACT,4,2 ; @LINK_QUAL_AGG_TIME_LIMIT_BT_ACT
.subsections_via_symbols
