	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rate_control_pid_tx_status
_rate_control_pid_tx_status:            ## @rate_control_pid_tx_status
	.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	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%r8, %rdi
	callq	_IEEE80211_SKB_CB
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.1:
	movq	8(%rax), %rdx
	movq	(%rdx), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_7
## %bb.2:
	movl	16(%rbx), %ecx
	leal	1(%rcx), %esi
	movl	%esi, 16(%rbx)
	movq	_IEEE80211_TX_STAT_ACK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.4:
	movl	$1, %eax
	cmpl	$2, 8(%rdx)
	jge	LBB0_5
	jmp	LBB0_6
LBB0_3:
	movl	$2, %eax
LBB0_5:
	addq	%rax, 24(%rbx)
	addl	$2, %ecx
	movl	%ecx, 16(%rbx)
LBB0_6:
	movl	(%r12), %edi
	callq	_msecs_to_jiffies
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	addq	8(%rbx), %rax
	movq	%rax, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rate_control_pid_sample        ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_STAT_ACK,4,2      ## @IEEE80211_TX_STAT_ACK
	.comm	_jiffies,4,2                    ## @jiffies
	.no_dead_strip	_rate_control_pid_tx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rate_control_pid_tx_status
_rate_control_pid_tx_status:            ; @rate_control_pid_tx_status
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	x0, x4
	bl	_IEEE80211_SKB_CB
	cbz	x19, LBB0_9
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x8, [x9]
	ldr	x10, [x19]
	cmp	x8, x10
	b.ne	LBB0_9
; %bb.2:
	ldr	w8, [x19, #16]
	add	w10, w8, #1
	str	w10, [x19, #16]
	ldr	w10, [x0]
Lloh0:
	adrp	x11, _IEEE80211_TX_STAT_ACK@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IEEE80211_TX_STAT_ACK@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_5
; %bb.3:
	ldr	w9, [x9, #8]
	cmp	w9, #2
	b.lt	LBB0_7
; %bb.4:
	mov	w9, #1
	b	LBB0_6
LBB0_5:
	mov	w9, #2
LBB0_6:
	ldr	x10, [x19, #24]
	add	x9, x10, x9
	str	x9, [x19, #24]
	add	w8, w8, #2
	str	w8, [x19, #16]
LBB0_7:
	ldr	w0, [x22]
	bl	_msecs_to_jiffies
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	add	x1, x9, x0
	mov	x0, x8
	bl	_time_after
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	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	_rate_control_pid_sample
LBB0_9:
	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	_IEEE80211_TX_STAT_ACK,4,2      ; @IEEE80211_TX_STAT_ACK
	.comm	_jiffies,4,2                    ; @jiffies
	.no_dead_strip	_rate_control_pid_tx_status
.subsections_via_symbols
