	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function peer_abort_upcall
_peer_abort_upcall:                     ## @peer_abort_upcall
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movslq	16(%rdi), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movq	_IW_CM_EVENT_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	%r14d, -24(%rbp)
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	16(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	8(%rbx), %rdi
	leaq	-24(%rbp), %rsi
	callq	*(%rdi)
	movq	%rbx, %rdi
	callq	_deref_cm_id
	movq	_ABORT_UPCALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ep %p tid %u\n"

	.comm	_IW_CM_EVENT_CLOSE,4,2          ## @IW_CM_EVENT_CLOSE
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
L_.str.1:                               ## @.str.1
	.asciz	"abort delivered ep %p cm_id %p tid %u\n"

	.comm	_ABORT_UPCALL,4,2               ## @ABORT_UPCALL
	.no_dead_strip	_peer_abort_upcall
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function peer_abort_upcall
_peer_abort_upcall:                     ; @peer_abort_upcall
	.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
	ldrsw	x2, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh2:
	adrp	x8, _IW_CM_EVENT_CLOSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IW_CM_EVENT_CLOSE@GOTPAGEOFF]
Lloh4:
	adrp	x9, _ECONNRESET@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ECONNRESET@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	ldr	w9, [x9]
	neg	w9, w9
	stp	w9, w8, [sp, #8]
	ldr	x2, [x19, #8]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_pr_debug
	ldr	x0, [x19, #8]
	ldr	x8, [x0]
	add	x1, sp, #8
	blr	x8
	mov	x0, x19
	bl	_deref_cm_id
Lloh10:
	adrp	x8, _ABORT_UPCALL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ABORT_UPCALL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
LBB0_2:
	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	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ep %p tid %u\n"

	.comm	_IW_CM_EVENT_CLOSE,4,2          ; @IW_CM_EVENT_CLOSE
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
l_.str.1:                               ; @.str.1
	.asciz	"abort delivered ep %p cm_id %p tid %u\n"

	.comm	_ABORT_UPCALL,4,2               ; @ABORT_UPCALL
	.no_dead_strip	_peer_abort_upcall
.subsections_via_symbols
