	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_tx_complete          ## -- Begin function ieee80211_tx_complete
	.p2align	4, 0x90
_ieee80211_tx_complete:                 ## @ieee80211_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
	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	%rsi, %r14
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movl	%edx, %r15d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r12
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movq	_IFCOUNTER_OERRORS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_IFCOUNTER_OBYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%r12, %rdi
	callq	_if_inc_counter
	movq	_IFCOUNTER_OPACKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_if_inc_counter
	movq	_M_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_6
## %bb.4:
	movq	_IFCOUNTER_OMCASTS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_if_inc_counter
LBB0_6:
	movq	_M_TXCB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_ieee80211_process_callback
LBB0_8:
	movq	%rbx, %rdi
	callq	_ieee80211_free_node
LBB0_9:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m_freem                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFCOUNTER_OBYTES,4,2           ## @IFCOUNTER_OBYTES
	.comm	_IFCOUNTER_OPACKETS,4,2         ## @IFCOUNTER_OPACKETS
	.comm	_M_MCAST,4,2                    ## @M_MCAST
	.comm	_IFCOUNTER_OMCASTS,4,2          ## @IFCOUNTER_OMCASTS
	.comm	_IFCOUNTER_OERRORS,4,2          ## @IFCOUNTER_OERRORS
	.comm	_M_TXCB,4,2                     ## @M_TXCB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_tx_complete          ; -- Begin function ieee80211_tx_complete
	.p2align	2
_ieee80211_tx_complete:                 ; @ieee80211_tx_complete
	.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, x1
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x2
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	cbz	w2, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IFCOUNTER_OERRORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFCOUNTER_OERRORS@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _IFCOUNTER_OBYTES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IFCOUNTER_OBYTES@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	mov	x0, x22
	bl	_if_inc_counter
Lloh5:
	adrp	x8, _IFCOUNTER_OPACKETS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IFCOUNTER_OPACKETS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #1
	bl	_if_inc_counter
	ldr	w8, [x19]
Lloh8:
	adrp	x9, _M_MCAST@GOTPAGE
Lloh9:
	ldr	x9, [x9, _M_MCAST@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _IFCOUNTER_OMCASTS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IFCOUNTER_OMCASTS@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #1
	bl	_if_inc_counter
LBB0_6:
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _M_TXCB@GOTPAGE
Lloh14:
	ldr	x9, [x9, _M_TXCB@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_ieee80211_process_callback
LBB0_8:
	mov	x0, x20
	bl	_ieee80211_free_node
LBB0_9:
	mov	x0, 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	_m_freem
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IFCOUNTER_OBYTES,4,2           ; @IFCOUNTER_OBYTES
	.comm	_IFCOUNTER_OPACKETS,4,2         ; @IFCOUNTER_OPACKETS
	.comm	_M_MCAST,4,2                    ; @M_MCAST
	.comm	_IFCOUNTER_OMCASTS,4,2          ; @IFCOUNTER_OMCASTS
	.comm	_IFCOUNTER_OERRORS,4,2          ; @IFCOUNTER_OERRORS
	.comm	_M_TXCB,4,2                     ; @M_TXCB
.subsections_via_symbols
