	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___update_panel_contents        ## -- Begin function __update_panel_contents
	.p2align	4, 0x90
___update_panel_contents:               ## @__update_panel_contents
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	___is_abnormal_cursor_type
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	8(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rax
	movl	$-2, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movb	$1, %cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
LBB0_3:
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_4:
	movl	4(%rax), %edi
	xorl	%esi, %esi
	callq	_R_MAX
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movl	12(%rax), %r12d
	movl	16(%rax), %r13d
	movl	20(%rax), %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	24(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_PANEL_CMD_GRAPH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	___check_panel_type
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addl	$2, %r12d
	addl	$2, %r13d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_r_cons_canvas_gotoxy
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	js	LBB0_5
## %bb.7:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %r15d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	addl	$-3, %ecx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leal	-2(%rax,%rdx), %r8d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_r_str_ansi_crop
	movq	%rax, %rbx
LBB0_8:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.10:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_11
LBB0_12:
	movq	(%r14), %rax
	movl	8(%rax), %ecx
	movl	12(%rax), %esi
	addl	$2, %esi
	movl	16(%rax), %edx
	subl	4(%rax), %ecx
	addl	%ecx, %edx
	addl	$2, %edx
	movq	%r15, %rdi
	callq	_r_cons_canvas_gotoxy
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r_cons_canvas_write            ## TAILCALL
LBB0_5:
	movl	$32, %edi
	movl	$128, %esi
	callq	_r_str_pad
	movq	%rax, %r12
	movl	%ebx, %r14d
	negl	%r14d
	movq	%rax, %rdi
	callq	_strlen
	leaq	-1(%rax), %rsi
	movl	%r14d, %edi
	callq	_R_MIN
	cltq
	movb	$0, (%r12,%rax)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %r15d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	addl	$-3, %ecx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leal	(%rax,%rdx), %r8d
	addl	$-2, %r8d
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_r_str_ansi_crop
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_r_str_prefix_all
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_r_cons_canvas_write
	movq	%rbx, %rdi
	callq	_free
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_12
LBB0_11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PANEL_CMD_GRAPH,4,2            ## @PANEL_CMD_GRAPH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___update_panel_contents        ; -- Begin function __update_panel_contents
	.p2align	2
___update_panel_contents:               ; @__update_panel_contents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	___is_abnormal_cursor_type
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19]
	mov	w22, #-2
	mov	w9, #1
	str	w9, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_3:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	ldr	x8, [x19]
	ldr	w22, [x8]
LBB0_4:
	ldr	w0, [x8, #4]
	mov	w1, #0
	bl	_R_MAX
	mov	x23, x0
	ldr	x8, [x19]
	ldp	w24, w25, [x8, #12]
	ldp	w28, w27, [x8, #20]
Lloh0:
	adrp	x8, _PANEL_CMD_GRAPH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PANEL_CMD_GRAPH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	___check_panel_type
	cmp	x0, #0
	cset	w26, ne
	ldr	x8, [x20]
	ldr	x20, [x8]
	add	w1, w24, #2
	add	w2, w25, #2
	mov	x0, x20
	bl	_r_cons_canvas_gotoxy
	tbnz	w22, #31, LBB0_9
; %bb.5:
	add	w2, w23, w26
	add	w8, w22, w28
	sub	w3, w8, #3
	add	w8, w23, w27
	sub	w4, w8, #2
	mov	x0, x21
	mov	x1, x22
	bl	_r_str_ansi_crop
	mov	x21, x0
LBB0_6:
	cbnz	x21, LBB0_11
; %bb.7:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_12
LBB0_8:
	ldr	x8, [x19]
	ldp	w10, w9, [x8, #4]
	ldp	w11, w8, [x8, #12]
	add	w1, w11, #2
	sub	w9, w9, w10
	add	w8, w9, w8
	add	w2, w8, #2
	mov	x0, x20
	bl	_r_cons_canvas_gotoxy
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_r_cons_canvas_write
LBB0_9:
	mov	w0, #32
	mov	w1, #128
	bl	_r_str_pad
	mov	x24, x0
	neg	w25, w22
	bl	_strlen
	sub	x1, x0, #1
	mov	x0, x25
	bl	_R_MIN
	strb	wzr, [x24, w0, sxtw]
	add	w2, w23, w26
	add	w8, w22, w28
	sub	w3, w8, #3
	add	w8, w23, w27
	sub	w4, w8, #2
	mov	x0, x21
	mov	w1, #0
	bl	_r_str_ansi_crop
	mov	x21, x0
	mov	x1, x24
	bl	_r_str_prefix_all
	cbz	x0, LBB0_6
; %bb.10:
	mov	x22, x0
	mov	x0, x21
	bl	_free
	mov	x21, x22
LBB0_11:
	mov	x0, x20
	mov	x1, x21
	bl	_r_cons_canvas_write
	mov	x0, x21
	bl	_free
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_8
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PANEL_CMD_GRAPH,4,2            ; @PANEL_CMD_GRAPH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

.subsections_via_symbols
