	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_bprint_escape               ## -- Begin function av_bprint_escape
	.p2align	4, 0x90
_av_bprint_escape:                      ## @av_bprint_escape
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_AV_ESCAPE_MODE_AUTO@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_AV_ESCAPE_MODE_BACKSLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	cmpl	$128, %ecx
	jne	LBB0_3
## %bb.13:
	movq	%r14, %rdi
	movl	$39, %esi
	movl	$1, %edx
	callq	_av_bprint_chars
	leaq	L_.str(%rip), %r15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_av_bprintf
	incq	%rbx
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	cmpb	$39, %al
	je	LBB0_28
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	testb	%al, %al
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movsbl	%al, %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_av_bprint_chars
	incq	%rbx
	jmp	LBB0_14
LBB0_3:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_27
## %bb.4:
	movq	_WHITESPACES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movsbl	%al, %esi
	callq	_strchr
	movl	%eax, %r13d
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movsbl	(%rbx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strchr
	testl	%eax, %eax
	jne	LBB0_8
LBB0_6:
	movsbl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_strchr
	orl	%r13d, %eax
	setne	%al
	movq	_AV_ESCAPE_FLAG_STRICT@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rcx)
	jne	LBB0_9
## %bb.7:
	testb	%al, %al
	je	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	movl	$92, %esi
	movl	$1, %edx
	callq	_av_bprint_chars
