	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_fiel
_mov_read_fiel:                         ## @mov_read_fiel
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movl	(%rcx), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_17
## %bb.1:
	cmpl	$1, %edx
	jg	LBB0_3
## %bb.2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_17
LBB0_3:
	movq	%rdi, %rbx
	movq	_AV_FIELD_UNKNOWN@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movq	8(%rcx), %rcx
	decl	%eax
	movq	(%rcx,%rax,8), %r15
	movq	%rsi, %rdi
	callq	_avio_rb16
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	cmpl	$512, %ecx                      ## imm = 0x200
	je	LBB0_6
## %bb.4:
	movzwl	%cx, %ecx
	cmpl	$256, %ecx                      ## imm = 0x100
	jne	LBB0_13
## %bb.5:
	movq	_AV_FIELD_PROGRESSIVE@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %r12d
LBB0_13:
	cmpl	(%r13), %r12d
	jne	LBB0_16
## %bb.14:
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movq	(%rbx), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	callq	_av_log
LBB0_16:
	movq	(%r15), %rax
	movl	%r12d, (%rax)
LBB0_17:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leal	-1(%rax), %ecx
	cmpb	$13, %cl
	ja	LBB0_13
## %bb.7:
	movzbl	%cl, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_AV_FIELD_TT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_9:
	movq	_AV_FIELD_BB@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_AV_FIELD_TB@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_11:
	movq	_AV_FIELD_BT@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_AV_FIELD_UNKNOWN,4,2           ## @AV_FIELD_UNKNOWN
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_FIELD_PROGRESSIVE,4,2       ## @AV_FIELD_PROGRESSIVE
	.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
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown MOV field order 0x%04x\n"

	.no_dead_strip	_mov_read_fiel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_fiel
_mov_read_fiel:                         ; @mov_read_fiel
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	ldr	w9, [x8]
	subs	w9, w9, #1
	b.lt	LBB0_3
; %bb.1:
	cmp	w2, #1
	b.gt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_11
LBB0_3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
	mov	x19, x0
Lloh3:
	adrp	x22, _AV_FIELD_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AV_FIELD_UNKNOWN@GOTPAGEOFF]
	ldr	w21, [x22]
	ldr	x8, [x8, #8]
	ldr	x20, [x8, w9, uxtw #3]
	mov	x0, x1
	bl	_avio_rb16
	mov	x3, x0
	and	w8, w0, #0xff00
	cmp	w8, #512
	b.eq	LBB0_12
; %bb.5:
	cmp	w8, #256
	b.ne	LBB0_8
; %bb.6:
Lloh5:
	adrp	x8, _AV_FIELD_PROGRESSIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_FIELD_PROGRESSIVE@GOTPAGEOFF]
LBB0_7:
	ldr	w21, [x8]
LBB0_8:
	ldr	w8, [x22]
	cmp	w21, w8
	ccmp	w3, #0, #4, eq
	b.eq	LBB0_10
; %bb.9:
	ldr	x0, [x19]
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_10:
	mov	w0, #0
	ldr	x8, [x20]
	str	w21, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	and	w8, w3, #0xff
	sub	w8, w8, #1
	cmp	w8, #13
	b.hi	LBB0_8
; %bb.13:
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:
Lloh14:
	adrp	x8, _AV_FIELD_TT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_FIELD_TT@GOTPAGEOFF]
	b	LBB0_7
LBB0_15:
Lloh16:
	adrp	x8, _AV_FIELD_BB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AV_FIELD_BB@GOTPAGEOFF]
	b	LBB0_7
LBB0_16:
Lloh18:
	adrp	x8, _AV_FIELD_TB@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_FIELD_TB@GOTPAGEOFF]
	b	LBB0_7
LBB0_17:
Lloh20:
	adrp	x8, _AV_FIELD_BT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_FIELD_BT@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_17-LBB0_8)>>2
                                        ; -- End function
	.comm	_AV_FIELD_UNKNOWN,4,2           ; @AV_FIELD_UNKNOWN
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_FIELD_PROGRESSIVE,4,2       ; @AV_FIELD_PROGRESSIVE
	.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
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown MOV field order 0x%04x\n"

	.no_dead_strip	_mov_read_fiel
.subsections_via_symbols
