	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidcontrol
_vidcontrol:                            ## @vidcontrol
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_x11@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movq	_using_vt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_asprintf
	movq	-40(%rbp), %rdi
	callq	_system
	movq	-40(%rbp), %r14
	jmp	LBB0_12
LBB0_3:
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$45, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %r15
	cmpb	$0, 1(%rax)
	je	LBB0_11
## %bb.5:
	incq	%r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movb	$0, (%rax)
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	leaq	-44(%rbp), %rcx
	leaq	-25(%rbp), %r8
	movq	%r15, %rdi
	movq	%rcx, %rdx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_11
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_asprintf
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-40(%rbp), %rdx
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
LBB0_10:
	movq	-40(%rbp), %rdi
	callq	_system
	movq	-40(%rbp), %rdi
	callq	_free
	jmp	LBB0_12
LBB0_11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_fprintf
LBB0_12:
	movq	%r14, %rdi
	callq	_free
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_x11,8,3                        ## @x11
	.comm	_using_vt,8,3                   ## @using_vt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vidcontrol -f %s"

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

L_.str.2:                               ## @.str.2
	.asciz	"%dx%d%c"

	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"Which font size? %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"vidcontrol -f %s %s"

	.comm	_verbose,8,3                    ## @verbose
L_.str.5:                               ## @.str.5
	.asciz	"%s\n"

	.no_dead_strip	_vidcontrol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidcontrol
_vidcontrol:                            ; @vidcontrol
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, _x11@GOTPAGE
Lloh1:
	ldr	x8, [x8, _x11@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_13
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _using_vt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _using_vt@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	x2, x20
	bl	_asprintf
	ldr	x0, [sp, #24]
	bl	_system
	ldr	x19, [sp, #24]
	b	LBB0_12
LBB0_3:
	mov	x0, x20
	bl	_strdup
	mov	x19, x0
	mov	w1, #45
	bl	_strrchr
	cbz	x0, LBB0_11
; %bb.4:
	mov	x21, x0
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_11
; %bb.5:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strstr
	cbz	x0, LBB0_7
; %bb.6:
	strb	wzr, [x0]
LBB0_7:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #16
	add	x4, sp, #23
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_11
; %bb.8:
	str	x20, [sp]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #24
	mov	x2, x21
	bl	_asprintf
Lloh14:
	adrp	x8, _verbose@GOTPAGE
Lloh15:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ldr	x2, [sp, #24]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
LBB0_10:
	ldr	x0, [sp, #24]
	bl	_system
	ldr	x0, [sp, #24]
	bl	_free
	b	LBB0_12
LBB0_11:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x20
	bl	_fprintf
LBB0_12:
	mov	x0, x19
	bl	_free
LBB0_13:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_x11,8,3                        ; @x11
	.comm	_using_vt,8,3                   ; @using_vt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vidcontrol -f %s"

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

l_.str.2:                               ; @.str.2
	.asciz	"%dx%d%c"

	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"Which font size? %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"vidcontrol -f %s %s"

	.comm	_verbose,8,3                    ; @verbose
l_.str.5:                               ; @.str.5
	.asciz	"%s\n"

	.no_dead_strip	_vidcontrol
.subsections_via_symbols
