	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_mouse_char
_set_mouse_char:                        ## @set_mouse_char
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	testq	%rax, %rax
	js	LBB0_5
## %bb.1:
	movq	_UCHAR_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	$-3, %rcx
	cmpq	%rcx, %rax
	jle	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	callq	_revert
	movq	_UCHAR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$-3, %esi
	leaq	L_.str(%rip), %rdi
	addq	$16, %rsp
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_2:
	movq	_MOUSE_MOUSECHAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -4(%rbp)
	movl	%eax, -8(%rbp)
	movq	_CONS_MOUSECTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	xorl	%edi, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_revert
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UCHAR_MAX,4,2                  ## @UCHAR_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"argument to -M must be 0 through %d"

	.comm	_MOUSE_MOUSECHAR,4,2            ## @MOUSE_MOUSECHAR
	.comm	_CONS_MOUSECTL,4,2              ## @CONS_MOUSECTL
L_.str.1:                               ## @.str.1
	.asciz	"setting mouse character"

	.no_dead_strip	_set_mouse_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_mouse_char
_set_mouse_char:                        ; @set_mouse_char
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
Lloh0:
	adrp	x19, _UCHAR_MAX@GOTPAGE
Lloh1:
	ldr	x19, [x19, _UCHAR_MAX@GOTPAGEOFF]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldrsw	x8, [x19]
	sub	x8, x8, #3
	cmp	x0, x8
	b.le	LBB0_3
LBB0_2:
	bl	_revert
	ldr	w8, [x19]
	sub	w1, w8, #3
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_warnx
LBB0_3:
Lloh4:
	adrp	x8, _MOUSE_MOUSECHAR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MOUSE_MOUSECHAR@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #8]
Lloh7:
	adrp	x8, _CONS_MOUSECTL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CONS_MOUSECTL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w0, #0
	bl	_ioctl
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.4:
	bl	_revert
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_UCHAR_MAX,4,2                  ; @UCHAR_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"argument to -M must be 0 through %d"

	.comm	_MOUSE_MOUSECHAR,4,2            ; @MOUSE_MOUSECHAR
	.comm	_CONS_MOUSECTL,4,2              ; @CONS_MOUSECTL
l_.str.1:                               ; @.str.1
	.asciz	"setting mouse character"

	.no_dead_strip	_set_mouse_char
.subsections_via_symbols
