	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function teken_subr_cons25_set_global_cursor_shape
_teken_subr_cons25_set_global_cursor_shape: ## @teken_subr_cons25_set_global_cursor_shape
	.cfi_startproc
## %bb.0:
	cmpl	$3, %esi
	jbe	LBB0_1
## %bb.7:
	retq
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	movq	%rdx, %r9
	movl	%esi, %ecx
	leaq	-1(%rcx), %r8
	movl	-4(%rdx,%rcx,4), %edx
	shll	$8, %edx
	movzwl	%dx, %edx
	testq	%r8, %r8
	je	LBB0_6
## %bb.4:
	leaq	-2(%rcx), %r8
	movzbl	-8(%r9,%rcx,4), %eax
	orl	%eax, %edx
	shll	$8, %edx
	testq	%r8, %r8
	je	LBB0_6
## %bb.5:
	movzbl	-12(%r9,%rcx,4), %eax
	orl	%edx, %eax
	shll	$8, %eax
	movl	%eax, %edx
	jmp	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_6:
	orl	%esi, %edx
	movq	_TP_SETGLOBALCURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_teken_funcs_param              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_SETGLOBALCURSOR,4,2         ## @TP_SETGLOBALCURSOR
	.no_dead_strip	_teken_subr_cons25_set_global_cursor_shape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function teken_subr_cons25_set_global_cursor_shape
_teken_subr_cons25_set_global_cursor_shape: ; @teken_subr_cons25_set_global_cursor_shape
	.cfi_startproc
; %bb.0:
	cmp	w1, #3
	b.ls	LBB0_2
; %bb.1:
	ret
LBB0_2:
	cbz	w1, LBB0_6
; %bb.3:
	mov	w9, w1
	subs	x8, x9, #1
	ldr	w8, [x2, x8, lsl #2]
	ubfiz	w8, w8, #8, #8
	b.eq	LBB0_7
; %bb.4:
	subs	x10, x9, #2
	lsl	x10, x10, #2
	ldrb	w10, [x2, x10]
	orr	w8, w10, w8
	lsl	w8, w8, #8
	b.eq	LBB0_7
; %bb.5:
	add	x9, x2, x9, lsl #2
	ldurb	w9, [x9, #-12]
	orr	w8, w9, w8
	lsl	w8, w8, #8
	b	LBB0_7
LBB0_6:
	mov	w8, #0
LBB0_7:
	orr	w2, w8, w1
Lloh0:
	adrp	x8, _TP_SETGLOBALCURSOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TP_SETGLOBALCURSOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	b	_teken_funcs_param
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_SETGLOBALCURSOR,4,2         ; @TP_SETGLOBALCURSOR
	.no_dead_strip	_teken_subr_cons25_set_global_cursor_shape
.subsections_via_symbols
