	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__format_vorbiscomment_entry_is_legal ## -- Begin function FLAC__format_vorbiscomment_entry_is_legal
	.p2align	4, 0x90
_FLAC__format_vorbiscomment_entry_is_legal: ## @FLAC__format_vorbiscomment_entry_is_legal
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	%esi, %r15d
	addq	%rdi, %r15
	testl	%esi, %esi
	je	LBB0_5
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$61, %al
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	addb	$-126, %al
	cmpb	$-94, %al
	jb	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	cmpq	%r15, %rbx
	jb	LBB0_1
LBB0_5:
	xorl	%r14d, %r14d
	cmpq	%r15, %rbx
	je	LBB0_10
## %bb.6:
	incq	%rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, %rbx
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_utf8len_
	movl	%eax, %ecx
	addq	%rcx, %rbx
	testl	%eax, %eax
	jne	LBB0_7
	jmp	LBB0_10
LBB0_9:
	sete	%al
	movzbl	%al, %r14d
	jmp	LBB0_10
LBB0_3:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__format_vorbiscomment_entry_is_legal ; -- Begin function FLAC__format_vorbiscomment_entry_is_legal
	.p2align	2
_FLAC__format_vorbiscomment_entry_is_legal: ; @FLAC__format_vorbiscomment_entry_is_legal
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x20, x0, w1, uxtw
	cbz	w1, LBB0_4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0]
	cmp	w8, #61
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w8, w8, #126
	cmn	w8, #94
	b.lo	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x0, #1
	cmp	x0, x20
	b.lo	LBB0_1
LBB0_4:
	cmp	x0, x20
	b.eq	LBB0_8
; %bb.5:
	add	x19, x0, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x19, x20
	b.hs	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_utf8len_
	add	x19, x19, w0, uxtw
	cbnz	w0, LBB0_6
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	cset	w0, eq
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
