	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_string
_parse_string:                          ## @parse_string
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_AV_BPRINT_SIZE_AUTOMATIC@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AV_BPRINT_SIZE_UNLIMITED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$34, %edx
	callq	_expect_byte
	testl	%eax, %eax
	js	LBB0_24
## %bb.4:
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_20
## %bb.5:
	cmpl	$34, %esi
	je	LBB0_20
## %bb.6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$92, %esi
	jne	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_next_byte
	movl	(%rbx), %esi
	testl	%esi, %esi
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%esi, %eax
	andl	$-33, %eax
	cmpl	$85, %eax
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_next_byte
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_TEST
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_VAL
	movl	%eax, %r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_next_byte
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_TEST
	testl	%eax, %eax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_VAL
	movl	%eax, %r14d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_next_byte
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_TEST
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_VAL
	movl	%eax, %r15d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_next_byte
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_TEST
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	shll	$4, %r13d
	addl	%r13d, %r14d
	shll	$4, %r14d
	addl	%r14d, %r15d
	shll	$4, %r15d
	movl	(%rbx), %edi
	callq	_HEX_DIGIT_VAL
	addl	%eax, %r15d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_av_bprint_utf8
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_av_bprint_chars
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_next_byte
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$34, %esi
	jne	LBB0_7
LBB0_20:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$34, %edx
	callq	_expect_byte
	testl	%eax, %eax
	js	LBB0_24
## %bb.21:
	xorl	%r13d, %r13d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
## %bb.22:
	movq	%r14, %rdi
	callq	_av_bprint_is_complete
	testl	%eax, %eax
	jne	LBB0_26
## %bb.23:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_24:
	movl	%eax, %r13d
LBB0_25:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
LBB0_26:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	(%rbx), %edi
	callq	_ERR_CODE
	movl	%eax, %r13d
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_9:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ## @AV_BPRINT_SIZE_UNLIMITED
	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ## @AV_BPRINT_SIZE_AUTOMATIC
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_parse_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_string
_parse_string:                          ; @parse_string
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGEOFF]
	cmp	w3, #0
	csel	x8, x9, x8, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_av_bprint_init
	mov	x0, x22
	mov	x1, x21
	mov	w2, #34
	bl	_expect_byte
	tbz	w0, #31, LBB0_3
	b	LBB0_20
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w2, #1
	bl	_av_bprint_chars
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_next_byte
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	cmp	w1, #1
	b.lt	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w1, #34
	b.eq	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w1, #92
	b.ne	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_next_byte
	ldr	w1, [x21]
	tbnz	w1, #31, LBB0_18
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	and	w8, w1, #0xffffffdf
	cmp	w8, #85
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_next_byte
	ldr	w0, [x21]
	bl	_HEX_DIGIT_TEST
	cbz	w0, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	bl	_HEX_DIGIT_VAL
	mov	x23, x0
	mov	x0, x22
	mov	x1, x21
	bl	_next_byte
	ldr	w0, [x21]
	bl	_HEX_DIGIT_TEST
	cbz	w0, LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	bl	_HEX_DIGIT_VAL
	mov	x24, x0
	mov	x0, x22
	mov	x1, x21
	bl	_next_byte
	ldr	w0, [x21]
	bl	_HEX_DIGIT_TEST
	cbz	w0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	bl	_HEX_DIGIT_VAL
	mov	x25, x0
	mov	x0, x22
	mov	x1, x21
	bl	_next_byte
	ldr	w0, [x21]
	bl	_HEX_DIGIT_TEST
	cbz	w0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w24, w23, lsl #4
	add	w23, w25, w8, lsl #4
	ldr	w0, [x21]
	bl	_HEX_DIGIT_VAL
	add	w1, w0, w23, lsl #4
	mov	x0, x19
	bl	_av_bprint_utf8
	b	LBB0_2
LBB0_13:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #34
	bl	_expect_byte
	tbnz	w0, #31, LBB0_20
; %bb.14:
	cbz	w20, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_av_bprint_is_complete
	cbz	w0, LBB0_19
LBB0_16:
	mov	w23, #0
	b	LBB0_22
LBB0_17:
	ldr	w0, [x21]
	bl	_ERR_CODE
	b	LBB0_20
LBB0_18:
Lloh4:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh6:
	ldr	w23, [x8]
	b	LBB0_21
LBB0_19:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_20:
	mov	x23, x0
LBB0_21:
	mov	x0, x19
	mov	x1, #0
	bl	_av_bprint_finalize
LBB0_22:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ; @AV_BPRINT_SIZE_UNLIMITED
	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ; @AV_BPRINT_SIZE_AUTOMATIC
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_parse_string
.subsections_via_symbols
