	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function net_thread
_net_thread:                            ## @net_thread
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_etharp_init
	xorl	%eax, %eax
	callq	_ip_init
	xorl	%eax, %eax
	callq	_udp_init
	xorl	%eax, %eax
	callq	_tcp_init
	movq	_ARP_TMR_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TB_MSPERSEC@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	___lwp_wd_calc_ticks
	movq	_net_arp_ticks@GOTPCREL(%rip), %r12
	movq	%rax, (%r12)
	movq	___arp_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ARP_TIMER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_arp_time_cntrl@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	___lwp_wd_initialize
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	___lwp_wd_insert_ticks
	movl	$0, -56(%rbp)
	movq	_TCP_TMR_INTERVAL@GOTPCREL(%rip), %rax
	movq	_TB_NSPERMS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	movl	%ecx, -52(%rbp)
	movq	%r14, %rdi
	callq	___lwp_wd_calc_ticks
	movq	_net_tcp_ticks@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	___tcp_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TCP_TIMER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_tcp_timer_cntrl@GOTPCREL(%rip), %rdi
	xorl	%ecx, %ecx
	callq	___lwp_wd_initialize
	movl	%r15d, %edi
	callq	_LWP_SemPost
	movq	_TCPIP_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%r15, %rsi
	callq	_LWIP_DEBUGF
	leaq	-48(%rbp), %r15
	movq	_netthread_mbox@GOTPCREL(%rip), %r12
	movq	_MQ_MSG_BLOCK@GOTPCREL(%rip), %r13
	movq	_MEMP_TCPIP_MSG@GOTPCREL(%rip), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	callq	_LWIP_DEBUGF
	movq	-48(%rbp), %rax
	movl	8(%rax), %edi
	callq	*16(%rax)
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	movq	-48(%rbp), %rsi
	callq	_memp_free
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	(%r13), %edx
	movl	%r15d, %esi
	callq	_MQ_Receive
	movq	-48(%rbp), %rsi
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$129, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$130, %eax
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	callq	_LWIP_DEBUGF
	movq	-48(%rbp), %rax
	movl	32(%rax), %edi
	callq	_apimsg_input
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %edi
	callq	_LWIP_DEBUGF
	movq	-48(%rbp), %rax
	movl	24(%rax), %esi
	movl	28(%rax), %edi
	callq	_bba_process
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_ARP_TMR_INTERVAL,4,2           ## @ARP_TMR_INTERVAL
	.comm	_TB_MSPERSEC,4,2                ## @TB_MSPERSEC
	.comm	_net_arp_ticks,8,3              ## @net_arp_ticks
	.comm	_arp_time_cntrl,4,2             ## @arp_time_cntrl
	.comm	___arp_timer,4,2                ## @__arp_timer
	.comm	_ARP_TIMER_ID,4,2               ## @ARP_TIMER_ID
	.comm	_TCP_TMR_INTERVAL,4,2           ## @TCP_TMR_INTERVAL
	.comm	_TB_NSPERMS,4,2                 ## @TB_NSPERMS
	.comm	_net_tcp_ticks,8,3              ## @net_tcp_ticks
	.comm	_tcp_timer_cntrl,4,2            ## @tcp_timer_cntrl
	.comm	___tcp_timer,4,2                ## @__tcp_timer
	.comm	_TCP_TIMER_ID,4,2               ## @TCP_TIMER_ID
	.comm	_TCPIP_DEBUG,4,2                ## @TCPIP_DEBUG
	.comm	_netthread_mbox,4,2             ## @netthread_mbox
	.comm	_MQ_MSG_BLOCK,4,2               ## @MQ_MSG_BLOCK
	.comm	_MEMP_TCPIP_MSG,4,2             ## @MEMP_TCPIP_MSG
	.no_dead_strip	_net_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function net_thread
_net_thread:                            ; @net_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_etharp_init
	bl	_ip_init
	bl	_udp_init
	bl	_tcp_init
Lloh0:
	adrp	x8, _ARP_TMR_INTERVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ARP_TMR_INTERVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TB_MSPERSEC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TB_MSPERSEC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	stp	w8, wzr, [sp]
	mov	x0, sp
	bl	___lwp_wd_calc_ticks
Lloh6:
	adrp	x21, _net_arp_ticks@GOTPAGE
Lloh7:
	ldr	x21, [x21, _net_arp_ticks@GOTPAGEOFF]
	str	x0, [x21]
Lloh8:
	adrp	x8, ___arp_timer@GOTPAGE
