	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_term_size                      ## -- Begin function term_size
	.p2align	4, 0x90
_term_size:                             ## @term_size
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_stdscr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_getmaxyx
	movq	_MAX_HEIGHT_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MAX_HEIGHT_FOOTER@GOTPCREL(%rip), %rax
	addl	(%rax), %esi
	negl	%esi
	movl	%esi, (%rbx)
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_wresize
	movl	(%rbx), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wmove                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_MAX_HEIGHT_HEADER,4,2          ## @MAX_HEIGHT_HEADER
	.comm	_MAX_HEIGHT_FOOTER,4,2          ## @MAX_HEIGHT_FOOTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_term_size                      ; -- Begin function term_size
	.p2align	2
_term_size:                             ; @term_size
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _stdscr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdscr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #0
	bl	_getmaxyx
Lloh3:
	adrp	x8, _MAX_HEIGHT_HEADER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_HEIGHT_HEADER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MAX_HEIGHT_FOOTER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_HEIGHT_FOOTER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w8, w8, w9
	neg	w1, w8
	str	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_wresize
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wmove
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_MAX_HEIGHT_HEADER,4,2          ; @MAX_HEIGHT_HEADER
	.comm	_MAX_HEIGHT_FOOTER,4,2          ; @MAX_HEIGHT_FOOTER
.subsections_via_symbols
