	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cl_resize
_cl_resize:                             ## @cl_resize
	.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	%r12
	pushq	%rbx
	movl	$4160, %eax                     ## imm = 0x1040
	callq	____chkstk_darwin
	subq	%rax, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-4160(%rbp), %r12
	movq	%r12, -4168(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -4192(%rbp)
	movq	$0, -4176(%rbp)
	leaq	-4176(%rbp), %rax
	movq	%rax, -64(%rbp)
	leaq	-4192(%rbp), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_L
	movq	%r12, %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_SPRINTF
	movq	%rax, -4176(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_opts_set
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_L
	leaq	-4160(%rbp), %rdi
	movl	$4096, %esi                     ## imm = 0x1000
	movl	%eax, %edx
	movl	%r14d, %ecx
	callq	_SPRINTF
	movq	%rax, -4176(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_opts_set
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$4160, %rsp                     ## imm = 0x1040
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lines=%lu"

L_.str.1:                               ## @.str.1
	.asciz	"columns=%lu"

	.no_dead_strip	_cl_resize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cl_resize
_cl_resize:                             ; @cl_resize
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	w9, #4160
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x8, sp, #40
	stp	xzr, xzr, [sp, #8]
	stp	xzr, x8, [sp, #24]
	add	x8, sp, #24
	add	x9, sp, #8
	stp	x8, x9, [x29, #-56]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_L
	mov	x2, x0
	add	x0, sp, #40
	mov	w1, #4096
	mov	x3, x21
	bl	_SPRINTF
	str	x0, [sp, #24]
	sub	x1, x29, #56
	mov	x0, x19
	mov	x2, #0
	bl	_opts_set
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_L
	mov	x2, x0
	add	x0, sp, #40
	mov	w1, #4096
	mov	x3, x20
	bl	_SPRINTF
	str	x0, [sp, #24]
	sub	x1, x29, #56
	mov	x0, x19
	mov	x2, #0
	bl	_opts_set
	cmp	x0, #0
	cset	w0, ne
LBB0_3:
	ldur	x8, [x29, #-40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #64
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lines=%lu"

l_.str.1:                               ; @.str.1
	.asciz	"columns=%lu"

	.no_dead_strip	_cl_resize
.subsections_via_symbols
