	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function need_output
_need_output:                           ## @need_output
	.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	_nb_output_streams@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_11
## %bb.1:
	xorl	%r13d, %r13d
	movq	_output_streams@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	_nb_output_streams@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	(%r15), %rax
	movq	(%rax,%r13,8), %r12
	cmpq	$0, 24(%r12)
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_output_files@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	16(%r14), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_avio_tell
	cmpq	(%r14), %rax
	jge	LBB0_10
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	cmpq	16(%r12), %rax
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15), %rax
	movslq	8(%r14), %rcx
	addq	%rbx, %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_close_output_stream
	movq	16(%r14), %rax
	incq	%rbx
	cmpl	(%rax), %ebx
	jl	LBB0_9
	jmp	LBB0_10
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_nb_output_streams,4,2          ## @nb_output_streams
	.comm	_output_streams,8,3             ## @output_streams
	.comm	_output_files,8,3               ## @output_files
	.no_dead_strip	_need_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function need_output
_need_output:                           ; @need_output
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _nb_output_streams@GOTPAGE
Lloh1:
	ldr	x19, [x19, _nb_output_streams@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x21, _output_streams@GOTPAGE
Lloh3:
	ldr	x21, [x21, _output_streams@GOTPAGEOFF]
Lloh4:
	adrp	x22, _output_files@GOTPAGE
Lloh5:
	ldr	x22, [x22, _output_files@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x8, [x21]
	ldr	x24, [x8, x20, lsl #3]
	ldr	x8, [x24, #24]
	cbnz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x24]
	ldr	x23, [x8, x9, lsl #3]
	ldr	x8, [x23, #16]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_avio_tell
	ldr	x8, [x23]
	cmp	x0, x8
	b.ge	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x9, [x24, #8]
	cmp	x8, x9
	b.lt	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23, #16]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, #0
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	ldrsw	x9, [x23, #8]
	add	x9, x24, x9
	ldr	x0, [x8, x9, lsl #3]
	bl	_close_output_stream
	ldr	x8, [x23, #16]
	ldr	w8, [x8]
	add	x24, x24, #1
	cmp	w24, w8
	b.lt	LBB0_9
	b	LBB0_2
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_12:
	mov	w0, #1
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_nb_output_streams,4,2          ; @nb_output_streams
	.comm	_output_streams,8,3             ; @output_streams
	.comm	_output_files,8,3               ; @output_files
	.no_dead_strip	_need_output
.subsections_via_symbols
