	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_term_dimensions            ## -- Begin function get_term_dimensions
	.p2align	4, 0x90
_get_term_dimensions:                   ## @get_term_dimensions
	.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	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rdi
	callq	_atoi
	movq	%rax, %r14
	movl	%r14d, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rdi
	callq	_atoi
	movl	%eax, 4(%rbx)
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_5
LBB0_4:
	movabsq	$343597383705, %rax             ## imm = 0x5000000019
	movq	%rax, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LINES"

L_.str.1:                               ## @.str.1
	.asciz	"COLUMNS"

	.comm	_TIOCGWINSZ,4,2                 ## @TIOCGWINSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function get_term_dimensions
lCPI0_0:
	.long	25                              ; 0x19
	.long	80                              ; 0x50
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_get_term_dimensions
	.p2align	2
_get_term_dimensions:                   ; @get_term_dimensions
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_4
; %bb.1:
	bl	_atoi
	mov	x20, x0
	str	w20, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_4
; %bb.2:
	bl	_atoi
	str	w0, [x19, #4]
	cbz	w20, LBB0_4
; %bb.3:
	cbnz	w0, LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdr	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LINES"

l_.str.1:                               ; @.str.1
	.asciz	"COLUMNS"

	.comm	_TIOCGWINSZ,4,2                 ; @TIOCGWINSZ
.subsections_via_symbols
