	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdiostat                      ## -- Begin function cmdiostat
	.p2align	4, 0x90
_cmdiostat:                             ## @cmdiostat
	.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, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_kbpt@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
	jmp	LBB0_2
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_numbers@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_2
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_numbers@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_2
LBB0_7:
	movq	_cur_dev@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$100, %edx
	callq	_dscmd
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:
	movq	_wnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wclear
	xorl	%eax, %eax
	callq	_labeliostat
	xorl	%eax, %eax
	callq	_refresh
	movl	$1, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kbpt"

	.comm	_kbpt,4,2                       ## @kbpt
L_.str.1:                               ## @.str.1
	.asciz	"numbers"

	.comm	_numbers,4,2                    ## @numbers
L_.str.2:                               ## @.str.2
	.asciz	"bars"

	.comm	_cur_dev,4,2                    ## @cur_dev
	.comm	_wnd,4,2                        ## @wnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmdiostat                      ; -- Begin function cmdiostat
	.p2align	2
_cmdiostat:                             ; @cmdiostat
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_prefix
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _kbpt@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kbpt@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x8]
	b	LBB0_7
LBB0_2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _numbers@GOTPAGE
Lloh7:
	ldr	x8, [x8, _numbers@GOTPAGEOFF]
	mov	w9, #1
Lloh8:
	str	w9, [x8]
	b	LBB0_7
LBB0_4:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _numbers@GOTPAGE
Lloh12:
	ldr	x8, [x8, _numbers@GOTPAGEOFF]
Lloh13:
	str	wzr, [x8]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x3, _cur_dev@GOTPAGE
Lloh15:
	ldr	x3, [x3, _cur_dev@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #100
	bl	_dscmd
	cbz	w0, LBB0_8
LBB0_7:
Lloh16:
	adrp	x8, _wnd@GOTPAGE
Lloh17:
	ldr	x8, [x8, _wnd@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_wclear
	bl	_labeliostat
	bl	_refresh
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kbpt"

	.comm	_kbpt,4,2                       ; @kbpt
l_.str.1:                               ; @.str.1
	.asciz	"numbers"

	.comm	_numbers,4,2                    ; @numbers
l_.str.2:                               ; @.str.2
	.asciz	"bars"

	.comm	_cur_dev,4,2                    ; @cur_dev
	.comm	_wnd,4,2                        ; @wnd
.subsections_via_symbols
