	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___update_pdc_contents          ## -- Begin function __update_pdc_contents
	.p2align	4, 0x90
___update_pdc_contents:                 ## @__update_pdc_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, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	24(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	12(%rdi), %esi
	movl	16(%rdi), %edi
	movq	_R_ANAL_FCN_TYPE_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_r_anal_get_fcn_in
	movq	%rax, %r13
	movq	8(%r12), %rax
	movl	(%rax), %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	20(%rax), %edi
	xorl	%esi, %esi
	callq	_R_MAX
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rax
	movl	4(%rax), %r14d
	movl	8(%rax), %ebx
	movl	12(%rax), %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	16(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_5
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movq	(%r15), %rax
	movq	8(%rax), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movl	(%r13), %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_r_num_as_string
	movq	%rax, %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_r_str_new
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_sdb_ptr_set
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	callq	_sdb_new0
	movq	%rax, %rbx
	movl	8(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_r_config_get
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %esi
	movq	%rbx, %r13
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_r_num_as_string
	movq	%rax, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_r_str_new
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_sdb_ptr_set
	movq	(%r15), %rax
	movq	%rbx, 8(%rax)
	movq	(%rax), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_sdb_exists
	testl	%eax, %eax
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_5
## %bb.4:
	movq	(%r15), %rax
	movq	(%rax), %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_r_str_new
	movq	%r14, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movq	%rax, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_sdb_ptr_set
LBB0_5:
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	___reset_scroll_pos
LBB0_7:
	addl	$2, %r14d
	addl	$2, %ebx
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_r_cons_canvas_gotoxy
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	js	LBB0_8
## %bb.11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_r_str_new
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	addl	$-3, %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leal	-2(%rdx,%rsi), %r8d
	movq	%rax, %rdi
	movl	%ebx, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_r_str_ansi_crop
	movq	%rax, %rbx
LBB0_12:
	testq	%rbx, %rbx
	jne	LBB0_10
## %bb.13:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$32, %edi
	movl	$128, %esi
	callq	_r_str_pad
	movq	%rax, %r14
	movl	%ebx, %r12d
	negl	%r12d
	movq	%rax, %rdi
	callq	_strlen
	leaq	-1(%rax), %rsi
	movl	%r12d, %edi
	callq	_R_MIN
	cltq
	movb	$0, (%r14,%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_r_str_new
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addl	%ebx, %ecx
	addl	$-3, %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leal	(%rdx,%rsi), %r8d
	addl	$-2, %r8d
	movq	%rax, %rdi
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_r_str_ansi_crop
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_r_str_prefix_all
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rbx
LBB0_10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_r_cons_canvas_write
	movq	%rbx, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R_ANAL_FCN_TYPE_NULL,4,2       ## @R_ANAL_FCN_TYPE_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd.pdc"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___update_pdc_contents          ; -- Begin function __update_pdc_contents
	.p2align	2
___update_pdc_contents:                 ; @__update_pdc_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	x20, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x8, [x0, #24]
	ldr	x26, [x8]
	ldr	w0, [x0, #16]
	ldr	w1, [x24, #12]
Lloh0:
	adrp	x8, _R_ANAL_FCN_TYPE_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R_ANAL_FCN_TYPE_NULL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_r_anal_get_fcn_in
	mov	x27, x0
	ldr	x8, [x23, #8]
	ldr	w21, [x8]
	ldr	w0, [x8, #20]
	mov	w1, #0
	bl	_R_MAX
	mov	x22, x0
	ldr	x8, [x23, #8]
	ldp	w19, w28, [x8, #4]
	ldp	w9, w8, [x8, #12]
	stp	w9, w8, [sp, #8]                ; 8-byte Folded Spill
	cbz	x27, LBB0_5
; %bb.1:
	ldr	x8, [x24]
	ldr	x25, [x8, #8]
	cbz	x25, LBB0_4
; %bb.2:
	ldr	w1, [x27]
	mov	x0, #0
	mov	w2, #0
	bl	_r_num_as_string
	mov	x24, x0
	mov	x0, x20
	bl	_r_str_new
	mov	x2, x0
	mov	x0, x25
	mov	x1, x24
LBB0_3:
	mov	w3, #0
	bl	_sdb_ptr_set
	b	LBB0_5
LBB0_4:
	bl	_sdb_new0
	mov	x25, x0
	ldr	w0, [x24, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_r_config_get
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	w1, [x27]
	mov	x0, #0
	mov	w2, #0
	bl	_r_num_as_string
	mov	x27, x0
	mov	x0, x20
	bl	_r_str_new
	mov	x2, x0
	mov	x0, x25
	mov	x1, x27
	ldr	x27, [sp]                       ; 8-byte Folded Reload
	mov	w3, #0
	bl	_sdb_ptr_set
	ldr	x8, [x24]
	str	x25, [x8, #8]
	ldr	x0, [x8]
	mov	x1, x27
	bl	_sdb_exists
	cbz	w0, LBB0_14
LBB0_5:
	ldr	x8, [x23]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x23
	bl	___reset_scroll_pos
LBB0_7:
	add	w1, w19, #2
	add	w2, w28, #2
	mov	x0, x26
	bl	_r_cons_canvas_gotoxy
	tbnz	w21, #31, LBB0_11
; %bb.8:
	mov	x0, x20
	bl	_r_str_new
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	add	w8, w21, w8
	sub	w3, w8, #3
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w22, w8
	sub	w4, w8, #2
	mov	x1, x21
	mov	x2, x22
	bl	_r_str_ansi_crop
	mov	x20, x0
LBB0_9:
	cbnz	x20, LBB0_13
; %bb.10:
	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
LBB0_11:
	mov	w0, #32
	mov	w1, #128
	bl	_r_str_pad
	mov	x23, x0
	neg	w24, w21
	bl	_strlen
	sub	x1, x0, #1
	mov	x0, x24
	bl	_R_MIN
	strb	wzr, [x23, w0, sxtw]
	mov	x0, x20
	bl	_r_str_new
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	add	w8, w21, w8
	sub	w3, w8, #3
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w22, w8
	sub	w4, w8, #2
	mov	w1, #0
	mov	x2, x22
	bl	_r_str_ansi_crop
	mov	x20, x0
	mov	x1, x23
	bl	_r_str_prefix_all
	cbz	x0, LBB0_9
; %bb.12:
	mov	x21, x0
	mov	x0, x20
	bl	_free
	mov	x20, x21
LBB0_13:
	mov	x0, x26
	mov	x1, x20
	bl	_r_cons_canvas_write
	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	_free
LBB0_14:
	ldr	x8, [x24]
	ldr	x24, [x8]
	mov	x0, x27
	bl	_r_str_new
	mov	x1, x0
	mov	x0, x24
	mov	x2, x25
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_R_ANAL_FCN_TYPE_NULL,4,2       ; @R_ANAL_FCN_TYPE_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd.pdc"

.subsections_via_symbols
