	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _php_filter_validate_ipv4
__php_filter_validate_ipv4:             ## @_php_filter_validate_ipv4
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	(%rdi,%rsi), %r9
	xorl	%eax, %eax
	cmpq	%rdi, %r9
	jbe	LBB0_76
## %bb.1:
	movzbl	(%rdi), %ecx
	leal	-58(%rcx), %ebx
	cmpb	$-10, %bl
	jb	LBB0_76
## %bb.2:
	leal	-48(%rcx), %r10d
	leaq	(%rsi,%rdi), %r8
	decq	%r8
	leaq	1(%rdi), %r12
	cmpq	%r9, %r12
	setb	%r11b
	jae	LBB0_14
## %bb.3:
	movzbl	(%r12), %r14d
	leal	-48(%r14), %ebx
	cmpb	$9, %bl
	ja	LBB0_11
## %bb.4:
	leal	(%r10,%r10,4), %ebx
	leal	(%r14,%rbx,2), %r10d
	addl	$-48, %r10d
	cmpl	$255, %r10d
	jg	LBB0_76
## %bb.5:
	leaq	2(%rdi), %r14
	cmpq	%r9, %r14
	setb	%r11b
	jae	LBB0_14
## %bb.6:
	movzbl	(%r14), %r15d
	leal	-48(%r15), %ebx
	cmpb	$9, %bl
	ja	LBB0_13
## %bb.7:
	leal	(%r10,%r10,4), %ebx
	leal	(%r15,%rbx,2), %r10d
	addl	$-48, %r10d
	cmpl	$255, %r10d
	jg	LBB0_76
## %bb.8:
	addq	$3, %rdi
	cmpq	%r9, %rdi
	setb	%r11b
	jae	LBB0_14
## %bb.9:
	movb	(%rdi), %bl
	addb	$-48, %bl
	movl	$3, %esi
	movq	%r14, %r8
	cmpb	$10, %bl
	jae	LBB0_15
	jmp	LBB0_76
LBB0_14:
	movq	%r9, %rdi
	cmpb	$48, %cl
	jne	LBB0_18
	jmp	LBB0_16
LBB0_11:
	movq	%rdi, %r8
	movl	$1, %esi
	movq	%r12, %rdi
LBB0_15:
	cmpb	$48, %cl
	jne	LBB0_18
LBB0_16:
	testl	%r10d, %r10d
	jne	LBB0_76
## %bb.17:
	cmpl	$1, %esi
	ja	LBB0_76
LBB0_18:
	movl	%r10d, (%rdx)
	testb	%r11b, %r11b
	je	LBB0_76
## %bb.19:
	cmpb	$46, (%rdi)
	jne	LBB0_76
## %bb.20:
	leaq	2(%r8), %rsi
	cmpq	%r9, %rsi
	jae	LBB0_76
## %bb.21:
	movzbl	(%rsi), %edi
	leal	-58(%rdi), %ecx
	cmpb	$-10, %cl
	jb	LBB0_76
## %bb.22:
	leal	-48(%rdi), %r15d
	leaq	3(%r8), %rbx
	cmpq	%r9, %rbx
	setb	%r10b
	jae	LBB0_30
## %bb.23:
	movzbl	(%rbx), %r11d
	leal	-48(%r11), %ecx
	xorl	%eax, %eax
	cmpb	$10, %cl
	jae	LBB0_30
## %bb.24:
	leal	(%r15,%r15,4), %ecx
	leal	(%r11,%rcx,2), %r15d
	addl	$-48, %r15d
	cmpl	$255, %r15d
	jg	LBB0_76
## %bb.25:
	leaq	4(%r8), %r14
	movb	$1, %r11b
	cmpq	%r9, %r14
	setb	%r10b
	jae	LBB0_47
## %bb.26:
	movzbl	(%r14), %ecx
	leal	-48(%rcx), %esi
	cmpb	$9, %sil
	ja	LBB0_47
## %bb.27:
	leal	(%r15,%r15,4), %esi
	leal	(%rcx,%rsi,2), %r15d
	addl	$-48, %r15d
	cmpl	$255, %r15d
	jg	LBB0_76
