	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_uapsd_agg_disconnect
_iwl_mvm_uapsd_agg_disconnect:          ## @iwl_mvm_uapsd_agg_disconnect
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	cmpl	$0, 8(%rbx)
	je	LBB0_7
## %bb.2:
	movq	16(%r15), %rax
	movq	_IEEE80211_AC_VO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB0_6
## %bb.3:
	movq	_IEEE80211_AC_VI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB0_6
## %bb.4:
	movq	_IEEE80211_AC_BE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB0_6
## %bb.5:
	movq	_IEEE80211_AC_BK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_7
LBB0_6:
	movq	(%r14), %rax
	movq	(%r15), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_8
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$1, (%rax,%rcx,4)
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_INFO
	addq	$8, %r15
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rax,%rax,2), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_IEEE80211_AC_VO,8,3            ## @IEEE80211_AC_VO
	.comm	_IEEE80211_AC_VI,8,3            ## @IEEE80211_AC_VI
	.comm	_IEEE80211_AC_BE,8,3            ## @IEEE80211_AC_BE
	.comm	_IEEE80211_AC_BK,8,3            ## @IEEE80211_AC_BK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"detected AP should do aggregation but isn't, likely due to U-APSD\n"

	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_iwl_mvm_uapsd_agg_disconnect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_uapsd_agg_disconnect
_iwl_mvm_uapsd_agg_disconnect:          ; @iwl_mvm_uapsd_agg_disconnect
	.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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _IEEE80211_AC_VO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_AC_VO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbnz	w9, LBB0_6
; %bb.3:
Lloh6:
	adrp	x9, _IEEE80211_AC_VI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_AC_VI@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbnz	w9, LBB0_6
; %bb.4:
Lloh9:
	adrp	x9, _IEEE80211_AC_BE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_AC_BE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbnz	w9, LBB0_6
; %bb.5:
Lloh12:
	adrp	x9, _IEEE80211_AC_BK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_AC_BK@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_7
LBB0_6:
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	w10, [x8, x9, lsl #2]
	cbz	w10, LBB0_8
LBB0_7:
	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_8:
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_IWL_INFO
Lloh17:
	adrp	x8, _HZ@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
	add	x0, x19, #8
Lloh19:
	ldr	w8, [x8]
	lsl	w9, w8, #4
	sub	w1, w9, w8
	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
	b	_schedule_delayed_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_IEEE80211_AC_VO,8,3            ; @IEEE80211_AC_VO
	.comm	_IEEE80211_AC_VI,8,3            ; @IEEE80211_AC_VI
	.comm	_IEEE80211_AC_BE,8,3            ; @IEEE80211_AC_BE
	.comm	_IEEE80211_AC_BK,8,3            ; @IEEE80211_AC_BK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"detected AP should do aggregation but isn't, likely due to U-APSD\n"

	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_iwl_mvm_uapsd_agg_disconnect
.subsections_via_symbols
