	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setcursor
_setcursor:                             ## @setcursor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movl	(%rdi), %ecx
	movl	4(%rdi), %edx
	movq	_R_PRINT_FLAGS_CURSOR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%eax, 4(%rdi)
	cmpl	$-1, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	movl	$0, 8(%rdi)
LBB0_2:
	movl	%esi, %eax
	notl	%eax
	andl	%ecx, %eax
	orl	%ecx, %esi
	testl	%edx, %edx
	cmovel	%eax, %esi
	callq	_r_print_set_flags
	movq	(%rbx), %rax
	xorl	%ecx, %ecx
	cmpl	$0, 4(%rax)
	setne	%cl
	movl	%ecx, 12(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_R_PRINT_FLAGS_CURSOR,4,2       ## @R_PRINT_FLAGS_CURSOR
	.no_dead_strip	_setcursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setcursor
_setcursor:                             ; @setcursor
	.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, x0
	ldr	x0, [x0]
	ldp	w8, w9, [x0]
Lloh0:
	adrp	x10, _R_PRINT_FLAGS_CURSOR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _R_PRINT_FLAGS_CURSOR@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	str	w1, [x0, #4]
	ldr	w11, [x0, #8]
	cmn	w11, #1
	b.ne	LBB0_2
; %bb.1:
	str	wzr, [x0, #8]
LBB0_2:
	bic	w11, w8, w10
	orr	w8, w10, w8
	cmp	w9, #0
	csel	w1, w11, w8, eq
	bl	_r_print_set_flags
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	cmp	w9, #0
	cset	w9, ne
	str	w9, [x8, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_R_PRINT_FLAGS_CURSOR,4,2       ; @R_PRINT_FLAGS_CURSOR
	.no_dead_strip	_setcursor
.subsections_via_symbols
