	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_reset
_tcp_reset:                             ## @tcp_reset
	.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	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_9
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.4:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	xorl	%eax, %eax
	callq	_smp_wmb
	movq	_SOCK_DEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_sock_flag
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	*8(%rbx)
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_tcp_done                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ECONNREFUSED,4,2               ## @ECONNREFUSED
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_SOCK_DEAD,4,2                  ## @SOCK_DEAD
	.no_dead_strip	_tcp_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_reset
_tcp_reset:                             ; @tcp_reset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #129
Lloh0:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh2:
	adrp	x9, _EPIPE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _EPIPE@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _ECONNREFUSED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ECONNREFUSED@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	bl	_smp_wmb
Lloh6:
	adrp	x8, _SOCK_DEAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCK_DEAD@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tcp_done
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ECONNREFUSED,4,2               ; @ECONNREFUSED
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_SOCK_DEAD,4,2                  ; @SOCK_DEAD
	.no_dead_strip	_tcp_reset
.subsections_via_symbols
