	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qdm2_parse_config
_qdm2_parse_config:                     ## @qdm2_parse_config
	.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	%rcx, %r15
	movq	%rcx, %rax
	movq	%rdx, %rcx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	subq	%rdx, %rax
	cmpq	$2, %rax
	jl	LBB0_18
## %bb.1:
	movq	%rsi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$3, %r13b
	jbe	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	2(%r14), %rdi
	callq	_AV_RB16
	leaq	LJTI0_0(%rip), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, 8(%rdi)
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%r12, %r14
	movq	%r15, %rax
	subq	%r14, %rax
	cmpq	$1, %rax
	jle	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14), %r13d
	cmpl	$2, %r13d
	jb	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r12d
	cmpq	%r12, %rax
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movsbl	1(%r14), %eax
	cmpb	$5, %al
	jae	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %eax
	ja	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %eax
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$2, %r13b
	jbe	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	2(%r14), %eax
	movb	%al, (%rdi)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$29, %r13b
	jbe	LBB0_5
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	callq	_av_freep
	movq	(%rbx), %rdi
	leal	26(%r13), %esi
	callq	_ff_alloc_extradata
	testl	%eax, %eax
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	$12, %esi
	callq	_AV_WB32
	movq	(%rbx), %rax
	movl	(%rax), %edi
	addl	$4, %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movl	(%rax), %edi
	addl	$8, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movl	(%rax), %edi
	addl	$12, %edi
	leal	6(%r13), %esi
	callq	_AV_WB32
	movq	(%rbx), %rax
	movl	(%rax), %edi
	addl	$16, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movl	(%rax), %edi
	addl	$20, %edi
	leaq	2(%r14), %rsi
	leal	-2(%r13), %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movl	(%rax), %eax
	leal	(%rax,%r13), %edi
	addl	$18, %edi
	movl	$8, %esi
	callq	_AV_WB32
	movq	(%rbx), %rax
	movl	(%rax), %eax
	leal	(%rax,%r13), %edi
	addl	$22, %edi
	xorl	%esi, %esi
	callq	_AV_WB32
	leaq	26(%r14), %rdi
	callq	_AV_RB32
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, 4(%rdi)
	leaq	LJTI0_0(%rip), %rcx
	jmp	LBB0_17
LBB0_18:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_20:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	subl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	addl	%r14d, %r13d
	jmp	LBB0_20
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"frma"

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

L_.str.2:                               ## @.str.2
	.asciz	"QDCA"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_qdm2_parse_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qdm2_parse_config
_qdm2_parse_config:                     ; @qdm2_parse_config
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	x8, x3, x2
	cmp	x8, #2
	b.lt	LBB0_13
; %bb.1:
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x27, lJTI0_0@PAGE
Lloh1:
	add	x27, x27, lJTI0_0@PAGEOFF
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
	mov	x28, x2
Lloh4:
	adrp	x25, l_.str.2@PAGE
Lloh5:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #3
	b.ls	LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x28, #2
	bl	_AV_RB16
	str	w0, [x22, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, x23
	sub	x8, x20, x28
	cmp	x8, #1
	b.le	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w23, [x28]
	ldrsb	w9, [x28, #1]
	subs	w26, w23, #2
	ccmp	x8, x23, #0, hs
	ccmp	w9, #5, #2, hs
	b.hs	LBB0_15
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w9, #4
	b.hi	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x8, LBB0_2
	ldrb	w10, [x27, x9]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #2
	b.ls	LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x28, #2]
	strb	w8, [x22]
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #29
	b.ls	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x21]
	bl	_av_freep
	ldr	x0, [x21]
	add	w1, w23, #26
	bl	_ff_alloc_extradata
	cbnz	w0, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	w1, #12
	bl	_AV_WB32
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w0, w8, #4
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w0, w8, #8
	mov	x1, x24
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w0, w8, #12
	add	w1, w23, #6
	bl	_AV_WB32
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w0, w8, #16
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w0, w8, #20
	add	x1, x28, #2
	mov	x2, x26
	bl	_memcpy
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w8, w23, w8
	add	w0, w8, #18
	mov	w1, #8
	bl	_AV_WB32
	ldr	x8, [x21]
	ldr	w8, [x8]
	add	w8, w23, w8
	add	w0, w8, #22
	mov	w1, #0
	bl	_AV_WB32
	add	x0, x28, #26
	bl	_AV_RB32
	str	w0, [x22, #4]
	b	LBB0_4
LBB0_13:
Lloh8:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_15:
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_16:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	sub	w8, w28, w19
	add	w0, w23, w8
	b	LBB0_16
LBB0_18:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"frma"

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

l_.str.2:                               ; @.str.2
	.asciz	"QDCA"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_qdm2_parse_config
.subsections_via_symbols
