	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function err_tcp
_err_tcp:                               ## @err_tcp
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	$0, -20(%rbp)
	movq	_API_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	%esi, %rsi
	callq	_LWIP_DEBUGF
	testq	%r14, %r14
	je	LBB0_13
## %bb.1:
	movl	%ebx, 48(%r14)
	movq	$0, 40(%r14)
	movq	(%r14), %rdi
	movq	_SYS_MBOX_NULL@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rdi
	je	LBB0_5
## %bb.2:
	movq	32(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NETCONN_EVTRCVPLUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	*%rax
	movq	(%r14), %rdi
LBB0_4:
	movq	_MQ_MSG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rsi
	callq	_MQ_Send
	movq	(%rbx), %rdi
LBB0_5:
	movq	8(%r14), %rax
	cmpq	%rdi, %rax
	je	LBB0_7
## %bb.6:
	movq	_MQ_MSG_BLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-20(%rbp), %rsi
	movq	%rax, %rdi
	callq	_MQ_Send
	movq	(%rbx), %rdi
LBB0_7:
	movq	16(%r14), %rax
	cmpq	%rdi, %rax
	je	LBB0_11
## %bb.8:
	movq	32(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	_NETCONN_EVTRCVPLUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	*%rcx
	movq	16(%r14), %rax
LBB0_10:
	movq	_MQ_MSG_BLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-20(%rbp), %rsi
	movq	%rax, %rdi
	callq	_MQ_Send
LBB0_11:
	movq	24(%r14), %rdi
	movq	_SYS_SEM_NULL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_13
## %bb.12:
	callq	_LWP_SemPost
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_API_MSG_DEBUG,4,2              ## @API_MSG_DEBUG
	.comm	_SYS_MBOX_NULL,8,3              ## @SYS_MBOX_NULL
	.comm	_NETCONN_EVTRCVPLUS,4,2         ## @NETCONN_EVTRCVPLUS
	.comm	_MQ_MSG_BLOCK,4,2               ## @MQ_MSG_BLOCK
	.comm	_SYS_SEM_NULL,8,3               ## @SYS_SEM_NULL
	.no_dead_strip	_err_tcp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function err_tcp
_err_tcp:                               ; @err_tcp
	.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	x20, x1
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _API_MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _API_MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sxtw	x1, w20
	bl	_LWIP_DEBUGF
	cbz	x19, LBB0_13
; %bb.1:
	str	w20, [x19, #48]
	str	xzr, [x19, #40]
	ldr	x0, [x19]
Lloh3:
	adrp	x20, _SYS_MBOX_NULL@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SYS_MBOX_NULL@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x9, _NETCONN_EVTRCVPLUS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NETCONN_EVTRCVPLUS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	x0, [x19]
LBB0_4:
Lloh8:
	adrp	x8, _MQ_MSG_BLOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MQ_MSG_BLOCK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_MQ_Send
	ldr	x0, [x20]
LBB0_5:
	ldr	x8, [x19, #8]
	cmp	x8, x0
	b.eq	LBB0_7
; %bb.6:
Lloh11:
	adrp	x9, _MQ_MSG_BLOCK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MQ_MSG_BLOCK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x9]
	add	x1, sp, #12
	mov	x0, x8
	bl	_MQ_Send
	ldr	x0, [x20]
LBB0_7:
	ldr	x8, [x19, #16]
	cmp	x8, x0
	b.eq	LBB0_11
; %bb.8:
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_10
; %bb.9:
Lloh14:
	adrp	x8, _NETCONN_EVTRCVPLUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NETCONN_EVTRCVPLUS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	blr	x9
	ldr	x8, [x19, #16]
LBB0_10:
Lloh17:
	adrp	x9, _MQ_MSG_BLOCK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MQ_MSG_BLOCK@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x9]
	add	x1, sp, #12
	mov	x0, x8
	bl	_MQ_Send
LBB0_11:
	ldr	x0, [x19, #24]
Lloh20:
	adrp	x8, _SYS_SEM_NULL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SYS_SEM_NULL@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
	bl	_LWP_SemPost
LBB0_13:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_API_MSG_DEBUG,4,2              ; @API_MSG_DEBUG
	.comm	_SYS_MBOX_NULL,8,3              ; @SYS_MBOX_NULL
	.comm	_NETCONN_EVTRCVPLUS,4,2         ; @NETCONN_EVTRCVPLUS
	.comm	_MQ_MSG_BLOCK,4,2               ; @MQ_MSG_BLOCK
	.comm	_SYS_SEM_NULL,8,3               ; @SYS_SEM_NULL
	.no_dead_strip	_err_tcp
.subsections_via_symbols
