	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_StringToSockaddr           ## -- Begin function Sys_StringToSockaddr
	.p2align	4, 0x90
_Sys_StringToSockaddr:                  ## @Sys_StringToSockaddr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_strlen
	cmpl	$21, %eax
	jne	LBB0_3
## %bb.1:
	cmpb	$46, 8(%rbx)
	jne	LBB0_3
## %bb.2:
	movq	_AF_IPX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	$0, (%r14)
	movq	_sa_netnum@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movl	$2, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	8(%rax), %esi
	movl	$4, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	12(%rax), %esi
	movl	$6, %edi
	callq	_DO
	movq	_sa_nodenum@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	$9, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movl	$11, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	8(%rax), %esi
	movl	$13, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	12(%rax), %esi
	movl	$15, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	16(%rax), %esi
	movl	$17, %edi
	callq	_DO
	movq	(%rbx), %rax
	movl	20(%rax), %esi
	movl	$19, %edi
	callq	_DO
	jmp	LBB0_9
LBB0_3:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	$0, 8(%r14)
	movb	(%rbx), %al
	addb	$-48, %al
	movq	%rbx, %rdi
	cmpb	$9, %al
	ja	LBB0_5
## %bb.4:
	callq	_inet_addr
	jmp	LBB0_8
LBB0_5:
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
LBB0_8:
	movl	%eax, (%r14)
LBB0_9:
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_STRING_CHARS,4,2           ## @MAX_STRING_CHARS
	.comm	_AF_IPX,4,2                     ## @AF_IPX
	.comm	_sa_netnum,8,3                  ## @sa_netnum
	.comm	_sa_nodenum,8,3                 ## @sa_nodenum
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_StringToSockaddr           ; -- Begin function Sys_StringToSockaddr
	.p2align	2
_Sys_StringToSockaddr:                  ; @Sys_StringToSockaddr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	bl	_strlen
	cmp	w0, #21
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [x20, #8]
	cmp	w8, #46
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _AF_IPX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_IPX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
Lloh3:
	adrp	x19, _sa_netnum@GOTPAGE
Lloh4:
	ldr	x19, [x19, _sa_netnum@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	w0, #0
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
	mov	w0, #2
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #8]
	mov	w0, #4
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #12]
	mov	w0, #6
	bl	_DO
Lloh5:
	adrp	x19, _sa_nodenum@GOTPAGE
Lloh6:
	ldr	x19, [x19, _sa_nodenum@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	w0, #9
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #4]
	mov	w0, #11
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #8]
	mov	w0, #13
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #12]
	mov	w0, #15
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #16]
	mov	w0, #17
	bl	_DO
	ldr	x8, [x19]
	ldr	w1, [x8, #20]
	mov	w0, #19
	bl	_DO
	b	LBB0_7
LBB0_3:
Lloh7:
	adrp	x8, _AF_INET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	ldrb	w8, [x20]
	sub	w8, w8, #48
	mov	x0, x20
	cmp	w8, #9
	b.hi	LBB0_5
; %bb.4:
	bl	_inet_addr
	str	w0, [x19]
	b	LBB0_7
LBB0_5:
	bl	_gethostbyname
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_7:
Lloh10:
	adrp	x8, _qtrue@GOTPAGE
Lloh11:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_STRING_CHARS,4,2           ; @MAX_STRING_CHARS
	.comm	_AF_IPX,4,2                     ; @AF_IPX
	.comm	_sa_netnum,8,3                  ; @sa_netnum
	.comm	_sa_nodenum,8,3                 ; @sa_nodenum
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
