	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function id3_read_id3v2_tag
_id3_read_id3v2_tag:                    ## @id3_read_id3v2_tag
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	L_.str(%rip), %rdx
	movl	$3, %esi
	callq	_SKIP_STRING
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_READ_U8
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_SKIP_U8
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_READ_U8
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_READ_U32
	movq	%rax, %rdi
	callq	_ID3_SYNC_SAFE
	movq	%rax, %r14
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_LOG_DEBUG
	leal	-2(%r15), %eax
	cmpl	$3, %eax
	jae	LBB0_6
## %bb.1:
	testb	$-128, %bl
	jne	LBB0_5
## %bb.2:
	cmpl	$2, %r15d
	je	LBB0_6
## %bb.3:
	movl	%r12d, -100(%rbp)               ## 4-byte Spill
	testb	$64, %bl
	jne	LBB0_9
## %bb.4:
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_5:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_LOG_DEBUG
LBB0_6:
	movq	_VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_30
## %bb.8:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_LOG_DEBUG
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	callq	_READ_U32
	movq	%rax, %rdi
	callq	_ID3_SYNC_SAFE
	movq	%rax, %r12
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_LOG_DEBUG
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_MIN
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_SKIP_BYTES
LBB0_10:
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdi
	movl	$10, %edx
	callq	_PEEK_BYTES
	cmpl	$10, %eax
	jne	LBB0_24
## %bb.11:
	cmpq	%r14, %r12
	jge	LBB0_24