LBB0_9:
	movsbl	(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_av_bprint_chars
	movb	1(%rbx), %al
	testb	%al, %al
	je	LBB0_27
## %bb.10:
	movl	$1, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movl	$92, %esi
	movl	$1, %edx
	callq	_av_bprint_chars
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=1
	movsbl	(%rbx,%r15), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_av_bprint_chars
	movzbl	1(%rbx,%r15), %eax
	incq	%r15
	testb	%al, %al
	je	LBB0_27
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_12
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$0, 1(%rbx,%r15)
	sete	%r12b
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	$1, %r12b
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_WHITESPACES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movsbl	%al, %esi
	callq	_strchr
	movl	%eax, %r13d
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=1
	movsbl	(%rbx,%r15), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_strchr
	testl	%eax, %eax
	jne	LBB0_25
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movsbl	(%rbx,%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_strchr
	movb	$1, %cl
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	testl	%r13d, %r13d
	setne	%al
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	_AV_ESCAPE_FLAG_WHITESPACE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	setne	%cl
	andb	%al, %cl
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	testl	%r13d, %r13d
	setne	%al
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	_AV_ESCAPE_FLAG_STRICT@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=1
	andb	%r12b, %al
	orb	%al, %cl
	jne	LBB0_25
	jmp	LBB0_26
LBB0_17:
	movq	%r14, %rdi
	movl	$39, %esi
	movl	$1, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_bprint_chars                ## TAILCALL
LBB0_27:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_ESCAPE_MODE_AUTO,4,2        ## @AV_ESCAPE_MODE_AUTO
	.comm	_AV_ESCAPE_MODE_BACKSLASH,4,2   ## @AV_ESCAPE_MODE_BACKSLASH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'\\''"

	.comm	_WHITESPACES,8,3                ## @WHITESPACES
L_.str.1:                               ## @.str.1
	.asciz	"'\\"

	.comm	_AV_ESCAPE_FLAG_WHITESPACE,4,2  ## @AV_ESCAPE_FLAG_WHITESPACE
	.comm	_AV_ESCAPE_FLAG_STRICT,4,2      ## @AV_ESCAPE_FLAG_STRICT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_bprint_escape               ; -- Begin function av_bprint_escape
	.p2align	2
_av_bprint_escape:                      ; @av_bprint_escape
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _AV_ESCAPE_MODE_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_ESCAPE_MODE_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AV_ESCAPE_MODE_BACKSLASH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_ESCAPE_MODE_BACKSLASH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w3
	csel	w8, w9, w3, eq
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.1:
	mov	x0, x19
	mov	w1, #39
	mov	w2, #1
	bl	_av_bprint_chars
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_av_bprintf
	add	x20, x20, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #39
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w8, LBB0_24
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w1, w8
	mov	x0, x19
	mov	w2, #1
	bl	_av_bprint_chars
	add	x20, x20, #1
	b	LBB0_3
LBB0_6:
	ldrb	w8, [x20]
	cbz	w8, LBB0_25
; %bb.7:
	mov	x21, x4
	mov	x22, x2
Lloh8:
	adrp	x25, _WHITESPACES@GOTPAGE
Lloh9:
	ldr	x25, [x25, _WHITESPACES@GOTPAGEOFF]
	ldr	x0, [x25]
	sxtb	w1, w8
	bl	_strchr
	mov	x23, x0
	cbz	x22, LBB0_9
; %bb.8:
	ldrsb	w1, [x20]
	mov	x0, x22
	bl	_strchr
	cbnz	w0, LBB0_10
LBB0_9:
	ldrsb	w1, [x20]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_strchr
	orr	w8, w0, w23
	cmp	w8, #0
	cset	w8, ne
Lloh12:
	adrp	x9, _AV_ESCAPE_FLAG_STRICT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AV_ESCAPE_FLAG_STRICT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w9, w9, w21
	cmp	w9, #0
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_11
LBB0_10:
	mov	x0, x19
	mov	w1, #92
	mov	w2, #1
	bl	_av_bprint_chars
LBB0_11:
	ldrsb	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	bl	_av_bprint_chars
	ldrb	w8, [x20, #1]
	cbz	w8, LBB0_25
; %bb.12:
	mov	x27, #0
Lloh15:
	adrp	x23, l_.str.1@PAGE
Lloh16:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	w1, #92
	mov	w2, #1
	bl	_av_bprint_chars
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldrsb	w1, [x28, #1]
	mov	x0, x19
	mov	w2, #1
	bl	_av_bprint_chars
	add	x8, x20, x27
	ldrb	w8, [x8, #2]
	add	x27, x27, #1
	cbz	w8, LBB0_25
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x28, x20, x27
	cmn	x27, #1
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrb	w9, [x28, #2]
	cmp	w9, #0
	cset	w26, eq
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w26, #1
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x25]
	sxtb	w1, w8
	bl	_strchr
	mov	x24, x0
	cbz	x22, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldrsb	w1, [x28, #1]
	mov	x0, x22
	bl	_strchr
	cbnz	w0, LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	ldrsb	w1, [x28, #1]
	mov	x0, x23
	bl	_strchr
	cbz	w0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w8, #1
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=1
Lloh17:
	adrp	x8, _AV_ESCAPE_FLAG_WHITESPACE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_ESCAPE_FLAG_WHITESPACE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w21
	ccmp	w24, #0, #4, ne
	cset	w8, ne
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	cmp	w24, #0
	cset	w9, ne
Lloh20:
	adrp	x10, _AV_ESCAPE_FLAG_STRICT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _AV_ESCAPE_FLAG_STRICT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	and	w10, w10, w21
	and	w9, w9, w26
	orr	w8, w8, w9
	cmp	w10, #0
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_13
	b	LBB0_14
LBB0_24:
	mov	x0, x19
	mov	w1, #39
	mov	w2, #1
	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
	b	_av_bprint_chars
LBB0_25:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_ESCAPE_MODE_AUTO,4,2        ; @AV_ESCAPE_MODE_AUTO
	.comm	_AV_ESCAPE_MODE_BACKSLASH,4,2   ; @AV_ESCAPE_MODE_BACKSLASH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'\\''"

	.comm	_WHITESPACES,8,3                ; @WHITESPACES
l_.str.1:                               ; @.str.1
	.asciz	"'\\"

	.comm	_AV_ESCAPE_FLAG_WHITESPACE,4,2  ; @AV_ESCAPE_FLAG_WHITESPACE
	.comm	_AV_ESCAPE_FLAG_STRICT,4,2      ; @AV_ESCAPE_FLAG_STRICT
.subsections_via_symbols
