	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _vorbis_unpack_comment
__vorbis_unpack_comment:                ## @_vorbis_unpack_comment
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$32, %esi
	callq	_oggpack_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movl	%eax, %ebx
	movl	(%r15), %eax
	addl	$-8, %eax
	cmpl	%eax, %ebx
	jg	LBB0_10
## %bb.2:
	movl	%ebx, %edi
	incl	%edi
	movl	$1, %esi
	callq	__ogg_calloc
	movq	%rax, 24(%r14)
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	__v_readstring
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_oggpack_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.3:
	movl	%eax, %r12d
	movl	(%r15), %ebx
	movq	%r15, %rdi
	callq	_oggpack_bytes
	subl	%eax, %ebx
	sarl	$2, %ebx
	cmpl	%ebx, %r12d
	jg	LBB0_10
## %bb.4:
	movl	%r12d, (%r14)
	incl	%r12d
	movl	%r12d, %edi
	movl	$8, %esi
	callq	__ogg_calloc
	movq	%rax, 16(%r14)
	movl	(%r14), %edi
	incl	%edi
	movl	$4, %esi
	callq	__ogg_calloc
	movq	%rax, 8(%r14)
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.5:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_oggpack_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %ebx
	movl	(%r15), %r13d
	movq	%r15, %rdi
	callq	_oggpack_bytes
	subl	%eax, %r13d
	cmpl	%r13d, %ebx
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rax
	movl	%ebx, (%rax,%r12,4)
	movl	%ebx, %edi
	incl	%edi
	movl	$1, %esi
	callq	__ogg_calloc
	movq	16(%r14), %rcx
	movq	%rax, (%rcx,%r12,8)
	movq	16(%r14), %rax
	movq	(%rax,%r12,8), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	__v_readstring
	incq	%r12
	movslq	(%r14), %rax
	cmpq	%rax, %r12
	jl	LBB0_6
LBB0_9:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_oggpack_read
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	$1, %ecx
	je	LBB0_11
LBB0_10:
	movq	%r14, %rdi
	callq	_vorbis_comment_clear
	movq	_OV_EBADHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV_EBADHEADER,4,2              ## @OV_EBADHEADER
	.no_dead_strip	__vorbis_unpack_comment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _vorbis_unpack_comment
__vorbis_unpack_comment:                ; @_vorbis_unpack_comment
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #32
	bl	_oggpack_read
	tbnz	w0, #31, LBB0_11
; %bb.1:
	mov	x21, x0
	ldr	w8, [x20]
	sub	w8, w8, #8
	cmp	w0, w8
	b.gt	LBB0_11
; %bb.2:
	add	w0, w21, #1
	mov	w1, #1
	bl	__ogg_calloc
	mov	x1, x0
	str	x0, [x19, #24]
	mov	x0, x20
	mov	x2, x21
	bl	__v_readstring
	mov	x0, x20
	mov	w1, #32
	bl	_oggpack_read
	tbnz	w0, #31, LBB0_11
; %bb.3:
	mov	x21, x0
	ldr	w22, [x20]
	mov	x0, x20
	bl	_oggpack_bytes
	sub	w8, w22, w0
	cmp	w21, w8, asr #2
	b.gt	LBB0_11
; %bb.4:
	str	w21, [x19]
	add	w0, w21, #1
	mov	w1, #8
	bl	__ogg_calloc
	str	x0, [x19, #16]
	ldr	w8, [x19]
	add	w0, w8, #1
	mov	w1, #4
	bl	__ogg_calloc
	str	x0, [x19, #8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #32
	bl	_oggpack_read
	tbnz	w0, #31, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x0
	ldr	w23, [x20]
	mov	x0, x20
	bl	_oggpack_bytes
	sub	w8, w23, w0
	cmp	w21, w8
	b.gt	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	w21, [x8, x22, lsl #2]
	add	w0, w21, #1
	mov	w1, #1
	bl	__ogg_calloc
	ldr	x8, [x19, #16]
	lsl	x9, x22, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #16]
	ldr	x1, [x8, x9]
	mov	x0, x20
	mov	x2, x21
	bl	__v_readstring
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.lt	LBB0_6
LBB0_9:
	mov	x0, x20
	mov	w1, #1
	bl	_oggpack_read
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	x0, x19
	bl	_vorbis_comment_clear
Lloh0:
	adrp	x8, _OV_EBADHEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OV_EBADHEADER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OV_EBADHEADER,4,2              ; @OV_EBADHEADER
	.no_dead_strip	__vorbis_unpack_comment
.subsections_via_symbols
