	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quit_confirm                   ## -- Begin function quit_confirm
	.p2align	4, 0x90
_quit_confirm:                          ## @quit_confirm
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_null_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ptid_equal
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_init_ui_hook@GOTPCREL(%rip), %rax
	movq	_attach_flag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rcx, %rdx
	cmpq	$0, (%rax)
	leaq	L_.str(%rip), %rsi
	cmoveq	%rdx, %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_query
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_null_ptid,4,2                  ## @null_ptid
	.comm	_target_has_execution,8,3       ## @target_has_execution
	.comm	_init_ui_hook,8,3               ## @init_ui_hook
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"A debugging session is active.\nDo you still want to close the debugger?"

	.comm	_attach_flag,8,3                ## @attach_flag
L_.str.1:                               ## @.str.1
	.asciz	"The program is running.  Quit anyway (and detach it)? "

L_.str.2:                               ## @.str.2
	.asciz	"The program is running.  Exit anyway? "

L_.str.3:                               ## @.str.3
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quit_confirm                   ; -- Begin function quit_confirm
	.p2align	2
_quit_confirm:                          ; @quit_confirm
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _null_ptid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _null_ptid@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ptid_equal
Lloh6:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh7:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	w0, #0
	ccmp	x8, #0, #4, eq
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _init_ui_hook@GOTPAGE
Lloh10:
	ldr	x8, [x8, _init_ui_hook@GOTPAGEOFF]
Lloh11:
	adrp	x9, _attach_flag@GOTPAGE
Lloh12:
	ldr	x9, [x9, _attach_flag@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, l_.str.1@PAGE
Lloh16:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh17:
	adrp	x11, l_.str.2@PAGE
Lloh18:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	x9, #0
	csel	x9, x11, x10, eq
Lloh19:
	adrp	x10, l_.str@PAGE
Lloh20:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x1, x9, x10, eq
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_query
	cbz	w0, LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_null_ptid,4,2                  ; @null_ptid
	.comm	_target_has_execution,8,3       ; @target_has_execution
	.comm	_init_ui_hook,8,3               ; @init_ui_hook
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"A debugging session is active.\nDo you still want to close the debugger?"

	.comm	_attach_flag,8,3                ; @attach_flag
l_.str.1:                               ; @.str.1
	.asciz	"The program is running.  Quit anyway (and detach it)? "

l_.str.2:                               ; @.str.2
	.asciz	"The program is running.  Exit anyway? "

l_.str.3:                               ; @.str.3
	.asciz	"%s"

.subsections_via_symbols
