	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkv_field_order
_mkv_field_order:                       ## @mkv_field_order
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	(%rdi), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	-28(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	leaq	-20(%rbp), %r8
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_3
## %bb.2:
	cmpl	$57, -28(%rbp)
	sete	%al
	movl	-24(%rbp), %ecx
	cmpl	$36, %ecx
	setge	%dl
	andb	%al, %dl
	cmpl	$52, %ecx
	setl	%al
	cmpl	$100, -20(%rbp)
	setge	%cl
	andb	%al, %cl
	andb	%dl, %cl
	movzbl	%cl, %r14d
LBB0_3:
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_5
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	movq	_AV_FIELD_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_6:
	testl	%r14d, %r14d
	jne	LBB0_13
LBB0_14:
	movq	_AV_FIELD_BT@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_8:
	movq	_AV_FIELD_TT@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_9:
	testl	%r14d, %r14d
	jne	LBB0_14
LBB0_13:
	movq	_AV_FIELD_TB@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:
	movq	_AV_FIELD_PROGRESSIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_AV_FIELD_BB@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Lavf%d.%d.%d"

	.comm	_AV_FIELD_PROGRESSIVE,4,2       ## @AV_FIELD_PROGRESSIVE
	.comm	_AV_FIELD_UNKNOWN,4,2           ## @AV_FIELD_UNKNOWN
	.comm	_AV_FIELD_TT,4,2                ## @AV_FIELD_TT
	.comm	_AV_FIELD_BB,4,2                ## @AV_FIELD_BB
	.comm	_AV_FIELD_TB,4,2                ## @AV_FIELD_TB
	.comm	_AV_FIELD_BT,4,2                ## @AV_FIELD_BT
	.no_dead_strip	_mkv_field_order
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkv_field_order
_mkv_field_order:                       ; @mkv_field_order
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	ldr	x0, [x0]
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [sp, #12]
	cmp	w8, #57
	ldr	w8, [sp, #8]
	mov	w9, #35
	ccmp	w8, w9, #4, eq
	mov	w9, #52
	ccmp	w8, w9, #0, gt
	ldr	w8, [sp, #4]
	mov	w9, #99
	ccmp	w8, w9, #4, lt
	cset	w8, gt
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	sub	w9, w19, #128
	cmp	w9, #5
	b.hi	LBB0_6
; %bb.5:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_6
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh4:
	adrp	x8, _AV_FIELD_UNKNOWN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_FIELD_UNKNOWN@GOTPAGEOFF]
	b	LBB0_13
LBB0_7:
Lloh6:
	adrp	x8, _AV_FIELD_TT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_FIELD_TT@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh8:
	adrp	x9, _AV_FIELD_BT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_FIELD_BT@GOTPAGEOFF]
Lloh10:
	adrp	x10, _AV_FIELD_TB@GOTPAGE
Lloh11:
	ldr	x10, [x10, _AV_FIELD_TB@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x8, _AV_FIELD_PROGRESSIVE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_FIELD_PROGRESSIVE@GOTPAGEOFF]
	b	LBB0_13
LBB0_10:
Lloh14:
	adrp	x9, _AV_FIELD_TB@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AV_FIELD_TB@GOTPAGEOFF]
Lloh16:
	adrp	x10, _AV_FIELD_BT@GOTPAGE
Lloh17:
	ldr	x10, [x10, _AV_FIELD_BT@GOTPAGEOFF]
LBB0_11:
	cmp	w8, #0
	csel	x8, x10, x9, eq
	b	LBB0_13
LBB0_12:
Lloh18:
	adrp	x8, _AV_FIELD_BB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_FIELD_BB@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_12-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Lavf%d.%d.%d"

	.comm	_AV_FIELD_PROGRESSIVE,4,2       ; @AV_FIELD_PROGRESSIVE
	.comm	_AV_FIELD_UNKNOWN,4,2           ; @AV_FIELD_UNKNOWN
	.comm	_AV_FIELD_TT,4,2                ; @AV_FIELD_TT
	.comm	_AV_FIELD_BB,4,2                ; @AV_FIELD_BB
	.comm	_AV_FIELD_TB,4,2                ; @AV_FIELD_TB
	.comm	_AV_FIELD_BT,4,2                ; @AV_FIELD_BT
	.no_dead_strip	_mkv_field_order
.subsections_via_symbols
