	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_addr_port
_parse_addr_port:                       ## @parse_addr_port
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_strdup
	movq	%rax, %r12
	movq	%rax, -48(%rbp)
	movb	(%rax), %dl
	incq	%rax
	cmpb	$91, %dl
	jne	LBB0_1
## %bb.6:
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movb	(%rax), %cl
	testb	%cl, %cl
	je	LBB0_14
## %bb.9:
	cmpb	$58, %cl
	jne	LBB0_7
## %bb.10:
	incq	%rax
	movq	%rax, %r15
	jmp	LBB0_14
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rax), %edx
	incq	%rax
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$58, %dl
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%dl, %dl
	jne	LBB0_12
## %bb.4:
	cmpl	$1, %ecx
	jle	LBB0_13
## %bb.5:
	movq	%r12, %rbx
	jmp	LBB0_14
LBB0_7:
	movq	%r12, %rdi
	callq	_free
	movl	$1, %eax
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	movq	%rax, %rbx
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	cmovneq	%rax, %r15
LBB0_14:
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	_PF_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_AI_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_getaddrinfo
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_free
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setne	%al
LBB0_15:
	addq	$24, %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	"]"

L_.str.1:                               ## @.str.1
	.asciz	":"

	.comm	_PF_UNSPEC,4,2                  ## @PF_UNSPEC
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_AI_PASSIVE,4,2                 ## @AI_PASSIVE
	.no_dead_strip	_parse_addr_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_addr_port
_parse_addr_port:                       ; @parse_addr_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	bl	_strdup
	mov	x19, x0
	str	x0, [sp, #24]
	ldrb	w10, [x0]
	cmp	w10, #91
	b.ne	LBB0_5
; %bb.1:
	add	x8, x19, #1
	str	x8, [sp, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strsep
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_12
; %bb.2:
	mov	x22, x0
	ldrb	w9, [x8]
	cbz	w9, LBB0_14
; %bb.3:
	cmp	w9, #58
	b.ne	LBB0_12
; %bb.4:
	add	x21, x8, #1
	b	LBB0_14
LBB0_5:
	mov	w8, #0
	mov	w9, #1
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w8, w8, #1
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w10, [x19, x9]
	add	x9, x9, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #58
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w10, LBB0_7
; %bb.10:
	cmp	w8, #1
	b.le	LBB0_13
; %bb.11:
	mov	x22, x19
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	bl	_free
	mov	w0, #1
	b	LBB0_15
LBB0_13:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	bl	_strsep
	mov	x22, x0
	ldr	x8, [sp, #24]
	cmp	x8, #0
	csel	x21, x21, x8, eq
LBB0_14:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #12
	bl	_memset
Lloh4:
	adrp	x8, _PF_UNSPEC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PF_UNSPEC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh7:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _AI_PASSIVE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AI_PASSIVE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_getaddrinfo
	mov	x20, x0
	mov	x0, x19
	bl	_free
	cmp	w20, #0
	cset	w0, ne
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"]"

l_.str.1:                               ; @.str.1
	.asciz	":"

	.comm	_PF_UNSPEC,4,2                  ; @PF_UNSPEC
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_AI_PASSIVE,4,2                 ; @AI_PASSIVE
	.no_dead_strip	_parse_addr_port
.subsections_via_symbols
