	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_pasp
_mov_read_pasp:                         ## @mov_read_pasp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_avio_rb32
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_avio_rb32
	movq	(%r15), %rdi
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.1:
	movq	8(%rdi), %rdx
	decl	%ecx
	movq	(%rdx,%rcx,8), %rsi
	movl	(%rsi), %r8d
	cmpl	$1, %r8d
	jne	LBB0_3
## %bb.2:
	cmpl	$0, 4(%rsi)
	je	LBB0_6
LBB0_3:
	movl	4(%rsi), %ecx
	cmpl	%r8d, %eax
	jne	LBB0_5
## %bb.4:
	cmpl	%ecx, %r14d
	jne	LBB0_5
LBB0_6:
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	leaq	4(%rsi), %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	movl	$32767, %r8d                    ## imm = 0x7FFF
	callq	_av_reduce
	jmp	LBB0_8
LBB0_5:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %r9d
	callq	_av_log
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sample aspect ratio already set to %d:%d, ignoring 'pasp' atom (%d:%d)\n"

	.no_dead_strip	_mov_read_pasp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_pasp
_mov_read_pasp:                         ; @mov_read_pasp
	.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
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_avio_rb32
	mov	x19, x0
	mov	x0, x20
	bl	_avio_rb32
	mov	x6, x0
	ldr	x0, [x21]
	ldr	w8, [x0]
	subs	w8, w8, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x1, [x9, w8, uxtw #3]
	ldr	w4, [x1]
	cmp	w4, #1
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_5
LBB0_3:
	ldr	w3, [x1, #4]
	cmp	w6, w4
	ccmp	w19, w3, #0, eq
	b.eq	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x5, x19
	bl	_av_log
	b	LBB0_7
LBB0_5:
	cbz	w6, LBB0_7
; %bb.6:
	add	x0, x1, #4
	mov	x2, x19
	mov	x3, x6
	mov	w4, #32767
	bl	_av_reduce
LBB0_7:
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sample aspect ratio already set to %d:%d, ignoring 'pasp' atom (%d:%d)\n"

	.no_dead_strip	_mov_read_pasp
.subsections_via_symbols
