	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function QuitCommand
_QuitCommand:                           ## @QuitCommand
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	callq	_prompt_IsController
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	callq	_Cleanup
LBB0_6:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	movl	$1, %esi
	callq	_prompt_Destroy
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	cmpq	%rax, (%rbx)
	jbe	LBB0_6
## %bb.3:
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	16(%rbx), %rax
	movq	_LOCAL_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"all"

	.comm	_LOCAL_AUTH,4,2                 ## @LOCAL_AUTH
	.no_dead_strip	_QuitCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function QuitCommand
_QuitCommand:                           ; @QuitCommand
	.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	x19, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_prompt_IsController
	cbz	x0, LBB0_6
LBB0_2:
	bl	_Cleanup
LBB0_3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	mov	w1, #1
	bl	_prompt_Destroy
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldp	x9, x8, [x19]
	cmp	x9, x8
	b.ls	LBB0_3
; %bb.7:
	ldr	x9, [x19, #24]
	ldr	w0, [x9, x8, lsl #2]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbnz	w0, LBB0_3
; %bb.8:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _LOCAL_AUTH@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LOCAL_AUTH@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"all"

	.comm	_LOCAL_AUTH,4,2                 ; @LOCAL_AUTH
	.no_dead_strip	_QuitCommand
.subsections_via_symbols
