	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cl_suspend                     ## -- Begin function cl_suspend
	.p2align	4, 0x90
_cl_suspend:                            ## @cl_suspend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_CLP
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_CLSP
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_CLSP
	movq	%rax, %r12
	jmp	LBB0_3
LBB0_2:
	movq	_stdscr@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_3:
	movl	$1, (%rbx)
	movq	_SC_EX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	_CL_STDIN_TTY@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_tcgetattr
	movl	(%rbx), %edi
	movq	_TCSASOFT@GOTPCREL(%rip), %rax
	movq	_TCSADRAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdx
	addq	$16, %rdx
	callq	_tcsetattr
LBB0_6:
	movq	_SIGTSTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_kill
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCSASOFT@GOTPCREL(%rip), %rax
	movq	_TCSADRAIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_tcsetattr
	jmp	LBB0_16
LBB0_8:
	movq	%r12, %rdi
	callq	_getyx
	movq	_LINES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	decq	%rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_wmove
	movq	%r12, %rdi
	callq	_wrefresh
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	-48(%rbp), %rsi
	callq	_tcgetattr
	movq	_stdscr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_keypad
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_cl_rename
	xorl	%eax, %eax
	callq	_endwin
	movl	(%rbx), %edi
	movq	_TCSADRAIN@GOTPCREL(%rip), %rbx
	movq	_TCSASOFT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%rbx), %esi
	movq	%r14, %rdx
	addq	$16, %rdx
	callq	_tcsetattr
	movq	_SIGTSTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_kill
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.9:
	movq	_CL_SCR_EX_INIT@GOTPCREL(%rip), %rax
	movq	_CL_SCR_VI_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_CLR
	jmp	LBB0_16
LBB0_10:
	movq	%rbx, %r15
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rbx
	movq	%r12, %rdi
	callq	_wrefresh
	movq	_CL_STDIN_TTY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_F_ISSET
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movq	_TCSASOFT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_tcsetattr
LBB0_12:
	movq	(%r13), %rax
	movq	(%rax), %rsi
	movl	$1, %r15d
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_cl_rename
	movq	_stdscr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_keypad
	movq	%r12, %rdi
	callq	_wmove
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_cl_refresh
	leaq	-52(%rbp), %r8
	movq	%r13, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_cl_ssize
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:
	cmpl	$0, -52(%rbp)
	je	LBB0_15
## %bb.14:
	movq	%r13, %rdi
	callq	_CLP
	movq	_CL_SIGWINCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_F_SET
LBB0_15:
	xorl	%r15d, %r15d
LBB0_16:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdscr,8,3                     ## @stdscr
	.comm	_SC_EX,4,2                      ## @SC_EX
	.comm	_CL_STDIN_TTY,4,2               ## @CL_STDIN_TTY
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_TCSASOFT,4,2                   ## @TCSASOFT
	.comm	_TCSADRAIN,4,2                  ## @TCSADRAIN
	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.comm	_LINES,8,3                      ## @LINES
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_CL_SCR_EX_INIT,4,2             ## @CL_SCR_EX_INIT
	.comm	_CL_SCR_VI_INIT,4,2             ## @CL_SCR_VI_INIT
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_CL_SIGWINCH,4,2                ## @CL_SIGWINCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cl_suspend                     ; -- Begin function cl_suspend
	.p2align	2
_cl_suspend:                            ; @cl_suspend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	bl	_CLP
	mov	x20, x0
	mov	x0, x19
	bl	_CLSP
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_CLSP
	mov	x21, x0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _stdscr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdscr@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
LBB0_3:
	mov	w8, #1
	str	w8, [x22]
Lloh3:
	adrp	x8, _SC_EX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SC_EX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	cbz	x0, LBB0_8
; %bb.4:
Lloh6:
	adrp	x23, _CL_STDIN_TTY@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CL_STDIN_TTY@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x20
	bl	_F_ISSET
Lloh8:
	adrp	x19, _STDIN_FILENO@GOTPAGE
Lloh9:
	ldr	x19, [x19, _STDIN_FILENO@GOTPAGEOFF]
Lloh10:
	adrp	x21, _TCSASOFT@GOTPAGE
Lloh11:
	ldr	x21, [x21, _TCSASOFT@GOTPAGEOFF]
