	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_read_line_to_bprint         ## -- Begin function ff_read_line_to_bprint
	.p2align	4, 0x90
_ff_read_line_to_bprint:                ## @ff_read_line_to_bprint
	.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	$1048, %rsp                     ## imm = 0x418
	.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, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	movq	%rax, -1080(%rbp)               ## 8-byte Spill
	movl	$9217, %r12d                    ## imm = 0x2401
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=2
	movb	%r13b, -1072(%rbp,%rbx)
	incq	%rbx
	cmpq	$1024, %rbx                     ## imm = 0x400
	je	LBB0_5
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_avio_r8
	movl	%eax, %r13d
	cmpb	$13, %al
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movzbl	%r13b, %eax
	btq	%rax, %r12
	jae	LBB0_2
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	leaq	-1072(%rbp), %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_bprint_append_data
	addq	$-1024, -1080(%rbp)             ## 8-byte Folded Spill
                                        ## imm = 0xFC00
	jmp	LBB0_1
LBB0_6:
	leaq	-1072(%rbp), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_av_bprint_append_data
	movq	%rbx, %r14
	movq	-1080(%rbp), %rcx               ## 8-byte Reload
	subq	%rcx, %r14
	testb	%r13b, %r13b
	je	LBB0_10
## %bb.7:
	cmpb	$13, %r13b
	jne	LBB0_18
## %bb.8:
	movq	%r15, %rdi
	callq	_avio_r8
	cmpb	$10, %al
	je	LBB0_18
## %bb.15:
	movq	%r15, %rdi
	callq	_avio_feof
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_avio_skip
LBB0_18:
	movq	%r14, %rax
	jmp	LBB0_19
LBB0_10:
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_19
## %bb.11:
	movq	%r14, %rax
	cmpq	%rbx, %rcx
	jne	LBB0_19
## %bb.12:
	movq	%r15, %rdi
	callq	_avio_feof
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_21
## %bb.20:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,8,3                ## @AVERROR_EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_read_line_to_bprint         ; -- Begin function ff_read_line_to_bprint
	.p2align	2
_ff_read_line_to_bprint:                ; @ff_read_line_to_bprint
	.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
	sub	sp, sp, #1040
	mov	x20, x1
	mov	x19, x0
	mov	x23, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x24, sp, #8
	mov	w25, #1
	mov	w26, #9217
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=2
	strb	w22, [x24, x21]
	add	x8, x21, #1
	mov	x21, x8
	cmp	x8, #1024
	b.eq	LBB0_5
LBB0_3:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_avio_r8
	mov	x22, x0
	cmp	w0, #13
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	and	w8, w22, #0xff
	lsl	w8, w25, w8
	tst	w8, w26
	b.eq	LBB0_2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1024
	bl	_av_bprint_append_data
	add	x23, x23, #1024
	b	LBB0_1
LBB0_6:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_av_bprint_append_data
	add	x20, x23, x21
	cbz	w22, LBB0_12
; %bb.7:
	and	w8, w22, #0xff
	cmp	w8, #13
	b.ne	LBB0_11
; %bb.8:
	mov	x0, x19
	bl	_avio_r8
	cmp	w0, #10
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_avio_feof
	cbnz	x0, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #-1
	bl	_avio_skip
LBB0_11:
	mov	x0, x20
	b	LBB0_15
LBB0_12:
	ldr	x0, [x19]
	cbnz	x0, LBB0_15
; %bb.13:
	mov	x0, x20
	cbnz	x20, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_avio_feof
Lloh3:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x0, xzr, x8, eq
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	add	sp, sp, #1040
	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
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,8,3                ; @AVERROR_EOF
.subsections_via_symbols
