	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_dynack_compute_to
_ath_dynack_compute_to:                 ## @ath_dynack_compute_to
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%rbx, %rdi
	callq	_ath_dynack_get_max_to
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %r14
	cmpq	40(%rbx), %r14
	jne	LBB0_1
LBB0_10:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
LBB0_1:
	leaq	8(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	32(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	_ATH_DYN_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INCR
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdi
	movq	_ATH_DYN_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INCR
	movq	32(%rbx), %r14
	cmpq	40(%rbx), %r14
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	cmpq	16(%rbx), %rax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rcx
	movq	48(%rbx), %rdx
	movq	(%rcx,%rax,8), %r13
	movq	56(%rbx), %r12
	shlq	$4, %r14
	movq	(%rdx,%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdx,%r14), %r15
	movq	%rbx, %rdi
	callq	_ath9k_hw_common
	movq	_DYNACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%r12,%r14), %r8
	movq	8(%r12,%r14), %r9
	movl	%eax, %edi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	pushq	32(%rbx)
	pushq	8(%rbx)
	callq	_ath_dbg
	addq	$16, %rsp
	movq	8(%r12,%r14), %rcx
	addq	(%r12,%r14), %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subq	%rcx, %r13
	jle	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	jge	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_ieee80211_find_sta_by_ifaddr
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %r14
	movl	(%r14), %edi
	movq	%r13, %rsi
	callq	_ath_dynack_ewma
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	_ath9k_hw_common
	movq	_DYNACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movslq	(%r14), %r8
	movl	%eax, %edi
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rcx
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_ath_dbg
	movq	64(%rbx), %rdi
	callq	_time_is_before_jiffies
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_ath_dynack_compute_ackto
	movq	_COMPUTE_TO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_jiffies@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 64(%rbx)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_DYNACK,4,2                     ## @DYNACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ack_ts %u st_ts %u st_dur %u [%u-%u]\n"

L_.str.1:                               ## @.str.1
	.asciz	"%pM to %d [%u]\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_COMPUTE_TO,8,3                 ## @COMPUTE_TO
	.comm	_ATH_DYN_BUF,4,2                ## @ATH_DYN_BUF
	.no_dead_strip	_ath_dynack_compute_to
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath_dynack_compute_to
_ath_dynack_compute_to:                 ; @ath_dynack_compute_to
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	bl	_rcu_read_lock
	mov	x0, x19
	bl	_ath_dynack_get_max_to
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x26, x19
	ldp	x8, x9, [x26, #32]!
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_rcu_read_unlock
LBB0_2:
	sub	x27, x26, #24
Lloh0:
	adrp	x28, _DYNACK@GOTPAGE
Lloh1:
	ldr	x28, [x28, _DYNACK@GOTPAGEOFF]
Lloh2:
	adrp	x22, _ATH_DYN_BUF@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ATH_DYN_BUF@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x27]
	ldr	w1, [x22]
	bl	_INCR
	mov	x8, x26
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x8]
	ldr	w1, [x22]
	bl	_INCR
	ldp	x8, x9, [x19, #32]
	cmp	x8, x9
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x10, [x19, #8]
	cmp	x9, x10
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19, #24]
	ldr	x24, [x10, x9, lsl #3]
	ldp	x9, x21, [x19, #48]
	lsl	x20, x8, #4
	add	x8, x9, x20
	ldp	x25, x23, [x8]
	mov	x0, x19
	bl	_ath9k_hw_common
	ldr	w1, [x28]
	add	x20, x21, x20
	ldp	x4, x5, [x20]
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #32]
	stp	x8, x9, [sp]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x24
	bl	_ath_dbg
	ldp	x8, x9, [x20]
	add	x8, x9, x8
	subs	x24, x24, x8
	mov	x8, x27
	b.le	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x26
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x24, x9
	b.ge	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19]
	mov	x1, x23
	mov	x2, x25
	bl	_ieee80211_find_sta_by_ifaddr
	cbz	x0, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x0]
	ldr	w0, [x20]
	mov	x1, x24
	bl	_ath_dynack_ewma
	str	w0, [x20]
	mov	x0, x19
	bl	_ath9k_hw_common
	ldr	w1, [x28]
	ldrsw	x4, [x20]
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x23
	mov	x5, x24
	bl	_ath_dbg
	ldr	x0, [x19, #64]
	bl	_time_is_before_jiffies
	cbz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_ath_dynack_compute_ackto
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _COMPUTE_TO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _COMPUTE_TO@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x8, x9, x8
	str	x8, [x19, #64]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DYNACK,4,2                     ; @DYNACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ack_ts %u st_ts %u st_dur %u [%u-%u]\n"

l_.str.1:                               ; @.str.1
	.asciz	"%pM to %d [%u]\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_COMPUTE_TO,8,3                 ; @COMPUTE_TO
	.comm	_ATH_DYN_BUF,4,2                ; @ATH_DYN_BUF
	.no_dead_strip	_ath_dynack_compute_to
.subsections_via_symbols