## %bb.28:
	addq	$5, %r8
	cmpq	%r9, %r8
	setb	%r10b
	jae	LBB0_67
## %bb.29:
	movb	(%r8), %cl
	addb	$-48, %cl
	movq	%r14, %rsi
	cmpb	$10, %cl
	jae	LBB0_31
	jmp	LBB0_76
LBB0_30:
	xorl	%r11d, %r11d
	movq	%rbx, %r8
LBB0_31:
	testl	%r15d, %r15d
	setne	%al
	cmpb	$48, %dil
	jne	LBB0_34
## %bb.32:
	orb	%r11b, %al
	jne	LBB0_33
LBB0_34:
	movl	%r15d, 4(%rdx)
	testb	%r10b, %r10b
	je	LBB0_33
## %bb.35:
	cmpb	$46, (%r8)
	jne	LBB0_33
## %bb.36:
	leaq	2(%rsi), %r8
	cmpq	%r9, %r8
	jae	LBB0_33
## %bb.37:
	movzbl	(%r8), %edi
	leal	-58(%rdi), %ecx
	movl	$0, %eax
	cmpb	$-10, %cl
	jb	LBB0_76
## %bb.38:
	leal	-48(%rdi), %r15d
	leaq	3(%rsi), %rbx
	cmpq	%r9, %rbx
	setb	%r10b
	jae	LBB0_50
## %bb.39:
	movzbl	(%rbx), %r11d
	leal	-48(%r11), %ecx
	xorl	%eax, %eax
	cmpb	$10, %cl
	jae	LBB0_50
## %bb.40:
	leal	(%r15,%r15,4), %ecx
	leal	(%r11,%rcx,2), %r15d
	addl	$-48, %r15d
	cmpl	$255, %r15d
	jg	LBB0_76
## %bb.41:
	leaq	4(%rsi), %r14
	movb	$1, %r11b
	cmpq	%r9, %r14
	setb	%r10b
	jae	LBB0_68
## %bb.42:
	movzbl	(%r14), %r8d
	leal	-48(%r8), %ecx
	cmpb	$9, %cl
	ja	LBB0_68
## %bb.43:
	leal	(%r15,%r15,4), %ecx
	leal	(%r8,%rcx,2), %r15d
	addl	$-48, %r15d
	cmpl	$255, %r15d
	jg	LBB0_76
## %bb.44:
	addq	$5, %rsi
	cmpq	%r9, %rsi
	setb	%r10b
	jae	LBB0_77
## %bb.45:
	movb	(%rsi), %cl
	addb	$-48, %cl
	movq	%r14, %r8
	cmpb	$10, %cl
	jae	LBB0_51
	jmp	LBB0_76
LBB0_13:
	movq	%r12, %r8
	movl	$2, %esi
	movq	%r14, %rdi
	cmpb	$48, %cl
	jne	LBB0_18
	jmp	LBB0_16
LBB0_47:
	movq	%rbx, %rsi
	movq	%r14, %r8
	jmp	LBB0_31
LBB0_50:
	xorl	%r11d, %r11d
	movq	%rbx, %rsi
LBB0_51:
	testl	%r15d, %r15d
	setne	%al
	cmpb	$48, %dil
	jne	LBB0_54
## %bb.52:
	orb	%r11b, %al
	jne	LBB0_33
LBB0_54:
	movl	%r15d, 8(%rdx)
	testb	%r10b, %r10b
	je	LBB0_33
## %bb.55:
	cmpb	$46, (%rsi)
	jne	LBB0_33
## %bb.56:
	leaq	2(%r8), %rax
	cmpq	%r9, %rax
	jae	LBB0_33
## %bb.57:
	movzbl	(%rax), %ecx
	leal	-58(%rcx), %esi
	movl	$0, %eax
	cmpb	$-10, %sil
	jb	LBB0_76
## %bb.58:
	leal	-48(%rcx), %r11d
	leaq	3(%r8), %rbx
	xorl	%edi, %edi
	cmpq	%r9, %rbx
	jae	LBB0_72
