	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restore_current_addr
_restore_current_addr:                  ## @restore_current_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	8(%rdi), %rdi
	cmpl	%ecx, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$-1, (%rdi)
	je	LBB0_8
## %bb.2:
	movl	4(%rdi), %ecx
	cmpl	$2, %ecx
	jl	LBB0_8
## %bb.3:
	movl	%eax, %edx
	subl	%esi, %edx
	jl	LBB0_8
## %bb.4:
	cmpl	%ecx, %eax
	jge	LBB0_8
## %bb.5:
	movl	$-1, 8(%rdi)
	movl	%edx, (%rdi)
LBB0_6:
	cmpq	$0, 16(%rdi)
	je	LBB0_7
## %bb.9:
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_r_core_seek
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_r_core_block_size              ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_reset_print_cur                ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_restore_current_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restore_current_addr
_restore_current_addr:                  ; @restore_current_addr
	.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, x2
	mov	x20, x0
	ldr	w8, [x0]
	ldr	x0, [x0, #8]
	cmp	w8, w3
	b.eq	LBB0_5
; %bb.1:
	ldr	w9, [x0]
	cmn	w9, #1
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x0, #4]
	cmp	w9, #2
	ccmp	w8, w1, #8, ge
	ccmp	w8, w9, #0, ge
	b.lt	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reset_print_cur
LBB0_4:
	mov	w9, #-1
	str	w9, [x0, #8]
	sub	w8, w8, w1
	str	w8, [x0]
LBB0_5:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	w2, #1
	bl	_r_core_seek
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_r_core_block_size
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_restore_current_addr
.subsections_via_symbols
