	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_line_to_bprint_escaped
_read_line_to_bprint_escaped:           ## @read_line_to_bprint_escaped
	.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, -1080(%rbp)               ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$32, %r13b
	xorl	%eax, %eax
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	movl	$9217, %r15d                    ## 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_6
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %r12d
	movq	%r14, %rdi
	callq	_avio_r8
	movl	%eax, %r13d
	cmpb	$92, %r12b
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpb	$13, %r13b
	ja	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movzbl	%r13b, %eax
	btq	%rax, %r15
	jae	LBB0_2
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-1080(%rbp), %rdi               ## 8-byte Reload
	leaq	-1072(%rbp), %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_av_bprint_append_data
	addq	$-1024, -1088(%rbp)             ## 8-byte Folded Spill
                                        ## imm = 0xFC00
	jmp	LBB0_1
LBB0_7:
	leaq	-1072(%rbp), %rsi
	movq	-1080(%rbp), %rdi               ## 8-byte Reload
	movl	%ebx, %edx
	callq	_av_bprint_append_data
	movq	%rbx, %r15
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	subq	%rcx, %r15
	testb	%r13b, %r13b
	je	LBB0_11
## %bb.8:
	cmpb	$13, %r13b
	jne	LBB0_19
## %bb.9:
	movq	%r14, %rdi
	callq	_avio_r8
	cmpb	$10, %al
	je	LBB0_19
## %bb.16:
	movq	%r14, %rdi
	callq	_avio_feof
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_avio_skip
LBB0_19:
	movq	%r15, %rax
	jmp	LBB0_20
LBB0_11:
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_20
## %bb.12:
	movq	%r15, %rax
	cmpq	%rbx, %rcx
	jne	LBB0_20
## %bb.13:
	movq	%r14, %rdi
	callq	_avio_feof
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_22
## %bb.21:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,8,3                ## @AVERROR_EOF
	.no_dead_strip	_read_line_to_bprint_escaped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_line_to_bprint_escaped
_read_line_to_bprint_escaped:           ; @read_line_to_bprint_escaped
	.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]
	mov	w21, #32
	mov	w24, #1
	mov	w25, #9217
	add	x26, sp, #8
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x22, #0
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x27, x21
	mov	x0, x19
	bl	_avio_r8
	mov	x21, x0
	and	w8, w27, #0xff
	cmp	w8, #92
	and	w27, w0, #0xff
	ccmp	w0, #13, #2, ne
	lsl	w8, w24, w27
	and	w8, w8, w25
	ccmp	w8, #0, #4, ls
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=2
	strb	w21, [x26, x22]
	add	x8, x22, #1
	mov	x22, x8
	cmp	x8, #1024
	b.ne	LBB0_2
; %bb.4:                                ;   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_5:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x22
	bl	_av_bprint_append_data
	add	x20, x23, x22
	cbz	w21, LBB0_11
; %bb.6:
	cmp	w27, #13
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_avio_r8
	cmp	w0, #10
	b.eq	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_avio_feof
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #-1
	bl	_avio_skip
LBB0_10:
	mov	x0, x20
	b	LBB0_14
LBB0_11:
	ldr	x0, [x19]
	cbnz	x0, LBB0_14
; %bb.12:
	mov	x0, x20
	cbnz	x20, LBB0_14
; %bb.13:
	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_14:
	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_16
; %bb.15:
	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_16:
	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
	.no_dead_strip	_read_line_to_bprint_escaped
.subsections_via_symbols
