	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw4_ack
_fw4_ack:                               ## @fw4_ack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_cplhdr
	movq	(%rax), %r14
	movq	%rax, %rdi
	callq	_GET_TID
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_get_ep_from_tid
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movl	24(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_pr_debug
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movl	28(%rbx), %edi
	callq	_dst_confirm
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.4:
	movl	24(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_state_read
	movslq	%eax, %rcx
	xorl	%r8d, %r8d
	cmpq	$0, 16(%rbx)
	setne	%r8b
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	8(%rbx), %rdi
	callq	_kfree_skb
	movq	$0, 8(%rbx)
	movq	_STOP_MPA_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$4, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_stop_ep_timer
LBB0_6:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	jmp	LBB0_7
LBB0_2:
	movl	24(%rbx), %r14d
	movq	%rbx, %rdi
	callq	_state_read
	movslq	%eax, %rcx
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_7:
	movq	%rbx, %rdi
	callq	_c4iw_put_ep
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p tid %u credits %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"0 credit ack ep %p tid %u state %u\n"

L_.str.2:                               ## @.str.2
	.asciz	"last streaming msg ack ep %p tid %u state %u initiator %u freeing skb\n"

	.comm	_STOP_MPA_TIMER,4,2             ## @STOP_MPA_TIMER
	.no_dead_strip	_fw4_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw4_ack
_fw4_ack:                               ; @fw4_ack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_cplhdr
	ldr	x20, [x0]
	bl	_GET_TID
	mov	x1, x0
	mov	x0, x19
	bl	_get_ep_from_tid
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w2, [x0, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x20
	bl	_pr_debug
	cbz	x20, LBB0_6
; %bb.2:
	ldr	w0, [x19, #28]
	bl	_dst_confirm
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	w20, [x19, #24]
	mov	x0, x19
	bl	_state_read
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w8, ne
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_pr_debug
	mov	x0, x19
	bl	_mutex_lock
	ldr	x0, [x19, #8]
	bl	_kfree_skb
	str	xzr, [x19, #8]
Lloh4:
	adrp	x8, _STOP_MPA_TIMER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STOP_MPA_TIMER@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_stop_ep_timer
LBB0_5:
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_7
LBB0_6:
	ldr	w20, [x19, #24]
	mov	x0, x19
	bl	_state_read
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x3, w0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	bl	_pr_debug
LBB0_7:
	mov	x0, x19
	bl	_c4iw_put_ep
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u credits %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"0 credit ack ep %p tid %u state %u\n"

l_.str.2:                               ; @.str.2
	.asciz	"last streaming msg ack ep %p tid %u state %u initiator %u freeing skb\n"

	.comm	_STOP_MPA_TIMER,4,2             ; @STOP_MPA_TIMER
	.no_dead_strip	_fw4_ack
.subsections_via_symbols