## %bb.59:
	movzbl	(%rbx), %edi
	leal	-48(%rdi), %esi
	xorl	%eax, %eax
	cmpb	$10, %sil
	jae	LBB0_71
## %bb.60:
	leal	(%r11,%r11,4), %esi
	leal	(%rdi,%rsi,2), %r11d
	addl	$-48, %r11d
	cmpl	$255, %r11d
	jg	LBB0_76
## %bb.61:
	leaq	4(%r8), %rbx
	movb	$1, %dil
	cmpq	%r9, %rbx
	jae	LBB0_72
## %bb.62:
	movzbl	(%rbx), %r10d
	leal	-48(%r10), %esi
	cmpb	$9, %sil
	ja	LBB0_72
## %bb.63:
	leal	(%r11,%r11,4), %esi
	leal	(%r10,%rsi,2), %r11d
	addl	$-48, %r11d
	cmpl	$255, %r11d
	jg	LBB0_76
## %bb.64:
	addq	$5, %r8
	cmpq	%r9, %r8
	jae	LBB0_73
## %bb.65:
	movb	(%r8), %bl
	addb	$-48, %bl
	cmpb	$9, %bl
	ja	LBB0_73
	jmp	LBB0_76
LBB0_33:
	xorl	%eax, %eax
LBB0_76:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_67:
	movq	%r14, %rsi
	jmp	LBB0_31
LBB0_68:
	movq	%rbx, %r8
	movq	%r14, %rsi
	jmp	LBB0_51
LBB0_71:
	xorl	%edi, %edi
LBB0_72:
	movq	%rbx, %r8
LBB0_73:
	testl	%r11d, %r11d
	setne	%al
	cmpb	$48, %cl
	jne	LBB0_75
## %bb.74:
	orb	%dil, %al
	movl	$0, %eax
	jne	LBB0_76
LBB0_75:
	movl	%r11d, 12(%rdx)
	xorl	%eax, %eax
	cmpq	%r9, %r8
	sete	%al
	jmp	LBB0_76
LBB0_77:
	movq	%r14, %r8
	jmp	LBB0_51
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__php_filter_validate_ipv4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _php_filter_validate_ipv4
__php_filter_validate_ipv4:             ; @_php_filter_validate_ipv4
	.cfi_startproc
; %bb.0:
	cmp	x1, #1
	b.lt	LBB0_75
; %bb.1:
	ldrb	w8, [x0]
	sub	w9, w8, #58
	cmn	w9, #10
	b.lo	LBB0_75
; %bb.2:
	sub	w10, w8, #48
	add	x9, x1, x0
	sub	x13, x9, #1
	add	x12, x0, #1
	add	x9, x0, x1
	cmp	x12, x9
	cset	w11, lo
	b.hs	LBB0_11
; %bb.3:
	ldrb	w14, [x12]
	sub	w15, w14, #48
	cmp	w15, #9
	b.hi	LBB0_12
; %bb.4:
	mov	w11, #10
	madd	w10, w10, w11, w14
	sub	w10, w10, #48
	cmp	w10, #255
	b.gt	LBB0_75
; %bb.5:
	add	x14, x0, #2
	cmp	x14, x9
	cset	w11, lo
	b.hs	LBB0_11
; %bb.6:
	ldrb	w15, [x14]
	sub	w16, w15, #48
	cmp	w16, #9
	b.hi	LBB0_28
; %bb.7:
	mov	w11, #10
	madd	w10, w10, w11, w15
	sub	w10, w10, #48
	cmp	w10, #255
	b.gt	LBB0_75
; %bb.8:
	add	x12, x0, #3
	cmp	x12, x9
	cset	w11, lo
	b.hs	LBB0_11
; %bb.9:
	ldrb	w13, [x12]
	sub	w13, w13, #48
	cmp	w13, #10
	b.lo	LBB0_75
; %bb.10:
	mov	w1, #3
	mov	x0, x14
	cmp	w8, #48
	b.eq	LBB0_13
	b	LBB0_15
