	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpl2_event_to_ass
_mpl2_event_to_ass:                     ## @mpl2_event_to_ass
	.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
	xorl	%ecx, %ecx
	cmpb	$32, (%rsi)
	sete	%cl
	movb	(%rsi,%rcx), %al
	testb	%al, %al
	je	LBB0_21
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	addq	%rcx, %rbx
	leaq	L_.str(%rip), %r15
	leaq	L_.str.1(%rip), %r12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_strchr
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rbx
	movzbl	-1(%rcx), %eax
	movq	%r12, %rsi
	cmpb	$47, %al
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpb	$95, %al
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpb	$92, %al
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	leaq	L_.str.3(%rip), %rsi
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	%r14, %rdi
	callq	_av_bprintf
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=2
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_strchr
	leaq	1(%rbx), %rcx
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_12
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$124, %al
	je	LBB0_18
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=2
	movsbl	%al, %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_av_bprint_chars
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rbx
	movzbl	-1(%rbx), %eax
	cmpb	$12, %al
	jg	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$10, %al
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	testb	%al, %al
	jne	LBB0_17
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	cmpb	$13, %al
	je	LBB0_12
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_av_bprintf
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_av_bprintf
	movb	(%rbx), %al
	testb	%al, %al
	jne	LBB0_2
LBB0_21:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/\\_"

L_.str.1:                               ## @.str.1
	.asciz	"{\\i1}"

L_.str.2:                               ## @.str.2
	.asciz	"{\\b1}"

L_.str.3:                               ## @.str.3
	.asciz	"{\\u1}"

L_.str.4:                               ## @.str.4
	.asciz	"{\\r}"

L_.str.5:                               ## @.str.5
	.asciz	"\\N"

	.no_dead_strip	_mpl2_event_to_ass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpl2_event_to_ass
_mpl2_event_to_ass:                     ; @mpl2_event_to_ass
	.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	x8, x1
	ldrb	w9, [x8], #1
	cmp	w9, #32
	csel	x24, x1, x8, ne
	ldrb	w8, [x24]
	cbz	w8, LBB0_22
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.5@PAGE
Lloh3:
	add	x21, x21, l_.str.5@PAGEOFF
Lloh4:
	adrp	x22, l_.str.4@PAGE
Lloh5:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh6:
	adrp	x25, l_.str.1@PAGE
Lloh7:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh8:
	adrp	x26, l_.str.3@PAGE
Lloh9:
	add	x26, x26, l_.str.3@PAGEOFF
Lloh10:
	adrp	x27, l_.str.2@PAGE
Lloh11:
	add	x27, x27, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	sxtb	w1, w8
	mov	x0, x20
	bl	_strchr
	mov	x23, x0
	cbz	x0, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x24, #1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x8
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	cmp	w8, #95
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	cmp	w8, #92
	b.ne	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x1, x27
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x1, x25
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=2
	mov	x1, x26
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x19
	bl	_av_bprintf
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=2
	ldrb	w8, [x24]
	cbz	w8, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=2
	sxtb	w1, w8
	mov	x0, x20
	bl	_strchr
	add	x8, x24, #1
	cbnz	x0, LBB0_4
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #124
	b.eq	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	sxtb	w1, w8
	mov	x0, x19
	mov	w2, #1
	bl	_av_bprint_chars
LBB0_15:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x24, x24, #1
	ldurb	w8, [x24, #-1]
	cmp	w8, #12
	b.gt	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #10
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	cbnz	w8, LBB0_14
	b	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	w8, #13
	b.eq	LBB0_15
	b	LBB0_13
LBB0_19:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x23, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_av_bprintf
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_av_bprintf
	ldrb	w8, [x24]
	cbnz	w8, LBB0_2
LBB0_22:
	mov	w0, #0
	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 AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/\\_"

l_.str.1:                               ; @.str.1
	.asciz	"{\\i1}"

l_.str.2:                               ; @.str.2
	.asciz	"{\\b1}"

l_.str.3:                               ; @.str.3
	.asciz	"{\\u1}"

l_.str.4:                               ; @.str.4
	.asciz	"{\\r}"

l_.str.5:                               ; @.str.5
	.asciz	"\\N"

	.no_dead_strip	_mpl2_event_to_ass
.subsections_via_symbols
