	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_metadata_vorbiscomment_   ## -- Begin function read_metadata_vorbiscomment_
	.p2align	4, 0x90
_read_metadata_vorbiscomment_:          ## @read_metadata_vorbiscomment_
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_FLAC__bitreader_is_consumed_byte_aligned
	movl	%eax, %edi
	callq	_FLAC__ASSERT
	cmpl	$8, %ebx
	jb	LBB0_32
## %bb.1:
	movq	_FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$32, (%rax)
	sete	%dil
	callq	_FLAC__ASSERT
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %r13
	movq	%r13, %rsi
	callq	_FLAC__bitreader_read_uint32_little_endian
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_38
## %bb.2:
	addl	$-8, %ebx
	movl	(%r13), %edi
	testl	%edi, %edi
	jle	LBB0_9
## %bb.3:
	movl	%ebx, %eax
	subl	%edi, %eax
	jae	LBB0_5
## %bb.4:
	movl	$0, 16(%r15)
	movq	$0, 24(%r15)
LBB0_32:
	testl	%ebx, %ebx
	je	LBB0_37
## %bb.33:
	cmpl	$0, (%r15)
	jg	LBB0_35
## %bb.34:
	movq	8(%r15), %rdi
	callq	_free
	movq	$0, 8(%r15)
LBB0_35:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_FLAC__bitreader_skip_byte_block_aligned_no_crc
	testl	%eax, %eax
	je	LBB0_36
LBB0_37:
	movl	$1, %r12d
	jmp	LBB0_38
LBB0_36:
	xorl	%r12d, %r12d
	jmp	LBB0_38
LBB0_9:
	movq	$0, 24(%r15)
	jmp	LBB0_10
LBB0_5:
	movl	%eax, %ebx
	movl	$1, %esi
	callq	_safe_malloc_add_2op_
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%r14), %rcx
	movl	(%rcx), %edi
	movl	(%r13), %edx
	movq	%rax, %rsi
	callq	_FLAC__bitreader_read_byte_block_aligned_no_crc
	testl	%eax, %eax
	je	LBB0_38
## %bb.8:
	movq	24(%r15), %rax
	movslq	16(%r15), %rcx
	movb	$0, (%rax,%rcx)
LBB0_10:
	movq	_FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$32, (%rax)
	sete	%dil
	callq	_FLAC__ASSERT
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_FLAC__bitreader_read_uint32_little_endian
	testl	%eax, %eax
	je	LBB0_38
## %bb.11:
	movl	(%r15), %edi
	cmpl	$100001, %edi                   ## imm = 0x186A1
	jl	LBB0_13
## %bb.12:
	movl	$0, (%r15)
	jmp	LBB0_38
LBB0_13:
	testl	%edi, %edi
	jle	LBB0_32
## %bb.14:
	movl	$16, %esi
	callq	_safe_malloc_mul_2op_p
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:
	cmpl	$0, (%r15)
	je	LBB0_32
## %bb.16:
	movl	$0, (%rax)
	movq	$0, 8(%rax)
	xorl	%edi, %edi
	movq	_FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN@GOTPCREL(%rip), %rax
	cmpl	$32, (%rax)
	sete	%dil
	callq	_FLAC__ASSERT
	xorl	%r12d, %r12d
	cmpl	$4, %ebx
	jae	LBB0_17
LBB0_31:
	movl	%r12d, (%r15)
	jmp	LBB0_32
LBB0_20:
	movl	$0, (%r15)
LBB0_6:
	movq	_FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
LBB0_38:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rsi
	addq	%r13, %rsi
	callq	_FLAC__bitreader_read_uint32_little_endian
	testl	%eax, %eax
	je	LBB0_19
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=1
	addl	$-4, %ebx
	movq	8(%r15), %rax
	movl	(%rax,%r13), %edi
	testl	%edi, %edi
	jle	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%ebx, %eax
	subl	%edi, %ebx
	jb	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	$1, %esi
	callq	_safe_malloc_add_2op_
	movq	8(%r15), %rcx
	movq	%rax, 8(%rcx,%r13)
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	(%rcx,%r13), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rax
	movq	8(%rax,%r13), %rsi
	movl	(%rax,%r13), %edx
	callq	_FLAC__bitreader_read_byte_block_aligned_no_crc
	testl	%eax, %eax
	je	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%r15), %rax
	movq	8(%rax,%r13), %rcx
	movslq	(%rax,%r13), %rax
	movb	$0, (%rcx,%rax)
	jmp	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	$0, 8(%rax,%r13)
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jae	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	8(%r15), %rax
	movl	$0, 16(%rax,%r13)
	movq	$0, 24(%rax,%r13)
	xorl	%edi, %edi
	movq	_FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN@GOTPCREL(%rip), %rax
	cmpl	$32, (%rax)
	sete	%dil
	callq	_FLAC__ASSERT
	addq	$16, %r13
	cmpl	$4, %ebx
	jae	LBB0_18
	jmp	LBB0_31
LBB0_23:
	movl	%r12d, (%r15)
	movl	%eax, %ebx
	jmp	LBB0_32
LBB0_25:
	movq	_FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
