	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_topology                 ## -- Begin function parse_topology
	.p2align	4, 0x90
_parse_topology:                        ## @parse_topology
	.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	%esi, %r14d
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_TOP_NET30@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_TOP_P2P@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_TOP_SUBNET@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edi
	callq	_msg
	movq	_TOP_UNDEF@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net30"

	.comm	_TOP_NET30,4,2                  ## @TOP_NET30
L_.str.1:                               ## @.str.1
	.asciz	"p2p"

	.comm	_TOP_P2P,4,2                    ## @TOP_P2P
L_.str.2:                               ## @.str.2
	.asciz	"subnet"

	.comm	_TOP_SUBNET,4,2                 ## @TOP_SUBNET
L_.str.3:                               ## @.str.3
	.asciz	"--topology must be net30, p2p, or subnet"

	.comm	_TOP_UNDEF,4,2                  ## @TOP_UNDEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_topology                 ; -- Begin function parse_topology
	.p2align	2
_parse_topology:                        ; @parse_topology
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_streq
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _TOP_NET30@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TOP_NET30@GOTPAGEOFF]
	b	LBB0_7
LBB0_2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_streq
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _TOP_P2P@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TOP_P2P@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_streq
	cbz	x0, LBB0_6
; %bb.5:
Lloh10:
	adrp	x8, _TOP_SUBNET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TOP_SUBNET@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_msg
Lloh14:
	adrp	x8, _TOP_UNDEF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TOP_UNDEF@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net30"

	.comm	_TOP_NET30,4,2                  ; @TOP_NET30
l_.str.1:                               ; @.str.1
	.asciz	"p2p"

	.comm	_TOP_P2P,4,2                    ; @TOP_P2P
l_.str.2:                               ; @.str.2
	.asciz	"subnet"

	.comm	_TOP_SUBNET,4,2                 ; @TOP_SUBNET
l_.str.3:                               ; @.str.3
	.asciz	"--topology must be net30, p2p, or subnet"

	.comm	_TOP_UNDEF,4,2                  ; @TOP_UNDEF
.subsections_via_symbols
