	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.7:
	movq	(%rsi), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_UPRINTF
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_connected@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_disconnect
LBB0_4:
	movl	$1, %edi
	callq	_pswitch
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_disconnect
LBB0_6:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s\n"

	.comm	_code,4,2                       ## @code
	.comm	_connected,8,3                  ## @connected
.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
	cbnz	w0, LBB0_3
; %bb.1:
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x1, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UPRINTF
Lloh2:
	adrp	x8, _code@GOTPAGE
Lloh3:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh4:
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh5:
	adrp	x19, _connected@GOTPAGE
Lloh6:
	ldr	x19, [x19, _connected@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #0
	mov	x1, #0
	bl	_disconnect
LBB0_5:
	mov	w0, #1
	bl	_pswitch
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w0, #0
	mov	x1, #0
	bl	_disconnect
LBB0_7:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s\n"

	.comm	_code,4,2                       ; @code
	.comm	_connected,8,3                  ; @connected
.subsections_via_symbols
