	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipaddr_aton                    ## -- Begin function ipaddr_aton
	.p2align	4, 0x90
_ipaddr_aton:                           ## @ipaddr_aton
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, %r14
	movb	(%rdi), %r13b
	movsbl	%r13b, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	leaq	-80(%rbp), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	cmpb	$48, %r13b
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	movb	1(%r14), %r13b
	movl	%r13d, %eax
	andb	$-33, %al
	cmpb	$88, %al
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movb	2(%rbx), %r13b
	addq	$2, %rbx
	movl	$16, %ecx
	movb	$1, %al
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$10, %ecx
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
	movq	%r14, %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movl	$8, %ecx
	movl	$0, -84(%rbp)                   ## 4-byte Folded Spill
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %eax
	xorl	%edx, %edx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	incq	%rbx
	xorl	%r15d, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=2
	imulq	-120(%rbp), %r15                ## 8-byte Folded Reload
	movslq	%r14d, %rax
	addq	%r15, %rax
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=2
	movzbl	(%rbx), %r13d
	incq	%rbx
	movq	%rax, %r15
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%r13b, %r14d
	movl	%r14d, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	addl	$-48, %r14d
	xorl	%r12d, %r12d
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	ja	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	jne	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=2
	movsbl	%r14b, %eax
	cmpl	-88(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_8
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$0, -84(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=2
	movl	%r14d, %edi
	callq	_isxdigit
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=2
	leal	10(%r14), %r13d
	movl	%r14d, %edi
	callq	_islower
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	shll	$5, %ecx
	xorl	%r12d, %r12d
	cmpq	-104(%rbp), %r15                ## 8-byte Folded Reload
	ja	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=2
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=2
	leal	(%rcx,%r14), %eax
	addl	$169, %eax
	movsbl	%al, %eax
	cmpl	-88(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_24
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=2
	shlq	$4, %r15
	movl	%r14d, %edi
	callq	_islower
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	shll	$5, %ecx
	leal	(%rcx,%r13), %eax
	addl	$-97, %eax
	cltq
	orq	%r15, %rax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, %r13b
	jne	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	-56(%rbp), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, (%rax)
	addq	$8, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r14
	movb	(%rbx), %r13b
	movsbl	%r13b, %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_24
LBB0_26:
	testb	%r13b, %r13b
	je	LBB0_28
## %bb.27:
	movl	%r14d, %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_23
LBB0_28:
	leaq	-80(%rbp), %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %rcx
	sarq	$3, %rcx
	incq	%rcx
	cmpq	$4, %rcx
	ja	LBB0_34
## %bb.29:
	xorl	%r12d, %r12d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_30:
	cmpq	$16777215, %r15                 ## imm = 0xFFFFFF
	ja	LBB0_24
## %bb.31:
	movq	-80(%rbp), %rax
	cmpq	$255, %rax
	ja	LBB0_24
## %bb.32:
	shlq	$24, %rax
	orq	%rax, %r15
	jmp	LBB0_45
LBB0_23:
	xorl	%r12d, %r12d
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_47
## %bb.25:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_LWIP_ASSERT
	jmp	LBB0_45
LBB0_35:
	cmpq	$65535, %r15                    ## imm = 0xFFFF
	ja	LBB0_24
## %bb.36:
	movq	-80(%rbp), %rax
	cmpq	$255, %rax
	ja	LBB0_24
## %bb.37:
	movq	-72(%rbp), %rcx
	cmpq	$255, %rcx
	ja	LBB0_24
## %bb.38:
	shlq	$24, %rax
	shlq	$16, %rcx
	orq	%r15, %rax
	orq	%rcx, %rax
	jmp	LBB0_44
LBB0_39:
	cmpq	$255, %r15
	ja	LBB0_24
## %bb.40:
	movq	-80(%rbp), %rax
	cmpq	$255, %rax
	ja	LBB0_24
## %bb.41:
	movq	-72(%rbp), %rcx
	cmpq	$255, %rcx
	ja	LBB0_24
## %bb.42:
	movq	-64(%rbp), %rdx
	cmpq	$255, %rdx
	ja	LBB0_24
## %bb.43:
	shlq	$24, %rax
	shlq	$16, %rcx
	shlq	$8, %rdx
	orq	%rcx, %rdx
	orq	%r15, %rax
	orq	%rdx, %rax
LBB0_44:
	movq	%rax, %r15
LBB0_45:
	movl	$1, %r12d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.46:
	movq	%r15, %rdi
	callq	_htonl
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ip4_addr_set_u32
	jmp	LBB0_24
LBB0_47:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_45
	.long	L0_0_set_30
	.long	L0_0_set_35
	.long	L0_0_set_39
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unhandled"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipaddr_aton                    ; -- Begin function ipaddr_aton
	.p2align	2
_ipaddr_aton:                           ; @ipaddr_aton
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldrsb	w20, [x0]
	mov	x0, x20
	bl	_isdigit
	cbz	x0, LBB0_23
; %bb.1:
	and	w25, w20, #0xff
	add	x23, sp, #24
	add	x8, x23, #24
	stp	x19, x8, [sp, #8]               ; 16-byte Folded Spill
	mov	w10, #-1
	mov	w27, #191
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	and	w8, w25, #0xff
	cmp	w8, #48
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x21
	ldrb	w25, [x8, #1]!
	and	w9, w25, #0xffffffdf
	cmp	w9, #88
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w25, [x21, #2]!
	mov	w24, #1
	mov	w28, #16
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w24, #0
	mov	w28, #10
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w24, #0
	mov	w28, #8
	mov	x21, x8
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x20, #0
	udiv	w19, w10, w28
	mul	w8, w19, w28
	mvn	w26, w8
	add	x21, x21, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	mul	x9, x20, x28
	add	x20, x9, w8, sxtw
	ldrb	w25, [x21], #1
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w22, w25
	mov	x0, x22
	bl	_isdigit
	cbz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	sub	w8, w22, #48
	cmp	x20, x19
	b.hi	LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w26, w8, sxtb
	b.ge	LBB0_8
	b	LBB0_22
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	cbz	w24, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x22
	bl	_isxdigit
	cbz	x0, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x22
	bl	_islower
	cmp	x0, #0
	mov	w8, #159
	csel	w8, w27, w8, eq
	cmp	x20, x19
	b.hi	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=2
	add	w25, w22, #10
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	add	w8, w8, w25
	cmp	w26, w8, sxtb
	b.lt	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x22
	bl	_islower
	cmp	x0, #0
	mov	w8, #-97
	mov	w9, #-65
	csel	w8, w9, w8, eq
	add	w8, w8, w25
	sxtw	x8, w8
	orr	x20, x8, x20, lsl #4
	ldrb	w25, [x21], #1
	b	LBB0_9
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w25, #0xff
	cmp	w8, #46
	b.ne	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x23, x8
	b.hs	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	str	x20, [x23], #8
	ldrsb	w0, [x21]
	and	w25, w0, #0xff
	bl	_isdigit
	mov	x8, x0
	mov	w0, #0
	mov	w10, #-1
	cbnz	x8, LBB0_2
	b	LBB0_23
LBB0_22:
	mov	w0, #0
LBB0_23:
	ldr	x8, [sp, #56]
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_45
; %bb.24:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_25:
	cbz	w8, LBB0_27
; %bb.26:
	mov	x0, x22
	bl	_isspace
	cbz	w0, LBB0_23
LBB0_27:
	add	x8, sp, #24
	sub	x8, x23, x8
	asr	x8, x8, #3
	add	x8, x8, #1
	cmp	x8, #4
	b.hi	LBB0_32
; %bb.28:
	mov	w0, #0
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_23
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_29:
	mov	w0, #0
	lsr	x8, x20, #24
	cbnz	x8, LBB0_23
; %bb.30:
	ldr	x8, [sp, #24]
	cmp	x8, #255
	b.hi	LBB0_23
; %bb.31:
	orr	x20, x20, x8, lsl #24
	b	LBB0_42
LBB0_32:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_LWIP_ASSERT
	b	LBB0_42
LBB0_33:
	mov	w0, #0
	lsr	x8, x20, #16
	cbnz	x8, LBB0_23
; %bb.34:
	ldr	x8, [sp, #24]
	cmp	x8, #255
	b.hi	LBB0_23
; %bb.35:
	ldr	x9, [sp, #32]
	cmp	x9, #255
	b.hi	LBB0_23
; %bb.36:
	orr	x8, x20, x8, lsl #24
	orr	x20, x8, x9, lsl #16
	b	LBB0_42
LBB0_37:
	mov	w0, #0
	cmp	x20, #255
	b.hi	LBB0_23
; %bb.38:
	ldr	x8, [sp, #24]
	cmp	x8, #255
	b.hi	LBB0_23
; %bb.39:
	ldr	x9, [sp, #32]
	cmp	x9, #255
	b.hi	LBB0_23
; %bb.40:
	ldr	x10, [sp, #40]
	cmp	x10, #255
	b.hi	LBB0_23
; %bb.41:
	orr	x8, x20, x8, lsl #24
	orr	x8, x8, x9, lsl #16
	orr	x20, x8, x10, lsl #8
LBB0_42:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x19, LBB0_44
; %bb.43:
	mov	x0, x20
	bl	_htonl
	mov	x1, x0
	mov	x0, x19
	bl	_ip4_addr_set_u32
LBB0_44:
	mov	w0, #1
	b	LBB0_23
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_23)>>2
	.byte	(LBB0_42-LBB0_23)>>2
	.byte	(LBB0_29-LBB0_23)>>2
	.byte	(LBB0_33-LBB0_23)>>2
	.byte	(LBB0_37-LBB0_23)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unhandled"

.subsections_via_symbols
