	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_endwin                         ## -- Begin function endwin
	.p2align	4, 0x90
_endwin:                                ## @endwin
	.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
	movq	_stdscr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_keypad
	movl	(%rbx), %eax
	movq	_initialized@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_curscr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_delwin
	movq	_virtual_scr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_delwin
	movl	(%r14), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_delwin                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_initialized,4,2                ## @initialized
	.comm	_curscr,4,2                     ## @curscr
	.comm	_virtual_scr,4,2                ## @virtual_scr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_endwin                         ; -- Begin function endwin
	.p2align	2
_endwin:                                ; @endwin
	.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
Lloh0:
	adrp	x19, _stdscr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _stdscr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x20, _FALSE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _FALSE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_keypad
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _initialized@GOTPAGE
Lloh5:
	ldr	x9, [x9, _initialized@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
Lloh7:
	adrp	x8, _curscr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _curscr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_delwin
Lloh10:
	adrp	x8, _virtual_scr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _virtual_scr@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_delwin
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_delwin
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_initialized,4,2                ; @initialized
	.comm	_curscr,4,2                     ; @curscr
	.comm	_virtual_scr,4,2                ; @virtual_scr
.subsections_via_symbols
