	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proto_remote                   ## -- Begin function proto_remote
	.p2align	4, 0x90
_proto_remote:                          ## @proto_remote
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	setns	%al
	movq	_PROTO_N@GOTPCREL(%rip), %rcx
	cmpl	%edi, (%rcx)
	movl	%esi, %r14d
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_ASSERT
	movq	_PROTO_UDP@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	movq	_PROTO_TCP_CLIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rax
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	cmpl	%ebx, %ecx
	je	LBB0_9
LBB0_4:
	movq	_PROTO_TCP_SERVER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%r14d, %r14d
	jne	LBB0_6
## %bb.5:
	cmpl	%ebx, %edx
	je	LBB0_9
LBB0_6:
	xorl	%eax, %eax
	cmpl	%ebx, %edx
	sete	%al
	xorl	%edx, %edx
	cmpl	%ebx, %ecx
	sete	%dl
	testl	%r14d, %r14d
	cmovel	%edx, %eax
	testb	%al, %al
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	xorl	%edi, %edi
	callq	_ASSERT
	leaq	L_.str.3(%rip), %rax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROTO_N,4,2                    ## @PROTO_N
	.comm	_PROTO_UDP,4,2                  ## @PROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UDPv4"

	.comm	_PROTO_TCP_CLIENT,4,2           ## @PROTO_TCP_CLIENT
	.comm	_PROTO_TCP_SERVER,4,2           ## @PROTO_TCP_SERVER
L_.str.1:                               ## @.str.1
	.asciz	"TCPv4_SERVER"

L_.str.2:                               ## @.str.2
	.asciz	"TCPv4_CLIENT"

L_.str.3:                               ## @.str.3
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proto_remote                   ; -- Begin function proto_remote
	.p2align	2
_proto_remote:                          ; @proto_remote
	.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, x1
	mov	x20, x0
	cmp	w0, #0
Lloh0:
	adrp	x8, _PROTO_N@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROTO_N@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w8, w0, #4, ge
	cset	w0, gt
	bl	_ASSERT
Lloh3:
	adrp	x8, _PROTO_UDP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROTO_UDP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_2:
Lloh8:
	adrp	x8, _PROTO_TCP_CLIENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PROTO_TCP_CLIENT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cbz	w19, LBB0_4
; %bb.3:
	cmp	w8, w20
	b.eq	LBB0_6
LBB0_4:
Lloh11:
	adrp	x9, _PROTO_TCP_SERVER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PROTO_TCP_SERVER@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cbnz	w19, LBB0_8
; %bb.5:
	cmp	w9, w20
	b.ne	LBB0_8
LBB0_6:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	cmp	w9, w20
	cset	w9, eq
	cmp	w8, w20
	cset	w8, eq
	cmp	w19, #0
	csel	w8, w8, w9, eq
	tbz	w8, #0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_10:
	mov	w0, #0
	bl	_ASSERT
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PROTO_N,4,2                    ; @PROTO_N
	.comm	_PROTO_UDP,4,2                  ; @PROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UDPv4"

	.comm	_PROTO_TCP_CLIENT,4,2           ; @PROTO_TCP_CLIENT
	.comm	_PROTO_TCP_SERVER,4,2           ; @PROTO_TCP_SERVER
l_.str.1:                               ; @.str.1
	.asciz	"TCPv4_SERVER"

l_.str.2:                               ; @.str.2
	.asciz	"TCPv4_CLIENT"

l_.str.3:                               ; @.str.3
	.space	1

.subsections_via_symbols
