	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_section_data
_write_section_data:                    ## @write_section_data
	.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
	movl	%ecx, %ebx
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testl	%r8d, %r8d
	je	LBB0_2
## %bb.1:
	movq	8(%r15), %rdi
	movq	%rdx, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movl	%ebx, 16(%r15)
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	movq	%rax, 20(%r15)
LBB0_4:
	movq	_MAX_SECTION_SIZE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_24
## %bb.5:
	movq	8(%r15), %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	callq	*32(%r15)
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movslq	20(%r15), %rax
	leaq	(%rbx,%rax,4), %rbx
	movl	$-1, 20(%r15)
	movq	%rbx, %rcx
	subq	8(%r15), %rcx
	addl	%eax, %r14d
	sarq	$2, %rcx
	movslq	(%r13), %rax
	cmpq	%rax, %rcx
	jge	LBB0_24
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$255, (%rbx)
	je	LBB0_24
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	20(%r15), %eax
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%r15), %eax
	subl	%r14d, %eax
	cmpl	$3, %eax
	jl	LBB0_23
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	4(%rbx), %rdi
	callq	_AV_RB16
                                        ## kill: def $eax killed $eax def $rax
	andl	$4095, %eax                     ## imm = 0xFFF
	addl	$3, %eax
	cmpl	(%r13), %eax
	jg	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, 20(%r15)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	leal	(%rax,%r14), %ecx
	cmpl	%ecx, 16(%r15)
	jl	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, 24(%r15)
	cmpq	$0, 48(%r15)
	je	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_AV_CRC_32_IEEE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_av_crc_get_table
	movl	20(%r15), %ecx
	movl	%eax, %edi
	movl	$-1, %esi
	movq	%rbx, %rdx
	callq	_av_crc
	movl	%eax, %r12d
	movl	20(%r15), %eax
	cmpl	$4, %eax
	jl	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rbx,%rax,4), %rdi
	addq	$-16, %rdi
	callq	_AV_RB32
	movl	%eax, 40(%r15)
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%r15), %rcx
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rax,%rcx,4), %edx
	cmpl	$-9, %edx
	jl	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	decl	%edx
	movl	%edx, (%rax,%rcx,4)
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$100, (%rax,%rcx,4)
	movl	20(%r15), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	20(%r15), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*32(%r15)
	movl	$-1, 28(%r15)
	jmp	LBB0_22
LBB0_2:
	cmpl	$0, 24(%r15)
	jne	LBB0_24
## %bb.3:
	movq	_MAX_SECTION_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movslq	16(%r15), %rdi
	subl	%edi, %r12d
	cmpl	%ebx, %r12d
	cmovgel	%ebx, %r12d
	shlq	$2, %rdi
	addq	8(%r15), %rdi
	movq	%rdx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	addl	%r12d, 16(%r15)
	jmp	LBB0_4
LBB0_23:
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	movq	%rax, 20(%r15)
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SECTION_SIZE,4,2           ## @MAX_SECTION_SIZE
	.comm	_AV_CRC_32_IEEE,4,2             ## @AV_CRC_32_IEEE
	.no_dead_strip	_write_section_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_section_data
_write_section_data:                    ; @write_section_data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	cbz	w4, LBB0_21
; %bb.1:
	ldr	x0, [x19, #8]
	mov	x1, x2
	mov	x2, x21
	bl	_memcpy
	str	w21, [x19, #16]
	movi	d0, #0x000000ffffffff
	stur	d0, [x19, #20]
LBB0_2:
Lloh0:
	adrp	x23, _MAX_SECTION_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAX_SECTION_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.3:
	mov	w24, #0
	ldr	x21, [x19, #8]
	mov	w25, #1
	mov	w26, #-1
Lloh2:
	adrp	x27, _AV_CRC_32_IEEE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _AV_CRC_32_IEEE@GOTPAGEOFF]
	mov	w28, #100
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #32]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x21
	blr	x8
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x8, [x19, #20]
	add	x21, x21, x8, lsl #2
	add	w24, w8, w24
	str	w26, [x19, #20]
	ldr	x8, [x19, #8]
	sub	x8, x21, x8
	ldrsw	x9, [x23]
	cmp	x9, x8, asr #2
	b.le	LBB0_24
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cmp	w8, #255
	b.eq	LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x19, #20]
	cmn	w2, #1
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #16]
	sub	w8, w8, w24
	cmp	w8, #3
	b.lt	LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x0, x21, #4
	bl	_AV_RB16
	and	w8, w0, #0xfff
	add	w2, w8, #3
	ldr	w8, [x23]
	cmp	w2, w8
	b.gt	LBB0_24
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w2, [x19, #20]
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #16]
	add	w9, w2, w24
	cmp	w8, w9
	b.lt	LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	str	w25, [x19, #24]
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x27]
	bl	_av_crc_get_table
	ldr	w3, [x19, #20]
	mov	w1, #-1
	mov	x2, x21
	bl	_av_crc
	mov	x22, x0
	ldr	w8, [x19, #20]
	cmp	w8, #4
	b.lt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x21, x8, lsl #2
	sub	x0, x8, #16
	bl	_AV_RB32
	str	w0, [x19, #40]
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x19]
	cbz	w22, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [x8, x9, lsl #2]
	cmn	w10, #9
	b.lt	LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w10, w10, #1
	str	w10, [x8, x9, lsl #2]
	b	LBB0_6
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w28, [x8, x9, lsl #2]
	ldr	x8, [x19, #32]
	ldr	w2, [x19, #20]
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #32]
	ldr	w2, [x19, #20]
	mov	x0, x19
	mov	x1, x21
	blr	x8
	str	w26, [x19, #28]
	b	LBB0_6
LBB0_21:
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_24
; %bb.22:
Lloh4:
	adrp	x8, _MAX_SECTION_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAX_SECTION_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldrsw	x9, [x19, #16]
	sub	w8, w8, w9
	cmp	w8, w21
	csel	w21, w8, w21, lt
	ldr	x8, [x19, #8]
	add	x0, x8, x9, lsl #2
	mov	x1, x2
	mov	x2, x21
	bl	_memcpy
	ldr	w8, [x19, #16]
	add	w8, w8, w21
	str	w8, [x19, #16]
	b	LBB0_2
LBB0_23:
	movi	d0, #0x000000ffffffff
	stur	d0, [x19, #20]
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SECTION_SIZE,4,2           ; @MAX_SECTION_SIZE
	.comm	_AV_CRC_32_IEEE,4,2             ; @AV_CRC_32_IEEE
	.no_dead_strip	_write_section_data
.subsections_via_symbols
