	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoaddr                      ## -- Begin function strtoaddr
	.p2align	4, 0x90
_strtoaddr:                             ## @strtoaddr
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	(%rdi), %r15b
	movzbl	%r15b, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	$0, -68(%rbp)
	cmpb	$48, %r15b
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	1(%rbx), %r15b
	movl	%r15d, %eax
	andb	$-33, %al
	cmpb	$88, %al
	je	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movzbl	%r15b, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$57, %r15b
	jne	LBB0_23
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r15b, %r12d
	movl	%r12d, %edi
	callq	_isdigit
	xorl	%r14d, %r14d
	cmpb	$57, %r12b
	ja	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	%r15b, %eax
	leal	(%r14,%r14,4), %ecx
	leal	(%rax,%rcx,2), %r14d
	addl	$-48, %r14d
	movl	%r14d, -68(%rbp)
	movzbl	1(%rbx), %r15d
	incq	%rbx
	movl	%r15d, %edi
	callq	_isdigit
	cmpl	$57, %r15d
	ja	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	testq	%rax, %rax
	jne	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, %r15b
	jne	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	leaq	-52(%rbp), %rax
	cmpq	%rax, %r13
	jae	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, (%r13)
	addq	$4, %r13
	movb	1(%rbx), %r15b
	incq	%rbx
	movzbl	%r15b, %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_24
LBB0_15:
	testb	%r15b, %r15b
	je	LBB0_17
## %bb.16:
	movzbl	%r15b, %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_23
LBB0_17:
	leaq	-64(%rbp), %rax
	subq	%rax, %r13
	shrq	$2, %r13
	xorl	%r12d, %r12d
	cmpl	$3, %r13d
	jne	LBB0_24
## %bb.18:
	movl	-64(%rbp), %eax
	movl	-60(%rbp), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	movl	-56(%rbp), %edi
	orl	%edi, %edx
	orl	%r14d, %edx
	cmpl	$255, %edx
	jg	LBB0_24
## %bb.19:
	movl	$1, %r12d
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.20:
	shll	$16, %ecx
	shll	$24, %eax
	orl	%ecx, %eax
	shll	$8, %edi
	orl	%eax, %edi
	orl	%r14d, %edi
	callq	_htonl
	movl	%eax, -68(%rbp)
	movq	_NS_INADDRSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-68(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_memcpy
	jmp	LBB0_24
LBB0_23:
	xorl	%r12d, %r12d
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NS_INADDRSZ,4,2                ## @NS_INADDRSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtoaddr                      ; -- Begin function strtoaddr
	.p2align	2
_strtoaddr:                             ; @strtoaddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	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]
	str	x8, [sp, #24]
	ldrb	w21, [x0]
	mov	x0, x21
	bl	_isdigit
	cbz	x0, LBB0_18
; %bb.1:
	add	x23, sp, #8
	add	x24, x23, #12
	mov	w25, #10
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	str	wzr, [sp, #4]
	and	w8, w21, #0xff
	cmp	w8, #48
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w21, [x20, #1]!
	and	w8, w21, #0xffffffdf
	cmp	w8, #88
	b.eq	LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_isdigit
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w21, #57
	b.ne	LBB0_17
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	and	w22, w21, #0xff
	mov	x0, x22
	bl	_isdigit
	mov	w26, #0
	cmp	w22, #57
	b.hi	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #0
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mul	w8, w26, w25
	add	w8, w8, w21, uxtb
	sub	w26, w8, #48
	str	w26, [sp, #4]
	ldrb	w21, [x20, #1]!
	mov	x0, x21
	bl	_isdigit
	cmp	w21, #57
	ccmp	x0, #0, #4, ls
	b.ne	LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w21, #0xff
	cmp	w8, #46
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	x23, x24
	b.hs	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	str	w26, [x23], #4
	ldrb	w21, [x20, #1]!
	mov	x0, x21
	bl	_isdigit
	cbnz	x0, LBB0_2
	b	LBB0_18
LBB0_13:
	cbz	w8, LBB0_15
; %bb.14:
	and	w0, w21, #0xff
	bl	_isspace
	cbz	w0, LBB0_18
LBB0_15:
	add	x8, sp, #8
	sub	x8, x23, x8
	lsr	x8, x8, #2
	cmp	w8, #3
	b.ne	LBB0_17
; %bb.16:
	ldp	w8, w9, [sp, #8]
	orr	w11, w9, w8
	ldr	w10, [sp, #16]
	orr	w11, w11, w10
	orr	w11, w11, w26
	cmp	w11, #255
	b.le	LBB0_20
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.19:
	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
	add	sp, sp, #112
	ret
LBB0_20:
	cbz	x19, LBB0_22
; %bb.21:
	lsl	w9, w9, #16
	orr	w8, w9, w8, lsl #24
	orr	w8, w8, w10, lsl #8
	orr	w0, w8, w26
	bl	_htonl
	str	w0, [sp, #4]
Lloh6:
	adrp	x8, _NS_INADDRSZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NS_INADDRSZ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x1, sp, #4
	mov	x0, x19
	bl	_memcpy
LBB0_22:
	mov	w0, #1
	b	LBB0_18
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NS_INADDRSZ,4,2                ; @NS_INADDRSZ
.subsections_via_symbols
