	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_tag
_parse_tag:                             ## @parse_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %ebx
	cmpb	$84, (%rsi)
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %r15
	cmpb	$65, 1(%rsi)
	jne	LBB0_8
## %bb.2:
	cmpb	$71, 2(%r15)
	jne	LBB0_8
## %bb.3:
	movq	%rdi, %r14
	leaq	3(%r15), %rdx
	leaq	L_.str(%rip), %rsi
	movl	$30, %ecx
	callq	_get_string
	leaq	33(%r15), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$30, %ecx
	callq	_get_string
	leaq	63(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$30, %ecx
	callq	_get_string
	leaq	93(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_get_string
	leaq	97(%r15), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	$30, %ecx
	callq	_get_string
	cmpb	$0, 125(%r15)
	jne	LBB0_6
## %bb.4:
	movb	126(%r15), %al
	testb	%al, %al
	je	LBB0_6
## %bb.5:
	movsbl	%al, %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_av_dict_set_int
LBB0_6:
	movsbl	127(%r15), %eax
	movq	_ID3v1_GENRE_MAX@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	%eax, (%rcx)
	jl	LBB0_8
## %bb.7:
	cltq
	movq	_ff_id3v1_genre_str@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_av_dict_set
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"title"

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

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

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

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

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

	.comm	_ID3v1_GENRE_MAX,4,2            ## @ID3v1_GENRE_MAX
L_.str.6:                               ## @.str.6
	.asciz	"genre"

	.comm	_ff_id3v1_genre_str,8,3         ## @ff_id3v1_genre_str
	.no_dead_strip	_parse_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_tag
_parse_tag:                             ; @parse_tag
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldrb	w8, [x1]
	cmp	w8, #84
	b.ne	LBB0_9
; %bb.1:
	mov	x20, x1
	ldrb	w8, [x1, #1]
	cmp	w8, #65
	b.ne	LBB0_9
; %bb.2:
	ldrb	w8, [x20, #2]
	cmp	w8, #71
	b.ne	LBB0_9
; %bb.3:
	mov	x19, x0
	add	x2, x20, #3
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w3, #30
	bl	_get_string
	add	x2, x20, #33
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #30
	bl	_get_string
	add	x2, x20, #63
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w3, #30
	bl	_get_string
	add	x2, x20, #93
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w3, #4
	bl	_get_string
	add	x2, x20, #97
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w3, #30
	bl	_get_string
	ldrb	w8, [x20, #125]
	cbnz	w8, LBB0_6
; %bb.4:
	ldrb	w8, [x20, #126]
	cbz	w8, LBB0_6
; %bb.5:
	sxtb	w2, w8
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_av_dict_set_int
LBB0_6:
	ldrsb	w8, [x20, #127]
Lloh12:
	adrp	x9, _ID3v1_GENRE_MAX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ID3v1_GENRE_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, w8
	b.lt	LBB0_8
; %bb.7:
	sxtw	x8, w8
Lloh15:
	adrp	x9, _ff_id3v1_genre_str@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ff_id3v1_genre_str@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	w2, [x9, x8, lsl #2]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_av_dict_set
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"title"

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

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

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

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

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

	.comm	_ID3v1_GENRE_MAX,4,2            ; @ID3v1_GENRE_MAX
l_.str.6:                               ; @.str.6
	.asciz	"genre"

	.comm	_ff_id3v1_genre_str,8,3         ; @ff_id3v1_genre_str
	.no_dead_strip	_parse_tag
.subsections_via_symbols
