	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setftmode                      ## -- Begin function setftmode
	.p2align	4, 0x90
_setftmode:                             ## @setftmode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %edi
	jne	LBB0_1
## %bb.2:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_modename@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_3
LBB0_1:
	movq	(%rsi), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_UPRINTF
LBB0_3:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s mode-name\n"

	.comm	_code,4,2                       ## @code
	.comm	_ttyout,4,2                     ## @ttyout
L_.str.1:                               ## @.str.1
	.asciz	"We only support %s mode, sorry.\n"

	.comm	_modename,8,3                   ## @modename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setftmode                      ; -- Begin function setftmode
	.p2align	2
_setftmode:                             ; @setftmode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ttyout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _modename@GOTPAGE
Lloh4:
	ldr	x8, [x8, _modename@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	b	LBB0_3
LBB0_2:
	ldr	x1, [x1]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_UPRINTF
LBB0_3:
Lloh10:
	adrp	x8, _code@GOTPAGE
Lloh11:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh12:
	str	w9, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s mode-name\n"

	.comm	_code,4,2                       ; @code
	.comm	_ttyout,4,2                     ; @ttyout
l_.str.1:                               ; @.str.1
	.asciz	"We only support %s mode, sorry.\n"

	.comm	_modename,8,3                   ; @modename
.subsections_via_symbols
