	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_key_value_pair
_parse_key_value_pair:                  ## @parse_key_value_pair
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_av_get_token
	movq	%rax, -72(%rbp)
	movq	$0, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	(%r13), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strspn
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	incq	%r15
	movq	%r15, (%r13)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_av_get_token
	movq	%rax, -56(%rbp)
	cmpb	$0, (%rbx)
	je	LBB0_7
## %bb.4:
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_av_dict_set
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_8:
	movl	%eax, %ebx
	leaq	-72(%rbp), %rdi
	callq	_av_freep
	leaq	-56(%rbp), %rdi
	callq	_av_freep
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_parse_key_value_pair
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_key_value_pair
_parse_key_value_pair:                  ; @parse_key_value_pair
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_av_get_token
	stp	xzr, x0, [sp]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x25, [x23]
	mov	x0, x25
	mov	x1, x24
	bl	_strspn
	cbz	x0, LBB0_7
; %bb.3:
	add	x8, x25, #1
	str	x8, [x23]
	mov	x0, x23
	mov	x1, x22
	bl	_av_get_token
	str	x0, [sp]
	ldrb	w8, [x21]
	cbz	w8, LBB0_7
; %bb.4:
	mov	x2, x0
	cbz	x0, LBB0_7
; %bb.5:
	ldrb	w8, [x2]
	cbz	w8, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	bl	_av_dict_set
	b	LBB0_8
LBB0_7:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_8:
	mov	x19, x0
	add	x0, sp, #8
	bl	_av_freep
	mov	x0, sp
	bl	_av_freep
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_parse_key_value_pair
.subsections_via_symbols
