	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selectproto
_selectproto:                           ## @selectproto
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	_TCP@GOTPCREL(%rip), %rcx
	movq	_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_9
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_TCP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_UDP@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	movq	_protos@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"all"

	.comm	_TCP,4,2                        ## @TCP
	.comm	_UDP,4,2                        ## @UDP
	.comm	_protos,4,2                     ## @protos
L_.str.1:                               ## @.str.1
	.asciz	"tcp"

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

	.no_dead_strip	_selectproto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selectproto
_selectproto:                           ; @selectproto
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_streq
	cbz	x0, LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _TCP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TCP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _UDP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UDP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w0, w9, w8
	b	LBB0_8
LBB0_3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_streq
	cbz	x0, LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _TCP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TCP@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_streq
	cbz	x0, LBB0_9
; %bb.6:
Lloh14:
	adrp	x8, _UDP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UDP@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
Lloh16:
	adrp	x8, _protos@GOTPAGE
Lloh17:
	ldr	x8, [x8, _protos@GOTPAGEOFF]
Lloh18:
	str	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"all"

	.comm	_TCP,4,2                        ; @TCP
	.comm	_UDP,4,2                        ; @UDP
	.comm	_protos,4,2                     ; @protos
l_.str.1:                               ; @.str.1
	.asciz	"tcp"

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

	.no_dead_strip	_selectproto
.subsections_via_symbols
