	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _php_filter_validate_domain
__php_filter_validate_domain:           ## @_php_filter_validate_domain
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movslq	%esi, %rax
	leaq	(%rdi,%rax), %rcx
	leaq	(%rdi,%rax), %r13
	decq	%r13
	xorl	%esi, %esi
	cmpb	$46, -1(%rdi,%rax)
	cmovneq	%rcx, %r13
	sete	%sil
	subq	%rsi, %rax
	xorl	%r14d, %r14d
	cmpq	$253, %rax
	ja	LBB0_18
## %bb.1:
	movq	%rdi, %r12
	movzbl	(%rdi), %ebx
	cmpl	$46, %ebx
	je	LBB0_18
## %bb.2:
	movq	_FILTER_FLAG_HOSTNAME@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_isalnum
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_18
LBB0_4:
	subq	%r12, %r13
	jbe	LBB0_17
## %bb.5:
	movb	$1, %r15b
	movl	$1, %r14d
	cmpb	$46, %bl
	je	LBB0_6
	.p2align	4, 0x90
LBB0_10:
	cmpb	$63, %r15b
	ja	LBB0_19
## %bb.11:
	testl	%edx, %edx
	je	LBB0_14
## %bb.12:
	cmpb	$45, %bl
	je	LBB0_14
## %bb.13:
	movzbl	%bl, %edi
	callq	_isalnum
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_19
LBB0_14:
	incb	%r15b
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_6:
	movzbl	(%r12,%r14), %ebx
	cmpl	$46, %ebx
	je	LBB0_19
## %bb.7:
	movb	$1, %r15b
	testl	%edx, %edx
	je	LBB0_15
## %bb.8:
	movzbl	-2(%r12,%r14), %edi
	callq	_isalnum
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:
	movl	%ebx, %edi
	callq	_isalnum
	testl	%eax, %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	je	LBB0_19
LBB0_15:
	cmpq	%r14, %r13
	je	LBB0_17
## %bb.16:
	movb	(%r12,%r14), %bl
	incq	%r14
	cmpb	$46, %bl
	jne	LBB0_10
	jmp	LBB0_6
LBB0_17:
	movl	$1, %r14d
	jmp	LBB0_18
LBB0_19:
	xorl	%r14d, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILTER_FLAG_HOSTNAME,4,2       ## @FILTER_FLAG_HOSTNAME
	.no_dead_strip	__php_filter_validate_domain
.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_domain
__php_filter_validate_domain:           ; @_php_filter_validate_domain
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x8, w1
	add	x9, x0, x8
	mov	x10, x9
	ldrb	w11, [x10, #-1]!
	cmp	w11, #46
	cset	w11, eq
	csel	x23, x10, x9, eq
	sub	x8, x8, x11
	cmp	x8, #253
	b.hi	LBB0_2
; %bb.1:
	mov	x20, x0
	ldrb	w19, [x0]
	cmp	w19, #46
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh0:
	adrp	x8, _FILTER_FLAG_HOSTNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILTER_FLAG_HOSTNAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w21, w8, w2
	cbz	w21, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_isalnum
	cbz	w0, LBB0_3
LBB0_6:
	cmp	x23, x20
	b.ls	LBB0_19
; %bb.7:
	add	x22, x20, #1
	mvn	x8, x20
	add	x20, x8, x23
	mov	w23, #1
	cmp	w19, #46
	b.eq	LBB0_13
LBB0_8:
	cmp	w23, #63
	b.hi	LBB0_2
; %bb.9:
	cbz	w21, LBB0_12
; %bb.10:
	cmp	w19, #45
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_isalnum
	cbz	w0, LBB0_3
LBB0_12:
	add	w23, w23, #1
	cbnz	x20, LBB0_18
	b	LBB0_19
LBB0_13:
	ldrb	w19, [x22]
	cmp	w19, #46
	b.eq	LBB0_2
; %bb.14:
	cbz	w21, LBB0_17
; %bb.15:
	ldurb	w0, [x22, #-2]
	bl	_isalnum
	cbz	w0, LBB0_3
; %bb.16:
	mov	x0, x19
	bl	_isalnum
	cbz	w0, LBB0_3
LBB0_17:
	mov	w23, #1
	cbz	x20, LBB0_19
LBB0_18:
	ldrb	w19, [x22], #1
	sub	x20, x20, #1
	cmp	w19, #46
	b.ne	LBB0_8
	b	LBB0_13
LBB0_19:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FILTER_FLAG_HOSTNAME,4,2       ; @FILTER_FLAG_HOSTNAME
	.no_dead_strip	__php_filter_validate_domain
.subsections_via_symbols
