	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_vs_ftp_get_addrport
_ip_vs_ftp_get_addrport:                ## @ip_vs_ftp_get_addrport
	.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	%rdi, %rbx
	movq	%rsi, %rax
	subq	%rdi, %rax
	cmpq	%rcx, %rax
	jae	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_strnicmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	$1, %rcx
	sbbl	%eax, %eax
	jmp	LBB0_18
LBB0_2:
	movq	%r9, %r14
	movl	%r8d, %r15d
	movq	%rcx, %r13
	movq	%rsi, %r12
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_strnicmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_3
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	24(%rbp), %rdx
	leaq	(%rbx,%r13), %rax
	movq	%rax, (%rdx)
	cmpb	%r15b, (%rbx,%r13)
	jne	LBB0_5
## %bb.4:
	movq	%rax, %rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%rax), %rcx
	cmpb	%r15b, 1(%rax)
	movq	%rcx, %rax
	jne	LBB0_5
LBB0_8:
	movq	32(%rbp), %r15
	movq	%rcx, (%r15)
	leaq	-46(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movq	%rdx, %r12
	movl	$6, %edx
	callq	_memset
	movq	(%r12), %rcx
	movq	(%r15), %r8
	movl	$-1, %eax
	cmpq	%r8, %rcx
	je	LBB0_18
## %bb.9:
	movq	16(%rbp), %r15
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	movslq	%ebx, %rdi
	movzbl	-46(%rbp,%rdi), %edx
	addl	%edx, %edx
	leal	(%rdx,%rdx,4), %edx
	addb	%dl, %sil
	movb	%sil, -46(%rbp,%rdi)
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rcx
	cmpq	%r8, %rcx
	je	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %edi
	leal	-48(%rdi), %esi
	cmpb	$9, %sil
	jbe	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpb	$44, %dil
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	$4, %ebx
	jg	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	incl	%ebx
	jmp	LBB0_15
LBB0_16:
	cmpl	$5, %ebx
	jne	LBB0_18
## %bb.17:
	leaq	-46(%rbp), %rdi
	callq	_get_unaligned
	movl	%eax, (%r14)
	leaq	-42(%rbp), %rdi
	callq	_get_unaligned
	movl	%eax, (%r15)
	movl	$1, %eax
	jmp	LBB0_18
LBB0_6:
	movl	$-1, %eax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ip_vs_ftp_get_addrport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_vs_ftp_get_addrport
_ip_vs_ftp_get_addrport:                ; @ip_vs_ftp_get_addrport
	.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	x23, x0
	sub	x8, x1, x0
	cmp	x8, x3
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x2
	mov	x2, x8
	bl	_strnicmp
	cmp	x0, #0
	csetm	w0, eq
	b	LBB0_17
LBB0_2:
	mov	x21, x7
	mov	x19, x6
	mov	x20, x5
	mov	x25, x4
	mov	x24, x3
	mov	x22, x1
	mov	x0, x23
	mov	x1, x2
	mov	x2, x3
	bl	_strnicmp
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_17
LBB0_4:
	and	w9, w25, #0xff
	add	x8, x23, x24
	str	x8, [x21]
	ldrb	w10, [x8]
	cmp	w10, w9
	b.eq	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x22
	b.eq	LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w10, [x8, #1]!
	cmp	w10, w9
	b.ne	LBB0_5
LBB0_7:
	ldr	x23, [x29, #16]
	str	x8, [x23]
	add	x22, sp, #10
	add	x0, sp, #10
	mov	w1, #0
	mov	w2, #6
	bl	_memset
	ldr	x8, [x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.8:
	mov	w10, #0
	mov	w11, #10
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	sxtw	x13, w10
	ldrb	w14, [x22, x13]
	madd	w12, w14, w11, w12
	strb	w12, [x22, x13]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x8, #1
	cmp	x8, x9
	b.eq	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x8]
	sub	w12, w13, #48
	cmp	w12, #9
	b.ls	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w13, #44
	ccmp	w10, #4, #0, eq
	b.gt	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w10, w10, #1
	b	LBB0_10
LBB0_14:
	cmp	w10, #5
	b.ne	LBB0_16
; %bb.15:
	add	x21, sp, #10
	add	x0, sp, #10
	bl	_get_unaligned
	str	w0, [x20]
	add	x0, x21, #4
	bl	_get_unaligned
	str	w0, [x19]
	mov	w0, #1
	b	LBB0_17
LBB0_16:
	mov	w0, #-1
LBB0_17:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ip_vs_ftp_get_addrport
.subsections_via_symbols
