	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_priv
_read_priv:                             ## @read_priv
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	%edx, -44(%rbp)
	movl	$24, %edi
	callq	_av_mallocz
	movq	%rax, %r15
	movq	%rax, -56(%rbp)
	movl	$12, %edi
	callq	_av_mallocz
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_6
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	_ID3v2_ENCODING_ISO8859@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%rbx), %rcx
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_decode_str
	testq	%rax, %rax
	js	LBB0_6
## %bb.3:
	movl	-44(%rbp), %edi
	callq	_av_malloc
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	-44(%rbp), %edx
	movl	%edx, (%rbx)
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_avio_read
	cmpl	(%rbx), %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r15)
	movq	-56(%rbp), %rax
	movq	%rbx, 16(%rax)
	movq	(%r14), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, (%r14)
	jmp	LBB0_9
LBB0_6:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_free_priv
LBB0_8:
	leaq	-56(%rbp), %rdi
	callq	_av_freep
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ID3v2_ENCODING_ISO8859,4,2     ## @ID3v2_ENCODING_ISO8859
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PRIV"

	.no_dead_strip	_read_priv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_priv
_read_priv:                             ; @read_priv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x4
	mov	x22, x1
	mov	x23, x0
	str	w2, [sp, #12]
	mov	w0, #24
	bl	_av_mallocz
	mov	x21, x0
	str	x0, [sp]
	mov	w0, #12
	bl	_av_mallocz
	mov	x20, x0
	cbz	x21, LBB0_6
; %bb.1:
	cbz	x20, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _ID3v2_ENCODING_ISO8859@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ID3v2_ENCODING_ISO8859@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, x20, #8
	add	x4, sp, #12
	mov	x0, x23
	mov	x1, x22
	bl	_decode_str
	tbnz	x0, #63, LBB0_6
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_av_malloc
	str	w0, [x20, #4]
	cbz	w0, LBB0_6
; %bb.4:
	mov	x1, x0
	ldr	w2, [sp, #12]
	str	w2, [x20]
	mov	x0, x22
	bl	_avio_read
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x21]
	ldr	x8, [sp]
	str	x20, [x8, #16]
	ldr	x9, [x19]
	str	x9, [x8, #8]
	str	x8, [x19]
	b	LBB0_9
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_free_priv
LBB0_8:
	mov	x0, sp
	bl	_av_freep
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ID3v2_ENCODING_ISO8859,4,2     ; @ID3v2_ENCODING_ISO8859
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PRIV"

	.no_dead_strip	_read_priv
.subsections_via_symbols
