	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function valid_star
_valid_star:                            ## @valid_star
	.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	_LABEL_START@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_LABEL_HYPHEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	orl	%r10d, %r9d
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	_LABEL_IDNA@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movl	%r9d, %r15d
	notl	%r15d
	movq	_X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movl	%r10d, %eax
	notl	%eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%r10d, %r14d
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%r10d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	%ecx, %r14d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %r10d                ## 4-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	andl	%r15d, %r14d
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	decq	%r12
	je	LBB0_26
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13), %esi
	cmpb	$42, %sil
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %sil
	cmpq	$1, %r12
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$46, 1(%r13)
	sete	%sil
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_27
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r11d, %ecx
	andl	%r14d, %ecx
	orl	%edi, %ecx
	jne	LBB0_27
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%edx, %edx
	sete	%r8b
	testl	%r10d, %r14d
	setne	%bl
	movl	%ebx, %ecx
	andb	%sil, %cl
	orb	%r8b, %cl
	cmpb	$1, %cl
	jne	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	orb	%sil, %bl
	je	LBB0_27
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	andl	-64(%rbp), %r14d                ## 4-byte Folded Reload
	xorl	%edi, %edi
	movq	%r13, %rbx
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, %ecx
	andb	$-33, %cl
	addb	$-65, %cl
	cmpb	$26, %cl
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	leal	-48(%rsi), %ecx
	cmpb	$9, %cl
	jbe	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, %sil
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$46, %sil
	jne	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r14d, %r9d
	jne	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	%edi
	movl	%r10d, %r14d
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%r10d, %r14d
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$4, %r12
	jb	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	movl	%r11d, %r15d
	callq	_strncasecmp
	movl	%r15d, %r11d
	movl	%r15d, %ecx
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_17
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%r10d, %r14d
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	orl	-60(%rbp), %r14d                ## 4-byte Folded Reload
	jmp	LBB0_25
LBB0_1:
	xorl	%edi, %edi
	movl	%r10d, %r14d
	xorl	%ebx, %ebx
LBB0_26:
	xorl	%eax, %eax
	cmpl	$2, %edi
	cmovlq	%rax, %rbx
	testl	%r14d, %r9d
	cmovneq	%rax, %rbx
	movq	%rbx, %rax
LBB0_27:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LABEL_START,4,2                ## @LABEL_START
	.comm	_LABEL_IDNA,4,2                 ## @LABEL_IDNA
	.comm	_X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS,4,2 ## @X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xn--"

	.comm	_LABEL_HYPHEN,4,2               ## @LABEL_HYPHEN
	.no_dead_strip	_valid_star
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function valid_star
_valid_star:                            ; @valid_star
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
Lloh0:
	adrp	x8, _LABEL_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LABEL_START@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _LABEL_HYPHEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LABEL_HYPHEN@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	orr	w21, w22, w1
	cbz	x19, LBB0_22
; %bb.1:
	mov	x20, x0
	mov	x0, #0
	mov	w28, #0
Lloh6:
	adrp	x8, _LABEL_IDNA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LABEL_IDNA@GOTPAGEOFF]
Lloh8:
	ldr	w26, [x8]
	mvn	w27, w21
Lloh9:
	adrp	x8, _X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w25, w8, w2
	mvn	w24, w1
	mov	x23, x1
	str	w1, [sp, #4]                    ; 4-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w23, w23, w27
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	subs	x19, x19, #1
	b.eq	LBB0_23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #42
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x19, #1
	b.ne	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	cbz	x0, LBB0_12
	b	LBB0_24
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w8, #0xffffffdf
	sub	w9, w9, #65
	sub	w10, w8, #48
	cmp	w9, #26
	ccmp	w10, #9, #0, hs
	b.hi	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w23, w1
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x19, #4
	b.lo	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x20
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strncasecmp
	ldr	w1, [sp, #4]                    ; 4-byte Folded Reload
	cmp	x0, #0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	csel	w8, w26, wzr, eq
	orr	w23, w23, w8
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x20, #1]
	cmp	w8, #46
	cset	w8, eq
	cbnz	x0, LBB0_24
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w26, w23
	mov	x0, #0
	orr	w9, w9, w28
	cbnz	w9, LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w23, w1
	cmp	w25, #0
	cset	w10, eq
	cmp	w9, #0
	cset	w9, ne
	and	w11, w9, w8
	orr	w10, w10, w11
	cmp	w10, #1
	b.ne	LBB0_25
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	orr	w8, w9, w8
	cbz	w8, LBB0_25
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	and	w23, w23, w24
	mov	x0, x20
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #45
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #46
	b.ne	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	tst	w21, w23
	b.ne	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w28, w28, #1
	mov	x23, x1
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w23, w1
	b.ne	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	orr	w23, w22, w23
	b	LBB0_3
LBB0_22:
	mov	w28, #0
	mov	x0, #0
	mov	x23, x1
LBB0_23:
	and	w8, w21, w23
	cmp	w28, #2
	ccmp	w8, #0, #0, ge
	csel	x0, xzr, x0, ne
	b	LBB0_25
LBB0_24:
	mov	x0, #0
LBB0_25:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LABEL_START,4,2                ; @LABEL_START
	.comm	_LABEL_IDNA,4,2                 ; @LABEL_IDNA
	.comm	_X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS,4,2 ; @X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xn--"

	.comm	_LABEL_HYPHEN,4,2               ; @LABEL_HYPHEN
	.no_dead_strip	_valid_star
.subsections_via_symbols
