	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finish_peer_abort
_finish_peer_abort:                     ## @finish_peer_abort
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movl	16(%rsi), %esi
	movq	%rbx, %rdi
	callq	_complete_cached_srq_buffers
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	_C4IW_QP_STATE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movl	(%rsi), %edi
	movq	_C4IW_QP_ATTR_NEXT_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-16(%rbp), %rcx
	movl	$1, %r8d
	callq	_c4iw_modify_qp
LBB0_3:
	movq	%rbx, %rdi
	callq	_peer_abort_upcall
	movq	%rbx, %rdi
	callq	_release_ep_resources
	movq	%rbx, %rdi
	callq	_c4iw_put_ep
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C4IW_QP_STATE_ERROR,4,2        ## @C4IW_QP_STATE_ERROR
	.comm	_C4IW_QP_ATTR_NEXT_STATE,4,2    ## @C4IW_QP_ATTR_NEXT_STATE
	.no_dead_strip	_finish_peer_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finish_peer_abort
_finish_peer_abort:                     ; @finish_peer_abort
	.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, x1
	ldr	w1, [x1, #16]
	mov	x0, x19
	bl	_complete_cached_srq_buffers
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x1, [x19]
	cbz	x1, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _C4IW_QP_STATE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _C4IW_QP_STATE_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	w0, [x1]
Lloh3:
	adrp	x8, _C4IW_QP_ATTR_NEXT_STATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _C4IW_QP_ATTR_NEXT_STATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	w4, #1
	bl	_c4iw_modify_qp
LBB0_3:
	mov	x0, x19
	bl	_peer_abort_upcall
	mov	x0, x19
	bl	_release_ep_resources
	mov	x0, x19
	bl	_c4iw_put_ep
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_C4IW_QP_STATE_ERROR,4,2        ; @C4IW_QP_STATE_ERROR
	.comm	_C4IW_QP_ATTR_NEXT_STATE,4,2    ; @C4IW_QP_ATTR_NEXT_STATE
	.no_dead_strip	_finish_peer_abort
.subsections_via_symbols