Lloh12:
	adrp	x22, _TCSADRAIN@GOTPAGE
Lloh13:
	ldr	x22, [x22, _TCSADRAIN@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19]
	add	x1, sp, #8
	bl	_tcgetattr
	ldr	w0, [x19]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w1, w9, w8
	add	x2, x20, #16
	bl	_tcsetattr
LBB0_6:
Lloh14:
	adrp	x8, _SIGTSTP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIGTSTP@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_kill
	ldr	w1, [x23]
	mov	x0, x20
	bl	_F_ISSET
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w0, [x19]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w1, w9, w8
	add	x2, sp, #8
	bl	_tcsetattr
	b	LBB0_10
LBB0_8:
	mov	x0, x21
	bl	_getyx
Lloh17:
	adrp	x8, _LINES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LINES@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	sub	x1, x8, #1
	mov	x0, x21
	mov	x2, #0
	bl	_wmove
	mov	x0, x21
	bl	_wrefresh
Lloh20:
	adrp	x23, _STDIN_FILENO@GOTPAGE
Lloh21:
	ldr	x23, [x23, _STDIN_FILENO@GOTPAGEOFF]
	ldr	w0, [x23]
	add	x1, sp, #8
	bl	_tcgetattr
Lloh22:
	adrp	x22, _stdscr@GOTPAGE
Lloh23:
	ldr	x22, [x22, _stdscr@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh24:
	adrp	x8, _FALSE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_keypad
	mov	x0, x19
	mov	x1, #0
	mov	w2, #0
	bl	_cl_rename
	bl	_endwin
	ldr	w0, [x23]
Lloh27:
	adrp	x24, _TCSADRAIN@GOTPAGE
Lloh28:
	ldr	x24, [x24, _TCSADRAIN@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh29:
	adrp	x25, _TCSASOFT@GOTPAGE
Lloh30:
	ldr	x25, [x25, _TCSASOFT@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w1, w9, w8
	add	x2, x20, #16
	bl	_tcsetattr
Lloh31:
	adrp	x8, _SIGTSTP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SIGTSTP@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_kill
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_12
; %bb.9:
Lloh34:
	adrp	x8, _CL_SCR_EX_INIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _CL_SCR_EX_INIT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _CL_SCR_VI_INIT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _CL_SCR_VI_INIT@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x20
	bl	_F_CLR
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	mov	x0, x21
	bl	_wrefresh
Lloh40:
	adrp	x8, _CL_STDIN_TTY@GOTPAGE
Lloh41:
	ldr	x8, [x8, _CL_STDIN_TTY@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_F_ISSET
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w0, [x23]
	ldr	w8, [x25]
	ldr	w9, [x24]
	orr	w1, w9, w8
	add	x2, sp, #8
	bl	_tcsetattr
LBB0_14:
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	w20, #1
	mov	x0, x19
	mov	w2, #1
	bl	_cl_rename
	ldr	x0, [x22]
Lloh43:
	adrp	x8, _TRUE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_keypad
	mov	x0, x21
	bl	_wmove
	mov	x0, x19
	mov	w1, #1
	bl	_cl_refresh
	add	x4, sp, #4
	mov	x0, x19
	mov	w1, #1
	mov	x2, #0
	mov	x3, #0
	bl	_cl_ssize
	cbnz	x0, LBB0_11
; %bb.15:
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_10
; %bb.16:
	mov	x0, x19
	bl	_CLP
Lloh46:
	adrp	x8, _CL_SIGWINCH@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CL_SIGWINCH@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_F_SET
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_stdscr,8,3                     ; @stdscr
	.comm	_SC_EX,4,2                      ; @SC_EX
	.comm	_CL_STDIN_TTY,4,2               ; @CL_STDIN_TTY
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_TCSASOFT,4,2                   ; @TCSASOFT
	.comm	_TCSADRAIN,4,2                  ; @TCSADRAIN
	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.comm	_LINES,8,3                      ; @LINES
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_CL_SCR_EX_INIT,4,2             ; @CL_SCR_EX_INIT
	.comm	_CL_SCR_VI_INIT,4,2             ; @CL_SCR_VI_INIT
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_CL_SIGWINCH,4,2                ; @CL_SIGWINCH
.subsections_via_symbols
