	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amrr_tx_complete
_amrr_tx_complete:                      ## @amrr_tx_complete
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_IEEE80211_RATECTL_STATUS_LONG_RETRY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rsi)
	je	LBB0_2
## %bb.3:
	movl	4(%rsi), %ecx
	jmp	LBB0_4
LBB0_2:
	xorl	%ecx, %ecx
LBB0_4:
	incl	8(%rax)
	movq	8(%rsi), %rdx
	movq	_IEEE80211_RATECTL_TX_SUCCESS@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_6
## %bb.5:
	incl	4(%rax)
LBB0_6:
	addl	%ecx, (%rax)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RATECTL_STATUS_LONG_RETRY,4,2 ## @IEEE80211_RATECTL_STATUS_LONG_RETRY
	.comm	_IEEE80211_RATECTL_TX_SUCCESS,8,3 ## @IEEE80211_RATECTL_TX_SUCCESS
	.no_dead_strip	_amrr_tx_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amrr_tx_complete
_amrr_tx_complete:                      ; @amrr_tx_complete
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	w9, [x1]
Lloh0:
	adrp	x10, _IEEE80211_RATECTL_STATUS_LONG_RETRY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IEEE80211_RATECTL_STATUS_LONG_RETRY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x1, #4]
	b	LBB0_4
LBB0_3:
	mov	w9, #0
LBB0_4:
	ldr	w10, [x8, #8]
	add	w10, w10, #1
	str	w10, [x8, #8]
	ldr	x10, [x1, #8]
Lloh3:
	adrp	x11, _IEEE80211_RATECTL_TX_SUCCESS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _IEEE80211_RATECTL_TX_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.5:
	ldr	w10, [x8, #4]
	add	w10, w10, #1
	str	w10, [x8, #4]
LBB0_6:
	ldr	w10, [x8]
	add	w9, w10, w9
	str	w9, [x8]
LBB0_7:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RATECTL_STATUS_LONG_RETRY,4,2 ; @IEEE80211_RATECTL_STATUS_LONG_RETRY
	.comm	_IEEE80211_RATECTL_TX_SUCCESS,8,3 ; @IEEE80211_RATECTL_TX_SUCCESS
	.no_dead_strip	_amrr_tx_complete
.subsections_via_symbols