LBB0_11:
	mov	x0, x13
	mov	x12, x9
	cmp	w8, #48
	b.eq	LBB0_13
	b	LBB0_15
LBB0_12:
	mov	w1, #1
	cmp	w8, #48
	b.ne	LBB0_15
LBB0_13:
	mov	w8, #0
	cbnz	w10, LBB0_77
; %bb.14:
	cmp	w1, #1
	b.hi	LBB0_77
LBB0_15:
	str	w10, [x2]
	tbz	w11, #0, LBB0_75
; %bb.16:
	ldrb	w8, [x12]
	cmp	w8, #46
	b.ne	LBB0_75
; %bb.17:
	add	x8, x0, #2
	cmp	x8, x9
	b.hs	LBB0_75
; %bb.18:
	ldrb	w10, [x8]
	sub	w11, w10, #58
	cmn	w11, #10
	b.lo	LBB0_75
; %bb.19:
	sub	w11, w10, #48
	add	x13, x0, #3
	cmp	x13, x9
	cset	w12, lo
	b.hs	LBB0_29
; %bb.20:
	ldrb	w14, [x13]
	sub	w15, w14, #48
	cmp	w15, #10
	b.hs	LBB0_30
; %bb.21:
	mov	w8, #10
	madd	w8, w11, w8, w14
	sub	w11, w8, #48
	cmp	w11, #255
	b.gt	LBB0_75
; %bb.22:
	add	x15, x0, #4
	cmp	x15, x9
	cset	w12, lo
	b.hs	LBB0_31
; %bb.23:
	ldrb	w8, [x15]
	sub	w14, w8, #48
	cmp	w14, #9
	b.hi	LBB0_32
; %bb.24:
	mov	w12, #10
	madd	w8, w11, w12, w8
	sub	w11, w8, #48
	cmp	w11, #255
	b.gt	LBB0_75
; %bb.25:
	add	x13, x0, #5
	cmp	x13, x9
	cset	w12, lo
	b.hs	LBB0_50
; %bb.26:
	ldrb	w8, [x13]
	sub	w8, w8, #48
	cmp	w8, #10
	b.lo	LBB0_75
; %bb.27:
	mov	w14, #1
	mov	x8, x15
	b	LBB0_33
LBB0_28:
	mov	w1, #2
	mov	x0, x12
	mov	x12, x14
	cmp	w8, #48
	b.eq	LBB0_13
	b	LBB0_15
LBB0_29:
	mov	w14, #0
	mov	x13, x9
	b	LBB0_33
LBB0_30:
	mov	w14, #0
	b	LBB0_33
LBB0_31:
	mov	w14, #1
	mov	x8, x13
	mov	x13, x9
	b	LBB0_33
LBB0_32:
	mov	w14, #1
	mov	x8, x13
	mov	x13, x15
LBB0_33:
	cmp	w11, #0
	cset	w15, ne
	cmp	w10, #48
	b.ne	LBB0_35
; %bb.34:
	orr	w10, w15, w14
	tbnz	w10, #0, LBB0_75
