	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseUdpOrTcp
_ParseUdpOrTcp:                         ## @ParseUdpOrTcp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_OP_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx)
	movq	%rax, (%rcx)
	movl	$0, 24(%rcx)
	movq	$0, 16(%rcx)
	cmpl	$3, %edi
	jl	LBB0_3
## %bb.1:
	movq	(%r14), %r12
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_24
LBB0_3:
	testq	%r13, %r13
	je	LBB0_14
LBB0_4:
	movq	(%r13), %rax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.5:
	testl	%ebx, %ebx
	jle	LBB0_14
## %bb.6:
	incl	%ebx
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, 16(%r15)
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	addq	$8, %r14
	decl	%ebx
	cmpl	$1, %ebx
	jle	LBB0_23
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, 24(%r15)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, 20(%r15)
	jmp	LBB0_8
LBB0_14:
	testl	%ebx, %ebx
	jle	LBB0_23
## %bb.15:
	movq	(%r14), %r13
LBB0_16:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_26
LBB0_23:
	movl	$1, %r12d
	jmp	LBB0_26
LBB0_18:
	movq	8(%r14), %rdi
	callq	_filter_Nam2Op
	movq	%rax, (%r15)
	movq	_OP_NONE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_25
## %bb.19:
	xorl	%r12d, %r12d
	testq	%r13, %r13
	je	LBB0_26
## %bb.20:
	movq	16(%r14), %rdi
	movl	8(%r13), %esi
	callq	_ParsePort
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_26
## %bb.21:
	addl	$-3, %ebx
	addq	$24, %r14
	cmpl	$3, %ebx
	jb	LBB0_4
## %bb.22:
	movq	(%r14), %r12
	jmp	LBB0_2
LBB0_24:
	movq	8(%r14), %rdi
	callq	_filter_Nam2Op
	movq	%rax, 8(%r15)
	movq	_OP_NONE@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_27
LBB0_25:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_26:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	xorl	%r12d, %r12d
	testq	%r13, %r13
	je	LBB0_26
## %bb.28:
	movq	16(%r14), %rdi
	movl	8(%r13), %esi
	callq	_ParsePort
	movq	%rax, 40(%r15)
	testq	%rax, %rax
	je	LBB0_26
## %bb.29:
	addl	$-3, %ebx
	addq	$24, %r14
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_OP_NONE,8,3                    ## @OP_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"src"

	.comm	_LogWARN,4,2                    ## @LogWARN
L_.str.1:                               ## @.str.1
	.asciz	"ParseUdpOrTcp: bad operator\n"

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

	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
L_.str.3:                               ## @.str.3
	.asciz	"estab"

L_.str.4:                               ## @.str.4
	.asciz	"syn"

L_.str.5:                               ## @.str.5
	.asciz	"finrst"

L_.str.6:                               ## @.str.6
	.asciz	"ParseUdpOrTcp: bad src/dst port syntax: %s\n"

	.no_dead_strip	_ParseUdpOrTcp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseUdpOrTcp
_ParseUdpOrTcp:                         ; @ParseUdpOrTcp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x25, _OP_NONE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _OP_NONE@GOTPAGEOFF]
	ldr	x8, [x25]
	stp	x8, x8, [x3]
	str	wzr, [x3, #24]
	str	xzr, [x3, #16]
	subs	w24, w0, #3
	b.lt	LBB0_5
; %bb.1:
	ldr	x22, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_19
; %bb.2:
	mov	x24, x23
LBB0_3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_24
; %bb.4:
	cbnz	x21, LBB0_6
	b	LBB0_7
LBB0_5:
	mov	x24, x23
	cbz	x21, LBB0_7
LBB0_6:
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	w24, #1, #8, eq
	b.ge	LBB0_10
LBB0_7:
	cmp	w24, #1
	b.lt	LBB0_18
; %bb.8:
	ldr	x24, [x19]
LBB0_9:
Lloh9:
	adrp	x8, _LogWARN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	str	x24, [sp]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_26
LBB0_10:
Lloh14:
	adrp	x21, l_.str.3@PAGE
Lloh15:
	add	x21, x21, l_.str.3@PAGEOFF
	add	w25, w24, #1
	mov	w26, #1
Lloh16:
	adrp	x22, l_.str.4@PAGE
Lloh17:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh18:
	adrp	x23, l_.str.5@PAGE
Lloh19:
	add	x23, x23, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	str	w26, [x20, #16]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x19, x19, #8
	sub	w25, w25, #1
	cmp	w25, #1
	b.le	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19]
	mov	x0, x24
	mov	x1, x21
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	mov	x1, x23
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	str	w26, [x20, #24]
	b	LBB0_12
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	str	w26, [x20, #20]
	b	LBB0_12
LBB0_18:
	mov	w0, #1
	b	LBB0_28
LBB0_19:
	ldr	x0, [x19, #8]
	bl	_filter_Nam2Op
	str	x0, [x20]
	ldr	x8, [x25]
	cmp	x8, x0
	b.eq	LBB0_25
; %bb.20:
	cbz	x21, LBB0_27
; %bb.21:
	ldr	x0, [x19, #16]
	ldr	w1, [x21, #8]
	bl	_ParsePort
	str	x0, [x20, #32]
	cbz	x0, LBB0_28
; %bb.22:
	add	x19, x19, #24
	cmp	w24, #3
	b.lo	LBB0_6
; %bb.23:
	ldr	x22, [x19]
	b	LBB0_3
LBB0_24:
	ldr	x0, [x19, #8]
	bl	_filter_Nam2Op
	str	x0, [x20, #8]
	ldr	x8, [x25]
	cmp	x8, x0
	b.ne	LBB0_29
LBB0_25:
Lloh20:
	adrp	x8, _LogWARN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_26:
	bl	_log_Printf
LBB0_27:
	mov	w0, #0
LBB0_28:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_29:
	cbz	x21, LBB0_27
; %bb.30:
	ldr	x0, [x19, #16]
	ldr	w1, [x21, #8]
	bl	_ParsePort
	str	x0, [x20, #40]
	cbz	x0, LBB0_28
; %bb.31:
	sub	w24, w24, #3
	add	x19, x19, #24
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_OP_NONE,8,3                    ; @OP_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"src"

	.comm	_LogWARN,4,2                    ; @LogWARN
l_.str.1:                               ; @.str.1
	.asciz	"ParseUdpOrTcp: bad operator\n"

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

	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
l_.str.3:                               ; @.str.3
	.asciz	"estab"

l_.str.4:                               ; @.str.4
	.asciz	"syn"

l_.str.5:                               ; @.str.5
	.asciz	"finrst"

l_.str.6:                               ; @.str.6
	.asciz	"ParseUdpOrTcp: bad src/dst port syntax: %s\n"

	.no_dead_strip	_ParseUdpOrTcp
.subsections_via_symbols