LBB0_19:
	movl	%r12d, (%r15)
	xorl	%r12d, %r12d
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN,4,2 ## @FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN
	.comm	_FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR,8,3 ## @FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR
	.comm	_FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN,4,2 ## @FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_metadata_vorbiscomment_   ; -- Begin function read_metadata_vorbiscomment_
	.p2align	2
_read_metadata_vorbiscomment_:          ; @read_metadata_vorbiscomment_
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_FLAC__bitreader_is_consumed_byte_aligned
	bl	_FLAC__ASSERT
	subs	w23, w21, #8
	b.lo	LBB0_6
; %bb.1:
Lloh0:
	adrp	x22, _FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #32
	cset	w0, eq
	bl	_FLAC__ASSERT
	ldr	x8, [x20]
	ldr	w0, [x8]
	add	x21, x19, #16
	mov	x1, x21
	bl	_FLAC__bitreader_read_uint32_little_endian
	cbz	w0, LBB0_11
; %bb.2:
	ldr	w0, [x21]
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.3:
	subs	w24, w23, w0
	b.hs	LBB0_13
; %bb.4:
	str	wzr, [x19, #16]
	str	xzr, [x19, #24]
LBB0_5:
	mov	x21, x23
LBB0_6:
	cbz	w21, LBB0_10
LBB0_7:
	ldr	w8, [x19]
	cmp	w8, #0
	b.gt	LBB0_9
; %bb.8:
	ldr	x0, [x19, #8]
	bl	_free
	str	xzr, [x19, #8]
LBB0_9:
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_FLAC__bitreader_skip_byte_block_aligned_no_crc
	cbz	w0, LBB0_11
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	str	xzr, [x19, #24]
	b	LBB0_16
LBB0_13:
	mov	w1, #1
	bl	_safe_malloc_add_2op_
	str	x0, [x19, #24]
	cbz	x0, LBB0_26
; %bb.14:
	mov	x1, x0
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w2, [x21]
	bl	_FLAC__bitreader_read_byte_block_aligned_no_crc
	cbz	w0, LBB0_11
; %bb.15:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #16]
	strb	wzr, [x8, x9]
	mov	x23, x24
LBB0_16:
Lloh2:
	adrp	x8, _FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #32
	cset	w0, eq
	bl	_FLAC__ASSERT
	ldr	x8, [x20]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_FLAC__bitreader_read_uint32_little_endian
	cbz	w0, LBB0_11
; %bb.17:
	ldr	w0, [x19]
	mov	w8, #34465
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.lt	LBB0_19
; %bb.18:
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_11
LBB0_19:
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.20:
	mov	w1, #16
	bl	_safe_malloc_mul_2op_p
	str	x0, [x19, #8]
	cbz	x0, LBB0_25
; %bb.21:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.22:
	str	wzr, [x0]
	str	xzr, [x0, #8]
	ldr	w8, [x22]
	cmp	w8, #32
	cset	w0, eq
	bl	_FLAC__ASSERT
	cmp	w23, #4
	b.hs	LBB0_27
; %bb.23:
	mov	w24, #0
LBB0_24:
	str	w24, [x19]
	b	LBB0_5
LBB0_25:
	str	wzr, [x19]
LBB0_26:
Lloh5:
	adrp	x8, _FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	str	x8, [x9]
	b	LBB0_11
LBB0_27:
	mov	x24, #0
	mov	w25, #24
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	sub	x1, x8, #24
	bl	_FLAC__bitreader_read_uint32_little_endian
	cbz	w0, LBB0_37
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	sub	w21, w23, #4
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldur	w0, [x8, #-24]
	cmp	w0, #1
	b.lt	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	subs	w23, w21, w0
	b.lo	LBB0_38
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	w1, #1
	bl	_safe_malloc_add_2op_
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	stur	x0, [x8, #-16]
	cbz	x0, LBB0_39
; %bb.32:                               ;   in Loop: Header=BB0_28 Depth=1
	ldur	w2, [x8, #-24]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldur	x1, [x8, #-16]
	ldur	w2, [x8, #-24]
	bl	_FLAC__bitreader_read_byte_block_aligned_no_crc
	cbz	w0, LBB0_24
; %bb.33:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	ldur	x9, [x8, #-16]
	ldursw	x8, [x8, #-24]
	strb	wzr, [x9, x8]
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_28 Depth=1
	stur	xzr, [x8, #-16]
	mov	x23, x21
LBB0_35:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	cmp	x24, x8
	b.hs	LBB0_5
; %bb.36:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x19, #8]
	add	x8, x8, x25
	stur	wzr, [x8, #-8]
	str	xzr, [x8]
	ldr	w8, [x22]
	cmp	w8, #32
	cset	w0, eq
	bl	_FLAC__ASSERT
	add	x25, x25, #16
	cmp	w23, #4
	b.hs	LBB0_28
	b	LBB0_24
LBB0_37:
	str	w24, [x19]
	b	LBB0_11
LBB0_38:
	str	w24, [x19]
	cbnz	w21, LBB0_7
	b	LBB0_10
LBB0_39:
Lloh8:
	adrp	x8, _FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	str	x8, [x9]
	str	w24, [x19]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN,4,2 ; @FLAC__STREAM_METADATA_VORBIS_COMMENT_ENTRY_LENGTH_LEN
	.comm	_FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR,8,3 ; @FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR
	.comm	_FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN,4,2 ; @FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN
.subsections_via_symbols
