	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_master
_parse_master:                          ## @parse_master
	.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, %r14
	movq	(%rdi), %rbx
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_av_freep
	movq	8(%rbx), %rdi
	addq	$20, %rdi
	callq	_AV_RB32
	movl	%eax, %r12d
	movq	8(%rbx), %rdi
	addq	$28, %rdi
	callq	_AV_RB32
	movl	%eax, %eax
	movl	%r12d, %ecx
	addq	$8, %rcx
	cmpq	%rcx, %rax
	jb	LBB0_1
## %bb.2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %edi
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	movl	%edi, (%rbx)
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$4, %esi
	callq	_av_calloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	$32, 4(%rbx)
	cmpl	$0, (%rbx)
	je	LBB0_15
## %bb.8:
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %r13
	cmpl	$41, (%r13)
	jl	LBB0_15
## %bb.9:
	movl	$32, %eax
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rdi
	addq	8(%rbx), %rdi
	callq	_AV_RB64
	movq	16(%rbx), %rcx
	movl	%eax, -4(%rcx,%r15,8)
	movslq	4(%rbx), %rsi
	addq	$8, %rsi
	movl	%esi, 4(%rbx)
	cmpl	$9, %r12d
	jb	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	addl	%r12d, 4(%rbx)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-8(%rcx,%r15,8), %edi
	addq	8(%rbx), %rsi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx), %eax
	cmpq	%rax, %r15
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	4(%rbx), %eax
	movl	(%r13), %ecx
	addl	$-8, %ecx
	incq	%r15
	cmpl	%ecx, %eax
	jl	LBB0_10
	jmp	LBB0_15
LBB0_4:
	movq	$0, (%r15)
	jmp	LBB0_15
LBB0_6:
	movl	$0, (%rbx)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNK_SIZE,4,2                 ## @CHUNK_SIZE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported SEQ bitmap size in master chunk.\n"

	.no_dead_strip	_parse_master
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_master
_parse_master:                          ; @parse_master
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x22, [x0]
	add	x21, x22, #16
	mov	x0, x21
	bl	_av_freep
	ldr	x8, [x22, #8]
	add	x0, x8, #20
	bl	_AV_RB32
	mov	x20, x0
	ldr	x8, [x22, #8]
	add	x0, x8, #28
	bl	_AV_RB32
	mov	w8, w0
	mov	w9, w20
	add	x9, x9, #8
	udiv	x0, x8, x9
	str	w0, [x22]
	cbz	w0, LBB0_10
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #4
	bl	_av_calloc
	str	x0, [x21]
	cbz	x0, LBB0_11
; %bb.2:
	mov	w8, #32
	str	w8, [x22, #4]
	ldr	w8, [x22]
	cbz	w8, LBB0_12
; %bb.3:
Lloh0:
	adrp	x23, _CHUNK_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CHUNK_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #41
	b.lt	LBB0_12
; %bb.4:
	mov	x24, #0
	mov	x25, #0
	mov	w8, #32
Lloh2:
	adrp	x26, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x26, [x26, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	add	x0, x9, w8, sxtw
	bl	_AV_RB64
	ldr	x8, [x22, #16]
	add	x9, x8, x24
	str	w0, [x9, #4]
	ldrsw	x9, [x22, #4]
	add	x9, x9, #8
	str	w9, [x22, #4]
	cmp	w20, #9
	b.lo	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x21
	bl	_av_log
	ldr	w8, [x22, #4]
	add	w8, w8, w20
	str	w8, [x22, #4]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x8, x24]
	ldr	x8, [x22, #8]
	add	x1, x8, x9
	mov	x2, x20
	bl	_memcpy
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	ldr	w8, [x22]
	cmp	x25, x8
	b.hs	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #8
	ldr	w8, [x22, #4]
	ldr	w9, [x23]
	sub	w9, w9, #8
	cmp	w8, w9
	b.lt	LBB0_5
	b	LBB0_12
LBB0_10:
	str	xzr, [x21]
	b	LBB0_12
LBB0_11:
	str	wzr, [x22]
LBB0_12:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNK_SIZE,4,2                 ; @CHUNK_SIZE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported SEQ bitmap size in master chunk.\n"

	.no_dead_strip	_parse_master
.subsections_via_symbols
