	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_metadata
_process_metadata:                      ## @process_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.1:
	movq	%r9, %r14
	movl	%ecx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	cmpl	$130, %r8d
	je	LBB0_6
## %bb.2:
	cmpl	$129, %r8d
	je	LBB0_12
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	cmpl	$128, %r8d
	jne	LBB0_11
## %bb.4:
	movl	%ebx, %edx
	movl	$128, %ecx
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	movq	%r15, %rdi
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	$130, %ecx
LBB0_5:
	movq	%r14, %r8
	callq	_asf_read_value
	jmp	LBB0_13
LBB0_12:
	movl	(%r15), %edi
	leaq	-36(%rbp), %rsi
	callq	_ff_get_guid
	jmp	LBB0_13
LBB0_11:
	movl	%r8d, %edx
	movq	%r14, %rcx
	callq	_asf_set_metadata
	testl	%eax, %eax
	jns	LBB0_13
	jmp	LBB0_14
LBB0_7:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_asf_read_picture
	jmp	LBB0_13
LBB0_9:
	movl	%ebx, %esi
	callq	_get_id3_tag
LBB0_13:
	xorl	%eax, %eax
LBB0_14:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WM/Picture"

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

	.no_dead_strip	_process_metadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_metadata
_process_metadata:                      ; @process_metadata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	w3, LBB0_13
; %bb.1:
	mov	x19, x5
	mov	x20, x3
	mov	x22, x1
	mov	x21, x0
	cmp	w4, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w4, #129
	b.eq	LBB0_9
; %bb.3:
	mov	x0, x21
	mov	x1, x22
	cmp	w4, #128
	b.ne	LBB0_10
; %bb.4:
	mov	x2, x20
	mov	w3, #128
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.6:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.7:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	w3, #130
LBB0_8:
	mov	x4, x19
	bl	_asf_read_value
	b	LBB0_13
LBB0_9:
	ldr	w0, [x21]
	add	x1, sp, #12
	bl	_ff_get_guid
	b	LBB0_13
LBB0_10:
	mov	x2, x4
	mov	x3, x19
	bl	_asf_set_metadata
	tbz	w0, #31, LBB0_13
	b	LBB0_14
LBB0_11:
	mov	x0, x21
	mov	x1, x20
	bl	_asf_read_picture
	b	LBB0_13
LBB0_12:
	mov	x0, x21
	mov	x1, x20
	bl	_get_id3_tag
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WM/Picture"

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

	.no_dead_strip	_process_metadata
.subsections_via_symbols
