	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifcmd                          ## -- Begin function ifcmd
	.p2align	4, 0x90
_ifcmd:                                 ## @ifcmd
	.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_4
## %bb.1:
	movq	%r14, %rdi
	callq	_get_scale
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.2:
	movq	_curscale@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_16
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	testq	%r14, %r14
	je	LBB0_11
## %bb.6:
	cmpb	$0, (%r14)
	je	LBB0_11
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	_matchline@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_free
LBB0_10:
	movq	_needsort@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, (%rbx)
	jmp	LBB0_16
LBB0_3:
	movq	_CMDLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_move
	xorl	%eax, %eax
	callq	_clrtoeol
	leaq	L_.str.1(%rip), %rdi
	callq	_addstr
	xorl	%eax, %eax
	callq	_get_helplist
	movq	%rax, %rdi
	callq	_addstr
	jmp	LBB0_16
LBB0_11:
	movq	_matchline@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_free
LBB0_13:
	movq	_needsort@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	$0, (%rbx)
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_showpps@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
LBB0_16:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scale"

	.comm	_curscale,4,2                   ## @curscale
	.comm	_CMDLINE,4,2                    ## @CMDLINE
L_.str.1:                               ## @.str.1
	.asciz	"what scale? "

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

L_.str.3:                               ## @.str.3
	.asciz	"*"

	.comm	_matchline,8,3                  ## @matchline
	.comm	_needsort,4,2                   ## @needsort
L_.str.4:                               ## @.str.4
	.asciz	"pps"

	.comm	_showpps,4,2                    ## @showpps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifcmd                          ; -- Begin function ifcmd
	.p2align	2
_ifcmd:                                 ; @ifcmd
	.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_3
; %bb.1:
	mov	x0, x19
	bl	_get_scale
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.2:
Lloh2:
	adrp	x8, _curscale@GOTPAGE
Lloh3:
	ldr	x8, [x8, _curscale@GOTPAGEOFF]
Lloh4:
	str	w0, [x8]
	b	LBB0_16
LBB0_3:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbz	x0, LBB0_14
; %bb.4:
	cbz	x19, LBB0_11
; %bb.5:
	ldrb	w8, [x19]
	cbz	w8, LBB0_11
; %bb.6:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.7:
Lloh9:
	adrp	x20, _matchline@GOTPAGE
Lloh10:
	ldr	x20, [x20, _matchline@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_free
LBB0_9:
Lloh11:
	adrp	x8, _needsort@GOTPAGE
Lloh12:
	ldr	x8, [x8, _needsort@GOTPAGEOFF]
	mov	w9, #1
Lloh13:
	str	w9, [x8]
	mov	x0, x19
	bl	_strdup
	str	x0, [x20]
	b	LBB0_16
LBB0_10:
Lloh14:
	adrp	x8, _CMDLINE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CMDLINE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_move
	bl	_clrtoeol
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_addstr
	bl	_get_helplist
	bl	_addstr
	b	LBB0_16
LBB0_11:
Lloh19:
	adrp	x19, _matchline@GOTPAGE
Lloh20:
	ldr	x19, [x19, _matchline@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_free
LBB0_13:
Lloh21:
	adrp	x8, _needsort@GOTPAGE
Lloh22:
	ldr	x8, [x8, _needsort@GOTPAGEOFF]
	mov	w9, #1
Lloh23:
	str	w9, [x8]
	str	xzr, [x19]
	b	LBB0_16
LBB0_14:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbz	x0, LBB0_16
; %bb.15:
Lloh26:
	adrp	x8, _showpps@GOTPAGE
Lloh27:
	ldr	x8, [x8, _showpps@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x8]
LBB0_16:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scale"

	.comm	_curscale,4,2                   ; @curscale
	.comm	_CMDLINE,4,2                    ; @CMDLINE
l_.str.1:                               ; @.str.1
	.asciz	"what scale? "

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

l_.str.3:                               ; @.str.3
	.asciz	"*"

	.comm	_matchline,8,3                  ; @matchline
	.comm	_needsort,4,2                   ; @needsort
l_.str.4:                               ; @.str.4
	.asciz	"pps"

	.comm	_showpps,4,2                    ; @showpps
.subsections_via_symbols
