	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drv_size
_drv_size:                              ## @drv_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_AssertTCB
	movq	(%rbx), %rbx
	leaq	4(%rbx), %rax
	movq	__nc_prescreen@GOTPCREL(%rip), %rcx
	leaq	4(%rcx), %rdx
	testq	%rbx, %rbx
	cmovneq	%rbx, %rcx
	cmoveq	%rdx, %rax
	movl	(%rax), %r12d
	movl	(%rcx), %r13d
	movq	_columns@GOTPCREL(%rip), %r14
	movswq	(%r14), %rdi
	callq	_T
	movq	_lines@GOTPCREL(%rip), %rax
	movswl	(%rax), %eax
	movl	%eax, (%r15)
	movswl	(%r14), %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, (%r14)
	movl	%r13d, %ecx
	orl	%r12d, %ecx
	je	LBB0_22
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_13
## %bb.2:
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	__nc_getenv_num
	testl	%eax, %eax
	jle	LBB0_7
## %bb.6:
	movl	(%r15), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	__nc_setenv_num
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	__nc_getenv_num
	testl	%eax, %eax
	jle	LBB0_9
## %bb.8:
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	__nc_setenv_num
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	callq	__nc_getenv_num
	testl	%eax, %eax
	jle	LBB0_11
## %bb.10:
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_T
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	callq	__nc_getenv_num
	testl	%eax, %eax
	jle	LBB0_13
## %bb.12:
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_T
LBB0_13:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	movq	_lines@GOTPCREL(%rip), %rsi
	jg	LBB0_15
## %bb.14:
	movswl	(%rsi), %ecx
	movl	%ecx, (%r15)
LBB0_15:
	movl	(%r14), %eax
	testl	%eax, %eax
	movq	_columns@GOTPCREL(%rip), %rdx
	jle	LBB0_16
## %bb.17:
	testl	%ecx, %ecx
	jle	LBB0_18
LBB0_19:
	testl	%eax, %eax
	jle	LBB0_20
LBB0_21:
	movw	%cx, (%rsi)
	movw	%ax, (%rdx)
LBB0_22:
	movslq	%eax, %rdi
	callq	_T
	movq	_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movswl	(%rdx), %eax
	movl	%eax, (%r14)
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jg	LBB0_19
LBB0_18:
	movl	$24, (%r15)
	movl	(%r14), %eax
	movl	$24, %ecx
	testl	%eax, %eax
	jg	LBB0_21
LBB0_20:
	movl	$80, (%r14)
	movl	(%r15), %ecx
	movl	$80, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	__nc_prescreen,8,2              ## @_nc_prescreen
	.comm	_lines,2,1                      ## @lines
	.comm	_columns,2,1                    ## @columns
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"LINES"

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

	.comm	_OK,4,2                         ## @OK
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_IOCTL_WINSIZE,4,2              ## @IOCTL_WINSIZE
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	_drv_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drv_size
_drv_size:                              ; @drv_size
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_AssertTCB
	ldr	x23, [x21]
	add	x8, x23, #4
Lloh0:
	adrp	x9, __nc_prescreen@GOTPAGE
Lloh1:
	ldr	x9, [x9, __nc_prescreen@GOTPAGEOFF]
	cmp	x23, #0
	csel	x10, x9, x23, eq
	add	x9, x9, #4
	csel	x8, x9, x8, eq
	ldr	w24, [x8]
	ldr	w25, [x10]
Lloh2:
	adrp	x21, _columns@GOTPAGE
Lloh3:
	ldr	x21, [x21, _columns@GOTPAGEOFF]
	ldrsh	x0, [x21]
	bl	_T
Lloh4:
	adrp	x22, _lines@GOTPAGE
Lloh5:
	ldr	x22, [x22, _lines@GOTPAGEOFF]
	ldrsh	w8, [x22]
	str	w8, [x19]
	ldrsh	w8, [x21]
	str	w8, [x20]
	orr	w9, w25, w24
	cbz	w9, LBB0_19
; %bb.1:
	cbz	w25, LBB0_13
; %bb.2:
	cbz	w24, LBB0_9
; %bb.3:
	cbz	x23, LBB0_5
; %bb.4:
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_7
LBB0_5:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__nc_getenv_num
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.6:
	ldr	w1, [x19]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__nc_setenv_num
LBB0_7:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__nc_getenv_num
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	w1, [x20]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__nc_setenv_num
LBB0_9:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__nc_getenv_num
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.10:
	str	w0, [x19]
	mov	w0, w0
	bl	_T
LBB0_11:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__nc_getenv_num
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.12:
	str	w0, [x20]
	mov	w0, w0
	bl	_T
LBB0_13:
	ldr	w9, [x19]
	cmp	w9, #0
	b.gt	LBB0_15
; %bb.14:
	ldrsh	w9, [x22]
	str	w9, [x19]
LBB0_15:
	ldr	w8, [x20]
	cmp	w8, #0
	b.le	LBB0_20
; %bb.16:
	cmp	w9, #0
	b.le	LBB0_21
LBB0_17:
	cmp	w8, #0
	b.le	LBB0_22
LBB0_18:
	strh	w9, [x22]
	strh	w8, [x21]
LBB0_19:
	sxtw	x0, w8
	bl	_T
Lloh18:
	adrp	x8, _OK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_20:
	ldrsh	w8, [x21]
	str	w8, [x20]
	ldr	w9, [x19]
	cmp	w9, #0
	b.gt	LBB0_17
LBB0_21:
	mov	w9, #24
	str	w9, [x19]
	ldr	w8, [x20]
	cmp	w8, #0
	b.gt	LBB0_18
LBB0_22:
	mov	w8, #80
	str	w8, [x20]
	ldr	w9, [x19]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	__nc_prescreen,8,2              ; @_nc_prescreen
	.comm	_lines,2,1                      ; @lines
	.comm	_columns,2,1                    ; @columns
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"LINES"

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

	.comm	_OK,4,2                         ; @OK
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_IOCTL_WINSIZE,4,2              ; @IOCTL_WINSIZE
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	_drv_size
.subsections_via_symbols
