	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_tx_ev
_prism2_tx_ev:                          ## @prism2_tx_ev
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	$0, -48(%rbp)
	leaq	-88(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	xorl	%esi, %esi
	callq	_hostap_tx_compl_read
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	_PRISM2_DUMP_TX_HDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_DEBUG_EXTRA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	-64(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movl	-68(%rbp), %r13d
	movl	-76(%rbp), %edi
	movl	-72(%rbp), %r15d
	callq	_le16_to_cpu
	movl	%eax, %r14d
	movl	-80(%rbp), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	pushq	%rax
	pushq	%r14
	callq	_PDEBUG
	addq	$16, %rsp
LBB0_3:
	cmpq	$0, -88(%rbp)
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rcx
	leaq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_hostap_tx_callback
LBB0_5:
	movq	-48(%rbp), %rdi
	callq	_kfree
LBB0_6:
	movq	_HFA384X_EV_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HFA384X_EVACK_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HFA384X_OUTW
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRISM2_DUMP_TX_HDR,4,2         ## @PRISM2_DUMP_TX_HDR
	.comm	_DEBUG_EXTRA,4,2                ## @DEBUG_EXTRA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: TX - status=0x%04x retry_count=%d tx_rate=%d seq_ctrl=%d duration_id=%d\n"

	.comm	_HFA384X_EV_TX,4,2              ## @HFA384X_EV_TX
	.comm	_HFA384X_EVACK_OFF,4,2          ## @HFA384X_EVACK_OFF
	.no_dead_strip	_prism2_tx_ev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_tx_ev
_prism2_tx_ev:                          ; @prism2_tx_ev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x0
	ldr	x21, [x0, #8]
	str	xzr, [sp, #40]
	add	x2, sp, #8
	add	x3, sp, #40
	mov	w1, #0
	bl	_hostap_tx_compl_read
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _PRISM2_DUMP_TX_HDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PRISM2_DUMP_TX_HDR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _DEBUG_EXTRA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG_EXTRA@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	ldr	w21, [x21]
	ldr	w0, [sp, #32]
	bl	_le16_to_cpu
	mov	x22, x0
	ldp	w24, w23, [sp, #24]
	ldr	w0, [sp, #20]
	bl	_le16_to_cpu
	mov	x25, x0
	ldr	w0, [sp, #16]
	bl	_le16_to_cpu
	mov	x7, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	mov	x6, x25
	bl	_PDEBUG
LBB0_3:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x3, [sp, #40]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1
	bl	_hostap_tx_callback
LBB0_5:
	ldr	x0, [sp, #40]
	bl	_kfree
LBB0_6:
Lloh8:
	adrp	x8, _HFA384X_EV_TX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HFA384X_EV_TX@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _HFA384X_EVACK_OFF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HFA384X_EVACK_OFF@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_HFA384X_OUTW
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PRISM2_DUMP_TX_HDR,4,2         ; @PRISM2_DUMP_TX_HDR
	.comm	_DEBUG_EXTRA,4,2                ; @DEBUG_EXTRA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: TX - status=0x%04x retry_count=%d tx_rate=%d seq_ctrl=%d duration_id=%d\n"

	.comm	_HFA384X_EV_TX,4,2              ; @HFA384X_EV_TX
	.comm	_HFA384X_EVACK_OFF,4,2          ; @HFA384X_EVACK_OFF
	.no_dead_strip	_prism2_tx_ev
.subsections_via_symbols
