	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_metadata
_load_metadata:                         ## @load_metadata
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %r14
	movq	8(%r14), %rbx
	movq	(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_add_meta
	movq	8(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_add_meta
	movq	16(%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_add_meta
	movq	24(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_add_meta
	movq	32(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_add_meta
	movq	40(%rbx), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_add_meta
	movq	48(%rbx), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_add_meta
	movl	(%r14), %edi
	callq	_gme_track_count
	leaq	L_.str.7(%rip), %rdx
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movl	$30, %esi
	movl	%eax, %ecx
	callq	_snprintf
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_add_meta
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"system"

L_.str.1:                               ## @.str.1
	.asciz	"game"

L_.str.2:                               ## @.str.2
	.asciz	"song"

L_.str.3:                               ## @.str.3
	.asciz	"author"

L_.str.4:                               ## @.str.4
	.asciz	"copyright"

L_.str.5:                               ## @.str.5
	.asciz	"comment"

L_.str.6:                               ## @.str.6
	.asciz	"dumper"

L_.str.7:                               ## @.str.7
	.asciz	"%d"

L_.str.8:                               ## @.str.8
	.asciz	"tracks"

	.no_dead_strip	_load_metadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_metadata
_load_metadata:                         ; @load_metadata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	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, #40]
	ldr	x20, [x0]
	ldr	x21, [x20, #8]
	ldr	x2, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_add_meta
	ldr	x2, [x21, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_add_meta
	ldr	x2, [x21, #16]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_add_meta
	ldr	x2, [x21, #24]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_add_meta
	ldr	x2, [x21, #32]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_add_meta
	ldr	x2, [x21, #40]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_add_meta
	ldr	x2, [x21, #48]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_add_meta
	ldr	w0, [x20]
	bl	_gme_track_count
	mov	x3, x0
Lloh17:
	adrp	x2, l_.str.7@PAGE
Lloh18:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x0, sp, #10
	mov	w1, #30
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_snprintf
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #10
	mov	x0, x19
	bl	_add_meta
	ldr	x8, [sp, #40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"system"

l_.str.1:                               ; @.str.1
	.asciz	"game"

l_.str.2:                               ; @.str.2
	.asciz	"song"

l_.str.3:                               ; @.str.3
	.asciz	"author"

l_.str.4:                               ; @.str.4
	.asciz	"copyright"

l_.str.5:                               ; @.str.5
	.asciz	"comment"

l_.str.6:                               ; @.str.6
	.asciz	"dumper"

l_.str.7:                               ; @.str.7
	.asciz	"%d"

l_.str.8:                               ; @.str.8
	.asciz	"tracks"

	.no_dead_strip	_load_metadata
.subsections_via_symbols
