	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_StringToAdr                ## -- Begin function NET_StringToAdr
	.p2align	4, 0x90
_NET_StringToAdr:                       ## @NET_StringToAdr
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAX_STRING_CHARS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_Q_strncpyz
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movb	$0, (%rax)
	incq	%rbx
	jmp	LBB0_5
LBB0_1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_Com_Memset
	movq	_NA_LOOPBACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	jmp	LBB0_15
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_Sys_StringToAdr
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	(%r14), %rax
	cmpl	$255, (%rax)
	jne	LBB0_11
## %bb.8:
	cmpl	$255, 4(%rax)
	jne	LBB0_11
## %bb.9:
	cmpl	$255, 8(%rax)
	jne	LBB0_11
## %bb.10:
	cmpl	$255, 12(%rax)
	jne	LBB0_11
LBB0_6:
	movq	_NA_BAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_atoi
	movswl	%ax, %edi
	jmp	LBB0_14
LBB0_13:
	movq	_PORT_SERVER@GOTPCREL(%rip), %rax
	movswl	(%rax), %edi
LBB0_14:
	callq	_BigShort
	movq	%rax, 8(%r14)
LBB0_15:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_18
## %bb.17:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STRING_CHARS,4,2           ## @MAX_STRING_CHARS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"localhost"

	.comm	_NA_LOOPBACK,8,3                ## @NA_LOOPBACK
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_NA_BAD,8,3                     ## @NA_BAD
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_PORT_SERVER,2,1                ## @PORT_SERVER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NET_StringToAdr                ; -- Begin function NET_StringToAdr
	.p2align	2
_NET_StringToAdr:                       ; @NET_StringToAdr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAX_STRING_CHARS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_STRING_CHARS@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_Q_strncpyz
	mov	x0, x21
	mov	w1, #58
	bl	_strchr
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.2:
	strb	wzr, [x20], #1
LBB0_3:
	mov	x0, x21
	mov	x1, x19
	bl	_Sys_StringToAdr
	cbz	w0, LBB0_8
; %bb.4:
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, #255
	b.ne	LBB0_10
; %bb.5:
	ldr	w9, [x8, #4]
	cmp	w9, #255
	b.ne	LBB0_10
; %bb.6:
	ldr	w9, [x8, #8]
	cmp	w9, #255
	b.ne	LBB0_10
; %bb.7:
	ldr	w8, [x8, #12]
	cmp	w8, #255
	b.ne	LBB0_10
LBB0_8:
Lloh10:
	adrp	x8, _NA_BAD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NA_BAD@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh13:
	adrp	x8, _qfalse@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	b	LBB0_15
LBB0_9:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	bl	_Com_Memset
Lloh15:
	adrp	x8, _NA_LOOPBACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NA_LOOPBACK@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	b	LBB0_14
LBB0_10:
	cbz	x20, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_atoi
	sxth	w0, w0
	b	LBB0_13
LBB0_12:
Lloh18:
	adrp	x8, _PORT_SERVER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PORT_SERVER@GOTPAGEOFF]
Lloh20:
	ldrsh	w0, [x8]
LBB0_13:
	bl	_BigShort
	str	x0, [x19, #8]
LBB0_14:
Lloh21:
	adrp	x8, _qtrue@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STRING_CHARS,4,2           ; @MAX_STRING_CHARS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"localhost"

	.comm	_NA_LOOPBACK,8,3                ; @NA_LOOPBACK
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_NA_BAD,8,3                     ; @NA_BAD
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_PORT_SERVER,2,1                ; @PORT_SERVER
.subsections_via_symbols
