	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aggr_timeout
_aggr_timeout:                          ## @aggr_timeout
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r15
	movq	_NUM_OF_TIDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%r13d, %r13d
	movq	_ATH6KL_DBG_AGGR@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	addq	$32, %r13
	cmpq	%rax, %rbx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rcx
	cmpq	$0, 24(%rcx,%r13)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%rcx,%r13)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %rax
	incl	(%rax,%rbx,4)
	movl	(%r12), %edi
	movl	4(%rcx,%r13), %edx
	movl	8(%rcx,%r13), %eax
	leal	(%rdx,%rax), %ecx
	decl	%ecx
	movq	_ATH6KL_MAX_SEQ_NO@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ath6kl_dbg
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_aggr_deque_frms
	movq	_NUM_OF_TIDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_6
LBB0_7:
	movl	$0, (%r15)
	testq	%rax, %rax
	je	LBB0_22
## %bb.8:
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	movq	_NUM_OF_TIDS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jae	LBB0_21
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	8(%r15), %r13
	movq	%r12, %rbx
	shlq	$5, %rbx
	cmpq	$0, 24(%r13,%rbx)
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, 16(%r13,%rbx)
	je	LBB0_20
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	(%rbx,%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13), %rdi
	addq	$12, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movslq	8(%r13,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	leaq	(%rbx,%r13), %rcx
	addq	$16, %rcx
	movq	(%rcx), %rcx
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rcx,%r14,8)
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	incq	%r14
	cmpq	%r14, %rax
	jne	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %r14
	jmp	LBB0_18
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, (%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	%r13, %rbx
	addq	$8, %rbx
	callq	_spin_unlock_bh
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jb	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	jmp	LBB0_20
LBB0_1:
	movl	$0, (%r15)
	jmp	LBB0_22
LBB0_21:
	cmpl	$0, (%r15)
	je	LBB0_22
## %bb.23:
	addq	$4, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_AGGR_RX_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.comm	_NUM_OF_TIDS,8,3                ## @NUM_OF_TIDS
	.comm	_ATH6KL_DBG_AGGR,4,2            ## @ATH6KL_DBG_AGGR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aggr timeout (st %d end %d)\n"

	.comm	_ATH6KL_MAX_SEQ_NO,4,2          ## @ATH6KL_MAX_SEQ_NO
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_AGGR_RX_TIMEOUT,4,2            ## @AGGR_RX_TIMEOUT
	.comm	_aggr_conn,8,3                  ## @aggr_conn
	.no_dead_strip	_aggr_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aggr_timeout
_aggr_timeout:                          ; @aggr_timeout
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
Lloh3:
	adrp	x22, _NUM_OF_TIDS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NUM_OF_TIDS@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_20
; %bb.1:
	mov	x23, #0
	mov	x20, #0
Lloh5:
	adrp	x24, _ATH6KL_DBG_AGGR@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ATH6KL_DBG_AGGR@GOTPAGEOFF]
Lloh7:
	adrp	x25, _ATH6KL_MAX_SEQ_NO@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ATH6KL_MAX_SEQ_NO@GOTPAGEOFF]
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	add	x23, x23, #32
	cmp	x20, x8
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x10, x9, x23
	ldr	x10, [x10, #24]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x9, x23]
	cbz	w10, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	lsl	x10, x20, #2
	ldr	w11, [x8, x10]
	add	w11, w11, #1
	str	w11, [x8, x10]
	ldr	w0, [x24]
	add	x8, x9, x23
	ldp	w2, w8, [x8, #4]
	add	w8, w2, w8
	sub	w8, w8, #1
	ldr	w9, [x25]
	and	w3, w8, w9
	mov	x1, x21
	bl	_ath6kl_dbg
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_aggr_deque_frms
	ldr	x8, [x22]
	b	LBB0_2
LBB0_6:
	str	wzr, [x19]
	cbz	x8, LBB0_23
; %bb.7:
	mov	x21, #0
	mov	w23, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	ldr	x8, [x22]
	cmp	x21, x8
	b.hs	LBB0_21
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x8, [x19, #8]
	add	x24, x8, x21, lsl #5
	ldr	x9, [x24, #24]
	cbz	x9, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x27, x24
	ldr	x9, [x27, #16]!
	cbz	x9, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x25, x8, x21, lsl #5
	add	x20, x25, #12
	mov	x0, x20
	bl	_spin_lock_bh
	ldrsw	x8, [x25, #8]!
	cbz	w8, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x26, #0
	ldr	x9, [x27]
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x9, x26, lsl #3]
	cbnz	x10, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x26, x26, #1
	cmp	x8, x26
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x26, x8
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x26, #0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	str	w23, [x19]
	str	w23, [x24]
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_spin_unlock_bh
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.lo	LBB0_8
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	str	wzr, [x24]
	b	LBB0_8
LBB0_20:
	str	wzr, [x19]
	b	LBB0_23
LBB0_21:
	ldr	w8, [x19]
	cbz	w8, LBB0_23
; %bb.22:
	add	x19, x19, #4
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	ldr	x20, [x8]
Lloh14:
	adrp	x8, _AGGR_RX_TIMEOUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AGGR_RX_TIMEOUT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x20
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_mod_timer
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.comm	_NUM_OF_TIDS,8,3                ; @NUM_OF_TIDS
	.comm	_ATH6KL_DBG_AGGR,4,2            ; @ATH6KL_DBG_AGGR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aggr timeout (st %d end %d)\n"

	.comm	_ATH6KL_MAX_SEQ_NO,4,2          ; @ATH6KL_MAX_SEQ_NO
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_AGGR_RX_TIMEOUT,4,2            ; @AGGR_RX_TIMEOUT
	.comm	_aggr_conn,8,3                  ; @aggr_conn
	.no_dead_strip	_aggr_timeout
.subsections_via_symbols
