	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function finish_chunk_noindex
_finish_chunk_noindex:                  ## @finish_chunk_noindex
	.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	8(%rdi), %r12
	movq	%r14, %rdi
	callq	_avio_tell
	movl	%eax, %r15d
	movl	(%r12), %ebx
	addl	4(%r12), %ebx
	movl	%eax, %r13d
	subl	%ebx, %r13d
	movl	$16, %esi
	subl	%r13d, %esi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_avio_seek
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_avio_wl32
	negl	%ebx
	leal	(%r15,%rbx), %esi
	addl	$-20, %esi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_avio_seek
	movl	%r13d, %edi
	callq	_WTV_PAD8
	movslq	%r13d, %rcx
	subq	%rcx, %rax
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_write_pad
	incl	8(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
	.no_dead_strip	_finish_chunk_noindex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function finish_chunk_noindex
_finish_chunk_noindex:                  ; @finish_chunk_noindex
	.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
	ldp	x19, x21, [x0]
	mov	x0, x19
	bl	_avio_tell
	ldp	w8, w9, [x21]
	add	w8, w8, w9
	sub	w20, w0, w8
	mov	w8, #16
	sub	w1, w8, w20
Lloh0:
	adrp	x22, _SEEK_CUR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_avio_seek
	mov	x0, x19
	mov	x1, x20
	bl	_avio_wl32
	sub	w1, w20, #20
	ldr	w2, [x22]
	mov	x0, x19
	bl	_avio_seek
	mov	x0, x20
	bl	_WTV_PAD8
	sub	x1, x0, w20, sxtw
	mov	x0, x19
	bl	_write_pad
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
	.no_dead_strip	_finish_chunk_noindex
.subsections_via_symbols
