	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___replace_cmd                  ## -- Begin function __replace_cmd
	.p2align	4, 0x90
___replace_cmd:                         ## @__replace_cmd
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movq	%r15, %rdi
	callq	___get_cur_panel
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	___free_panel_model
	movq	_RPanelModel@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_R_NEW0
	movq	%rax, (%rbx)
	movq	16(%rax), %rdi
	movq	%r13, %rsi
	callq	_r_str_dup
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	8(%rcx), %rdi
	movq	%r12, %rsi
	callq	_r_str_dup
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	___set_cmd_str_cache
	movl	(%r14), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___set_panel_addr
	movq	_PANEL_TYPE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___set_dcb
	movq	%rbx, %rdi
	callq	___set_pcb
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___set_rcb
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	___cache_white_list
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___set_refresh_all              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RPanelModel,4,2                ## @RPanelModel
	.comm	_PANEL_TYPE_DEFAULT,4,2         ## @PANEL_TYPE_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___replace_cmd                  ; -- Begin function __replace_cmd
	.p2align	2
___replace_cmd:                         ; @__replace_cmd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	bl	___get_cur_panel
	mov	x20, x0
	bl	___free_panel_model
Lloh0:
	adrp	x8, _RPanelModel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPanelModel@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_R_NEW0
	str	x0, [x20]
	ldr	x0, [x0, #16]
	mov	x1, x23
	bl	_r_str_dup
	ldr	x8, [x20]
	str	x0, [x8, #16]
	ldr	x0, [x8, #8]
	mov	x1, x22
	bl	_r_str_dup
	ldr	x8, [x20]
	str	x0, [x8, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	___set_cmd_str_cache
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	___set_panel_addr
Lloh3:
	adrp	x8, _PANEL_TYPE_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PANEL_TYPE_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [x20]
	str	w8, [x9]
	mov	x0, x19
	mov	x1, x20
	bl	___set_dcb
	mov	x0, x20
	bl	___set_pcb
	mov	x0, x21
	mov	x1, x20
	bl	___set_rcb
	mov	x0, x19
	mov	x1, x20
	bl	___cache_white_list
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	___set_refresh_all
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RPanelModel,4,2                ; @RPanelModel
	.comm	_PANEL_TYPE_DEFAULT,4,2         ; @PANEL_TYPE_DEFAULT
.subsections_via_symbols
