	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_link_name
_parse_link_name:                       ## @parse_link_name
	.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
	movq	(%rdi), %r15
	leaq	1(%r15), %rax
	movq	%rax, (%rdi)
	leaq	L_.str(%rip), %rsi
	callq	_av_get_token
	movq	%rax, -32(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	cmpb	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	(%rbx), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%rbx)
	cmpb	$93, (%rcx)
	je	LBB0_7
## %bb.4:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str.1(%rip), %rdx
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_av_log
LBB0_6:
	leaq	-32(%rbp), %rdi
	callq	_av_freep
	movq	-32(%rbp), %rax
LBB0_7:
	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	"]"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Bad (empty?) label found in the following: \"%s\".\n"

L_.str.2:                               ## @.str.2
	.asciz	"Mismatched '[' found in the following: \"%s\".\n"

	.no_dead_strip	_parse_link_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_link_name
_parse_link_name:                       ; @parse_link_name
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0]
	add	x8, x19, #1
	str	x8, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_av_get_token
	str	x0, [sp, #8]
	cbz	x0, LBB0_6
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	x8, [x21]
	add	x9, x8, #1
	str	x9, [x21]
	ldrb	w8, [x8]
	cmp	w8, #93
	b.eq	LBB0_7
; %bb.3:
Lloh2:
	adrp	x2, l_.str.2@PAGE
Lloh3:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_5:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_av_log
LBB0_6:
	add	x0, sp, #8
	bl	_av_freep
	ldr	x0, [sp, #8]
LBB0_7:
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"]"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Bad (empty?) label found in the following: \"%s\".\n"

l_.str.2:                               ; @.str.2
	.asciz	"Mismatched '[' found in the following: \"%s\".\n"

	.no_dead_strip	_parse_link_name
.subsections_via_symbols
