	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__format_picture_is_legal  ## -- Begin function FLAC__format_picture_is_legal
	.p2align	4, 0x90
_FLAC__format_picture_is_legal:         ## @FLAC__format_picture_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	%rsi, %r14
	movq	(%rdi), %rax
	movb	(%rax), %cl
	testb	%cl, %cl
	je	LBB0_8
## %bb.1:
	incq	%rax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addb	$-127, %cl
	cmpb	$-96, %cl
	jbe	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rax), %ecx
	incq	%rax
	testb	%cl, %cl
	jne	LBB0_3
LBB0_8:
	movq	8(%rdi), %rbx
	movl	$1, %r15d
	cmpq	$0, (%rbx)
	je	LBB0_13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_utf8len_
	testl	%eax, %eax
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %eax
	cmpq	$0, (%rbx,%rax,8)
	leaq	(%rbx,%rax,8), %rbx
	jne	LBB0_9
	jmp	LBB0_13
LBB0_4:
	testq	%r14, %r14
	je	LBB0_7
## %bb.5:
	leaq	L_.str(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	testq	%r14, %r14
	je	LBB0_7
## %bb.11:
	leaq	L_.str.1(%rip), %rax
LBB0_6:
	movq	%rax, (%r14)
LBB0_7:
	xorl	%r15d, %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MIME type string must contain only printable ASCII characters (0x20-0x7e)"

L_.str.1:                               ## @.str.1
	.asciz	"description string must be valid UTF-8"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FLAC__format_picture_is_legal  ; -- Begin function FLAC__format_picture_is_legal
	.p2align	2
_FLAC__format_picture_is_legal:         ; @FLAC__format_picture_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
	mov	x19, x1
	ldr	x8, [x0]
	ldrb	w9, [x8]
	cbz	w9, LBB0_4
; %bb.1:
	add	x8, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w9, w9, #127
	cmn	w9, #96
	b.ls	LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w9, [x8], #1
	cbnz	w9, LBB0_2
LBB0_4:
	ldr	x20, [x0, #8]
	ldr	x8, [x20]
	cbz	x8, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_utf8len_
	cbz	w0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, w0, uxtw #3
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
LBB0_7:
	mov	w0, #1
	b	LBB0_14
LBB0_8:
	cbz	x19, LBB0_13
; %bb.9:
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	b	LBB0_12
LBB0_10:
	cbz	x19, LBB0_13
; %bb.11:
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_12:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MIME type string must contain only printable ASCII characters (0x20-0x7e)"

l_.str.1:                               ; @.str.1
	.asciz	"description string must be valid UTF-8"

.subsections_via_symbols