LBB0_35:
	str	w11, [x2, #4]
	cbz	w12, LBB0_75
; %bb.36:
	ldrb	w10, [x13]
	cmp	w10, #46
	b.ne	LBB0_75
; %bb.37:
	add	x10, x8, #2
	cmp	x10, x9
	b.hs	LBB0_75
; %bb.38:
	ldrb	w11, [x10]
	sub	w12, w11, #58
	cmn	w12, #10
	b.lo	LBB0_75
; %bb.39:
	sub	w12, w11, #48
	add	x14, x8, #3
	cmp	x14, x9
	cset	w13, lo
	b.hs	LBB0_48
; %bb.40:
	ldrb	w15, [x14]
	sub	w16, w15, #48
	cmp	w16, #10
	b.hs	LBB0_51
; %bb.41:
	mov	w10, #10
	madd	w10, w12, w10, w15
	sub	w12, w10, #48
	cmp	w12, #255
	b.gt	LBB0_75
; %bb.42:
	add	x15, x8, #4
	cmp	x15, x9
	cset	w13, lo
	b.hs	LBB0_67
; %bb.43:
	ldrb	w10, [x15]
	sub	w16, w10, #48
	cmp	w16, #9
	b.hi	LBB0_68
; %bb.44:
	mov	w13, #10
	madd	w10, w12, w13, w10
	sub	w12, w10, #48
	cmp	w12, #255
	b.gt	LBB0_75
; %bb.45:
	add	x14, x8, #5
	cmp	x14, x9
	cset	w13, lo
	b.hs	LBB0_71
; %bb.46:
	ldrb	w8, [x14]
	sub	w8, w8, #48
	cmp	w8, #10
	b.lo	LBB0_75
; %bb.47:
	mov	w8, #1
	mov	x10, x15
	b	LBB0_52
LBB0_48:
	mov	w8, #0
LBB0_49:
	mov	x14, x9
	b	LBB0_52
LBB0_50:
	mov	w14, #1
	mov	x8, x15
	mov	x13, x9
	b	LBB0_33
LBB0_51:
	mov	w8, #0
LBB0_52:
	cmp	w12, #0
	cset	w15, ne
	cmp	w11, #48
	b.ne	LBB0_54
; %bb.53:
	orr	w8, w15, w8
	tbnz	w8, #0, LBB0_75
LBB0_54:
	str	w12, [x2, #8]
	cbz	w13, LBB0_75
; %bb.55:
	ldrb	w8, [x14]
	cmp	w8, #46
	b.ne	LBB0_75
; %bb.56:
	add	x8, x10, #2
	cmp	x8, x9
	b.hs	LBB0_75
; %bb.57:
	ldrb	w8, [x8]
	sub	w11, w8, #58
	cmn	w11, #10
	b.lo	LBB0_75
; %bb.58:
	sub	w11, w8, #48
	add	x12, x10, #3
	cmp	x12, x9
	b.hs	LBB0_69
; %bb.59:
	ldrb	w13, [x12]
	sub	w14, w13, #48
	cmp	w14, #10
	b.hs	LBB0_72
; %bb.60:
	mov	w12, #10
	madd	w11, w11, w12, w13
	sub	w11, w11, #48
	cmp	w11, #255
	b.gt	LBB0_75
; %bb.61:
	add	x12, x10, #4
	cmp	x12, x9
	b.hs	LBB0_78
; %bb.62:
	ldrb	w13, [x12]
	sub	w14, w13, #48
	cmp	w14, #9
	b.hi	LBB0_66
; %bb.63:
	mov	w12, #10
	madd	w11, w11, w12, w13
	sub	w11, w11, #48
	cmp	w11, #255
	b.gt	LBB0_75
; %bb.64:
	add	x12, x10, #5
	cmp	x12, x9
	b.hs	LBB0_78
; %bb.65:
	ldrb	w10, [x12]
	sub	w10, w10, #48
	cmp	w10, #9
	b.ls	LBB0_75
LBB0_66:
	mov	w10, #1
	b	LBB0_73
LBB0_67:
	mov	w8, #1
	mov	x10, x14
	b	LBB0_49
LBB0_68:
	mov	w8, #1
	mov	x10, x14
	mov	x14, x15
	b	LBB0_52
LBB0_69:
	mov	w10, #0
LBB0_70:
	mov	x12, x9
	b	LBB0_73
LBB0_71:
	mov	w8, #1
	mov	x10, x15
	b	LBB0_49
LBB0_72:
	mov	w10, #0
LBB0_73:
	cmp	w11, #0
	cset	w13, ne
	cmp	w8, #48
	b.ne	LBB0_76
; %bb.74:
	orr	w8, w13, w10
	tbz	w8, #0, LBB0_76
LBB0_75:
	mov	w0, #0
	ret
LBB0_76:
	str	w11, [x2, #12]
	cmp	x12, x9
	cset	w8, eq
LBB0_77:
	mov	x0, x8
	ret
LBB0_78:
	mov	w10, #1
	b	LBB0_70
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__php_filter_validate_ipv4
.subsections_via_symbols
