	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ports_match_v1
_ports_match_v1:                        ## @ports_match_v1
	.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	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_20
## %bb.1:
	movq	%rsi, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	cmpl	(%rbx), %r14d
	jae	LBB0_20
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	32(%rbx), %rdx
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %r12
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%rcx,8), %r13
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_duprintf
	movq	16(%rbx), %rax
	cmpq	%r15, %r13
	jl	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_XT_MULTIPORT_SOURCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %r12
	jle	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	jl	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_XT_MULTIPORT_DESTINATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jle	LBB0_6
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	movq	_XT_MULTIPORT_EITHER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r13
	setge	%sil
	cmpq	%rax, %r12
	setle	%dl
	cmpq	%r15, %r13
	setl	%al
	cmpq	%r15, %r12
	setg	%cl
	testb	%sil, %dl
	jne	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	orb	%al, %cl
	jne	LBB0_19
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_duprintf
	movq	16(%rbx), %rax
	movq	_XT_MULTIPORT_SOURCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %r12
	je	LBB0_6
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_XT_MULTIPORT_DESTINATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_6
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	sete	%cl
	cmpq	%r15, %r12
	sete	%dl
	movq	_XT_MULTIPORT_EITHER@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	orb	%cl, %dl
	je	LBB0_19
LBB0_6:
	movl	24(%rbx), %eax
	xorl	$1, %eax
	jmp	LBB0_21
LBB0_20:
	movl	24(%rbx), %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"src or dst matches with %d-%d?\n"

	.comm	_XT_MULTIPORT_SOURCE,8,3        ## @XT_MULTIPORT_SOURCE
	.comm	_XT_MULTIPORT_DESTINATION,8,3   ## @XT_MULTIPORT_DESTINATION
	.comm	_XT_MULTIPORT_EITHER,8,3        ## @XT_MULTIPORT_EITHER
L_.str.1:                               ## @.str.1
	.asciz	"src or dst matches with %d?\n"

	.no_dead_strip	_ports_match_v1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ports_match_v1
_ports_match_v1:                        ; @ports_match_v1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	w25, #0
Lloh0:
	adrp	x26, _XT_MULTIPORT_SOURCE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _XT_MULTIPORT_SOURCE@GOTPAGEOFF]
Lloh2:
	adrp	x27, _XT_MULTIPORT_DESTINATION@GOTPAGE
Lloh3:
	ldr	x27, [x27, _XT_MULTIPORT_DESTINATION@GOTPAGEOFF]
Lloh4:
	adrp	x28, _XT_MULTIPORT_EITHER@GOTPAGE
Lloh5:
	ldr	x28, [x28, _XT_MULTIPORT_EITHER@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	ldr	w8, [x19]
	cmp	w25, w8
	b.hs	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	mov	w9, w25
	lsl	x9, x9, #3
	ldr	x24, [x8, x9]
	ldr	x10, [x19, #32]
	ldr	x9, [x10, x9]
	cbz	x9, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w25, w25, #1
	ldr	x22, [x8, w25, uxtw #3]
	str	x22, [sp]
	mov	x0, x23
	mov	x1, x24
	bl	_duprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x26]
	cmp	x22, x21
	ccmp	x8, x9, #0, ge
	ccmp	x24, x21, #0, eq
	b.le	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x27]
	cmp	x22, x20
	ccmp	x8, x9, #0, ge
	ccmp	x24, x20, #0, eq
	b.le	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x24, x21
	ccmp	x22, x21, #8, le
	cset	w8, lt
	cmp	x22, x20
	ccmp	x24, x20, #0, ge
	b.le	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w8, #0, LBB0_2
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x24
	bl	_duprintf
	ldr	x8, [x19, #16]
	ldr	x9, [x26]
	cmp	x8, x9
	ccmp	x24, x21, #0, eq
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x27]
	cmp	x8, x9
	ccmp	x24, x20, #0, eq
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	x24, x21
	ldr	x9, [x28]
	ccmp	x24, x20, #4, ne
	cset	w10, eq
	cmp	x8, x9
	ccmp	w10, #0, #4, eq
	b.eq	LBB0_2
LBB0_12:
	ldr	w8, [x19, #24]
	eor	w0, w8, #0x1
	b	LBB0_14
LBB0_13:
	ldr	w0, [x19, #24]
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"src or dst matches with %d-%d?\n"

	.comm	_XT_MULTIPORT_SOURCE,8,3        ; @XT_MULTIPORT_SOURCE
	.comm	_XT_MULTIPORT_DESTINATION,8,3   ; @XT_MULTIPORT_DESTINATION
	.comm	_XT_MULTIPORT_EITHER,8,3        ; @XT_MULTIPORT_EITHER
l_.str.1:                               ; @.str.1
	.asciz	"src or dst matches with %d?\n"

	.no_dead_strip	_ports_match_v1
.subsections_via_symbols