## %bb.12:
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_READ_FOURCC
	movl	%eax, %ebx
	movq	%r13, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_READ_U32
	movq	%rax, %r15
	cmpl	$4, -120(%rbp)                  ## 4-byte Folded Reload
	jb	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r15, %rdi
	callq	_ID3_SYNC_SAFE
	movq	%rax, %r15
	movq	%r13, %rdi
	leaq	L_.str.12(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_LOG_DEBUG
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_SKIP_U8
	movq	%r13, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_READ_U8
	movl	%eax, %r14d
	addq	$10, %r12
	movq	%r13, %rdi
	callq	_STREAM_STATUS
	movl	%eax, %ecx
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	cmpl	(%rax), %ecx
	jne	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	testl	%ebx, %ebx
	je	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%ebx, %eax
	leaq	(%r15,%r12), %rbx
	cmpq	-112(%rbp), %rbx                ## 8-byte Folded Reload
	jg	LBB0_25
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	L_.str.15(%rip), %rsi
	testb	$2, %r14b
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_id3_read_id3v2_frame
	movl	%eax, %ecx
	leaq	L_.str.16(%rip), %rsi
	movq	%rbx, %r12
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	cmpl	(%rax), %ecx
	je	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_LOG_DEBUG
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_SKIP_BYTES
	movq	%r12, %rbx
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	leaq	-96(%rbp), %rsi
	movl	$10, %edx
	callq	_PEEK_BYTES
	cmpl	$10, %eax
	movq	-112(%rbp), %r14                ## 8-byte Reload
	jne	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, %r12
	cmpq	%r14, %rbx
	jl	LBB0_13
	jmp	LBB0_27
LBB0_24:
	movq	%r12, %rbx
LBB0_27:
	subq	%rbx, %r14
	jle	LBB0_29
LBB0_28:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_SKIP_BYTES
LBB0_29:
	movl	-100(%rbp), %eax                ## 4-byte Reload
	jmp	LBB0_7
LBB0_25:
	movq	_VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
LBB0_26:
	movq	%r12, %rbx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	subq	%rbx, %r14
	jle	LBB0_29
	jmp	LBB0_28
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ID3v2 identifier"

L_.str.1:                               ## @.str.1
	.asciz	"ID3v2 version (major)"

L_.str.2:                               ## @.str.2
	.asciz	"ID3v2 version (minor)"

L_.str.3:                               ## @.str.3
	.asciz	"ID3v2 flags"

L_.str.4:                               ## @.str.4
	.asciz	"ID3v2 syncsafe tag size"

L_.str.5:                               ## @.str.5
	.asciz	"ID3v2 tag size: %d"

	.comm	_VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED,4,2 ## @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED
L_.str.6:                               ## @.str.6
	.asciz	"skipping unsynchronised tag, not supported"

L_.str.7:                               ## @.str.7
	.asciz	"skipping ID3v2 extended header, not supported"

L_.str.8:                               ## @.str.8
	.asciz	"ID3v2 syncsafe extended header size"

L_.str.9:                               ## @.str.9
	.asciz	"ID3v2 extended header size: %d"

L_.str.10:                              ## @.str.10
	.asciz	"Frame ID"

L_.str.11:                              ## @.str.11
	.asciz	"Frame Size"

L_.str.12:                              ## @.str.12
	.asciz	"ID3v2 actual frame size: %d"

L_.str.13:                              ## @.str.13
	.asciz	"ID3v2 status message flags"

L_.str.14:                              ## @.str.14
	.asciz	"ID3v2 format description flags"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,4,2 ## @VC_CONTAINER_ERROR_FORMAT_INVALID
L_.str.15:                              ## @.str.15
	.asciz	"skipping unsynchronised frame, not supported"

L_.str.16:                              ## @.str.16
	.asciz	"skipping unsupported frame"

	.no_dead_strip	_id3_read_id3v2_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function id3_read_id3v2_tag
_id3_read_id3v2_tag:                    ; @id3_read_id3v2_tag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x27, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh4:
	ldr	x27, [x27, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	w22, [x27]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #3
	bl	_SKIP_STRING
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_READ_U8
	mov	x21, x0
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_SKIP_U8
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_READ_U8
	mov	x23, x0
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_READ_U32
	bl	_ID3_SYNC_SAFE
	mov	x20, x0
	str	x0, [sp]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_LOG_DEBUG
	sub	w8, w21, #2
	cmp	w8, #3
	b.hs	LBB0_6
; %bb.1:
	tbnz	w23, #7, LBB0_5
; %bb.2:
	cmp	w21, #2
	b.eq	LBB0_6
; %bb.3:
	tbnz	w23, #6, LBB0_9
; %bb.4:
	mov	x28, #0
	b	LBB0_11
LBB0_5:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_LOG_DEBUG
LBB0_6:
Lloh19:
	adrp	x8, _VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
LBB0_7:
	ldr	x8, [sp, #56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.8:
	mov	x0, x22
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_9:
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_LOG_DEBUG
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_READ_U32
	bl	_ID3_SYNC_SAFE
	mov	x28, x0
	str	x0, [sp]
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_LOG_DEBUG
	mov	x0, x20
	mov	x1, x28
	bl	_MIN
	mov	x1, x0
	mov	x0, x19
	bl	_SKIP_BYTES
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_LOG_DEBUG
	mov	x0, x19
	mov	x1, x26
	bl	_SKIP_BYTES
	mov	x28, x23
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	mov	x0, x19
	mov	w2, #10
	bl	_PEEK_BYTES
	cmp	w0, #10
	b.ne	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x28, x20
	b.ge	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
Lloh31:
	adrp	x1, l_.str.10@PAGE
Lloh32:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_READ_FOURCC
	mov	x24, x0
	mov	x0, x19
Lloh33:
	adrp	x1, l_.str.11@PAGE
Lloh34:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_READ_U32
	mov	x26, x0
	cmp	w21, #4
	b.lo	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x26
	bl	_ID3_SYNC_SAFE
	mov	x26, x0
	str	x0, [sp]
	mov	x0, x19
Lloh35:
	adrp	x1, l_.str.12@PAGE
Lloh36:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_LOG_DEBUG
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
Lloh37:
	adrp	x1, l_.str.13@PAGE
Lloh38:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_SKIP_U8
	mov	x0, x19
Lloh39:
	adrp	x1, l_.str.14@PAGE
Lloh40:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_READ_U8
	mov	x25, x0
	add	x23, x28, #10
	mov	x0, x19
	bl	_STREAM_STATUS
	mov	x22, x0
	ldr	w8, [x27]
	cmp	w0, w8
	ccmp	w24, #0, #4, eq
	b.eq	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x28, x26, x23
	cmp	x28, x20
	b.gt	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh41:
	adrp	x1, l_.str.15@PAGE
Lloh42:
	add	x1, x1, l_.str.15@PAGEOFF
	tbnz	w25, #1, LBB0_10
; %bb.18:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x26
	bl	_id3_read_id3v2_frame
	mov	x22, x0
	ldr	w8, [x27]
Lloh43:
	adrp	x1, l_.str.16@PAGE
Lloh44:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x23, x28
	cmp	w0, w8
	b.eq	LBB0_11
	b	LBB0_10
LBB0_19:
Lloh45:
	adrp	x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGE
Lloh46:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_FORMAT_INVALID@GOTPAGEOFF]
Lloh47:
	ldr	w22, [x8]
LBB0_20:
	mov	x28, x23
LBB0_21:
	subs	x1, x20, x28
	b.le	LBB0_7
; %bb.22:
	mov	x0, x19
	bl	_SKIP_BYTES
	b	LBB0_7
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ID3v2 identifier"

l_.str.1:                               ; @.str.1
	.asciz	"ID3v2 version (major)"

l_.str.2:                               ; @.str.2
	.asciz	"ID3v2 version (minor)"

l_.str.3:                               ; @.str.3
	.asciz	"ID3v2 flags"

l_.str.4:                               ; @.str.4
	.asciz	"ID3v2 syncsafe tag size"

l_.str.5:                               ; @.str.5
	.asciz	"ID3v2 tag size: %d"

	.comm	_VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED,4,2 ; @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED
l_.str.6:                               ; @.str.6
	.asciz	"skipping unsynchronised tag, not supported"

l_.str.7:                               ; @.str.7
	.asciz	"skipping ID3v2 extended header, not supported"

l_.str.8:                               ; @.str.8
	.asciz	"ID3v2 syncsafe extended header size"

l_.str.9:                               ; @.str.9
	.asciz	"ID3v2 extended header size: %d"

l_.str.10:                              ; @.str.10
	.asciz	"Frame ID"

l_.str.11:                              ; @.str.11
	.asciz	"Frame Size"

l_.str.12:                              ; @.str.12
	.asciz	"ID3v2 actual frame size: %d"

l_.str.13:                              ; @.str.13
	.asciz	"ID3v2 status message flags"

l_.str.14:                              ; @.str.14
	.asciz	"ID3v2 format description flags"

	.comm	_VC_CONTAINER_ERROR_FORMAT_INVALID,4,2 ; @VC_CONTAINER_ERROR_FORMAT_INVALID
l_.str.15:                              ; @.str.15
	.asciz	"skipping unsynchronised frame, not supported"

l_.str.16:                              ; @.str.16
	.asciz	"skipping unsupported frame"

	.no_dead_strip	_id3_read_id3v2_tag
.subsections_via_symbols
