	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quit                           ## -- Begin function quit
	.p2align	4, 0x90
_quit:                                  ## @quit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	$1, %edi
	callq	_serial_fdopen
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_target_terminal_ours
	xorl	%edi, %edi
	callq	_wrap_here
	movq	_gdb_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gdb_flush
	movq	_gdb_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_gdb_flush
	movq	%rbx, %rdi
	callq	_serial_drain_output
	movq	%rbx, %rdi
	callq	_serial_un_fdopen
	xorl	%eax, %eax
	callq	_annotate_error_begin
	movq	_quit_pre_print@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	callq	_fputs_unfiltered
LBB0_2:
	movq	_job_control@GOTPCREL(%rip), %rax
	movq	_current_target@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rcx, %rsi
	cmpq	$0, (%rax)
	movl	(%r14), %edi
	cmovneq	%rcx, %rsi
	callq	_fprintf_unfiltered
	movq	_RETURN_QUIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_throw_exception                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gdb_stdout,4,2                 ## @gdb_stdout
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
	.comm	_quit_pre_print,8,3             ## @quit_pre_print
	.comm	_job_control,8,3                ## @job_control
	.comm	_current_target,8,3             ## @current_target
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Quit\n"

L_.str.1:                               ## @.str.1
	.asciz	"Quit (expect signal SIGINT when the program is resumed)\n"

	.comm	_RETURN_QUIT,4,2                ## @RETURN_QUIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quit                           ; -- Begin function quit
	.p2align	2
_quit:                                  ; @quit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w0, #1
	bl	_serial_fdopen
	mov	x19, x0
	bl	_target_terminal_ours
	mov	x0, #0
	bl	_wrap_here
Lloh0:
	adrp	x8, _gdb_stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gdb_stdout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_gdb_flush
Lloh3:
	adrp	x20, _gdb_stderr@GOTPAGE
Lloh4:
	ldr	x20, [x20, _gdb_stderr@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_gdb_flush
	mov	x0, x19
	bl	_serial_drain_output
	mov	x0, x19
	bl	_serial_un_fdopen
	bl	_annotate_error_begin
Lloh5:
	adrp	x8, _quit_pre_print@GOTPAGE
Lloh6:
	ldr	x8, [x8, _quit_pre_print@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	bl	_fputs_unfiltered
LBB0_2:
Lloh8:
	adrp	x8, _job_control@GOTPAGE
Lloh9:
	ldr	x8, [x8, _job_control@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _current_target@GOTPAGE
Lloh12:
	ldr	x9, [x9, _current_target@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, #0
	ccmp	x8, #0, #0, ne
	ldr	w0, [x20]
Lloh14:
	adrp	x8, l_.str.1@PAGE
Lloh15:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh16:
	adrp	x9, l_.str@PAGE
Lloh17:
	add	x9, x9, l_.str@PAGEOFF
	csel	x1, x9, x8, ne
	bl	_fprintf_unfiltered
Lloh18:
	adrp	x8, _RETURN_QUIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RETURN_QUIT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_throw_exception
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_gdb_stdout,4,2                 ; @gdb_stdout
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
	.comm	_quit_pre_print,8,3             ; @quit_pre_print
	.comm	_job_control,8,3                ; @job_control
	.comm	_current_target,8,3             ; @current_target
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Quit\n"

l_.str.1:                               ; @.str.1
	.asciz	"Quit (expect signal SIGINT when the program is resumed)\n"

	.comm	_RETURN_QUIT,4,2                ; @RETURN_QUIT
.subsections_via_symbols
