	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_read_saiz
_mov_read_saiz:                         ## @mov_read_saiz
	.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	%rsi, %r14
	movq	%rdi, %r13
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_get_current_encryption_info
	movl	%eax, %ebx
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.1:
	movq	-48(%rbp), %rax
	cmpq	$0, 32(%rax)
	je	LBB0_4
## %bb.2:
	movl	(%r13), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_3:
	callq	_av_log
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.5:
	movl	(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	callq	_avio_r8
	movq	%r14, %rdi
	callq	_avio_rb24
	testb	$1, %al
	jne	LBB0_15
## %bb.9:
	movq	-56(%rbp), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
LBB0_10:
	movq	%r14, %rdi
	callq	_avio_r8
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	%r14, %rdi
	callq	_avio_rb32
	movq	-48(%rbp), %rcx
	movl	%eax, (%rcx)
	cmpq	$0, 8(%rcx)
	jne	LBB0_13
## %bb.11:
	addq	$24, %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rcx, %rdx
	callq	_mov_try_read_block
	testl	%eax, %eax
	js	LBB0_28
## %bb.12:
	movq	-48(%rbp), %rcx
LBB0_13:
	cmpq	$0, 16(%rcx)
	je	LBB0_19
## %bb.14:
	movq	-56(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_mov_parse_auxiliary_info
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_15:
	movq	%r14, %rdi
	callq	_avio_rb32
	movl	%eax, %r12d
	movq	%r14, %rdi
	callq	_avio_rb32
	movl	%eax, %r15d
	movq	-56(%rbp), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	cmpl	(%rax), %r12d
	jne	LBB0_26
## %bb.17:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.18:
	movl	(%r13), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_3
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_20:
	movl	$99, %edi
	movl	$101, %esi
	movl	$110, %edx
	movl	$99, %ecx
	callq	_MKBETAG
	cmpl	%eax, %r12d
	je	LBB0_23
## %bb.21:
	movl	$99, %edi
	movl	$101, %esi
	movl	$110, %edx
	movl	$115, %ecx
	callq	_MKBETAG
	cmpl	%eax, %r12d
	je	LBB0_23
## %bb.22:
	movl	$99, %edi
	movl	$98, %esi
	movl	$99, %edx
	movl	$49, %ecx
	callq	_MKBETAG
	cmpl	%eax, %r12d
	jne	LBB0_29
LBB0_23:
	xorl	%ebx, %ebx
LBB0_24:
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.25:
	movl	(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_6
LBB0_26:
	movl	(%r13), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_3
LBB0_28:
	movl	%eax, %ebx
	movl	(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	callq	_av_log
	jmp	LBB0_7
LBB0_29:
	movl	$99, %edi
	movl	$98, %esi
	movl	$99, %edx
	movl	$115, %ecx
	callq	_MKBETAG
	xorl	%ebx, %ebx
	cmpl	%eax, %r12d
	je	LBB0_24
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring duplicate encryption info in saiz\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Duplicate saiz atom\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.2:                               ## @.str.2
	.asciz	"Ignoring saiz box with non-zero aux_info_type\n"

L_.str.3:                               ## @.str.3
	.asciz	"Ignoring saiz box with non-zero aux_info_type_parameter\n"

L_.str.4:                               ## @.str.4
	.asciz	"Saw encrypted saiz without schm/tenc\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to read the auxiliary info\n"

	.no_dead_strip	_mov_read_saiz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_saiz
_mov_read_saiz:                         ; @mov_read_saiz
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x2, sp
	bl	_get_current_encryption_info
	mov	x23, x0
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_3:
	bl	_av_log
	mov	w23, #0
	b	LBB0_7
LBB0_4:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
	bl	_av_log
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
LBB0_7:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	mov	x0, x20
	bl	_avio_r8
	mov	x0, x20
	bl	_avio_rb24
	tbnz	w0, #0, LBB0_15
; %bb.9:
	ldr	x8, [sp]
	ldr	x8, [x8]
	cbz	x8, LBB0_23
LBB0_10:
	mov	x0, x20
	bl	_avio_r8
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
	mov	x0, x20
	bl	_avio_rb32
	ldr	x3, [sp, #8]
	str	w0, [x3]
	ldr	x8, [x3, #8]
	cbnz	x8, LBB0_13
; %bb.11:
	mov	x1, x0
	add	x2, x3, #24
	mov	x0, x20
	bl	_mov_try_read_block
	tbnz	w0, #31, LBB0_25
; %bb.12:
	ldr	x3, [sp, #8]
LBB0_13:
	ldr	x8, [x3, #16]
	cbz	x8, LBB0_23
; %bb.14:
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, x20
	bl	_mov_parse_auxiliary_info
	mov	x23, x0
	b	LBB0_7
LBB0_15:
	mov	x0, x20
	bl	_avio_rb32
	mov	x22, x0
	mov	x0, x20
	bl	_avio_rb32
	mov	x21, x0
	ldr	x8, [sp]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.16:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_24
; %bb.17:
	cbz	w21, LBB0_10
; %bb.18:
	ldr	w0, [x19]
Lloh13:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_19:
	mov	w0, #99
	mov	w1, #101
	mov	w2, #110
	mov	w3, #99
	bl	_MKBETAG
	cmp	w22, w0
	b.eq	LBB0_22
; %bb.20:
	mov	w0, #99
	mov	w1, #101
	mov	w2, #110
	mov	w3, #115
	bl	_MKBETAG
	cmp	w22, w0
	b.eq	LBB0_22
; %bb.21:
	mov	w0, #99
	mov	w1, #98
	mov	w2, #99
	mov	w3, #49
	bl	_MKBETAG
	cmp	w22, w0
	b.ne	LBB0_26
LBB0_22:
	cbz	w21, LBB0_28
LBB0_23:
	mov	w23, #0
	b	LBB0_7
LBB0_24:
	ldr	w0, [x19]
Lloh18:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_25:
	mov	x23, x0
	ldr	w0, [x19]
Lloh23:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.5@PAGE
Lloh27:
	add	x2, x2, l_.str.5@PAGEOFF
	bl	_av_log
	b	LBB0_7
LBB0_26:
	mov	w0, #99
	mov	w1, #98
	mov	w2, #99
	mov	w3, #115
	bl	_MKBETAG
	mov	w23, #0
	cmp	w22, w0
	b.ne	LBB0_7
; %bb.27:
	cbnz	w21, LBB0_7
LBB0_28:
	ldr	w0, [x19]
Lloh28:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x2, l_.str.4@PAGE
Lloh32:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring duplicate encryption info in saiz\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Duplicate saiz atom\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.2:                               ; @.str.2
	.asciz	"Ignoring saiz box with non-zero aux_info_type\n"

l_.str.3:                               ; @.str.3
	.asciz	"Ignoring saiz box with non-zero aux_info_type_parameter\n"

l_.str.4:                               ; @.str.4
	.asciz	"Saw encrypted saiz without schm/tenc\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to read the auxiliary info\n"

	.no_dead_strip	_mov_read_saiz
.subsections_via_symbols
