	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_usr_abort
_tcp_usr_abort:                         ## @tcp_usr_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_sotoinpcb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	leaq	L_.str(%rip), %rsi
	callq	_KASSERT
	callq	_NET_EPOCH_ENTER
	movq	%rbx, %rdi
	callq	_INP_WLOCK
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	movl	(%rbx), %eax
	movq	_INP_TIMEWAIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.1:
	movq	_INP_DROPPED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_intotcpcb
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_TCPDEBUG1
	movq	_ECONNABORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_tcp_drop
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	movq	_PRU_ABORT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_TCPDEBUG2
	movq	_debug__user@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	movq	%r15, %rsi
	callq	_TCP_PROBE2
	movl	(%rbx), %eax
LBB0_4:
	movq	_INP_DROPPED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_SOCK_LOCK
	movq	_SS_PROTOREF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_SOCK_UNLOCK
	movq	_INP_SOCKREF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_6:
	movq	%rbx, %rdi
	callq	_INP_WUNLOCK
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NET_EPOCH_EXIT                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPDEBUG0,4,2                  ## @TCPDEBUG0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tcp_usr_abort: inp == NULL"

L_.str.1:                               ## @.str.1
	.asciz	"tcp_usr_abort: inp_socket == NULL"

	.comm	_INP_TIMEWAIT,4,2               ## @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ## @INP_DROPPED
	.comm	_ECONNABORTED,4,2               ## @ECONNABORTED
	.comm	_PRU_ABORT,4,2                  ## @PRU_ABORT
	.comm	_debug__user,4,2                ## @debug__user
	.comm	_SS_PROTOREF,4,2                ## @SS_PROTOREF
	.comm	_INP_SOCKREF,4,2                ## @INP_SOCKREF
	.no_dead_strip	_tcp_usr_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_usr_abort
_tcp_usr_abort:                         ; @tcp_usr_abort
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	bl	_sotoinpcb
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_KASSERT
	mov	x0, #0
	bl	_NET_EPOCH_ENTER
	mov	x0, x19
	bl	_INP_WLOCK
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
	ldr	w8, [x19]
Lloh4:
	adrp	x9, _INP_TIMEWAIT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _INP_TIMEWAIT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x22, _INP_DROPPED@GOTPAGE
Lloh8:
	ldr	x22, [x22, _INP_DROPPED@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.1:
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_intotcpcb
	mov	x21, x0
	bl	_TCPDEBUG1
Lloh9:
	adrp	x8, _ECONNABORTED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECONNABORTED@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_tcp_drop
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
Lloh12:
	adrp	x23, _PRU_ABORT@GOTPAGE
Lloh13:
	ldr	x23, [x23, _PRU_ABORT@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_TCPDEBUG2
Lloh14:
	adrp	x8, _debug__user@GOTPAGE
Lloh15:
	ldr	x8, [x8, _debug__user@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w2, [x23]
	mov	x1, x21
	bl	_TCP_PROBE2
	ldr	w8, [x19]
LBB0_4:
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_SOCK_LOCK
Lloh17:
	adrp	x8, _SS_PROTOREF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SS_PROTOREF@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	bl	_SOCK_UNLOCK
Lloh20:
	adrp	x8, _INP_SOCKREF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _INP_SOCKREF@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	mov	x0, x19
	bl	_INP_WUNLOCK
LBB0_7:
	mov	x0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_NET_EPOCH_EXIT
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPDEBUG0,4,2                  ; @TCPDEBUG0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tcp_usr_abort: inp == NULL"

l_.str.1:                               ; @.str.1
	.asciz	"tcp_usr_abort: inp_socket == NULL"

	.comm	_INP_TIMEWAIT,4,2               ; @INP_TIMEWAIT
	.comm	_INP_DROPPED,4,2                ; @INP_DROPPED
	.comm	_ECONNABORTED,4,2               ; @ECONNABORTED
	.comm	_PRU_ABORT,4,2                  ; @PRU_ABORT
	.comm	_debug__user,4,2                ; @debug__user
	.comm	_SS_PROTOREF,4,2                ; @SS_PROTOREF
	.comm	_INP_SOCKREF,4,2                ; @INP_SOCKREF
	.no_dead_strip	_tcp_usr_abort
.subsections_via_symbols
