	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_tag
_read_tag:                              ## @read_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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	testb	%al, %al
	je	LBB0_10
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$92, %al
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$61, %al
	jne	LBB0_6
## %bb.3:
	movl	%ebx, %esi
	subl	%edi, %esi
	callq	_unescape
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%rax, %r15
	incq	%rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_unescape
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	_AV_DICT_DONT_STRDUP_KEY@GOTPCREL(%rip), %rdx
	movq	_AV_DICT_DONT_STRDUP_VAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_av_dict_set
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	callq	_av_free
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_DICT_DONT_STRDUP_KEY,4,2    ## @AV_DICT_DONT_STRDUP_KEY
	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ## @AV_DICT_DONT_STRDUP_VAL
	.no_dead_strip	_read_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_tag
_read_tag:                              ; @read_tag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x21, x0
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x21, #1]!
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	cbz	w8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x21]
	cmp	w8, #92
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #61
	b.ne	LBB0_2
; %bb.5:
	sub	w1, w21, w0
	bl	_unescape
	cbz	x0, LBB0_10
; %bb.6:
	mov	x20, x0
	add	x21, x21, #1
	mov	x0, x21
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	bl	_unescape
	cbz	x0, LBB0_9
; %bb.7:
	mov	x2, x0
Lloh0:
	adrp	x8, _AV_DICT_DONT_STRDUP_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_DICT_DONT_STRDUP_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AV_DICT_DONT_STRDUP_VAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_DICT_DONT_STRDUP_VAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x19
	mov	x1, x20
	bl	_av_dict_set
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x0, x20
	bl	_av_free
LBB0_10:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_DICT_DONT_STRDUP_KEY,4,2    ; @AV_DICT_DONT_STRDUP_KEY
	.comm	_AV_DICT_DONT_STRDUP_VAL,4,2    ; @AV_DICT_DONT_STRDUP_VAL
	.no_dead_strip	_read_tag
.subsections_via_symbols
