	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setescape
_setescape:                             ## @setescape
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmpl	$3, %edi
	cmovgeq	%rax, %rsi
	jl	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	8(%rbx), %rbx
	jmp	LBB0_3
LBB0_2:
	leaq	-80(%rbp), %rbx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$50, %esi
	callq	_fgets
LBB0_3:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_5
## %bb.4:
	movq	_escape@GOTPCREL(%rip), %rcx
	movb	%al, (%rcx)
LBB0_5:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	$1, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Deprecated usage - please use 'set escape%s%s' in the future.\n"

L_.str.1:                               ## @.str.1
	.asciz	" "

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"new escape character: "

	.comm	_stdin,4,2                      ## @stdin
	.comm	_escape,1,0                     ## @escape
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_setescape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setescape
_setescape:                             ; @setescape
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, l_.str.2@PAGE
Lloh4:
	add	x9, x9, l_.str.2@PAGEOFF
	stur	x8, [x29, #-24]
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	w0, #2
	csel	x8, x8, x9, gt
	cmp	w0, #3
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x9, [x1, #8]
	stp	x8, x9, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	x19, [x19, #8]
	ldrb	w8, [x19]
	cbnz	w8, LBB0_3
	b	LBB0_4
LBB0_2:
	add	x19, sp, #22
	stp	x8, x9, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
Lloh13:
	adrp	x8, _stdin@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x0, sp, #22
	mov	w1, #50
	bl	_fgets
	ldrb	w8, [x19]
	cbz	w8, LBB0_4
LBB0_3:
Lloh16:
	adrp	x9, _escape@GOTPAGE
Lloh17:
	ldr	x9, [x9, _escape@GOTPAGEOFF]
Lloh18:
	strb	w8, [x9]
LBB0_4:
Lloh19:
	adrp	x8, _stdout@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_fflush
	ldur	x8, [x29, #-24]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Deprecated usage - please use 'set escape%s%s' in the future.\n"

l_.str.1:                               ; @.str.1
	.asciz	" "

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"new escape character: "

	.comm	_stdin,4,2                      ; @stdin
	.comm	_escape,1,0                     ; @escape
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_setescape
.subsections_via_symbols
