	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_newconn
_do_newconn:                            ## @do_newconn
	.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
	movl	$0, -12(%rbp)
	movq	(%rdi), %rax
	cmpq	$0, 16(%rax)
	jne	LBB0_17
## %bb.1:
	movq	%rdi, %rbx
	movq	_ERR_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%rax)
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_16
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	xorl	%eax, %eax
	callq	_udp_new
	movq	(%rbx), %rcx
	movq	%rax, 24(%rcx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	_UDP_FLAGS_NOCHKSUM@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
	callq	_udp_new
	movq	(%rbx), %rcx
	movq	%rax, 24(%rcx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	_UDP_FLAGS_UDPLITE@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_udp_setflags
	movq	(%rbx), %rdx
	movq	24(%rdx), %rdi
	movq	_recv_udp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_udp_recv
	jmp	LBB0_16
LBB0_10:
	xorl	%eax, %eax
	callq	_udp_new
	movq	(%rbx), %rdx
	movq	%rax, 24(%rdx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	_recv_udp@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_udp_recv
	jmp	LBB0_16
LBB0_13:
	xorl	%eax, %eax
	callq	_tcp_new
	movq	(%rbx), %rdi
	movq	%rax, 16(%rdi)
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	callq	_setuptcp
	jmp	LBB0_16
LBB0_3:
	movl	8(%rbx), %edi
	callq	_raw_new
	movq	(%rbx), %rdx
	movl	%eax, 32(%rdx)
	movq	_recv_raw@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_raw_recv
	jmp	LBB0_16
LBB0_5:
	movq	_ERR_MEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx)
	jmp	LBB0_16
LBB0_11:
	movq	_ERR_MEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdx)
	jmp	LBB0_16
LBB0_14:
	movq	_ERR_MEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rdi)
LBB0_16:
	movq	(%rbx), %rax
LBB0_17:
	movl	4(%rax), %edi
	movq	_MQ_MSG_BLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rsi
	callq	_MQ_Send
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_MQ_MSG_BLOCK,4,2               ## @MQ_MSG_BLOCK
	.comm	_ERR_OK,8,3                     ## @ERR_OK
	.comm	_recv_raw,4,2                   ## @recv_raw
	.comm	_ERR_MEM,8,3                    ## @ERR_MEM
	.comm	_UDP_FLAGS_UDPLITE,4,2          ## @UDP_FLAGS_UDPLITE
	.comm	_recv_udp,4,2                   ## @recv_udp
	.comm	_UDP_FLAGS_NOCHKSUM,4,2         ## @UDP_FLAGS_NOCHKSUM
	.no_dead_strip	_do_newconn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_newconn
_do_newconn:                            ; @do_newconn
	.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
	str	wzr, [sp, #12]
	ldr	x8, [x0]
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_17
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, _ERR_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERR_OK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [x8, #8]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_16
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	bl	_udp_new
	ldr	x8, [x19]
	str	x0, [x8, #24]
	cbz	x0, LBB0_13
; %bb.4:
Lloh5:
	adrp	x8, _UDP_FLAGS_NOCHKSUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UDP_FLAGS_NOCHKSUM@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	bl	_udp_new
	ldr	x8, [x19]
	str	x0, [x8, #24]
	cbz	x0, LBB0_13
; %bb.6:
Lloh7:
	adrp	x8, _UDP_FLAGS_UDPLITE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UDP_FLAGS_UDPLITE@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	bl	_udp_setflags
	ldr	x2, [x19]
	ldr	x0, [x2, #24]
	b	LBB0_9
LBB0_8:
	bl	_udp_new
	ldr	x2, [x19]
	str	x0, [x2, #24]
	cbz	x0, LBB0_14
LBB0_9:
Lloh9:
	adrp	x8, _recv_udp@GOTPAGE
Lloh10:
	ldr	x8, [x8, _recv_udp@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_udp_recv
	b	LBB0_16
LBB0_10:
	bl	_tcp_new
	mov	x8, x0
	ldr	x0, [x19]
	str	x8, [x0, #16]
	cbz	x8, LBB0_15
; %bb.11:
	bl	_setuptcp
	b	LBB0_16
LBB0_12:
	ldr	w0, [x19, #8]
	bl	_raw_new
	ldr	x2, [x19]
	str	w0, [x2, #32]
Lloh12:
	adrp	x8, _recv_raw@GOTPAGE
Lloh13:
	ldr	x8, [x8, _recv_raw@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_raw_recv
	b	LBB0_16
LBB0_13:
Lloh15:
	adrp	x9, _ERR_MEM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ERR_MEM@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	str	x9, [x8, #8]
	b	LBB0_16
LBB0_14:
Lloh18:
	adrp	x8, _ERR_MEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_MEM@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	str	x8, [x2, #8]
	b	LBB0_16
LBB0_15:
Lloh21:
	adrp	x8, _ERR_MEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERR_MEM@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	str	x8, [x0, #8]
LBB0_16:
	ldr	x8, [x19]
LBB0_17:
	ldr	w0, [x8, #4]
Lloh24:
	adrp	x8, _MQ_MSG_BLOCK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MQ_MSG_BLOCK@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	add	x1, sp, #12
	bl	_MQ_Send
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
                                        ; -- End function
	.comm	_MQ_MSG_BLOCK,4,2               ; @MQ_MSG_BLOCK
	.comm	_ERR_OK,8,3                     ; @ERR_OK
	.comm	_recv_raw,4,2                   ; @recv_raw
	.comm	_ERR_MEM,8,3                    ; @ERR_MEM
	.comm	_UDP_FLAGS_UDPLITE,4,2          ; @UDP_FLAGS_UDPLITE
	.comm	_recv_udp,4,2                   ; @recv_udp
	.comm	_UDP_FLAGS_NOCHKSUM,4,2         ; @UDP_FLAGS_NOCHKSUM
	.no_dead_strip	_do_newconn
.subsections_via_symbols