Lloh9:
	ldr	x8, [x8, ___arp_timer@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _ARP_TIMER_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARP_TIMER_ID@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x20, _arp_time_cntrl@GOTPAGE
Lloh15:
	ldr	x20, [x20, _arp_time_cntrl@GOTPAGEOFF]
	mov	x0, x20
	mov	x3, #0
	bl	___lwp_wd_initialize
	ldr	x1, [x21]
	mov	x0, x20
	bl	___lwp_wd_insert_ticks
Lloh16:
	adrp	x8, _TCP_TMR_INTERVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TCP_TMR_INTERVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _TB_NSPERMS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TB_NSPERMS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	mul	w8, w9, w8
	stp	wzr, w8, [sp]
	mov	x0, sp
	bl	___lwp_wd_calc_ticks
Lloh22:
	adrp	x8, _net_tcp_ticks@GOTPAGE
Lloh23:
	ldr	x8, [x8, _net_tcp_ticks@GOTPAGEOFF]
Lloh24:
	str	x0, [x8]
Lloh25:
	adrp	x8, ___tcp_timer@GOTPAGE
Lloh26:
	ldr	x8, [x8, ___tcp_timer@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _TCP_TIMER_ID@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TCP_TIMER_ID@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
Lloh31:
	adrp	x0, _tcp_timer_cntrl@GOTPAGE
Lloh32:
	ldr	x0, [x0, _tcp_timer_cntrl@GOTPAGEOFF]
	mov	x3, #0
	bl	___lwp_wd_initialize
	mov	x0, x19
	bl	_LWP_SemPost
Lloh33:
	adrp	x20, _TCPIP_DEBUG@GOTPAGE
Lloh34:
	ldr	x20, [x20, _TCPIP_DEBUG@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_LWIP_DEBUGF
Lloh35:
	adrp	x19, _netthread_mbox@GOTPAGE
Lloh36:
	ldr	x19, [x19, _netthread_mbox@GOTPAGEOFF]
Lloh37:
	adrp	x21, _MQ_MSG_BLOCK@GOTPAGE
Lloh38:
	ldr	x21, [x21, _MQ_MSG_BLOCK@GOTPAGEOFF]
Lloh39:
	adrp	x22, _MEMP_TCPIP_MSG@GOTPAGE
Lloh40:
	ldr	x22, [x22, _MEMP_TCPIP_MSG@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20]
	bl	_LWIP_DEBUGF
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #16]
	ldr	w0, [x8, #8]
	blr	x9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x22]
	ldr	x1, [sp, #8]
	bl	_memp_free
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	w2, [x21]
	add	x1, sp, #8
	bl	_MQ_Receive
	ldr	x1, [sp, #8]
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #129
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #130
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20]
	bl	_LWIP_DEBUGF
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #32]
	bl	_apimsg_input
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20]
	bl	_LWIP_DEBUGF
	ldr	x8, [sp, #8]
	ldp	w1, w0, [x8, #24]
	bl	_bba_process
	b	LBB0_2
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ARP_TMR_INTERVAL,4,2           ; @ARP_TMR_INTERVAL
	.comm	_TB_MSPERSEC,4,2                ; @TB_MSPERSEC
	.comm	_net_arp_ticks,8,3              ; @net_arp_ticks
	.comm	_arp_time_cntrl,4,2             ; @arp_time_cntrl
	.comm	___arp_timer,4,2                ; @__arp_timer
	.comm	_ARP_TIMER_ID,4,2               ; @ARP_TIMER_ID
	.comm	_TCP_TMR_INTERVAL,4,2           ; @TCP_TMR_INTERVAL
	.comm	_TB_NSPERMS,4,2                 ; @TB_NSPERMS
	.comm	_net_tcp_ticks,8,3              ; @net_tcp_ticks
	.comm	_tcp_timer_cntrl,4,2            ; @tcp_timer_cntrl
	.comm	___tcp_timer,4,2                ; @__tcp_timer
	.comm	_TCP_TIMER_ID,4,2               ; @TCP_TIMER_ID
	.comm	_TCPIP_DEBUG,4,2                ; @TCPIP_DEBUG
	.comm	_netthread_mbox,4,2             ; @netthread_mbox
	.comm	_MQ_MSG_BLOCK,4,2               ; @MQ_MSG_BLOCK
	.comm	_MEMP_TCPIP_MSG,4,2             ; @MEMP_TCPIP_MSG
	.no_dead_strip	_net_thread
.subsections_via_symbols
